]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* lisp/hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
[gnu-emacs] / lisp / ChangeLog
1 2012-12-07 Le Wang <l26wang@gmail.com>
2
3 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
4 narrowed buffer (bug#12361).
5
6 2012-12-07 Michael Heerdegen <michael_heerdegen@web.de>
7
8 * emacs-lisp/debug.el (debug): Fix hard-coded frame counts (bug#10025).
9 Virtually backported from trunk.
10
11 2012-12-07 Juanma Barranquero <lekktu@gmail.com>
12
13 * vc/vc-hooks.el (vc-state): Doc fix.
14
15 2012-12-06 Glenn Morris <rgm@gnu.org>
16
17 * mail/rmail.el (rmail-maybe-display-summary):
18 Preserve buffer, in case select-window changes it. (Bug#13066)
19
20 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
21
22 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
23 cl-load-hook where they belong.
24
25 2012-12-06 Chong Yidong <cyd@gnu.org>
26
27 * ffap.el (ffap-replace-file-component): Fix typo.
28
29 2012-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
30
31 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
32 fix open-paren-like token test (bug#12785).
33
34 2012-12-04 Glenn Morris <rgm@gnu.org>
35
36 * mail/rmailsum.el (rmail-new-summary): Tweak for
37 rmail-maybe-display-summary changing buffer. (Bug#13066)
38
39 2012-12-03 Juri Linkov <juri@jurta.org>
40
41 * info.el (Info-fontify-node): Don't hide the last newline.
42 (Bug#12272)
43
44 2012-12-01 Leo Liu <sdl.web@gmail.com>
45
46 * files.el (dir-locals-read-from-file): Check file non-empty
47 before reading. (Bug#13038)
48
49 2012-11-28 Glenn Morris <rgm@gnu.org>
50
51 * jka-cmpr-hook.el (jka-compr-get-compression-info):
52 Remove any version extension before checking filename. (Bug#13006)
53 (jka-compr-compression-info-list): Belated :version bump.
54
55 2012-11-28 Chong Yidong <cyd@gnu.org>
56
57 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
58
59 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
60 (buffer-menu): Doc fix (Bug#12294).
61
62 2012-11-27 Roland Winkler <winkler@gnu.org>
63
64 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
65 of diary-show-all-entries in the diary buffer (Bug#12994).
66
67 2012-11-27 Michael Albinus <michael.albinus@gmx.de>
68
69 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
70 "<STDIN>". This is binary safe.
71
72 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
73
74 * textmodes/table.el (table-insert): Don't use `symbol-name' on
75 lexically scoped variables (bug#13005).
76
77 2012-11-26 Glenn Morris <rgm@gnu.org>
78
79 * vc/vc-hooks.el (vc-mistrust-permissions):
80 Default to t, to avoid data-loss. (Bug#11490)
81
82 2012-11-26 Fabián Ezequiel Gallina <fgallina@cuca>
83
84 * progmodes/python.el (python-indent-guess-indent-offset):
85 If indentation is guessed make python-indent-offset buffer-local.
86
87 Fix Imenu regression.
88 * progmodes/python.el (python-nav-beginning-of-defun):
89 Fix forward movement when statement(s) separates point from defun.
90 (python-imenu-prev-index-position): New function.
91
92 2012-11-26 Eli Zaretskii <eliz@gnu.org>
93
94 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
95
96 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
97 Don't set buffer-file-type. Return nil. (Bug#12989)
98
99 2012-11-26 Glenn Morris <rgm@gnu.org>
100
101 * hippie-exp.el (hippie-expand-try-functions-list):
102 Re-autoload it. (Bug#12982)
103
104 2012-11-25 Eli Zaretskii <eliz@gnu.org>
105
106 * descr-text.el (describe-char-padded-string):
107 Call internal-char-font only on GUI frames. (Bug#11964)
108
109 2012-11-24 Andreas Schwab <schwab@linux-m68k.org>
110
111 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
112 and obsoletion message.
113
114 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
115
116 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
117 the constructs to keep outside of the `cl-block' (bug#12977).
118
119 2012-11-24 Chong Yidong <cyd@gnu.org>
120
121 * mouse.el (mouse-drag-line): Even if the line is not draggable,
122 keep reading until we get the up-event anyway, in order to process
123 the up-event for mouse-1-click-follows-link (Bug#12971).
124
125 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
126
127 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
128 lexical-binding (bug#12938).
129
130 2012-11-23 Wolfgang Jenkner <wjenkner@inode.at>
131
132 * image-mode.el (image-transform-check-size): Use assertions only
133 for images of type imagemagick.
134
135 Otherwise no error, image-transform-fit-to-{width,height} is
136 silently ignored, as before. Doc fix.
137
138 2012-11-23 Chong Yidong <cyd@gnu.org>
139
140 * faces.el (color-defined-p): Doc fix (Bug#12853).
141
142 2012-11-23 Juri Linkov <juri@jurta.org>
143
144 * dired.el (dired-mark): Add optional arg `interactive'.
145 Check for `use-region-p' if `interactive' is non-nil.
146 (dired-unmark, dired-flag-file-deletion): Add optional arg
147 `interactive'. Call `dired-mark' with the arg `interactive'.
148 (Bug#10624)
149
150 2012-11-23 Juri Linkov <juri@jurta.org>
151
152 * wdired.el: Revert 2012-10-17 change partly and replace it with
153 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
154 (wdired-finish-edit): Add marks for new file names to
155 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
156 after `revert-buffer'.
157 (wdired-do-renames): Remove calls to `dired-remove-file',
158 `dired-add-file', `dired-add-entry'. (Bug#11795)
159
160 2012-11-21 Alan Mackenzie <acm@muc.de>
161
162 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
163
164 Fix bugs in the state cache. Enhance a debugging mechanism.
165 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
166 "brace at column zero" strategy for C++.
167 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
168 (c-parse-state-point): New variable.
169 (c-record-parse-state-state): Record old parse state with
170 `copy-tree'. Record previous value of point.
171 (c-debug-parse-state-double-cons): New debugging function.
172 (c-debug-parse-state): Call the above new function.
173 (c-toggle-parse-state-debug): Output a confirmatory message.
174
175 * progmodes/cc-mode.el (c-before-change, c-after-change):
176 Call c-invalidate-state-cache from `c-before-change' instead of
177 `c-after-change'.
178
179 2012-11-20 Daniel Colascione <dancol@dancol.org>
180
181 * term/w32-win.el (cygwin-convert-path-from-windows):
182 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
183 This change is a backport from trunk.
184
185 2012-11-20 Eli Zaretskii <eliz@gnu.org>
186
187 * simple.el (line-move): Don't call line-move-partial if
188 scroll-conservatively is in effect. (Bug#12927)
189
190 2012-11-20 Michael Albinus <michael.albinus@gmx.de>
191
192 * net/trampver.el (tramp-version): Downgrade to 2.2.6-24.3, in
193 order to distinguish from trunk.
194
195 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
196
197 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't accept
198 non-symbols for compiler macros (yet).
199
200 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
201 Fallback on completion-at-point rather than
202 pcomplete-expand-and-complete, and only if pcomplete actually failed.
203 (eshell-cmpl-initialize): Setup completion-at-point.
204
205 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
206
207 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
208
209 2012-11-19 Michael Albinus <michael.albinus@gmx.de>
210
211 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
212 are remote, check out-of-band property for both.
213
214 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
215
216 * window.el (switch-to-buffer): Re-add the warning that was lost in the
217 code rewrite.
218
219 2012-11-18 Paul Eggert <eggert@cs.ucla.edu>
220
221 More minor time fixes.
222 * calendar/time-date.el: Commentary fix.
223 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
224 too much other code depends on (0 0) time stamps.
225 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
226 Add a couple of FIXME comments.
227
228 Minor cleanup for times as lists of four integers.
229 * files.el (dir-locals-directory-cache):
230 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
231 Doc fixes.
232 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
233 * ps-bdf.el (bdf-file-newer-than-time):
234 Process four-integers time stamps, not two. Doc fixes.
235
236 2012-11-18 Glenn Morris <rgm@gnu.org>
237
238 * image.el (insert-image, insert-sliced-image): Doc fix.
239
240 2012-11-17 Chong Yidong <cyd@gnu.org>
241
242 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
243 (Bug#12810).
244
245 2012-11-17 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
246
247 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
248 response when the target file is in a subdirectory (Bug#12757).
249
250 2012-11-17 Chong Yidong <cyd@gnu.org>
251
252 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
253
254 2012-11-17 Glenn Morris <rgm@gnu.org>
255
256 * woman.el (woman-non-underline-faces):
257 * emacs-lisp/cl-lib.el (face-underline-p):
258 Use set-face-underline rather than the alias set-face-underline-p.
259
260 * window.el (with-temp-buffer-window): Doc fix.
261 * subr.el (with-output-to-temp-buffer):
262 Add doc xref to with-temp-buffer-window.
263
264 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
265
266 * emacs-lisp/cl-lib.el: Set more meaningful version number.
267
268 2012-11-16 Martin Rudalics <rudalics@gmx.at>
269
270 * window.el (enlarge-window, shrink-window): Don't mention return
271 value in doc-string (Bug#12896).
272 (window--display-buffer): Don't resize frames - it won't work
273 with all window managers and defeat pop-up-frame-alist.
274 (display-buffer-alist): In doc-string explain that CONDITION can
275 be a function and which arguments are passed to it (Bug#12854).
276 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
277 expressions (Bug#12854).
278 (display-buffer): Pass ACTION argument to
279 display-buffer-assq-regexp.
280
281 2012-11-16 Glenn Morris <rgm@gnu.org>
282
283 * window.el (fit-frame-to-buffer-bottom-margin)
284 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
285
286 * faces.el (face-underline-p): Use face-attribute-specified-or.
287
288 2012-11-15 Juanma Barranquero <lekktu@gmail.com>
289
290 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
291
292 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
293
294 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
295
296 2012-11-15 Glenn Morris <rgm@gnu.org>
297
298 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
299 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
300
301 * faces.el (face-underline-p): Doc fix. Handle :underline being
302 things other than `t' (a string, a list).
303 (face-inverse-video-p): Doc fix.
304 (set-face-underline): Rename it back from set-face-underline-p.
305 Doc fix. Allow interactive input of values other than t.
306 (read-face-attribute): Apply formatting to :underline,
307 since like :box and :stipple it can take list values.
308
309 * term.el (ansi-term): Don't let C-x escape-char binding
310 clobber the more standard C-c binding. (Bug#12842)
311
312 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
313
314 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
315 (bug#12879).
316
317 2012-11-14 Glenn Morris <rgm@gnu.org>
318
319 * subr.el (set-temporary-overlay-map): Doc fix.
320
321 2012-11-13 Martin Rudalics <rudalics@gmx.at>
322
323 * window.el (record-window-buffer)
324 (display-buffer-record-window): When copying the markers to
325 window-point preserve window-point-insertion-type. (Bug#12588)
326
327 2012-11-13 Glenn Morris <rgm@gnu.org>
328
329 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
330 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
331 Use new names for hooks rather than obsolete aliases.
332
333 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
334
335 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
336
337 2012-11-12 Wolfgang Jenkner <wjenkner@inode.at>
338
339 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
340 39 and 49. This fixes bug#12792. Also, treat unimplemented
341 parameters as 0, thereby restoring the behavior of revisions prior
342 to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
343
344 2012-11-12 Fabián Ezequiel Gallina <fgallina@cuca>
345
346 Fix end-of-defun misbehavior.
347 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
348 python-beginning-of-defun-function. Handle nested defuns
349 correctly.
350 (python-nav-end-of-defun): Rename from
351 python-end-of-defun-function. Ensure forward movement.
352 (python-info-current-defun): Reimplement to work as intended
353 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
354 parent defuns as soon as possible.
355
356 2012-11-12 Glenn Morris <rgm@gnu.org>
357
358 * progmodes/flymake.el (flymake-error-bitmap)
359 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
360 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
361
362 2012-11-12 Dmitry Gutov <dgutov@yandex.ru>
363
364 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
365 backward, always stop at indentation. Reverts the change from
366 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
367
368 2012-11-11 Glenn Morris <rgm@gnu.org>
369
370 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
371 Add ibuffer-filter-by-derived-mode.
372
373 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
374 the same name shadowing each other.
375
376 * window.el (with-temp-buffer-window): Doc tweak.
377
378 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
379
380 * help.el (temp-buffer-max-height):
381 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
382 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
383
384 2012-11-10 Leo Liu <sdl.web@gmail.com>
385
386 * ido.el (ido-set-matches-1): Fix split-string args to avoid
387 performance issue. (Bug#12796)
388
389 2012-11-10 Glenn Morris <rgm@gnu.org>
390
391 * term.el (term-default-fg-color, term-default-bg-color):
392 Make obsolete, rather than just saying "deprecated" in the doc.
393
394 * term.el (term): Rename from `term-face'.
395 (term-current-face, ansi-term-color-vector)
396 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
397 Update all users.
398
399 2012-11-09 Jan Djärv <jan.h.d@swipnet.se>
400
401 * server.el (server-create-window-system-frame): Improve comment.
402
403 2012-11-08 Jan Djärv <jan.h.d@swipnet.se>
404
405 * server.el (server-create-window-system-frame): Handle Nextstep
406 specially (Bug#12780).
407
408 2012-11-08 Glenn Morris <rgm@gnu.org>
409
410 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
411 Unautoload, and make obsolete. (Bug#7449)
412
413 2012-11-08 Chong Yidong <cyd@gnu.org>
414
415 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
416 rename from diff-remove-trailing-whitespace (Bug#12831).
417
418 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
419
420 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
421 miscompilation of trace.el.
422
423 2012-11-08 Glenn Morris <rgm@gnu.org>
424
425 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
426
427 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
428
429 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
430 (bug#12812).
431
432 2012-11-07 Chong Yidong <cyd@gnu.org>
433
434 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
435 a defcustom with an appropriate :set function.
436 (minibuffer-default--in-prompt-regexps): New function.
437
438 2012-11-07 Glenn Morris <rgm@gnu.org>
439
440 * emacs-lisp/cl.el (define-setf-expander, defsetf)
441 (define-modify-macro): Doc fixes.
442
443 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
444 (gv-define-simple-setter): Update doc of `fix-return'.
445
446 2012-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
447
448 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
449 twice when `fix-return' is set (bug#12813).
450
451 * emacs-lisp/cl.el (defsetf): Pass the third arg to
452 gv-define-simple-setter (bug#12812).
453
454 2012-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
455
456 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
457 (bug#12756).
458
459 2012-11-06 Glenn Morris <rgm@gnu.org>
460
461 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
462
463 2012-11-05 Glenn Morris <rgm@gnu.org>
464
465 * emacs-lisp/cl-extra.el (cl-prettyexpand):
466 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
467 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
468 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
469
470 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
471
472 2012-11-03 Glenn Morris <rgm@gnu.org>
473
474 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
475 Rename handler properties back from cl-- to cl-. (Bug#12788)
476
477 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
478
479 2012-11-03 Eli Zaretskii <eliz@gnu.org>
480
481 * term/pc-win.el: Don't load term/internal from here.
482
483 * loadup.el: Load term/internal from here.
484
485 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
486
487 * progmodes/python.el (inferior-python-mode): Fix hang in
488 jit-lock (Bug#12645).
489
490 2012-11-03 Martin Rudalics <rudalics@gmx.at>
491
492 * window.el (switch-to-visible-buffer)
493 (switch-to-buffer-preserve-window-point): Fix doc-strings.
494
495 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
496
497 * play/gomoku.el (gomoku-display-statistics): Update mode line
498 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
499
500 2012-10-31 Martin Rudalics <rudalics@gmx.at>
501
502 * window.el (quit-restore-window): If the window has been
503 created on an existing frame and ended up as the sole window on
504 that frame, do not delete it (Bug#12764).
505
506 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
507
508 * progmodes/sh-script.el (sh--inside-noncommand-expression):
509 Rename from sh--inside-arithmetic-expression, handle more cases
510 (bug#11263).
511
512 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
513 (sh-font-lock-open-heredoc): Use it (bug#12770).
514
515 2012-10-30 Glenn Morris <rgm@gnu.org>
516
517 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
518
519 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
520
521 2012-10-29 Chong Yidong <cyd@gnu.org>
522
523 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
524 function key is stored in a keyboard macro (Bug#4894).
525
526 * thingatpt.el (number-at-point): Apply a thing-at-point property.
527
528 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
529
530 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
531 header comments".
532 (diff-unified->context, diff-context->unified)
533 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
534
535 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
536
537 * files.el (find-alternate-file): Only ask one question (bug#12487).
538
539 2012-10-29 Chong Yidong <cyd@gnu.org>
540
541 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
542 Suggested by Dan Nicolaescu (Bug#6326).
543
544 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
545
546 * startup.el (fancy-about-screen): Don't message (Bug#12680).
547
548 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
549
550 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
551
552 * face-remap.el (face-remap-add-relative): Handle the case where a
553 face-remapping-alist entry is a cons cell (Bug#12762).
554
555 2012-10-29 Kevin Ryde <user42@zip.com.au>
556
557 * woman.el (woman-parse-numeric-value): Handle picas correctly
558 (Bug#12639).
559
560 2012-10-29 Glenn Morris <rgm@gnu.org>
561
562 * emacs-lisp/cl.el (defsetf): Doc fix.
563
564 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
565
566 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
567 syntax to the matching opener, if any (bug#12547).
568 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
569 matching open as a "case-(".
570 (sh-smie-rc-grammar): Add a corresponding rule for it.
571
572 2012-10-28 Daniel Hackney <dan@haxney.org>
573
574 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
575 "PKGNAME-autoloads.el" in case we created it.
576
577 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
578
579 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
580 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
581 (completion--twq-all): Disable too-strict assertions.
582
583 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
584
585 2012-10-27 Eli Zaretskii <eliz@gnu.org>
586
587 * profiler.el (profiler-report-make-entry-part): Fix help-echo
588 text to match the real keybindings.
589
590 2012-10-27 Juri Linkov <juri@jurta.org>
591
592 * wdired.el (wdired-keep-marker-rename): New defcustom.
593 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
594 (Bug#11795)
595
596 * dired.el (dired-keep-marker-rename): Add reference to
597 `wdired-keep-marker-rename' in the docstring.
598 Add default character value ?R to display initially in
599 Customization UI instead of ?@.
600
601 2012-10-27 Martin Rudalics <rudalics@gmx.at>
602
603 * window.el (display-buffer): In doc-string describe
604 window-height and window-width alist entries.
605
606 * time.el (display-time-world): Restore fit-window-to-buffer
607 behavior.
608
609 2012-10-27 Chong Yidong <cyd@gnu.org>
610
611 * subr.el (insert-buffer-substring-as-yank): Doc fix.
612
613 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
614
615 * minibuffer.el (completion-category-overrides): New completion
616 category `bookmark' (bug#11131).
617
618 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
619
620 * emacs-lisp/advice.el (ad-assemble-advised-definition):
621 Silence bogus compiler warnings for ad-do-it.
622
623 * bookmark.el (bookmark-completing-read): Set the completion category
624 to `bookmark' (bug#11131).
625
626 2012-10-26 Bastien <bzg@altern.org>
627 Stefan Monnier <monnier@iro.umontreal.ca>
628
629 * face-remap.el: Use lexical-binding.
630 (text-scale-adjust): Improve docstring. Use itself for the temporary
631 overlay-map bindings, so as to repeat the "Use..." message each time.
632
633 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
634
635 * emacs-lisp/macroexp.el (macroexp--expand-all):
636 Obey byte-compile-warning-enabled-p (bug#12486).
637
638 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
639 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
640
641 2012-10-26 Martin Rudalics <rudalics@gmx.at>
642
643 * mouse.el (mouse-drag-line): Move last form into preceding when
644 clause (Bug#12731).
645
646 * help.el (resize-temp-buffer-window): Fix doc-string.
647
648 2012-10-25 David Engster <deng@randomsample.de>
649
650 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
651 Remove. This feature is already integrated in imenu.
652
653 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
654 always loaded. Require `speedbar' unconditionally.
655
656 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
657
658 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
659
660 * minibuffer.el (minibuffer-force-complete): Fix thinko.
661
662 * net/ldap.el (ldap-search-internal): The official ldif format starts
663 with a "version: 1" header (bug#12724).
664
665 * emacs-lisp/package.el (package-installed-p): Warn if not ready
666 (bug#12721).
667
668 2012-10-25 Glenn Morris <rgm@gnu.org>
669
670 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
671
672 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
673
674 * minibuffer.el (minibuffer-force-complete): Use one more marker
675 for the temporary-overlay-map command (bug#12619).
676
677 2012-10-24 Chong Yidong <cyd@gnu.org>
678
679 * time.el (display-time-world-mode): Derive from special-mode.
680 (display-time-world): Use display-buffer (Bug#12708).
681 (display-time-world-mode-map): Variable deleted.
682 (display-time-world-display): Wrap the final delete-char inside
683 inhibit-read-only.
684
685 2012-10-24 Chong Yidong <cyd@gnu.org>
686
687 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
688 Doc fix.
689
690 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
691
692 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
693
694 * minibuffer.el (completion--all-sorted-completions-location): New var.
695 (completion--cache-all-sorted-completions)
696 (completion--flush-all-sorted-completions): Use it.
697 (completion-in-region, completion-in-region--postch)
698 (completion-at-point, completion-help-at-point): Use markers in
699 completion-in-region--data (bug#12619).
700
701 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
702
703 * progmodes/compile.el (compilation-start): Try to handle common
704 quoting of `cd' argument (bug#12640).
705
706 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
707 (bug#12671).
708
709 2012-10-23 Glenn Morris <rgm@gnu.org>
710
711 * progmodes/gud.el (gud-menu-map):
712 Check gdb-active-process is bound. (Bug#12358)
713
714 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
715
716 * repeat.el (repeat): Set real-this-command (bug#12232).
717
718 * htmlfontify.el (hfy-post-html-hook):
719 * filesets.el (filesets-cache-fill-content-hook):
720 * arc-mode.el (archive-extract-hook):
721 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
722 * net/rcirc.el (rcirc-sentinel-functions)
723 (rcirc-receive-message-functions, rcirc-activity-functions)
724 (rcirc-print-functions):
725 * net/dbus.el (dbus-event-error-functions):
726 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
727 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
728 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
729 * term/sun.el (sun-raw-prefix-hooks):
730 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
731
732 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
733
734 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
735 Set `tramp-chunksize' to 1. This improves the performance.
736 (tramp-smb-wait-for-output): Add timeout to
737 `tramp-accept-process-output' calls.
738
739 2012-10-23 Chong Yidong <cyd@gnu.org>
740
741 * faces.el (font-list-limit): Define as an obsolete variable.
742
743 * startup.el (command-line):
744 * cus-start.el: Don't refer to font-list-limit.
745
746 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
747
748 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
749
750 * subr.el (internal-temp-output-buffer-show): Rename from
751 temp-output-buffer-show, since previously compiled files expect this name.
752
753 2012-10-23 Glenn Morris <rgm@gnu.org>
754
755 * image.el (image-type-from-file-name): If multiple types match,
756 return the first one that is supported. (Bug#9045)
757
758 2012-10-22 Glenn Morris <rgm@gnu.org>
759
760 * image.el (imagemagick-enabled-types): Doc fix.
761
762 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
763
764 * progmodes/which-func.el (which-func-current): The hash-table may have
765 an explicit nil (bug#12338).
766
767 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
768
769 * electric.el (electric-pair-delete-selection-self-insert-function):
770 Rename to electric-pair-will-use-region, return a boolean.
771 (electric-pair-mode): Adjust accordingly. Don't require delsel.
772
773 * delsel.el (delete-selection-helper): Use a function instead of a hook.
774 (delete-selection-pre-hook): Use use-region-p.
775 (delete-selection-self-insert-function): Remove.
776 (self-insert-command): Obey self-insert-uses-region-functions.
777 (self-insert-iso): Revert to previous setting, since we don't actually
778 know what that command does.
779 (delete-selection-self-insert-hooks): Remove.
780
781 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
782
783 * delsel.el (delete-selection-helper): New function, extracted from
784 delete-selection-pre-hook.
785 (delete-selection-pre-hook): Use it.
786 (delete-selection-self-insert-function): New function.
787 (delete-selection-self-insert-hooks): New hook.
788 (self-insert-command, self-insert-iso): Use it.
789 * electric.el (electric-pair-syntax): New function, extracted from
790 electric-pair-post-self-insert-function.
791 (electric-pair-post-self-insert-function): Use it.
792 (electric-pair-delete-selection-self-insert-function): New function.
793 (electric-pair-mode): Require delsel and setup
794 delete-selection-self-insert-hooks (bug#11520).
795
796 2012-10-20 Chong Yidong <cyd@gnu.org>
797
798 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
799 no changes to show (Bug#12586).
800
801 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
802 list explicitly (Bug#12571).
803
804 2012-10-20 Arne Jørgensen <arne@arnested.dk>
805
806 * progmodes/flymake.el (flymake-create-temp-inplace):
807 Use file-truename.
808
809 2012-10-20 Eli Zaretskii <eliz@gnu.org>
810
811 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
812
813 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
814
815 * calc/calc-units.el (math-extract-units): Properly extract powers
816 of units.
817
818 2012-10-20 Daniel Colascione <dancol@dancol.org>
819
820 * frame.el (make-frame): Set x-display-name as we used to in order
821 to unbreak creating an X11 frame from an Emacs daemon started
822 without a display.
823
824 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
825
826 * minibuffer.el (minibuffer-force-complete): Make the next completion use
827 the same completion-field (bug@12221).
828
829 2012-10-19 Martin Rudalics <rudalics@gmx.at>
830
831 * emacs-lisp/debug.el (debug): Record height of debugger window
832 also when debugger will be back (Bug#8789).
833
834 2012-10-18 Chong Yidong <cyd@gnu.org>
835
836 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
837 Convert to defcustom.
838 (gdb-get-source-file): Don't bind pop-up-windows.
839
840 * progmodes/gud.el (gud-display-line): Don't specially re-use
841 other frames for the gdb-mi case (Bug#12648).
842
843 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
844
845 * emacs-lisp/advice.el: Clean up commentary a bit.
846 (ad-do-advised-functions, ad-with-originals): Use `declare'.
847 (byte-code-function-p): Never redefine.
848
849 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
850
851 2012-10-18 Glenn Morris <rgm@gnu.org>
852
853 * dired.el (dired-sort-toggle): Some ls implementations only allow
854 a single option string. (Bug#12666)
855
856 * minibuffer.el (completion-cycle-threshold): Doc fix.
857
858 2012-10-17 Kenichi Handa <handa@gnu.org>
859
860 * international/mule.el (set-keyboard-coding-system):
861 Recover input meta mode when the new coding system doesn not use 8-bit.
862 Supply TERMINAL arg to set-input-meta-mode.
863
864 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
865
866 * wdired.el (wdired-old-marks): New variable.
867 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
868 (wdired-do-renames): Move point with renamed file and don't lose
869 mark status (Bug#11795).
870
871 2012-10-16 Juri Linkov <juri@jurta.org>
872
873 * replace.el (query-replace-help): Mention multi-buffer replacement
874 keys in the Help message. (Bug#12655)
875
876 2012-10-15 Chong Yidong <cyd@gnu.org>
877
878 * emacs-lisp/byte-run.el (defsubst): Doc fix.
879
880 2012-10-14 Eli Zaretskii <eliz@gnu.org>
881
882 * window.el (display-buffer): Doc fix.
883
884 * progmodes/compile.el (compilation-error-regexp-alist-alist):
885 Adjust the msft regexp to the output of Studio 2010, and move msft
886 before edg-1. See the discussion on emacs-devel,
887 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
888 for the details.
889
890 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
891
892 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
893 (oset): Move uses of object-class-fast macro after its definition.
894
895 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
896
897 2012-10-13 Chong Yidong <cyd@gnu.org>
898
899 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
900 enabled, re-enable it (Bug#11963).
901
902 2012-10-13 Martin Rudalics <rudalics@gmx.at>
903
904 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
905 non-nil, restore window configuration (Bug#12623).
906
907 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
908
909 * help-fns.el (describe-variable, describe-function-1):
910 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
911
912 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
913
914 2012-10-12 Glenn Morris <rgm@gnu.org>
915
916 * mail/rmailsum.el (rmail-header-summary):
917 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
918
919 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
920
921 * progmodes/python.el (python-mode-map):
922 Replace subtitute-key-definition with proper command remapping.
923 (python-nav--up-list): Fix behavior for blocks on the same level.
924
925 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
926
927 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
928
929 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
930 changes to the format of load-history.
931
932 * international/mule-cmds.el (read-char-by-name): Move let-binding of
933 completion-ignore-case in case that var is buffer-local (bug#12615).
934
935 2012-10-11 Kenichi Handa <handa@gnu.org>
936
937 * international/eucjp-ms.el: Re-generated.
938
939 2012-10-10 Kenichi Handa <handa@gnu.org>
940
941 * select.el (xselect--encode-string): If a coding is specified for
942 selection, and that is compatible with COMPOUND_TEXT, use it.
943
944 2012-10-10 Martin Rudalics <rudalics@gmx.at>
945
946 * window.el (switch-to-buffer-preserve-window-point): New option.
947 (switch-to-buffer):
948 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
949
950 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
951
952 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
953 Don't document nil as a useful value (bug#12583).
954
955 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
956
957 * net/tramp.el (tramp-debug-message):
958 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
959 (with-tramp-progress-reporter): Rename from
960 `tramp-with-progress-reporter'.
961 (with-tramp-file-property, with-tramp-connection-property):
962 Move from tramp-cache.el, rename from `with-file-property' and
963 `with-connection-property', respectively.
964
965 * net/tramp-cache.el: Remove `with-file-property' and
966 `with-connection-property'.
967
968 * net/tramp.el:
969 * net/tramp-gvfs.el:
970 * net/tramp-sh.el:
971 * net/tramp-smb.el: Adapt callees.
972
973 * net/trampver.el: Update release number.
974
975 2012-10-09 Glenn Morris <rgm@gnu.org>
976
977 * w32-fns.el (set-message-beep):
978 * term/w32-win.el (set-message-beep): Update declarations.
979
980 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
981
982 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
983 (mode-line-widen, mode-line-input-method-map)
984 (mode-line-coding-system-map, mode-line-remote)
985 (mode-line-unbury-buffer, mode-line-bury-buffer)
986 (mode-line-next-buffer, mode-line-previous-buffer):
987 Replace save-selected-window+select-window => with-selected-window.
988
989 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
990 * progmodes/cc-vars.el (bq-process): Remove, unused.
991
992 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
993
994 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
995
996 Implemented `backward-up-list'-like navigation.
997 * progmodes/python.el (python-nav-up-list)
998 (python-nav-backward-up-list): New functions.
999 (python-mode-map): Define substitute key for backward-up-list to
1000 python-nav-backward-up-list.
1001
1002 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1003
1004 * progmodes/python.el (python-fill-paragraph): Rename from
1005 python-fill-paragraph-function. Fixed fill-paragraph for
1006 decorators (Bug#12605).
1007
1008 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1009
1010 * progmodes/python.el (python-shell-output-filter): Handle extra
1011 carriage return in OSX (Bug#12409).
1012
1013 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1014
1015 Fix shell handling of unbalanced quotes and parens in output.
1016 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
1017 (python-syntax-propertize-function): Use it.
1018 (python-shell-output-syntax-table): New var.
1019 (inferior-python-mode): Prevent unbalanced parens/quotes from
1020 previous output mess with current input context.
1021
1022 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
1023
1024 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1025 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1026
1027 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
1028
1029 * ffap.el (ffap-replace-file-component): Support Tramp file name
1030 syntax, not only ange-ftp's one.
1031
1032 2012-10-08 Glenn Morris <rgm@gnu.org>
1033
1034 * cus-start.el (message-log-max): Set :version.
1035
1036 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1037
1038 2012-10-08 Martin Rudalics <rudalics@gmx.at>
1039
1040 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
1041 the minibuffer window (Bug#10851).
1042
1043 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1044
1045 Enhancements on forward-sexp movement.
1046 * progmodes/python.el (python-nav-beginning-of-statement)
1047 (python-nav-end-of-statement): Return point-marker.
1048 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1049 (python-info-current-symbol)
1050 (python-info-statement-starts-block-p): Rename from
1051 python-info-beginning-of-block-p.
1052 (python-info-statement-ends-block-p): Rename from
1053 python-info-end-of-block-p.
1054 (python-info-beginning-of-statement-p)
1055 (python-info-end-of-statement-p)
1056 (python-info-beginning-of-block-p, python-info-end-of-block-p):
1057 New functions.
1058
1059 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1060
1061 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
1062 frame-selected-windows.
1063
1064 2012-10-08 Daniel Colascione <dancol@dancol.org>
1065
1066 * battery.el (battery-status-function): Check for
1067 w32-battery-status itself, not system-time windows-nt.
1068
1069 * frame.el: Require cl-lib.
1070 (display-format-alist): New variable mapping frame types to
1071 functions that initialize them.
1072 (window-system-for-display): New function: interprets
1073 display-format-alist.
1074 (make-frame-on-display): Remove existing display-selection logic
1075 and just forward to make-frame, which will now DTRT.
1076 (make-frame): Restructure to use window-system-for-display to
1077 figure out how to create a frame on a given display.
1078 (display-mouse-p): Look for frame-type w32, not a particular
1079 system-type.
1080
1081 * loadup.el: Load w32 lisp code when we have the w32 feature.
1082
1083 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1084 system-type windows-nt.
1085
1086 * server.el (server-create-window-system-frame): Look for window
1087 type.
1088 (server-proces-filter): Only force a window system when windows-nt
1089 _and_ w32. Explain why.
1090
1091 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
1092 of window systems we configure for the mode.
1093
1094 * startup.el (command-line): Mark window system is initialized
1095 after we've done it.
1096
1097 * common-win.el (x-select-text): Look for w32, not windows-nt.
1098
1099 * ns-win.el: Require cl-lib. Add ourselves to
1100 display-format-alist.
1101 (ns-initialize-window-system): Assert we're not initialized twice.
1102
1103 * w32-win.el: Enable lexical binding; require cl-lib; add
1104 ourselves to display-format-alist.
1105 (w32-handle-dropped-file): Convert incoming dropped files from
1106 Windows paths to Cygwin ones before passing them on to the rest of
1107 Emacs.
1108 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
1109 (w32-initialize-window-system): Assert we're not initialized twice.
1110
1111 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
1112 (x-initialize-window-system): Assert we're not initialized twice.
1113
1114 * w32-common-fns.el: New File.
1115 (w32-version, w32-using-nt, w32-get-clipboard-data)
1116 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1117 (w32-charset-info-alist, x-last-selected, text)
1118 (x-get-selection-value, x-selection-value): Move here.
1119
1120 * w32-fns.el: Require w32-common-fns.
1121 (w32-version, w32-using-nt, w32-get-clipboard-data)
1122 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1123 (w32-charset-info-alist, x-last-selected, text)
1124 (x-get-selection-value, x-selection-value): Move to
1125 w32-common-fns.
1126
1127 * w32-vars.el:
1128 (w32-allow-system-shell, w32-system-shells): Define only in
1129 non-cygwin case.
1130
1131 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1132
1133 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
1134 (read-passwd): Remove a few more potential sources of leaks.
1135
1136 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1137
1138 * progmodes/python.el (inferior-python-mode)
1139 (python-shell-make-comint): Fix initialization of local
1140 variables copied from parent buffer.
1141
1142 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
1143
1144 * term/ns-win.el (ns-read-file-name): Update declaration to match
1145 nsfns.m.
1146 (ns-respond-to-change-font): Change fontsize separatly so we are sure
1147 it is set when font is acted upon.
1148
1149 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1150
1151 Enhancements to indentation.
1152 * progmodes/python.el (python-indent-context): Give priority to
1153 inside-string context. Make comments indentation markers.
1154 (python-indent-region): Do not mess with strings, unless it's the
1155 enclosing set of quotes.
1156
1157 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1158
1159 * window.el (internal--before-save-selected-window)
1160 (internal--after-save-selected-window): New functions extracted from
1161 save-selected-window. Make sure we return the `alist' we construct.
1162 (save-selected-window): Use them.
1163
1164 * textmodes/tex-mode.el (tex-recenter-output-buffer):
1165 Use with-selected-window.
1166
1167 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
1168 forms that define macros (bug#12593).
1169
1170 2012-10-07 Kenichi Handa <handa@gnu.org>
1171
1172 * international/mule-conf.el (compound-text-with-extensions):
1173 Add :mime-charset property as x-ctext.
1174
1175 2012-10-07 Stefan Merten <smerten@oekonux.de>
1176
1177 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1178 (rst-indent-literal-normal, rst-indent-literal-minimized)
1179 (rst-indent-comment): Correct :version tag.
1180 (rst-official-cvs-rev): Correct version string.
1181
1182 2012-10-07 Glenn Morris <rgm@gnu.org>
1183
1184 * mail/rmailmm.el (rmail-mime-process-multipart):
1185 Do not confuse a multipart message with an epilogue
1186 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
1187
1188 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1189
1190 Fix shell output retrieval and comint-prompt-regexp init.
1191 * progmodes/python.el (inferior-python-mode):
1192 (python-shell-make-comint): Fix initialization of
1193 comint-prompt-regexp from copied file local variables.
1194 (python-shell-fetched-lines): Remove var.
1195 (python-shell-output-filter-in-progress): Rename from
1196 python-shell-fetch-lines-in-progress.
1197 (python-shell-output-filter-buffer): Rename from
1198 python-shell-fetch-lines-string.
1199 (python-shell-fetch-lines-filter): Delete function.
1200 (python-shell-output-filter): New function.
1201 (python-shell-send-string-no-output): Use them.
1202
1203 2012-10-07 Glenn Morris <rgm@gnu.org>
1204
1205 * hi-lock.el (hi-lock-process-phrase):
1206 Try to make it less fragile. (Bug#7161)
1207
1208 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
1209
1210 2012-10-06 Glenn Morris <rgm@gnu.org>
1211
1212 * ehelp.el (electric-help-mode): Use help-mode rather than
1213 non-existent mode `help'.
1214 (electric-help-map): Use button-buffer-map. (Bug#10917)
1215
1216 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
1217 (reftex-create-bibtex-footer): Fix custom types.
1218
1219 * progmodes/sh-script.el (sh-indent-after-continuation):
1220 Add explicit :group.
1221
1222 * textmodes/rst.el (rst-preferred-decorations)
1223 (rst-shift-basic-offset): Clarify obsolescence versions.
1224
1225 * profiler.el (profiler): Add missing group :version tag.
1226 * avoid.el (mouse-avoidance-banish-position):
1227 * proced.el (proced-renice-command):
1228 * calc/calc.el (calc-ensure-consistent-units):
1229 * calendar/icalendar.el (icalendar-import-format-uid):
1230 * net/tramp.el (tramp-save-ad-hoc-proxies):
1231 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1232 * progmodes/flymake.el (flymake-error-bitmap)
1233 (flymake-warning-bitmap, flymake-fringe-indicator-position):
1234 * progmodes/sh-script.el (sh-indent-after-continuation):
1235 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
1236 (verilog-before-save-font-hook, verilog-after-save-font-hook):
1237 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
1238 (vhdl-array-index-record-field-in-sensitivity-list)
1239 (vhdl-indent-comment-like-next-code-line):
1240 * textmodes/reftex-vars.el (reftex-ref-style-alist)
1241 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
1242 (reftex-cite-key-separator, reftex-create-bibtex-header)
1243 (reftex-create-bibtex-footer):
1244 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1245 (rst-indent-literal-normal, rst-indent-literal-minimized)
1246 (rst-indent-comment): Add missing custom :version tags.
1247
1248 * calendar/timeclock.el (timeclock-modeline-display):
1249 Add missing obsolete alias for renamed user option.
1250
1251 * strokes.el (strokes-modeline-string):
1252 * emulation/crisp.el (crisp-mode-modeline-string):
1253 * eshell/esh-mode.el (eshell-status-in-modeline):
1254 Aliases to defcustoms must come before the defcustom.
1255
1256 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
1257 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1258 (cal-tex-cursor-week-monday): Doc fixes.
1259 (cal-tex-cursor-week2-summary): Doc fix.
1260 Rename from cal-tex-cursor-week-at-a-glance.
1261
1262 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
1263 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
1264
1265 * calendar/calendar.el (calendar-mode-map):
1266 Add cal-tex-cursor-week2-summary.
1267
1268 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1269
1270 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
1271
1272 * subr.el (read-passwd-map): New var.
1273 (read-passwd): Use `read-string' again.
1274 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
1275
1276 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
1277
1278 * register.el (append-to-register, prepend-to-register):
1279 Deactivate mark, as does `copy-to-register' (bug#12389).
1280
1281 2012-10-06 Chong Yidong <cyd@gnu.org>
1282
1283 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1284
1285 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
1286
1287 * international/characters.el: Fix simple mistake ((car chars) ->
1288 elt), delete duplicated code.
1289
1290 2012-10-06 Glenn Morris <rgm@gnu.org>
1291
1292 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
1293
1294 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
1295
1296 * color.el (color-hsl-to-rgb): Fix incorrect results for
1297 small and large hue values. (Bug#12559)
1298
1299 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
1300
1301 Enhancements to docstring formatting when filling paragraphs.
1302 * progmodes/python.el (python-fill-docstring-style): Rename from
1303 python-fill-string-style. Added new style.
1304 (python-fill-string): Use new style. Better checks for
1305 docstrings.
1306
1307 2012-10-05 Glenn Morris <rgm@gnu.org>
1308
1309 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1310
1311 * color.el (color-name-to-rgb, color-rgb-to-hex)
1312 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1313 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1314 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1315 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1316
1317 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
1318
1319 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
1320
1321 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1322 to get the correct size across symlinks.
1323
1324 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1325
1326 2012-10-04 Juri Linkov <juri@jurta.org>
1327
1328 * replace.el (query-replace-interactive): Declare obsolete.
1329 (query-replace-read-from): Add the last incremental search string
1330 to the list of default values accessible via M-n.
1331 (map-query-replace-regexp): Use `read-regexp'.
1332 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1333 (map-query-replace-regexp, replace-string, replace-regexp):
1334 Fix docstrings to replace mentions of `query-replace-interactive'
1335 with alternatives. (Bug#12526)
1336
1337 2012-10-04 Juri Linkov <juri@jurta.org>
1338
1339 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
1340 (dired-pop-to-buffer): Declare obsolete.
1341 (dired-mark-pop-up): Doc fix.
1342
1343 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
1344
1345 Allow user to set docstring style for fill-paragraph.
1346 * progmodes/python.el
1347 (python-fill-comment-function, python-fill-string-function)
1348 (python-fill-decorator-function, python-fill-paren-function):
1349 Remove :safe for defcustoms.
1350 (python-fill-string-style): New defcustom
1351 (python-fill-paragraph-function): Enhance context detection.
1352 (python-fill-string): Honor python-fill-string-style settings.
1353
1354 2012-10-04 Martin Rudalics <rudalics@gmx.at>
1355
1356 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1357 after setting its buffer (Bug#10805).
1358
1359 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1360
1361 Fix cornercase for string syntax.
1362 * progmodes/python.el (python-syntax-propertize-function):
1363 Simplify and enhance the regexp for unescaped quotes. Now it also
1364 matches quotes in weird situations like the single quote in
1365 "something\"'".
1366 (python-syntax-stringify): Simplify num-quotes detecting code.
1367
1368 2012-10-03 Glenn Morris <rgm@gnu.org>
1369
1370 * help-macro.el (three-step-help):
1371 Revert 2012-09-29 change. (Bug#12567)
1372
1373 2012-10-03 Martin Rudalics <rudalics@gmx.at>
1374
1375 * menu-bar.el (kill-this-buffer): Don't do anything when
1376 `menu-frame' is not alive or visible (Bug#8184).
1377
1378 * emacs-lisp/debug.el (debug): When quitting the debugger window
1379 restore current buffer (Bug#12502).
1380
1381 2012-10-02 Chong Yidong <cyd@gnu.org>
1382
1383 * progmodes/hideif.el (hif-lookup, hif-defined):
1384 Handle semantic-c-takeover-hideif.
1385
1386 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1387
1388 Change sampling interval units from ms to ns.
1389 * profiler.el (profiler-sampling-interval): Change units
1390 from ms to ns, multiplying the default by 1000000 so that
1391 it remains 1 ms.
1392 (profiler-report-cpu-line-format): Give enough room for
1393 the maximum counters on 64-bit hosts.
1394 (profiler-report-render-calltree-1): Call them "CPU samples",
1395 not "Time (ms)", since they are not milliseconds now (and
1396 never really were).
1397
1398 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
1399
1400 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1401 Fix querying BBDB for entries without a last name (Bug#11580).
1402
1403 2012-10-02 Chong Yidong <cyd@gnu.org>
1404
1405 * emacs-lisp/eieio.el: Restore Version header.
1406
1407 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1408
1409 * vc/diff-mode.el (diff--auto-refine-data): New var.
1410 (diff-hunk): Use it to delay refinement.
1411 (diff-mode): Remove overlays when we turn off font-lock.
1412
1413 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1414 (table-initialize-table-fixed-width-mode)
1415 (table-set-table-fixed-width-mode): Remove functions.
1416 (table-command-list): Move initialization into declaration.
1417 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1418 (table-with-cache-buffer): Use `declare'.
1419 (table-span-cell): Simplify via CSE.
1420 (table-fixed-width-mode): Use define-minor-mode.
1421 (table-call-interactively, table-funcall, table-apply): Remove.
1422 (table-function): New function, to replace them.
1423
1424 * bookmark.el (bookmark-search-pattern): Remove var.
1425 (bookmark-read-search-input): Remove function.
1426 (bookmark-bmenu-search): Reimplement using a minibuffer.
1427
1428 * faces.el (modeline): Remove obsolete face name.
1429
1430 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1431 and give a non-nil default value.
1432 (add-change-log-entry): Simplify accordingly.
1433
1434 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1435
1436 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1437 (vc-git-log-edit-toggle-amend): New function.
1438 (vc-git-log-edit-toggle-signoff): New function.
1439 (vc-git-log-edit-mode): New major mode.
1440 (vc-git-log-edit-mode-map): Keymap for it.
1441 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1442
1443 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1444 header names.
1445 (log-edit-toggle-header): New function.
1446 (log-edit-extract-headers): Accept function values in HEADERS alist.
1447
1448 2012-10-01 David Engster <deng@randomsample.de>
1449
1450 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1451 from symbol property and change message to be more consistent with
1452 Emacs proper.
1453 (eieio-describe-generic): Add filename for each implementation.
1454 Fix indices for generic and normal methods.
1455 (eieio-method-def, eieio-class-def): New buttons.
1456 (eieio-help-find-method-definition)
1457 (eieio-help-find-class-definition): New functions.
1458 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1459 class, constructor and method definitions.
1460
1461 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1462 information in symbol property.
1463 (scoped-class): Remove.
1464 (eieio-slot-name-index, call-next-method): Check if it is bound.
1465
1466 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
1467
1468 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1469 (eieio-custom-mode): New major mode.
1470 (eieio-customize-object): Use it.
1471
1472 2012-10-01 Eric Ludlam <zappo@gnu.org>
1473
1474 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1475 specifying the expected class, and whether subclassing is allowed.
1476 (eieio-persistent-convert-list-to-object):
1477 (eieio-persistent-validate/fix-slot-value)
1478 (eieio-persistent-slot-type-is-class-p): New functions.
1479 (eieio-named::slot-missing): Doc fix.
1480
1481 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1482 Stop using unused publd variable.
1483
1484 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1485 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1486 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1487 (eieio-speedbar-handle-click): Do not specify a class for the
1488 method. Fixes method invocation order problems with EDE.
1489
1490 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1491
1492 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1493 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1494
1495 2012-10-01 Karl Fogel <kfogel@red-bean.com>
1496
1497 * bookmark.el (bookmark-version-control): Give tags in the
1498 :type choices (Bug#12309), and improve doc string.
1499 (bookmark-write-file): Bind `print-circle' to `t' to allow
1500 circular custom bookmark types. (Bug#12503)
1501
1502 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1503
1504 Revert the FOLLOW-SYMLINKS change for file-attributes.
1505 * files.el (remote-file-name-inhibit-cache, after-find-file):
1506 * time.el (display-time-file-nonempty-p): Undo last change.
1507
1508 * profiler.el (profiler-sampling-interval): Change default back to 1.
1509 See Stefan Monnier in
1510 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1511
1512 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1513
1514 Shell output catching a la gud-gdb.
1515 * progmodes/python.el (python-shell-fetch-lines-in-progress)
1516 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1517 New Vars.
1518 (python-shell-fetch-lines-filter): New function.
1519 (python-shell-send-string-no-output): Use them.
1520
1521 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1522
1523 * profiler.el (profiler-sampling-interval): Rename from
1524 profiler-sample-interval.
1525 (profiler-sampling-interval): Default to 10.
1526 (profiler-find-profile): New command (was profiler-find-log).
1527 (profiler-find-profile-other-window): New command.
1528 (profiler-find-profile-other-frame): New command.
1529 (profiler-profile): Introduce API-level data structure.
1530
1531 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1532
1533 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1534 * files.el (remote-file-name-inhibit-cache):
1535 * time.el (display-time-file-nonempty-p): Use it.
1536 * files.el (after-find-file): Don't chase links before calling
1537 file-exists-p, as file-exists-p already does the right thing.
1538
1539 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
1540
1541 Merge from standalone RefTeX repository.
1542
1543 The following ChangeLog entries are shortened versions of the
1544 original ones with file paths adapted. A not so strongly edited
1545 version of the original ChangeLog can be found in the commit log.
1546
1547 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
1548 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1549 Correctly handle new value type returned by `reftex-citation'.
1550
1551 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
1552 that entries with whitespace at various places are found.
1553 Doc fix. Include entries that are cross-referenced from cited entries.
1554 Include @String definitions in the resulting bib file. Add header
1555 and footer defined in `reftex-create-bibtex-header' and
1556 `reftex-create-bibtex-footer'.
1557 (reftex-do-citation): Make it possible again to insert
1558 non-existent entries. Save match data when asking for optional
1559 arguments. Return all keys, not just the first one.
1560 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1561 all citations in the same line.
1562 (reftex-parse-bibtex-entry): Accept additional optional argument
1563 `raw' and keep quotes or braces if it is non-nil. Match fields
1564 containing hyphens besides word constituents.
1565 (reftex-get-string-refs): New function.
1566 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1567 and ask if it should be reread in case it did.
1568 (reftex-pop-to-bibtex-entry)
1569 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1570 entries with spaces or tabs in front of arguments.
1571 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
1572 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1573 Match entries containing numbers and symbol constituents.
1574 (reftex-do-citation, reftex-figure-out-cite-format):
1575 Use `reftex-cite-key-separator'.
1576
1577 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1578 (reftex-mouse-view-crossref): Explain why point is set.
1579
1580 * textmodes/reftex-global.el: Whitespace changes.
1581
1582 * textmodes/reftex-index.el: Move provide statement to end of
1583 file.
1584 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1585 (reftex-index-visit-phrases-buffer): Set marker when visiting
1586 buffer. This allows for returning from the phrases file to the
1587 file one was just editing instead of the file where the last
1588 phrases was added from.
1589 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1590 punctuation syntax as it usually is not used as string quote in
1591 TeX-related modes and may occur unmatched. The change also
1592 prevents fontification of quoted content.
1593 (reftex-index-phrases-mode): Use it.
1594
1595 * textmodes/reftex-parse.el (reftex-parse-from-file):
1596 Move backward one char if a `\' was matched after a section macro.
1597 (reftex-parse-from-file): Use beginning of match instead of end as
1598 bound.
1599
1600 * textmodes/reftex-ref.el: Adapt creation of
1601 `reftex-<package>-<macro>' functions to new structure of
1602 `reftex-ref-style-alist'.
1603 (reftex-reference): Use `reftex-ref-style-list' function.
1604 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
1605 reference macro if `reftex-ref-macro-prompt' is non-nil.
1606 (reftex-reference): Pass refstyle to `reftex-format-special'.
1607 Determine reference macro by looking at
1608 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1609 Use only one special format function.
1610 (reftex-varioref-vref, reftex-fancyref-fref)
1611 (reftex-fancyref-Fref): Remove definitions. The functions are now
1612 generated from `reftex-ref-style-alist'.
1613 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1614 Remove.
1615 (reftex-format-special): New function.
1616
1617 * textmodes/reftex-sel.el
1618 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1619 of `reftex-ref-style-alist'. Remove code for testing macro type.
1620 (reftex-select-toggle-varioref)
1621 (reftex-select-toggle-fancyref): Remove.
1622 (reftex-select-cycle-ref-style-internal)
1623 (reftex-select-cycle-ref-style-forward)
1624 (reftex-select-cycle-ref-style-backward): New functions.
1625 (reftex-select-label-map): Use `v' and `V' for general cycling
1626 through reference styles. Add `p' for switching between number
1627 and page reference types.
1628
1629 * textmodes/reftex-toc.el (reftex-re-enlarge):
1630 Call `enlarge-window' only if there is something to do because in Emacs
1631 the horizontal version throws an error even if the parameter is 0.
1632
1633 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1634 (reftex-plug-into-AUCTeX): Doc fix.
1635 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1636 string. Adapt to new name.
1637 (reftex-ref-style-alist): Change structure so that it is not
1638 possible to use multiple different package names within a style.
1639 Remove the symbols for symbols for macro type distinction.
1640 Add characters for macro selection.
1641 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1642 (reftex-create-bibtex-footer): New variables.
1643 (reftex-format-ref-function): Mention third argument of special
1644 format function.
1645 (reftex-ref-style-alist, reftex-ref-style-default-list):
1646 New variables.
1647 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1648 to new implementation. Mark as obsolete. Add compatibility code
1649 for honoring the variable values in case they are set.
1650 (reftex-cite-format-builtin, reftex-bibliography-commands):
1651 Add support for ConTeXt.
1652 (reftex-format-ref-function, reftex-format-cite-function):
1653 Fix custom type.
1654 (reftex-cite-key-separator): New variable.
1655
1656 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1657 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1658 `reftex-syntax-table' because parens have to retain their paren
1659 syntax in order for parsing of BibTeX entries like @book(...) to
1660 work.
1661 (reftex-in-comment): Do not error out if `comment-start-skip' is
1662 not set. Deal correctly with escaped comment characters.
1663 (reftex-tie-multifile-symbols): Add doc string.
1664 Initialize `reftex-ref-style-list'.
1665 (reftex-untie-multifile-symbols): Add doc string.
1666 (reftex-add-index-macros): Doc fix.
1667 (reftex-ref-style-activate, reftex-ref-style-toggle)
1668 (reftex-ref-style-list): New functions.
1669 (reftex-mode-menu): Use them. Adapt to new structure of
1670 `reftex-ref-style-alist'.
1671 (reftex-select-with-char): Kill the RefTeX Select buffer when
1672 done.
1673 (reftex-remove-if): New function.
1674 (reftex-erase-all-selection-and-index-buffers)
1675 (reftex-mode-menu): Reference styles are now computed from
1676 `reftex-ref-style-alist'. Fix typo.
1677 (reftex-report-bug): New function.
1678 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1679 algorithms with O(n log n). Introduce optional argument SORT (not
1680 yet used).
1681
1682 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1683
1684 Enhancements for triple-quote string syntax.
1685 * progmodes/python.el (python-syntax-propertize-function):
1686 Match both quote cases in one regexp.
1687 (python-syntax-stringify): Handle matches properly.
1688
1689 2012-09-30 Juri Linkov <juri@jurta.org>
1690
1691 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
1692 to nil around the call to `insert' to prevent
1693 directory time modification by lock_file. (Bug#2295)
1694 * tar-mode.el (tar-summarize-buffer): Idem.
1695
1696 2012-09-30 Juri Linkov <juri@jurta.org>
1697
1698 * facemenu.el (list-colors-sort): Add option "Luminance".
1699 (list-colors-sort-key): Implement it.
1700
1701 * vc/diff-mode.el (diff-refine-removed):
1702 * vc/ediff-init.el (ediff-fine-diff-A):
1703 * vc/smerge-mode.el (smerge-refined-removed):
1704 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1705
1706 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1707
1708 * term/ns-win.el (x-file-dialog): New function.
1709
1710 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
1711
1712 * ido.el (ido-max-directory-size): Default to nil; the current
1713 default is small for POSIX systems, and impractical on Windows 7
1714 now that lstat returns directory sizes for NTFS.
1715
1716 2012-09-30 Martin Rudalics <rudalics@gmx.at>
1717
1718 In buffer display functions handle window-height/window-width
1719 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
1720 * window.el (window--display-buffer): New argument ALIST.
1721 Obey window-height and window-width alist entries.
1722 (window--try-to-split-window): New argument ALIST.
1723 Bind window-combination-limit to t when the window's size shall be
1724 changed and window-combination-limit equals `window-size'.
1725 (display-buffer-in-atom-window)
1726 (display-buffer-in-major-side-window)
1727 (display-buffer-in-side-window, display-buffer-same-window)
1728 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1729 (display-buffer-pop-up-window, display-buffer-below-selected)
1730 (display-buffer-at-bottom, display-buffer-in-previous-window)
1731 (display-buffer-use-some-window): Adjust all callers of
1732 window--display-buffer and window--try-to-split-window.
1733 (fit-frame-to-buffer): New option.
1734 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1735 is non-nil.
1736 (display-buffer-in-major-side-window): Evaluate window-height /
1737 window-width alist entries.
1738
1739 * help.el (temp-buffer-resize-frames)
1740 (temp-buffer-resize-regexps): Remove options.
1741 (temp-buffer-resize-mode): Adjust doc-string.
1742 (resize-temp-buffer-window): Don't consult
1743 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1744 temp-buffer-resize-frames.
1745
1746 * dired.el (dired-mark-pop-up):
1747 Call display-buffer-below-selected with a fit-window-to-buffer alist
1748 entry.
1749
1750 2012-09-30 Chong Yidong <cyd@gnu.org>
1751
1752 * server.el (server-host): Document the security implications.
1753 (server-auth-key): Doc fix.
1754
1755 * startup.el (initial-buffer-choice): Doc fix.
1756
1757 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1758
1759 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1760 restriction change.
1761
1762 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1763
1764 * help-fns.el (help-fns--obsolete): Fix last change.
1765
1766 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1767
1768 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1769 (minor-mode-map-alist): Remove redundant code.
1770
1771 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1772 visited in a buffer.
1773 (cvs-insert-visited-file): New function.
1774 (find-file-hook): Use it.
1775
1776 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1777
1778 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1779 chose face.
1780 (log-edit-empty-buffer-p): Don't require a space after a header.
1781
1782 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1783
1784 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1785
1786 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1787 a proper minor-mode.
1788
1789 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1790
1791 2012-09-29 Glenn Morris <rgm@gnu.org>
1792
1793 * winner.el (winner-mode): Remove variable (let define-minor-mode
1794 handle it).
1795 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1796 Doc fixes.
1797 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1798 (winner-mode): Use define-minor-mode.
1799
1800 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1801 the full definition in loaddefs, rather than duplicating it.
1802
1803 * help-macro.el (three-step-help): No need to autoload defcustom.
1804
1805 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1806 (inferior-lisp-program, inferior-lisp-load-command)
1807 (inferior-lisp-prompt, inferior-lisp-mode-hook):
1808 No need to autoload defcustoms.
1809
1810 * hippie-exp.el (hippie-expand-try-functions-list)
1811 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1812 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1813 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
1814 (hippie-expand-only-buffers): No need to autoload defcustoms.
1815 * progmodes/vhdl-mode.el (vhdl-line-expand):
1816 Explicitly load hippie-exp, so it does not get autoloaded
1817 while hippie-expand-try-functions-list is let-bound.
1818
1819 2012-09-28 Glenn Morris <rgm@gnu.org>
1820
1821 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1822
1823 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1824 Only "cl.el" counts as cl these days.
1825
1826 2012-09-28 Juri Linkov <juri@jurta.org>
1827
1828 Display archive errors in the echo area instead of inserting
1829 to the file buffer.
1830
1831 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1832 to STDERR-TEST that can be a regexp matching a successful output.
1833 Create a temporary file and redirect stderr to it. Search for
1834 STDERR-TEST in the stderr output and display it in the echo area
1835 if no match is found.
1836 (archive-extract-by-file): New function like
1837 `archive-extract-by-stdout' but extracting archives to files
1838 and looking for successful matches in stdout. Function body is
1839 mostly copied from `archive-rar-extract'.
1840 (archive-rar-extract): Use `archive-extract-by-file'.
1841 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1842
1843 2012-09-28 Leo Liu <sdl.web@gmail.com>
1844
1845 * pcomplete.el (pcomplete-show-completions):
1846 Use minibuffer-message to make pcomplete usable in minibuffer.
1847
1848 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1849
1850 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1851
1852 * type-break.el: Use lexical-binding.
1853 (type-break-mode): Use define-minor-mode.
1854
1855 * emacs-lisp/pcase.el (pcase--mark-used): New.
1856 (pcase--u1): Use it (bug#12512).
1857
1858 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1859 in load-history with the right file name.
1860
1861 2012-09-28 Tassilo Horn <tsdh@gnu.org>
1862
1863 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1864 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1865 (doc-view-get-bounding-box): Make bounding box slicing work for
1866 ODF and DVI documents.
1867
1868 2012-09-28 Glenn Morris <rgm@gnu.org>
1869
1870 * type-break.el (type-break-mode, type-break-interval)
1871 (type-break-good-rest-interval, type-break-keystroke-threshold):
1872 No need to autoload.
1873 (type-break-good-rest-interval, type-break-keystroke-threshold):
1874 Add :set-after.
1875
1876 2012-09-28 Chong Yidong <cyd@gnu.org>
1877
1878 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1879 Add :version tag.
1880
1881 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1882
1883 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
1884
1885 2012-09-27 Glenn Morris <rgm@gnu.org>
1886
1887 * faces.el (x-display-name): Declare (for without-x builds).
1888
1889 * linum.el (linum-format): Don't autoload it. Improve :type.
1890
1891 * progmodes/tcl.el: Don't require outline when compiling.
1892 (outline-regexp, outline-level): Declare.
1893 * textmodes/sgml-mode.el: Don't require outline when compiling.
1894 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1895
1896 * term.el (term-ansi-reset):
1897 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1898
1899 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1900 files for RCS and SCCS. (Bug#9781)
1901
1902 2012-09-27 Chong Yidong <cyd@gnu.org>
1903
1904 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1905 change; value should be t.
1906
1907 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1908
1909 * image-mode.el: Use lexical-binding.
1910 (image-mode-winprops): Use t to stand for the window of
1911 a buffer that's not displayed.
1912 * doc-view.el (doc-view-new-window-function): Handle the new
1913 t in winprops.
1914 (doc-view-enlarge): Make it a real nop if the size is not changed.
1915 (doc-view-display): Handle the case where the buffer is not (yet?)
1916 displayed in any window.
1917 (doc-view-saved-settings): New var.
1918 (doc-view-mode): Use it.
1919 (doc-view-fallback-mode): Set it.
1920
1921 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1922 Set lexical-binding.
1923 (minibuffer-eldef-shorten-default): New var.
1924 (minibuffer-default-in-prompt-regexps): Use it for new default.
1925 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1926
1927 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1928
1929 * international/uni-bidi.el:
1930 * international/uni-category.el:
1931 * international/uni-name.el:
1932 * international/uni-numeric.el: Regenerate.
1933
1934 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1935 Stefan Monnier <monnier@iro.umontreal.ca>
1936
1937 * profiler.el: New file.
1938
1939 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1940
1941 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1942 (testcover-reinstrument): Simplify with CSE.
1943
1944 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1945
1946 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1947
1948 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1949
1950 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1951 (verilog-auto-input, verilog-auto-insert-lisp)
1952 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1953 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1954 (verilog-auto-unused, verilog-auto-wire)
1955 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1956 newline. Reported by Andrew Jones.
1957 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1958 Reported by Brad Dobbie.
1959 (verilog-batch-delete-trailing-whitespace):
1960 Create verilog-batch-delete-trailing-whitespace.
1961 Reported by Brad Dobbie.
1962 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1963 parameters from another module. Reported by Dan Katz.
1964 (verilog-auto, verilog-auto-assign-modport)
1965 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1966 AUTOINOUTMODPORT for UVM interface module shell generation.
1967 Reported by Brad Dobbie.
1968 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1969 standard behavior.
1970 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1971 Reported by Matt Martin.
1972
1973 2012-09-25 Martin Rudalics <rudalics@gmx.at>
1974
1975 * window.el (window--resize-child-windows): When resizing child
1976 windows proportionally, process them in reverse order to
1977 preserve the "when splitting a window the new one gets the odd
1978 line" behavior.
1979 (window--resize-root-window-vertically): When resizing the
1980 minibuffer window try to affect only windows at the bottom of the
1981 frame. (Bug#12419)
1982
1983 2012-09-25 Chong Yidong <cyd@gnu.org>
1984
1985 * subr.el (declare): Doc fix.
1986
1987 * help-fns.el (help-fns--obsolete): Handle macros properly.
1988
1989 2012-09-25 Chong Yidong <cyd@gnu.org>
1990
1991 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1992 this function obsolete.
1993
1994 * calendar/cal-x.el (calendar-two-frame-setup)
1995 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1996 * calendar/calendar.el (american-calendar, european-calendar)
1997 (calendar-for-loop):
1998 * comint.el (comint-dynamic-simple-complete)
1999 (comint-dynamic-complete-as-filename, comint-unquote-filename):
2000 * desktop.el (desktop-load-default):
2001 * dired-x.el (dired-omit-here-always)
2002 (dired-hack-local-variables, dired-default-directory):
2003 * emacs-lisp/derived.el (derived-mode-class):
2004 * emacs-lisp/timer.el (timer-set-time-with-usecs):
2005 * emacs-lock.el (toggle-emacs-lock):
2006 * epa.el (epa-display-verify-result):
2007 * epg.el (epg-sign-keys, epg-start-sign-keys)
2008 (epg-passphrase-callback-function):
2009 * eshell/esh-util.el (eshell-for):
2010 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2011 (eshell-add-to-window-buffer-names):
2012 * files.el (locate-file-completion):
2013 * imenu.el (imenu-example--create-c-index)
2014 (imenu-example--create-lisp-index)
2015 (imenu-example--lisp-extract-index-name)
2016 (imenu-example--name-and-position):
2017 * international/mule-cmds.el (princ-list):
2018 * international/mule-diag.el (decode-codepage-char):
2019 * international/mule-util.el (detect-coding-with-priority):
2020 * iswitchb.el (iswitchb-read-buffer):
2021 * mail/mailalias.el (mail-complete):
2022 * mail/sendmail.el (mail-sent-via):
2023 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2024 (mouse-major-mode-menu):
2025 * password-cache.el (password-read-and-add):
2026 * pcomplete.el (pcomplete-parse-comint-arguments):
2027 * progmodes/sh-script.el (sh-maybe-here-document):
2028 * replace.el (query-replace-regexp-eval):
2029 * savehist.el (savehist-load):
2030 * simple.el (choose-completion-delete-max-match):
2031 * term.el (term-dynamic-simple-complete):
2032 * vc/ediff-init.el (ediff-check-version):
2033 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2034 * vc/vc.el (vc-diff-switches-list):
2035 * view.el (view-return-to-alist-update): Likewise.
2036
2037 * subr.el (eval-next-after-load, makehash, insert-string)
2038 (assoc-ignore-representation, assoc-ignore-case): Use declare to
2039 mark obsolete.
2040 (mode-line-inverse-video): Variable deleted.
2041
2042 * international/mule-util.el (string-to-sequence): Remove.
2043
2044 * calendar/calendar.el (calendar-version):
2045 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
2046 (icalendar-convert-diary-to-ical):
2047 * cus-edit.el (custom-mode):
2048 * ansi-color.el (ansi-color-unfontify-region):
2049 * international/latin1-disp.el (latin1-char-displayable-p):
2050 * progmodes/cwarn.el (turn-on-cwarn-mode):
2051 * progmodes/which-func.el (which-func-update-1):
2052 Use define-obsolete-function-alias.
2053
2054 * net/newst-backend.el (newsticker-cache-filename):
2055 * net/newst-treeview.el (newsticker-groups-filename):
2056 Fix incorrect obsolescence declaration.
2057
2058 * allout.el (allout-passphrase-hint-string): Likewise.
2059 (allout-init): Use a declare form to mark obsolete.
2060
2061 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
2062 this applies to functions.
2063
2064 * iswitchb.el (iswitchb-read-buffer): Move code of
2065 iswitchb-define-mode-map here, and delete that obsolete function.
2066
2067 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
2068 font-lock-reference-face.
2069
2070 2012-09-25 Glenn Morris <rgm@gnu.org>
2071
2072 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
2073 Doc fixes.
2074
2075 * eshell/em-term.el (eshell-term-name):
2076 Default to term-term-name. (Bug#12485)
2077
2078 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2079
2080 * progmodes/python.el (python-shell-send-buffer): Better handling
2081 of "if __name__ == '__main__':" conditionals when sending the buffer.
2082
2083 2012-09-24 Glenn Morris <rgm@gnu.org>
2084
2085 * eshell/esh-cmd.el (eshell-find-alias-function):
2086 Tighten up file-name regexp. (Bug#12499)
2087
2088 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2089
2090 Enhancements for triple-quote string syntax.
2091 * progmodes/python.el (python-quote-syntax): Remove.
2092 (python-syntax-propertize-function): New value.
2093 (python-syntax-count-quotes, python-syntax-stringify):
2094 New functions.
2095
2096 2012-09-24 Chong Yidong <cyd@gnu.org>
2097
2098 * mail/supercite.el (sc-version): Remove obsolete function.
2099 (sc-describe): Don't mark as obsolete, since it is bound.
2100 (sc-submit-bug-report): Remove.
2101
2102 * vc/log-edit.el (cvs-changelog-full-paragraphs)
2103 (cvs-commit-buffer-require-final-newline): Remove.
2104 (log-edit-require-final-newline)
2105 (log-edit-changelog-full-paragraphs): Default to t.
2106
2107 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
2108 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2109 * vc/vc.el (vc-checkout-carefully): Likewise.
2110
2111 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
2112 (emerge-version): Remove.
2113
2114 * progmodes/compile.el (compile-internal): Remove.
2115 (compilation-parse-errors-function): Fix typo.
2116
2117 * international/mule.el (set-char-table-default): Remove.
2118 (set-coding-priority, make-coding-system, generic-char-p)
2119 (charset-list, charset-bytes, charset-id): Use declare to mark
2120 functions as obsolete.
2121
2122 * vc/pcvs-defs.el (cvs-buffer-name-alist)
2123 (cvs-invert-ignore-marks): Remove references to obsolete vars.
2124 * vc/vc-hooks.el (vc-default-registered): Don't use
2125 vc-master-templates.
2126
2127 * font-lock.el (font-lock-reference-face):
2128 Use define-obsolete-variable-alias.
2129
2130 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
2131 * calendar/calendar.el (calendar-font-lock-keywords):
2132 * calendar/diary-lib.el (diary-font-lock-keywords)
2133 (diary-fancy-font-lock-keywords):
2134 * textmodes/reftex-sel.el (reftex-insert-docstruct):
2135 * textmodes/reftex-index.el (reftex-insert-index):
2136 * textmodes/reftex-cite.el (reftex-format-bib-entry):
2137 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2138 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
2139 * progmodes/prolog.el (prolog-font-lock-keywords):
2140 * progmodes/idlwave.el (idlwave-idl-keywords):
2141 * progmodes/ada-mode.el (ada-font-lock-keywords):
2142 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
2143
2144 2012-09-24 Glenn Morris <rgm@gnu.org>
2145
2146 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
2147
2148 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
2149
2150 * progmodes/python.el (python-indent-line): More consistent cursor
2151 movement behavior.
2152
2153 2012-09-23 Stefan Merten <smerten@oekonux.de>
2154
2155 * textmodes/rst.el: Fix compiler warning.
2156
2157 2012-09-23 Roland Winkler <winkler@gnu.org>
2158
2159 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
2160 Transcribe also LaTeX hyphenation.
2161 (bibtex-reformat): Bug fix. Do not quote twice the elements of
2162 bibtex-reformat-previous-options.
2163
2164 2012-09-23 Roland Winkler <winkler@gnu.org>
2165
2166 * proced.el (proced-renice-command): New variable.
2167 (proced-marked-processes): New function.
2168 (proced-with-processes-buffer): New macro.
2169 (proced-send-signal): Use them.
2170 (proced-renice): New command bound to r.
2171
2172 2012-09-23 Roland Winkler <winkler@gnu.org>
2173
2174 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
2175 ibuffer-saved-filter-groups has one element, shortcut the call of
2176 completing-read. (Bug#12331)
2177
2178 2012-09-23 Chong Yidong <cyd@gnu.org>
2179
2180 * bindings.el (mode-line-toggle-read-only):
2181 * bs.el (bs-toggle-readonly):
2182 * buff-menu.el (Buffer-menu-toggle-read-only):
2183 * dired.el (dired-toggle-read-only):
2184 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
2185
2186 2012-09-23 Chong Yidong <cyd@gnu.org>
2187
2188 * image.el (image-type-available-p): Adapt to init-image-library
2189 argument changes.
2190
2191 2012-09-22 Juri Linkov <juri@jurta.org>
2192
2193 * dired.el (dired-mode-map): Add [remap read-only-mode] for
2194 `dired-toggle-read-only'. (Bug#12462)
2195
2196 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2197
2198 * subr.el (temp-output-buffer-show): New function.
2199 (with-output-to-temp-buffer): Call temp-output-buffer-show
2200 instead of internal-temp-output-buffer-show.
2201
2202 2012-09-22 Chong Yidong <cyd@gnu.org>
2203
2204 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
2205 (Bug#12462).
2206
2207 * repeat.el (repeat): Doc fix (Bug#12348).
2208
2209 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
2210 (Bug#10909).
2211
2212 * simple.el (shell-command-on-region): Doc fix.
2213 (read-only-mode): Doc fix.
2214
2215 2012-09-22 Eli Zaretskii <eliz@gnu.org>
2216
2217 * emacs-lisp/timer.el (run-with-idle-timer)
2218 (timer-activate-when-idle): Warn against reinvoking an idle timer
2219 from within its own timer action. (Bug#12447)
2220
2221 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2222
2223 * cus-start.el (window-combination-limit): Add new optional
2224 values.
2225 * window.el (temp-buffer-window-show)
2226 (window--try-to-split-window): Handle new values of
2227 window-combination-limit (Bug#1806).
2228 (split-window): Test window-combination-limit for t instead of
2229 non-nil.
2230 (display-buffer-at-bottom): New buffer display action function.
2231 * help.el (temp-buffer-resize-regexps): New option.
2232 (temp-buffer-resize-mode): Rewrite doc-string.
2233 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
2234 Don't resize reused window. Suggested by Glenn Morris.
2235
2236 2012-09-22 Stefan Merten <smerten@oekonux.de>
2237
2238 * textmodes/rst.el: Revamp section title faces.
2239 (rst-official-version)
2240 (rst-package-emacs-version-alist): Sync with official version
2241 V1.4.0.
2242 (rst-faces-defaults, rst-set-level-default)
2243 (rst-level-face-max, rst-level-face-base-color)
2244 (rst-level-face-base-light, rst-level-face-format-light)
2245 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
2246 (rst-adornment-faces-alist): Match new setup.
2247 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
2248 (rst-level-5, rst-level-6): New faces.
2249
2250 2012-09-22 Chong Yidong <cyd@gnu.org>
2251
2252 * simple.el (undo): Handle indirect buffers (Bug#8207).
2253
2254 2012-09-21 Leo Liu <sdl.web@gmail.com>
2255
2256 IDO: Disable match re-ordering for buffer switching.
2257 * ido.el (ido-buffer-disable-smart-matches): New variable.
2258 (ido-set-matches-1): Use it. (Bug#2042)
2259
2260 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
2261
2262 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2263 Fix 2011-05-17 change. (Bug#12418)
2264
2265 2012-09-21 Leo Liu <sdl.web@gmail.com>
2266
2267 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
2268
2269 2012-09-21 Glenn Morris <rgm@gnu.org>
2270
2271 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
2272 Be more robust about locating simple.el.
2273
2274 2012-09-21 Glenn Morris <rgm@gnu.org>
2275
2276 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2277
2278 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
2279
2280 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
2281
2282 2012-09-20 Juri Linkov <juri@jurta.org>
2283
2284 * replace.el (query-replace-read-from): Use `read-regexp' instead
2285 of `read-from-minibuffer' when `regexp-flag' is non-nil.
2286 (occur-read-primary-args): Use `read-regexp' instead of
2287 `read-string'.
2288 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2289 `read-from-minibuffer'.
2290 * isearch.el (isearch-occur): Use `read-regexp' instead of
2291 `read-string'.
2292 * dired.el (dired-read-regexp): Use `read-regexp' instead of
2293 `read-from-minibuffer'.
2294 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2295 of `read-string'. (Bug#7567)
2296
2297 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2298 and allow accepting a list of strings prepended to a list of
2299 standard default values. Doc fix. (Bug#12321)
2300
2301 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
2302
2303 * replace.el (read-regexp): Don't add ": " when PROMPT already
2304 ends with a colon and space. (Bug#12321)
2305
2306 2012-09-20 Tassilo Horn <tsdh@gnu.org>
2307
2308 * doc-view.el (doc-view-display): Better fix for the cl-assertion
2309 error.
2310
2311 2012-09-20 Stefan Merten <smerten@oekonux.de>
2312
2313 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
2314 Fixes feature request bug#11711.
2315 (rst-mode): Create `imenu-create-index-function'.
2316 (rst-get-stripped-line): Delete after refactoring.
2317 (rst-section-tree, rst-section-tree-rec)
2318 (rst-section-tree-point): Refactor and document properly.
2319 (rst-imenu-find-adornments-for-position)
2320 (rst-imenu-convert-cell, rst-imenu-create-index):
2321 New function.
2322
2323 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2324
2325 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2326 (macroexp--expand-all): Use it.
2327 (macroexp--funcall-and-return): Remove by folding it into its sole
2328 caller (macroexp--warn-and-return).
2329 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2330 Use macroexp--obsolete-warning.
2331
2332 * calc/calc.el: Fix last change by removing the whole chunk, since it
2333 was only needed back when Calc was not bundled.
2334
2335 2012-09-20 Martin Rudalics <rudalics@gmx.at>
2336
2337 * emacs-lisp/debug.el (debug): Restore assignment to
2338 debugger-old-buffer removed on 2012-09-08.
2339
2340 2012-09-20 Juri Linkov <juri@jurta.org>
2341
2342 * dired-aux.el (dired-diff): Remove (require 'diff) since
2343 `diff-latest-backup-file' is now autoloaded.
2344
2345 2012-09-20 Chong Yidong <cyd@gnu.org>
2346
2347 * vc/diff.el (diff-latest-backup-file): Autoload.
2348
2349 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2350
2351 * calc/calc.el: Remove redundant autoload shape check.
2352 (sel-mode): Don't defvar.
2353 (calc-get-stack-element): Add `sel-mode' arg instead.
2354 (calc-top, calc-top-list): Pass it this additional argument.
2355 * calc/calc-store.el (calc-store-map):
2356 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2357 (calc-map-equation, calc-outer-product, calc-inner-product):
2358 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2359
2360 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2361
2362 2012-09-19 Juri Linkov <juri@jurta.org>
2363
2364 * dired-aux.el (dired-diff): Add (require 'diff) because
2365 `diff-latest-backup-file' is not autoloaded.
2366 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2367 of `dired-get-filename' to t to not report error when there is
2368 no default file on the current line.
2369
2370 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2371
2372 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2373 macroexp--eval-if-compile.
2374 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2375 (macroexp--expand-all): Use them (bug#12371).
2376
2377 * doc-view.el (doc-view-guess-paper-size)
2378 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2379
2380 2012-09-19 Tassilo Horn <tsdh@gnu.org>
2381
2382 New feature: set optimal slice from BoundingBox information.
2383 * doc-view.el (doc-view-mode-map): Add keybinding.
2384 (doc-view-menu): Add menu entry.
2385 (doc-view-set-slice): Adapt docstring.
2386 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2387 (doc-view-scale-bounding-box)
2388 (doc-view-set-slice-from-bounding-box): New functions.
2389 (doc-view-paper-sizes): New defvar.
2390
2391 2012-09-19 Glenn Morris <rgm@gnu.org>
2392
2393 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2394 (byte-compile-log-warning): Autoload. (Bug#12371)
2395
2396 * calendar/calendar.el (calendar-american-month-header)
2397 (calendar-european-month-header, calendar-iso-month-header)
2398 (calendar-month-header): New options.
2399 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2400 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2401
2402 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2403
2404 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2405
2406 2012-09-18 Juri Linkov <juri@jurta.org>
2407
2408 * dired-aux.el (dired-diff): Restore original functionality of
2409 getting the default value, but keep new feature of using the
2410 latest existing backup file (`diff-latest-backup-file').
2411
2412 2012-09-18 Juri Linkov <juri@jurta.org>
2413
2414 * dired.el (dired-mark): If the region is active in Transient Mark
2415 mode, mark all files in the active region. Doc fix.
2416 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2417 Doc fix. (Bug#10624)
2418
2419 2012-09-18 Juri Linkov <juri@jurta.org>
2420
2421 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2422 attributes for M-n are pulled from the file at point.
2423 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2424 Suggested by Drew Adams. (Bug#10624)
2425
2426 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2427
2428 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2429 whitespace after "end".
2430 (ruby-do-end-to-brace): Collapse block to one line if it fits
2431 within fill-column.
2432
2433 2012-09-18 Martin Rudalics <rudalics@gmx.at>
2434
2435 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2436 value.
2437 (debug): Don't remove debugger window when debugger is expected
2438 to be back.
2439
2440 2012-09-18 Chong Yidong <cyd@gnu.org>
2441
2442 * custom.el (defface): Doc fix.
2443
2444 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2445
2446 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2447
2448 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2449 to initialize query-on-exit; then test that instead (bug#12288).
2450
2451 2012-09-17 Stefan Merten <smerten@oekonux.de>
2452
2453 * textmodes/rst.el: Add support for `testcover'.
2454 (rst-defcustom-testcover, rst-testcover-add-compose)
2455 (rst-testcover-add-1value): New functions.
2456 (rst-portable-mark-active-p): Replace by `use-region-p'.
2457 (rst-update-section, rst-classify-adornment)
2458 (rst-find-title-line): Mark `1value' forms.
2459 (rst-classify-adornment): Remove superfluous form.
2460 (rst-update-section, rst-get-adornments-around)
2461 (rst-adornment-complete-p, rst-get-next-adornment)
2462 (rst-adjust, rst-promote-region)
2463 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2464 (rst-find-pfx-in-region, rst-section-tree-rec)
2465 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2466 (rst-toc-node, rst-toc, rst-forward-section)
2467 (rst-iterate-leftmost-paragraphs)
2468 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2469 (rst-bullet-list-region)
2470 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2471 (rst-compile-find-conf, rst-compile)
2472 (rst-repeat-last-character): Fix style.
2473
2474 2012-09-17 Chong Yidong <cyd@gnu.org>
2475
2476 * comint.el (comint--complete-file-name-data): Don't add a space
2477 if the status is `sole'; that adds a gratuitous space in the
2478 completion-cycling case (Bug#12092).
2479
2480 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2481
2482 2012-09-17 Richard Stallman <rms@gnu.org>
2483
2484 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2485 only in the mime-shown mode, not in raw mode.
2486 (rmail-mime): Toggle off mime by displaying the message without
2487 mime processing. (Bug#12305)
2488
2489 * mail/rmail.el (rmail-retry-failure):
2490 Turn off mime processing first. (Bug#12037)
2491
2492 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2493
2494 2012-09-17 Chong Yidong <cyd@gnu.org>
2495
2496 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2497 (shell-dynamic-complete-functions): Convert to defcustom.
2498 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2499
2500 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2501 * comint.el (comint-prompt-read-only):
2502 * custom.el (defcustom):
2503 * hi-lock.el (hi-lock-mode):
2504 * ibuffer.el (ibuffer-formats):
2505 * ielm.el (ielm-prompt-read-only):
2506 * novice.el (disable-command):
2507 * saveplace.el (toggle-save-place):
2508 * speedbar.el (speedbar-supported-extension-expressions):
2509 * startup.el (auto-save-list-file-prefix, init-file-user)
2510 (after-init-hook, inhibit-startup-echo-area-message):
2511 * strokes.el (strokes-help):
2512 * time-stamp.el (time-stamp):
2513 * calendar/calendar.el (calendar, diary-file):
2514 * calendar/diary-lib.el (diary-mail-entries, diary)
2515 (diary-list-entries-hook):
2516 * calendar/holidays.el (holidays, calendar-holidays):
2517 * calendar/lunar.el (lunar-phases):
2518 * calendar/solar.el (sunrise-sunset):
2519 * emulation/edt.el (edt-load-keys):
2520 * emulation/viper.el (viper-mode):
2521 * eshell/em-alias.el (eshell-command-aliases-list):
2522 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2523 * international/ogonek.el (ogonek-information):
2524 * net/tramp-cmds.el (tramp-bug):
2525 * net/quickurl.el (quickurl-reread-hook-postfix):
2526 * play/decipher.el (decipher-font-lock-keywords):
2527 * progmodes/cc-styles.el (c-set-style):
2528 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2529 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2530 * progmodes/octave-mod.el (octave-mode):
2531 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2532 * progmodes/verilog-mode.el (verilog-read-defines):
2533 * textmodes/two-column.el (2C-mode): Likewise.
2534
2535 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2536
2537 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2538 that holds many addresses.
2539
2540 2012-09-16 Chong Yidong <cyd@gnu.org>
2541
2542 * align.el (align-areas): Call the indication function with
2543 positions instead of markers for arguments (Bug#12343).
2544
2545 * files.el (parse-colon-path): Use split-string (Bug#12351).
2546
2547 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
2548 (display-buffer-function): Mark as obsolete.
2549
2550 * progmodes/compile.el (compilation-parse-errors): Accept list
2551 values similar to font-lock-keywords (Bug#12136).
2552 Suggested by Oleksandr Manzyuk.
2553 (compilation-error-regexp-alist): Doc fix.
2554
2555 2012-09-15 Glenn Morris <rgm@gnu.org>
2556
2557 * version.el (emacs-bzr-version-bzr): New function.
2558 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2559
2560 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2561 checkouts, check the parent dirstate matches the branch.
2562 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2563 empty string.
2564
2565 * version.el (emacs-bzr-version): Doc fix.
2566 (emacs-bzr-version-dirstate): New function.
2567 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2568 is local try and check that it matches the branch. If not, just
2569 use dirstate information. (Bug#12441)
2570
2571 2012-09-14 Juri Linkov <juri@jurta.org>
2572
2573 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2574 (Bug#12399)
2575
2576 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2577
2578 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2579
2580 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2581 Remove obsolete byte-compiler hack that tried to silence some warnings.
2582 (edebug-submit-bug-report): Remove.
2583 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2584 Remove aliases, use the un-prefixed name instead.
2585 (edebug-pop-to-buffer): Consider other frames.
2586 (edebug-original-read):: Make it more obvious that it's always defined.
2587 (edebug--make-form-data-entry, edebug--form-data-name)
2588 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2589 single-dashed name, and implement with cl-defstruct.
2590 (edebug-set-form-data-entry): Use the standard accessors.
2591 (edebug-make-top-form-data-entry): Use push.
2592 (edebug-no-match): Drop useless `funcall'.
2593 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2594 to functions.
2595 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2596 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2597 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2598 (easy-menu-define, with-custom-print): Remove redundant specs.
2599 (edebug-outside-overriding-local-map)
2600 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2601 (edebug--display): Bind unread-command-events directly to nil rather
2602 than binding it to unread-command-events and later setting it to nil.
2603 (edebug--display): Kill edebug-eval-buffer here...
2604 (edebug--recursive-edit): ...rather than here.
2605 Bind standard-output and standard-input.
2606 (edebug-eval): Check cl-macroexpand-all is fboundp.
2607 (edebug-temp-display-freq-count): Fix last change.
2608
2609 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2610 * subr.el (noreturn, 1value): Add `debug' spec.
2611 * emacs-lisp/advice.el: Require cl-lib.
2612 (ad-copy-tree): Remove, use copy-tree instead.
2613 (ad-dolist): Remove use dolist or cl-dolist instead.
2614 (ad-do-return): Remove, use cl-return instead.
2615 (defadvice): Add `debug' spec.
2616
2617 2012-09-13 Juri Linkov <juri@jurta.org>
2618
2619 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2620 (Bug#12399)
2621
2622 2012-09-13 Glenn Morris <rgm@gnu.org>
2623
2624 * calc/calc.el (math-compose-expr):
2625 * calc/calc-ext.el (math-compose-expr):
2626 * progmodes/cc-defs.el (cl-macroexpand-all):
2627 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2628 (cl-macroexpand-all): Update declarations.
2629
2630 * vc/vc.el: No need to require ediff.
2631 (ediff-load-version-control): Declare.
2632 (ediff-vc-internal): Fix declaration.
2633 (vc-version-ediff): Require ediff.
2634
2635 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2636
2637 Use a more backwards-compatible timer format (Bug#12430).
2638 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2639 being right after USECS, as that better supports old code that
2640 inadvisedly looked directly at the timer vector.
2641
2642 2012-09-13 Kenichi Handa <handa@gnu.org>
2643
2644 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2645 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2646 `coding-priority' property of these language environment.
2647
2648 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2649
2650 Fix glitches caused by addition of psec to timers (Bug#12430).
2651 * image.el (image-animate-timer):
2652 * time.el (display-time-world-timer):
2653 Use timer--function and timer--args rather than raw access to
2654 timer vector.
2655
2656 2012-09-13 Glenn Morris <rgm@gnu.org>
2657
2658 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2659 If not compiling a file, try using load-file-name.
2660
2661 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2662
2663 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2664 Fix last change.
2665 (edebug-update-eval-list): Use `push'.
2666
2667 * emacs-lisp/edebug.el: Use lexical-binding.
2668 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2669 Mark unused args with underscore.
2670 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2671 (edebug-form-data): Use defvar-local.
2672 (edebug-make-before-and-after-form, edebug-make-after-form):
2673 Use backquote.
2674 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2675 Not dynamically scoped any more.
2676 (edebug--enter-trace): Add arguments `function' and `args'.
2677 Rename from edebug-enter-trace.
2678 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2679 (edebug--update-coverage): Add `after-index' and `value' args.
2680 Rename from edebug-update-coverage.
2681 (edebug-slow-after): Call it accordingly.
2682 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2683 edebug-recursive-edit.
2684 (edebug--display): Call it accordingly. Add args `value',
2685 `offset-index', and `arg-mode'. Rename from edebug-display.
2686 (edebug-debugger, edebug): Call it accordingly.
2687 (edebug-eval-display-list): Use dolist.
2688
2689 2012-09-12 Juri Linkov <juri@jurta.org>
2690
2691 * info.el (Info-search): Don't check for isearch-mode and
2692 isearch-regexp before let-binding search-spaces-regexp to
2693 Info-search-whitespace-regexp.
2694 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2695 search-whitespace-regexp if isearch-lax-whitespace or
2696 isearch-regexp-lax-whitespace is non-nil.
2697 (Info-mode): Don't set local variable search-whitespace-regexp.
2698 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2699
2700 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2701
2702 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2703 (debugger-env-macro): Remove support for unread-command-char.
2704
2705 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2706 the temporary map re-appearing on emulation-mode-map-alists.
2707
2708 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2709 since 22.1.
2710
2711 * ehelp.el (with-electric-help): Accept functions in
2712 electric-help-form-to-execute.
2713 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2714 And replace unread-command-char -> unread-command-events.
2715
2716 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
2717
2718 Sync with Tramp 2.2.6.
2719
2720 * net/tramp.el (tramp-accept-process-output): Don't use
2721 JUST-THIS-ONE in the XEmacs case.
2722
2723 * net/trampver.el: Update release number.
2724
2725 2012-09-12 Martin Rudalics <rudalics@gmx.at>
2726
2727 * emacs-lisp/debug.el (debugger-previous-window-height):
2728 New variable.
2729 (debug): When debugger-jumping-flag is non-nil try to restore
2730 height of debugger window. (Bug#8789)
2731
2732 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2733
2734 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2735 overriding-local-map and pre/post-command-hook here.
2736 (edebug-recursive-edit): Do it here instead (bug#12345).
2737 (edebug-outside-unread-command-char): Remove all uses of
2738 unread-command-char.
2739
2740 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2741 inhibit-debugger is bound instead.
2742
2743 2012-09-11 Bastien Guerry <bzg@gnu.org>
2744
2745 * subr.el (set-temporary-overlay-map): Add a docstring.
2746 (Bug#12346)
2747
2748 2012-09-11 Bastien Guerry <bzg@gnu.org>
2749
2750 * minibuffer.el (completion-table-subvert): Fix docstring.
2751 (Bug#12347)
2752
2753 2012-09-11 Bastien Guerry <bzg@gnu.org>
2754
2755 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
2756
2757 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2758
2759 * progmodes/sql.el: Version 3.1
2760 (sql-db2-escape-newlines): New variable.
2761 (sql-escape-newlines-filter): Use it.
2762
2763 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
2764
2765 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2766
2767 2012-09-10 Dan Nicolaescu <dann@gnu.org>
2768
2769 * vc/diff-mode.el (diff-mode-menu):
2770 Bind diff-remove-trailing-whitespace.
2771
2772 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2773
2774 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
2775 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2776 (emacs-lisp-byte-code-mode): New functions.
2777 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2778 (eval-defun-2): Remove bogus interactive spec.
2779 (lisp-indent-line): Remove redundant whole-exp code, now done in
2780 indent-according-to-mode.
2781 (save-match-data): Remove redundant indent data.
2782
2783 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2784 Use `declare'.
2785
2786 2012-09-09 Juri Linkov <juri@jurta.org>
2787
2788 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2789 (replace-lax-whitespace, query-replace-regexp)
2790 (query-replace-regexp-eval, replace-regexp): Doc fix.
2791 (perform-replace, replace-highlight): Let-bind
2792 isearch-lax-whitespace to replace-lax-whitespace and
2793 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2794
2795 * isearch.el (isearch-query-replace): Let-bind
2796 replace-lax-whitespace to isearch-lax-whitespace and
2797 replace-regexp-lax-whitespace to
2798 isearch-regexp-lax-whitespace. (Bug#10885)
2799
2800 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2801
2802 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2803
2804 2012-09-09 Alan Mackenzie <acm@muc.de>
2805
2806 * progmodes/cc-engine.el (c-state-cache-init):
2807 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2808 (c-record-parse-state-state):
2809 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
2810
2811 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2812
2813 * register.el (register-separator): Rename from
2814 separator-register. All uses changed. Doc fix.
2815 (register): Fix version.
2816
2817 2012-09-09 Chong Yidong <cyd@gnu.org>
2818
2819 * replace.el (query-replace-map): Bind four new symbols for
2820 requesting window scrolling.
2821
2822 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2823 query-replace-map (Bug#8948).
2824
2825 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2826
2827 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2828 since they are now in query-replace-map.
2829
2830 * window.el (scroll-other-window-down): Make the arg optional.
2831
2832 2012-09-09 Chong Yidong <cyd@gnu.org>
2833
2834 * files.el (hack-local-variables-confirm): Use quit-window to kill
2835 the *Local Variables* buffer.
2836
2837 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2838
2839 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2840 not just expect to be at its beginning. Adjust callees.
2841 Succeed when do-end block has no space before the pipe character.
2842 (ruby-brace-to-do-end): When the original block is one-liner,
2843 convert to multiline. Reindent the result.
2844
2845 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
2846
2847 * register.el (register): New group.
2848 (separator-register): New user option.
2849 (increment-register): Route it to `append-to-register', if
2850 register contains text. Implication is that `C-x r +' can now be
2851 used for appending to a text register (bug#12217).
2852 (append-to-register, prepend-to-register): Add separator based on
2853 `separator-register'.
2854
2855 2012-09-08 Alan Mackenzie <acm@muc.de>
2856
2857 AWK Mode: make auto-newline work when there's "==" in the pattern.
2858 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2859 correctly.
2860 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2861 Test more rigorously for "=" token.
2862
2863 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2864
2865 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2866 Only fail when reached LIMIT.
2867
2868 2012-09-08 Chong Yidong <cyd@gnu.org>
2869
2870 * dired.el (dired-mode-map): Don't bind M-=.
2871
2872 * dired-aux.el (dired-diff): Use backup file as default.
2873
2874 2012-09-08 Drew Adams <drew.adams@oracle.com>
2875
2876 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2877
2878 2012-09-08 Chong Yidong <cyd@gnu.org>
2879
2880 * subr.el (syntax-after, syntax-class): Doc fix.
2881
2882 2012-09-08 Martin Rudalics <rudalics@gmx.at>
2883
2884 * window.el (display-buffer-in-previous-window): New buffer
2885 display action function.
2886
2887 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2888 (debugger-previous-window): New variable.
2889 (debug): Rewrite using display-buffer-in-previous-window,
2890 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2891
2892 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2893
2894 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2895
2896 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2897
2898 * progmodes/python.el (python-shell-send-string):
2899 When default-directory is remote, create temp file on remote
2900 filesystem.
2901 (python-shell-send-file): When file is remote, pass local view of
2902 file paths to remote Python interpreter. (Bug#12340)
2903
2904 2012-09-07 Chong Yidong <cyd@gnu.org>
2905
2906 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2907
2908 * files.el (after-find-file): Don't fail on a read-only buffer if
2909 require-final-newline is `visit' or `visit-save' (Bug#11156).
2910
2911 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2912
2913 * userlock.el (ask-user-about-supersession-threat):
2914 Use read-char-choice (Bug#12093).
2915
2916 2012-09-07 Chong Yidong <cyd@gnu.org>
2917
2918 * subr.el (buffer-narrowed-p): New function.
2919
2920 * ses.el (ses-widen):
2921 * simple.el (count-words--buffer-message):
2922 * net/browse-url.el (browse-url-of-buffer): Use it.
2923
2924 * simple.el (count-words-region): Don't signal an error if there
2925 is a non-nil prefix arg and the mark is not set.
2926
2927 * help.el (describe-key-briefly): Allow the message to be seen
2928 when invoked from the minibuffer (Bug#7014).
2929
2930 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2931
2932 * progmodes/ruby-mode.el (ruby-end-of-defun)
2933 (ruby-beginning-of-defun): Simplify, allow indentation before
2934 block beginning and end keywords.
2935 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2936 (ruby-end-of-defun): Expect that the point is at the beginning of
2937 the defun.
2938
2939 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2940
2941 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2942 (bug#12367).
2943 (cl--make-usage-args): Strip _ from argument names.
2944
2945 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2946
2947 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2948 obsolete alias speedbar-key-map.
2949 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2950 (vhdl-index-menu-init): Don't use obsolete variable
2951 font-lock-maximum-size.
2952
2953 2012-09-06 Chong Yidong <cyd@gnu.org>
2954
2955 * frame.el (window-system-version): Mark as obsolete.
2956
2957 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2958 of obsolete variable speedbar-key-map.
2959
2960 2012-09-06 Juri Linkov <juri@jurta.org>
2961
2962 * replace.el (replace-lax-whitespace): New defcustom.
2963 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2964 (replace-string, replace-regexp): Mention it in docstrings.
2965 (perform-replace, replace-highlight): Let-bind
2966 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2967 to the values of replace-lax-whitespace and regexp-flag.
2968 Don't let-bind search-whitespace-regexp. (Bug#10885)
2969
2970 * isearch.el (isearch-query-replace): Let-bind
2971 replace-lax-whitespace instead of let-binding
2972 replace-search-function and replace-re-search-function.
2973 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2974 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2975 (isearch-toggle-symbol): Set isearch-regexp to nil
2976 in isearch-word mode (like in isearch-toggle-word).
2977
2978 2012-09-06 Juri Linkov <juri@jurta.org>
2979
2980 * replace.el (replace-search-function)
2981 (replace-re-search-function): Set default values to nil.
2982 (perform-replace): Let-bind isearch-related variables based on
2983 replace-related values, call `isearch-search-fun' and let-bind
2984 the result to `search-function'. Remove code that sets
2985 `search-function' and `search-string' separately for
2986 `delimited-flag'.
2987 (replace-highlight): Add new argument `delimited-flag' and
2988 rename other arguments to the names used in `perform-replace'.
2989 Let-bind `isearch-word' to the argument `delimited-flag'.
2990 (Bug#10885, bug#10887)
2991
2992 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2993
2994 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2995 ruby-beginning-of-indent, simplify, allow all keywords to have
2996 indentation before them.
2997 (ruby-beginning-of-indent): Adjust for above. Search until the
2998 found point is not inside a string or comment.
2999 (ruby-font-lock-keywords): Allow symbols to start with "@"
3000 character, give them higher priority than variables.
3001 (ruby-syntax-propertize-function)
3002 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3003 matchers. Expression expansions are not comments when inside a
3004 string, and there comment syntax status is irrelevant.
3005 (ruby-match-expression-expansion): New function. Check that
3006 expression expansion is inside a string, and it's not escaped.
3007 (ruby-font-lock-keywords): Use it.
3008
3009 2012-09-05 Martin Rudalics <rudalics@gmx.at>
3010
3011 * help.el (temp-buffer-max-height): New default value.
3012 (temp-buffer-resize-frames): New option.
3013 (resize-temp-buffer-window): Optionally resize frame.
3014
3015 * window.el (fit-frame-to-buffer-bottom-margin): New option.
3016 (fit-frame-to-buffer): New function.
3017
3018 2012-09-05 Glenn Morris <rgm@gnu.org>
3019
3020 * emulation/cua-rect.el (cua--init-rectangles):
3021 * textmodes/picture.el (picture-mode-map):
3022 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3023 like forward-char and backward-char. (Bug#12317)
3024
3025 2012-09-05 Leo Liu <sdl.web@gmail.com>
3026
3027 * progmodes/flymake.el (flymake-warning-re): New variable.
3028 (flymake-parse-line): Use it.
3029
3030 2012-09-05 Glenn Morris <rgm@gnu.org>
3031
3032 * calendar/holidays.el (holiday-christian-holidays):
3033 Rename an entry. (Bug#12289)
3034
3035 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3036
3037 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3038 (bug#12222).
3039
3040 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3041
3042 * loadup.el: Load macroexp. Remove hack.
3043 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
3044 (macroexp--expand-all): Use it to get better warnings.
3045 (macroexp--backtrace, macroexp--trim-backtrace-frame)
3046 (internal-macroexpand-for-load): New functions.
3047 (macroexp--pending-eager-loads): New var.
3048 (emacs-startup-hook): New hack to replace one in loadup.el.
3049 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3050 (cl--compiler-macro-cXXr): Move to top, before they can be used.
3051 (cl-psetf): Simplify.
3052 (cl-defstruct): Add indent rule.
3053
3054 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
3055
3056 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3057 over `user-mail-address' for the SMTP MAIL FROM envelope.
3058 (smtpmail-via-smtp): Ditto.
3059
3060 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
3061
3062 * progmodes/ruby-mode.el: Clean up keybindings.
3063 (ruby-mode-map): Don't bind ruby-electric-brace,
3064 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
3065 backward-kill-word, reindent-then-newline-and-indent.
3066 (ruby-mark-defun): Remove.
3067 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
3068 (ruby-mode): Set local beginning-of-defun-function and
3069 end-of-defun-function values.
3070
3071 2012-09-03 Martin Rudalics <rudalics@gmx.at>
3072
3073 * window.el (temp-buffer-window-setup-hook)
3074 (temp-buffer-window-show-hook): New hooks.
3075 (temp-buffer-window-setup, temp-buffer-window-show)
3076 (with-temp-buffer-window): New functions.
3077 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
3078 (special-display-popup-frame): Make sure the window used shows BUFFER.
3079
3080 * help.el (temp-buffer-resize-mode): Fix doc-string.
3081 (resize-temp-buffer-window): New optional argument WINDOW.
3082
3083 * files.el (recover-file, save-buffers-kill-emacs):
3084 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
3085
3086 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
3087
3088 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
3089 remote definition of `default-directory', ensure we can connect.
3090
3091 2012-09-02 Juri Linkov <juri@jurta.org>
3092
3093 Toggle whitespace matching mode with M-s SPC.
3094 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3095
3096 * isearch.el (search-whitespace-regexp): Doc fix.
3097 Remove cons cell customization.
3098 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3099 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3100 New variables.
3101 (isearch-forward, isearch-forward-regexp): Doc fix.
3102 (isearch-toggle-lax-whitespace): New command.
3103 (search-forward-lax-whitespace, search-backward-lax-whitespace)
3104 (re-search-forward-lax-whitespace)
3105 (re-search-backward-lax-whitespace): New functions.
3106 (isearch-whitespace-regexp): Remove function.
3107 (isearch-query-replace): Let-bind replace-search-function and
3108 replace-re-search-function.
3109 (isearch-occur): Let-bind search-spaces-regexp according to the
3110 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
3111 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
3112 condition for C-q SPC.
3113 (isearch-search-fun-default): Use new functions mentioned above.
3114 (isearch-search-forward, isearch-search-backward): Remove functions.
3115 (isearch-search): Don't let-bind search-spaces-regexp.
3116 (isearch-lazy-highlight-space-regexp): Remove variable.
3117 (isearch-lazy-highlight-lax-whitespace)
3118 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
3119 (isearch-lazy-highlight-new-loop): Use them.
3120 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
3121
3122 2012-09-02 Chong Yidong <cyd@gnu.org>
3123
3124 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
3125
3126 2012-09-02 Glenn Morris <rgm@gnu.org>
3127
3128 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
3129
3130 2012-09-01 Glenn Morris <rgm@gnu.org>
3131
3132 * term.el: Tidy up menu definitions.
3133 (term-mode-map): Use easymenu for In/Out, Complete menus.
3134 (term-pager-break-map): Initialize in the defvar.
3135 (term-terminal-menu, term-signals-menu): Define with easymenu.
3136 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
3137 (term-pager-menu): New, extracted from term-process-pager.
3138 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
3139 (term-update-mode-line): Propertize line/char and page items.
3140 (term-process-pager): Move keymap initialization elsewhere.
3141
3142 2012-09-01 Martin Rudalics <rudalics@gmx.at>
3143
3144 * window.el (switch-to-prev-buffer): Handle additional values of
3145 BURY-OR-KILL argument. Don't switch in minibuffer window.
3146 (switch-to-next-buffer): Don't switch in minibuffer window.
3147 (quit-restore-window): New function based on quit-window.
3148 Handle additional values of former KILL argument.
3149 (quit-window): Call quit-restore-window with appropriate
3150 interpretation of KILL argument.
3151 (display-buffer-below-selected): New buffer display action
3152 function.
3153
3154 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3155
3156 * minibuffer.el (completion-at-point-functions): Complete docstring
3157 (bug#12254).
3158
3159 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
3160
3161 Better seed support for (random).
3162 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
3163 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
3164 * play/mpuz.el, play/tetris.el, play/zone.el:
3165 * calc/calc-comb.el (math-init-random-base):
3166 * play/blackbox.el (bb-init-board):
3167 * play/life.el (life):
3168 * server.el (server-use-tcp):
3169 * type-break.el (type-break):
3170 Remove unnecessary call to (random t).
3171 * net/sasl.el (sasl-unique-id-function):
3172 Change (random t) to (random), now that the latter is more random.
3173 * play/life.el (life-initialized): Remove no-longer-needed var.
3174
3175 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
3176
3177 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3178 Consider frame's buffer predicate when choosing the buffer.
3179 (Bug#12081)
3180
3181 2012-08-30 Richard Stallman <rms@gnu.org>
3182
3183 * simple.el (special-mode-map): Delete binding for `z'.
3184
3185 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
3186
3187 * progmodes/compile.el (compilation-always-kill): Doc fix.
3188
3189 2012-08-30 Chong Yidong <cyd@gnu.org>
3190
3191 * window.el (display-buffer-reuse-frames): Make the obsolescence
3192 message more informative.
3193
3194 2012-08-30 Glenn Morris <rgm@gnu.org>
3195
3196 * paren.el (show-paren-delay):
3197 Add a :set function. Doc fix. (Bug#12297)
3198
3199 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
3200
3201 * progmodes/compile.el (compilation-always-kill): New var.
3202 (compilation-start): Use it.
3203
3204 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3205
3206 * simple.el (read-only-mode): Move from files.el for bootstrapping.
3207 * files.el (read-only-mode): Move to simple.el.
3208
3209 * files.el (read-only-mode): New minor mode.
3210 (toggle-read-only): Use it and mark obsolete.
3211 (find-file--read-only):
3212 * vc/vc.el (vc-next-action, vc-checkout):
3213 * vc/vc-cvs.el (vc-cvs-checkout):
3214 * obsolete/vc-mcvs.el (vc-mcvs-update):
3215 * ffap.el (ffap--toggle-read-only): Update callers.
3216
3217 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
3218
3219 * eshell/esh-ext.el (eshell-external-command): Do not examine
3220 remote shell scripts.
3221 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
3222
3223 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
3224 "/usr/local/sbin".
3225
3226 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3227
3228 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
3229
3230 2012-08-28 Leo Liu <sdl.web@gmail.com>
3231
3232 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
3233 completion-at-point. (Bug#12220)
3234
3235 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
3236
3237 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
3238
3239 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3240
3241 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
3242 be buffer-local; add delete-trailing-whitespace (bug#12259).
3243
3244 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
3245
3246 * progmodes/hideif.el (hif-compress-define-list):
3247 Fix typo. (Bug#11951)
3248
3249 2012-08-28 Dan Nicolaescu <dann@gnu.org>
3250
3251 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
3252 buffer local setting.
3253
3254 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
3255 rcirc-encode-coding-system.
3256
3257 2012-08-28 Leo Liu <sdl.web@gmail.com>
3258
3259 * net/rcirc.el (rcirc-split-message): New function.
3260 (rcirc-send-message): Use it. (Bug#12051)
3261
3262 2012-08-28 Juri Linkov <juri@jurta.org>
3263
3264 * info.el (Info-fontify-node): Hide empty lines at the end of
3265 the node. (Bug#12272)
3266
3267 2012-08-27 Drew Adams <drew.adams@oracle.com>
3268
3269 * dired.el (dired-pop-to-buffer): Make window start at beginning
3270 of buffer (Bug#12281).
3271
3272 2012-08-26 Chong Yidong <cyd@gnu.org>
3273
3274 * window.el (special-display-regexps, special-display-frame-alist)
3275 (special-display-buffer-names, special-display-function)
3276 (display-buffer-reuse-frames): Mark as obsolete.
3277
3278 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
3279
3280 * help.el (help-print-return-message): Don't treat
3281 display-buffer-reuse-frames specially.
3282
3283 2012-08-26 Chong Yidong <cyd@gnu.org>
3284
3285 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3286 New variable, replacing gdb-frame-parameters.
3287 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3288 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3289 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3290 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3291 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
3292 the functions directly with gdb-display-buffer-other-frame-action.
3293 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3294 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3295 (gdb-display-stack-buffer, gdb-display-locals-buffer)
3296 (gdb-display-registers-buffer): Define directly.
3297 (def-gdb-display-buffer): Macro deleted.
3298 (gdb-display-buffer): Remove second and third args, callers don't
3299 use them. Defer to the default display-buffer behavior, apart
3300 from making windows dedicated.
3301 (gdb-setup-windows): Don't call display-buffer unnecessarily.
3302
3303 * progmodes/gud.el (gud-display-line): Just use display-buffer.
3304
3305 * window.el (display-buffer-pop-up-frame): Handle a
3306 pop-up-frame-parameters alist entry.
3307 (display-buffer): Document it.
3308
3309 2012-08-26 Chong Yidong <cyd@gnu.org>
3310
3311 * isearch.el (search-whitespace-regexp): Make string and nil
3312 values apply to both ordinary and regexp search. Allow a cons
3313 cell value to distinguish between the two.
3314 (isearch-whitespace-regexp, isearch-search-forward)
3315 (isearch-search-backward): New functions.
3316 (isearch-occur, isearch-search-fun-default, isearch-search)
3317 (isearch-lazy-highlight-new-loop): Use them.
3318 (isearch-forward, isearch-forward-regexp): Doc fix.
3319
3320 2012-08-26 Chong Yidong <cyd@gnu.org>
3321
3322 * faces.el (help-argument-name): Always inherit from italic
3323 (Bug#12213).
3324
3325 2012-08-25 Martin Rudalics <rudalics@gmx.at>
3326
3327 * window.el (window--even-window-heights): Even heights when
3328 WINDOW and the selected window form a vertical combination.
3329 (display-buffer-use-some-window): Provide that window used gets
3330 sized back by quit-window. (Bug#11880) and (Bug#12091)
3331
3332 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3333
3334 Fix file time stamp problem with bzr and CVS (Bug#12001).
3335 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3336 in the file's time stamp, since the version control system loses
3337 that information.
3338
3339 2012-08-22 Juri Linkov <juri@jurta.org>
3340
3341 * info.el (Info-fontify-node): Hide the suffix of the
3342 Info file name in the header line. (Bug#12187)
3343
3344 2012-08-22 Glenn Morris <rgm@gnu.org>
3345
3346 * calendar/cal-tex.el (cal-tex-weekly-common):
3347 Restore leading blank page.
3348
3349 2012-08-22 Le Wang <l26wang@gmail.com>
3350
3351 * misc.el (forward-to-word, backward-to-word): Activate or extend
3352 the region under `shift-select-mode'. (Bug#12231)
3353
3354 2012-08-22 Bastien Guerry <bzg@gnu.org>
3355
3356 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3357 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3358 gives details on why the space is never needed.
3359
3360 2012-08-22 Martin Rudalics <rudalics@gmx.at>
3361
3362 * window.el (walk-window-tree, window-with-parameter):
3363 New optional argument MINIBUF to control whether these functions
3364 should run on the minibuffer window.
3365 (window-at-side-list): Don't operate on minibuffer window.
3366 (window-in-direction): Simplify and rewrite doc-string.
3367 (window--size-ignore): Rename to window--size-ignore-p.
3368 Update callers.
3369 (display-buffer-in-atom-window, window--major-non-side-window)
3370 (window--major-side-window, display-buffer-in-major-side-window)
3371 (delete-side-window, display-buffer-in-side-window):
3372 New functions.
3373 (window--side-check, window-deletable-p, delete-window)
3374 (delete-other-windows, split-window): Handle side windows and
3375 atomic windows appropriately.
3376 (window--display-buffer): Call display-buffer-record-window also
3377 when the window buffer did not change.
3378
3379 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3380
3381 * help-fns.el (help-fns--key-bindings):
3382 Abbreviate non-symbol remap targets. (Bug#12174)
3383
3384 2012-08-22 Martin Rudalics <rudalics@gmx.at>
3385
3386 * dired.el (dired-mark-remembered): Don't clobber point.
3387 (Bug#11795)
3388
3389 2012-08-22 Glenn Morris <rgm@gnu.org>
3390
3391 * progmodes/bug-reference.el (bug-reference): New custom group.
3392 (bug-reference-bug-regexp): Make it a defcustom.
3393
3394 2012-08-22 Daiki Ueno <ueno@unixuser.org>
3395
3396 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3397 (js-paren-indent-offset, js-square-indent-offset)
3398 (js-curly-indent-offset): Add :safe (Bug#12257).
3399
3400 2012-08-22 Edward O'Connor <hober0@gmail.com>
3401
3402 * json.el (json-key-format): Add error properties.
3403 (json-encode-key): New function.
3404 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3405 Use json-encode-key.
3406
3407 2012-08-22 Glenn Morris <rgm@gnu.org>
3408
3409 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3410 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3411 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3412 Update for above change.
3413
3414 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3415
3416 * cus-face.el (custom-face-attributes): Fix customize type for the
3417 :underline attribute. (Bug#11805)
3418
3419 2012-08-21 Martin Rudalics <rudalics@gmx.at>
3420
3421 * window.el (window-point-1, set-window-point-1): Remove.
3422 (window-in-direction, record-window-buffer)
3423 (set-window-buffer-start-and-point, split-window-below)
3424 (window--state-get-1, display-buffer-record-window):
3425 Replace calls to window-point-1 and set-window-point-1 by calls to
3426 window-point and set-window-point respectively.
3427
3428 2012-08-21 Glenn Morris <rgm@gnu.org>
3429
3430 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3431 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3432 Use it.
3433
3434 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3435 (cal-tex-shortday): New function.
3436 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3437 (cal-tex-cursor-filofax-daily): Use the above.
3438
3439 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3440 New functions.
3441 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3442 (cal-tex-cursor-filofax-week): Use them.
3443
3444 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3445 New constants.
3446 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3447 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3448
3449 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3450 (cal-tex-end-document): Don't rely on buffer name.
3451
3452 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3453 Use cal-tex-vspace.
3454 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3455 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
3456 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3457 Use cal-tex-arg.
3458
3459 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3460 (cal-tex-cursor-week, cal-tex-cursor-week2)
3461 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3462 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3463 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3464 (cal-tex-insert-preamble, cal-tex-b-document)
3465 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3466 Improve cal-tex-cmd usage.
3467
3468 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3469 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3470 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3471 (cal-tex-weekly-paper): New function.
3472 (cal-tex-cursor-week, cal-tex-cursor-week2)
3473 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3474 (cal-tex-cursor-day): Use it.
3475
3476 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3477 (cal-tex-cursor-filofax-week): Remove leading blank page.
3478
3479 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3480 Add autoload cookie. For now at least, don't use color, since
3481 no other cal-tex function does.
3482
3483 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3484 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3485 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3486
3487 2012-08-21 Juri Linkov <juri@jurta.org>
3488
3489 * info.el (Info-file-attributes): New variable.
3490 (info-insert-file-contents): Add file attributes to
3491 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3492 `Info-toc-nodes' when previous modtime of the Info file is less
3493 than new modtime.
3494 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3495 of info.el. (Bug#12230)
3496
3497 2012-08-20 Glenn Morris <rgm@gnu.org>
3498
3499 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3500 * calendar/holidays.el (calendar-holiday-list):
3501 Report errors with display-warning rather than beep'n'sleep.
3502
3503 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
3504
3505 * net/tramp.el (tramp-accept-process-output): Accept only output
3506 from PROC. Otherwise, process filters and sentinels might be
3507 confused. (Bug#12145)
3508
3509 2012-08-20 Chong Yidong <cyd@gnu.org>
3510
3511 * descr-text.el (describe-text-properties-1): Use overlays-in to
3512 report on empty overlays (Bug#3322).
3513
3514 2012-08-20 Glenn Morris <rgm@gnu.org>
3515
3516 * mail/rmailout.el (rmail-output-read-file-name):
3517 Trap and report errors in rmail-output-file-alist elements.
3518
3519 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3520 since most non-font-lock faces are not also variables).
3521
3522 2012-08-20 Edward Reingold <reingold@iit.edu>
3523
3524 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3525 New function. (Bug12160)
3526
3527 2012-08-19 Glenn Morris <rgm@gnu.org>
3528
3529 * mail/rmailout.el (rmail-output-read-file-name):
3530 Fix previous change (when the alist is nil or does not match).
3531
3532 2012-08-19 Chong Yidong <cyd@gnu.org>
3533
3534 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3535 (Bug#12228).
3536
3537 2012-08-18 Chong Yidong <cyd@gnu.org>
3538
3539 * simple.el (yank-handled-properties): New defcustom.
3540 (yank-excluded-properties): Add font-lock-face and category.
3541 (yank): Doc fix.
3542
3543 * subr.el (remove-yank-excluded-properties):
3544 Obey yank-handled-properties. The special handling of font-lock-face
3545 and category is now done this way, instead of being hard-coded.
3546 (insert-for-yank-1): Remove font-lock-face handling.
3547 (yank-handle-font-lock-face-property)
3548 (yank-handle-category-property): New function.
3549
3550 2012-08-17 Glenn Morris <rgm@gnu.org>
3551
3552 * mail/rmailout.el (rmail-output-read-file-name):
3553 Check rmail-output-file-alist against the full message body
3554 in the correct rmail buffer. (Bug#12214)
3555
3556 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
3557
3558 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3559 Eliminate superfluous prompt. (Bug#12203)
3560
3561 2012-08-17 Chong Yidong <cyd@gnu.org>
3562
3563 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3564 font spec, set the font directly (Bug#3228).
3565
3566 2012-08-17 Martin Rudalics <rudalics@gmx.at>
3567
3568 * window.el (delete-window): Fix last fix.
3569
3570 2012-08-16 Martin Rudalics <rudalics@gmx.at>
3571
3572 * window.el (window-valid-p): Move to window.c.
3573 (window-child, window-child-count, window-last-child)
3574 (window-normalize-window, window-combined-p)
3575 (window-combinations, window-atom-root, window-min-size)
3576 (window-sizable, window-sizable-p, window-size-fixed-p)
3577 (window-min-delta, window-max-delta, window--resizable)
3578 (window--resizable-p, window-resizable, window-total-size)
3579 (window-full-height-p, window-full-width-p, window-body-size)
3580 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3581 (minimize-window, window-deletable-p, delete-window)
3582 (delete-other-windows, set-window-buffer-start-and-point)
3583 (next-buffer, previous-buffer, split-window, balance-windows-2)
3584 (set-window-text-height, window-buffer-height)
3585 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
3586 (truncated-partial-width-window-p): Minor code adjustments.
3587 In doc-strings state whether the argument window has to denote a
3588 live, valid or any window.
3589
3590 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3591
3592 * progmodes/subword.el (subword-forward-function)
3593 (subword-backward-function, subword-forward-regexp)
3594 (subword-backward-regexp): New variables.
3595 (subword-forward, subword-forward-internal, subword-backward-internal):
3596 Use new variables, eg so that different "word" definitions
3597 can be easily used. (Bug#11411)
3598
3599 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3600
3601 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3602 for composite selectors.
3603 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3604 operation just because we can't find a previous revision.
3605
3606 2012-08-15 Chong Yidong <cyd@gnu.org>
3607
3608 * frame.el (set-frame-font): Accept font objects.
3609
3610 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3611
3612 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3613
3614 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3615
3616 * man.el (Man-overstrike-face, Man-underline-face)
3617 (Man-reverse-face): Remove variables.
3618 (Man-overstrike, Man-underline, Man-reverse): New faces.
3619 (Man-fontify-manpage): Use them instead of the variables.
3620 (Man-cleanup-manpage): Comment change.
3621 (Man-ansi-color-map): New variable.
3622 (Man-fontify-manpage): Use it.
3623 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3624
3625 Implement ANSI SGR parameters 22-27 (bug#12146).
3626 * ansi-color.el (ansi-colors): Doc fix.
3627 (ansi-color-context, ansi-color-context-region): Doc fix.
3628 (ansi-color--find-face): New function.
3629 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3630 Rename the local variable `face' to `codes' since it is now a list of
3631 ansi codes. Doc fix.
3632 (ansi-color-get-face): Remove.
3633 (ansi-color-parse-sequence): New function, derived from
3634 ansi-color-get-face.
3635 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3636 codes 22-27.
3637
3638 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3639
3640 * subr.el (read-passwd): Allow use from a minibuffer.
3641
3642 2012-08-14 Eli Zaretskii <eliz@gnu.org>
3643
3644 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3645 inside comments and strings as identifiers.
3646
3647 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3648 expression to evaluate. This allows to evaluate expressions with
3649 embedded whitespace.
3650 (gud-tooltip-tips): Add a blank before the newline in the
3651 message-box text, for the benefit of message-box emulation on
3652 MS-Windows.
3653
3654 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3655 messages from GDB, pop them up in a tooltip to give feedback to
3656 user.
3657 (gdb-tooltip-print-1): Quote the expression to evaluate.
3658 This allows to evaluate expressions with embedded whitespace.
3659 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3660 if the TTY name is nil or empty (which happens when communicating
3661 with the inferior via pipes, e.g. on MS-Windows).
3662 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3663 don't send that to the GUD buffer.
3664
3665 2012-08-14 Glenn Morris <rgm@gnu.org>
3666
3667 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3668 Optimize away setq-default with no args, as for setq. (Bug#12195)
3669
3670 2012-08-14 Chong Yidong <cyd@gnu.org>
3671
3672 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3673
3674 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3675 (Bug#12085).
3676
3677 2012-08-14 Glenn Morris <rgm@gnu.org>
3678
3679 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3680
3681 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
3682
3683 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3684 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3685 Use cached shell name.
3686
3687 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3688
3689 * progmodes/python.el (python-shell-send-string):
3690 (python-shell-send-setup-code): Do not use `format' with `message'.
3691
3692 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3693
3694 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3695 (ruby-percent-literal-beg-re): New constant.
3696 (ruby-syntax-general-delimiters-goto-beg): Rename to
3697 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3698 (ruby-syntax-propertize-general-delimiters): Rename to
3699 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3700 popular term. Adjust comments everywhere.
3701 (ruby-syntax-propertize-percent-literal): Only propertize when not
3702 inside a simple string or comment. When the literal is unclosed,
3703 leave the text after it unpropertized.
3704 (ruby-syntax-methods-before-regexp): New constant.
3705 (ruby-syntax-propertize-function): Use it to recognize regexps.
3706 Don't look at the text after regexp, just use the whitelist.
3707
3708 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3709
3710 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3711 non-nil always load the compiled file if it exists. (Bug#12197)
3712
3713 2012-08-14 Chong Yidong <cyd@gnu.org>
3714
3715 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3716 (hi-lock-set-pattern): When deciding whether to use font lock or
3717 overlays, look at font-lock-mode instead of font-lock-fontified
3718 (Bug#12168).
3719 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3720 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3721
3722 2012-08-14 Daiki Ueno <ueno@unixuser.org>
3723
3724 * subr.el (internal--after-with-selected-window): Fix typo
3725 (Bug#12193).
3726
3727 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3728
3729 Use `completion-table-dynamic' for completion functions.
3730 * progmodes/python.el
3731 (python-shell-completion--do-completion-at-point)
3732 (python-shell-completion--get-completions):
3733 Remove functions.
3734 (python-shell-completion-complete-at-point): New function.
3735 (python-completion-complete-at-point): Use it.
3736
3737 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
3738
3739 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3740 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3741
3742 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3743
3744 * subr.el (function-get): Refine `autoload' arg so it can also
3745 autoload functions for gv.el (bug#12191).
3746 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3747 autoloads macros.
3748
3749 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3750 Prefer pcase-let over destructuring-bind.
3751 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3752 Also, remove whitespace as we go, rather than after accumulating the
3753 various places.
3754
3755 * subr.el (internal--before-with-selected-window)
3756 (internal--after-with-selected-window): Fix typo seleted->selected.
3757 (with-selected-window): Adjust callers.
3758 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3759
3760 2012-08-13 Bastien Guerry <bzg@gnu.org>
3761
3762 * window.el (special-display-popup-frame): Minor docstring
3763 enhancement. (Bug#12172)
3764
3765 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3766
3767 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3768 type 1-6.
3769 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3770 extended headers.
3771
3772 * files.el (hack-local-variables-filter): Remove useless eval.
3773
3774 2012-08-13 Martin Rudalics <rudalics@gmx.at>
3775
3776 * subr.el (with-selected-window): Fix last change.
3777
3778 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3779
3780 * subr.el (internal--before-with-seleted-window)
3781 (internal--after-with-seleted-window): New functions.
3782 (with-selected-window): Use them, to replace dependency on
3783 tty-top-frame.
3784
3785 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3786
3787 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3788 binding for `newline'.
3789 (ruby-move-to-block): When moving backward, stop at block opening,
3790 not indentation.
3791 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3792 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3793 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3794 `ruby-toggle-block'.
3795
3796 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3797
3798 * ibuffer.el (ibuffer-do-toggle-read-only):
3799 * dired.el (dired-toggle-read-only):
3800 * buff-menu.el (Buffer-menu-toggle-read-only):
3801 * bindings.el (mode-line-toggle-read-only):
3802 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3803
3804 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3805
3806 * descr-text.el (describe-char): Put the overlays over the
3807 "displayed as" character.
3808
3809 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3810
3811 * calc/calc-units.el (math-default-units-table): Give an
3812 initial value.
3813 (math-put-default-units): Add options to put composite units and
3814 unit systems in the default units table.
3815 (calc-convert-units): Send composite units to
3816 `math-put-default-units' when appropriate.
3817
3818 2012-08-11 Glenn Morris <rgm@gnu.org>
3819
3820 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3821
3822 * tutorial.el (help-with-tutorial):
3823 * emacs-lisp/copyright.el (copyright-update-directory):
3824 * emacs-lisp/autoload.el (autoload-find-generated-file)
3825 (autoload-find-file): Disable local eval: (for insurance).
3826
3827 * files.el (hack-local-variables-filter): If an eval: form is not
3828 known to be safe, and enable-local-variables is :safe, then ignore
3829 the form totally, as is done for non-eval forms. (Bug#12155)
3830 This is CVE-2012-3479.
3831
3832 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3833
3834 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3835 (rx-form): Simplify.
3836
3837 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3838
3839 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3840 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3841 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3842 (ruby-syntax-propertize-function): Adjust for changes in
3843 `ruby-syntax-propertize-heredoc'.
3844
3845 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3846
3847 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3848 binding (use `M-;' instead).
3849 (ruby-singleton-class-p): New function.
3850 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
3851
3852 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3853
3854 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3855
3856 2012-08-10 Chong Yidong <cyd@gnu.org>
3857
3858 * progmodes/python.el (python-shell-get-process-name): Don't mess
3859 with same-window-buffer-names.
3860
3861 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3862 (eshell-remove-from-window-buffer-names): Make obsolete.
3863 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3864 (eshell): Just use pop-to-buffer-same-window instead.
3865
3866 2012-08-10 Chong Yidong <cyd@gnu.org>
3867
3868 * bindings.el: Bind M-= back to count-words-region.
3869
3870 * simple.el (count-words-region): Accept a prefix arg for acting
3871 on the entire buffer.
3872 (count-words--buffer-message): New helper function.
3873
3874 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3875
3876 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3877 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3878 (event-start, event-end): Use posn-at-point to return a more
3879 informative posn.
3880 (posnp): New function.
3881 * mouse.el (popup-menu-normalize-position): Use it.
3882
3883 2012-08-10 Masatake YAMATO <yamato@redhat.com>
3884
3885 * mouse.el (popup-menu-normalize-position): New function.
3886 (popup-menu): Use `popup-menu-normalize-position' to normalize
3887 the form for POSITION argument.
3888
3889 * term/x-win.el (x-menu-bar-open):
3890 Use the value returend from (posn-at-point) as position
3891 passed to `popup-menu'.
3892
3893 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3894
3895 * calc/calccomp.el (math-compose-expr): Add extra argument
3896 indicating that parentheses should be put around products in
3897 denominators. Give multiplication precedence over division during
3898 composition.
3899
3900 2012-08-09 Chong Yidong <cyd@gnu.org>
3901
3902 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3903 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3904 (Man-untabify-command, manual-program): Convert to defcustom
3905 (Bug#10429).
3906
3907 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3908
3909 * descr-text.el (describe-char): Don't insert extra newlines
3910 (Bug#10127).
3911
3912 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3913 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3914
3915 * align.el (align-region): Delete temporary markers (Bug#10047).
3916 Plus some code cleanups.
3917
3918 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3919
3920 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3921 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3922 (python-shell-internal-last-output): Use make-local-variable
3923 instead of make-variable-buffer-local.
3924
3925 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3926
3927 * progmodes/python.el: Enhancements to forward-sexp.
3928 (python-nav-forward-sexp): Rename from
3929 python-nav-forward-sexp-function.
3930 (python-nav--forward-sexp, python-nav--backward-sexp):
3931 New functions.
3932
3933 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3934
3935 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3936 modes and simplification modes.
3937
3938 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3939
3940 * delsel.el (delete-selection-pre-hook): Don't propagate the
3941 file-supersession signals (bug#12161).
3942
3943 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3944
3945 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3946 (cl-map-extents): Add compatibility aliases (bug#12135).
3947
3948 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
3949
3950 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3951 tests by `ignore-error'.
3952 (tramp-find-shell): Open also a new shell, when cache is already
3953 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3954
3955 2012-08-08 Juri Linkov <juri@jurta.org>
3956
3957 * bookmark.el: Add `defaults' property to the bookmark record.
3958 (bookmark-current-buffer): Doc fix.
3959 (bookmark-make-record): Add `defaults' property with default values
3960 to the bookmark record.
3961 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3962 with `bookmark-insert-current-bookmark'.
3963 (bookmark-set): Get `defaults' property from the bookmark record
3964 and use it in `read-from-minibuffer'.
3965 (bookmark-insert-current-bookmark): Remove function.
3966
3967 * info.el (Info-bookmark-make-record): Add `defaults' property
3968 with values of canonical Info node name, the current Info file
3969 name and the current Info node name. (Bug#12107)
3970
3971 2012-08-08 Juri Linkov <juri@jurta.org>
3972
3973 * files.el (basic-save-buffer): Use `buffer-name' as the default
3974 of `read-file-name' when buffer is not visiting a file (bug#12128).
3975
3976 2012-08-08 Juri Linkov <juri@jurta.org>
3977
3978 * info.el (Info-isearch-search): Doc fix.
3979 (Info-search): Change search-failed message from "initial node" to
3980 "end of node" (bug#12078).
3981 (Info-isearch-search): Change `isearch-string-state' to
3982 `isearch--state-string'.
3983
3984 2012-08-08 Glenn Morris <rgm@gnu.org>
3985
3986 * language/persian.el: Remove file.
3987 * language/misc-lang.el: Move unique part of persian.el here.
3988 * loadup.el: Remove language/persian.
3989
3990 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3991
3992 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3993
3994 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3995
3996 * progmodes/python.el Fixed defsubst warning.
3997 (python-syntax-context) Rename from python-info-ppss-context.
3998 (python-syntax-context-type): Rename from
3999 python-info-ppss-context-type.
4000 (python-syntax-comment-or-string-p): Rename from
4001 python-info-ppss-comment-or-string-p.
4002
4003 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4004
4005 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4006
4007 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
4008
4009 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4010 a defcustom that is quoted with backquote.
4011
4012 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4013 Fix handling of interactive spec when the body uses return.
4014 (math-do-arg-check, math-define-function-body): Use backquote forms.
4015 * calc/calc-ext.el (math-defcache): Likewise.
4016 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4017 * allout.el (allout-new-exposure): Likewise.
4018 * calc/calcalg2.el (math-tracing-integral): Likewise.
4019 * info.el (Info-last-menu-item): Likewise.
4020 * emulation/vip.el (vip-loop): Likewise.
4021 * textmodes/artist.el (artist-funcall): Likewise.
4022 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4023 Construct menu-item directly.
4024
4025 * progmodes/autoconf.el (font-lock-syntactic-keywords):
4026 Don't declare.
4027
4028 2012-08-07 Chong Yidong <cyd@gnu.org>
4029
4030 * simple.el (deactivate-mark): Preserve text properties when
4031 saving the primary selection (Bug#8384).
4032
4033 2012-08-07 Kevin Ryde <user42@zip.com.au>
4034
4035 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4036 (woman-parse-numeric-value): On a bad .IP line, issue a warning
4037 and continue processing (Bug#12110).
4038
4039 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4040
4041 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4042 syntax-propertize-function (bug#10095).
4043
4044 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4045
4046 * help-fns.el (help-fns--key-bindings, help-fns--signature)
4047 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
4048 describe-function-1.
4049 (describe-function-1): Use them. Move compiler macro after sig.
4050 (help-fns--compiler-macro): Use function-get. Assume we're already in
4051 standard-output. Adjust layout to new call order.
4052
4053 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4054 re-binding a symbol that has a symbol-macro (bug#12119).
4055
4056 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
4057
4058 * language/persian.el: New file. (Bug#11812)
4059 * loadup.el: Add language/persian.el.
4060
4061 2012-08-06 Chong Yidong <cyd@gnu.org>
4062
4063 * window.el (window--maybe-raise-frame): New function.
4064 (window--display-buffer): Split off from here.
4065 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4066 (display-buffer-pop-up-window, display-buffer-use-some-window):
4067 Obey an inhibit-switch-frame action alist entry.
4068 (display-buffer): Update doc.
4069
4070 * replace.el (occur-after-change-function): Avoid losing focus by
4071 using the inhibit-switch-frame display parameter (Bug#12139).
4072
4073 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
4074
4075 Make internal shell process buffer names start with space.
4076 * progmodes/python.el (python-shell-make-comint): Add optional
4077 argument INTERNAL.
4078 (run-python-internal): Use it.
4079 (python-shell-internal-get-or-create-process): Check for new
4080 internal buffer names.
4081
4082 2012-08-06 Glenn Morris <rgm@gnu.org>
4083
4084 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
4085 Do less getting and setting of environment variables.
4086
4087 2012-08-05 Chong Yidong <cyd@gnu.org>
4088
4089 * proced.el (proced): Add substitution string to docstring to
4090 trigger autoloading of the proced library on C-h f (Bug#1768).
4091
4092 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4093 Don't show defvars which have no second argument (Bug#8638).
4094
4095 * imenu.el (imenu-generic-expression): Move documentation here
4096 from imenu--generic-function.
4097 (imenu--generic-function): Refer to imenu-generic-expression.
4098
4099 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
4100
4101 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4102 indentation declaration.
4103 (viper-loop): Add indentation declaration (Bug#7025).
4104
4105 2012-08-05 Chong Yidong <cyd@gnu.org>
4106
4107 * help-fns.el (describe-variable): Add hyperlink for
4108 directory-local variables files. Improve buffer-local and
4109 permanent-local reporting; suggested by MON KEY (Bug#6644).
4110
4111 * help-mode.el (help-dir-local-var-def): New button type.
4112
4113 * files.el (kill-buffer-hook): Provide a defvar.
4114
4115 2012-08-05 Glenn Morris <rgm@gnu.org>
4116
4117 * eshell/esh-ext.el (eshell/addpath):
4118 Also update eshell-path-env. (Bug#12013)
4119
4120 2012-08-05 Chong Yidong <cyd@gnu.org>
4121
4122 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
4123
4124 * fringe.el (fringe-styles): Add docstring.
4125 (fringe--check-mode): New function.
4126 (set-fringe-mode, set-fringe-style): Use it.
4127 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
4128
4129 * files.el (set-auto-mode): Fix invalid setq call.
4130
4131 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4132
4133 * isearch.el: Misc simplification; use defstruct.
4134 (isearch-mode-map): Dense maps now work like sparse ones.
4135 (isearch--state): New defstruct.
4136 (isearch-string-state, isearch-message-state, isearch-point-state)
4137 (isearch-success-state, isearch-forward-state)
4138 (isearch-other-end-state, isearch-word-state, isearch-error-state)
4139 (isearch-wrapped-state, isearch-barrier-state)
4140 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
4141 replaced by defstruct's accessors.
4142 (isearch--set-state): Rename from isearch-top-state and change
4143 calling convention.
4144 (isearch-push-state): Use new isearch--get-state.
4145 (isearch-toggle-word): Disable regexp when enabling word.
4146 (isearch-message-prefix): Remove unused arg _c-q-hack.
4147 (isearch-message-suffix): Remove unused arg _ellipsis.
4148
4149 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
4150
4151 * simple.el (list-processes--refresh): For a server use :host or
4152 :local as the address.
4153 (list-processes): Doc fix.
4154
4155 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
4156
4157 * lisp/mpc.el: Support password in host argument.
4158 (mpc--proc-connect): Parse and use new password element.
4159 Set mpc-proc variable instead of returning process.
4160 (mpc-proc): Adjust accordingly.
4161
4162 2012-08-03 Eli Zaretskii <eliz@gnu.org>
4163
4164 * whitespace.el (whitespace-display-mappings): Use Unicode
4165 codepoints, instead of emacs-mule codepoints. See
4166 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
4167 for the details.
4168
4169 * files.el (file-truename): Don't skip symlink-chasing part on
4170 windows-nt. Incorporate the resolution of 8+3 short aliases on
4171 Windows into the loop that recursively chases symlinks.
4172 Compare directory and its parent case-insensitively on MS-Windows and
4173 MS-DOS.
4174
4175 2012-08-03 Chong Yidong <cyd@gnu.org>
4176
4177 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
4178
4179 * sort.el (sort-regexp-fields): Doc fix.
4180
4181 2012-08-03 Tassilo Horn <tsdh@gnu.org>
4182
4183 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
4184 labels regex position point at the expected place.
4185
4186 2012-08-03 MON KEY <monkey@sandpframing.com>
4187
4188 * net/imap.el (imap-interactive-login, imap-authenticate)
4189 (imap-mailbox-lsub, imap-mailbox-list)
4190 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
4191 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
4192 (imap-parse-response): Doc fix.
4193
4194 2012-08-03 João Távora <joaotavora@gmail.com>
4195
4196 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
4197 if sexp scanning does not move point (Bug#5734).
4198
4199 2012-08-02 Tassilo Horn <tsdh@gnu.org>
4200
4201 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
4202 Add listings, minted, and ctable packages.
4203 (reftex-label-alist-builtin): Move listings, minted, and ctable
4204 entries before LaTeX.
4205 (reftex-label-alist): Docfix.
4206
4207 2012-08-02 Bastien Guerry <bzg@gnu.org>
4208
4209 * replace.el (occur): Fix docstring (bug#12122).
4210
4211 2012-08-02 Glenn Morris <rgm@gnu.org>
4212
4213 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
4214
4215 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
4216
4217 Obsolete alias inactivate-current-input-method-function (Bug#10150).
4218 * international/mule-cmds.el: Create
4219 inactivate-current-input-method-function as an obsolete alias for
4220 deactivate-current-input-method-function. See Katsumi Yamaoka in
4221 <http://bugs.gnu.org/10150#46>.
4222
4223 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
4224
4225 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
4226 of nested `if's.
4227
4228 2012-08-01 Glenn Morris <rgm@gnu.org>
4229
4230 * progmodes/autoconf.el (autoconf-definition-regexp):
4231 Add AH_TEMPLATE, adjust submatch numbering.
4232 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
4233 (autoconf-current-defun-function): Update for above change.
4234 (autoconf-current-defun-function): First skip to end of current word.
4235
4236 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
4237
4238 * calendar/cal-html.el (cal-html-insert-agenda-days):
4239 Fix typo. (Bug#12018)
4240
4241 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4242
4243 Shell processes: enhancements to startup and CEDET compatibility.
4244 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
4245 (python-shell-make-comint): accept-process-output at startup.
4246 (run-python-internal): Set inferior-python-mode-hook to nil.
4247 (python-shell-internal-get-or-create-process): call sit-for.
4248 (python-preoutput-result): Add obsolete alias.
4249 (python-shell-internal-send-string): Use it.
4250 (python-shell-send-setup-code): Remove call to
4251 accept-process-output.
4252
4253 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
4254
4255 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
4256 (Bug#12108)
4257
4258 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
4259
4260 * calc-mode.el (calc-basic-simplification-mode): Rename from
4261 `calc-limited-simplification-mode'.
4262 (calc-alg-simplification-mode): New function.
4263 (calc-set-simplify-mode): Adjust message.
4264
4265 * calc.el (calc-set-mode-line): Adjust mode line display for
4266 basic simplification mode.
4267
4268 * calc-help.el (calc-m-prefix-help): Update help message.
4269
4270 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
4271 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
4272
4273 2012-07-31 Bastien Guerry <bzg@gnu.org>
4274
4275 * man.el (man): Fix comment. (bug#12101)
4276
4277 2012-07-31 Martin Rudalics <rudalics@gmx.at>
4278
4279 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4280 Don't return a non-nil value when no suitable buffer was found.
4281
4282 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4283
4284 * progmodes/python.el (run-python-internal): Disable font lock for
4285 internal shells.
4286
4287 2012-07-30 Stefan Merten <smerten@oekonux.de>
4288
4289 * textmodes/rst.el: Silence `checkdoc-ispell'.
4290 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4291 (rst-official-version, rst-official-cvs-rev)
4292 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4293 (rst-mode-map): New key binding.
4294
4295 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
4296
4297 Update .PHONY listings in makefiles.
4298 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4299 autoloads, update-subdirs, updates, bzr-update, update-authors,
4300 compile-onefile, compile-calc, backup-compiled-files,
4301 compile-after-backup, compile-one-process, mh-autoloads,
4302 bootstrap-clean, distclean, maintainer-clean.
4303
4304 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
4305
4306 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4307 (calc-set-mode-line): Don't display "AlgSimp ".
4308
4309 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4310 (calc-lim-simplify-mode): New function.
4311 (calc-set-simplify-mode): Default to 'alg.
4312 (calc-default-simplify-mode): Make algebraic simplifications
4313 the default.
4314
4315 * calc/calc-ext.el (calc-init-extensions): Remove binding for
4316 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
4317
4318 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4319 indicate new simplification modes.
4320
4321 * calc/README: Mention new default simplification mode.
4322
4323 * calc/calc.el (math-normalize-error): New variable.
4324 (math-normalize): Set `math-normalize-error' to t
4325 when there's an error.
4326
4327 * calc/calc-alg.el (math-simplify): Don't simplify when
4328 `math-normalize' returns an error.
4329
4330 2012-07-29 Eli Zaretskii <eliz@gnu.org>
4331
4332 * international/mule-cmds.el (set-locale-environment): Revert last
4333 change, since display-graphic-p returns nil when this function is
4334 called during startup. Instead...
4335
4336 * term/w32console.el (terminal-init-w32console): ...setup the
4337 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
4338
4339 2012-07-29 Juri Linkov <juri@jurta.org>
4340
4341 * simple.el (goto-line): Don't display default line number in the
4342 prompt because it should be displayed by `read-number' (bug#9952).
4343 Add the current line number to the defaults of `goto-line' to
4344 allow its easier modification by users with `M-n' (bug#9201).
4345
4346 * subr.el (read-number): Support multiple default values like in
4347 other minibuffer reading functions. Replace `read' with
4348 `string-to-number' for consistency with `number-to-string'.
4349
4350 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
4351
4352 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4353 * emulation/viper-init.el (viper-deactivate-input-method-action):
4354 Rename from viper-inactivate-input-method-action.
4355 (viper-deactivate-input-method):
4356 Rename from viper-inactivate-input-method.
4357 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4358 * international/mule-cmds.el (deactivate-input-method):
4359 Rename from inactivate-input-method.
4360 Also run input-method-deactivate-hook.
4361 (deactivate-current-input-method-function):
4362 Rename from inactivate-current-input-method-function.
4363 (input-method-deactivate-hook): New hook.
4364 (input-method-inactivate-hook): Mark obsolete.
4365 (inactivate-input-method): Mark obsolete.
4366
4367 * international/quail.el (quail-activate):
4368 Also run quail-deactivate-hook.
4369 (quail-deactivate): Rename from quail-inactivate.
4370 * international/robin.el (robin-activate):
4371 Also run robin-deactivate-hook.
4372 (robin-deactivate): Rename from robin-inactivate.
4373
4374 2012-07-29 Chong Yidong <cyd@gnu.org>
4375
4376 * simple.el (indicate-copied-region): New function.
4377 (kill-ring-save): Split off from here.
4378
4379 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4380 (kill-rectangle): Set deactivate-mark to t on read-only error.
4381
4382 * register.el (copy-to-register, copy-rectangle-to-register):
4383 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4384 (append-to-register, prepend-to-register): Call indicate-copied-region.
4385
4386 2012-07-29 Juri Linkov <juri@jurta.org>
4387
4388 * simple.el (async-shell-command-buffer): New defcustom.
4389 (shell-command): Use it. (Bug#4719)
4390
4391 2012-07-28 Eli Zaretskii <eliz@gnu.org>
4392
4393 * international/mule-cmds.el (set-locale-environment): In a
4394 console session on MS-Windows, set up keyboard and terminal
4395 encoding from the OEM codepage, not the ANSI codepage.
4396 (Bug#12055)
4397
4398 2012-07-28 Chong Yidong <cyd@gnu.org>
4399
4400 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4401 gdb-get-location.
4402
4403 2012-07-28 Leo Liu <sdl.web@gmail.com>
4404
4405 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4406 the alist (bug#12029).
4407
4408 2012-07-28 Eli Zaretskii <eliz@gnu.org>
4409
4410 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4411 (compile-always, compile-first)
4412 ($(lisp)/calendar/cal-loaddefs.el)
4413 ($(lisp)/calendar/diary-loaddefs.el)
4414 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4415 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4416 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4417 instead of on update-subdirs.
4418 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4419
4420 2012-07-28 Chong Yidong <cyd@gnu.org>
4421
4422 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4423 directory if vc-deduce-backend returns nil (Bug#7350).
4424
4425 * simple.el (delete-trailing-lines): New option.
4426 (delete-trailing-whitespace): Obey it (Bug#11879).
4427
4428 2012-07-28 David Engster <deng@randomsample.de>
4429
4430 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4431 Explanation of new 'symbol-qnames feature in doc-strings.
4432 (xml-maybe-do-ns): Return expanded names as plain symbols if
4433 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4434 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4435
4436 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4437
4438 Consistent completion in inferior python with emacs -nw.
4439 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4440 binding in inferior-python-mode-map with "\t".
4441 (python-shell-completion-complete-at-point)
4442 (python-completion-complete-at-point): Remove interactive spec.
4443
4444 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4445
4446 * calc/calccomp.el (math-compose-expr): Undo previous change.
4447
4448 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4449
4450 * progmodes/python.el (python-mode-map): Add keybinding for
4451 run-python.
4452 (python-shell-make-comint): Fix pop-to-buffer call.
4453 (run-python): Autoload. New arg SHOW.
4454 (python-shell-get-or-create-process): Do not pop python process
4455 buffer.
4456
4457 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
4458
4459 * notifications.el (notifications-on-action-signal)
4460 (notifications-on-closed-signal): Use also the bus address for the map.
4461 (notifications-notify, notifications-close-notification)
4462 (notifications-get-capabilities): Add optional argument BUS.
4463
4464 2012-07-27 Tassilo Horn <tsdh@gnu.org>
4465
4466 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4467 Add support for the lstlisting and minted environments, and for the
4468 ctable macro.
4469 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4470 labels written in keyvals syntax.
4471
4472 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4473
4474 * calc/calccomp.el (math-compose-expr): Use parentheses when
4475 there is a product in the denominator of a fraction.
4476
4477 2012-07-26 Eli Zaretskii <eliz@gnu.org>
4478
4479 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4480 ($(lisp)/calendar/diary-loaddefs.el)
4481 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4482 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4483 Fixes failures in parallel bootstrap because subdirs.el is being
4484 rewritten while the autoload files are built at the same time,
4485 which needs to load subdirs.el.
4486
4487 2012-07-26 Martin Rudalics <rudalics@gmx.at>
4488
4489 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4490 (mouse-drag-line): Don't exit tracking when a switch-frame or
4491 switch-window event occurs (Bug#12006).
4492
4493 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4494
4495 * mouse.el (popup-menu): Fix last change.
4496
4497 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4498
4499 Autoload from Lisp with more care. Follow aliases when looking for
4500 function properties.
4501 * subr.el (autoloadp): New function.
4502 (symbol-file): Use it.
4503 (function-get): New function.
4504 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4505 autoload-do-load.
4506 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4507 (lisp-indent-function):
4508 * emacs-lisp/gv.el (gv-get):
4509 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4510 * emacs-lisp/byte-opt.el (byte-optimize-form):
4511 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4512 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4513 Use function-get.
4514 * emacs-lisp/cl.el: Don't propagate function properties any more.
4515
4516 * speedbar.el (speedbar-add-localized-speedbar-support):
4517 * emacs-lisp/disass.el (disassemble-internal):
4518 * desktop.el (desktop-load-file):
4519 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4520 (describe-function-1):
4521 * emacs-lisp/find-func.el (find-function-noselect):
4522 * emacs-lisp/elp.el (elp-instrument-function):
4523 * emacs-lisp/advice.el (ad-has-proper-definition):
4524 * apropos.el (apropos-safe-documentation, apropos-macrop):
4525 * emacs-lisp/debug.el (debug-on-entry):
4526 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4527 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4528 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4529
4530 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4531
4532 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4533 function, not an obsolete variable (Bug#12046).
4534
4535 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4536
4537 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4538
4539 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4540
4541 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4542 window only if it is still live (Bug#12034).
4543
4544 2012-07-25 Martin Rudalics <rudalics@gmx.at>
4545
4546 * subr.el (redirect-frame-focus): Add advertised calling
4547 convention (Bug#12030).
4548
4549 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4550
4551 Prefer typical American spelling for "acknowledgment".
4552 * vc/add-log.el (change-log-acknowledgment): Rename from
4553 change-log-acknowledgement, with an alias for the old name.
4554
4555 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4556
4557 * calc-alg.el (math-simplify-divide): Don't cross multiply
4558 in an equation when the lhs is a variable.
4559
4560 2012-07-24 Julien Danjou <julien@danjou.info>
4561
4562 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4563 Remove, unused.
4564
4565 2012-07-23 Eli Zaretskii <eliz@gnu.org>
4566
4567 * startup.el (command-line): Don't display an empty user name in
4568 the error message about non-existent home directory, when
4569 init-file-user was set to an empty string. See
4570 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4571 for the details and context.
4572
4573 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4574
4575 * ses.el (ses-cell-formula-aset): New macro.
4576 (ses-cell-references-aset): New macro.
4577 (ses-cell-p): New function.
4578 (ses-rename-cell): Do no longer rely on complex operations like
4579 ses-cell-set-formula or ses-set-cell to change the cell and handle
4580 the undo at the same time, but rather use lower level new macros
4581 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
4582 the undo directly. Refresh the mode line.
4583
4584 2012-07-21 Leo Liu <sdl.web@gmail.com>
4585
4586 * progmodes/cc-cmds.el (c-defun-name):
4587 Use match-string-no-properties instead for consistency.
4588
4589 2012-07-20 Leo Liu <sdl.web@gmail.com>
4590
4591 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4592 (Bug#7879)
4593
4594 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4595
4596 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4597
4598 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4599 * progmodes/bug-reference.el, misearch.el: Provide themselves
4600 (bug#11915).
4601
4602 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4603 of narrowed buffer (bug#11966).
4604
4605 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4606
4607 * ses.el (ses-rename-cell): Set new name also in reference list of
4608 cells of which the renamed cell depends.
4609
4610 2012-07-20 Masatake YAMATO <yamato@redhat.com>
4611
4612 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4613 to check whether menu-bar is shown or not. If not shown,
4614 show the menu-bar as a popup menu instead of using tmm.
4615 * mouse.el (popup-menu): Accept `point' as `position' argument.
4616
4617 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4618
4619 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4620 up inside string symbol literal (bug#11923).
4621
4622 2012-07-20 Eli Zaretskii <eliz@gnu.org>
4623
4624 * startup.el (fancy-startup-text): Read the whole tutorial, not
4625 just its first 256 bytes. Prevents gibberish in display of the
4626 tutorial title.
4627
4628 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4629
4630 Drop idle buffer compaction due to an absence of the
4631 proved efficiency.
4632 * compact.el: Remove.
4633
4634 2012-07-19 Sam Steingold <sds@gnu.org>
4635
4636 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4637 vc-bzr-pull & vc-bzr-merge-branch.
4638 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4639 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4640 for consistency with compilation-error-regexp-alist.
4641 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4642 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4643 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4644 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4645
4646 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4647
4648 * emacs-lisp/chart.el: Use lexical-binding.
4649 (chart-emacs-storage): Don't hardcode the list of entries.
4650
4651 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4652
4653 Next round of tweaks caused by Fgarbage_collect changes.
4654 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4655
4656 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4657
4658 Compact buffers when idle.
4659 * compact.el: New file.
4660
4661 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4662
4663 * subr.el (eventp): Presume that if it looks vaguely like an event,
4664 it's an event (bug#10190).
4665
4666 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4667
4668 Enhancements to ppss related code (thanks Stefan).
4669 * progmodes/python.el (python-indent-context)
4670 (python-indent-calculate-indentation, python-indent-dedent-line)
4671 (python-indent-electric-colon, python-nav-forward-block)
4672 (python-mode-abbrev-table)
4673 (python-info-assignment-continuation-line-p): Simplify checks
4674 for ppss context.
4675 (python-info-continuation-line-p): Cleanup.
4676 (python-info-ppss-context): Do not catch 'quote.
4677 (python-info-ppss-context-type)
4678 (python-info-ppss-comment-or-string-p): Simplify.
4679
4680 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4681
4682 * progmodes/python.el: Enhancements to eldoc support.
4683 (python-info-current-symbol): New function.
4684 (python-eldoc-at-point): Use python-info-current-symbol.
4685 (python-info-current-defun): Fix cornercase on first defun scan.
4686 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4687 and signal error when no inferior python process is available.
4688
4689 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4690
4691 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4692 assume it's always t.
4693 (vc-git-registered): Remove caching, the function is only called
4694 once.
4695 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4696
4697 2012-07-18 Chong Yidong <cyd@gnu.org>
4698
4699 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4700
4701 * simple.el (count-words): Report on narrowing (Bug#9959).
4702
4703 * bindings.el: Bind M-= to count-words.
4704
4705 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4706
4707 2012-07-18 Masatake YAMATO <yamato@redhat.com>
4708
4709 * progmodes/sh-script.el (sh-imenu-generic-expression):
4710 Capture a function with `function' keyword and without parentheses
4711 like "function FOO" (bug#11856).
4712
4713 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4714
4715 * window.el (split-window-sensibly): Make WINDOW argument
4716 optional.
4717
4718 2012-07-18 Chong Yidong <cyd@gnu.org>
4719
4720 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4721
4722 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4723 and make C-x 8 RET exit isearch (Bug#11439).
4724
4725 * international/iso-transl.el: Move isearch-mode-map key
4726 definitions to isearch.el.
4727
4728 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4729
4730 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4731 (eieio-defclass): Use gv-define-setter when possible.
4732
4733 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4734
4735 Reflect recent changes in Fgarbage_collect.
4736 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4737 reflect new format of data returned by Fgarbage_collect.
4738
4739 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4740
4741 New utility functions + python-info-ppss-context fix (Bug#11910).
4742 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4743 (python-info-ppss-comment-or-string-p): New functions.
4744 (python-info-ppss-context): Small fix for string check.
4745
4746 2012-07-17 Juri Linkov <juri@jurta.org>
4747
4748 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4749 (dired-do-async-shell-command): Don't add `*' at the end of the
4750 command (Bug#11815).
4751 (dired-do-shell-command): Doc fix.
4752 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4753 Join the individual commands using either "&" or ";" as the
4754 separator depending on the values of these trailing characters.
4755 At the end re-add the trailing "&". (Bug#10598)
4756
4757 * simple.el (async-shell-command): Sync the interactive spec with
4758 `shell-command'. Doc fix.
4759 (shell-command): Doc fix.
4760
4761 2012-07-17 Juri Linkov <juri@jurta.org>
4762
4763 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4764
4765 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4766
4767 Final renames and doc fixes for movement commands (bug#11899).
4768 * progmodes/python.el (python-nav-beginning-of-statement):
4769 Rename from python-nav-statement-start.
4770 (python-nav-end-of-statement): Rename from
4771 python-nav-statement-end.
4772 (python-nav-beginning-of-block): Rename from
4773 python-nav-block-start.
4774 (python-nav-end-of-block): Rename from python-nav-block-end.
4775
4776 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4777
4778 * progmodes/python.el (python-shell-send-string-no-output):
4779 Allow accept-process-output to quit, keeping shell process ready for
4780 future interactions (Bug#11868).
4781
4782 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4783
4784 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4785
4786 * emacs-lisp/elint.el (elint-find-args-in-code):
4787 Use help-function-arglist, so as to handle lexical byte-code.
4788
4789 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4790 change (bug#11826).
4791
4792 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4793
4794 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4795 Avoid spuriously marking the buffer as modified because of c-is-sws.
4796
4797 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4798 as not-a-comment (bug#11946).
4799
4800 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4801 for uninterned vars.
4802
4803 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4804 Use read-event since we don't really want to read chars but bytes.
4805
4806 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4807 $$..$$ but also $..$ using regexps (bug#11953).
4808 Use tex-verbatim for \url and \path.
4809 (tex-font-lock-keywords): Define as defconst like the others.
4810 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4811
4812 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4813
4814 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4815 alias for insert-char.
4816
4817 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4818
4819 * progmodes/python.el: Simplified imenu implementation.
4820 (python-nav-jump-to-defun): Remove command.
4821 (python-mode-map): Use `imenu' instead.
4822 (python-nav-list-defun-positions-cache)
4823 (python-imenu-include-defun-type, python-imenu-make-tree)
4824 (python-imenu-subtree-root-label, python-imenu-index-alist):
4825 Remove vars.
4826 (python-nav-list-defun-positions, python-nav-read-defun)
4827 (python-imenu-tree-assoc, python-imenu-make-element-tree)
4828 (python-imenu-make-tree, python-imenu-create-index):
4829 Remove functions.
4830 (python-mode): Update to interact with imenu by setting
4831 `imenu-extract-index-name-function' only.
4832
4833 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4834
4835 * progmodes/python.el: Enhancements to navigation commands.
4836 (python-nav-backward-sentence)
4837 (python-nav-forward-sentence): Remove.
4838 (python-nav-backward-statement, python-nav-forward-statement)
4839 (python-nav-statement-start, python-nav-statement-end)
4840 (python-nav-backward-block, python-nav-forward-block)
4841 (python-nav-block-start, python-nav-block-end)
4842 (python-nav-forward-sexp-function)
4843 (python-info-current-line-comment-p)
4844 (python-info-current-line-empty-p): New functions.
4845 (python-indent-context): Use `python-nav-statement-start'.
4846
4847 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
4848
4849 * eshell/em-ls.el (eshell/ls): Use `apply'.
4850
4851 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4852 multi-hops, instead of Tramp internals.
4853
4854 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4855
4856 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4857 when F1 and F2 are located on different hosts.
4858
4859 2012-07-14 Chong Yidong <cyd@gnu.org>
4860
4861 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4862 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4863 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4864 (xterm-mouse--read-event-sequence-1000)
4865 (xterm-mouse--read-event-sequence-1006): New functions. For old
4866 mouse protocol, handle M-mouse-X events correctly.
4867 (xterm-mouse-event): New arg specifying mouse protocol.
4868 (turn-on-xterm-mouse-tracking-on-terminal)
4869 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
4870 sequence to toggle extended coordinates on newer XTerms.
4871 This appears to be harmless on terminals which do not support this.
4872
4873 2012-07-14 Leo Liu <sdl.web@gmail.com>
4874
4875 Add fringe bitmap indicators for flymake. (Bug#11253)
4876 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4877 (flymake-make-overlay): New arg BITMAP.
4878 (flymake-error-bitmap, flymake-warning-bitmap)
4879 (flymake-fringe-indicator-position): New user variables.
4880
4881 * fringe.el: New bitmap exclamation-mark.
4882
4883 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4884
4885 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4886 also (Bug#7879).
4887
4888 2012-07-14 Chong Yidong <cyd@gnu.org>
4889
4890 * electric.el (electric-pair-post-self-insert-function): Fix pair
4891 insertion in empty-region case (Bug#11520).
4892
4893 2012-07-14 Chong Yidong <cyd@gnu.org>
4894
4895 * bindings.el: Consolidate ctl-x-r-map bindings.
4896 Bind copy-rectangle-as-kill to C-x r w.
4897
4898 * rect.el, register.el: Move bindings to bindings.el.
4899
4900 2012-07-14 Reuben Thomas <rrt@sc3d.org>
4901
4902 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4903
4904 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4905
4906 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4907
4908 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
4909
4910 * bindings.el (top): Use `mapc' instead of `mapcar'.
4911
4912 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4913
4914 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
4915
4916 * progmodes/sql.el (sql-comint): Suppress the check for program on
4917 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4918 (Bug#11908)
4919
4920 2012-07-13 Chong Yidong <cyd@gnu.org>
4921
4922 * bindings.el: Assign a non-nil permanent-local property to
4923 per-buffer variables which lack a default value (Bug#11930).
4924
4925 * help-fns.el (describe-variable): In the "automatically becomes
4926 local" notice, take note of permanent-local variables.
4927
4928 2012-07-13 Chong Yidong <cyd@gnu.org>
4929
4930 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4931 to allow printing the message when called from Lisp.
4932
4933 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4934 Remove toggle-read-only.
4935
4936 * bs.el (bs-toggle-readonly):
4937 * buff-menu.el (Buffer-menu-toggle-read-only):
4938 Remove with-no-warnings around toggle-read-only.
4939
4940 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4941 Remove with-no-warnings around toggle-read-only.
4942 (ffap-read-only, ffap-read-only-other-window)
4943 (ffap-read-only-other-frame): Callers changed.
4944
4945 * help-mode.el: Don't require view package.
4946 (help-mode-finish): Set buffer-read-only instead of calling
4947 toggle-read-only.
4948
4949 * bindings.el (mode-line-toggle-read-only):
4950 * dired.el (dired-toggle-read-only):
4951 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4952 with non-nil second arg.
4953
4954 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4955 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4956 directly.
4957
4958 2012-07-12 Eli Zaretskii <eliz@gnu.org>
4959
4960 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4961 not incf.
4962
4963 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4964
4965 More CL cleanups and reduction of use of cl.el.
4966 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4967 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4968 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4969 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4970 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4971 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4972 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4973 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4974 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4975 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4976 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4977 * eshell/em-cmpl.el, eshell/em-banner.el:
4978 * calendar/parse-time.el: Use cl-lib.
4979 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4980 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4981 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4982 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4983 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4984 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4985 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4986 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4987 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4988 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4989 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4990 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4991 `lambda' rather than with `quote'.
4992 (eshell-do-opt): Adjust accordingly.
4993 (eshell-process-option): Simplify.
4994 * eshell/esh-var.el:
4995 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4996 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4997 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4998 to `pcase--dontcare'.
4999 * emacs-lisp/cl.el (labels): Mark obsolete.
5000 (cl--letf, letf): Move to cl-lib.
5001 (cl--letf*, letf*): Remove.
5002 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5003 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5004 (cl-progv): Rewrite.
5005 (cl--letf, cl-letf): Move from cl.el.
5006 (cl-letf*): New macro.
5007 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5008
5009 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
5010
5011 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5012
5013 2012-07-11 Chong Yidong <cyd@gnu.org>
5014
5015 * vc/log-edit.el (log-edit-vc-backend): New variable.
5016 (log-edit): Doc fix.
5017
5018 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
5019 argument of log-edit to set up all local variables.
5020 (vc-start-logentry): New optional arg specifying VC backend.
5021
5022 * vc/vc.el (vc-checkin): Use it.
5023 (vc-deduce-fileset): Handle Log Edit buffers.
5024 (vc-diff): Make first argument optional too.
5025
5026 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5027
5028 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
5029
5030 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5031 command, just in case. The function is not needed anymore.
5032 (eshell-external-command): Do not call `eshell-remote-command'.
5033
5034 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5035
5036 Reduce use of (require 'cl).
5037 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5038 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5039 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5040 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
5041 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
5042 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
5043 * battery.el, avoid.el, abbrev.el: Use cl-lib.
5044 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
5045 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
5046 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
5047 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
5048 * calculator.el, autorevert.el, apropos.el: Don't require CL.
5049 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5050 (byte-compile-unfold-bcf, byte-compile-check-variable):
5051 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5052 (byte-compile-nilconstp):
5053 * emacs-lisp/autoload.el (make-autoload): Use pcase.
5054 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5055
5056 * emacs-lisp/gv.el (cond): Make it a valid place.
5057 (if): Simplify slightly.
5058
5059 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
5060 (pcase--self-quoting-p): New function.
5061 (pcase--u1): Use it.
5062
5063 2012-07-10 Glenn Morris <rgm@gnu.org>
5064
5065 * emacs-lisp/authors.el (authors-fixed-entries):
5066 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
5067
5068 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
5069
5070 Rename configure.in to configure.ac (Bug#11603).
5071 * emacs-lisp/authors.el (authors-canonical-file-name):
5072 * progmodes/autoconf.el (autoconf-mode):
5073 Prefer configure.ac to configure.in.
5074
5075 2012-07-08 Chong Yidong <cyd@gnu.org>
5076
5077 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
5078 Implement the mouse-1-click-follows-link handling properly.
5079
5080 * info.el (Info-link-keymap): Use follow-link mechanism for
5081 header-line links (Bug#374).
5082
5083 * simple.el (deactivate-mark): Do not set the primary selection
5084 if another program has acquired it (Bug#11772).
5085
5086 2012-07-07 Kevin Ryde <user42@zip.com.au>
5087
5088 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
5089 (woman-decode-region): Replace escaped-escapes without destroying
5090 bold or underline (Bug#11552).
5091 (woman2-process-escapes): Handle nofill regions (Bug#11591).
5092
5093 2012-07-07 Chong Yidong <cyd@gnu.org>
5094
5095 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
5096 (interprogram-cut-function, interprogram-paste-function):
5097 Mention that we typically mean the clipboard.
5098
5099 2012-07-06 Glenn Morris <rgm@gnu.org>
5100
5101 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
5102
5103 * files.el (toggle-read-only): Restrict message to interactive use.
5104
5105 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
5106
5107 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
5108
5109 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
5110
5111 2012-07-06 Glenn Morris <rgm@gnu.org>
5112
5113 * Makefile.in (compile-one-process): Rename from "recompile".
5114
5115 * Makefile.in (bzr-update): "compile" is the same as "recompile
5116 autoloads", but parallelizable, so use that instead.
5117
5118 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
5119
5120 * window.el (quit-window): Always restore window height when
5121 it's saved in quit-restore parameter (Bug#11810).
5122
5123 2012-07-06 Glenn Morris <rgm@gnu.org>
5124
5125 * simple.el (kill-whole-line): Doc tweak.
5126
5127 2012-07-06 Eli Zaretskii <eliz@gnu.org>
5128
5129 * files.el (file-relative-name): Compare file names
5130 case-insensitively if on MS-Windows or MS-DOS, or if
5131 read-file-name-completion-ignore-case is non-nil. Don't use
5132 case-fold-search for this purpose. (Bug#11827)
5133
5134 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
5135
5136 * calendar/cal-dst.el (calendar-current-time-zone):
5137 Return calendar-current-time-zone-cache if non-nil.
5138
5139 2012-07-17 Masatake YAMATO <yamato@redhat.com>
5140 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5141
5142 * calendar/cal-dst.el (calendar-current-time-zone):
5143 Return calendar-current-time-zone-cache if non-nil.
5144
5145 2012-07-06 Glenn Morris <rgm@gnu.org>
5146
5147 * Makefile.in (cvs-update): Remove old alias.
5148
5149 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
5150
5151 Sync with Tramp 2.2.6-pre.
5152
5153 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
5154 compatible declaration.
5155
5156 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5157 Protect `list-load-path-shadows' call.
5158
5159 * net/tramp-compat.el (top): Require packages, which aren't
5160 autoloaded anymore for XEmacs. Protect call of
5161 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
5162 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
5163 it hurts at least for SXEmacs.
5164 (tramp-compat-temporary-file-directory): In XEmacs, there is no
5165 standard-value for `temporary-file-directory'.
5166
5167 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
5168 Redirect stderr to /dev/null.
5169 (tramp-sh-handle-write-region): uid and gid can be floats.
5170 Reported by Russell Sim <russell.sim@gmail.com>.
5171 (tramp-sh-handle-vc-registered): Hide errors.
5172 (tramp-vc-file-name-handler): Use dummy results for `process-file'
5173 and `start-file-process'.
5174 (tramp-maybe-open-connection): Check also whether `non-essential'
5175 is bound.
5176
5177 2012-07-04 Chong Yidong <cyd@gnu.org>
5178
5179 * xml.el (xml--parse-buffer): Use xml-syntax-table.
5180 (xml-parse-tag): Likewise, and avoid changing entity tables.
5181 (xml-syntax-table): Define from scratch, making sure not to give
5182 x2000 and other Unicode spaces whitespace syntax, since those are
5183 not spaces in XML.
5184 (xml-parse-fragment): Delete unused function.
5185 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
5186 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
5187 (xml-entity-ref, xml-pe-reference-re)
5188 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
5189 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
5190 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
5191 (xml-entity-value-re): Use syntax references in regexps where
5192 possible; no need to define inside a let-binding.
5193 (xml-parse-dtd): Use xml-pe-reference-re.
5194 (xml-entity-or-char-ref-re): New defconst.
5195 (xml-parse-string, xml-substitute-special): Use it.
5196
5197 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5198
5199 * files.el (locate-dominating-file): Allow `name' to be a predicate.
5200 (find-file--read-only): New function.
5201 (find-file-read-only, find-file-read-only-other-window)
5202 (find-file-read-only-other-frame): Use it.
5203 (insert-file-contents-literally): Don't `fset'.
5204 (get-free-disk-space): Use locate-dominating-file.
5205
5206 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
5207 function is already compiled.
5208
5209 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
5210
5211 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
5212
5213 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
5214 files on the same host.
5215
5216 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
5217
5218 * help-fns.el (describe-function-1): Only call
5219 help-fns--autoloaded-p when we have a file name. (Bug#11848)
5220
5221 2012-07-03 Chong Yidong <cyd@gnu.org>
5222
5223 * xml.el: Protect parser against XML bombs.
5224 (xml-entity-expansion-limit): New variable.
5225 (xml-parse-string, xml-substitute-special): Use it.
5226 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
5227
5228 2012-07-03 Glenn Morris <rgm@gnu.org>
5229
5230 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5231 Allow linking to specific messages in debbugs reports (eg 123#5).
5232
5233 2012-07-02 Chong Yidong <cyd@gnu.org>
5234
5235 * xml.el: Fix entity and character reference expansion, allowing
5236 them to expand into markup as per XML spec.
5237 (xml-default-ns): New variable.
5238 (xml-entity-alist): Use XML spec definitions for lt and amp.
5239 (xml-parse-region): Make first two arguments optional.
5240 Discard text properties.
5241 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
5242 All callers changed.
5243 (xml-parse-tag): Call xml-parse-tag-1. For backward
5244 compatibility, this function should not modify buffer contents.
5245 (xml-parse-tag-1): Fix opening-tag regexp.
5246 (xml-parse-string): Rewrite, handling entity and character
5247 references properly.
5248 (xml--entity-replacement-text): Signal an error if a parameter
5249 entity is undefined.
5250
5251 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5252
5253 * comint.el (comint-output-filter): Filter out repeated prompts.
5254
5255 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
5256 and file-name-absolute-p.
5257 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
5258 internal calls.
5259
5260 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
5261
5262 Spelling fixes.
5263 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
5264 Rename from byte-compile--refiy-function. All uses changed.
5265
5266 2012-07-01 Chong Yidong <cyd@gnu.org>
5267
5268 * xml.el (xml--parse-buffer): New function. Move most of
5269 xml-parse-region here.
5270 (xml-parse-region): Copy region into a temporary buffer, since
5271 parameter entity substitution requires changing buffer contents.
5272 Use xml--parse-buffer.
5273 (xml-parse-file): Use xml--parse-buffer.
5274 (xml-parse-dtd): Make parameter entity substitution work right.
5275 Use proper regexps for ELEMENT declarations (Bug#7172).
5276
5277 2012-06-30 Glenn Morris <rgm@gnu.org>
5278
5279 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
5280
5281 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5282 Remove outdated and unnecessary dbus declarations.
5283
5284 2012-06-30 Eli Zaretskii <eliz@gnu.org>
5285
5286 * emacs-lisp/timer.el (timer-until): Subtract results of
5287 float-time, instead of taking float-time of the result of
5288 time-subtract, since float-time signals an error for negative time
5289 arguments.
5290
5291 2012-06-30 Chong Yidong <cyd@gnu.org>
5292
5293 * xml.el (xml-*-re): Convert defvars into defconsts, and
5294 eval-and-compile them so eval-and-compile works on derivatives.
5295 (xml--entity-replacement-text): Use eval-and-comple.
5296
5297 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
5298
5299 * vc/vc-git.el (vc-git-registered): Use cache property
5300 `git-registered'.
5301 (vc-git-mode-line-string): Call `vc-working-revision' instead of
5302 `vc-git-working-revision' in order to benefit from the cache.
5303 (vc-git-root): Use cache property `git-root'. (Bug#11757)
5304
5305 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
5306
5307 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
5308 removed (likely outside Emacs). (Bug#11757)
5309
5310 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5311
5312 * emacs-lisp/cl-lib.el: Require macroexp.
5313
5314 2012-06-30 Chong Yidong <cyd@gnu.org>
5315
5316 * xml.el: Implement XML parameter entities.
5317 (xml-parameter-entity-alist): New variable.
5318 (xml-parse-region, xml-parse-fragment): Preserve previous values
5319 of xml-entity-alist and xml-parameter-entity-alist, so that
5320 repeated calls on different documents do not change them.
5321 (xml-parse-tag): Fix doctype regexp.
5322 (xml--entity-replacement-text): New function.
5323 (xml-parse-dtd): Use it. Don't handle system entities; doing that
5324 properly requires url retrieval which is unimplemented.
5325 (xml-escape-string): Doc fix.
5326
5327 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5328
5329 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5330
5331 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
5332
5333 * fringe.el (fringe-mode): Doc fix.
5334
5335 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
5336
5337 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5338 is non-nil.
5339 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5340 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
5341
5342 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
5343
5344 * calendar/cal-dst.el (calendar-current-time-zone):
5345 Return calendar-current-time-zone-cache if non-nil.
5346
5347 2012-06-29 Masatake YAMATO <yamato@redhat.com>
5348
5349 * progmodes/which-func.el (which-func-format):
5350 Add mouse-face. (Bug#11698)
5351
5352 2012-06-29 Leo Liu <sdl.web@gmail.com>
5353
5354 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5355
5356 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5357
5358 * minibuffer.el (minibuffer-confirm-exit-commands):
5359 Add completion-at-point (bug#11725).
5360
5361 2012-06-29 Glenn Morris <rgm@gnu.org>
5362
5363 * progmodes/f90.el (f90-font-lock-keywords-2):
5364 Add some preprocessor elements. (Bug#10499)
5365
5366 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5367
5368 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5369 Use syntax-propertize (bug#11739).
5370
5371 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
5372
5373 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5374
5375 2012-06-28 Julien Danjou <julien@danjou.info>
5376
5377 * term.el (term-handle-colors-array): Use a set of new faces to
5378 color the terminal. Also uses :inverse-video property.
5379 (term-default-fg-color): Set to nil by default, deprecate in favor
5380 of `term-face'.
5381 (term-default-bg-color): Set to nil by default, deprecate in favor
5382 of `term-face'.
5383 (term-current-face): Use `term-face' by default.
5384 (term-bold-attribute): Variable deleted.
5385
5386 2012-06-28 Glenn Morris <rgm@gnu.org>
5387
5388 * simple.el (completion-list-mode-finish):
5389 Don't use toggle-read-only. (Since completion-list-mode has
5390 a special mode-class, it wasn't doing anything extra anyway.)
5391
5392 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5393
5394 Make inlining of other-mode interpreted functions work (bug#11799).
5395 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5396 (byte-compile): Use it to fix compilation of lexical-binding closures.
5397 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5398 function, if needed.
5399
5400 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5401
5402 * help-mode.el (help-make-xrefs): Don't just withstand
5403 cyclic-variable-indirection but any error in documentation-property.
5404
5405 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5406 memory use.
5407 * bindings.el (bindings--define-key): New function.
5408 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5409 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5410 * bindings.el: Use it to purecopy define-key bindings.
5411
5412 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5413
5414 * emacs-lisp/cl.el (flet): Mark obsolete.
5415 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5416 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5417 * progmodes/js.el (js-c-fill-paragraph):
5418 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5419 (ebrowse-switch-member-buffer-to-derived-class):
5420 * play/5x5.el (5x5-solver): Use cl-flet.
5421
5422 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5423 (cl--symbol-function): New macro.
5424 (cl--letf, cl--letf*): Use it.
5425
5426 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5427 Strip "toggle-" if any.
5428
5429 2012-06-27 Glenn Morris <rgm@gnu.org>
5430
5431 * info.el (Info-default-directory-list): Move here from paths.el.
5432 * paths.el: Remove file, which is now empty.
5433 * loadup.el: No longer load "paths".
5434
5435 * custom.el (custom-initialize-delay): Doc fix.
5436
5437 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5438 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5439 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5440 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5441 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5442 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5443 * eshell/eshell.el (eshell-defgroup): Remove alias.
5444
5445 2012-06-27 Chong Yidong <cyd@gnu.org>
5446
5447 * help.el (help-enable-auto-load): New variable.
5448
5449 * help-fns.el (help-fns--autoloaded-p): New function.
5450 (describe-function-1): Refer to a function as "autoloaded" if it
5451 was autoloaded at any time in the past. Perform autoloading if
5452 help-enable-auto-load is non-nil.
5453
5454 2012-06-26 Eli Zaretskii <eliz@gnu.org>
5455
5456 * makefile.w32-in (compile, compile-always): Depend on
5457 update-subdirs, not on subdirs.el. Otherwise, several different
5458 sub-targets of 'bootstrap' running in parallel could
5459 simultaneously write to subdirs.el, producing a garbled file.
5460
5461 2012-06-26 Sam Steingold <sds@gnu.org>
5462
5463 * files.el (file-name-base): New convenience function.
5464 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5465 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5466 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5467 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5468 * textmodes/ispell.el, textmodes/reftex-ref.el:
5469 * textmodes/tex-mode.el: Use it.
5470 Did not touch cedet and org because they are maintained elsewhere.
5471
5472 2012-06-26 Martin Rudalics <rudalics@gmx.at>
5473
5474 * calendar/calendar.el (calendar-exit): Don't try to delete or
5475 iconify last frame. See:
5476 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5477
5478 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5479
5480 * server.el (server-process-filter): Remember dir in the
5481 process's `server-client-directory' properties.
5482
5483 2012-06-24 Chong Yidong <cyd@gnu.org>
5484
5485 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5486 non-tag text.
5487
5488 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
5489
5490 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5491
5492 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5493
5494 * help-fns.el (describe-variable): Don't croak when doc is not found.
5495 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5496 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5497 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5498 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5499 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5500 ((lambda ..) ..).
5501 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5502
5503 2012-06-23 Chong Yidong <cyd@gnu.org>
5504
5505 * info.el (Info-mouse-follow-link): Accept symbol values of
5506 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
5507 (Info-fontify-node): Use Info-link-keymap for all navigation
5508 buttons, with link-args property to perform the desired action.
5509 (Info-link-keymap): Doc fix.
5510 (Info-next-link-keymap, Info-prev-link-keymap)
5511 (Info-up-link-keymap): Delete now-unused keymaps.
5512
5513 2012-06-23 Chong Yidong <cyd@gnu.org>
5514
5515 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5516
5517 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5518 system abbrevs.
5519
5520 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5521
5522 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5523
5524 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5525 (bug#11719).
5526
5527 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5528 the requote function doesn't work properly (bug#11714).
5529
5530 2012-06-23 Glenn Morris <rgm@gnu.org>
5531
5532 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5533
5534 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5535
5536 Further GV/CL cleanups.
5537 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5538 gv-expander.
5539 (gv--defun-declaration): New function.
5540 (defun-declarations-alist): Use it.
5541 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5542 (gv-place): Autoload.
5543 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5544 original definition of dotimes and dolist.
5545 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5546 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5547 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5548 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5549 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5550 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5551 to the function's definition.
5552 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5553 * window.el:
5554 * files.el:
5555 * faces.el:
5556 * env.el: Don't use CL.
5557
5558 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5559
5560 Support higher-resolution time stamps (Bug#9000).
5561
5562 * calendar/time-date.el (with-decoded-time-value): New arg
5563 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5564 (encode-time-value): New optional arg PICO. New type 3.
5565 (time-to-seconds) [!float-time]: Support the new picoseconds
5566 component if it's used.
5567 (seconds-to-time, time-subtract, time-add):
5568 Support ps-resolution time stamps as well.
5569
5570 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5571 (timerp): Timer vectors now have length 9, not 8.
5572 (timer--time): Support new-style (4-part) time stamps.
5573 (timer-next-integral-multiple-of-time): Time stamps now have
5574 picosecond resolution, so take a bit more care about rounding.
5575 (timer-relative-time, timer-inc-time): New optional arg psecs.
5576 (timer-set-time-with-usecs): Set psecs to 0.
5577 (timer--activate): Check psecs component, too.
5578
5579 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5580
5581 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5582
5583 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5584 Move the non-essential binding to the post/pre-command-hook where it is
5585 more obviously correct.
5586
5587 * subr.el (read-passwd): Don't use a history at all.
5588 * savehist.el (savehist-save): Remove password saved accidentally
5589 because of the above bug.
5590
5591 2012-06-22 Bastien Guerry <bzg@gnu.org>
5592
5593 * files.el (toggle-read-only): Display a message telling whether
5594 the buffer is read-only or not (bug#11726).
5595
5596 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5597
5598 * emacs-lisp/gv.el: New file.
5599 * subr.el (push, pop): Extend to generalized variables.
5600 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5601 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5602 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5603 gv-define-simple-setter, and gv-define-expander.
5604 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5605 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5606 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5607 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5608 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5609 gv-letplace.
5610 (cl-defstruct): Don't define setf-method any more.
5611 * emacs-lisp/cl.el (flet): Don't autoload.
5612 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5613 (define-setf-expander, defsetf, define-modify-macro)
5614 (cl-struct-setf-expander): Move from cl-lib.el.
5615 * emacs-lisp/syntax.el:
5616 * emacs-lisp/ewoc.el:
5617 * emacs-lisp/smie.el:
5618 * emacs-lisp/cconv.el:
5619 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5620 (timer--time): Use gv-define-simple-setter.
5621 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5622 to avoid coding-system problems in subr.el. Adjust all users.
5623 (macroexp--maxsize, macroexp-small-p): New functions.
5624 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5625 * scroll-bar.el (scroll-bar-mode):
5626 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5627 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5628 * winner.el (winner-configuration, winner-make-point-alist)
5629 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5630 * files.el (locate-file-completion-table): Avoid list*.
5631
5632 2012-06-22 Chong Yidong <cyd@gnu.org>
5633
5634 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5635 (dired-create-files): Doc fix (Bug#11329).
5636 (dired-do-copy): Doc fix (Bug#11334).
5637 (dired-mark-read-string): Doc fix (Bug#11553).
5638
5639 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5640 Doc fix (Bug#11326).
5641 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5642 (dired-dwim-target): Doc fix.
5643
5644 * wdired.el (wdired-mode): Doc fix.
5645
5646 2012-06-22 Glenn Morris <rgm@gnu.org>
5647
5648 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5649 (pcmpl-rpm-cache-stamp-file): New constant.
5650 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5651 (pcmpl-rpm-packages): Optionally cache list of packages.
5652
5653 * pcmpl-rpm.el (pcmpl-rpm): New group.
5654 (pcmpl-rpm-query-options): New option.
5655 (pcmpl-rpm-packages): No need to inline it.
5656 Use pcmpl-rpm-query-options.
5657
5658 * calendar/calendar.el (calendar-in-read-only-buffer):
5659 Avoid some needless mode changes.
5660
5661 2012-06-21 Chong Yidong <cyd@gnu.org>
5662
5663 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5664 (desktop-path): Remove . from the default value (Bug#10977).
5665 (desktop-read): Use user-emacs-directory if desktop-path is nil.
5666
5667 2012-06-20 Chong Yidong <cyd@gnu.org>
5668
5669 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5670
5671 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5672
5673 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5674 (bug#11201).
5675
5676 2012-06-20 Chong Yidong <cyd@gnu.org>
5677
5678 * term.el (term-window-width): Handle the case of a missing right
5679 fringe (Bug#8837).
5680 (term-check-size): Use window-text-height (Bug#5445).
5681 (term-mode): Use define-derived-mode. Minor cleanups.
5682 Set font-lock-defaults (Bug#7692).
5683 (term-move-columns, term-insert-char, term-emulate-terminal)
5684 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
5685
5686 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
5687
5688 * net/ange-ftp.el (ange-ftp-get-passwd):
5689 Bind `enable-recursive-minibuffers'.
5690 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5691
5692 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5693
5694 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5695
5696 2012-06-19 Glenn Morris <rgm@gnu.org>
5697
5698 * progmodes/python.el (python-mode): Derive from prog-mode.
5699
5700 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5701
5702 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5703 (edt-user-menu-bar-update-buffers): New functions.
5704 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5705
5706 2012-06-19 Chong Yidong <cyd@gnu.org>
5707
5708 * subr.el (with-selected-window): Preserve the selected window's
5709 terminal's top-frame (Bug#4702).
5710
5711 * window.el (save-selected-window): Likewise.
5712
5713 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5714
5715 * progmodes/python.el (python-rx-constituents): Move backquote.
5716 (python-skeleton-define, python-define-auxiliary-skeleton):
5717 Use `declare'.
5718
5719 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
5720
5721 * minibuffer.el (read-file-name-default): Revert the patch from
5722 2012-06-17.
5723
5724 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5725
5726 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5727 (pcase--u1, pcase--q1): Don't use apply-partially.
5728
5729 2012-06-18 Glenn Morris <rgm@gnu.org>
5730
5731 * progmodes/python.el (python-proc, python-buffer)
5732 (python-send-receive, python-send-string): Fix obsolete versions.
5733
5734 2012-06-18 Martin Rudalics <rudalics@gmx.at>
5735
5736 * window.el (special-display-p): Completely remove stringp
5737 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5738
5739 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
5740
5741 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5742
5743 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5744
5745 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5746 * net/tramp-sh.el (tramp-maybe-open-connection):
5747 Throw if `non-essential' is non-nil.
5748
5749 2012-06-17 Martin Rudalics <rudalics@gmx.at>
5750
5751 * window.el (special-display-p): Signal an error if BUFFER-NAME
5752 is not a string (Bug#11713).
5753
5754 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5755
5756 * progmodes/python.el (python-info-beginning-of-backslash):
5757 Rename from python-info-beginning-of-backlash, as a spelling fix.
5758
5759 2012-06-17 Chong Yidong <cyd@gnu.org>
5760
5761 * term.el (term-emulate-terminal): If term-check-size is called,
5762 move point to the process mark without resetting point (Bug#4635).
5763
5764 2012-06-17 Glenn Morris <rgm@gnu.org>
5765
5766 * international/mule-cmds.el (mule-menu-keymap)
5767 (set-language-environment, set-locale-environment): Doc tweaks.
5768
5769 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5770
5771 * cus-face.el (custom-face-attributes): Add wave-style underline
5772 attribute.
5773 * faces.el (set-face-attribute): Update docstring to describe
5774 wave-style underline attribute.
5775
5776 2012-06-16 Chong Yidong <cyd@gnu.org>
5777
5778 * term/xterm.el (terminal-init-xterm): Discard input before
5779 querying background mode (Bug#10959).
5780
5781 2012-06-16 Stefan Merten <smerten@oekonux.de>
5782
5783 * textmodes/rst.el: Added and corrected some comments.
5784 (rst-re-alist-def): Improve symbol syntax.
5785 (rst-mode-syntax-table): Correct syntax entries.
5786 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5787 (rst-official-version, rst-official-cvs-rev): Update version
5788 information.
5789
5790 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
5791
5792 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5793 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5794
5795 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5796
5797 * progmodes/python.el: New python.el merge.
5798 (python-guess-indent): Obsolete var.
5799 (python-indent-guess-indent-offset): New defcustom.
5800 (python-indent): Obsolete var.
5801 (python-indent-offset): New defcustom.
5802 (python-python-command, python-jython-command): Delete var.
5803 (python-shell-interpreter): New defcustom.
5804 (python-pdbtrack-do-tracking-p): Delete var.
5805 (python-pdbtrack-activate): New defcustom.
5806 (python-use-skeletons): Obsolete var.
5807 (python-skeleton-autoinsert): New defcustom.
5808 (inferior-python-filter-regexp, python-continuation-offset)
5809 (python-honour-comment-indentation, python-indent-string-contents)
5810 (python-jython-packages, python-mode-hook)
5811 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5812 (python-shell-prompt-alist)
5813 (python-source-modes): Delete defcustoms.
5814 (python-check-buffer-name, python-eldoc-setup-code)
5815 (python-eldoc-string-code, python-ffap-setup-code)
5816 (python-ffap-string-code, python-fill-comment-function)
5817 (python-fill-decorator-function, python-fill-paren-function)
5818 (python-fill-string-function, python-imenu-include-defun-type)
5819 (python-imenu-make-tree, python-imenu-subtree-root-label)
5820 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5821 (python-shell-compilation-regexp-alist)
5822 (python-shell-completion-module-string-code)
5823 (python-shell-completion-pdb-string-code)
5824 (python-shell-completion-setup-code)
5825 (python-shell-completion-string-code)
5826 (python-shell-enable-font-lock, python-shell-exec-path)
5827 (python-shell-extra-pythonpaths)
5828 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5829 (python-shell-process-environment)
5830 (python-shell-prompt-block-regexp)
5831 (python-shell-prompt-output-regexp)
5832 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5833 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5834 (python-shell-virtualenv-path): New defcustoms.
5835 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5836 (inferior-python-mode-syntax-table, python--prompt-regexp)
5837 (python-buffer, python-command python-python-command)
5838 (python-default-template, python-imports, python-indent-index)
5839 (python-indent-list, python-indent-list-length)
5840 (python-mode-running, python-pdbtrack-is-tracking-p)
5841 (python-preoutput-continuation, python-preoutput-leftover)
5842 (python-preoutput-result, python-preoutput-skip-next-prompt)
5843 (python-prev-dir/file, python-recursing)
5844 (python-saved-check-command, python-version-checked)
5845 (python-which-func-length-limit)
5846 (view-return-to-alist): Delete vars.
5847 (python-check-custom-command, python-dotty-syntax-table)
5848 (python-imenu-index-alist, python-indent-current-level)
5849 (python-indent-dedenters, python-indent-levels)
5850 (python-nav-beginning-of-defun-regexp)
5851 (python-nav-list-defun-positions-cache)
5852 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5853 (python-shell-internal-buffer)
5854 (python-skeleton-available): New vars.
5855 (def-python-skeleton): Delete macro.
5856 (python-skeleton-define): New macro.
5857 (python-define-auxiliary-skeleton, python-rx): New macros.
5858 (python-insert-class): Delete command.
5859 (python-skeleton-class): New command.
5860 (python-insert-def): Delete command.
5861 (python-skeleton-def): New command.
5862 (python-insert-for): Delete command.
5863 (python-skeleton-for): New command.
5864 (python-insert-if): Delete command.
5865 (python-skeleton-if): New command.
5866 (python-insert-try/except, python-insert-try/finally): Delete commands.
5867 (python-skeleton-try): New command.
5868 (python-insert-while): Delete command.
5869 (python-skeleton-while): New command.
5870 (python-backspace): Delete command.
5871 (python-indent-dedent-line-backspace): New command.
5872 (python-electric-colon): Delete command.
5873 (python-indent-electric-colon): New command.
5874 (python-guess-indent): Delete command.
5875 (python-indent-guess-indent-offset): New command.
5876 (python-shift-left): Delete command.
5877 (python-indent-shift-left): New command.
5878 (python-shift-right): Delete command.
5879 (python-indent-shift-right): New command.
5880 (python-find-function): Delete command.
5881 (python-nav-jump-to-defun): New command.
5882 (python-next-statement): Delete command.
5883 (python-nav-forward-sentence): New command.
5884 (python-previous-statement): Delete command.
5885 (python-nav-backward-sentence): New command.
5886 (python-fill-paragraph): Delete command.
5887 (python-fill-paragraph-function): New command.
5888 (python-send-buffer): Delete command.
5889 (python-shell-send-buffer): New command.
5890 (python-send-defun): Delete command.
5891 (python-shell-send-defun): New command.
5892 (python-send-region, python-send-region-and-go): Delete commands.
5893 (python-shell-send-region)
5894 (python-shell-switch-to-shell): New commands.
5895 (python-send-string): Delete command.
5896 (python-shell-send-string): New command.
5897 (python-switch-to-python): Delete command.
5898 (python-shell-switch-to-shell): New command.
5899 (python-describe-symbol): Delete command.
5900 (python-eldoc-at-point): New command.
5901 (python--set-prompt-regexp, python-args-to-list)
5902 (python-after-info-look, python-check-version)
5903 (python-check-comint-prompt, python-find-imports)
5904 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5905 (python-unload-function, python-expand-template)
5906 (python-maybe-jython, python-preoutput-filter)
5907 (python-pdbtrack-get-source-buffer)
5908 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5909 (python-pdbtrack-toggle-stack-tracking)
5910 (python-pdbtrack-track-stack-file, python-initial-text)
5911 (python-first-word, python-comment-line-p, python-send-command)
5912 (python-setup-brm, python-sentinel, python-set-proc)
5913 (python-skip-out, python-input-filter, python-outdent-p)
5914 (python-outline-level, python-backslash-continuation-line-p)
5915 (python-end-of-block, python-end-of-statement, python-mark-block)
5916 (python-beginning-of-block, python-beginning-of-statement)
5917 (python-blank-line-p, python-beginning-of-string)
5918 (python-open-block-statement-p): Delete functions.
5919 (python-indent-line, python-indent-line-1): Delete functions.
5920 (python-indent-line): New function.
5921 (python-indentation-levels): Delete function.
5922 (python-indent-calculate-levels): New function.
5923 (python-proc): Delete function.
5924 (python-shell-get-process): New function.
5925 (python-send-receive): Delete function.
5926 (python-shell-send-string-no-output): New function.
5927 (python-module-path): Delete function.
5928 (python-ffap-module-path): New function.
5929 (python-completion-at-point)
5930 (python-symbol-completions): Delete functions.
5931 (python-completion-complete-at-point): New function.
5932 (python-load-file): Delete function.
5933 (python-shell-send-file): New function.
5934 (python-calculate-indentation): Delete function.
5935 (python-indent-calculate-indentation): New function.
5936 (python-skip-comments/blanks): Delete function.
5937 (python-util-forward-comment): New function.
5938 (python-continuation-line-p): Delete function.
5939 (python-info-continuation-line-p): New function.
5940 (python-which-func, python-current-defun): Delete function.
5941 (python-info-current-defun): New function.
5942 (python-beginning-of-defun): Delete function.
5943 (python-nav-beginning-of-defun): New function.
5944 (python-close-block-statement-p)
5945 (python-block-end-p): Delete function.
5946 (python-info-closing-block): New function.
5947 (python-comint-output-filter-function)
5948 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5949 (python-fill-comment, python-fill-decorator, python-fill-paren)
5950 (python-fill-string, python-imenu-make-element-tree)
5951 (python-imenu-make-tree, python-imenu-tree-assoc)
5952 (python-indent-context, python-indent-dedent-line)
5953 (python-indent-line-function)
5954 (python-indent-post-self-insert-function)
5955 (python-indent-toggle-levels)
5956 (python-info-assignment-continuation-line-p)
5957 (python-info-beginning-of-backlash)
5958 (python-info-block-continuation-line-p)
5959 (python-info-closing-block-message)
5960 (python-info-line-ends-backslash-p)
5961 (python-info-looking-at-beginning-of-defun)
5962 (python-info-ppss-context, python-info-ppss-context-type)
5963 (python-nav-list-defun-positions, python-nav-read-defun)
5964 (python-nav-sentence-end, python-nav-sentence-start)
5965 (python-pdbtrack-comint-output-filter-function)
5966 (python-pdbtrack-set-tracked-buffer)
5967 (python-shell-calculate-exec-path)
5968 (python-shell-calculate-process-environment)
5969 (python-shell-completion--do-completion-at-point)
5970 (python-shell-completion--get-completions)
5971 (python-shell-completion-complete-at-point)
5972 (python-shell-completion-complete-or-indent)
5973 (python-shell-get-or-create-process)
5974 (python-shell-get-process-name)
5975 (python-shell-internal-get-or-create-process)
5976 (python-shell-internal-get-process-name)
5977 (python-shell-internal-send-string, python-shell-make-comint)
5978 (python-shell-parse-command, python-shell-send-setup-code)
5979 (python-skeleton-add-menu-items)
5980 (python-util-clone-local-variables, python-util-position)
5981 (run-python-internal, python-indentation-levels)
5982 (python-nav-beginning-of-defun)
5983 (python-completion-complete-at-point): New functions.
5984 (run-python): Change arguments. New API requirements.
5985
5986 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5987
5988 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5989 (bug#11649).
5990
5991 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5992 (macroexp--expand-all): Use it.
5993
5994 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5995 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5996 Use `cl-function' instead.
5997
5998 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
5999
6000 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6001 Suggested by Stefan Monnier while discussing bug#11657.
6002
6003 2012-06-14 Sam Steingold <sds@gnu.org>
6004
6005 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6006
6007 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
6008
6009 * play/doctor.el (doctor-doc): Remove parameter and use
6010 doctor-sent instead of sent.
6011 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
6012
6013 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6014
6015 * files.el: Require cl-lib.
6016 (file-name-non-special): Replace case -> cl-case.
6017
6018 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6019
6020 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6021 mapping from #' to function*.
6022
6023 2012-06-13 Chong Yidong <cyd@gnu.org>
6024
6025 * mouse.el (mouse-drag-track): Do not set the mark if the user
6026 releases the mouse without selecting anything (Bug#11588).
6027
6028 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6029
6030 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6031 as well (bug#11646).
6032
6033 * loadup.el: Count byte-code functions as well.
6034
6035 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6036 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6037
6038 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6039 (bug#11649). Add cl-defun and cl-defmacro.
6040
6041 2012-06-13 Drew Adams <drew.adams@oracle.com>
6042
6043 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6044 Fix last change.
6045
6046 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
6047
6048 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6049 Otherwise, it blocks in batch mode.
6050
6051 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
6052
6053 * help-mode.el (bookmark-make-record-default): Declare.
6054
6055 2012-06-13 Chong Yidong <cyd@gnu.org>
6056
6057 * emacs-lisp/package.el (list-packages): Compute a list of
6058 packages that are newly-available since the last list-packages
6059 invocation.
6060 (package-menu--new-package-list): New var.
6061 (package-menu--generate, package-menu--print-info)
6062 (package-menu--status-predicate, package-menu-mark-install):
6063 Handle new status label "new".
6064
6065 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6066
6067 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
6068 conversion to backquotes.
6069
6070 2012-06-12 Chong Yidong <cyd@gnu.org>
6071
6072 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
6073 Rename from gud-inhibit-global-bindings.
6074
6075 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
6076
6077 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
6078 hook from nxml-glyph-set-hook.
6079
6080 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6081 declaration.
6082
6083 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6084
6085 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
6086 Convert to defcustom.
6087
6088 2012-06-12 Drew Adams <drew.adams@oracle.com>
6089
6090 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6091 New functions.
6092 (help-mode): Use them.
6093
6094 2012-06-11 Glenn Morris <rgm@gnu.org>
6095
6096 * progmodes/fortran.el (fortran-font-lock-keywords-3):
6097 Use preprocessor face for directives.
6098 (fortran-directive-re): Doc fix.
6099
6100 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6101
6102 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
6103 conversion to backquotes (bug#11652).
6104
6105 Fix compiler-expansion of CL's cXXr functions (bug#11673).
6106 * emacs-lisp/cl-lib.el (cl--defalias): New function.
6107 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
6108 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
6109 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6110 (cl-ninth, cl-tenth): Mark them as inlinable.
6111 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
6112 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
6113 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
6114 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
6115 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
6116 (cl-list*, cl-adjoin): Don't put an autoload manually.
6117 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
6118 (cl--compiler-macro-list*): Add autoload cookie.
6119 (cl--compiler-macro-cXXr): New function.
6120
6121 * help-fns.el (help-fns--compiler-macro): New function extracted from
6122 describe-function-1; follow aliases and use `compiler-macro' property.
6123 (describe-function-1): Use it.
6124
6125 2012-06-11 Chong Yidong <cyd@gnu.org>
6126
6127 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
6128 is uninstalled, if imagemagick is installed.
6129
6130 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6131
6132 * emacs-lisp/cl-lib.el: Use lexical-binding.
6133 (cl-map-extents, cl-maclisp-member): Remove.
6134 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
6135 (cl--set-substring, cl--block-wrapper, cl--block-throw)
6136 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
6137 * emacs-lisp/cl-extra.el: Use lexical-binding.
6138 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
6139 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
6140 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
6141 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
6142 * emacs-lisp/cl-seq.el: Use lexical-binding.
6143 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
6144 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
6145 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
6146 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
6147 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
6148 CL's internals.
6149
6150 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
6151
6152 Sync with Tramp 2.2.6-pre.
6153
6154 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
6155 `print-length' and `print-level' to nil, in order to avoid
6156 truncation. Reported by Christopher Schmidt
6157 <christopher@ristopher.com>.
6158
6159 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
6160
6161 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
6162 New defmacro.
6163 (tramp-compat-copy-directory): Add optional argument
6164 COPY-CONTENTS. It is not handled yet.
6165
6166 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
6167 (tramp-ftp-file-name-p): Simplify.
6168
6169 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
6170 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
6171 connection vector.
6172
6173 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
6174 (tramp-methods): Do not use `tramp-password-end-of-line'.
6175 (tramp-completion-function-alist-putty): Handle UNIX case.
6176 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
6177 (tramp-do-file-attributes-with-stat)
6178 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
6179 gid as real numbers. They could run out of integer range on cygwin.
6180 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
6181 (tramp-sh-handle-expand-file-name): Handle hops.
6182 (tramp-open-connection-setup-interactive-shell):
6183 Use `tramp-cleanup'. Move check for busyboxes ...
6184 (tramp-find-shell): ... here. Simplify implementation.
6185 Set "remote-shell" property also for alternative shells.
6186 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
6187 If failing, a regular file would be written otherwise.
6188 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
6189 (tramp-find-inline-encoding): Cache the coding commands in the
6190 process cache. Apply test command on the remote side, if defined.
6191 (tramp-find-inline-compress): Cache the compress commands in the
6192 process cache.
6193 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
6194 when requested. Handle hops.
6195 (tramp-current-connection): New defvar.
6196 (tramp-maybe-open-connection): Use `tramp-cleanup'.
6197 Throw `suppress', if there was a failed connection shortly before.
6198 Handle user interrupt. (Bug#10187)
6199 (tramp-get-inline-compress, tramp-get-inline-coding):
6200 Read connection properties from the process cache.
6201
6202 * net/tramp-smb.el (tramp-smb-server-version)
6203 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
6204 New defconsts.
6205 (tramp-smb-prompt): Extend for powershell prompt.
6206 (tramp-smb-file-name-handler-alist): Add handlers for
6207 `process-file', `shell-command' and `start-file-process'.
6208 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
6209 (tramp-smb-winexe-shell-command-switch): New defcustoms.
6210 (tramp-smb-file-name-p): Simplify.
6211 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
6212 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
6213 (tramp-smb-shell-quote-argument): New defuns.
6214 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
6215 Implement using "tar". By this, time-stamps are preserved.
6216 (tramp-smb-handle-copy-file): Handle also the case of directories.
6217 (tramp-smb-do-file-attributes-with-stat)
6218 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
6219 Use `tramp-get-connection-buffer').
6220 (tramp-smb-handle-rename-file): Use "rename", when source and
6221 target are on the same share.
6222 (tramp-smb-maybe-open-connection): Handle wrong passwords.
6223 Use `tramp-smb-server-version'.
6224 (tramp-smb-wait-for-output): Remove prompt.
6225
6226 * net/tramp.el (top): Require 'cl.
6227 (tramp-methods, tramp-rsh-end-of-line):
6228 Remove `tramp-password-end-of-line' from docstring.
6229 (tramp-save-ad-hoc-proxies): New defcustom.
6230 (tramp-completion-function-alist): Adapt docstring.
6231 (tramp-default-password-end-of-line): Remove defcustom.
6232 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
6233 (tramp-user-regexp, tramp-file-name-regexp-unified)
6234 (tramp-file-name-regexp-url): Extend regexp by hop separator.
6235 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
6236 (tramp-remote-file-name-spec-regexp): New defconst.
6237 (tramp-file-name-structure): Extend structure for hops.
6238 (tramp-get-method-parameter): Move up.
6239 (tramp-file-name-p, tramp-dissect-file-name)
6240 (with-parsed-tramp-file-name): Handle hops.
6241 (tramp-file-name-hop): New defun.
6242 (tramp-make-tramp-file-name): New optional arg HOP.
6243 (tramp-message-show-progress-reporter-message): New defvar.
6244 (tramp-with-progress-reporter): Use it. We cannot use
6245 `tramp-message-show-message' here, because this suppresses also
6246 error buffers.
6247 (tramp-error-with-buffer): Suppress buffer view, if
6248 `tramp-message-show-message' is nil.
6249 Use `tramp-get-connection-buffer'.
6250 (tramp-cleanup): New defun.
6251 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
6252 (tramp-file-name-handler): If `debug-on-error' is set, propagate
6253 an error unchanged.
6254 (tramp-completion-handle-file-name-all-completions): Handle hops.
6255 Fix an error when called from ido.
6256 (tramp-completion-dissect-file-name): Use better local variable
6257 name. Add hop to the vector.
6258 (tramp-handle-insert-file-contents): Use progress-reporter for the
6259 whole scenario.
6260 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
6261 to `t'.
6262 (tramp-check-for-regexp): Simplify search.
6263 (tramp-enter-password): Remove it. Move implementation ...
6264 (tramp-action-password): ... here.
6265 (tramp-mode-string-to-int, tramp-local-host-p)
6266 (tramp-make-tramp-temp-file, tramp-read-passwd)
6267 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
6268 Set tramp-autoload cookie.
6269
6270 * net/trampver.el: Update release number.
6271
6272 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6273 Michael Albinus <michael.albinus@gmx.de>
6274
6275 * net/tramp.el (tramp-set-completion-function): Fix docstring.
6276 (tramp-parse-group, tramp-parse-file)
6277 (tramp-parse-shostkeys-sknownhosts): New defuns.
6278 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
6279 (tramp-parse-shosts-group, tramp-parse-sconfig)
6280 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
6281 (tramp-parse-sknownhosts, tramp-parse-hosts)
6282 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6283 Use them.
6284 (tramp-parse-passwd-group, tramp-parse-netrc-group)
6285 (tramp-parse-putty-group): Don't narrow.
6286 (tramp-parse-putty): Make a loop.
6287 (tramp-file-name-handler): Catch the `suppress' signal.
6288
6289 2012-06-11 Chong Yidong <cyd@gnu.org>
6290
6291 * image.el (imagemagick-register-types): Put the ImageMagick entry
6292 at the end of image-type-file-name-regexps.
6293
6294 2012-06-11 Johan Bockgård <bojohan@gnu.org>
6295
6296 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6297 (pcase, pcase-let*, pcase-dolist): Use them.
6298
6299 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6300
6301 * emacs-lisp/pcase.el (pcase--let*): New function.
6302 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
6303 (pcase--expand): Use macroexp-let².
6304
6305 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6306
6307 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6308 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6309 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6310 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6311 * emacs-lisp/derived.el: Use pcase instead of `cl'.
6312 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6313
6314 2012-06-10 Glenn Morris <rgm@gnu.org>
6315
6316 * mail/rmail.el (rmail-yank-current-message): Leave point at
6317 correct position. (Bug#11660)
6318
6319 2012-06-10 Chong Yidong <cyd@gnu.org>
6320
6321 * allout-widgets.el: Fix code header.
6322
6323 2012-06-10 Chong Yidong <cyd@gnu.org>
6324
6325 * cus-edit.el (customize-changed-options-previous-release):
6326 Bump to 24.1.
6327
6328 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
6329
6330 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6331
6332 2012-06-09 Chong Yidong <cyd@gnu.org>
6333
6334 * ebuff-menu.el (electric-buffer-list): Preserve header line.
6335
6336 2012-06-09 Martin Rudalics <rudalics@gmx.at>
6337
6338 * window.el (special-display-popup-frame): Don't use
6339 window--display-buffer (Bug#11651).
6340
6341 2012-06-09 Eli Zaretskii <eliz@gnu.org>
6342
6343 Fix parallel builds: make sure loaddefs.el is not being written
6344 while Lisp files are compiled.
6345 (compile): Don't depend on 'mh-autoloads'.
6346 (compile-CMD, compile-SH): Depend on 'autoloads'.
6347 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6348
6349 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
6350
6351 2012-06-09 Chong Yidong <cyd@gnu.org>
6352
6353 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6354 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6355 Doc fixes (Bug#11225).
6356
6357 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6358
6359 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6360 a function if there's a clear indication that it has a compiler-macro.
6361 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6362 (macro-declarations-alist): Add arglist to declaration functions.
6363 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6364 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6365 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6366 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6367 Also add autoload to find the compiler macro.
6368 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6369 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6370 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6371 (cl--compiler-macro-get): New functions, replacing calls to
6372 cl-define-compiler-macro.
6373 (cl-typep) [compiler-macro]: Use macroexp-let².
6374
6375 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
6376
6377 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6378 string properly, fixes Bug#11473.
6379
6380 2012-06-08 Chong Yidong <cyd@gnu.org>
6381
6382 * faces.el (set-face-attribute): Doc fix.
6383 (modify-face): Don't use :bold and :italic.
6384 (error, warning, success): Tweak definitions.
6385
6386 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6387 (custom-modified, custom-set, custom-changed, custom-themed)
6388 (custom-saved, custom-button, custom-button-mouse)
6389 (custom-button-pressed, custom-state, custom-comment-tag)
6390 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6391 (custom-group-subtitle): Use new-style face specs.
6392 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6393 (custom-set-face, custom-changed-face, custom-saved-face)
6394 (custom-button-face, custom-button-pressed-face)
6395 (custom-documentation-face, custom-state-face)
6396 (custom-comment-face, custom-comment-tag-face)
6397 (custom-variable-tag-face, custom-variable-button-face)
6398 (custom-face-tag-face, custom-group-tag-face-1)
6399 (custom-group-tag-face): Remove obsolete face alias.
6400
6401 * epa.el (epa-validity-high, epa-validity-medium)
6402 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6403 (epa-field-name, epa-field-body):
6404 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6405 (font-lock-keyword-face, font-lock-builtin-face)
6406 (font-lock-function-name-face, font-lock-variable-name-face)
6407 (font-lock-type-face, font-lock-constant-face):
6408 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6409 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6410 * speedbar.el (speedbar-button-face, speedbar-file-face)
6411 (speedbar-directory-face, speedbar-tag-face)
6412 (speedbar-selected-face, speedbar-highlight-face)
6413 (speedbar-separator-face):
6414 * whitespace.el (whitespace-newline, whitespace-space)
6415 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6416 (whitespace-line, whitespace-space-before-tab)
6417 (whitespace-space-after-tab, whitespace-indentation)
6418 (whitespace-empty):
6419 * emulation/cua-base.el (cua-global-mark):
6420 * eshell/em-prompt.el (eshell-prompt):
6421 * net/newst-plainview.el (newsticker-new-item-face)
6422 (newsticker-old-item-face, newsticker-immortal-item-face)
6423 (newsticker-obsolete-item-face, newsticker-date-face)
6424 (newsticker-statistics-face, newsticker-default-face):
6425 * net/newst-reader.el (newsticker-feed-face)
6426 (newsticker-extra-face, newsticker-enclosure-face):
6427 * net/newst-treeview.el (newsticker-treeview-face)
6428 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6429 (newsticker-treeview-immortal-face)
6430 (newsticker-treeview-obsolete-face)
6431 (newsticker-treeview-selection-face):
6432 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6433 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6434 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6435 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6436 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6437 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6438 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6439 (mpuz-text):
6440 * progmodes/vera-mode.el (vera-font-lock-number)
6441 (vera-font-lock-function, vera-font-lock-interface):
6442 * textmodes/table.el (table-cell): Use new-style face specs, and
6443 don't use the old :bold and :italic attributes.
6444
6445 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6446 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6447 (ebrowse-member-class, ebrowse-progress): Likewise.
6448 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6449 (ebrowse-file-name-face, ebrowse-default-face)
6450 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6451 (ebrowse-progress-face): Remove obsolete faces.
6452
6453 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6454 Inherit from error and warning faces respectively.
6455
6456 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6457 Likewise.
6458 (flyspell-incorrect-face, flyspell-duplicate-face):
6459 Remove obsolete aliases.
6460
6461 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
6462
6463 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6464 Avoid infloop.
6465
6466 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6467
6468 * startup.el (argv, argi): Make lexically scoped.
6469 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6470 * emacs-lisp/cl-macs.el: Use lexical-binding.
6471 Rename cl-bind-* to cl--bind-*.
6472 * files.el: Don't require `cl' since it doesn't use it.
6473 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6474
6475 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
6476
6477 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6478 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6479 instead of calling external sort utility.
6480 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6481
6482 2012-06-08 Eli Zaretskii <eliz@gnu.org>
6483
6484 * descr-text.el (describe-char): Mention how to insert the
6485 character, if the current input method doesn't support it.
6486 See the discussion in this thread for the details:
6487 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6488
6489 2012-06-08 Sam Steingold <sds@gnu.org>
6490
6491 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6492 XF86Back to previous-buffer.
6493 (minibuffer-local-map): Bind them to next-history-element and
6494 previous-history-element respectively.
6495 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6496 help-go-back respectively.
6497 * info.el (Info-mode-map): Bind them to Info-history-forward and
6498 Info-history-back respectively.
6499 These are the keys next to Up on the ThinkPad keyboard.
6500
6501 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6502
6503 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6504 * emacs-lisp/cl-macs.el: Provide itself.
6505 (cl--labels-convert-cache): New var.
6506 (cl--labels-convert): New function.
6507 (cl-flet, cl-labels): New implementation with new semantics, relying on
6508 lexical-binding.
6509 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6510 (cl-closure-vars, cl--function-convert-cache)
6511 (cl--function-convert): Move from cl-macs.el.
6512 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6513 rename by removing the "cl-" prefix.
6514 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6515
6516 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6517
6518 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6519 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6520 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6521 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6522 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6523 (cl-hash-table-count): Add old compatibility aliases.
6524
6525 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6526 Use macroexpand-all-environment instead.
6527 (cl--old-macroexpand): New var.
6528 (cl--sm-macroexpand): New function.
6529 (cl-symbol-macrolet): Use it during macro expansion.
6530 (cl--function-convert-cache): New var.
6531 (cl--function-convert): New function, extracted from
6532 cl-macroexpand-all.
6533 (cl-lexical-let): Use it.
6534
6535 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6536 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6537 (cl-member): Remove old alias.
6538
6539 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6540 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6541 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6542 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6543 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6544 (cl-macroexpand-cmacs): Remove var.
6545 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6546 Use macroexpand-all instead.
6547
6548 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6549
6550 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6551 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6552 (macroexp-copyable-p): New functions and macros.
6553 * emacs-lisp/edebug.el (edebug-unwrap):
6554 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6555 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6556 (pcase--let*): Remove.
6557 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6558 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6559 macroexp-const-p instead.
6560 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6561
6562 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6563 instead of "cl-" for internal definitions. Use macroexp-const-p.
6564 (cl-old-bc-file-form): Remove var.
6565 (cl-const-exprs-p): Remove fun.
6566 (cl-labels, cl-macrolet): Use backquote.
6567 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6568 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6569 (cl-define-setf-expander): Rename from cl-define-setf-method.
6570 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6571
6572 * international/mule-cmds.el: Don't require CL.
6573 (view-hello-file): Don't use `letf'.
6574
6575 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6576
6577 * tmm.el (tmm-prompt): Use string-prefix-p.
6578 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6579 (tmm-add-prompt): Use minibuffer-completion-help.
6580 (tmm-delete-map): Remove.
6581
6582 * subr.el (kbd): Make it its own function.
6583
6584 2012-06-07 Stefan Merten <smerten@oekonux.de>
6585
6586 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6587 Silence compiler warnings. Fix versions.
6588 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
6589 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
6590 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
6591 (rst-package-emacs-version-alist): Correct Emacs version to
6592 represent major merge with upstream.
6593 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
6594
6595 2012-06-06 Glenn Morris <rgm@gnu.org>
6596
6597 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6598 Only print environment variables if set.
6599
6600 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6601
6602 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6603 (macroexp--cons): Rename from maybe-cons.
6604 (macroexp--accumulate): Rename from macroexp-accumulate.
6605 (macroexp--all-forms): Rename from macroexpand-all-forms.
6606 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6607 (macroexp--expand-all): Rename from macroexpand-all-1.
6608
6609 2012-06-06 Sam Steingold <sds@gnu.org>
6610
6611 * calendar/calendar.el (calendar-in-read-only-buffer):
6612 Call `special-mode' to enable the standard read-only keybindings.
6613
6614 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6615
6616 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6617 with "loading" messages (bug#11635).
6618
6619 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
6620
6621 * files.el (enable-remote-dir-locals): New option.
6622 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6623
6624 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6625 Ensure, that the temp directory is local.
6626
6627 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6628 `temporary-file-directory'.
6629
6630 * progmodes/python.el (python-send-region): Ensure, that the
6631 temporary file is created also in the remote case.
6632
6633 2012-06-06 Glenn Morris <rgm@gnu.org>
6634
6635 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6636 (vc-rcs-update-changelog): Use it.
6637
6638 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
6639
6640 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6641 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6642 (vc-sccs-diff): Replace use of the external vcdiff script.
6643
6644 2012-06-05 Glenn Morris <rgm@gnu.org>
6645
6646 * ledit.el: Move to obsolete/.
6647
6648 2012-06-05 Sam Steingold <sds@gnu.org>
6649
6650 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
6651 patch (Bug#11140).
6652
6653 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6654
6655 * emacs-lisp/cust-print.el: Move to obsolete.
6656
6657 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6658 compiler-macro expansion.
6659
6660 Add native compiler-macro support.
6661 * emacs-lisp/macroexp.el (macroexpand-all-1):
6662 Support compiler-macros directly. Properly follow aliases and apply
6663 the compiler macros more thoroughly.
6664 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6665 macroexpand now properly follows aliases.
6666 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6667 (cl-compiler-macroexpand): Use new prop.
6668 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6669
6670 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6671
6672 2012-06-05 Martin Rudalics <rudalics@gmx.at>
6673
6674 * window.el (get-lru-window, get-mru-window, get-largest-window):
6675 New argument NOT-SELECTED to avoid picking the selected window.
6676 (window--display-buffer-1, window--display-buffer-2): Replace by
6677 new function window--display-buffer
6678 (display-buffer-same-window, display-buffer-reuse-window)
6679 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6680 Use window--display-buffer.
6681 (display-buffer-use-some-window): Remove temporary dedication
6682 hack by calling get-lru-window and get-largest-window with
6683 NOT-SELECTED argument non-nil. Call window--display-buffer.
6684
6685 2012-06-05 Glenn Morris <rgm@gnu.org>
6686
6687 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6688 Replace external vcdiff script.
6689
6690 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6691
6692 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6693
6694 2012-06-04 Chong Yidong <cyd@gnu.org>
6695
6696 * image.el (imagemagick-types-inhibit): Revert last change.
6697 Add INFO and M.
6698 (imagemagick-enabled-types): Remove CIN and EPS*.
6699
6700 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6701
6702 * emacs-lisp/cl-lib.el: Rename from cl.el.
6703 * emacs-lisp/cl.el: New compatibility file.
6704 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6705 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6706 to obey the "cl-" prefix.
6707 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6708
6709 2012-06-03 Glenn Morris <rgm@gnu.org>
6710
6711 * emacs-lisp/authors.el (authors-aliases): Addition.
6712
6713 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6714 Fix :version.
6715
6716 2012-06-03 Stefan Merten <smerten@oekonux.de>
6717
6718 * textmodes/rst.el: Add comments.
6719 (rst-transition, rst-adornment): New faces.
6720 (rst-adornment-faces-alist): Make default safe to reevaluate.
6721 Fixes
6722 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6723 Improve customization tags.
6724 (rst-define-level-faces): Clarify meaning.
6725
6726 2012-06-03 Chong Yidong <cyd@gnu.org>
6727
6728 * progmodes/compile.el (compilation-mode-line-fail)
6729 (compilation-mode-line-run, compilation-mode-line-exit):
6730 New faces.
6731 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6732
6733 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6734
6735 * progmodes/which-func.el (which-func-update-ediff-windows):
6736 New function. Use it in ediff-select-hook (Bug#11478).
6737
6738 2012-06-03 Chong Yidong <cyd@gnu.org>
6739
6740 * bindings.el: Remove explicit help text from format-mode-line.
6741 It is now supplied by mode-line-default-help-echo.
6742 (mode-line-front-space, mode-line-end-spaces)
6743 (mode-line-misc-info): New variables.
6744 (mode-line-modes, mode-line-position): Move the default value to
6745 the variable definition.
6746 (mode-line-default-help-echo): New defcustom.
6747 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6748 (mode-line-modified-help-echo): New functions.
6749 (mode-line-mule-info, mode-line-modified): Use them.
6750 (mode-line-eol-desc, propertized-buffer-identification):
6751 Consistency fixes for help text.
6752 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6753 set-buffer-file-coding-system (Bug#289).
6754 (mode-line-mule-info-help-echo): Update help text.
6755
6756 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6757
6758 * simple.el (execute-extended-command): Set real-this-command
6759 (bug#11506).
6760
6761 2012-06-02 Chong Yidong <cyd@gnu.org>
6762
6763 Remove incorrect uses of "modeline" in comments, docstrings, and
6764 function/variable names (Bug#10329).
6765
6766 * cus-edit.el (mode-line):
6767 * dframe.el (dframe-mouse-hscroll):
6768 * emacs-lisp/re-builder.el:
6769 * emacs-lisp/easy-mmode.el (define-minor-mode):
6770 * frame.el (set-frame-name):
6771 * help.el (lookup-minor-mode-from-indicator):
6772 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6773 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6774 (c-toggle-hungry-state):
6775 * progmodes/antlr-mode.el (antlr-language-alist):
6776 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6777 * progmodes/vhdl-mode.el (vhdl-mode):
6778 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6779 * term/ns-win.el (ns-face-at-pos):
6780 * term/sup-mouse.el (sup-mouse-report):
6781 * textmodes/flyspell.el (flyspell-mode-line-string):
6782 * textmodes/ispell.el (ispell-highlight-face):
6783 * textmodes/reftex-global.el:
6784 * vc/vc-arch.el (vc-arch-mode-line-string):
6785 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6786 * vc/vc-git.el (vc-git-mode-line-string):
6787 * vc/vc-hooks.el (vc-display-status)
6788 (vc-default-mode-line-string):
6789 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6790
6791 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6792
6793 * dired.el (dired-sort-set-mode-line): Rename from
6794 dired-sort-set-modeline. All callers changed.
6795
6796 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6797 eshell-status-in-modeline.
6798
6799 * foldout.el (foldout-mode-line-string): Rename from
6800 foldout-modeline-string. All callers changed.
6801 (foldout-update-mode-line): Rename from foldout-update-modeline.
6802
6803 * subr.el (redraw-modeline): Make into obsolete alias.
6804
6805 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6806 timeclock-modeline-display. Make old name an alias.
6807 (timeclock-update-mode-line): Likewise. All callers changed.
6808 (timeclock-mode-line-display): No need to check before using
6809 add-hook.
6810 (timeclock-relative, timeclock-day-over-hook)
6811 (timeclock-use-elapsed, timeclock-mode-string)
6812 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6813
6814 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6815 crisp-mode-modeline-string.
6816
6817 * play/solitaire.el (solitaire-build-mode-line): Rename from
6818 solitaire-build-modeline. All callers changed.
6819
6820 * play/zone.el (zone-hiding-mode-line): Rename from
6821 zone-hiding-modeline. All callers changed.
6822 (zone): Remove unusued `modeline-hidden-level' property.
6823
6824 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6825 xscheme-modeline-initialize. All callers changed.
6826
6827 * strokes.el (strokes-lighter): Rename from
6828 strokes-modeline-string.
6829
6830 * textmodes/sgml-mode.el (html-face-tag-alist)
6831 (html-tag-face-alist): Use mode-line face instead of obsolete
6832 alias modeline.
6833
6834 2012-06-02 Stefan Merten <smerten@oekonux.de>
6835
6836 * textmodes/rst.el: Always require `cl'.
6837 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
6838
6839 2012-06-02 Chong Yidong <cyd@gnu.org>
6840
6841 * image.el (imagemagick-enabled-types): Rename from
6842 imagemagick-types-enable. Add many more types.
6843 (imagemagick-types-inhibit): Change default to nil.
6844 (imagemagick-filter-types): Caller changed.
6845
6846 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6847
6848 * emacs-lisp/cl-macs.el: Use backquotes.
6849 (cl-transform-function-property): Use eval-and-compile rather than
6850 abusing `require'.
6851 (defstruct): Use declare-function instead of with-no-warnings.
6852
6853 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6854 (byte-compile-output-docform): Re-add the print-circle bindings.
6855 (byte-compile-fix-header): Use #$ just because it's shorter.
6856 (byte-compile-output-file-form): Remove defun/defmacro.
6857
6858 2012-06-01 Martin Rudalics <rudalics@gmx.at>
6859
6860 * simple.el (choose-completion): Remove now obsolete binding for
6861 owindow.
6862
6863 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
6864
6865 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6866 in order to avoid "Stack overflow in regexp matcher".
6867
6868 2012-05-31 Glenn Morris <rgm@gnu.org>
6869
6870 * image.el: For clarity, call imagemagick-register-types at
6871 top-level, rather than relying on a custom :initialize.
6872 (imagemagick-types-enable): New option. (Bug#11557)
6873 (imagemagick-filter-types): New function. (Bug#7406)
6874 (imagemagick-register-types): Use imagemagick-filter-types.
6875 If disabling support, remove elements altogether rather
6876 than using an impossible regexp.
6877 (imagemagick-types-inhibit): Give it the default init function.
6878
6879 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6880
6881 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6882 Handle arbitrary file name lengths (Bug#11585).
6883
6884 2012-05-31 Martin Rudalics <rudalics@gmx.at>
6885
6886 * desktop.el (desktop-read): Clear previous and next buffers for
6887 all windows and bury *Messages* buffer (bug#11556).
6888
6889 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6890
6891 Add `declare' for `defun'. Align `defmacro's with it.
6892 * emacs-lisp/easy-mmode.el (define-minor-mode)
6893 (define-globalized-minor-mode): Don't autoload the var definitions.
6894 * emacs-lisp/byte-run.el: Use lexical-binding.
6895 (defun-declarations-alist, macro-declarations-alist): New vars.
6896 (defmacro, defun): Use them.
6897 (make-obsolete, define-obsolete-function-alias)
6898 (make-obsolete-variable, define-obsolete-variable-alias):
6899 Use `declare'.
6900 (macro-declaration-function): Mark obsolete.
6901 * emacs-lisp/autoload.el: Use lexical-binding.
6902 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6903
6904 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6905
6906 * textmodes/ispell.el (ispell-with-no-warnings):
6907 Define as a macro.
6908 (ispell-kill-ispell, ispell-change-dictionary):
6909 Use `called-interactively-p' for Emacs instead of obsolete
6910 `interactive-p'.
6911
6912 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6913
6914 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6915 (macro-declaration-function): Move var from C code.
6916 (macro-declaration-function): Define function with defalias.
6917 * emacs-lisp/macroexp.el (macroexpand-all-1):
6918 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6919 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6920 defun/defmacro any more.
6921 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6922 Provide fallback for unknown arglist.
6923 (byte-compile-arglist-warn): Change calling convention.
6924 (byte-compile-output-file-form): Move print-vars binding.
6925 (byte-compile-output-docform): Simplify accordingly.
6926 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6927 (byte-compile-defmacro-declaration): Remove.
6928 (byte-compile-file-form-defmumble): Generalize to defalias.
6929 (byte-compile-output-as-comment): Return byte-positions.
6930 Simplify callers accordingly.
6931 (byte-compile-lambda): Use `assert'.
6932 (byte-compile-defun, byte-compile-defmacro): Remove.
6933 (byte-compile-file-form-defalias):
6934 Use byte-compile-file-form-defmumble.
6935 (byte-compile-defalias-warn): Remove.
6936
6937 2012-05-29 Stefan Merten <smerten@oekonux.de>
6938
6939 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
6940 possible. Fix authors. Improve comments. Improve loading of `cl'.
6941
6942 (rst-mode-abbrev-table): Merge definition.
6943 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6944 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6945
6946 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
6947
6948 * calendar/icalendar.el
6949 (icalendar-export-region): Export UID properly.
6950
6951 2012-05-29 Leo Liu <sdl.web@gmail.com>
6952 * calendar/icalendar.el (icalendar-import-format):
6953 Add `icalendar-import-format-uid' (Bug#11525).
6954 (icalendar-import-format-uid): New.
6955 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6956 Export UID.
6957
6958 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6959
6960 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6961 different alternative patterns.
6962 (pcase-codegen): Be more careful to preserve identity.
6963 (pcase--u1): Don't forget to mark vars as used.
6964
6965 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6966 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6967 (byte-compile-from-buffer): ...rather than here.
6968
6969 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6970 functions from byte-compile-function-environment.
6971
6972 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
6973
6974 * window.el (window-deletable-p): Avoid deleting the root window
6975 of a frame with an active minibuffer.
6976
6977 2012-05-29 Martin Rudalics <rudalics@gmx.at>
6978
6979 * simple.el (choose-completion): Use quit-window (Bug#11567).
6980
6981 2012-05-29 Chong Yidong <cyd@gnu.org>
6982
6983 * whitespace.el (whitespace-cleanup): Fix usage of
6984 whitespace-empty-at-bob-regexp (Bug#11492).
6985
6986 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6987
6988 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6989 revert (Bug#11488).
6990
6991 2012-05-29 Juri Linkov <juri@jurta.org>
6992
6993 * isearch.el (isearch-mode-map): Bind `M-s _' to
6994 `isearch-toggle-symbol'. Bind `M-s c' to
6995 `isearch-toggle-case-fold'.
6996 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6997 (isearch-forward): Add `M-s _' to the docstring.
6998 (isearch-forward-symbol, isearch-toggle-case-fold)
6999 (isearch-symbol-regexp): New functions. (Bug#11381)
7000
7001 2012-05-29 Juri Linkov <juri@jurta.org>
7002
7003 * isearch.el (isearch-word): Add docstring. (Bug#11381)
7004 (isearch-occur, isearch-search-and-update): If `isearch-word' is
7005 a function, call it to get the regexp.
7006 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7007 property `isearch-message-prefix' instead of the string "word ".
7008 (isearch-search-fun-default): For the case of `isearch-word',
7009 return a lambda that calls re-search-forward/re-search-backward
7010 with a regexp returned by `word-search-regexp' or by the function
7011 in `isearch-word'.
7012
7013 2012-05-29 Juri Linkov <juri@jurta.org>
7014
7015 * isearch.el (isearch-search-fun-default): New function.
7016 (isearch-search-fun): Move default part to the new function
7017 `isearch-search-fun-default'.
7018 (isearch-search-fun-function): Set the default value to
7019 `isearch-search-fun-default'. (Bug#11381)
7020
7021 * comint.el (comint-history-isearch-end):
7022 Use `isearch-search-fun-default'.
7023 (comint-history-isearch-search): Use `isearch-search-fun-default'
7024 and remove spacial case for `isearch-word'.
7025 (comint-history-isearch-wrap): Remove spacial case for
7026 `isearch-word'.
7027
7028 * hexl.el (hexl-isearch-search-function):
7029 Use `isearch-search-fun-default'.
7030
7031 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7032 Use `word-search-regexp' for `isearch-word'.
7033
7034 * misearch.el (multi-isearch-search-fun):
7035 Use `isearch-search-fun-default'.
7036
7037 * simple.el (minibuffer-history-isearch-search):
7038 Use `isearch-search-fun-default' and remove spacial case for
7039 `isearch-word'.
7040 (minibuffer-history-isearch-wrap): Remove spacial case for
7041 `isearch-word'.
7042
7043 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
7044 Remove spacial case for `isearch-word'.
7045 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
7046
7047 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7048
7049 Decrease XEmacs incompatibilities.
7050 * textmodes/flyspell.el (flyspell-check-pre-word-p):
7051 Use `string-match'.
7052 (flyspell-delete-region-overlays): Use alternative definition for
7053 XEmacs.
7054 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7055 (flyspell-word): Use `process-kill-without-query' if XEmacs.
7056 (flyspell-mode-on): Use `interactive-p' if XEmacs.
7057 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7058 `define-obsolete-face-alias' under XEmacs, but old method.
7059
7060 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
7061 `with-no-warnings' definition or Emacs alias.
7062 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
7063 (ispell-word): Do not use `region-p' if XEmacs.
7064
7065 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7066
7067 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7068 Check for `ispell-dictionary-base-alist' instead of full
7069 `ispell-dictionary-alist'.
7070 (ispell-init-process): Show spellchecker when starting new Ispell
7071 process.
7072
7073 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7074
7075 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
7076 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
7077
7078 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
7079
7080 * version.el (motif-version-string, gtk-version-string)
7081 (ns-version-string): Declare.
7082
7083 2012-05-27 Juri Linkov <juri@jurta.org>
7084
7085 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
7086 after the `eval-defun-1' specialcaseing
7087 like in `edebug-eval-defun' (bug#10181).
7088
7089 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
7090 like in `eval-defun-1'.
7091
7092 2012-05-27 Eli Zaretskii <eliz@gnu.org>
7093
7094 * mail/sendmail.el (mail-yank-region):
7095 Recognize rmail-yank-current-message in addition to insert-buffer.
7096 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
7097 a *mail* buffer created through rmail-start-mail with sendmail as
7098 mail-user-agent.
7099
7100 2012-05-27 Chong Yidong <cyd@gnu.org>
7101
7102 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
7103 Default to 256 (Bug#11267).
7104
7105 * help.el (describe-mode): Doc fix.
7106
7107 2012-05-26 Glenn Morris <rgm@gnu.org>
7108
7109 * w32-fns.el (w32-init-info): Remove.
7110 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
7111
7112 * info.el (info-initialize): For self-contained NS builds, put the
7113 included info/ directory at the front. (Bug#2791)
7114
7115 * paths.el (Info-default-directory-list): Make it a defcustom,
7116 mainly so that we can use custom-initialize-delay.
7117
7118 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7119
7120 * subr.el (buffer-has-markers-at): Mark obsolete.
7121
7122 * subr.el (lambda): Use declare.
7123
7124 * emacs-lisp/lisp-mode.el (lambda):
7125 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
7126
7127 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7128
7129 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
7130
7131 2012-05-26 Glenn Morris <rgm@gnu.org>
7132
7133 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
7134
7135 2012-05-25 Glenn Morris <rgm@gnu.org>
7136
7137 * paths.el: Remove no-byte-compile.
7138 * loadup.el: No need to load paths.el uncompiled.
7139
7140 * image.el (imagemagick-types-inhibit): Doc fix.
7141
7142 * version.el: Remove no-byte-compile and associated formatting.
7143 * loadup.el: No need to load version.el uncompiled. AFAICS, this
7144 is ancient code from when there was an "inc-vers.el".
7145
7146 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7147
7148 * progmodes/gdb-mi.el: Minor style changes.
7149 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
7150 Turn into minor modes.
7151 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
7152 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
7153 (gdb-shell): Remove unneeded let-binding.
7154 (gdb-get-many-fields): Eliminate O(n²) behavior.
7155
7156 2012-05-25 Eli Zaretskii <eliz@gnu.org>
7157
7158 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
7159 platforms that don't link in fontset.c.
7160
7161 2012-05-25 Juri Linkov <juri@jurta.org>
7162
7163 Use the same diff color scheme as in modern VCSes (bug#10181).
7164
7165 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
7166 to avoid confusion with `diff-added' that now uses green colors.
7167 (diff-removed): Use shades of red.
7168 (diff-added): Use shades of green.
7169 (diff-changed): Leave just the yellow color.
7170 (diff-use-changed-face): New variable.
7171 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
7172 how to highlight context diff changes.
7173 (diff-refine-change): Use shades of yellow.
7174 (diff-refine-removed): New face that uses shades of red.
7175 (diff-refine-added): New face that uses shades of green.
7176 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
7177 `diff-refine-removed' in the call to `smerge-refine-subst'
7178 depending on the value of `diff-use-changed-face'.
7179
7180 * vc/smerge-mode.el (smerge-mine): Use shades of red.
7181 (smerge-other): Use shades of green.
7182 (smerge-base): Use shades of yellow.
7183 (smerge-refined-change): Empty face.
7184 (smerge-refined-removed): New face that uses shades of red.
7185 (smerge-refined-added): New face that uses shades of green.
7186 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
7187 args `props-r' and `props-a', and use them. Doc fix.
7188 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
7189 on its value use different faces `smerge-refined-change',
7190 `smerge-refined-removed', `smerge-refined-added' in the call to
7191 `smerge-refine-subst'.
7192
7193 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
7194 Add face condition `min-colors 88' with shades of red.
7195 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
7196 `min-colors 88' with shades of green.
7197 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
7198 `min-colors 88' with shades of yellow.
7199
7200 2012-05-24 Glenn Morris <rgm@gnu.org>
7201
7202 * paths.el (prune-directory-list, remote-shell-program): Move to...
7203 * files.el (prune-directory-list, remote-shell-program): ...here.
7204 For the latter, delay initialization, prefer ssh, just search PATH.
7205
7206 * paths.el (term-file-prefix): Move to faces.el (the only user).
7207 * faces.el (term-file-prefix): Move here, make it a defcustom.
7208
7209 * paths.el (news-directory, news-path, news-inews-program):
7210 Move to gnus/nnspool.el.
7211
7212 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
7213
7214 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
7215 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
7216 Make the latter a defcustom, with a delayed initialization.
7217
7218 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
7219 These were deleted from Gnus itself late 2010.
7220
7221 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
7222
7223 * progmodes/which-func.el (which-func-ff-hook):
7224 Check against user-error, not error.
7225
7226 * emacs-lisp/edebug.el (top): Do not load or set up loading of
7227 cl-specs.el, which no longer exists.
7228
7229 2012-05-22 Glenn Morris <rgm@gnu.org>
7230
7231 * info.el (info-emacs-bug): New command.
7232 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
7233 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
7234
7235 2012-05-21 Glenn Morris <rgm@gnu.org>
7236
7237 * makefile.w32-in (update-subdirs-SH):
7238 * Makefile.in (update-subdirs): Update for moved update-subdirs.
7239
7240 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7241
7242 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
7243
7244 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7245 Simplify Maven regexp, and make sure the file can't start with a space
7246 (bug#11517).
7247
7248 2012-05-21 Glenn Morris <rgm@gnu.org>
7249
7250 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7251 Scrap superfluous subshells.
7252
7253 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7254
7255 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
7256 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
7257
7258 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
7259
7260 * calc/calc.el (calc-ensure-consistent-units): New variable.
7261
7262 * calc/calc-units.el (math-consistent-units-p)
7263 (math-check-unit-consistency): New functions.
7264 (calc-quick-units, calc-convert-units):
7265 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
7266 is non-nil.
7267 (calc-extract-units): Fix typo.
7268
7269 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7270
7271 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
7272
7273 * textmodes/flyspell.el: Commenting style, plus code simplifications.
7274 (flyspell-default-deplacement-commands): Don't spell check after
7275 repeated window/frame switches (e.g. triggered by mouse-movement).
7276 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
7277 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
7278 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
7279 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
7280 Remove unused vars.
7281 (flyspell-get-casechars, flyspell-get-not-casechars):
7282 Simplify; Don't bother removing a ] just to add it back.
7283 * textmodes/ispell.el (ispell-program-name): Use executable-find.
7284
7285 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7286
7287 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7288 New functions.
7289 (math-function-table): Add support for more C functions.
7290
7291 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7292
7293 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7294 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7295 Protect delay handling for otherchars against empty otherchars.
7296
7297 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7298
7299 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7300 their respective macro declarations.
7301 * skeleton.el (define-skeleton):
7302 * progmodes/compile.el (define-compilation-mode):
7303 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7304 (define-ibuffer-filter):
7305 * emacs-lisp/generic.el (define-generic-mode):
7306 * emacs-lisp/easy-mmode.el (define-minor-mode)
7307 (define-globalized-minor-mode):
7308 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7309 * emacs-lisp/byte-run.el (defsubst):
7310 * custom.el (deftheme): Add doc-string metadata.
7311
7312 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7313
7314 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7315
7316 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7317
7318 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7319
7320 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7321 * emacs-lisp/cl-macs.el: Idem.
7322 * emacs-lisp/cl-specs.el: Remove.
7323
7324 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7325
7326 Minor renaming of internal CL functions and variables.
7327 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7328 (cl--position): Rename from cl-position.
7329 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7330 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7331 (cl--random-state): Rename from *random-state*.
7332
7333 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7334
7335 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7336 parens around the arg list (bug#11499).
7337
7338 2012-05-17 Juri Linkov <juri@jurta.org>
7339
7340 * isearch.el (word-search-regexp, word-search-backward)
7341 (word-search-forward, word-search-backward-lax)
7342 (word-search-forward-lax): Move functions from search.c
7343 (bug#10145, bug#11381).
7344
7345 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7346
7347 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7348 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7349 Delay for otherchars as for normal word components.
7350
7351 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7352
7353 * minibuffer.el (completion--sifn-requote): Fix last change.
7354 (minibuffer-local-must-match-filename-map):
7355 Move define-obsolete-variable-alias before its var.
7356
7357 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7358
7359 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7360
7361 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7362 behavior.
7363 (completion--string-equal-p): New function.
7364 (completion--twq-all): Use it to get better assertion failure data.
7365
7366 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7367 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7368 (shell--requote-argument): New functions.
7369 (shell-completion-vars): Use them.
7370 (shell--parse-pcomplete-arguments): Rename from
7371 shell-parse-pcomplete-arguments.
7372 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7373 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7374 Obey comint-file-name-quote-list.
7375
7376 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7377 (smie-indent-keyword): Use it.
7378
7379 2012-05-14 Stefan Merten <smerten@oekonux.de>
7380
7381 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7382
7383 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7384
7385 * net/rlogin.el (rlogin-mode-map): Fix last change.
7386
7387 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
7388
7389 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7390 the following \r\n using a single `process-send-string', since the
7391 Lotus SMTP server refuses to accept any commands if they are sent
7392 with two `process-send-string's (Bug#11444).
7393
7394 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7395
7396 * shell.el (shell-parse-pcomplete-arguments):
7397 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
7398
7399 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7400
7401 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
7402 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7403 (image-transform-width, image-transform-fit-width): New functions.
7404 (image-transform-properties): Use them.
7405 (image-transform-check-size): New function.
7406 (image-toggle-display-image): Use it (for testing).
7407 (image-transform-set-rotation): Reduce angle mod 360.
7408 Delete obsolete comment.
7409
7410 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7411
7412 * image-mode.el: Fix scaling (bug#11399).
7413 (image-transform-resize): Doc fix.
7414 (image-transform-properties): Default scale is 1 and height should
7415 be an integer.
7416
7417 2012-05-13 Johan Bockgård <bojohan@gnu.org>
7418
7419 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7420 than hard-coding `car', to fix misbehavior when moving forward.
7421
7422 2012-05-13 Chong Yidong <cyd@gnu.org>
7423
7424 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7425 (tabulated-list-entries, tabulated-list-padding)
7426 (tabulated-list-sort-key): Make permanent-local.
7427
7428 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7429 (electric-buffer-list): Put electric buffer menu
7430 command descriptions in this docstring, instead of the docstring
7431 of electric-buffer-menu-mode. Code cleanups.
7432 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7433 Electric-buffer-menu-mode.
7434 (electric-buffer-update-highlight): Minor code cleanup.
7435
7436 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
7437
7438 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7439 (Bug#11447)
7440
7441 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7442
7443 Move define-obsolete-variable-alias before the var's definition.
7444 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7445 * tooltip.el (tooltip-hook):
7446 * textmodes/reftex-toc.el (reftex-toc-map):
7447 * textmodes/reftex-sel.el (reftex-select-label-map)
7448 (reftex-select-bib-map):
7449 * textmodes/reftex-index.el (reftex-index-map)
7450 (reftex-index-phrases-map):
7451 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7452 * progmodes/meta-mode.el (meta-mode-map):
7453 * novice.el (disabled-command-hook):
7454 * loadhist.el (unload-hook-features-list):
7455 * frame.el (blink-cursor):
7456 * files.el (find-file-not-found-hooks, write-file-hooks)
7457 (write-contents-hooks):
7458 * emulation/tpu-edt.el (GOLD-map):
7459 * emacs-lock.el (emacs-lock-from-exiting):
7460 * emacs-lisp/generic.el (generic-font-lock-defaults):
7461 * emacs-lisp/chart.el (chart-map):
7462 * dos-fns.el (register-name-alist):
7463 * dired-x.el (dired-omit-files-p):
7464 * desktop.el (desktop-enable):
7465 * cus-edit.el (custom-mode-hook):
7466 * buff-menu.el (buffer-menu-mode-hook):
7467 * bookmark.el (bookmark-read-annotation-text-func)
7468 (bookmark-exit-hooks):
7469 * allout.el (allout-mode-deactivate-hook)
7470 (allout-exposure-change-hook, allout-structure-added-hook)
7471 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7472 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7473 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7474 comes before the corresponding variable's definition.
7475
7476 2012-05-12 Chong Yidong <cyd@gnu.org>
7477
7478 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
7479 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7480 (Buffer-menu-mode-map): Bind it.
7481 (Buffer-menu--pretty-name): Add a mouse-face property.
7482
7483 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7484
7485 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7486 (prolog-upper-case-string, prolog-lower-case-string)
7487 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7488 (prolog-use-smie, prolog-smie-grammar): New vars.
7489 (prolog-smie-forward-token, prolog-smie-backward-token)
7490 (prolog-smie-rules): New funs.
7491 (prolog-comment-indent): Remove.
7492 (prolog-mode-variables): Use default comment indentation instead.
7493 Setup SMIE.
7494 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7495 (prolog-mode): Don't call them any more.
7496 (prolog-electric-colon, prolog-electric-dash)
7497 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7498
7499 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7500
7501 * minibuffer.el (completion--twq-all): Again, allow case differences.
7502
7503 * term.el: Move keymap initialization code to be more idiomatic.
7504 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7505 (term-terminal-menu): Move initialization into declaration.
7506 (term-escape-char): Let the user set it in her .emacs.
7507
7508 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7509 Provide SMIE-based indentation (not enabled by default yet).
7510 (sh-mode-map): Don't bind electric keys.
7511 Use electric-pair-mode instead of skeleton-pair.
7512 (sh-assignment-regexp): Fit within 80 columns.
7513 (sh-indent-supported): Specify actual shell name instead of boolean.
7514 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7515 (sh-maybe-here-document): Use it. Make obsolete.
7516 (sh-electric-here-document-mode) New minor mode.
7517 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7518 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7519 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7520 (sh-smie-rc-grammar, sh-use-smie): New vars.
7521 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7522 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7523 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7524 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7525 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7526 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7527 (sh-set-shell): Use smie-setup if requested.
7528
7529 * term.el (term-set-escape-char): Properly set term-escape-char.
7530 See http://stackoverflow.com/questions/10524656.
7531
7532 2012-05-10 Chong Yidong <cyd@gnu.org>
7533
7534 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7535 Use url-generic-parse-url, and handle host names and Windows
7536 filenames properly.
7537 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7538 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7539 URL schemes to work on.
7540 (ffap--toggle-read-only): New function.
7541 (ffap-read-only, ffap-read-only-other-window)
7542 (ffap-read-only-other-frame): Use it.
7543 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7544 necessary for ffap-url-unwrap-remote.
7545
7546 2012-05-10 Dave Abrahams <dave@boostpro.com>
7547
7548 * cus-start.el (create-lockfiles): Add it.
7549
7550 2012-05-09 Chong Yidong <cyd@gnu.org>
7551
7552 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7553 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7554
7555 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7556
7557 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7558
7559 2012-05-09 Chong Yidong <cyd@gnu.org>
7560
7561 * ansi-color.el (ansi-color-process-output): Check for validity of
7562 comint-last-output-start before using it. This avoids a bad
7563 interaction with gdb-mi's input/output buffer.
7564
7565 2012-05-09 Glenn Morris <rgm@gnu.org>
7566
7567 * files.el (dir-locals-read-from-file):
7568 Mention dir-locals in any error message.
7569
7570 2012-05-09 Chong Yidong <cyd@gnu.org>
7571
7572 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7573 package (Bug#11410).
7574
7575 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7576 variables into description.
7577
7578 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7579
7580 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7581 shell-delimiter-argument-list (bug#11348).
7582 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7583
7584 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
7585
7586 * textmodes/rst.el: Silence byte-compiler warnings.
7587 (rst-re-alist, rst-reset-section-caches): Move around.
7588 (rst-re): Use `characterp', not `char-valid-p'.
7589 (font-lock-beg, font-lock-end): Declare.
7590
7591 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7592 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7593
7594 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7595
7596 2012-05-08 Glenn Morris <rgm@gnu.org>
7597
7598 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7599
7600 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7601
7602 * vc/log-edit.el: Add GNU coding standards highlighting.
7603 (log-edit-font-lock-gnu-style)
7604 (log-edit-font-lock-gnu-keywords): New vars.
7605 (log-edit-font-lock-keywords): New fun.
7606 (log-edit-mode): Don't fold case in font-lock.
7607 (log-edit-font-lock-keywords): Do not assume case-folding.
7608
7609 * imenu.el: Misc cleanup. Make docstrings out of comments.
7610 Use lexical-binding.
7611 (imenu--index-alist, imenu--last-menubar-index-alist)
7612 (imenu-menubar-modified-tick): Use defvar-local.
7613 (imenu--split-menu): Remove unused var.
7614 (imenu--cleanup-seen): Declare as global.
7615 (imenu--cleanup): Use dolist.
7616
7617 * subr.el (defvar-local): Add debug spec and doc-string position.
7618
7619 2012-05-08 Glenn Morris <rgm@gnu.org>
7620
7621 * language/burmese.el, language/cham.el, language/czech.el:
7622 * language/english.el, language/georgian.el, language/greek.el:
7623 * language/japanese.el, language/khmer.el, language/korean.el:
7624 * language/lao.el, language/misc-lang.el, language/romanian.el:
7625 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7626 * language/thai.el, language/utf-8-lang.el:
7627 Remove no-byte-compile setting.
7628
7629 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7630
7631 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7632
7633 * progmodes/make-mode.el (makefile-browse):
7634 Remove unnecessary interactive. (Bug#11324)
7635
7636 2012-05-07 Glenn Morris <rgm@gnu.org>
7637
7638 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7639
7640 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7641
7642 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7643
7644 * loadup.el: Preload newcomment.el.
7645 * newcomment.el: Move autoload-only code to toplevel.
7646
7647 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7648 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7649 Handle new :right-align column property.
7650 (tabulated-list-print-col): Idem, plus use `display' text-property to
7651 try and preserve alignment for variable pitch fonts.
7652
7653 2012-05-07 Chong Yidong <cyd@gnu.org>
7654
7655 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7656 (tabulated-list-use-header-line): New var.
7657 (tabulated-list-init-header): Use it.
7658 (tabulated-list-print-fake-header): New function.
7659 (tabulated-list-print): Use it.
7660 (tabulated-list-sort-button-map): Add non-header-line commands.
7661 (tabulated-list-init-header): Add column name property to basic
7662 labels as well.
7663 (tabulated-list-col-sort): Handle non-header-line button case.
7664 (tabulated-list--sort-by-column-name): Fix a corner case.
7665
7666 * buff-menu.el (list-buffers--refresh):
7667 Handle Buffer-menu-use-header-line.
7668
7669 2012-05-06 Chong Yidong <cyd@gnu.org>
7670
7671 * buff-menu.el: Convert to Tabulated List mode.
7672 (Buffer-menu-buffer+size-width): Make obsolete.
7673 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7674 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7675 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7676 documentation into docstring of buffer-menu.
7677 (Buffer-menu-toggle-files-only): Add an informative message.
7678 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7679 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7680 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7681 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7682 (Buffer-menu-execute, Buffer-menu-select)
7683 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7684 (Buffer-menu-bury): Use Tabulated List machinery.
7685 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7686 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
7687 Delete.
7688 (list-buffers--refresh): New function.
7689 (list-buffers-noselect): Use it.
7690 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7691 (Buffer-menu--pretty-file-name): New helper functions.
7692
7693 * loadup.el: Preload tabulated-list.
7694
7695 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7696 tabulated-list-sort-column.
7697 (tabulated-list-init-header): Add the initial aligning space even
7698 if tabulated-list-padding is zero.
7699
7700 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7701
7702 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7703 whose cdr is not a cons cell correctly (bug#11038).
7704
7705 2012-05-06 Chong Yidong <cyd@gnu.org>
7706
7707 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7708 Accept additional plist in column descriptors.
7709 (tabulated-list-init-header): Obey it.
7710 (tabulated-list-get-entry): New function.
7711 (tabulated-list-put-tag): Use it. Use string-width instead of
7712 length.
7713 (tabulated-list--column-number): New function.
7714 (tabulated-list-print): Use it.
7715 (tabulated-list-print-col): New function.
7716 Set `tabulated-list-column-name' property on each column's text.
7717 (tabulated-list-print-entry): Use it.
7718 (tabulated-list-delete-entry, tabulated-list-set-col):
7719 New functions.
7720 (tabulated-list-sort-column): New command (Bug#11337).
7721
7722 * buff-menu.el (list-buffers): Move C-x C-b binding from
7723 buff-menu.el to bindings.el.
7724
7725 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7726 :advertised-binding feature.
7727
7728 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7729
7730 * progmodes/compile.el (compilation-internal-error-properties):
7731 Calculate start position correctly when end-col is set but
7732 end-line is not (Bug#11382).
7733
7734 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7735
7736 * man.el (Man-unindent): Use text-property-default-nonsticky to
7737 prevent untabify from inheriting face properties (Bug#11408).
7738
7739 2012-05-05 Stefan Merten <smerten@oekonux.de>
7740
7741 * textmodes/rst.el: Major merge with upstream development up to
7742 Docutils SVN r7399 / rst.el V1.2.1.
7743
7744 Clarify maintainership and authors.
7745
7746 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7747 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7748 (rst-official-version, rst-official-cvs-rev, rst-version)
7749 (rst-package-emacs-version-alist): New functions and variables
7750 for version information.
7751
7752 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7753 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7754 (rst-mode-syntax-table, rst-mode): New and corrected functions
7755 and variables representing reStructuredText features.
7756
7757 (rst-re): New function for reStructuredText regexes. Use in
7758 many places.
7759
7760 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7761 (rst-mode-map): Rebind keys.
7762
7763 (rst-mode-lazy, rst-font-lock-keywords)
7764 (rst-font-lock-extend-region)
7765 (rst-font-lock-extend-region-internal)
7766 (rst-font-lock-extend-region-extend)
7767 (rst-font-lock-find-unindented-line-limit)
7768 (rst-font-lock-find-unindented-line-match)
7769 (rst-adornment-level, rst-font-lock-adornment-level)
7770 (rst-font-lock-adornment-match)
7771 (rst-font-lock-handle-adornment-pre-match-form)
7772 (rst-font-lock-handle-adornment-matcher): Major revision of
7773 font-locking. Integrate with other code. Use `jit-lock-mode'.
7774
7775 (rst-preferred-adornments, rst-adjust-hook)
7776 (rst-new-adornment-down, rst-preferred-bullets)
7777 (rst-preferred-bullets, rst-indent, rst-indent-width)
7778 (rst-indent-field, rst-indent-literal-normal)
7779 (rst-indent-literal-minimized, rst-indent-comment): Change,
7780 extend and improve customization.
7781
7782 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7783 (rst-normalize-cursor-position, rst-get-decoration)
7784 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7785 (rst-rstrip, rst-toc-insert-find-delete-contents)
7786 (rst-shift-fill-region, rst-compute-bullet-tabs)
7787 (rst-debug-print-tabs, rst-debug-mark-found)
7788 (rst-shift-region-guts, rst-shift-region-right)
7789 (rst-shift-region-left, rst-use-char-classes)
7790 (rst-font-lock-keywords-function)
7791 (rst-font-lock-indentation-point)
7792 (rst-font-lock-find-unindented-line-begin)
7793 (rst-font-lock-find-unindented-line-end)
7794 (rst-font-lock-find-unindented-line)
7795 (rst-font-lock-adornment-point, rst-font-lock-level)
7796 (rst-adornment-level-alist): Remove functions and variables.
7797
7798 (rst-compare-adornments, rst-get-adornment-match)
7799 (rst-suggest-new-adornment, rst-get-adornments-around)
7800 (rst-adornment-complete-p, rst-get-next-adornment)
7801 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7802 (rst-straighten-adornments): Standardize function names to
7803 use "adornment" instead of "decoration". Correct callers.
7804 Similar standardizing in many places.
7805
7806 (rst-update-section, rst-adjust, rst-promote-region)
7807 (rst-enumerate-region, rst-bullet-list-region)
7808 (rst-repeat-last-character): Correct use of `interactive'.
7809
7810 (rst-classify-adornment, rst-find-all-adornments)
7811 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7812 (rst-find-leftmost-column, rst-repeat-last-character):
7813 Refactor functions.
7814
7815 (rst-find-title-line, rst-reset-section-caches)
7816 (rst-get-adornments-around, rst-adjust-adornment-work)
7817 (rst-arabic-to-roman, rst-roman-to-arabic)
7818 (rst-insert-list-pos, rst-insert-list-new-item)
7819 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7820 New functions.
7821
7822 (rst-all-sections, rst-section-hierarchy)
7823 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7824 New variables.
7825
7826 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7827 configuration instead of only buffer. Change where necessary.
7828
7829 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7830 (rst-shift-region, rst-adaptive-fill): New functions for
7831 indentation and filling.
7832
7833 (rst-comment-line-break, rst-comment-indent)
7834 (rst-comment-insert-comment, rst-comment-region)
7835 (rst-uncomment-region): New functions for handling comments.
7836
7837 (rst-compile): Quote shell arguments.
7838
7839 (rst-compile-pdf-preview, rst-compile-slides-preview):
7840 Delete temporary files after use.
7841
7842 2012-05-05 Glenn Morris <rgm@gnu.org>
7843
7844 * calendar/cal-html.el: Optionally include holidays in the output.
7845 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7846 (cal-html-holidays): New option.
7847 (cal-html-css-default): Add holiday entry.
7848 (holiday-in-range): Autoload it.
7849 (cal-html-htmlify-entry): Add optional class argument.
7850 (cal-html-htmlify-list): Add optional holidays argument.
7851 (cal-html-insert-agenda-days): Include holidays in the output.
7852 (cal-html-one-month): Maybe include holidays.
7853
7854 * calendar/holidays.el (holiday-in-range):
7855 Move here from cal-tex-list-holidays.
7856 * calendar/cal-tex.el (cal-tex-list-holidays):
7857 Make it an obsolete alias for holiday-in-range. Update all callers.
7858
7859 2012-05-05 Chong Yidong <cyd@gnu.org>
7860
7861 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7862 Nextstep.
7863
7864 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7865
7866 * files.el (file-auto-mode-skip): New var.
7867 (set-auto-mode-1): Use it.
7868
7869 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7870
7871 * repeat.el: Use lexical-binding.
7872 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7873 (repeat-undo-count): Remove.
7874 (repeat):
7875 * progmodes/octave-mod.el (octave-abbrev-start):
7876 * progmodes/f90.el (f90-abbrev-start):
7877 * face-remap.el (text-scale-adjust):
7878 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7879
7880 * emacs-lisp/pcase.el (pcase--let*): New function.
7881 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7882 a bit more.
7883 (pcase--split-pred): Be more clever about ruling out overlap between
7884 a predicate and some constant pattern.
7885 (pcase--q1): Use `null' instead of (eq foo nil).
7886
7887 * subr.el (setq-local, defvar-local): New macros.
7888 (kbd): Redefine as an alias.
7889 (with-selected-window): Leave unrelated frames alone.
7890 (set-temporary-overlay-map): New function.
7891
7892 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7893
7894 * subr.el (user-error): New function.
7895 * window.el (switch-to-buffer):
7896 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7897 (smerge-match-conflict):
7898 * simple.el (previous-matching-history-element)
7899 (next-matching-history-element, goto-history-element, undo-more)
7900 (undo-start):
7901 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7902 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7903 (next-file, tags-loop-scan, list-tags, complete-tag):
7904 * progmodes/compile.el (compilation-loop):
7905 * mouse.el (mouse-minibuffer-check):
7906 * man.el (Man-bgproc-sentinel, Man-goto-page):
7907 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7908 (Info-history-forward, Info-follow-reference, Info-menu)
7909 (Info-extract-menu-item, Info-extract-menu-counting)
7910 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7911 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7912 (Info-next-reference, Info-prev-reference, Info-index)
7913 (Info-index-next, Info-follow-nearest-node)
7914 (Info-copy-current-node-name):
7915 * imenu.el (imenu--make-index-alist)
7916 (imenu-default-create-index-function, imenu-add-to-menubar):
7917 * files.el (basic-save-buffer, recover-file):
7918 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7919 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7920 (checkdoc-message-text, checkdoc-defun):
7921 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7922 * cus-edit.el (customize-changed-options, customize-rogue)
7923 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7924 (custom-variable-mark-to-reset-standard)
7925 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7926 (custom-file):
7927 * completion.el (check-completion-length):
7928 * comint.el (comint-search-arg)
7929 (comint-previous-matching-input-string-position)
7930 (comint-previous-matching-input)
7931 (comint-replace-by-expanded-history-before-point, comint-send-input)
7932 (comint-copy-old-input, comint-backward-matching-input)
7933 (comint-goto-process-mark, comint-set-process-mark):
7934 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7935 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7936
7937 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7938
7939 * dabbrev.el (dabbrev--ignore-case-p): New function.
7940 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7941 Use it.
7942
7943 * files.el (automount-dir-prefix): Mark as obsolete.
7944
7945 2012-05-04 Glenn Morris <rgm@gnu.org>
7946
7947 * patcomp.el, play/bruce.el: Move to obsolete/.
7948
7949 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7950
7951 Fix minor Y10k bugs.
7952 * arc-mode.el (archive-unixdate):
7953 * autoinsert.el (auto-insert-alist):
7954 * calc/calc-forms.el (math-this-year):
7955 * emacs-lisp/copyright.el (copyright-current-year)
7956 (copyright-update-year, copyright):
7957 * tar-mode.el (tar-clip-time-string):
7958 * time.el (display-time-update):
7959 Don't assume years have 4 digits.
7960
7961 2012-05-04 Chong Yidong <cyd@gnu.org>
7962
7963 * dos-w32.el (file-name-buffer-file-type-alist)
7964 (direct-print-region-use-command-dot-com):
7965 * ffap.el (ffap-menu-regexp):
7966 * find-file.el (ff-special-constructs):
7967 * follow.el (follow-debug):
7968 * forms.el (forms--debug):
7969 * iswitchb.el (iswitchb-all-frames):
7970 * ido.el (ido-all-frames):
7971 * emacs-lisp/timer.el (timer-max-repeats):
7972 * mail/feedmail.el (feedmail-mail-send-hook)
7973 (feedmail-mail-send-hook-queued):
7974 * mail/footnote.el (footnote-signature-separator):
7975 * mail/mailabbrev.el (mail-alias-separator-string)
7976 (mail-abbrev-mode-regexp):
7977 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7978 * progmodes/idlwave.el (idlwave-libinfo-file)
7979 (idlwave-default-completion-case-is-down)
7980 (idlwave-library-routines): Convert defvars to defcustoms.
7981
7982 * mail/rmail.el (rmail-decode-mime-charset):
7983 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7984 (idlwave-shell-fix-inserted-breaks)
7985 (idlwave-shell-activate-alt-keybindings)
7986 (idlwave-shell-use-breakpoint-glyph):
7987 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7988
7989 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7990
7991 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7992
7993 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7994
7995 * progmodes/verilog-mode.el (font-lock-keywords):
7996 Fix mis-highligting auto. Reported by Craig Barner.
7997 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
7998 defines from global name space. Reported by Dan Dever.
7999 (verilog-auto-reset, verilog-auto-reset-widths)
8000 (verilog-auto-tieoff): Support using unbased numbers for
8001 AUTORESET and AUTOTIEOFF.
8002 (verilog-submit-bug-report): Update variable list.
8003 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
8004 parenthesis from not matching. Reported by Michael Rytting.
8005 (verilog-auto-template-lint): Fix hash error when linting modules
8006 with no used templates.
8007 (verilog-warn, verilog-warn-error)
8008 (verilog-warn-fatal): When non-interactive report multiple
8009 warnings before exiting. Suggested by Brad Dobbie.
8010 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8011 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8012 to report unused template errors. Reported by Brad Dobbie.
8013 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
8014 nets, bug438. Reported by Vns Blore.
8015 (verilog-auto-inout-module, verilog-auto-reg)
8016 (verilog-read-decls, verilog-read-sub-decls-sig)
8017 (verilog-signals-edit-wire-reg, verilog-signals-with):
8018 Fix passing of Verilog data types in ANSI input/output ports
8019 such as "output logic" into the AUTOs. Special case "wire" and
8020 "reg" for backwards compatibility presuming Verilog 2001.
8021 (verilog-auto-ascii-enum): Add "auto enum" as alias.
8022 (verilog-preprocess): Fix replication of preprocess output.
8023 Reported by Brad Dobbie.
8024 (verilog-auto-inst-interfaced-ports):
8025 Create verilog-auto-inst-interfaced-ports, bug429.
8026 Reported by Julian Gorfajn.
8027 (verilog-after-save-font-hook)
8028 (verilog-before-save-font-hook): New variable.
8029 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8030 (verilog-save-font-mods): Wrap disabling fontification, reported
8031 by David Rogoff.
8032 (verilog-do-indent, verilog-pretty-declarations-auto)
8033 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8034 Reported by Pierre-David Pfister.
8035 (verilog-set-auto-endcomments): Fix endtask auto comments outside
8036 of class declarations, bug292. Reported by Kevin Heilman.
8037 (verilog-read-decls): Fix 'parameter type' not appearing in
8038 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
8039 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
8040 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
8041 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
8042 Reported by David Kravitz.
8043
8044 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
8045
8046 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
8047 assignment with tests in ifs and for loops.
8048 (verilog-extended-complete-re, verilog-complete-reg): Change so
8049 that DPI inport functions don't look like fuction declarations.
8050 (verilog-pretty-expr): Don't line up assignment
8051 operations to the test and increment in if and for loops
8052 (verilog-extended-complete-re, verilog-complete-reg): Change so
8053 that DPI inport functions don't look like fuction declarations.
8054
8055 2012-05-03 Kenichi Handa <handa@m17n.org>
8056
8057 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
8058 decoding, and show a warning message without signaling an error
8059 (Bug#11282).
8060
8061 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8062
8063 * emacs-lisp/bytecomp.el
8064 (byte-compile-file-form-custom-declare-variable): Compile all elements,
8065 since cconv.el might have introduced :fun-body, internal-make-closure,
8066 and friends for bytecomp to handle (bug#11391).
8067 * custom.el (defcustom): Avoid ((λ ..) ..).
8068
8069 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8070
8071 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
8072
8073 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
8074
8075 * notifications.el (dbus-debug):
8076 * term/linux.el (gpm-mouse-enable):
8077 * term/screen.el (xterm-register-default-colors): Declare.
8078
8079 2012-05-02 Chong Yidong <cyd@gnu.org>
8080
8081 * cus-start.el (gc-cons-percentage, exec-suffixes)
8082 (dos-display-scancodes, dos-hyper-key, dos-super-key)
8083 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8084 (make-cursor-line-fully-visible, void-text-area-pointer)
8085 (font-list-limit): Add customization data.
8086
8087 * allout.el (allout-exposure-change-functions)
8088 (allout-structure-added-functions)
8089 (allout-structure-deleted-functions)
8090 (allout-structure-shifted-functions): Rename abnormal hooks from
8091 *-hook, and convert to defcustoms.
8092 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8093 Convert to defcustoms.
8094 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8095
8096 * allout-widgets.el: Hook callers changed.
8097
8098 2012-05-02 Eli Zaretskii <eliz@gnu.org>
8099
8100 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
8101 the yanked message in preference to the default value of
8102 buffer-file-coding-system.
8103
8104 2012-05-02 Martin Rudalics <rudalics@gmx.at>
8105
8106 * window.el (display-buffer--action-function-custom-type):
8107 Fix entry.
8108
8109 2012-05-02 Alan Mackenzie <acm@muc.de>
8110
8111 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
8112
8113 2012-05-01 Glenn Morris <rgm@gnu.org>
8114
8115 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
8116
8117 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
8118
8119 * cus-edit.el (custom-variable-documentation): Simplify with format.
8120
8121 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8122 Stefan Monnier <monnier@iro.umontreal.ca>
8123
8124 * simple.el (suggest-key-bindings, execute-extended-command):
8125 Move from keyboard.c.
8126
8127 2012-05-01 Chong Yidong <cyd@gnu.org>
8128
8129 * follow.el: Eliminate advice.
8130 (set-process-filter, process-filter, sit-for): Advice deleted.
8131 (follow-mode-off-hook): Obsolete hook removed.
8132 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
8133 Vars deleted.
8134 (follow-auto): Use a :set function.
8135 (follow-mode): Rewritten. Don't advise process filters.
8136 (follow-switch-to-current-buffer-all, follow-scroll-up)
8137 (follow-scroll-down): Assume follow-mode is bound.
8138 (follow-comint-scroll-to-bottom)
8139 (follow-align-compilation-windows): New functions.
8140 (follow--window-sorter): New function.
8141 (follow-all-followers): Use it to explicitly sort windows by their
8142 positions; don't make assumptions about next-window order.
8143 (follow-windows-start-end, follow-delete-other-windows-and-split)
8144 (follow-calc-win-start): Doc fix.
8145 (follow-windows-aligned-p, follow-select-if-visible): Don't call
8146 vertical-motion unnecessarily.
8147 (follow-adjust-window): New function.
8148 (follow-post-command-hook): Use it.
8149 (follow-call-set-process-filter, follow-call-process-filter)
8150 (follow-intercept-process-output, follow-tidy-process-filter-alist)
8151 (follow-stop-intercept-process-output, follow-generic-filter):
8152 Functions deleted.
8153 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
8154 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
8155 New functions, replacing advice on scroll-bar-* commands.
8156 (follow-mwheel-scroll): New function (Bug#4112).
8157
8158 * comint.el (comint-adjust-point): New function.
8159 (comint-postoutput-scroll-to-bottom): Use it.
8160 Call follow-comint-scroll-to-bottom for Follow mode buffers.
8161
8162 2012-05-01 Glenn Morris <rgm@gnu.org>
8163
8164 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
8165 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
8166 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
8167 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
8168 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
8169 Remove no-byte-compile setting.
8170
8171 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8172
8173 * minibuffer.el (completion-table-with-quoting): Fix compatibility
8174 all-completions code to not return a number in the last cdr.
8175
8176 2012-04-30 Leo Liu <sdl.web@gmail.com>
8177
8178 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
8179 read-only error.
8180
8181 2012-04-29 Chong Yidong <cyd@gnu.org>
8182
8183 * follow.el (follow-calc-win-end): Rewrite to handle partial
8184 screen lines correctly (Bug#8390).
8185 (follow-avoid-tail-recenter): Minor cleanup.
8186
8187 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8188
8189 Avoid the obsolete `assoc' package.
8190 * speedbar.el (speedbar-refresh): Avoid adelete.
8191 (speedbar-file-lists): Simplify and avoid aput.
8192 * man.el (Man--sections, Man--refpages): New vars, replacing
8193 Man-sections-alist and Man-refpages-alist.
8194 (Man-build-section-alist, Man-build-references-alist):
8195 Use them; avoid aput.
8196 (Man--last-section, Man--last-refpage): New vars.
8197 (Man-follow-manual-reference): Use them.
8198 Use the `default' arg of completing-read.
8199 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
8200
8201 2012-04-27 Chong Yidong <cyd@gnu.org>
8202
8203 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
8204
8205 * startup.el (x-apply-session-resources): New function.
8206
8207 * term/ns-win.el (ns-initialize-window-system):
8208 * term/w32-win.el (w32-initialize-window-system):
8209 * term/x-win.el (x-initialize-window-system): Use it to properly
8210 set menu-bar-mode and other vars from X resources, even if the
8211 initial frame is not a window-system frame (Bug#2299).
8212
8213 * subr.el (read-key): Avoid running filter function when setting
8214 up temporary tool bar entries (Bug#9922).
8215
8216 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8217
8218 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
8219 (Bug#11344)
8220
8221 2012-04-27 Chong Yidong <cyd@gnu.org>
8222
8223 * select.el (xselect--encode-string): New function, split from
8224 xselect-convert-to-string.
8225 (xselect-convert-to-string): Use it.
8226 (xselect-convert-to-filename, xselect-convert-to-os)
8227 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
8228 returned strings are properly encoded (Bug#11315).
8229
8230 2012-04-27 Chong Yidong <cyd@gnu.org>
8231
8232 * simple.el (delete-active-region): Move to killing custom group.
8233
8234 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8235
8236 * progmodes/which-func.el (which-func-current): Quote %
8237 characters for mode-line processing.
8238
8239 2012-04-27 Chong Yidong <cyd@gnu.org>
8240
8241 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
8242 reaching eob (Bug#11286).
8243
8244 2012-04-27 Eli Zaretskii <eliz@gnu.org>
8245
8246 * progmodes/gdb-mi.el (gdb-control-level): New variable.
8247 (gdb): Make it buffer-local and init to zero.
8248 (gdb-control-commands-regexp): New variable.
8249 (gdb-send): Don't wrap in "-interpreter-exec console" if
8250 gdb-control-level is positive. Increment gdb-control-level
8251 whenever the command matches gdb-control-commands-regexp, and
8252 decrement it each time the command is "end". (Bug#11279)
8253
8254 2012-04-27 Martin Rudalics <rudalics@gmx.at>
8255
8256 * window.el (adjust-window-trailing-edge, enlarge-window)
8257 (shrink-window, window-resize):
8258 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
8259 windows (Bug#11276).
8260
8261 2012-04-27 Chong Yidong <cyd@gnu.org>
8262
8263 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
8264 fix "missing prefix" warning. All callers changed.
8265
8266 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8267
8268 * emacs-lisp/assoc.el: Move to obsolete/.
8269
8270 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8271
8272 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
8273
8274 * term/ns-win.el (ns-define-service):
8275 * progmodes/pascal.el (pascal-goto-defun):
8276 * progmodes/js.el (js--read-tab):
8277 * progmodes/etags.el (tags-lazy-completion-table):
8278 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
8279 * emacs-lisp/ewoc.el (ewoc--wrap):
8280 * emacs-lisp/assoc.el (aput, adelete, amake):
8281 * doc-view.el (doc-view-convert-current-doc):
8282 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8283
8284 2012-04-26 Chong Yidong <cyd@gnu.org>
8285
8286 * image.el (image-type-from-buffer): Only return supported image
8287 type (Bug#9045).
8288
8289 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8290 value, for symmetry with diff-end-of-hunk.
8291 (diff-split-hunk, diff-find-source-location)
8292 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8293 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8294 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8295 compute the relevant hunk or file properly (Bug#6005).
8296 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8297
8298 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8299
8300 * vc/vc-mtn.el:
8301 * vc/vc-hg.el:
8302 * vc/vc-git.el:
8303 * vc/vc-dir.el:
8304 * vc/vc-cvs.el:
8305 * vc/vc-bzr.el:
8306 * vc/vc-arch.el:
8307 * vc/vc.el: Replace lexical-let by lexical-binding.
8308 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8309 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8310 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8311
8312 2012-04-26 Chong Yidong <cyd@gnu.org>
8313
8314 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8315 (diff-mode-shared-map): Bind it to / and [remap undo].
8316
8317 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8318 (ediff-window-setup-function): Use it as the default, to set up
8319 windows based on whether the current frame is graphical (Bug#2138).
8320 (ediff-choose-window-setup-function-automatically): Make obsolete.
8321
8322 * vc/ediff-init.el: Always define ediff-pixel-width/height.
8323
8324 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8325
8326 * ffap.el: Remove old code for obsolete package.
8327 (ffap-complete-as-file-p): Remove.
8328
8329 Use completion-table-with-quoting for comint and pcomplete.
8330 * comint.el (comint--unquote&requote-argument)
8331 (comint--unquote-argument, comint--requote-argument): New functions.
8332 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8333 (comint-quote-filename): Use regexp-opt-charset.
8334 (comint--common-suffix, comint--common-quoted-suffix)
8335 (comint--table-subvert): Remove.
8336 (comint-unquote-function, comint-requote-function): New vars.
8337 (comint--complete-file-name-data): Use them with
8338 completion-table-with-quoting.
8339 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8340 * pcomplete.el (pcomplete-arg-quote-list)
8341 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8342 (pcomplete-unquote-argument-function): Default to non-nil.
8343 (pcomplete-unquote-argument): Simplify.
8344 (pcomplete--common-quoted-suffix): Remove.
8345 (pcomplete-requote-argument-function): New var.
8346 (pcomplete--common-suffix): New function.
8347 (pcomplete-completions-at-point): Use completion-table-with-quoting
8348 and completion-table-subvert.
8349
8350 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8351 (minibuffer--double-dollars): Preserve properties.
8352 (completion--sifn-requote): New function.
8353 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8354
8355 * minibuffer.el: Add support for completion of quoted/escaped data.
8356 (completion-table-with-quoting, completion-table-subvert): New funs.
8357 (completion--twq-try, completion--twq-all): New functions.
8358 (completion--nth-completion): New function.
8359 (completion-try-completion, completion-all-completions): Use it.
8360
8361 2012-04-25 Leo Liu <sdl.web@gmail.com>
8362
8363 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8364 Use compilation-message if available to find real filename.
8365
8366 2012-04-25 Chong Yidong <cyd@gnu.org>
8367
8368 * vc/diff-mode.el (diff-setup-whitespace): New function.
8369 (diff-mode): Use it.
8370
8371 * vc/diff.el (diff-sentinel):
8372 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8373 Whitespace mode variables based on diff style (Bug#8612).
8374
8375 2012-04-25 Leo Liu <sdl.web@gmail.com>
8376
8377 * progmodes/python.el (python-send-region): Add suffix .py to the
8378 temp file.
8379
8380 * files.el (auto-mode-alist): Use javascript-mode instead.
8381
8382 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8383
8384 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
8385
8386 * net/soap-client.el (soap-resolve-references-for-sequence-type)
8387 (soap-resolve-references-for-array-type): Hack to prevent self
8388 references, see Bug#9.
8389 (soap-parse-envelope): Report the contents of the 'detail' node
8390 when receiving a fault reply.
8391 (soap-parse-envelope): Report the contents of the entire 'detail' node.
8392
8393 * net/soap-inspect.el (soap-sample-value-for-simple-type)
8394 (soap-inspect-simple-type): New function.
8395
8396 * net/soap-client.el (soap-simple-type): New struct.
8397 (soap-default-xsd-types, soap-default-soapenc-types)
8398 (soap-decode-basic-type, soap-encode-basic-type):
8399 support unsignedInt and double basic types.
8400 (soap-resolve-references-for-simple-type)
8401 (soap-parse-simple-type, soap-encode-simple-type): New function.
8402 (soap-parse-schema): Parse xsd:simpleType declarations.
8403
8404 * net/soap-client.el (soap-default-xsd-types)
8405 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8406 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8407 the local name of "soapenc:Array".
8408 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
8409 decoding integer, byte and anyURI xsd types.
8410
8411 2012-04-25 Chong Yidong <cyd@gnu.org>
8412
8413 * cus-edit.el (custom-buffer-create-internal): Update header text.
8414
8415 2012-04-25 Eli Zaretskii <eliz@gnu.org>
8416
8417 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8418 settings on 'system-type', not on 'window-system'. On MS-Windows,
8419 set interactive-mode on in GDB.
8420
8421 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8422
8423 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8424 (ruby-syntax-propertize-regexp): Remove.
8425 (ruby-syntax-propertize-function): Split regexp into chunks.
8426 Match following code directly.
8427
8428 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8429
8430 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8431 (ruby-syntax-propertize-regexp): New function.
8432 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8433 by a special keyword.
8434
8435 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8436 (ruby-syntax-general-delimiters-goto-beg)
8437 (ruby-syntax-propertize-general-delimiters): New functions.
8438 (ruby-syntax-propertize-function): Use them to handle GDL.
8439 (ruby-font-lock-keywords): Move old handling of GDL...
8440 (ruby-font-lock-syntactic-keywords): .. to here.
8441 (ruby-calculate-indent): Adjust indentation for GDL.
8442
8443 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
8444
8445 * notifications.el (top): Remove unneeded declarations.
8446 (notifications-specification-version): Change to "1.2".
8447 (notifications-interface, notifications-notify-method)
8448 (notifications-close-notification-method): Fix docstring.
8449 (notifications-get-capabilities-method): New defconst.
8450 (notifications-notify): Add :action-items, :resident and
8451 :transient hints. Change "image_data" to "image-data" and
8452 "image_path" to "image-path".
8453 (notifications-get-capabilities): New defun.
8454
8455 2012-04-24 Leo Liu <sdl.web@gmail.com>
8456
8457 * progmodes/python.el: Move hideshow setup to the end.
8458
8459 2012-04-24 Martin Rudalics <rudalics@gmx.at>
8460
8461 * window.el (handle-select-window): Clear echo area since this is
8462 no more done by read_char (Bug#11304).
8463
8464 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8465
8466 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8467 and `/ M' to filter-derived-mode.
8468 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8469 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8470 (ibuffer-mark-by-mode): Use default rather than initial-input.
8471 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8472
8473 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8474
8475 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8476 (ibuffer-filter-by-derived-mode): New filter.
8477 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8478
8479 2012-04-23 Andreas Politz <politza@fh-trier.de>
8480
8481 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8482
8483 2012-04-23 Chong Yidong <cyd@gnu.org>
8484
8485 * cus-edit.el (customize-apropos, customize-apropos-options):
8486 Disable matching of non-option variables (Bug#11176).
8487 (customize-option, customize-option-other-window)
8488 (customize-changed-options): Doc fix.
8489 (customize-apropos-options, customize-apropos-faces)
8490 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8491
8492 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
8493 Fix word list splitting (Bug#11132).
8494 (apropos-symbol, apropos-keybinding, apropos-label)
8495 (apropos-property, apropos-function-button)
8496 (apropos-variable-button, apropos-misc-button): New faces.
8497 (apropos-symbol-face, apropos-keybinding-face)
8498 (apropos-label-face, apropos-property-face, apropos-match-face):
8499 Variables removed (Bug#8396).
8500 (apropos-library-button, apropos-format-plist, apropos-print)
8501 (apropos-print-doc, apropos-describe-plist): Callers changed.
8502
8503 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
8504
8505 * net/xesam.el (xesam-mode-map): Use let-bound map in
8506 initialization. (Bug#11292)
8507
8508 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8509
8510 Preserve ispell session localwords when switching back to
8511 original buffer.
8512
8513 * textmodes/ispell.el (ispell-buffer-session-localwords):
8514 New buffer-local variable to hold buffer session localwords.
8515 (ispell-kill-ispell): Add option 'clear to delete session
8516 localwords.
8517 (ispell-command-loop, ispell-change-dictionary)
8518 (ispell-buffer-local-words): Preserve session localwords when
8519 needed.
8520
8521 * textmodes/flyspell.el (flyspell-process-localwords)
8522 (flyspell-do-correct): Preserve session localwords when needed.
8523
8524 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8525
8526 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8527 using obsolete `translation-table-for-input'.
8528 (ispell-word, ispell-process-line, ispell-complete-word):
8529 Use plain `insert' instead of removed `ispell-insert-word'.
8530
8531 2012-04-22 Chong Yidong <cyd@gnu.org>
8532
8533 * cus-edit.el (custom-variable-menu)
8534 (custom-variable-reset-saved, custom-face-menu)
8535 (custom-face-reset-saved): If there is no saved value, make the
8536 "reset-saved" operation bring back the default (Bug#9509).
8537 (custom-face-state): Properly detect themed faces.
8538
8539 * faces.el (face-spec-set): Stop supporting deprecated form of
8540 third arg.
8541
8542 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
8543
8544 Move functions from C to Lisp. Make non-blocking method calls
8545 the default. Implement further D-Bus standard interfaces.
8546
8547 * net/dbus.el (dbus-message-internal): Declare function.
8548 Remove unneeded function declarations.
8549 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8550 (dbus-message-type-method-return, dbus-message-type-error)
8551 (dbus-message-type-signal): Declare variables. Remove local
8552 definitions.
8553 (dbus-interface-dbus, dbus-interface-peer)
8554 (dbus-interface-introspectable, dbus-interface-properties)
8555 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8556 Adapt docstring.
8557 (dbus-interface-objectmanager): New defconst.
8558 (dbus-call-method, dbus-call-method-asynchronously)
8559 (dbus-send-signal, dbus-method-return-internal)
8560 (dbus-method-error-internal, dbus-register-service)
8561 (dbus-register-signal, dbus-register-method): New defuns, moved
8562 from dbusbind.c
8563 (dbus-call-method-handler, dbus-setenv)
8564 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8565 New defuns.
8566 (dbus-call-method-non-blocking): Make it an obsolete function.
8567 (dbus-unregister-object, dbus-unregister-service)
8568 (dbus-handle-event, dbus-register-property)
8569 (dbus-property-handler): Obey the new structure of
8570 `bus-registered-objects'.
8571 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8572 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8573 Use `dbus-call-method'.
8574
8575 2012-04-22 Chong Yidong <cyd@gnu.org>
8576
8577 * cus-edit.el (custom-commands, custom-reset-menu)
8578 (Custom-reset-standard): Tweak labels.
8579 (custom-reset-button-menu): Change default to t.
8580 (custom-buffer-create-internal): For the custom-reset-button-menu
8581 case, put the revert button first.
8582 (custom-group-subtitle): New face.
8583 (custom-group-value-create): Align docstring to a specific column.
8584
8585 * wid-edit.el (widget-documentation-link-add): Don't handle
8586 indentation in this function.
8587 (widget-documentation-string-indent-to): New function.
8588 (widget-documentation-string-value-create): Use it.
8589
8590 * autorevert.el (auto-revert):
8591 * epg-config.el (epg):
8592 * ibuffer.el (ibuffer):
8593 * mpc.el (mpc):
8594 * ses.el (ses):
8595 * eshell/eshell.el (eshell):
8596 * net/ange-ftp.el (ange-ftp):
8597 * progmodes/ebnf2ps.el (postscript):
8598 * progmodes/flymake.el (flymake):
8599 * progmodes/prolog.el (prolog):
8600 * progmodes/verilog-mode.el (verilog-mode):
8601 * progmodes/which-func.el (which-func):
8602 * term/xterm.el (xterm):
8603 * textmodes/picture.el (picture):
8604 * textmodes/tildify.el (tildify):
8605 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8606 customization buffers.
8607
8608 2012-04-22 Alan Mackenzie <acm@muc.de>
8609
8610 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8611 Adding a ) can hide the resulting (..) from searches. Fix it.
8612 Bound the backward search to the position of the existing (.
8613
8614 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
8615
8616 * progmodes/verilog-mode.el (verilog-mode): Check whether
8617 which-func-modes is t before adding verilog-mode.
8618 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8619
8620 2012-04-21 Leo Liu <sdl.web@gmail.com>
8621
8622 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
8623
8624 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8625
8626 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8627 filling of the last column of a table (Bug#5635).
8628 (woman-find-next-control-line): New arg, specifying an additional
8629 regexp component for the control line.
8630 (woman2-roff-buffer): Use it.
8631 (woman-break-table): New function.
8632 (woman2-TS): Use it.
8633
8634 2012-04-21 Chong Yidong <cyd@gnu.org>
8635
8636 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8637 (woman-horizontal-escapes, woman-negative-vertical-space)
8638 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8639 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8640
8641 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8642
8643 * minibuffer.el (completion-file-name-table): Complete user names.
8644
8645 2012-04-20 Leo Liu <sdl.web@gmail.com>
8646
8647 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8648 and pcase-let*.
8649
8650 2012-04-20 Chong Yidong <cyd@gnu.org>
8651
8652 * server.el (server-execute): Respect initial-buffer-choice if it
8653 is a string and there are no files to open (Bug#2825).
8654 (server-create-window-system-frame, server-create-tty-frame):
8655 Don't switch buffers here.
8656 (server-process-filter): Only try to open a window system frame if
8657 compiled with graphical support (Bug#8314).
8658
8659 2012-04-20 Dan Nicolaescu <dann@gnu.org>
8660
8661 * battery.el (battery-echo-area-format): Display remaining time
8662 for sysfs backend too (Bug#11269).
8663 (battery-linux-sysfs): Fix conditional for the charge.
8664
8665 2012-04-20 Chong Yidong <cyd@gnu.org>
8666
8667 * progmodes/gdb-mi.el (gdb): Revert previous change.
8668 (gdb-inferior-io--init-proc): New function.
8669 (gdb-init-1): Use it.
8670 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8671 responsible for allocating a new pty and hooking it to gdb when
8672 the old pty gets an EIO due to process exit.
8673 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8674 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8675 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8676
8677 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8678
8679 * window.el (window-min-size, window-sizable, window-min-delta)
8680 (window-max-delta, window--resizable, window-resizable)
8681 (window-total-size, window-full-height-p, window-full-width-p)
8682 (window-in-direction, window--resize-mini-window, window-resize)
8683 (window--resize-child-windows-normal)
8684 (window--resize-child-windows, window--resize-siblings)
8685 (window--resize-this-window, adjust-window-trailing-edge)
8686 (enlarge-window, shrink-window): Doc fixes.
8687
8688 2012-04-20 Chong Yidong <cyd@gnu.org>
8689
8690 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8691 New function to call delete-process on the gdb-inferior buffer's pty.
8692 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8693 pty process (Bug#11273).
8694 (gdb-update): New arg to suppress talking to the gdb process.
8695 (gdb-done-or-error): Use it.
8696 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8697 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8698 sentinel not being called.
8699
8700 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8701
8702 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8703
8704 2012-04-20 Glenn Morris <rgm@gnu.org>
8705
8706 * net/network-stream.el (open-network-stream): Doc fix.
8707
8708 2012-04-20 Chong Yidong <cyd@gnu.org>
8709
8710 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8711
8712 2012-04-20 Alan Mackenzie <acm@muc.de>
8713
8714 Ensure searching for keywords is case sensitive.
8715
8716 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8717 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8718 (c-defun-name, c-mark-function, c-cpp-define-name)
8719 (c-comment-indent, c-scan-conditionals, c-indent-defun)
8720 (c-context-line-break): Bind case-fold-search to nil.
8721
8722 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8723 Bind case-fold-search to nil.
8724
8725 2012-04-20 Chong Yidong <cyd@gnu.org>
8726
8727 * mail/sendmail.el (mail-bury): Call return action with the right
8728 Rmail buffer (Bug#11242).
8729
8730 * server.el (server-process-filter): Handle corner case where both
8731 tty and nowait options are present (Bug#11102).
8732
8733 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8734
8735 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
8736 (top level): Put into the executable the ident-style '$Id:' tag on
8737 windows-nt as well.
8738
8739 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8740
8741 * electric.el (electric-indent-post-self-insert-function): Check that
8742 electric-indent-mode is enabled in current buffer.
8743
8744 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8745
8746 * imenu.el (imenu-progress-message): Restore; it is "used" in
8747 erc/erc-imenu.el and net/snmp-mode.el.
8748
8749 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8750
8751 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8752 (mouse-avoidance-nudge-mouse): Remove unused binding.
8753
8754 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8755
8756 * descr-text.el (describe-char):
8757 * progmodes/python.el (python-describe-symbol):
8758 Don't call `toggle-read-only', set `buffer-read-only'.
8759
8760 * imenu.el (imenu-default-goto-function): Mark unused args.
8761 (imenu-progress-message): Remove obsolete macro; all callers changed.
8762
8763 * subr.el (keymap-canonicalize): Remove unused binding.
8764 (read-passwd): Mark unused arg.
8765
8766 * tutorial.el (tutorial--display-changes): Remove unused binding.
8767 (tutorial--save-tutorial-to): Remove unused variable.
8768
8769 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8770 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8771 (package-generate-autoloads, package-menu--generate)
8772 (package-menu--find-upgrades): Remove unused bindings.
8773
8774 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8775 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8776 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8777 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8778 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8779 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8780 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8781 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8782 (cua-delete-char-rectangle): Mark unused args.
8783 (cua-align-rectangle): Remove unused binding.
8784
8785 * mail/rmail.el (compilation--message->loc)
8786 (epa--find-coding-system-for-mime-charset): Declare.
8787
8788 * net/dbus.el (dbus-register-service): Declare.
8789 (dbus-name-owner-changed-handler): Remove unused binding.
8790
8791 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8792 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8793 (nxml-scan-backward-within): Mark unused arg.
8794 (nxml-dynamic-markup-word): Remove unused binding.
8795
8796 * mouse.el (mouse-menu-major-mode-map):
8797 * emacs-lisp/authors.el (authors-scan-change-log)
8798 (authors-add-to-author-list):
8799 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8800 * emacs-lisp/smie.el (smie-auto-fill):
8801 * mail/sendmail.el (mail-bury):
8802 * mail/unrmail.el (unrmail):
8803 * net/tls.el (open-tls-stream):
8804 * textmodes/picture.el (picture-mouse-set-point):
8805 Remove unused bindings.
8806
8807 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
8808
8809 * net/tramp.el (tramp-action-password): Let-bind
8810 `enable-recursive-minibuffers' to t.
8811
8812 2012-04-18 Sam Steingold <sds@gnu.org>
8813
8814 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8815 instead of 'string to accommodate values like [f11].
8816 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8817 * progmodes/gdb-mi.el: Likewise.
8818
8819 2012-04-18 Leo Liu <sdl.web@gmail.com>
8820
8821 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8822 current buffer.
8823 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8824 LOCAL is nil.
8825
8826 2012-04-18 Chong Yidong <cyd@gnu.org>
8827
8828 * simple.el (line-move): Use forward-line if in batch mode
8829 (Bug#11053).
8830
8831 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8832
8833 * files.el (after-find-file): Do not try to add a final newline if
8834 the buffer is read-only (Bug#11156).
8835
8836 2012-04-17 Richard Stallman <rms@gnu.org>
8837
8838 * mail/rmail.el (rmail-start-mail):
8839 Pass (rmail-mail-return...) for the return-action.
8840 Pass (rmail-yank-current-message...) for the yank-action.
8841 (rmail-yank-current-message): New function.
8842 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8843 (rmail-reply): Likewise.
8844 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8845
8846 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
8847 buffer, not the last. Reject temp buffers. Use the rmail-mode
8848 buffer, not newbuf.
8849
8850 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
8851
8852 * server.el (server-ensure-safe-dir): Simplify.
8853
8854 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8855
8856 * emacs-lisp/smie.el: Provide smarter auto-filling.
8857 (smie-auto-fill): New function.
8858 (smie-setup): Use it.
8859
8860 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8861
8862 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8863
8864 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8865 (comment-indent): Use it.
8866
8867 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
8868
8869 * ses.el: The overall change is to add cell renaming, that is
8870 setting fancy names for cell symbols other than name matching
8871 "\\`[A-Z]+[0-9]+\\'" regexp .
8872 (ses-localvars): Add ses--renamed-cell-symb-list.
8873 (ses-create-cell-variable): New defun.
8874 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
8875 (ses-relocate-formula): Relocate formulas only for cells the
8876 symbols of which are not renamed, i.e. symbols whose names do not
8877 match regexp "\\`[A-Z]+[0-9]+\\'".
8878 (ses-relocate-all): Relocate values only for cells the symbols of
8879 which are not renamed.
8880 (ses-load): Create cells variables as the (ses-cell ...) are read,
8881 in order to check row col consistency with cell symbol name only
8882 for cells that are not renamed.
8883 (ses-replace-name-in-formula): New defun.
8884 (ses-rename-cell): New defun.
8885
8886 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8887
8888 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8889 New option (bug#11118).
8890 (perl-calculate-indent): Respect it.
8891
8892 2012-04-17 Glenn Morris <rgm@gnu.org>
8893
8894 * dired-aux.el (dired-mark-read-string): Doc fix.
8895
8896 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8897
8898 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8899 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8900
8901 2012-04-17 Glenn Morris <rgm@gnu.org>
8902
8903 * mouse.el (mouse-drag-track):
8904 * speedbar.el (speedbar-frame-mode):
8905 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8906
8907 2012-04-16 Leo Liu <sdl.web@gmail.com>
8908
8909 * progmodes/python.el: Trivial cleanup.
8910
8911 2012-04-16 Glenn Morris <rgm@gnu.org>
8912
8913 * vc/vc.el (vc-string-prefix-p):
8914 * vc/pcvs-util.el (cvs-string-prefix-p):
8915 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8916 * mpc.el (mpc-string-prefix-p):
8917 Make all of these into obsolete aliases for string-prefix-p.
8918 Update callers.
8919 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8920
8921 * textmodes/two-column.el: Move custom options to the start.
8922 (frame-width): Remove compat definition.
8923 (2C-associate-buffer, 2C-dissociate):
8924 Use with-current-buffer rather than save-excursion.
8925 (2C-dissociate): Force a mode-line update.
8926 (2C-autoscroll): Use ignore-errors.
8927
8928 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8929 Autoload trivia.
8930
8931 * emacs-lisp/cl-extra.el (*random-state*):
8932 Remove unnecessary declaration.
8933
8934 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8935
8936 * play/cookie1.el (cookie-snarf):
8937 Give an explicit error if input file cannot be read.
8938
8939 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8940
8941 * progmodes/perl-mode.el (c-macro-expand):
8942 Remove unnecessary autoload (it is in loaddefs.el).
8943
8944 * textmodes/picture.el (picture-desired-column)
8945 (picture-update-desired-column): Convert comments to doc-strings.
8946 (picture-substitute): Remove function.
8947 (picture-mode-map): Initialize in the defvar.
8948
8949 * woman.el: Remove eval-after-load for tar-mode.
8950 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8951 (woman-tar-extract-file): Autoload it.
8952
8953 * frame.el (automatic-hscrolling): Make this alias obsolete.
8954
8955 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8956
8957 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
8958 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
8959 (ispell-dictionary-base-alist): Revert to original XEmacs
8960 friendly version for default. [:alpha:] will be added in
8961 `ispell-set-spellchecker-params' if needed.
8962
8963 2012-04-16 Chong Yidong <cyd@gnu.org>
8964
8965 * image.el (imagemagick--file-regexp): New variable.
8966 (imagemagick-register-types): Use it.
8967 (imagemagick-types-inhibit): Add :set function. Allow new value
8968 of t to inhibit all types.
8969
8970 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8971 so we can preload it.
8972
8973 * loadup.el (fboundp): Preload regexp-opt, needed by
8974 imagemagick-register-types.
8975
8976 2012-04-15 Chong Yidong <cyd@gnu.org>
8977
8978 * frame.el (scrolling): Remove nearly unused customization group.
8979
8980 * scroll-all.el (scroll-all-mode): Move to windows group.
8981
8982 2012-04-15 Chong Yidong <cyd@gnu.org>
8983
8984 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8985
8986 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8987
8988 Avoid the use of ((lambda ...) ...) in lexical-binding code.
8989 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
8990
8991 2012-04-15 Glenn Morris <rgm@gnu.org>
8992
8993 * simple.el (process-file-side-effects): Doc fix.
8994
8995 2012-04-15 Glenn Morris <rgm@gnu.org>
8996
8997 * international/mule-cmds.el (set-language-environment): Doc fix.
8998
8999 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9000
9001 * server.el (server-auth-key, server-generate-key): Doc fixes.
9002 (server-get-auth-key): Doc fix. Use `string-match-p'.
9003 (server-start): Reflow docstring.
9004
9005 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
9006
9007 * server.el (server-generate-key): `called-interactively-p'
9008 requires a parameter.
9009
9010 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
9011
9012 * server.el (server-auth-key): New variable.
9013 (server-generate-key, server-get-auth-key): New function.
9014 (server-start): Use the new variable and functions to allow
9015 setting a permanent server key (bug#9423).
9016
9017 2012-04-14 Leo Liu <sdl.web@gmail.com>
9018
9019 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9020
9021 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
9022
9023 Spelling fixes.
9024 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9025 Emacs uses American spelling.
9026
9027 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9028
9029 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9030 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
9031 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9032 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
9033
9034 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9035
9036 * progmodes/which-func.el (which-func-modes): Change default.
9037
9038 2012-04-14 Kim F. Storm <storm@cua.dk>
9039
9040 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9041 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
9042
9043 2012-04-14 Chong Yidong <cyd@gnu.org>
9044
9045 * custom.el (custom-theme-set-variables): Doc fix.
9046
9047 2012-04-14 Glenn Morris <rgm@gnu.org>
9048
9049 * international/mule.el (set-auto-coding-for-load): Doc fix.
9050
9051 2012-04-14 Alan Mackenzie <acm@muc.de>
9052
9053 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9054 imenu work again for Objective C Mode. Correct the *-index values,
9055 these having been disturbed by a previous change in 2011-08.
9056
9057 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9058 Correct two search limits.
9059
9060 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9061
9062 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
9063
9064 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
9065
9066 * international/characters.el: Fix sorting.
9067
9068 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9069
9070 * international/characters.el: Add more missing Latin case pairs.
9071
9072 2012-04-14 Glenn Morris <rgm@gnu.org>
9073
9074 * files.el (dir-locals-set-class-variables): Doc fix.
9075
9076 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9077
9078 * international/characters.el: Add set-case-syntax-pair call for
9079 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
9080 counterpart. (Bug#11209)
9081
9082 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
9083
9084 2012-04-14 Glenn Morris <rgm@gnu.org>
9085
9086 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9087
9088 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9089
9090 * textmodes/ispell.el (ispell-dictionary-base-alist):
9091 Add data for Hebrew.
9092
9093 2012-04-14 Chong Yidong <cyd@gnu.org>
9094
9095 * net/rcirc.el (rcirc-cmd-quit):
9096 Revert 2012-03-18 change (Bug#11192).
9097
9098 2012-04-14 Glenn Morris <rgm@gnu.org>
9099
9100 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
9101
9102 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9103
9104 * minibuffer.el (completion-in-region-mode-map):
9105 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
9106
9107 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
9108
9109 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
9110
9111 2012-04-13 Masatake YAMATO <yamato@redhat.com>
9112
9113 * minibuffer.el (minibuffer-local-filename-syntax): New variable
9114 to allow `C-M-f' and `C-M-b' to move to the nearest path
9115 separator (bug#9511).
9116
9117 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
9118
9119 * avoid.el: Require cl when compiling. And also move the
9120 `provide' to the end.
9121
9122 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9123
9124 * avoid.el (mouse-avoidance-banish-position): New variable.
9125 (mouse-avoidance-banish-destination): Use it (bug#10165).
9126
9127 2012-04-13 Leo Liu <sdl.web@gmail.com>
9128
9129 * progmodes/which-func.el (which-func-modes): Add objc-mode.
9130
9131 2012-04-13 Ken Brown <kbrown@cornell.edu>
9132
9133 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
9134 this is no longer needed now that cygstart understands file:// URLs.
9135 (browse-url-filename-alist): For the same reason, don't modify
9136 file:// URLs on Cygwin.
9137
9138 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9139
9140 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
9141 the region on shift if the binding is already shifted (bug#11221).
9142
9143 2012-04-12 Glenn Morris <rgm@gnu.org>
9144
9145 * mail/mailpost.el: Move to obsolete/.
9146
9147 2012-04-12 Drew Adams <drew.adams@oracle.com>
9148
9149 * imenu.el (imenu--generic-function): Ignore invisible definitions
9150 (bug#10123).
9151
9152 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
9153
9154 * hexl.el (hexl-bits): New variable.
9155 (hexl-options): Mention the variable in the doc string.
9156 (hexl-rulerise, hexl-line-displen): New functions.
9157 (hexl-mode): Mention the new variable.
9158 (hexl-mode, hexl-current-address, hexl-current-address):
9159 Use the displen.
9160 (hexl-ascii-start-column): New function.
9161 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
9162 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
9163
9164 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9165
9166 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
9167 '("-i" ENCODING), in 2 separate command-line arguments, to specify
9168 the encoding, as expected by hunspell.
9169
9170 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9171
9172 * battery.el (battery--linux-sysfs-regexp): New const.
9173 (battery-status-function): Use it. Remove yeeloong special case.
9174 (battery-yeeloong-sysfs): Remove.
9175 (battery-echo-area-format): Remove yeeloong special case.
9176
9177 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9178
9179 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
9180 Reported by Noah Friedman.
9181
9182 * subr.el (read-passwd): Use read-string.
9183
9184 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9185
9186 * vcursor.el (vcursor-move): Increase the priority of the overlay
9187 (bug#9663).
9188
9189 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9190
9191 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
9192 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
9193
9194 2012-04-11 William Stevenson <yhvh2000@gmail.com>
9195
9196 * textmodes/artist.el (artist-mode): Convert artist-mode to use
9197 define-minor-mode (bug#10760).
9198
9199 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9200
9201 * progmodes/grep.el (rgrep): Tweak the find command line so
9202 that directories matching `grep-find-ignored-files' won't be
9203 pruned (bug#10351).
9204
9205 2012-04-11 Chong Yidong <cyd@gnu.org>
9206
9207 * startup.el (command-line): Remove support for long-obsolete
9208 variable font-lock-face-attributes.
9209
9210 2012-04-11 Glenn Morris <rgm@gnu.org>
9211
9212 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
9213
9214 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9215
9216 * window.el (window--state-get-1): Obey window-point-insertion-type.
9217
9218 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
9219
9220 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
9221 to previous function when point is on the first character of a
9222 function. Take care of that in `narrow-to-defun' (bug#6157).
9223
9224 2012-04-11 Glenn Morris <rgm@gnu.org>
9225
9226 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
9227 not just file-errors.
9228
9229 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
9230 (vc-bzr-sha1): Use internal sha1.
9231
9232 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9233
9234 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
9235
9236 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
9237
9238 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
9239 that start in the middle of the line (bug#10496).
9240
9241 2012-04-10 Dan Nicolaescu <dann@gnu.org>
9242
9243 * battery.el (battery-linux-proc-acpi): Only one battery is
9244 discharged at a time, but that seems to confuse battery.el when
9245 computing `rate-type' for the battery not being discharged
9246 (bug#10332).
9247
9248 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9249
9250 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
9251
9252 * international/quail.el: Use dolist and simplify.
9253 (quail-define-package, quail-update-keyboard-layout)
9254 (quail-define-rules): Use dolist.
9255 (quail-insert-kbd-layout, quail-get-translation): CSE.
9256
9257 * tmm.el: Use dolist, remove left over hook.
9258 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
9259 Use dolist.
9260 (calendar-load-hook): Don't mess with it.
9261
9262 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9263 Use derived-mode-p. Run the diff asynchronously.
9264
9265 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9266
9267 * obsolete/mouse-sel.el: Add an Obsolete-since header.
9268
9269 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
9270
9271 * misc.el: Display absolute path of loaded DLLs (bug#10424).
9272 (list-dynamic-libraries--loaded): New function.
9273 (list-dynamic-libraries--refresh): Use it.
9274
9275 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
9276
9277 * progmodes/python.el (python-fill-paragraph):
9278 Make python-fill-region in a multiline string work when font-lock is
9279 disabled (bug#7018).
9280
9281 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
9282
9283 * language/european.el (cp775): Add oem/legacy (en)coding on
9284 DOS/MS Windows for the Baltic languages. There are still plenty
9285 of texts written in this encoding/codepage (bug#6519).
9286
9287 2012-04-10 Glenn Morris <rgm@gnu.org>
9288
9289 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9290 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9291
9292 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
9293
9294 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
9295 next-line "n" and previous-line "p" in order to make recentf more
9296 consistent with ibuffer, dired or org-mode (bug#9387).
9297
9298 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9299
9300 * image.el (put-image): Return the overlay created instead of the
9301 optional input string (bug#7834). Note that this may break code
9302 that is (for some reason or other) depending on `put-image'
9303 returning the string.
9304
9305 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9306
9307 * simple.el (zap-to-char): Allow zapping using input methods
9308 (bug#1580).
9309
9310 * textmodes/fill.el (fill-region): Leave point and mark where they
9311 were before filling (bug#5399).
9312
9313 2012-04-09 Glenn Morris <rgm@gnu.org>
9314
9315 * version.el (emacs-bzr-get-version):
9316 Handle lightweight checkouts of local branches.
9317
9318 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
9319
9320 * international/characters.el: Recover lost case pairs. (Bug#11209)
9321
9322 2012-04-09 Chong Yidong <cyd@gnu.org>
9323
9324 * custom.el (custom-variable-p): Return nil for non-symbol
9325 arguments instead of signaling an error.
9326 (user-variable-p): Obsolete alias for custom-variable-p.
9327
9328 * apropos.el (apropos-variable):
9329 * files-x.el (read-file-local-variable):
9330 * simple.el (set-variable):
9331 * woman.el (woman-mini-help):
9332 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9333
9334 2012-04-09 Glenn Morris <rgm@gnu.org>
9335
9336 * startup.el (normal-top-level): Don't look for leim-list.el
9337 in places where it will not be found. (Bug#910)
9338
9339 * international/mule-cmds.el (set-default-coding-systems):
9340 * files.el (normal-mode):
9341 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
9342 This function was removed with ucs-tables.el in 2008.
9343
9344 2012-04-08 Eli Zaretskii <eliz@gnu.org>
9345
9346 * textmodes/ispell.el (ispell-check-version): For hunspell, set
9347 ispell-encoding8-command to "-i", without a trailing space.
9348 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9349 separate command-line arguments, to specify the encoding, since
9350 that's how hunspell expects it.
9351
9352 2012-04-08 Glenn Morris <rgm@gnu.org>
9353
9354 * loadup.el: Load bindings before cus-start.
9355 This reduces somewhat the number of "rogue" settings in emacs -Q.
9356
9357 2012-04-07 Glenn Morris <rgm@gnu.org>
9358
9359 * version.el (emacs-bzr-get-version): New function.
9360 (emacs-bzr-version): New variable.
9361 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9362 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9363
9364 2012-04-07 Eli Zaretskii <eliz@gnu.org>
9365
9366 * international/uni-bidi.el, international/uni-category.el:
9367 * international/uni-combining.el, international/uni-decimal.el:
9368 * international/uni-decomposition.el, international/uni-digit.el:
9369 * international/uni-lowercase.el, international/uni-mirrored.el:
9370 * international/uni-name.el, international/uni-numeric.el:
9371 * international/uni-titlecase.el, international/uni-uppercase.el:
9372 Update for Unicode 6.1.
9373
9374 2012-04-07 Eli Zaretskii <eliz@gnu.org>
9375
9376 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9377
9378 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9379
9380 * window.el (shrink-window): Mention the `window-min-height'
9381 variable in the doc string.
9382
9383 2012-04-05 Bastien Guerry <bzg@altern.org>
9384
9385 * color.el (color-lighten-name): Fix typo.
9386
9387 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9388
9389 * server.el (server--on-display-p): New function.
9390 (server--on-display-p): Use it.
9391
9392 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
9393
9394 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9395 (bug#11145).
9396
9397 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9398
9399 * comint.el (comint--common-quoted-suffix): Check string boundary
9400 before comparing (bug#11158).
9401 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9402
9403 2012-04-04 Chong Yidong <cyd@gnu.org>
9404
9405 * minibuffer.el (completion-extra-properties): Doc fix.
9406
9407 * subr.el (delayed-warnings-hook): Doc fix.
9408
9409 2012-04-04 Daiki Ueno <ueno@unixuser.org>
9410
9411 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9412 selection (Bug#11159).
9413 (epa-insert-keys): Inform that the default public key will be
9414 exported if no key is selected.
9415
9416 2012-04-04 Richard Stallman <rms@gnu.org>
9417
9418 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9419
9420 2012-04-03 Chong Yidong <cyd@gnu.org>
9421
9422 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9423 mail-insert-file, not its obsolete alias mail-attach-file.
9424
9425 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
9426
9427 * notifications.el (notifications-notify): Fix docstring.
9428
9429 2012-04-02 Glenn Morris <rgm@gnu.org>
9430
9431 * emacs-lisp/authors.el (authors-aliases): Another addition.
9432
9433 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
9434
9435 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9436 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9437 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9438
9439 2012-04-01 Chong Yidong <cyd@gnu.org>
9440
9441 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9442 Handle root directory properly.
9443 (copy-directory): Caller changed.
9444
9445 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9446 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9447
9448 2012-03-31 Glenn Morris <rgm@gnu.org>
9449
9450 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9451
9452 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9453
9454 * calendar/calendar.el (calendar-window-list)
9455 (calendar-hide-window): Restore. (Bug#11140)
9456 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9457
9458 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9459
9460 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9461
9462 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9463 Check if file is a symlink (Bug#10489).
9464
9465 * files.el (copy-directory): Likewise.
9466
9467 2012-03-30 Chong Yidong <cyd@gnu.org>
9468
9469 * image.el (imagemagick-types-inhibit)
9470 (imagemagick-register-types): Doc fix.
9471
9472 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9473
9474 * textmodes/ispell.el (ispell-get-extended-character-mode):
9475 Disable extended-char-mode for hunspell. hunspell does not support it
9476 and treats ~word as ordinary words in pipe mode.
9477
9478 2012-03-30 Glenn Morris <rgm@gnu.org>
9479
9480 * tutorial.el (help-with-tutorial): Ensure local variables don't
9481 happen to make the buffer read-only. (Bug#11127)
9482
9483 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9484
9485 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9486 (perl-calculate-indent): Return `noindent' in strings.
9487
9488 2012-03-28 Sam Steingold <sds@gnu.org>
9489
9490 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9491 instead of the broken adhockery which does not prevent calendar
9492 buffers from being displayed at random after exit.
9493 (calendar-window-list, calendar-hide-window): Remove the broken
9494 adhockery.
9495
9496 2012-03-28 Glenn Morris <rgm@gnu.org>
9497
9498 * replace.el (query-replace-map): Doc fix.
9499
9500 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9501
9502 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9503 contents. (Bug#11109)
9504
9505 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9506
9507 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9508 (bug#11077).
9509 (avl-tree--check, avl-tree--check-node): New funs.
9510
9511 2012-03-27 Martin Rudalics <rudalics@gmx.at>
9512
9513 * window.el (switch-to-visible-buffer): New option.
9514 (switch-to-prev-buffer, switch-to-next-buffer):
9515 Observe switch-to-visible-buffer. Make sure that checking for a window
9516 showing a buffer already is done on the same frame.
9517
9518 2012-03-27 Glenn Morris <rgm@gnu.org>
9519
9520 * startup.el (mail-host-address): Doc fix.
9521
9522 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9523
9524 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9525 than 197 variables.
9526
9527 2012-03-26 Ami Fischman <ami@fischman.org>
9528
9529 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9530
9531 2012-03-26 Glenn Morris <rgm@gnu.org>
9532
9533 * files.el (save-buffers-kill-emacs): Doc fix.
9534
9535 * startup.el (normal-top-level, command-line, command-line-1):
9536 Give them doc strings.
9537
9538 2012-03-25 Eli Zaretskii <eliz@gnu.org>
9539
9540 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
9541 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
9542
9543 2012-03-25 Chong Yidong <cyd@gnu.org>
9544
9545 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9546 theme if it was previously enabled before (Bug#11031).
9547
9548 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9549 spec with custom-face-get-current-spec if its :shown-value is not
9550 determined yet (Bug#9337).
9551 (customize-create-theme, custom-theme-revert): Doc fixes.
9552
9553 * button.el (button-at): Minor addition to docstring.
9554
9555 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
9556
9557 * vc/vc.el (vc-merge): Fix a prompt.
9558
9559 2012-03-24 Chong Yidong <cyd@gnu.org>
9560
9561 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9562 point (Bug#9623).
9563
9564 * button.el (button-at): Minor addition to docstring.
9565
9566 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9567
9568 * newcomment.el (comment-choose-indent): No space after BOL.
9569
9570 2012-03-22 Sam Steingold <sds@gnu.org>
9571
9572 * window.el (switch-to-prev-buffer): Revert last patch because the
9573 bug turned out to be an advertised feature (Elisp manual 28.14).
9574
9575 2012-03-22 Glenn Morris <rgm@gnu.org>
9576
9577 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9578 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9579
9580 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9581
9582 * net/network-stream.el (network-stream-open-starttls): Make error
9583 message under Windows be less misleading.
9584
9585 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9586
9587 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9588 understands (bug#9942).
9589
9590 2012-03-22 Chong Yidong <cyd@gnu.org>
9591
9592 * simple.el (end-of-visible-line): Handle return value of
9593 next-single-property-change properly (Bug#9371).
9594
9595 2012-03-22 Kenichi Handa <handa@m17n.org>
9596
9597 * international/quail.el (quail-insert-kbd-layout): Fix previous
9598 change. To avoid unwanted bidi reordering, use
9599 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9600
9601 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9602
9603 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9604 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9605 (ruby-beginning-of-indent): Be more careful with the difference
9606 between word-boundary and symbol boundary.
9607 (ruby-mode-syntax-table): Make : a symbol constituent.
9608
9609 2012-03-21 Andreas Politz <politza@fh-trier.de>
9610
9611 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9612
9613 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9614
9615 * progmodes/etags.el (tags-completion-at-point-function):
9616 Improve last fix.
9617
9618 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9619
9620 2012-03-21 Sam Steingold <sds@gnu.org>
9621
9622 * progmodes/etags.el (tags-completion-at-point-function):
9623 Avoid the error when point is inside the pattern.
9624
9625 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9626
9627 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9628 line (Bug#10855).
9629
9630 2012-03-21 Drew Adams <drew.adams@oracle.com>
9631
9632 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9633
9634 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9635
9636 * ido.el (ido-set-current-directory, ido-read-internal)
9637 (ido-choose-completion-string, ido-completion-help): Handle nil
9638 value of ido-completion-buffer (Bug#11008).
9639
9640 2012-03-21 Sam Steingold <sds@gnu.org>
9641
9642 * window.el (switch-to-prev-buffer): Do not switch to a visible
9643 window previous buffer, just like with the frame previous buffers.
9644
9645 2012-03-21 Chong Yidong <cyd@gnu.org>
9646
9647 * faces.el (make-face, make-empty-face, copy-face):
9648 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9649 Doc fixes.
9650
9651 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9652
9653 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9654 (widget-complete): Remove broken use of it.
9655
9656 2012-03-20 Chong Yidong <cyd@gnu.org>
9657
9658 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9659 Use string-width and truncate-string-width to handle arbitrary
9660 characters.
9661
9662 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9663
9664 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9665 to draw rectangles, not squares. (Regression introduced by revno
9666 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9667
9668 2012-03-18 Chong Yidong <cyd@gnu.org>
9669
9670 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9671 it is not yet defined (for temacs).
9672
9673 2012-03-18 Leo Liu <sdl.web@gmail.com>
9674
9675 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9676 prefix.
9677
9678 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9679
9680 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9681 (ispell-choices-win-default-height, ispell-silently-savep)
9682 (ispell-dictionary-alist, ispell-encoding8-command)
9683 (ispell-check-version, ispell-aspell-find-dictionary)
9684 (ispell-valid-dictionary-list, ispell-words-keyword)
9685 (ispell-get-word, ispell-internal-change-dictionary)
9686 (ispell-region, ispell-skip-region-list)
9687 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9688 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9689 (ispell-message-text-end, ispell-message)
9690 (ispell-buffer-local-parsing): Doc fix.
9691
9692 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
9693
9694 * htmlfontify.el: Add support for code block fontification for ODT
9695 export (Bug #9914).
9696 (hfy-optimisations): Define new option
9697 `body-text-only'
9698 (hfy-fontify-buffer): Honor above setting.
9699 (hfy-begin-span, hfy-end-span): New routines factored out form
9700 `hfy-fontify-buffer'.
9701 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9702 that permit insertion of custom tags.
9703 (hfy-fontify-buffer): Use above handlers.
9704 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9705 (hfy-face-to-css): Re-defined to be a variable.
9706 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
9707 over multiple runs. This is made possible by having the caller let
9708 bind a special variable `hfy-user-sheet-assoc'.
9709 (htmlfontify-string): New defun.
9710 (hfy-compile-face-map): Make sure that the last char in the
9711 buffer is correctly fontified.
9712 (hfy-face-resolve-face): Whitespace only change.
9713
9714 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9715
9716 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9717 message more clear.
9718
9719 2012-03-16 Leo Liu <sdl.web@gmail.com>
9720
9721 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9722
9723 2012-03-16 Alan Mackenzie <acm@muc.de>
9724
9725 Further optimise the handling of large macros.
9726
9727 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9728 limit to a call of `c-literal-limits'.
9729 (c-determine-+ve-limit): New function.
9730 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9731 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
9732 In CASE 5B, restrict a search limit to 500.
9733 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9734
9735 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9736 Restrict macro bounds to +-500 from after-change's BEG END.
9737
9738 2012-03-16 Leo Liu <sdl.web@gmail.com>
9739
9740 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9741
9742 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9743
9744 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
9745 `special-mode' setting of `buffer-read-only'. (Bug#11010)
9746
9747 2012-03-16 Glenn Morris <rgm@gnu.org>
9748
9749 * view.el (view-buffer, view-buffer-other-window)
9750 (view-buffer-other-frame): Doc fixes re special mode-class.
9751
9752 * subr.el (eval-after-load): If named feature is provided not from
9753 a file, run after-load forms. (Bug#10946)
9754
9755 * calendar/calendar.el (calendar-insert-at-column):
9756 Handle non-unit-width characters a bit better. (Bug#10978)
9757
9758 2012-03-15 Chong Yidong <cyd@gnu.org>
9759
9760 * emacs-lisp/ring.el (ring-extend): New function.
9761 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9762
9763 * comint.el (comint-read-input-ring)
9764 (comint-add-to-input-history): Grow comint-input-ring lazily.
9765
9766 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9767
9768 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9769 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9770
9771 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9772 (imenu-add-to-menubar): Don't add a redundant index.
9773 (imenu-update-menubar): Handle a dynamically composed keymap.
9774
9775 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9776
9777 * mail/sendmail.el (mail-encode-header):
9778 Bind rfc2047-encode-encoded-words to nil.
9779
9780 2012-03-13 Glenn Morris <rgm@gnu.org>
9781
9782 * calendar/calendar.el (calendar-string-spread):
9783 Handle non-unit-width characters a bit better. (Bug#10978)
9784
9785 2012-03-13 Leo Liu <sdl.web@gmail.com>
9786
9787 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9788 directory and file as argument (Bug#10822).
9789
9790 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9791
9792 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9793 For dynamically generated code, follow $PC.
9794 (gdb-disassembly-handler-custom): Handle no function name case.
9795
9796 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9797
9798 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9799 * emulation/ws-mode.el (ws-query-replace):
9800 * sort.el (sort-regexp-fields):
9801 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9802
9803 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9804
9805 * dabbrev.el: Fix cycle completion order (bug#10963).
9806 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9807 (dabbrev-completion): Don't use an obarray; provide
9808 a cycle-sort-function.
9809
9810 2012-03-12 Leo Liu <sdl.web@gmail.com>
9811
9812 * simple.el (kill-new): Use equal-including-properties for comparison.
9813 (kill-do-not-save-duplicates): Doc fix.
9814
9815 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9816
9817 * dabbrev.el: Fix cycle completion (bug#10963).
9818 Use lexical binding and wrap to 80 columns.
9819 (dabbrev-completion): Delay computing the list of completions.
9820
9821 2012-03-12 Kenichi Handa <handa@m17n.org>
9822
9823 * international/quail.el (quail-insert-kbd-layout): Surround each
9824 row by LRO and PDF instead of inserting many LRMs. Pad the left
9825 and right of each non-spacing marks. Insert invisible space
9826 between lower and upper characters to prevent composition.
9827
9828 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9829
9830 * minibuffer.el (minibuffer-complete): Don't get confused when the
9831 function is run twice via different commands (bug#10958).
9832 (complete-with-action): Fix docstring.
9833
9834 2012-03-12 Chong Yidong <cyd@gnu.org>
9835
9836 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9837 (nxml-completion-at-point-function): New function.
9838 (nxml-mode): Use it.
9839 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9840
9841 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9842 Load generated autoloads file before byte compiling (Bug#10970).
9843 (package--make-autoloads-and-compile): New helper fun.
9844
9845 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9846
9847 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9848
9849 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
9850
9851 * autorevert.el (auto-revert-handler): Ensure, that
9852 file-readable-p is applied only for local files or in
9853 auto-revert-tail-mode.
9854
9855 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9856
9857 * server.el (server-eval-at): Handle non-tcp connections.
9858 Decode result string.
9859
9860 * server.el (server-msg-size): New constant.
9861 (server-reply-print): New function.
9862 (server-eval-and-print): Use it.
9863 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9864 Handle -print-nonl.
9865
9866 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9867
9868 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9869 (Bug#10987).
9870
9871 2012-03-11 Chong Yidong <cyd@gnu.org>
9872
9873 * simple.el (goto-line): Doc fix (Bug#9938).
9874
9875 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9876
9877 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9878 when finished (Bug#10963).
9879
9880 2012-03-11 Martin Rudalics <rudalics@gmx.at>
9881
9882 * window.el (split-window-below): Fix bug in case where
9883 split-window-keep-point is nil (Bug#10971).
9884
9885 2012-03-11 Juri Linkov <juri@jurta.org>
9886
9887 * replace.el (replace-highlight): Set isearch-word to nil
9888 unconditionally. (Bug#10887)
9889
9890 2012-03-10 Eli Zaretskii <eliz@gnu.org>
9891
9892 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9893 mairix-replace-illegal-chars; all callers changed. Don't remove
9894 ^, ~, and = characters: they are meaningful in mairix search specs.
9895 (mairix-widget-create-query): Add usage information about mairix
9896 search forms: negating words, searching for substrings, etc.
9897
9898 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9899
9900 * international/fontset.el (font-encoding-alist): Add an entry for
9901 ksx1001 (Bug#5667).
9902
9903 2012-03-10 Richard Stallman <rms@gnu.org>
9904
9905 * mail/sendmail.el (mail-encode-header):
9906 Set rfc2047-encode-encoded-words.
9907
9908 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9909
9910 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9911 view buffer means not swapped.
9912 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9913 (rmail-write-region-annotate): Error if real text has disappeared.
9914
9915 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9916
9917 2012-03-10 Chong Yidong <cyd@gnu.org>
9918
9919 * emulation/cua-rect.el (cua--init-rectangles):
9920 * emulation/cua-base.el (cua--init-keymaps):
9921 Add delete-forward-char to remappings (Bug#9666).
9922
9923 2012-03-10 Martin Rudalics <rudalics@gmx.at>
9924
9925 * speedbar.el (speedbar-unhighlight-one-tag-line):
9926 Avoid unhighlighting due to frame switching (Bug#10275).
9927
9928 2012-03-10 Chong Yidong <cyd@gnu.org>
9929
9930 * minibuffer.el (completion-in-region, completion-help-at-point):
9931 Give the completion field overlay a high priority (Bug#6830).
9932
9933 * dired.el (dired-goto-file): Recognize absolute file name
9934 listings (Bug#7126).
9935 (dired-goto-file-1): New helper function.
9936 (dired-toggle-read-only): Inhibit warnings.
9937
9938 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
9939
9940 * net/dbus.el (dbus-property-handler): Return empty array if
9941 there are no properties.
9942
9943 2012-03-09 Leo Liu <sdl.web@gmail.com>
9944
9945 * savehist.el (savehist-printable): Stricter check for string
9946 value (Bug#10937).
9947
9948 2012-03-09 Eli Zaretskii <eliz@gnu.org>
9949
9950 * mail/smtpmail.el (smtpmail-send-it):
9951 Bind coding-system-for-write to *-unix, so that FCC files are kept in
9952 valid mbox format.
9953
9954 2012-03-09 Glenn Morris <rgm@gnu.org>
9955
9956 * files.el (dir-locals-find-file):
9957 Don't check result is regular, readable.
9958 (dir-locals-read-from-file): Demote errors.
9959
9960 2012-03-08 Eli Zaretskii <eliz@gnu.org>
9961
9962 * international/quail.el (quail-insert-kbd-layout):
9963 Insert invisible LRM characters before each character in a keyboard
9964 layout cell, to prevent their reordering by bidi display engine.
9965 For details, see the discussion in
9966 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9967
9968 2012-03-08 Alan Mackenzie <acm@muc.de>
9969
9970 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9971 the starting position; make it extend the marked region when
9972 invoked repeatedly - all under appropriate circumstances.
9973 Fixes bugs #5525, #10906.
9974
9975 2012-03-08 Glenn Morris <rgm@gnu.org>
9976
9977 * files.el (locate-dominating-file, dir-locals-find-file):
9978 Undo 2012-03-06 change.
9979
9980 2012-03-07 Eli Zaretskii <eliz@gnu.org>
9981
9982 * international/quail.el (quail-help):
9983 Force bidi-paragraph-direction be left-to-right. See discussion in
9984 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9985 for the reason.
9986
9987 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
9988
9989 Avoid superfluous registering of signals. (Bug#10807)
9990
9991 * notifications.el (notifications-on-action-object)
9992 (notifications-on-close-object): New defvars.
9993 (notifications-on-action-signal, notifications-on-closed-signal):
9994 Unregister the signal if not needed any longer.
9995 (notifications-notify): Register `notifications-action-signal' or
9996 `notifications-closed-signal', if :on-action or :on-close has been
9997 passed as argument.
9998
9999 2012-03-07 Chong Yidong <cyd@gnu.org>
10000
10001 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10002 non-X platforms.
10003
10004 2012-03-06 Glenn Morris <rgm@gnu.org>
10005
10006 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10007 (x-disown-selection-internal, x-get-selection-internal):
10008 Doc fix (add arglist signatures). (Bug#10783)
10009
10010 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10011
10012 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10013 Handle breakpoints with no "type".
10014
10015 2012-03-06 Glenn Morris <rgm@gnu.org>
10016
10017 * files.el (locate-dominating-file): Add optional predicate argument.
10018 (dir-locals-find-file): Make use of above change.
10019
10020 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
10021
10022 * info.el (Info-insert-dir): Also try "dir.gz".
10023
10024 2012-03-06 Glenn Morris <rgm@gnu.org>
10025
10026 * files.el (dir-locals-find-file):
10027 Ignore non-readable or non-regular files. (Bug#10928)
10028
10029 * files.el (locate-dominating-file): Doc fix.
10030
10031 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
10032
10033 * calendar/calendar.el (calendar-set-mode-line):
10034 `getenv' returns a string. (Bug#10951)
10035
10036 2012-03-05 Leo Liu <sdl.web@gmail.com>
10037
10038 * simple.el (backward-delete-char-untabify): Constrain point to
10039 field (Bug#10939).
10040
10041 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
10042
10043 2012-03-05 Chong Yidong <cyd@gnu.org>
10044
10045 * simple.el (count-words): If called from Lisp, return the word
10046 count, for symmetry with `count-lines'. Arglist changed.
10047 (count-words--message): Args changed. Consolidate counting code
10048 from count-words and count-words-region.
10049 (count-words-region): Caller changed.
10050 (count-lines-region): Make it an obsolete alias.
10051
10052 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
10053
10054 * saveplace.el (save-place-to-alist)
10055 (save-place-ignore-files-regexp): Allow value nil to disable this
10056 feature.
10057
10058 2012-03-04 Chong Yidong <cyd@gnu.org>
10059
10060 * faces.el (face-spec-reset-face): For the default face, reset the
10061 attributes to default values (Bug#10748).
10062
10063 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10064
10065 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
10066 previous patch: Check `message-send-mail-function', and not the
10067 default function (bug#10897).
10068
10069 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
10070
10071 * notifications.el (notifications-on-action-signal)
10072 (notifications-on-closed-signal): Check for unique service name of
10073 incoming event. Fix error in removing entry.
10074 (top): Register for signals with wildcard service name.
10075 (notifications-notify): Use daemon unique service name for map entries.
10076
10077 2012-03-04 Chong Yidong <cyd@gnu.org>
10078
10079 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
10080
10081 2012-03-04 Glenn Morris <rgm@gnu.org>
10082
10083 * abbrev.el (copy-abbrev-table, abbrev-table-p)
10084 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
10085 (expand-abbrev, define-abbrev-table): Doc fixes.
10086
10087 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10088
10089 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
10090 `message-default-send-mail-function' and not `send-mail-function'
10091 when doing the prompting for `sendmail-query-once' before sending
10092 in Message buffers (bug#10897).
10093
10094 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10095 This is inconsistent with all the other stream functions, which leave
10096 the setting up to the higher levels (if so wanted) (bug#10931).
10097
10098 2012-03-02 Alan Mackenzie <acm@muc.de>
10099
10100 Depessimize the handling of very large macros.
10101
10102 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
10103 (c-macro-cache-syntactic): New variables to implement a one
10104 element macro cache.
10105 (c-invalidate-macro-cache): New function.
10106 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
10107 Adapt to use the new cache.
10108 (c-state-safe-place): Use better the cache of safe positions.
10109 (c-state-semi-nonlit-pos-cache)
10110 (c-state-semi-nonlit-pos-cache-limit):
10111 New variables for...
10112 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
10113 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
10114 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
10115 Use c-state-semi-safe-place.
10116
10117 * progmodes/cc-langs.el (c-get-state-before-change-functions):
10118 Add c-invalidate-macro-cache to the C, C++, Obj entries.
10119
10120 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
10121
10122 * jka-compr.el (jka-compr-call-process):
10123 Apply `file-accessible-directory-p' only when the default directory is
10124 not remote.
10125
10126 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
10127
10128 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
10129 access of FILE2, if FILE1 does not exist.
10130
10131 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
10132 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
10133
10134 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
10135 Add "PAGER=" to `process-environment'.
10136
10137 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
10138
10139 * progmodes/sql.el: Bug fix
10140 (sql-get-login-ext): Save login values in globals.
10141 (sql-get-login): Use new version of `sql-get-login-ext'.
10142 (sql-interactive-mode): Set global `sql-connection' to nil.
10143 (sql-connect): Set global values for connection.
10144 (sql-product-interactive): Save global values as buffer local.
10145
10146 2012-02-29 Leo Liu <sdl.web@gmail.com>
10147
10148 * abbrev.el (define-abbrevs): Reset sys to nil.
10149
10150 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10151
10152 * files.el (file-equal-p): Rename from `files-equal-p'.
10153 Return nil when one or both files don't exist.
10154 (file-subdir-of-p): Now only top directory must exists,
10155 return nil if it doesn't.
10156 (copy-directory): No need to test with `file-subdir-of-p' after
10157 creating dir.
10158 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
10159 to `file-equal-p'.
10160
10161 2012-02-28 Glenn Morris <rgm@gnu.org>
10162
10163 * shell.el (shell-mode):
10164 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
10165 * play/landmark.el (landmark-font-lock-face-O):
10166 * play/handwrite.el (handwrite):
10167 * play/gomoku.el (gomoku-O):
10168 * net/browse-url.el (browse-url-browser-display):
10169 * international/mule.el (define-charset):
10170 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
10171 * filesets.el (filesets-find-file-delay):
10172 * eshell/em-xtra.el (eshell-xtra):
10173 * eshell/em-unix.el (eshell-grep):
10174 * emulation/viper.el (viper-mode):
10175 * emacs-lisp/regexp-opt.el (regexp-opt-group):
10176 * emacs-lisp/easymenu.el (easy-menu-define):
10177 * calendar/timeclock.el (timeclock-use-display-time):
10178 * bs.el (bs-mode):
10179 * bookmark.el (bookmark-save-flag):
10180 Doc fix (standardize possessive apostrophe usage).
10181
10182 2012-02-27 Chong Yidong <cyd@gnu.org>
10183
10184 * emulation/viper-cmd.el (viper-intercept-ESC-key):
10185 Fix key-binding lookup for ESC key (Bug#9146).
10186
10187 * font-lock.el (font-lock-specified-p): Rename from
10188 font-lock-spec-present. Callers changed.
10189
10190 2012-02-27 Daniel Hackney <dan@haxney.org>
10191
10192 * emacs-lisp/package.el (package-compute-transaction):
10193 Handle holding a package version to t in package-load-list.
10194
10195 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
10196
10197 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
10198 (tramp-get-inode, tramp-get-device): Use cached values.
10199
10200 2012-02-26 Alan Mackenzie <acm@muc.de>
10201
10202 Check there is a font-lock specification before doing initial
10203 fontification.
10204
10205 * font-core.el (font-lock-mode): Move the conditional from
10206 :after-hook to font-lock-initial-fontify.
10207 (font-lock-default-function): Move the check for a specification
10208 to font-lock-spec-present.
10209
10210 * font-lock.el (font-lock-initial-fontify): Call ...
10211 (font-lock-spec-present): New function.
10212
10213 2012-02-26 Jim Blandy <jimb@red-bean.com>
10214
10215 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
10216 (gdb-send): Apply it to the operand of the '-interpreter-exec
10217 console' command, so that we can pass arguments with (say) quotes
10218 in them. Store exact string sent in gdb-debug-log (Bug#10765).
10219
10220 2012-02-26 Chong Yidong <cyd@gnu.org>
10221
10222 * help-fns.el (describe-function-1): Clarify description of
10223 remapping (Bug#10844).
10224
10225 * files.el (files-equal-p): Doc fix.
10226 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
10227 and quit the loop once a mismatch is found.
10228
10229 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
10230
10231 * bs.el (bs--show-with-configuration): Don't throw an error
10232 if the window cannot be split; otherwise, subsequent calls to
10233 bs-show fail, restoring a stale window config. (Bug#10882)
10234
10235 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
10236
10237 * term/ns-win.el (global-map): Bind ns-drag-file to
10238 ns-find-file (Bug#5855, Bug#10050).
10239
10240 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
10241
10242 * calendar/parse-time.el (parse-time-string): Allow extractor to
10243 return nil.
10244
10245 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
10246
10247 * net/tramp.el (tramp-file-name-for-operation):
10248 Add `files-equal-p' and `file-subdir-of-p'.
10249
10250 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
10251 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10252 Add COPY-CONTENTS argument.
10253
10254 2012-02-25 Chong Yidong <cyd@gnu.org>
10255
10256 Add custom groups for VC backends, for consistency with vc-bzr.
10257
10258 * vc/vc-arch.el (vc-arch):
10259 * vc/vc-cvs.el (vc-cvs):
10260 * vc/vc-git.el (vc-git):
10261 * vc/vc-hg.el (vc-hg):
10262 * vc/vc-mtn.el (vc-mtn):
10263 * vc/vc-rcs.el (vc-rcs):
10264 * vc/vc-sccs.el (vc-sccs):
10265 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
10266 All relevant defcustoms reassigned.
10267
10268 2012-02-25 Chong Yidong <cyd@gnu.org>
10269
10270 * newcomment.el (comment-styles): Add autoload (Bug#10868).
10271
10272 * term/x-win.el (x-initialize-window-system): Reduce default for
10273 x-selection-timeout to 5 seconds (Bug#8869).
10274
10275 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10276
10277 * files.el (files-equal-p, file-subdir-of-p): New functions.
10278 (copy-directory): Error when trying to copy a directory on itself.
10279 Add missing copy-contents arg to tramp handler.
10280 * dired-aux.el (dired-copy-file-recursive): Same.
10281 (dired-create-files): Modify destination when source is equal to
10282 dest when copying files.
10283 Return also when dest is a subdir of source. (Bug#10489)
10284
10285 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
10286
10287 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10288 (Bug#10874)
10289
10290 2012-02-23 Alan Mackenzie <acm@muc.de>
10291
10292 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10293 parameter "after-hook:" to allow the expansion to run code after
10294 the execution of the mode hooks.
10295
10296 * font-lock.el (font-lock-initial-fontify): New function extracted
10297 from font-lock-mode-internal.
10298
10299 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
10300 :after-hook.
10301
10302 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10303
10304 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10305 (completion--cache-all-sorted-completions): New function.
10306 (completion-all-sorted-completions): Use it.
10307 (completion--do-completion, minibuffer-force-complete):
10308 Use it to re-instate the flush hook.
10309
10310 * icomplete.el (icomplete-completions): Replace last fix with a better
10311 one (bug#10850).
10312
10313 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
10314
10315 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10316 when it might call us back infinitely (bug#10797).
10317
10318 2012-02-23 Glenn Morris <rgm@gnu.org>
10319
10320 * minibuffer.el (completion-category-overrides): Doc fix.
10321
10322 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10323
10324 * minibuffer.el (completion-table-with-context): Fix inf-loop.
10325 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10326
10327 2012-02-23 Glenn Morris <rgm@gnu.org>
10328
10329 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
10330 (authors-obsolete-files-regexps, authors-ignored-files)
10331 (authors-ambiguous-files, authors-renamed-files-alist):
10332 Add more entries.
10333
10334 2012-02-23 Juri Linkov <juri@jurta.org>
10335
10336 * isearch.el (isearch-occur): Sync interactive spec with occur's
10337 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
10338
10339 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10340
10341 2012-02-22 Juri Linkov <juri@jurta.org>
10342
10343 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10344 (ucs-insert): Doc fix. Check for hex digits in the string.
10345 Don't display `nil' in the error message. (Bug#10857)
10346
10347 2012-02-22 Alan Mackenzie <acm@muc.de>
10348
10349 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
10350
10351 2012-02-22 Glenn Morris <rgm@gnu.org>
10352
10353 * ffap.el (ffap-c-path):
10354 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10355
10356 2012-02-22 Chong Yidong <cyd@gnu.org>
10357
10358 * custom.el (load-theme): Doc fix.
10359
10360 2012-02-22 Glenn Morris <rgm@gnu.org>
10361
10362 * dired-x.el (dired-guess-shell-alist-default):
10363 Remove escape sequences from nroff output. (Bug#172)
10364
10365 2012-02-21 Glenn Morris <rgm@gnu.org>
10366
10367 * vc/emerge.el (emerge-defvar-local):
10368 Set `permanent-local' property rather than unused `preserved'.
10369
10370 * textmodes/picture.el (picture-delete-char): New alias.
10371 (picture-mode-map): Use it. (Bug#10860)
10372 (picture-mode): Doc fix.
10373
10374 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
10375
10376 * newcomment.el (uncomment-region-default): Remove unused binding.
10377
10378 2012-02-21 Glenn Morris <rgm@gnu.org>
10379
10380 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10381 (picture-self-insert, picture-tab-chars): Doc fix.
10382 (picture-mode-map): Fix C-a, C-e.
10383
10384 2012-02-20 Glenn Morris <rgm@gnu.org>
10385
10386 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10387
10388 2012-02-20 Leo Liu <sdl.web@gmail.com>
10389
10390 * icomplete.el (icomplete-completions): Check FROM arg before
10391 passing to substring (Bug#10850).
10392
10393 2012-02-19 Chong Yidong <cyd@gnu.org>
10394
10395 * comint.el: Require ansi-color.
10396 (comint-output-filter-functions): Add ansi-color-process-output.
10397
10398 * ansi-color.el: Don't set comint-output-filter-functions; it is
10399 now in the initial value defined in comint.el.
10400 (ansi-color-apply-face-function): New variable.
10401 (ansi-color-apply-on-region): Use it.
10402 (ansi-color-apply-overlay-face): New function.
10403
10404 * shell.el (shell): No need to require ansi-color.
10405 (shell-mode): Use ansi-color-apply-face-function to highlight
10406 color escapes using font-lock-face property (Bug#10835).
10407
10408 2012-02-19 Chong Yidong <cyd@gnu.org>
10409
10410 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10411 mode-line formats (Bug#10839).
10412
10413 2012-02-18 Glenn Morris <rgm@gnu.org>
10414
10415 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10416
10417 * mail/undigest.el (unforward-rmail-message): Doc fix.
10418
10419 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10420
10421 2012-02-18 Eli Zaretskii <eliz@gnu.org>
10422
10423 * international/characters.el (script-list): Sync with the latest
10424 Unicode Character Database.
10425
10426 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10427
10428 * international/titdic-cnv.el: Remove duplicate coding tag.
10429 * language/cham.el: Likewise.
10430 * language/tai-viet.el: Likewise.
10431
10432 2012-02-18 Glenn Morris <rgm@gnu.org>
10433
10434 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10435 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10436 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10437 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10438 * calendar/holidays.el (holiday-bahai-holidays)
10439 (calendar-holidays, list-holidays):
10440 Use utf-8 Bahá'í in doc-strings, menus, etc.
10441
10442 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10443
10444 * saveplace.el (save-place-ignore-files-regexp): New variable
10445 allowing for excluding files from saving their location of point.
10446 The default value matches the temporary commit message editing
10447 files from Git, SVN, Bazaar, and Mercurial.
10448 (save-place-to-alist): Use it.
10449
10450 2012-02-17 Lawrence Mitchell <wence@gmx.li>
10451 Stefan Monnier <monnier@iro.umontreal.ca>
10452
10453 * newcomment.el (uncomment-region-default): Don't leave extra space
10454 when an arg is provided (bug#8150).
10455
10456 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10457
10458 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
10459
10460 2012-02-17 Glenn Morris <rgm@gnu.org>
10461
10462 * net/socks.el: Require network-stream. (Bug#10599)
10463
10464 2012-02-17 Kenichi Handa <handa@m17n.org>
10465
10466 * international/charprop.el:
10467 * international/uni-name.el:
10468 * international/uni-old-name.el:
10469 * international/uni-comment.el: Regenerate.
10470
10471 2012-02-16 Glenn Morris <rgm@gnu.org>
10472
10473 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10474 Interactively in calendar buffer, give an error if not on a date.
10475
10476 2012-02-15 Glenn Morris <rgm@gnu.org>
10477
10478 * shell.el (shell-delimiter-argument-list):
10479 Revert 2011-02-17 change. (Bug#8027)
10480
10481 2012-02-15 Chong Yidong <cyd@gnu.org>
10482
10483 * minibuffer.el (completion-at-point-functions): Doc fix.
10484
10485 * custom.el (defcustom): Doc fix; note use of defvar.
10486
10487 2012-02-15 Glenn Morris <rgm@gnu.org>
10488
10489 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10490 Doc fixes.
10491
10492 2012-02-14 Glenn Morris <rgm@gnu.org>
10493
10494 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10495
10496 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10497
10498 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10499 way the ports list is computed.
10500 (smtpmail-query-smtp-server): Prompt the user for a port number if
10501 we can't connect to any of the standard ports (bug#10810).
10502
10503 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10504
10505 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10506
10507 2012-02-13 Glenn Morris <rgm@gnu.org>
10508
10509 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10510
10511 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10512
10513 * net/gnutls.el (gnutls-trustfiles): New variable.
10514 (gnutls-negotiate): Use it.
10515
10516 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10517
10518 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10519 does its stuff if Gnus is running.
10520
10521 2012-02-13 Alan Mackenzie <acm@muc.de>
10522
10523 Fix a loop in c-set-fl-decl-start.
10524
10525 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
10526 c-backward-syntactic-ws actually moves backwards.
10527
10528 2012-02-13 Leo Liu <sdl.web@gmail.com>
10529
10530 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10531 beginning so that all \C-o chars are removed.
10532
10533 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10534
10535 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
10536
10537 2012-02-12 Alan Mackenzie <acm@muc.de>
10538
10539 Fix infinite loop with long macros.
10540 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
10541
10542 2012-02-12 Chong Yidong <cyd@gnu.org>
10543
10544 * window.el (display-buffer): Doc fix (Bug#10785).
10545
10546 2012-02-12 Glenn Morris <rgm@gnu.org>
10547
10548 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10549 (x-disown-selection-internal, x-get-selection-internal):
10550 Sync docs with the xselect.c versions.
10551
10552 * allout-widgets.el: Add missing license notice.
10553
10554 2012-02-11 Glenn Morris <rgm@gnu.org>
10555
10556 * select.el (x-get-selection-internal, x-own-selection-internal)
10557 (x-disown-selection-internal):
10558 * x-dnd.el (x-get-selection-internal): Update declarations.
10559
10560 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10561
10562 * window.el (window-sides-slots):
10563 * tool-bar.el (tool-bar-position):
10564 * term/xterm.el (xterm-extra-capabilities):
10565 * ses.el (ses-self-reference-early-detection):
10566 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10567 (verilog-auto-wire-type)
10568 (verilog-auto-delete-trailing-whitespace)
10569 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10570 (verilog-auto-tieoff-declaration):
10571 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10572 (sql-oracle-statement-starters, sql-oracle-scan-on):
10573 * progmodes/prolog.el (prolog-align-comments-flag)
10574 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10575 (prolog-left-indent-regexp, prolog-paren-indent-p)
10576 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10577 (prolog-types, prolog-mode-specificators)
10578 (prolog-determinism-specificators, prolog-directives)
10579 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10580 (prolog-electric-dot-flag)
10581 (prolog-electric-dot-full-predicate-template)
10582 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10583 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10584 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10585 (prolog-program-switches, prolog-prompt-regexp)
10586 (prolog-debug-on-string, prolog-debug-off-string)
10587 (prolog-trace-on-string, prolog-trace-off-string)
10588 (prolog-zip-on-string, prolog-zip-off-string)
10589 (prolog-use-standard-consult-compile-method-flag)
10590 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10591 (prolog-imenu-max-lines, prolog-info-predicate-index)
10592 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10593 (prolog-char-quote-workaround):
10594 * progmodes/cc-vars.el (c-defun-tactic):
10595 * net/tramp.el (tramp-encoding-command-interactive)
10596 (tramp-local-end-of-line):
10597 * net/soap-client.el (soap-client):
10598 * net/netrc.el (netrc-file):
10599 * net/gnutls.el (gnutls):
10600 * minibuffer.el (completion-category-overrides)
10601 (completion-cycle-threshold)
10602 (completion-pcm-complete-word-inserts-delimiters):
10603 * man.el (Man-name-local-regexp):
10604 * mail/feedmail.el (feedmail-display-full-frame):
10605 * international/characters.el (glyphless-char-display-control):
10606 * eshell/em-ls.el (eshell-ls-date-format):
10607 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10608 (lisp-lambda-list-keyword-parameter-indentation)
10609 (lisp-lambda-list-keyword-parameter-alignment):
10610 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10611 * dired-x.el (dired-omit-verbose):
10612 * cus-theme.el (custom-theme-allow-multiple-selections):
10613 * calc/calc.el (calc-highlight-selections-with-faces)
10614 (calc-lu-field-reference, calc-lu-power-reference)
10615 (calc-note-threshold):
10616 * battery.el (battery-mode-line-limit):
10617 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10618 (archive-7z-update):
10619 * allout.el (allout-prefixed-keybindings)
10620 (allout-unprefixed-keybindings)
10621 (allout-inhibit-auto-fill-on-headline)
10622 (allout-flattened-numbering-abbreviation):
10623 * allout-widgets.el (allout-widgets-auto-activation)
10624 (allout-widgets-icons-dark-subdir)
10625 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10626 (allout-widgets-theme-dark-background)
10627 (allout-widgets-theme-light-background)
10628 (allout-widgets-item-image-properties-emacs)
10629 (allout-widgets-item-image-properties-xemacs)
10630 (allout-widgets-run-unit-tests-on-load)
10631 (allout-widgets-time-decoration-activity)
10632 (allout-widgets-hook-error-post-time)
10633 (allout-widgets-track-decoration):
10634 Add missing :version tags to new defcustoms and defgroups.
10635
10636 * progmodes/sql.el (sql-ansi-statement-starters)
10637 (sql-oracle-statement-starters): Add custom type.
10638
10639 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10640 (prolog-system-version): Give it a type.
10641
10642 2012-02-11 Eli Zaretskii <eliz@gnu.org>
10643
10644 * term/pc-win.el (x-select-text, x-selection-owner-p)
10645 (x-own-selection-internal, x-disown-selection-internal)
10646 (x-get-selection-internal): Sync doc strings and argument lists
10647 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10648
10649 2012-02-11 Leo Liu <sdl.web@gmail.com>
10650
10651 * progmodes/python.el (python-end-of-statement): Fix infinite
10652 loop. (Bug#10788)
10653
10654 2012-02-10 Glenn Morris <rgm@gnu.org>
10655
10656 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10657 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10658
10659 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10660
10661 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10662 about SMTP before checking the From header.
10663
10664 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
10665 into own function for reuse by emacsbug.el.
10666
10667 2012-02-10 Leo Liu <sdl.web@gmail.com>
10668
10669 * subr.el (condition-case-unless-debug): Rename from
10670 condition-case-no-debug. All callers changed.
10671 (with-demoted-errors): Fix caller.
10672
10673 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10674 * nxml/rng-valid.el (rng-do-some-validation):
10675 * emacs-lisp/package.el (package-refresh-contents)
10676 (package-menu-execute):
10677 * desktop.el (desktop-create-buffer):
10678 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
10679
10680 2012-02-10 Glenn Morris <rgm@gnu.org>
10681
10682 * textmodes/bibtex.el:
10683 Add missing :version tags for new/changed defcustoms.
10684
10685 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10686
10687 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
10688
10689 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10690 (smtpmail-via-smtp): Use it, or fall back on the From address.
10691 (smtpmail-send-it): Ditto.
10692
10693 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10694
10695 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10696 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10697 (byte-compile-tmp-var): New const.
10698 (byte-compile-defvar): Use it to minimize .elc size.
10699 Just use `defvar' rather than simulate it (bug#10761).
10700
10701 2012-02-09 Glenn Morris <rgm@gnu.org>
10702
10703 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10704
10705 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10706 Add :version tags.
10707
10708 * progmodes/compile.el (compilation-error-screen-columns)
10709 (compilation-first-column, compilation-filter-start): Doc fixes.
10710
10711 * vc/log-view.el (log-view-toggle-entry-display):
10712 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10713
10714 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10715 (report-emacs-bug-can-use-xdg-email):
10716 (report-emacs-bug-insert-to-mailer): Doc fixes.
10717 (report-emacs-bug): Message fix.
10718
10719 * net/browse-url.el (browse-url-can-use-xdg-open)
10720 (browse-url-xdg-open): Doc fixes.
10721
10722 * electric.el (electric-indent-mode, electric-pair-mode)
10723 (electric-layout-rules, electric-layout-mode): Doc fixes.
10724 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10725
10726 2012-02-08 Martin Rudalics <rudalics@gmx.at>
10727
10728 * server.el (server-unselect-display): Don't inadvertently kill
10729 the current buffer. (Bug#10729)
10730
10731 2012-02-08 Glenn Morris <rgm@gnu.org>
10732
10733 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10734 (sql-list-table): Doc fixes.
10735
10736 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10737 Comment out (does nothing).
10738
10739 * completion.el (dynamic-completion-mode):
10740 * dirtrack.el (dirtrack-debug-mode):
10741 * electric.el (electric-layout-mode):
10742 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10743 * face-remap.el (text-scale-mode, buffer-face-mode):
10744 * iimage.el (iimage-mode):
10745 * image-mode.el (image-transform-mode):
10746 * minibuffer.el (completion-in-region-mode):
10747 * scroll-lock.el (scroll-lock-mode):
10748 * simple.el (next-error-follow-minor-mode):
10749 * tar-mode.el (tar-subfile-mode):
10750 * tooltip.el (tooltip-mode):
10751 * vcursor.el (vcursor-use-vcursor-map):
10752 * wid-browse.el (widget-minor-mode):
10753 * emulation/tpu-edt.el (tpu-edt-mode):
10754 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10755 * international/iso-ascii.el (iso-ascii-mode):
10756 * language/thai-util.el (thai-word-mode):
10757 * mail/supercite.el (sc-minor-mode):
10758 * net/goto-addr.el (goto-address-mode):
10759 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10760 * progmodes/cwarn.el (cwarn-mode):
10761 * progmodes/flymake.el (flymake-mode):
10762 * progmodes/glasses.el (glasses-mode):
10763 * progmodes/hideshow.el (hs-minor-mode):
10764 * progmodes/pascal.el (pascal-outline-mode):
10765 * textmodes/enriched.el (enriched-mode):
10766 * vc/smerge-mode.el (smerge-mode):
10767 Doc fixes (minor mode argument).
10768
10769 2012-02-07 Eli Zaretskii <eliz@gnu.org>
10770
10771 * ls-lisp.el (ls-lisp-sanitize): New function.
10772 (ls-lisp-insert-directory): Use it to fix or remove any elements
10773 in file-alist with missing attributes. (Bug#4673)
10774
10775 2012-02-07 Alan Mackenzie <acm@muc.de>
10776
10777 Fix spurious recognition of c-in-knr-argdecl.
10778
10779 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10780 putative K&R region.
10781
10782 2012-02-07 Alan Mackenzie <acm@muc.de>
10783
10784 * progmodes/cc-engine.el (c-forward-objc-directive):
10785 Prevent looping in "#pragma mark @implementation".
10786
10787 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
10788
10789 * notifications.el (notifications-on-closed-signal): Make `reason'
10790 optional. (Bug#10744)
10791
10792 2012-02-07 Glenn Morris <rgm@gnu.org>
10793
10794 * emacs-lisp/easy-mmode.el (define-minor-mode):
10795 Doc fixes for the macro and the mode it defines.
10796
10797 * image.el (imagemagick-types-inhibit): Doc fix.
10798
10799 * cus-start.el (imagemagick-render-type): Add it.
10800
10801 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10802
10803 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10804 Set the default at load time, too, so that `font-lock-fontify-buffer'
10805 can be called without setting up the entire mode first. This fixes
10806 a bug in `mm-inline-text' with C MIME parts.
10807
10808 2012-02-06 Chong Yidong <cyd@gnu.org>
10809
10810 * simple.el (list-processes--refresh): Delete exited processes
10811 (Bug#8094).
10812
10813 * comint.el (comint-next-prompt): next-single-char-property-change
10814 and prev-single-char-property-change never return nil (Bug#8657).
10815
10816 * custom.el (defcustom): Doc fix (Bug#9711).
10817
10818 2012-02-05 Chong Yidong <cyd@gnu.org>
10819
10820 * cus-edit.el (custom-variable-reset-backup): Quote the value
10821 before storing it in the customized-value property (Bug#6712).
10822 (custom-display): Add a customization type tag.
10823 (custom-buffer-create-internal): Improve tooltip message.
10824
10825 * wid-edit.el (widget-field-value-get): New optional arg to
10826 suppress trailing whitespace truncation.
10827 (character): Use it (Bug#2689).
10828
10829 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10830
10831 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10832 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10833
10834 2012-02-05 Chong Yidong <cyd@gnu.org>
10835
10836 * cus-edit.el (custom-variable-value-create): For mismatched
10837 types, show the current value (Bug#7600).
10838
10839 * custom.el (defcustom): Doc fix.
10840
10841 2012-02-05 Glenn Morris <rgm@gnu.org>
10842
10843 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10844
10845 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
10846
10847 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10848 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10849 (pp-last-sexp): Use `looking-at-p'.
10850
10851 2012-02-04 Glenn Morris <rgm@gnu.org>
10852
10853 * files.el (revert-buffer):
10854 Doc fix (mention revert-buffer-in-progress-p).
10855
10856 * emacs-lisp/ert-x.el (ert-simulate-command):
10857 Check deferred-action-list (which is obsolete) is bound.
10858
10859 * subr.el (with-wrapper-hook): Doc fixes.
10860
10861 * simple.el (filter-buffer-substring-functions)
10862 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10863
10864 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10865
10866 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10867 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10868
10869 2012-02-04 Leo Liu <sdl.web@gmail.com>
10870
10871 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10872
10873 2012-02-04 Glenn Morris <rgm@gnu.org>
10874
10875 * image.el (image-extension-data): Add obsolete alias.
10876
10877 * isearch.el (isearch-update): Doc fix.
10878
10879 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10880
10881 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10882
10883 2012-02-03 Glenn Morris <rgm@gnu.org>
10884
10885 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10886 (image-animate-timeout): Doc fix.
10887
10888 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10889
10890 2012-02-02 Glenn Morris <rgm@gnu.org>
10891
10892 * server.el (server-auth-dir): Doc fix.
10893 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10894
10895 * subr.el (run-mode-hooks): Doc fix.
10896
10897 2012-02-02 Juri Linkov <juri@jurta.org>
10898
10899 * image-mode.el (image-toggle-display-image): Remove tautological
10900 `major-mode' from the `derived-mode-p' test.
10901
10902 2012-02-02 Kenichi Handa <handa@m17n.org>
10903
10904 * composite.el (compose-region): Cancel previous change.
10905
10906 2012-02-02 Kenichi Handa <handa@m17n.org>
10907
10908 * composite.el (compose-region, compose-string): Signal error for
10909 a null string component (Bug#6988).
10910
10911 2012-02-01 Chong Yidong <cyd@gnu.org>
10912
10913 * view.el (view-buffer-other-window, view-buffer-other-frame):
10914 Handle special modes like view-buffer (Bug#10650).
10915 (view-buffer): Simplify.
10916
10917 * frame.el (set-frame-font): Tweak meaning of third argument.
10918
10919 * dynamic-setting.el (font-setting-change-default-font):
10920 Use set-frame-font (Bug#9982).
10921
10922 2012-02-01 Glenn Morris <rgm@gnu.org>
10923
10924 * progmodes/compile.el (compilation-internal-error-properties):
10925 Respect compilation-first-column in the "*compilation*" buffer.
10926
10927 * emacs-lisp/easy-mmode.el (define-minor-mode):
10928 Relax :variable's test for a named function.
10929
10930 2012-01-31 Alan Mackenzie <acm@muc.de>
10931
10932 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10933 off by one error.
10934
10935 2012-01-31 Chong Yidong <cyd@gnu.org>
10936
10937 * frame.el (set-frame-font): New arg ALL-FRAMES.
10938
10939 * menu-bar.el (menu-set-font): Use set-frame-font.
10940
10941 * faces.el (face-spec-reset-face): Don't apply unspecified
10942 attribute values to the default face.
10943
10944 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
10945
10946 * progmodes/cwarn.el (cwarn): Remove dead link.
10947 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10948 Remove * from defcustom docstrings.
10949 (turn-on-cwarn-mode): Make obsolete.
10950 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10951 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10952
10953 2012-01-31 Glenn Morris <rgm@gnu.org>
10954
10955 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
10956 Fix :variable handling of mode a symbol not equal to modefun.
10957 Allow named functions to be used as the cdr of :variable.
10958
10959 2012-01-30 Glenn Morris <rgm@gnu.org>
10960
10961 * emacs-lisp/authors.el (authors-fixed-entries):
10962 Remove reference to deleted file rnewspost.el.
10963
10964 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
10965
10966 * window.el (window-with-parameter): Remove unused variable `windows'.
10967 (window--side-check): Remove unused variable `code'.
10968 (window--resize-siblings): Remove unused variable `first'.
10969 (adjust-window-trailing-edge): Remove unused variable `failed'.
10970 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10971 Use `let', not `let*'.
10972 (balance-windows-2): Remove unused variable `found'.
10973 (window--state-put-2): Remove unused variable `splits'.
10974 (window-state-put): Remove unused variable `selected'.
10975 (same-window-p): Use `string-match-p'.
10976 (display-buffer-assq-regexp): Remove unused variable `value'.
10977 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10978 Mark argument ALIST as ignored.
10979 (pop-to-buffer): Remove unused variable `old-window'.
10980
10981 2012-01-29 Eli Zaretskii <eliz@gnu.org>
10982
10983 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10984 and .lzma compressed files.
10985
10986 2012-01-29 Chong Yidong <cyd@gnu.org>
10987
10988 * frame.el (window-system-default-frame-alist): Doc fix.
10989
10990 * dynamic-setting.el (font-setting-change-default-font): Don't
10991 change the default face if SET-FONT argument is non-nil (Bug#9982).
10992
10993 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10994
10995 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10996
10997 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
10998
10999 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11000 breakpoints in files outside current directory (Bug#6098).
11001
11002 2012-01-29 Chong Yidong <cyd@gnu.org>
11003
11004 * progmodes/python.el: Require ansi-color at top-level.
11005
11006 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11007 Define and use in Emacs Lisp mode (Bug#9360).
11008 (lisp-mode-abbrev-table): Add doc.
11009 (lisp-mode-variables): Don't set local-abbrev-table.
11010 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11011
11012 2012-01-28 Roland Winkler <winkler@gnu.org>
11013
11014 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11015
11016 2012-01-28 Roland Winkler <winkler@gnu.org>
11017
11018 * textmodes/bibtex.el (bibtex-entry-alist): New function.
11019 (bibtex-set-dialect): Use it. Either set global values of
11020 dialect-dependent variables or bind these variables buffer-locally
11021 (Bug#10254).
11022 (bibtex-mode): Call bibtex-set-dialect via
11023 hack-local-variables-hook.
11024 (bibtex-dialect): Update docstring.
11025 Add safe-local-variable predicate.
11026 (bibtex-entry-alist, bibtex-field-alist): Initialize via
11027 bibtex-set-dialect.
11028 (bibtex-mode-map): Define menu for each dialect.
11029 (bibtex-entry): Fix docstring.
11030
11031 2012-01-28 Chong Yidong <cyd@gnu.org>
11032
11033 * eshell/esh-arg.el (eshell-quote-argument): New function.
11034
11035 * eshell/esh-ext.el (eshell-invoke-batch-file):
11036 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11037 first arg to eshell-parse-command (Bug#10523).
11038
11039 2012-01-28 Drew Adams <drew.adams@oracle.com>
11040
11041 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
11042 `default-directory' is non-nil.
11043
11044 2012-01-28 Eli Zaretskii <eliz@gnu.org>
11045
11046 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
11047 line that displays system-configuration-options. (Bug#9924)
11048
11049 2012-01-28 Drew Adams <drew.adams@oracle.com>
11050
11051 * descr-text.el (describe-char): Show information about POS, in
11052 addition to information about the character at POS. Improve and
11053 update the doc string. Change "code point" to "code point in
11054 charset", to avoid confusion with the character's Unicode code
11055 point shown above that. (Bug#10129)
11056
11057 2012-01-28 Eli Zaretskii <eliz@gnu.org>
11058
11059 * descr-text.el (describe-char): Show the raw character, not only
11060 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
11061 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
11062 for the reasons.
11063
11064 2012-01-28 Phil Hagelberg <phil@hagelb.org>
11065
11066 * emacs-lisp/package.el (package-install):
11067 Run package-refresh-contents if there is no archive yet (Bug#9798).
11068
11069 2012-01-28 Chong Yidong <cyd@gnu.org>
11070
11071 * emacs-lisp/package.el (package-maybe-load-descriptor):
11072 New function, split from package-maybe-load-descriptor.
11073 (package-maybe-load-descriptor): Use it.
11074 (package-download-transaction): Fully load required packages
11075 inside the loop, so that `require' calls work (Bug#10593).
11076 (package-install): No need to call package-initialize now.
11077
11078 2012-01-28 Chong Yidong <cyd@gnu.org>
11079
11080 * simple.el (deactivate-mark): Doc fix (Bug#8614).
11081
11082 * tooltip.el (tooltip-mode): Doc fix.
11083 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11084
11085 * frame.el (set-cursor-color): Doc fix (Bug#352).
11086
11087 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
11088 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
11089
11090 * cus-edit.el (custom-buffer-create-internal): Fix search button
11091 action (Bug#10542).
11092 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
11093
11094 2012-01-27 Eduard Wiebe <usenet@pusto.de>
11095
11096 * dired.el (dired-mark-files-regexp):
11097 Include any subdirectory components. (Bug#10445)
11098
11099 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
11100
11101 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
11102 Handle [host]:port syntax. (Bug#10533)
11103
11104 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
11105
11106 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
11107
11108 2012-01-26 Glenn Morris <rgm@gnu.org>
11109
11110 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
11111 * term.el (term-raw-escape-map): Use Control-X-prefix.
11112 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
11113
11114 2012-01-25 Martin Rudalics <rudalics@gmx.at>
11115
11116 * window.el (window-state-get, window--state-get-1): Don't deal
11117 with fixed-sizeness of windows. Simplify code.
11118
11119 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
11120
11121 * window.el (window--state-get-1, window--state-put-2):
11122 Don't save and restore the mark.
11123
11124 2012-01-25 Chong Yidong <cyd@gnu.org>
11125
11126 * custom.el (custom-variable-p): Doc fix.
11127
11128 2012-01-25 Glenn Morris <rgm@gnu.org>
11129
11130 * dired.el (dired-goto-file): Handle some of the more common
11131 characters that `ls -b' escapes. (Bug#10596)
11132
11133 * progmodes/compile.el (compilation-next-error-function):
11134 Respect compilation-first-column in the "*compilation*" buffer.
11135 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
11136
11137 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
11138
11139 2012-01-24 Glenn Morris <rgm@gnu.org>
11140
11141 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
11142
11143 2012-01-24 Julien Danjou <julien@danjou.info>
11144
11145 * color.el (color-rgb-to-hsl): Fix value computing.
11146 (color-hue-to-rgb): New function.
11147 (color-hsl-to-rgb): New function.
11148 (color-clamp, color-saturate-hsl, color-saturate-name)
11149 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
11150 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
11151
11152 2012-01-24 Glenn Morris <rgm@gnu.org>
11153
11154 * vc/vc-rcs.el (vc-rcs-create-tag):
11155 * vc/vc-sccs.el (vc-sccs-create-tag):
11156 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
11157
11158 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
11159
11160 * eshell/esh-util.el (eshell-read-hosts-file):
11161 Skip comment lines. (Bug#10549)
11162
11163 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
11164
11165 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
11166
11167 * subr.el (display-delayed-warnings): Doc fix.
11168 (collapse-delayed-warnings): New function to collapse identical
11169 adjacent warnings.
11170 (delayed-warnings-hook): Add it.
11171
11172 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
11173
11174 * net/tramp.el (tramp-action-login): Set connection property "login-as".
11175
11176 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
11177 (tramp-default-user-alist): Don't add "pscp".
11178 (tramp-do-copy-or-rename-file-out-of-band): Use connection
11179 property "login-as", if set. (Bug#10530)
11180
11181 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
11182
11183 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
11184 "plink1" and "psftp". (Bug#10530)
11185
11186 2012-01-21 Kenichi Handa <handa@m17n.org>
11187
11188 * international/mule-cmds.el (prefer-coding-system): Show a
11189 warning message if the default value of file-name-coding-system
11190 was not changed.
11191
11192 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11193
11194 * windmove.el (windmove-reference-loc):
11195 Fix windmove-reference-loc miscalculation.
11196
11197 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
11198
11199 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
11200 default unit.
11201
11202 2012-01-21 Glenn Morris <rgm@gnu.org>
11203
11204 * international/mule.el (auto-coding-alist): Add .tbz.
11205
11206 * files.el (local-enable-local-variables): Doc fix.
11207 (inhibit-local-variables-regexps): Rename from
11208 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
11209 Doc fix. Add some extensions from auto-coding-alist.
11210 (inhibit-local-variables-suffixes):
11211 Rename from inhibit-first-line-modes-suffixes. Doc fix.
11212 (inhibit-local-variables-p):
11213 New function, extracted from set-auto-mode-1.
11214 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
11215 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
11216 (hack-local-variables): Doc fix. Make the mode-only case
11217 respect enable-local-variables and friends.
11218 Respect inhibit-local-variables-regexps for file-locals, but
11219 not for directory-locals.
11220 (set-visited-file-name):
11221 Take account of inhibit-local-variables-regexps.
11222 Whether it applies may change as the file name is changed.
11223 * jka-cmpr-hook.el (jka-compr-install):
11224 * jka-compr.el (jka-compr-uninstall):
11225 Update for inhibit-first-line-modes-suffixes name change.
11226
11227 2012-01-20 Martin Rudalics <rudalics@gmx.at>
11228
11229 * help-macro.el (make-help-screen): Temporarily restore original
11230 binding for minor-mode-map-alist (Bug#10454).
11231
11232 2012-01-19 Julien Danjou <julien@danjou.info>
11233
11234 * color.el (color-name-to-rgb): Use the white color to find the max
11235 color component value and return correctly computed values.
11236 (color-name-to-rgb): Add missing float conversion for max value.
11237
11238 2012-01-19 Martin Rudalics <rudalics@gmx.at>
11239
11240 * window.el (window--state-get-1, window-state-get): Do not use
11241 special state value for window-persistent-parameters.
11242 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
11243 (window--state-put-2): Reset all window parameters to nil before
11244 assigning values of persistent parameters.
11245
11246 2012-01-18 Alan Mackenzie <acm@muc.de>
11247
11248 Eliminate sluggishness and hangs in fontification of "semicolon
11249 deserts".
11250
11251 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
11252 Change value 10000 -> 3000.
11253 (c-state-safe-place): Reformulate so it doesn't stack up an
11254 infinite number of wrong entries in c-state-nonlit-pos-cache.
11255 (c-determine-limit-get-base, c-determine-limit): New functions to
11256 determine backward search limits disregarding literals.
11257 (c-find-decl-spots): Amend commenting.
11258 (c-cheap-inside-bracelist-p): New function which detects "={".
11259
11260 * progmodes/cc-fonts.el
11261 (c-make-font-lock-BO-decl-search-function): Give a limit to a
11262 backward search.
11263 (c-font-lock-declarations): Fix an occurrence of point being
11264 undefined. Check additionally for point being in a bracelist or
11265 near a macro invocation without a semicolon so as to avoid a
11266 fruitless time consuming search for a declarator. Give a more
11267 precise search limit for declarators using the new
11268 c-determine-limit.
11269
11270 2012-01-18 Glenn Morris <rgm@gnu.org>
11271
11272 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
11273 (set-auto-mode): Doc fixes.
11274
11275 2012-01-17 Glenn Morris <rgm@gnu.org>
11276
11277 * isearch.el (search-nonincremental-instead): Fix doc typo.
11278
11279 * dired.el (dired-insert-directory): Handle newlines in directory name.
11280 (dired-build-subdir-alist): Unescape newlines in directory name.
11281
11282 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
11283
11284 * net/tramp.el (tramp-local-end-of-line): New defcustom.
11285 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11286 (tramp-action-terminal): Use it. (Bug#10530)
11287
11288 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11289
11290 * minibuffer.el (completion--replace): Strip properties (bug#10062).
11291
11292 2012-01-16 Martin Rudalics <rudalics@gmx.at>
11293
11294 * window.el (window-state-ignored-parameters): Remove variable.
11295 (window--state-get-1): Rename argument MARKERS to IGNORE.
11296 Handle persistent window parameters. Make copy of clone-of
11297 parameter only if requested. (Bug#10348)
11298 (window--state-put-2): Install a window parameter only if it has
11299 a non-nil value or an existing parameter shall be overwritten.
11300
11301 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
11302
11303 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11304
11305 2012-01-14 Eli Zaretskii <eliz@gnu.org>
11306
11307 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11308 don't pass the (nil) value of `upnode' to string-match.
11309
11310 2012-01-14 Chong Yidong <cyd@gnu.org>
11311
11312 * startup.el (command-line): Fix X resource class for cursorColor.
11313 Fix values recognized by the cursorBlink resource.
11314
11315 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
11316
11317 * epg.el (epg--make-temp-file): Avoid permission race condition
11318 when running on old Emacs versions (bug#10403).
11319
11320 2012-01-14 Glenn Morris <rgm@gnu.org>
11321
11322 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11323
11324 2012-01-13 Alan Mackenzie <acm@muc.de>
11325
11326 Fix filling for when filladapt mode is enabled.
11327
11328 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11329 c-mask-paragraph, pass in `fill-paragraph' rather than
11330 `fill-region-as-paragraph'. (This is a reversion of a previous
11331 change.)
11332 * progmodes/cc-mode.el (c-basic-common-init):
11333 Make fill-paragraph-handle-comment buffer local and set it to nil.
11334
11335 2012-01-13 Glenn Morris <rgm@gnu.org>
11336
11337 * dired.el (dired-switches-escape-p): New function.
11338 (dired-insert-directory): Use dired-switches-escape-p.
11339 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
11340
11341 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
11342
11343 2012-01-12 Glenn Morris <rgm@gnu.org>
11344
11345 * mail/sendmail.el (mail-mode): Update paragraph-separate for
11346 changes in adaptive-fill-regexp. (Bug#10276)
11347
11348 2012-01-11 Alan Mackenzie <acm@muc.de>
11349
11350 Fix Emacs bug #10463 - put `widen's around the critical spots.
11351
11352 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
11353 widen around each invocation of c-state-pp-to-literal. Remove an
11354 unused let variable.
11355
11356 2012-01-11 Glenn Morris <rgm@gnu.org>
11357
11358 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
11359 Doc fix.
11360
11361 2012-01-10 Chong Yidong <cyd@gnu.org>
11362
11363 * net/network-stream.el (network-stream-open-starttls):
11364 Avoid emitting a confusing error message when the server gives a bad
11365 response to the capability command.
11366
11367 2012-01-10 Glenn Morris <rgm@gnu.org>
11368
11369 * mail/unrmail.el (unrmail): Tweak previous change.
11370
11371 2012-01-09 Chong Yidong <cyd@gnu.org>
11372
11373 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11374
11375 2012-01-08 Alan Mackenzie <acm@muc.de>
11376
11377 Optimise font locking in long enum definitions.
11378
11379 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11380 arm to a cond form to handle enums.
11381 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11382 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11383
11384 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
11385
11386 * files.el (move-file-to-trash): Preserve default file modes on error.
11387 (Bug#10401)
11388
11389 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11390
11391 * faces.el (set-face-attribute): Clarify the meaning of the nil
11392 frame (bug#10294).
11393
11394 * subr.el (with-selected-frame): Mention that the selected frame
11395 is restored (bug#9980).
11396
11397 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11398 (bug#9759).
11399
11400 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
11401 (password-read): Don't autoload unused function.
11402
11403 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
11404
11405 * progmodes/which-func.el (which-func-mode): Turn into a
11406 non-interactive function and mark as obsolete (bug#10428).
11407
11408 2012-01-06 Chong Yidong <cyd@gnu.org>
11409
11410 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11411 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11412 functions, along with 1 and -1.
11413
11414 2012-01-06 Eli Zaretskii <eliz@gnu.org>
11415
11416 * time.el (display-time-load-average)
11417 (display-time-default-load-average): Doc fixes. See the thread
11418 starting at
11419 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11420 for the details.
11421
11422 2012-01-06 Glenn Morris <rgm@gnu.org>
11423
11424 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11425 has no messages. (Bug#10377)
11426
11427 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11428 than Info-edit. (Bug#10385)
11429
11430 * time.el (display-time-load-average, display-time-next-load-average):
11431 Doc fixes.
11432
11433 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11434 local setting of buffer-read-only to the input buffer. (Bug#10419)
11435
11436 * calendar/calendar.el (calendar-mode):
11437 Locally set scroll-margin to 0. (Bug#10379)
11438
11439 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
11440
11441 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11442
11443 2012-01-05 Glenn Morris <rgm@gnu.org>
11444
11445 * eshell/em-unix.el (diff-no-select): Autoload it.
11446 (eshell/diff): Use diff-no-select. (Bug#10420)
11447
11448 2012-01-05 Chong Yidong <cyd@gnu.org>
11449
11450 * shell.el (shell-dynamic-complete-functions): Revert last change.
11451 (shell-command-completion-function): New function.
11452 (shell-completion-vars): Use it to implement
11453 shell-completion-execonly (Bug#10417).
11454
11455 * custom.el (enable-theme): Don't set custom-safe-themes.
11456
11457 * cus-theme.el (custom-theme-merge-theme):
11458 Ignore custom-enabled-themes and custom-safe-themes.
11459
11460 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11461
11462 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11463 first prompt in `sql-interacive-mode'.
11464 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
11465 keywords.
11466 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
11467 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11468 context of original buffer. Invoke `sql-login-hook'.
11469
11470 2012-01-04 Eli Zaretskii <eliz@gnu.org>
11471
11472 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11473 letters in cite-prefix.
11474
11475 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11476
11477 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11478
11479 2012-01-03 Chong Yidong <cyd@gnu.org>
11480
11481 * shell.el (shell-dynamic-complete-functions):
11482 Put pcomplete-completions-at-point, so as to try
11483 comint-filename-completion first (Bug#10417).
11484
11485 2012-01-02 Richard Stallman <rms@gnu.org>
11486
11487 * battery.el (battery-status-function):
11488 Detect when to use battery-yeeloong-sysfs.
11489 (battery-echo-area-format): Add string for Yeeloong.
11490 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11491 (battery-yeeloong-sysfs): New function.
11492
11493 2012-01-02 Chong Yidong <cyd@gnu.org>
11494
11495 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11496 (dirtrack): Merge code for handling relative filenames in prompt
11497 from shell-dir-cookie-watcher.
11498 (dirtrack-debug-message): New arg to avoid excess format calls.
11499
11500 * shell.el (shell-dir-cookie-re): Variable deleted.
11501 (shell-dir-cookie-watcher): Function deleted.
11502 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11503 with dirtrack-mode.
11504
11505 2012-01-01 Eli Zaretskii <eliz@gnu.org>
11506
11507 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11508 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
11509 libgnutls-26.dll.
11510
11511 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11512
11513 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11514
11515 2011-12-31 Eli Zaretskii <eliz@gnu.org>
11516
11517 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11518 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11519
11520 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
11521
11522 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11523 also for alternative shells.
11524 (tramp-open-connection-setup-interactive-shell): Check, whether
11525 the shell is a busybox.
11526 (tramp-send-command): Don't suppress multiple prompts for
11527 busyboxes, it hurts.
11528
11529 2011-12-28 Chong Yidong <cyd@gnu.org>
11530
11531 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11532 (gdb-get-source-file): Move mode line update to
11533 gdb-get-source-file (Bug#10087).
11534
11535 2011-12-25 Chong Yidong <cyd@gnu.org>
11536
11537 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11538 gud-gdb-marker-filter without taking it as an argument.
11539 (gud-gdb-run-command-fetch-lines): Caller changed.
11540 (gud-gdb-completion-function): New variable.
11541 (gud-gdb-completion-at-point): Use it.
11542 (gud-gdb-completions-1): Split from gud-gdb-completions.
11543
11544 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11545 function as separate arguments.
11546 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11547 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11548 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11549 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11550 (gdb-stopped, def-gdb-auto-update-trigger)
11551 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
11552 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11553 Callers changed.
11554 (gud-gdbmi-completions): New function.
11555 (gdb): Use it for generating the completion table.
11556
11557 2011-12-24 Alan Mackenzie <acm@muc.de>
11558
11559 Introduce a mechanism to widen the region used in context font
11560 locking. Use this to protect declarations from losing their contexts.
11561
11562 * progmodes/cc-langs.el (c-before-font-lock-functions):
11563 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
11564 (c-before-context-fontification-functions): New defvar, a list of
11565 functions to be run just before context (etc.) font locking.
11566
11567 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
11568 New, functionality extracted from
11569 c-neutralize-syntax-in-and-mark-CPP.
11570 (c-in-after-change-fontification): New variable.
11571 (c-after-change): Set c-in-after-change-fontification.
11572 (c-set-fl-decl-start): Rejig its interface, so it can be called
11573 from both after-change and context fontifying.
11574 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11575 New functions.
11576 (c-standard-font-lock-fontify-region-function): New variable.
11577 (c-font-lock-fontify-region): New function.
11578
11579 2011-12-24 Juri Linkov <juri@jurta.org>
11580
11581 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11582 (Bug#10348)
11583
11584 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
11585
11586 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11587 existence of source file. (Bug#10325)
11588
11589 2011-12-23 Alan Mackenzie <acm@muc.de>
11590
11591 Fix unstable fontification inside templates.
11592
11593 * progmodes/cc-langs.el (c-before-font-lock-functions):
11594 Newly created from the singular version. The (c c++ objc) entry now
11595 additionally has c-set-fl-decl-start. The other languages (apart
11596 from AWK) have that as a single entry.
11597
11598 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11599 The functionality for "local" declarations has been extracted to
11600 c-set-fl-decl-start.
11601
11602 * progmodes/cc-mode.el (c-common-init, c-after-change):
11603 Changes due to pluralisation of c-before-font-lock-functions.
11604 (c-set-fl-decl-start): New function, extracted from
11605 c-font-lock-enclosing-decls and enhanced.
11606
11607 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
11608
11609 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11610
11611 2011-12-22 Juri Linkov <juri@jurta.org>
11612
11613 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11614
11615 2011-12-22 Chong Yidong <cyd@gnu.org>
11616
11617 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11618
11619 2011-12-21 Drew Adams <drew.adams@oracle.com>
11620
11621 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11622
11623 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11624
11625 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11626
11627 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11628
11629 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11630 highlighting and support. Fix up comments for capitalization.
11631 (cfengine-mode-debug): New var.
11632 (cfengine3-mode): Change the modeline indicator to "CFE3".
11633 (cfengine3-font-lock-keywords): Improve defun highlighting.
11634 (cfengine2-actions): Rename from `cfengine-actions'.
11635 (cfengine2-font-lock-keywords): Rename from
11636 `cfengine-font-lock-keywords'.
11637 (cfengine2-imenu-expression): Rename from
11638 `cfengine-imenu-expression'.
11639 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11640 (cfengine2-beginning-of-defun): Rename from
11641 `cfengine-beginning-of-defun'.
11642 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11643 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11644 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11645 modeline indicator to "CFE2".
11646 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11647 (cfengine-mode-abbrevs): Mark obsolete.
11648
11649 2011-12-21 Chong Yidong <cyd@gnu.org>
11650
11651 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11652 filename argument.
11653
11654 2011-12-20 Martin Rudalics <rudalics@gmx.at>
11655
11656 * window.el (window-normalize-buffer-to-display): Remove.
11657 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11658
11659 2011-12-19 Chong Yidong <cyd@gnu.org>
11660
11661 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11662 Don't signal an error in a predicate function; return non-nil.
11663 (vc-dir-mark-file): Move the error here.
11664 (vc-dir-mark-unmark): If acting on the region, keep going if one
11665 of the entries cannot be marked/unmarked.
11666 (vc-dir-mark-all-files): If current entry is a directory, mark
11667 only child files, as documented.
11668
11669 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11670
11671 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11672 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11673 addition.
11674
11675 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11676
11677 * term/ns-win.el (ns-get-selection-internal)
11678 (ns-store-selection-internal): Declare.
11679 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11680 Declare as obsolete.
11681 (ns-get-pasteboard, ns-paste-secondary):
11682 Use ns-get-selection-internal.
11683 (ns-set-pasteboard, ns-copy-including-secondary):
11684 Use ns-store-selection-internal.
11685
11686 2011-12-17 Chong Yidong <cyd@gnu.org>
11687
11688 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
11689 (vc-deduce-fileset): Doc fix.
11690
11691 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11692
11693 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11694
11695 2011-12-13 Sam Steingold <sds@gnu.org>
11696
11697 * man.el (Man-getpage-in-background): When running under a
11698 window-system, ignore $MANWIDTH and $COLUMNS.
11699
11700 2011-12-15 Kenichi Handa <handa@m17n.org>
11701
11702 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11703 (setup-ethiopic-environment-internal): Comment out key-binding for
11704 ethio-toggle-punctuation.
11705
11706 2011-12-13 Alan Mackenzie <acm@muc.de>
11707
11708 Add the switch statement to AWK Mode.
11709
11710 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
11711 "default" to the keywords regexp.
11712
11713 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
11714 expression as the rest.
11715 (c-nonlabel-token-key): Allow string literals for AWK.
11716 Refactor for the other modes.
11717
11718 Large brace-block initialisation makes CC Mode slow: Fix.
11719 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
11720 routines. Limit backward searching in c-font-lock-enclosing.decl.
11721
11722 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11723 pp-state and literal type in addition to the limits.
11724 (c-state-safe-place): New defun, extracted from c-state-literal-at.
11725 (c-state-literal-at): Use the above new defun.
11726 (c-slow-in-literal, c-fast-in-literal): Remove.
11727 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
11728
11729 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11730 being in a literal. Add a limit for backward searching.
11731
11732 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11733 c-slow-in-literal.
11734
11735 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11736
11737 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11738
11739 2011-12-13 Martin Rudalics <rudalics@gmx.at>
11740
11741 * window.el (delete-other-windows): Use correct frame in call to
11742 window-with-parameter.
11743
11744 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11745
11746 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11747 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11748 (makefile-gmake-statements, makefile-makepp-statements):
11749 Use it and add new makepp keywords.
11750 (makefile-makepp-font-lock-keywords): Add new patterns.
11751 (makefile-match-function-end): Match new [...] and [[...]].
11752
11753 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
11754
11755 * ses.el (ses-call-printer-return, ses-cell-property-get)
11756 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11757 (ses-create-cell-variable, ses-reset-header-string)
11758 (ses-cell-set-formula, ses-repair-cell-reference-all)
11759 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11760 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11761 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11762 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11763 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11764 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11765 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11766 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11767 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11768 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11769 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11770 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11771
11772 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11773
11774 * ses.el: The overall change is to add cell renaming, that is
11775 setting fancy names for cell symbols other than name matching
11776 "\\`[A-Z]+[0-9]+\\'" regexp .
11777 (ses-create-cell-variable): New defun.
11778 (ses-relocate-formula): Relocate formulas only for cells the
11779 symbols of which are not renamed, i.e. symbols whose names do not
11780 match regexp "\\`[A-Z]+[0-9]+\\'".
11781 (ses-relocate-all): Relocate values only for cells the symbols of
11782 which are not renamed.
11783 (ses-load): Create cells variables as the (ses-cell ...) are read,
11784 in order to check row col consistency with cell symbol name only
11785 for cells that are not renamed.
11786 (ses-replace-name-in-formula): New defun.
11787 (ses-rename-cell): New defun.
11788
11789 2011-12-11 Chong Yidong <cyd@gnu.org>
11790
11791 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11792 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11793
11794 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11795
11796 * window.el (other-window): Fix docstring.
11797
11798 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11799
11800 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
11801 `from' or `to' address before taking its substring.
11802 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
11803 encoded name is chopped in the middle of the encoded string, and
11804 thus displayed encoded.
11805
11806 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
11807
11808 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11809
11810 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11811
11812 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11813 to use texinfo-update-node and commands that call it if the
11814 Texinfo file uses @node lines without next/prev/up pointers.
11815 Correct outdated description about texinfo-master-menu.
11816 (texinfo-all-menus-update, texinfo-master-menu)
11817 (texinfo-update-node, texinfo-every-node-update)
11818 (texinfo-multiple-files-update): Doc fix. Warn against updating
11819 all the @node lines.
11820 (texinfo-master-menu): Only call texinfo-update-node if the prefix
11821 argument is numeric. Explain better in the doc string what the
11822 function really does.
11823 (texinfo-insert-master-menu-list): Improve the error message
11824 displayed if there's no menu in the Top node.
11825 (Bug#2975) See also this thread:
11826 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11827
11828 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11829
11830 * speedbar.el (speedbar-supported-extension-expressions):
11831 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11832
11833 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
11834
11835 * printing.el (pr-mode-alist):
11836 * simple.el (filter-buffer-substring-functions)
11837 (completion-list-insert-choice-function):
11838 * window.el (window-with-parameter, window-atom-root)
11839 (window-sides-slots, window-size-fixed, window-min-delta)
11840 (window-max-delta, window--resize-mini-window)
11841 (window--resize-child-windows-normal, window-tree)
11842 (delete-other-windows, quit-window, split-window)
11843 (display-buffer-record-window, special-display-buffer-names)
11844 (special-display-regexps, special-display-popup-frame)
11845 (same-window-p, split-window-sensibly)
11846 (display-buffer-overriding-action, display-buffer-alist)
11847 (display-buffer-base-action, display-buffer, switch-to-buffer)
11848 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11849 (fit-window-to-buffer, recenter-positions)
11850 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11851 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11852 and remove unneeded backslashes in docstrings.
11853
11854 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11855
11856 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11857
11858 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11859 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11860 end in ".mk".
11861 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11862 when reading the makefile (bug#10116).
11863
11864 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11865
11866 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11867 (bug#10116).
11868
11869 2011-12-06 Glenn Morris <rgm@gnu.org>
11870
11871 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11872
11873 2011-12-06 Chong Yidong <cyd@gnu.org>
11874
11875 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11876
11877 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
11878
11879 * textmodes/table.el (table-shorten-cell): Fix typo.
11880
11881 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11882
11883 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11884
11885 2011-12-05 Eli Zaretskii <eliz@gnu.org>
11886
11887 * descr-text.el (describe-char): Fix display of strong
11888 right-to-left characters and directional embeddings and overrides.
11889
11890 * simple.el (what-cursor-position): Fix display of codepoints of
11891 strong right-to-left characters.
11892
11893 2011-12-05 Chong Yidong <cyd@gnu.org>
11894
11895 * faces.el (read-color): Doc fix.
11896
11897 2011-12-05 Glenn Morris <rgm@gnu.org>
11898
11899 * align.el (align--set-marker): Add doc-string.
11900 Don't try to move something that is not a marker. (Bug#10216)
11901
11902 2011-12-04 Glenn Morris <rgm@gnu.org>
11903
11904 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11905 overly zealous deletion of trailing whitespace.
11906
11907 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
11908
11909 * server.el (server-delete-client): On Windows, do not try to delete
11910 the only terminal.
11911 (server-process-filter): On Windows, treat requests for a tty frame as
11912 if they were for a GUI frame if the running server is in GUI mode.
11913
11914 2011-12-03 Glenn Morris <rgm@gnu.org>
11915
11916 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11917
11918 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11919
11920 * electric.el: Streamline electric-indent's hook.
11921 (electric-indent-chars): Revert to simple list.
11922 (electric-indent-functions): New var.
11923 (electric-indent-post-self-insert-function): Use it.
11924
11925 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11926 there's no inferior buffer (bug#10196).
11927 (prolog-consult-compile): Don't use toggle-read-only.
11928
11929 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
11930
11931 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11932 interrupt. (Bug#10187)
11933
11934 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11935
11936 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11937 (bug#9160).
11938
11939 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11940 (bug#10191).
11941
11942 2011-12-02 Juri Linkov <juri@jurta.org>
11943
11944 * info.el (Info-search): Display "end of manual" when Isearch
11945 reaches the end of single-file Info manual. (Bug#9918)
11946
11947 2011-12-02 Eli Zaretskii <eliz@gnu.org>
11948
11949 * isearch.el (isearch-message-prefix): Run the input method part
11950 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11951
11952 2011-12-02 Juri Linkov <juri@jurta.org>
11953
11954 * isearch.el (isearch-occur): Use `word-search-regexp' for
11955 `isearch-word'.
11956 (isearch-search-and-update): Add condition for `isearch-word' and
11957 call `word-search-regexp'. (Bug#10145)
11958
11959 2011-12-01 Glenn Morris <rgm@gnu.org>
11960
11961 * eshell/em-hist.el (eshell-hist-initialize):
11962 Handle eshell-history-size nil and HISTSIZE set or unset.
11963 (eshell-history-file-name, eshell-history-size): Fix custom type.
11964
11965 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11966
11967 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11968
11969 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
11970
11971 * progmodes/verilog-mode.el (verilog-pretty-expr):
11972 Rework verilog-pretty-expr to handle new assignment operators in system
11973 verilog, such as += *= and the like.
11974 (verilog-assignment-operator-re): Regular expression to find the
11975 assigment operator in a verilog assignment.
11976 (verilog-assignment-operation-re): Regular expression to find an
11977 assignment statement for pretty-expr.
11978 (verilog-in-attribute-p): Query returns true if point is in an
11979 attribute context; used to skip these for expression line up from
11980 pretty-expr.
11981 (verilog-in-parameter-p): Query returns true if point is in an
11982 parameter definition context; used to skip these for expression
11983 line up from pretty-expr.
11984 (verilog-in-parenthesis-p): Query returns true if point is in a
11985 parenthetical expression, specifically ( ) but not [ ] or { };
11986 used by pretty-expr.
11987 (verilog-just-one-space): If there is no space, don't add one.
11988 (verilog-get-lineup-indent-2): Specifically skip just attribute
11989 contexts for expression lineup, rather than skipping all
11990 parenthetical expressions.
11991 (verilog-calculate-indent): Fix comment, and fix indent.
11992 (verilog-do-indent): Indent declarations in lists (suggested by
11993 Joachim Lechner).
11994 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11995 skeleton items.
11996 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11997 by Alain Mellan).
11998
11999 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
12000
12001 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12002 parameters with embedded comments. Reported by Ray Stevens.
12003 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12004 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12005 Reported by Tim Holt.
12006 (verilog-auto): Fix AUTOing a upper module then AUTOing module
12007 instantiated by upper module causing wrong expansion until AUTOed a
12008 second time. Reported by K C Buckenmaier.
12009 (verilog-diff-auto): Fix showing .* as a difference when
12010 `verilog-auto-star-save' off. Reported by Dan Dever.
12011 (verilog-auto-reset, verilog-read-always-signals)
12012 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12013 temporary signals in reset list if
12014 verilog-auto-reset-blocking-in-non is nil, and match assignment
12015 style to each signal's assignment type, bug381.
12016 Reported by Thomas Esposito.
12017 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12018 (verilog-uvm-statement-re): Support UVM indentation and
12019 highlighting, with old OVM keywords only.
12020 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
12021 Support AUTOTIEOFF creating non-wire data types.
12022 Suggested by Jonathan Greenlaw.
12023 (verilog-auto-insert-lisp, verilog-delete-to-paren)
12024 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12025 (verilog-inject-sense, verilog-read-inst-pins)
12026 (verilog-read-sub-decls, verilog-read-sub-decls-line):
12027 Fix mismatching parenthesis inside commented out code when deleting
12028 AUTOINST, bug383. Reported by Jonathan Greenlaw.
12029 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12030 non-numeric vector width. Reported by Alex Reed.
12031 (verilog-auto-ascii-enum): Add "onehot" option to work around not
12032 detecting signals with parameter widths. Reported by Alex Reed.
12033 (verilog-auto-delete-trailing-whitespace):
12034 With `verilog-auto-delete-trailing-whitespace' remove trailing
12035 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
12036 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12037 Fix verilog-scan-cache corruption when running user AUTO expansion
12038 hooks that call indentation routines.
12039 (verilog-simplify-range-expression): Fix typo ignoring lower case
12040 identifiers.
12041 (verilog-delete-auto): Fix delete-autos to also remove user created
12042 automatics, as long as they start with AUTO.
12043 (verilog-batch-diff-auto, verilog-diff-auto)
12044 (verilog-diff-function): Add `verilog-diff-auto' and bind to
12045 "C-c?" to report differences in AUTO expansion, ignoring spaces.
12046 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
12047 (verilog-in-paren-quick, verilog-re-search-backward-quick)
12048 (verilog-re-search-forward-quick, verilog-syntax-ppss):
12049 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
12050 is disabled and its cache will get corrupt, causing AUTOS not to
12051 expand. Instead use only -quick functions.
12052 (verilog-scan-region): Fix scanning over escaped quotes.
12053 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12054 (verilog-re-search-backward-quick)
12055 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12056 related functions now ignore strings, to fix misparsing of strings
12057 with magic comments embedded in them.
12058 (verilog-read-auto-template):
12059 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
12060 Reported by Brad Dobbie.
12061 (verilog-read-auto-template):
12062 Fix 'verilog-auto-inst-template-numbers' with comments.
12063 Reported by Brad Dobbie.
12064 (verilog-auto-inst, verilog-auto-inst-param)
12065 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
12066 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
12067 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
12068 debugging templates without merge conflicts, bug357.
12069 Reported by Brad Dobbie.
12070 (verilog-read-auto-template):
12071 Fix verilog-auto-inst-template-numbers with multiple templates.
12072 Reported by Brad Dobbie.
12073 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
12074 abbrevs so user won't be asked to save.
12075 (verilog-read-auto-lisp-present): Fix to start at beginning of
12076 buffer in case called outside of verilog-auto.
12077 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
12078 to "X-2". Reported by Matthew Myers.
12079 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
12080 all inputs from module templates. Reported by Leith Johnson.
12081 (verilog-module-inside-filename-p): Fix locating programs as with
12082 modules.
12083 (verilog-auto-inst-port): Fix vl-width expressions when using
12084 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
12085 (verilog-decls-get-regs, verilog-decls-get-signals,
12086 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
12087 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
12088 verilog-read-decls): Combine reg and wire structures into one var
12089 structure to represent SystemVerilog concepts.
12090 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
12091 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
12092 (verilog-auto-wire-type, verilog-insert-definition):
12093 Add verilog-auto-wire-type and AUTOLOGIC to support using
12094 SystemVerilog "logic" keyword instead of "wire"/"reg".
12095 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12096 to declares outputs that also have assignments (presumably in an
12097 ifdef or generate if so there's not a driver conflict).
12098 Reported by Matthew Myers.
12099 (verilog-auto-declare-nettype, verilog-insert-definition):
12100 Add verilog-auto-declare-nettype to fix declarations using
12101 `default_nettype none. Reported by Julian Gorfajn.
12102 (verilog-read-always-signals-recurse, verilog-read-decls)
12103 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
12104 malformed end statement, bug325. Reported by Joshua Wise and
12105 Andrew Drake.
12106 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
12107 (verilog-inst-comment-re): Fix not deleting Interfaced comment
12108 when expanding .* in interfaces, bug320.
12109 Reported by Pierre-David Pfister.
12110 (verilog-read-module-name): Fix import statements between module
12111 name and open parenthesis, bug317.
12112 Reported by Pierre-David Pfister.
12113 (verilog-simplify-range-expression): Fix simplification of
12114 multiplications inside AUTOWIRE connections, bug303.
12115 (verilog-auto-inst-port): Support parameter expansion in
12116 multidimensional arrays.
12117 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
12118 after "assert property". Reported by Julian Gorfajn.
12119 (verilog-simplify-range-expression): Fix "couldn't merge" errors
12120 with multiplication, bug303.
12121 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
12122 Reported by Jan Frode Lonnum.
12123
12124 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
12125
12126 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
12127 (hfy-shell-file-name, hfy-shell):
12128 * international/fontset.el (x-decompose-font-name): Fix typos.
12129
12130 2011-11-29 Ken Brown <kbrown@cornell.edu>
12131
12132 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
12133 (gdb-version): Remove defvar.
12134 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
12135 (gdb-gud-context-command, gdb-non-stop-handler)
12136 (gdb-current-context-command, gdb-stopped): Use it.
12137 (gdb-init-1): Enable pretty printing here.
12138 (gdb-non-stop-handler): Don't enable pretty-printing here.
12139 Check to see if the target supports non-stop mode; if not, turn off
12140 non-stop mode. Use the following.
12141 (gdb-check-target-async): New defun.
12142 (gud-watch, gdb-stopped): Fix whitespace.
12143 (gdb-get-source-file): Don't try to display the source file if
12144 `gdb-main-file' is nil.
12145
12146 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12147
12148 * align.el: Try to generate fewer markers (bug#10047).
12149 (align--set-marker): New macro.
12150 (align-region): Use it.
12151
12152 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12153
12154 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
12155
12156 2011-11-29 Chong Yidong <cyd@gnu.org>
12157
12158 * indent.el (indent-for-tab-command, indent-according-to-mode):
12159 Doc fix.
12160 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
12161
12162 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
12163
12164 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
12165 aware of remote file names. (Bug#10124)
12166
12167 2011-11-29 Chong Yidong <cyd@gnu.org>
12168
12169 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
12170
12171 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12172
12173 * files.el (find-file): Don't use force-same-window (bug#10144).
12174 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
12175 use pop-to-buffer if the selected window can't be used.
12176 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
12177
12178 2011-11-28 Eli Zaretskii <eliz@gnu.org>
12179
12180 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
12181 special-mode-map.
12182
12183 2011-11-28 Chong Yidong <cyd@gnu.org>
12184
12185 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
12186
12187 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
12188
12189 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
12190 gdb-get-source-file-list on gdb-create-source-file-list.
12191
12192 2011-11-26 Eli Zaretskii <eliz@gnu.org>
12193
12194 * whitespace.el (whitespace-newline): Use a different foreground
12195 color for 16-color light-background displays.
12196
12197 2011-11-24 Chong Yidong <cyd@gnu.org>
12198
12199 * window.el (display-buffer--special-action): Doc fix.
12200
12201 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
12202
12203 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
12204 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
12205 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
12206 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
12207 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
12208 (avl-tree-stack-first):
12209 * emacs-lisp/cconv.el (cconv--analyse-use):
12210 * net/gnutls.el (gnutls-negotiate): Fix typos.
12211
12212 2011-11-24 Glenn Morris <rgm@gnu.org>
12213
12214 * lpr.el (lpr-windows-system, lpr-lp-system):
12215 * mail/binhex.el (binhex-begin-line):
12216 * progmodes/grep.el (grep-history, grep-find-history):
12217 * textmodes/flyspell.el:
12218 * vc/pcvs-defs.el (cvs-global-menu):
12219 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
12220 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
12221 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
12222
12223 * net/tls.el: Fix case of "GnuTLS".
12224
12225 * paths.el (rmail-file-name): Format doc-string for make-docfile.
12226
12227 * version.el (emacs-build-system): Give it a doc-string.
12228
12229 2011-11-24 Juri Linkov <juri@jurta.org>
12230
12231 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
12232
12233 2011-11-24 Glenn Morris <rgm@gnu.org>
12234
12235 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
12236 if called on a non-mime message just toggle the headers. (Bug#8006)
12237
12238 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
12239
12240 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
12241 (allout-lead-with-comment-string, allout-structure-deleted-hook)
12242 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
12243 (allout-rebullet-heading, allout-open-sibtopic)
12244 (allout-toggle-current-subtree-encryption)
12245 (allout-toggle-subtree-encryption, allout-encrypt-string)
12246 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
12247 (allout-distinctive-bullets-string, allout-auto-activation):
12248 * window.el (window-normalize-buffer-to-display):
12249 * progmodes/verilog-mode.el (verilog-batch-indent):
12250 * textmodes/bibtex.el (bibtex-field-braces-opt)
12251 (bibtex-field-strings-opt):
12252 * vc/cvs-status.el (cvs-tree-merge):
12253 Fix typos.
12254
12255 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
12256
12257 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
12258 `non-essential' to t, in order to avoid remote connections.
12259
12260 2011-11-23 Eli Zaretskii <eliz@gnu.org>
12261
12262 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12263 On MS-DOS and MS-Windows, compare with loaddefs.el
12264 case-insensitively.
12265
12266 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12267
12268 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
12269
12270 2011-11-23 Glenn Morris <rgm@gnu.org>
12271
12272 * paths.el (rmail-file-name): Reformat the doc-string so that it
12273 is picked up.
12274
12275 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
12276 (rmail-auto-file): Ignore case in the "special" field names,
12277 as mail-fetch-field does for all others.
12278
12279 * mail/rmail.el (rmail-forward):
12280 * mail/rmailkwd.el (rmail-set-label):
12281 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12282 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
12283
12284 * mail/rmail.el (rmail-current-message): Doc fix.
12285
12286 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
12287
12288 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
12289
12290 * server.el (server-eval-and-print): Allow C-g (bug#6585).
12291
12292 2011-11-22 Glenn Morris <rgm@gnu.org>
12293
12294 * mail/rmailmm.el (test-rmail-mime-handler)
12295 (test-rmail-mime-bulk-handler)
12296 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12297
12298 2011-11-21 Juri Linkov <juri@jurta.org>
12299
12300 * calc/calc.el (calc-read-key-sequence):
12301 Let-bind `input-method-function' to nil. (Bug#10018)
12302
12303 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12304
12305 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12306 Tell the caller that the next line needs recomputation, even
12307 though it doesn't start a sexp (bug#10094).
12308
12309 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12310
12311 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12312
12313 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12314
12315 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12316 Use force-same-window.
12317
12318 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
12319
12320 * descr-text.el (describe-char-unicode-data):
12321 * json.el (json-string-escape):
12322 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12323 (Footnote-unicode, Footnote-style-p):
12324 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12325
12326 2011-11-20 Chong Yidong <cyd@gnu.org>
12327
12328 * window.el (replace-buffer-in-windows): Restore interactive spec.
12329
12330 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12331
12332 * electric.el (electric-indent-mode): Fix last change (too optimistic).
12333
12334 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12335 (byte-compile-global-not-obsolete-vars): New var.
12336 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12337 Use it.
12338 (byte-compile-warn-obsolete): Align text with the one in *Help*.
12339
12340 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
12341
12342 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12343 * progmodes/pascal.el (electric-pascal-equal):
12344 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12345 * xml.el (xml-substitute-special): Fix typos.
12346
12347 2011-11-20 Glenn Morris <rgm@gnu.org>
12348
12349 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12350 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12351 Doc fixes.
12352 (rmail-decode-mime-charset): Mark as obsolete.
12353
12354 * mail/rmailsum.el (rmail-message-regexp-p-1):
12355 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12356 Before using mime functions, check they are set. (Bug#10077)
12357
12358 2011-11-19 Juri Linkov <juri@jurta.org>
12359
12360 * info.el (Info-finder-find-node): Use `package--builtins' instead
12361 of `package-alist'. Use node names formed by the pattern "Keyword "
12362 and the keyword name.
12363
12364 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12365
12366 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
12367
12368 2011-11-19 Juri Linkov <juri@jurta.org>
12369
12370 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12371 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12372 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12373 `old-history', `old-history-forward'. Add let-binding
12374 `window-selected'. Remove calls to `kill-buffer',
12375 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12376 before calling `Info-find-node', so `Info-find-node-2' will reread
12377 the Info file. Restore window positions only when `window-selected'
12378 is non-nil.
12379
12380 2011-11-19 Juri Linkov <juri@jurta.org>
12381
12382 * isearch.el (isearch-lazy-highlight-new-loop):
12383 Remove condition `(not isearch-error)'. (Bug#9918)
12384
12385 * misearch.el (multi-isearch-search-fun): Add condition
12386 `(not bound)' to ignore lazy-highlighting search.
12387 Add the search-failed message "end of multi" when the end of
12388 multi-sequence is reached. Uncapitalize the search-failed
12389 message "Repeat for next buffer".
12390
12391 * info.el (Info-search): Add the search-failed message
12392 "end of the manual" when the end of the manual is reached
12393 in Isearch mode.
12394
12395 2011-11-19 Juri Linkov <juri@jurta.org>
12396
12397 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12398 Use non-destructive `remove' instead of `delete' because
12399 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12400 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12401
12402 2011-11-19 Juri Linkov <juri@jurta.org>
12403
12404 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12405 to nil instead of binding `search-ring' and `regexp-search-ring'.
12406 (Bug#9185)
12407
12408 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12409
12410 * simple.el (line-move): Force movement by logical lines for any
12411 hscrolled window, not only when auto-hscroll-mode is on.
12412 (line-move-visual): Update doc string to that effect. (Bug#10076)
12413
12414 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12415
12416 * language/european.el (macintosh): Define as alias for mac-roman.
12417
12418 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12419
12420 * mail/rmailmm.el (rmail-mime-display-header)
12421 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12422 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12423 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12424 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12425 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12426 of a raw aref.
12427 (rmail-mime-entity-segment): To get past the tagline, move forward
12428 2 more lines, to account for the 2 empty lines that precede and
12429 follow the line with the buttons.
12430 (rmail-mime-update-tagline): Move one more line, to get past the
12431 empty line that follows the buttons in the tagline. (Bug#9520)
12432
12433 2011-11-19 Martin Rudalics <rudalics@gmx.at>
12434
12435 * window.el (window-max-delta-1, window-min-delta-1)
12436 (window-min-size-1, window-state-get-1, window-state-put-1)
12437 (window-state-put-2): Use "window--" prefix.
12438
12439 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12440
12441 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12442 (smie-warning-count): New var.
12443 (smie-set-prec2tab): Use it.
12444 (smie-bnf->prec2): Improve warnings. Add docstring.
12445 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12446 (smie-bnf--set-class): New function.
12447 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12448 corner case.
12449
12450 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12451 (compilation-error-properties, compilation-move-to-column):
12452 Handle compilation-first-column while in the target buffer.
12453
12454 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12455 Don't hardcode point-min==1.
12456
12457 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12458 (eshell-rewrite-for-command): Remove workaround.
12459 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12460 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12461 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12462
12463 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12464
12465 2011-11-17 Glenn Morris <rgm@gnu.org>
12466
12467 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12468 Ignore buffer-local generated-autoload-file if it is the same
12469 as the global value. (Bug#10049)
12470
12471 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
12472
12473 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12474 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12475 (reftex-toc-previous-heading, reftex-toc-max-level)
12476 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12477 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12478 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12479 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12480 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12481 (reftex-toc-rename-label, reftex-toc-visit-location)
12482 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12483 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12484 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12485 leaving "*toc*" only for references to the buffer.
12486
12487 2011-11-17 Martin Rudalics <rudalics@gmx.at>
12488
12489 * window.el (window-resize, delete-window, split-window):
12490 Replace window-splits by window-combination-resize.
12491 * cus-start.el (window-splits): Replace by window-combination-resize.
12492
12493 2011-11-17 Glenn Morris <rgm@gnu.org>
12494
12495 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12496 Make bash entry derive from sh entry, not shell entry.
12497
12498 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
12499
12500 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12501 local file name.
12502
12503 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12504
12505 * menu-bar.el (menu-bar-file-menu):
12506 * printing.el (pr-ps-utility):
12507 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12508 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12509 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12510 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12511 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12512 (icalendar--convert-cyclic-to-ical)
12513 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12514 (icalendar--convert-ical-to-diary)
12515 (icalendar--convert-recurring-to-diary)
12516 (icalendar--convert-non-recurring-all-day-to-diary)
12517 (icalendar-import-format-sample):
12518 * progmodes/idlw-shell.el (idlwave-shell-mode):
12519 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12520 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12521 (vhdl-ps-print-init): Fix typos.
12522
12523 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12524
12525 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12526 FSF and collapse date sequence, obscure author/maintainer email address
12527 better, remove extra version line, track relocation of author's webpage.
12528
12529 * progmodes/python.el (python-pdbtrack-input-prompt)
12530 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12531 regular python pdb prompts. Adjustments shamelessly taken exactly as
12532 suggested in EmacsWiki page (tiny change):
12533 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
12534
12535 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12536
12537 * expand.el (expand-pos, expand-index, expand-point):
12538 Remove redundant info from docstring.
12539 (expand-add-abbrevs): Doc fix.
12540 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12541 (expand-sample-perl-mode-expand-list): Fix typos.
12542
12543 * net/dbus.el (dbus-event-member-name):
12544 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12545 * term/pc-win.el (msdos-create-frame-with-faces):
12546 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12547
12548 2011-11-16 Martin Rudalics <rudalics@gmx.at>
12549
12550 * window.el (split-window, window-state-get-1)
12551 (window-state-put-1, window-state-put-2): Rename occurrences of
12552 window-nest to window-combination-limit.
12553 * cus-start.el (window-nest): Rename to window-combination-limit.
12554
12555 2011-11-16 Chong Yidong <cyd@gnu.org>
12556
12557 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12558 regexp (Bug#10033).
12559
12560 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12561
12562 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12563 `completing-read' will remove *Completions* and will preserve
12564 current-buffer for us.
12565 (tmm-add-prompt): Users of *Completions* will always (re)set its
12566 major mode.
12567 (tmm-old-comp-map): Remove.
12568
12569 2011-11-16 Glenn Morris <rgm@gnu.org>
12570
12571 * mail/rmailedit.el: Require rmailmm when compiling.
12572 (rmail-old-mime-state): New declaration.
12573 (rmail-edit-current-message): If editing a mime message,
12574 edit the "raw" message from the mbox buffer.
12575 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12576
12577 2011-11-15 Glenn Morris <rgm@gnu.org>
12578
12579 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12580 which wasn't being used. Add optional arg to force given state.
12581 (rmail-mime): Add optional arg to force given state.
12582
12583 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12584
12585 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12586 * frame.el (display-mm-dimensions-alist):
12587 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12588 (outline-move-subtree-down):
12589 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12590 (newsticker--treeview-do-get-node):
12591 * net/quickurl.el (quickurl-list-buffer-name):
12592 * progmodes/dcl-mode.el (dcl-mode):
12593 * progmodes/gdb-mi.el (gdb-mapcar*):
12594 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12595
12596 2011-11-15 Glenn Morris <rgm@gnu.org>
12597
12598 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12599 in a boolean sense, so just make it a boolean, and fix the doc.
12600 (rmail-show-mime-function, rmail-mime-feature)
12601 (rmail-require-mime-maybe): Doc fixes.
12602 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12603
12604 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12605
12606 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12607
12608 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12609 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12610 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12611 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12612
12613 2011-11-15 Glenn Morris <rgm@gnu.org>
12614
12615 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12616 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12617 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12618 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12619 (rmail-mime, rmail-show-mime): Doc fixes.
12620
12621 * term/ns-win.el (mode-line-frame-identification):
12622 Leave it alone. (Bug#10051)
12623
12624 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12625
12626 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12627 Handle empty buffers. (Bug#9978)
12628
12629 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
12630
12631 * international/mule.el (define-charset):
12632 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12633 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12634 * progmodes/verilog-mode.el (verilog-backward-token):
12635 * textmodes/ispell.el (lookup-words):
12636 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12637
12638 2011-11-14 Glenn Morris <rgm@gnu.org>
12639
12640 * progmodes/executable.el
12641 (executable-make-buffer-file-executable-if-script-p):
12642 Handle file-modes returning nil.
12643
12644 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12645 message - not necessary, and causes problems. (Bug#9831)
12646
12647 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12648
12649 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12650
12651 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12652 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12653 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12654
12655 2011-11-12 Martin Rudalics <rudalics@gmx.at>
12656
12657 * window.el (window-resize, delete-window): Use window-splits
12658 variable instead of function.
12659 (window-state-get-1, window-state-put-2, window-state-put):
12660 Don't deal with windows' splits status.
12661
12662 2011-11-12 Glenn Morris <rgm@gnu.org>
12663
12664 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12665 (apropos-documentation): Doc fixes.
12666
12667 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
12668
12669 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12670 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12671
12672 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12673
12674 * electric.el (electric-indent-post-self-insert-function): Make it
12675 possible for a char to only indent in some circumstances.
12676 (electric-indent-mode): Simplify.
12677
12678 2011-11-11 Martin Rudalics <rudalics@gmx.at>
12679
12680 * window.el (windows-with-parameter): Remove unused function.
12681 (windows-at-side): Rename to window-at-side-list.
12682 (window-check, window-atom-check, window-atom-check-1)
12683 (window-side-check, window-size-ignore, window-size-fixed-1)
12684 (window-in-direction-2): Prefix with "window--".
12685 (window-tree-1): Rename to window--subtree, fix doc-string.
12686
12687 2011-11-11 Glenn Morris <rgm@gnu.org>
12688
12689 * subr.el (eval-after-load): If FILE is already loaded,
12690 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12691
12692 2011-11-10 Glenn Morris <rgm@gnu.org>
12693
12694 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12695 Call svn via vc-svn-command rather than vc-do-command.
12696 (vc-svn-command): Add --non-interactive. (Bug#9993)
12697 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12698
12699 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12700 Add toggle-read-only. (Bug#7292)
12701 * files.el (toggle-read-only): Mention that it should only
12702 be used interactively. (Bug#10006)
12703
12704 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12705
12706 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12707 Adjust regexp for OCaml warnings.
12708
12709 * electric.el (electric-pair-post-self-insert-function): Let user
12710 turn it off buffer-locally (bug#9932).
12711
12712 * progmodes/python.el (python-beginning-of-statement):
12713 Rewrite (bug#2703).
12714
12715 * progmodes/compile.el: Better handle TABs (bug#9749).
12716 (compilation-internal-error-properties)
12717 (compilation-next-error-function): Obey the target buffer's
12718 compilation-error-screen-columns.
12719
12720 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
12721
12722 * progmodes/meta-mode.el: Remove obsolete comments.
12723 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12724 Fix typos in docstrings.
12725
12726 2011-11-09 Martin Rudalics <rudalics@gmx.at>
12727
12728 * window.el (window-size-fixed-p): Rewrite doc-string.
12729 (window-resizable-p): Rename to window--resizable-p. Update callers.
12730 (window--resizable): New function. Make all callers of
12731 window-resizable call window--resizable instead.
12732 (window-resizable): Rewrite in terms of window--resizable.
12733
12734 2011-11-08 Glenn Morris <rgm@gnu.org>
12735
12736 * progmodes/delphi.el (delphi-mode-syntax-table):
12737 Let define-derived-mode define a proper syntax table. (Bug#9994)
12738
12739 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12740
12741 * window.el: Stay away from defsubst.
12742 (window-list-no-nils): Remove.
12743 (window-state-get-1, window-state-get): Use backquote instead.
12744
12745 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12746
12747 * emacs-lisp/find-func.el (find-function-read):
12748 Fix incorrect use of default argument in `completing-read'.
12749
12750 2011-11-08 Martin Rudalics <rudalics@gmx.at>
12751
12752 * window.el (display-buffer-function, special-display-function):
12753 Mention display-buffer-record-window but do not mention
12754 help-setup parameter in doc-strings.
12755 (window-min-delta): Fix doc-string typo.
12756
12757 2011-11-08 Chong Yidong <cyd@gnu.org>
12758
12759 * window.el (window-total-height, window-total-width): Doc fix.
12760 (window-body-size): Move from C.
12761 (window-body-height, window-body-width): Move to C.
12762
12763 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12764
12765 * window.el: Make special-display like display-buffer-alist (bug#9532).
12766 (display-buffer--special-action): New function, morphed
12767 from display-buffer--special.
12768 (display-buffer): Use it to handle special-display-buffers at higher
12769 priority (just after display-buffer-alist).
12770 (display-buffer-fallback-action, display-buffer--other-frame-action)
12771 (pop-to-buffer-same-window): Remove display-buffer--special.
12772
12773 2011-11-07 Glenn Morris <rgm@gnu.org>
12774
12775 * calendar/cal-menu.el (cal-menu-set-date-title):
12776 Do nothing if not in a calendar. (Bug#9976)
12777
12778 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12779
12780 * files.el (find-file): Always use selected-window.
12781
12782 2011-11-07 Martin Rudalics <rudalics@gmx.at>
12783
12784 * window.el (window-combinations): Make WINDOW argument
12785 mandatory. Rewrite doc-string.
12786 (walk-window-subtree, window-atom-check, window-min-delta)
12787 (window-max-delta, window--resize-this-window)
12788 (window--resize-root-window-vertically, window-tree)
12789 (balance-windows, window-state-put): Rewrite doc-strings as to
12790 not mention the term "subwindow".
12791 (window--resize-subwindows-skip-p): Rename to
12792 window--resize-child-windows-skip-p.
12793 (window--resize-subwindows-normal): Rename to
12794 window--resize-child-windows-normal.
12795 (window--resize-subwindows): Rename to
12796 window--resize-child-windows.
12797 (window-or-subwindow-p): Rename to window--in-subtree-p.
12798
12799 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12800
12801 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12802 Ensure that mbox format messages end in two newlines (Bug#9974).
12803
12804 2011-11-06 Chong Yidong <cyd@gnu.org>
12805
12806 * window.el (window-combination-p): Function deleted; its
12807 side-effect is not used in any existing code.
12808 (window-combinations, window-combined-p): Call window-*-child
12809 directly.
12810
12811 2011-11-05 Chong Yidong <cyd@gnu.org>
12812
12813 * window.el (window-valid-p): Rename from window-any-p.
12814 (window-size-ignore, window-state-get): Callers changed.
12815 (window-normalize-window): Rename from window-normalize-any-window.
12816 New arg LIVE-ONLY, replacing window-normalize-live-window.
12817 (window-normalize-live-window): Delete.
12818 (window-combination-p, window-combined-p, window-combinations)
12819 (walk-window-subtree, window-atom-root, window-min-size)
12820 (window-sizable, window-sizable-p, window-size-fixed-p)
12821 (window-min-delta, window-max-delta, window-resizable)
12822 (window-resizable-p, window-full-height-p, window-full-width-p)
12823 (window-current-scroll-bars, window-point-1, set-window-point-1)
12824 (window-at-side-p, window-in-direction, window-resize)
12825 (adjust-window-trailing-edge, maximize-window, minimize-window)
12826 (window-deletable-p, delete-window, delete-other-windows)
12827 (record-window-buffer, unrecord-window-buffer)
12828 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12829 (quit-window, split-window, window-state-put)
12830 (set-window-text-height, fit-window-to-buffer)
12831 (shrink-window-if-larger-than-buffer): Callers changed.
12832
12833 2011-11-04 Eli Zaretskii <eliz@gnu.org>
12834
12835 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12836 rfc2047-decode-string.
12837 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12838 warnings.
12839
12840 * window.el (window-body-height, window-body-width): Mention in
12841 the doc string that the return values are in frame's canonical
12842 units. (Bug#9949)
12843
12844 2011-11-03 Alan Mackenzie <acm@muc.de>
12845
12846 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12847 change in cc-engine.el.
12848
12849 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12850
12851 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12852
12853 2011-11-02 Martin Rudalics <rudalics@gmx.at>
12854
12855 * window.el (quit-window): Call unrecord-window-buffer after
12856 showing another buffer in the window. (Bug#9937)
12857 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
12858
12859 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
12860
12861 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12862 Accept status with more than 9 shelves. (Bug#9935)
12863 Reported by Colin D Bennett <colin@gibibit.com>.
12864
12865 2011-11-01 Martin Rudalics <rudalics@gmx.at>
12866
12867 * help.el (with-help-window): Don't reference
12868 temp-buffer-show-specifiers in doc-string.
12869
12870 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12871
12872 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12873 menu-item.
12874
12875 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12876
12877 * whitespace.el: New version 13.2.2.
12878 (whitespace-newline-mode): Disable properly. Reported by Sarah
12879 <EmacsWiki>.
12880
12881 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
12882
12883 * net/newst-treeview.el: Remove "Time-stamp".
12884 (newsticker--group-manage-orphan-feeds): Do not call
12885 newsticker--treeview-tree-update.
12886 (newsticker-treeview-update, newsticker-treeview):
12887 Call newsticker--treeview-tree-update if necessary.
12888
12889 2011-10-30 Martin Rudalics <rudalics@gmx.at>
12890
12891 * window.el (window-iso-combination-p, window-iso-combined-p)
12892 (window-iso-combinations): Remove "iso-" infix.
12893 Suggested by Chong Yidong.
12894 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12895 (window-max-delta-1, window-resize, window--resize-siblings)
12896 (window--resize-this-window, adjust-window-trailing-edge)
12897 (split-window, balance-windows-1)
12898 (shrink-window-if-larger-than-buffer):
12899 * calendar/calendar.el (calendar-generate-window):
12900 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
12901
12902 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12903
12904 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12905 in place (bug#9907).
12906 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12907 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12908 (eshell-structure-basic-command, eshell-rewrite-while-command)
12909 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12910 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12911 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12912 (eshell-do-pipelines-synchronously, eshell-eval-command):
12913 Use backquotes and prefer setq to set.
12914 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12915 (eshell-macrop): Use functionp.
12916 (eshell-do-eval): Handle multiple expressions in `while' body.
12917
12918 2011-10-30 Chong Yidong <cyd@gnu.org>
12919
12920 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12921 instead of set-mark (Bug#9810).
12922
12923 2011-10-30 Chong Yidong <cyd@gnu.org>
12924
12925 * window.el (split-window-below, split-window-right): Rename from
12926 split-window-above-each-other and split-window-side-by-side
12927 respectively. All callers changed.
12928 (split-window-sensibly, split-window-sensibly): Use them.
12929 (split-window-keep-point): Doc fix.
12930
12931 * isearch.el: Add isearch-scroll property to split-window-below
12932 and split-window-right.
12933
12934 * follow.el (follow-mode):
12935 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12936 * progmodes/ada-xref.el (ada-gdb-application):
12937 * emulation/vip.el (vip-buffer-in-two-windows):
12938 * image-dired.el (image-dired-dired-with-window-configuration):
12939 * dired-x.el (dired-do-find-marked-files):
12940 * dired.el (dired-pop-to-buffer):
12941 * bs.el (bs--show-with-configuration):
12942 * vc/emerge.el (emerge-setup-windows):
12943 * textmodes/two-column.el (2C-two-columns):
12944 * textmodes/reftex-toc.el (reftex-toc):
12945 * progmodes/gdb-mi.el (gdb-setup-windows):
12946 * progmodes/fortran.el (fortran-window-create):
12947 * net/newst-treeview.el (newsticker--treeview-window-init):
12948 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12949 * emulation/tpu-edt.el (tpu-gold-map):
12950 * emulation/crisp.el (crisp-mode-map):
12951 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12952
12953 2011-10-29 Chong Yidong <cyd@gnu.org>
12954
12955 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12956
12957 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12958
12959 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12960 forged Ispell output (Bug#7904).
12961
12962 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12963
12964 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12965
12966 * doc-view.el: Avoid ugly errors about not finding nil.
12967 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12968 (doc-view-dvipdf-program, doc-view-unoconv-program)
12969 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12970 Avoid nil or absolute file name as default value.
12971 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12972
12973 2011-10-28 Alan Mackenzie <acm@muc.de>
12974
12975 * progmodes/cc-defs.el (c-version): -> 5.32.2.
12976
12977 2011-10-28 Alan Mackenzie <acm@muc.de>
12978
12979 Amend the handling of c-beginning/end-of-defun in nested declaration
12980 scopes.
12981
12982 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12983 cc-langs.el. Change it to a defcustom.
12984
12985 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12986 cc-vars.el.
12987
12988 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12989 Prevent "class foo : bar" being spuriously recognized as a label.
12990
12991 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
12992 Add parameter `inclusive' (to include enclosing braces in the region).
12993 (c-widen-to-enclosing-decl-scope): New function.
12994 (c-while-widening-to-decl-block): New macro.
12995 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12996 outward for defun boundaries, and correspondingly change symbol
12997 `respect-enclosure' to `go-outward'.
12998 (c-declaration-limits): Change algorithm to report only the "innermost"
12999 defun's boundaries.
13000
13001 2011-10-28 Deniz Dogan <deniz@dogan.se>
13002
13003 * net/rcirc.el (rcirc-mode): Use hard newlines.
13004
13005 2011-10-28 Alan Mackenzie <acm@muc.de>
13006
13007 Amend to indent and fontify macros "which include their own semicolon"
13008 correctly, using the "virtual semicolon" mechanism.
13009
13010 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
13011
13012 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
13013 Recode to scan one line at a time rather than having \n and \r
13014 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
13015 (c-forward-label): Amend for virtual semicolons.
13016 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
13017
13018 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13019 of the new C macros.
13020
13021 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
13022 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13023 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
13024 (c-opt-cpp-macro-define): Make into a full language variable.
13025 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13026 AWK Mode (including \n, \r) removed, no longer needed.
13027
13028 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13029 Invoke c-make-macro-with-semi-re.
13030
13031 * progmodes/cc-vars.el (c-macro-with-semi-re):
13032 (c-macro-names-with-semicolon): New variables.
13033 (c-make-macro-with-semi-re): New function.
13034
13035 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13036
13037 * vc/log-edit.el: Fill empty field rather than adding new one.
13038 (log-edit-add-field): New function.
13039 (log-edit-insert-changelog): Use it.
13040
13041 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13042
13043 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
13044
13045 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13046
13047 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
13048 (gdb--check-interpreter): New function.
13049 (gdb): Use it.
13050
13051 2011-10-27 Glenn Morris <rgm@gnu.org>
13052
13053 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13054 (least-positive-float, least-negative-float)
13055 (least-positive-normalized-float, least-negative-normalized-float)
13056 (float-epsilon, float-negative-epsilon):
13057 Remove unnecessary declarations.
13058
13059 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
13060 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
13061 (least-positive-float, least-negative-float)
13062 (least-positive-normalized-float, least-negative-normalized-float)
13063 (float-epsilon, float-negative-epsilon): Add doc-strings,
13064 based on those in cl.texi.
13065
13066 * files.el (set-visited-file-name): If the major-mode changed,
13067 reload the local variables. (Bug#9796)
13068
13069 2011-10-27 Chong Yidong <cyd@gnu.org>
13070
13071 * subr.el (change-major-mode-after-body-hook): New hook.
13072 (run-mode-hooks): Run it.
13073
13074 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13075 Use change-major-mode-before-body-hook.
13076
13077 * simple.el (fundamental-mode):
13078 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
13079 change introducing fundamental-mode-hook.
13080
13081 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
13082
13083 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
13084
13085 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
13086
13087 * ido.el (ido-file-name-all-completions-1): Do not require
13088 tramp.el explicitly. (Bug#7583)
13089
13090 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13091
13092 * progmodes/octave-mod.el:
13093 * progmodes/octave-inf.el: Update maintainer.
13094
13095 2011-10-26 Chong Yidong <cyd@gnu.org>
13096
13097 * subr.el (with-wrapper-hook): Rewrite doc.
13098
13099 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
13100
13101 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
13102 filenames "/method:foo:". (Bug#9793)
13103
13104 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13105
13106 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
13107 (bug#9865).
13108
13109 2011-10-24 Glenn Morris <rgm@gnu.org>
13110
13111 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
13112
13113 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
13114
13115 * notifications.el: Add the requirement of a running D-Bus session
13116 bus to the Commentary.
13117
13118 2011-10-24 Juri Linkov <juri@jurta.org>
13119
13120 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13121 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
13122 (Bug#9364)
13123
13124 2011-10-24 Juri Linkov <juri@jurta.org>
13125
13126 * info.el (Info-following-node-name-re): Add newline to the list
13127 of allowed characters for leading space. (Bug#9824)
13128
13129 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13130
13131 * progmodes/octave-inf.el (inferior-octave-mode-map):
13132 Fix C-c C-h binding.
13133 * progmodes/octave-mod.el (octave-help): Remove.
13134
13135 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
13136
13137 Sync with Tramp 2.2.3.
13138
13139 * net/tramp-cache.el (top): Pacify byte-compiler using
13140 `init-file-user' and `site-run-file'.
13141
13142 * net/trampver.el: Update release number.
13143
13144 2011-10-23 Chong Yidong <cyd@gnu.org>
13145
13146 * files.el (toggle-read-only): Remove obsolete comment about
13147 version control.
13148
13149 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
13150 for toggle-read-only. Note that this hasn't called vc-next-action
13151 since 2008-05-02, though it wasn't documented at the time.
13152
13153 * vc/ediff-init.el (ediff-toggle-read-only-function):
13154 Use toggle-read-only.
13155
13156 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
13157
13158 Fix bug #9560, sporadic wrong indentation; improve instrumentation
13159 of c-parse-state.
13160
13161 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13162 correct faulty logical expression.
13163 (c-parse-state-state, c-record-parse-state-state):
13164 (c-replay-parse-state-state): New defvar/defuns.
13165 (c-debug-parse-state): Use new functions.
13166
13167 2011-10-22 Martin Rudalics <rudalics@gmx.at>
13168
13169 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
13170 last fix. Use window-in-direction correctly.
13171
13172 2011-10-21 Chong Yidong <cyd@gnu.org>
13173
13174 * progmodes/idlwave.el (idlwave-mode):
13175 * progmodes/vera-mode.el (vera-mode): No need to set
13176 require-final-newline; that's done in prog-mode.
13177 Suggested by Stefan Monnier.
13178
13179 2011-10-21 Martin Rudalics <rudalics@gmx.at>
13180
13181 * mouse.el (mouse-drag-window-above)
13182 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
13183 (mouse-drag-mode-line-1, mouse-drag-header-line)
13184 (mouse-drag-vertical-line-rightward-window): Remove.
13185 (mouse-drag-line): New function.
13186 (mouse-drag-mode-line, mouse-drag-header-line)
13187 (mouse-drag-vertical-line): Call mouse-drag-line.
13188 * window.el (window-at-side-p, windows-at-side): New functions.
13189
13190 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
13191
13192 * tar-mode.el (tar-grind-file-mode):
13193 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
13194
13195 2011-10-21 Chong Yidong <cyd@gnu.org>
13196
13197 * progmodes/idlwave.el (idlwave-mode):
13198 * progmodes/vera-mode.el (vera-mode):
13199 Use mode-require-final-newline.
13200
13201 2011-10-20 Glenn Morris <rgm@gnu.org>
13202
13203 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
13204
13205 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
13206
13207 * emulation/cua-base.el (cua-set-mark): Fix case of string.
13208
13209 2011-10-20 Chong Yidong <cyd@gnu.org>
13210
13211 * emulation/cua-base.el (cua-mode):
13212 * mail/footnote.el (footnote-mode):
13213 * mail/mailabbrev.el (mail-abbrevs-mode):
13214 * net/xesam.el (xesam-minor-mode):
13215 * progmodes/bug-reference.el (bug-reference-mode):
13216 * progmodes/cap-words.el (capitalized-words-mode):
13217 * progmodes/compile.el (compilation-minor-mode)
13218 (compilation-shell-minor-mode):
13219 * progmodes/gud.el (gud-tooltip-mode):
13220 * progmodes/hideif.el (hide-ifdef-mode):
13221 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
13222 * progmodes/subword.el (subword-mode):
13223 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13224 * progmodes/which-func.el (which-function-mode):
13225 * term/tvi970.el (tvi970-set-keypad-mode):
13226 * term/vt100.el (vt100-wide-mode):
13227 * textmodes/flyspell.el (flyspell-mode):
13228 * textmodes/ispell.el (ispell-minor-mode):
13229 * textmodes/nroff-mode.el (nroff-electric-mode):
13230 * textmodes/paragraphs.el (use-hard-newlines):
13231 * textmodes/refill.el (refill-mode):
13232 * textmodes/reftex.el (reftex-mode):
13233 * textmodes/rst.el (rst-minor-mode):
13234 * textmodes/sgml-mode.el (html-autoview-mode)
13235 (sgml-electric-tag-pair-mode):
13236 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
13237 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
13238 * emulation/crisp.el (crisp-mode):
13239 * emacs-lisp/eldoc.el (eldoc-mode):
13240 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
13241 minor mode behavior.
13242
13243 2011-10-19 Juri Linkov <juri@jurta.org>
13244
13245 * descr-text.el (describe-char): Add #x2010 and #x2011 to
13246 the list of hard-coded chars with escape-glyph face.
13247
13248 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13249
13250 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
13251
13252 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
13253
13254 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
13255 running process.
13256
13257 2011-10-19 Glenn Morris <rgm@gnu.org>
13258
13259 * vc/vc-bzr.el (vc-bzr-after-dir-status):
13260 Ignore ignored files. (Bug#9726)
13261
13262 2011-10-19 Chong Yidong <cyd@gnu.org>
13263
13264 Doc fix for minor modes, stating that an omitted argument enables
13265 the mode unconditionally when called from Lisp.
13266
13267 * abbrev.el (abbrev-mode):
13268 * allout.el (allout-mode):
13269 * autoinsert.el (auto-insert-mode):
13270 * autoarg.el (autoarg-mode, autoarg-kp-mode):
13271 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13272 (global-auto-revert-mode):
13273 * battery.el (display-battery-mode):
13274 * composite.el (global-auto-composition-mode)
13275 (auto-composition-mode):
13276 * delsel.el (delete-selection-mode):
13277 * desktop.el (desktop-save-mode):
13278 * dired-x.el (dired-omit-mode):
13279 * dirtrack.el (dirtrack-mode):
13280 * doc-view.el (doc-view-minor-mode):
13281 * double.el (double-mode):
13282 * electric.el (electric-indent-mode, electric-pair-mode):
13283 * emacs-lock.el (emacs-lock-mode):
13284 * epa-hook.el (auto-encryption-mode):
13285 * follow.el (follow-mode):
13286 * font-core.el (font-lock-mode):
13287 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13288 * help.el (temp-buffer-resize-mode):
13289 * hilit-chg.el (highlight-changes-mode)
13290 (highlight-changes-visible-mode):
13291 * hi-lock.el (hi-lock-mode):
13292 * hl-line.el (hl-line-mode, global-hl-line-mode):
13293 * icomplete.el (icomplete-mode):
13294 * ido.el (ido-everywhere):
13295 * image-file.el (auto-image-file-mode):
13296 * image-mode.el (image-minor-mode):
13297 * iswitchb.el (iswitchb-mode):
13298 * jka-cmpr-hook.el (auto-compression-mode):
13299 * linum.el (linum-mode):
13300 * longlines.el (longlines-mode):
13301 * master.el (master-mode):
13302 * mb-depth.el (minibuffer-depth-indicate-mode):
13303 * menu-bar.el (menu-bar-mode):
13304 * minibuf-eldef.el (minibuffer-electric-default-mode):
13305 * mouse-sel.el (mouse-sel-mode):
13306 * msb.el (msb-mode):
13307 * mwheel.el (mouse-wheel-mode):
13308 * outline.el (outline-minor-mode):
13309 * paren.el (show-paren-mode):
13310 * recentf.el (recentf-mode):
13311 * reveal.el (reveal-mode, global-reveal-mode):
13312 * rfn-eshadow.el (file-name-shadow-mode):
13313 * ruler-mode.el (ruler-mode):
13314 * savehist.el (savehist-mode):
13315 * scroll-all.el (scroll-all-mode):
13316 * scroll-bar.el (scroll-bar-mode):
13317 * server.el (server-mode):
13318 * shell.el (shell-dirtrack-mode):
13319 * simple.el (auto-fill-mode, transient-mark-mode)
13320 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13321 (line-number-mode, column-number-mode, size-indication-mode)
13322 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13323 * strokes.el (strokes-mode):
13324 * time.el (display-time-mode):
13325 * t-mouse.el (gpm-mouse-mode):
13326 * tool-bar.el (tool-bar-mode):
13327 * tooltip.el (tooltip-mode):
13328 * type-break.el (type-break-mode-line-message-mode)
13329 (type-break-query-mode):
13330 * view.el (view-mode):
13331 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13332 (global-whitespace-mode, global-whitespace-newline-mode):
13333 * xt-mouse.el (xterm-mouse-mode): Doc fix.
13334
13335 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13336 Fix autogenerated docstring.
13337
13338 2011-10-19 Juri Linkov <juri@jurta.org>
13339
13340 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13341 by checking environment variables "DESKTOP_SESSION" and
13342 "XDG_CURRENT_DESKTOP". (Bug#9779)
13343
13344 2011-10-19 Juri Linkov <juri@jurta.org>
13345
13346 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13347 (browse-url-chromium-program, browse-url-chromium-arguments):
13348 New defcustoms.
13349 (browse-url-default-browser): Check for `browse-url-chromium' and
13350 call `browse-url-chromium-program'.
13351 (browse-url-chromium): New command. (Bug#9779)
13352
13353 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
13354
13355 * facemenu.el (list-colors-duplicates): On Windows, detect more
13356 duplicates by assuming that only colors matching "^System" are
13357 special "system colors". (Bug#9722)
13358
13359 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13360
13361 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13362 to distinguish the author from the committer.
13363
13364 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
13365
13366 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13367
13368 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13369
13370 * international/mule.el (sgml-html-meta-auto-coding-function):
13371 Add support for detecting encoding in HTML5 specified only as
13372 <meta charset="UTF-8">. Implementation just makes http-equiv and
13373 content-type parts from HTML4 encoding string optional. (Bug#9716)
13374
13375 2011-10-18 Glenn Morris <rgm@gnu.org>
13376
13377 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13378
13379 2011-10-18 Chong Yidong <cyd@gnu.org>
13380
13381 * faces.el (cursor): Doc fix.
13382
13383 2011-10-17 Chong Yidong <cyd@gnu.org>
13384
13385 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13386
13387 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
13388
13389 * dirtrack.el (dirtrack): Support shell buffers with path
13390 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13391
13392 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13393
13394 * json.el: Bump version to 1.3 and note change in History.
13395 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13396
13397 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13398
13399 * comint.el (comint-insert-input, comint-send-input)
13400 (comint-get-old-input-default, comint-backward-matching-input)
13401 (comint-next-prompt): Use nil instead of `input' for field property of
13402 past user input (bug#114).
13403
13404 * minibuffer.el (completion--replace): Inherit surrounding properties
13405 (bug#114).
13406 (minibuffer-complete-and-exit): Use it.
13407
13408 * comint.el (comint--table-subvert): Quote the all-completions output
13409 (bug#9160).
13410
13411 2011-10-17 Martin Rudalics <rudalics@gmx.at>
13412
13413 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
13414
13415 * menu-bar.el (menu-bar-file-menu): Add entry for making new
13416 window on right of selected. (Bug#9350) Reword other window
13417 entries and separate them from frame entries.
13418
13419 2011-10-15 Glenn Morris <rgm@gnu.org>
13420
13421 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13422 Doc fixes.
13423
13424 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
13425
13426 * net/network-stream.el (network-stream-open-starttls):
13427 Improve detection of failure due to lack of TLS support.
13428
13429 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13430 putting the input text in front and in bold.
13431
13432 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13433
13434 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13435
13436 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13437 empty buffer.
13438
13439 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13440 unread-command-events rather than pushing yet-another event.
13441
13442 2011-10-14 Eli Zaretskii <eliz@gnu.org>
13443
13444 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13445 the explanation of the possible choices. Make the options passed
13446 to completing-read shorter.
13447
13448 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13449
13450 * textmodes/flyspell.el (flyspell-large-region): Make sure
13451 extended character mode is used if defined (Bug#1339).
13452
13453 2011-10-13 Eli Zaretskii <eliz@gnu.org>
13454
13455 * simple.el (what-cursor-position): Fix the display of the
13456 character info for LRE, LRO, RLE, and RLO characters by appending
13457 an invisible PDF.
13458
13459 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13460
13461 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13462 even in case of error; add debug spec; simplify data flow.
13463 (with-timeout-handler): Remove.
13464
13465 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
13466
13467 Fix Bug#6019, Bug#9315.
13468
13469 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13470 complete `buffer-file-name', the local file name part could look
13471 remotely (for example on VMS).
13472
13473 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13474 `tramp-run-real-handler'.
13475 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13476 already quoted by '"'.
13477
13478 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13479 Let `file-name-handler-alist' be nil, the local file name part
13480 could look remotely (for example on VMS).
13481
13482 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13483
13484 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13485 from here...
13486 (flyspell-post-command-hook): ...to here.
13487
13488 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13489
13490 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13491 if not needed.
13492 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13493 using completion. Protect against "slow" callers.
13494 Remove the "message hack".
13495
13496 2011-10-11 Juri Linkov <juri@jurta.org>
13497
13498 * isearch.el (isearch-lazy-highlight-word): New variable.
13499 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13500 Use it. (Bug#9727)
13501
13502 2011-10-11 Glenn Morris <rgm@gnu.org>
13503
13504 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13505 like f90-previous-statement does.
13506
13507 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13508
13509 * eshell/eshell.el (eshell-command): History should be saved
13510 only in interactive use, to avoid error.
13511
13512 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13513
13514 * minibuffer.el (completion-file-name-table): Fix last change,
13515 i.e. ignore normal errors but not the other ones.
13516
13517 2011-10-10 Martin Rudalics <rudalics@gmx.at>
13518
13519 * window.el (special-display-buffer-names)
13520 (special-display-regexps): Remove some remnants of earlier
13521 changes from doc-strings.
13522 (quit-windows-on): New function.
13523
13524 * vc/vc.el (vc-revert, vc-rollback):
13525 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13526 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
13527 (Bug#6183) (Bug#7074) (Bug#7447)
13528
13529 2011-10-09 Martin Rudalics <rudalics@gmx.at>
13530
13531 * window.el (frame-auto-hide-function): Add version tag.
13532 (Bug#9699)
13533
13534 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
13535
13536 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13537 condition.
13538
13539 2011-10-09 Leo Liu <sdl.web@gmail.com>
13540
13541 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13542 (Bug#9701)
13543
13544 2011-10-08 Glenn Morris <rgm@gnu.org>
13545
13546 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13547 before the first code statement zero indent. (Bug#9690)
13548
13549 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
13550
13551 * simple.el (count-words-region): Always count in the region.
13552 Report the number of lines and characters too.
13553 (count-words): New command, which counts in the buffer if the
13554 region is inactive, as count-words-region used to.
13555 (count-words--message): New function. Handle plurals.
13556 (count-lines-region): Make it an alias for count-words-region.
13557
13558 * bindings.el (esc-map): Replace count-lines-region with
13559 count-words-region.
13560
13561 2011-10-08 Martin Rudalics <rudalics@gmx.at>
13562
13563 * window.el (window--delete): Delete dedicated frame
13564 unconditionally when argument KILL is non-nil. (Bug#9699)
13565 (switch-to-buffer): Fix doc-string typo.
13566
13567 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13568
13569 * eshell/eshell.el (eshell-command): Avoid using hooks.
13570
13571 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
13572
13573 * bindings.el ([M-left],[M-right]): Bind to left-word and
13574 right-word respectively.
13575
13576 2011-10-07 Glenn Morris <rgm@gnu.org>
13577
13578 * cus-start.el (debug-on-quit): Fix custom type.
13579
13580 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13581
13582 * subr.el (define-key-after): Clarify that the function is not
13583 useful for non-menu keymaps.
13584
13585 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13586
13587 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13588
13589 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
13590 in current minibuffer (Fix bug with recursive minibuffers).
13591
13592 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
13593
13594 * progmodes/gdb-mi.el (gdb): Doc fix.
13595
13596 2011-10-05 Martin Rudalics <rudalics@gmx.at>
13597
13598 * window.el (frame-auto-hide-function): New option replacing
13599 frame-auto-delete. Suggested by Stefan Monnier.
13600 (window--delete): Call frame-auto-hide-function instead of
13601 investigating frame-auto-delete.
13602 (window-point-1, set-window-point-1): New functions.
13603 (window-in-direction, record-window-buffer, window-state-get-1)
13604 (display-buffer-record-window): Use window-point-1 instead of
13605 window-point.
13606 (set-window-buffer-start-and-point): Use set-window-point-1.
13607
13608 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13609
13610 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13611
13612 2011-10-05 Glenn Morris <rgm@gnu.org>
13613
13614 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13615 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13616
13617 2011-10-05 Leo Liu <sdl.web@gmail.com>
13618
13619 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13620 works with buffer object.
13621
13622 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13623
13624 * mpc.el (mpc-tool-bar-map): Add labels.
13625
13626 2011-10-04 Glenn Morris <rgm@gnu.org>
13627
13628 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13629
13630 2011-10-04 Martin Rudalics <rudalics@gmx.at>
13631
13632 * window.el (window--delete): New function.
13633 (frame-auto-delete): Resuscitate option.
13634 (bury-buffer, replace-buffer-in-windows)
13635 (quit-window): Rewrite using window--delete.
13636 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13637 Pass display-buffer-mark-dedicated to window--display-buffer-2
13638 (Bug#9639).
13639
13640 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13641
13642 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13643 returns a list (bug#9554). Add remote file name completion.
13644 * comint.el (comint--table-subvert): Curry and get quote&unquote
13645 functions as arguments.
13646 (comint--complete-file-name-data): Adjust call accordingly.
13647 * pcomplete.el (pcomplete--table-subvert): Remove.
13648 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13649
13650 * minibuffer.el (completion-table-case-fold): Use currying.
13651 (completion--styles-type, completion--cycling-threshold-type):
13652 New constants.
13653 (completion-styles, completion-category-overrides)
13654 (completion-cycle-threshold): Use them.
13655 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13656 completion-table-case-fold.
13657
13658 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
13659
13660 * minibuffer.el (completion-category-overrides): Fix type of styles
13661 and add more user friendly tags (bug#9660).
13662
13663 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13664
13665 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13666 (mule-input-method-string): New widget.
13667 (default-input-method, language-info-custom-alist): Use it.
13668
13669 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13670
13671 * pcomplete.el: Require comint.
13672 (pcomplete--common-suffix): Remove.
13673 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13674 (pcomplete--table-subvert): Sync with comint--table-subvert.
13675 (pcomplete--entries): Use comint-completion-file-name-table.
13676 * comint.el (comint-unquote-filename): Simplify.
13677 (comint-completion-file-name-table): New function (bug#9616).
13678 (comint--complete-file-name-data): Use it.
13679
13680 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13681 (pcmpl-gnu-tar-buffer): Remove.
13682 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
13683 around. Make sure pcomplete-suffix-list is only changed temporarily.
13684 Don't look inside the tar's file if it's too large.
13685
13686 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
13687
13688 * cus-edit.el (custom-mode-map):
13689 * epa.el (epa-key-list-mode-map):
13690 * man.el (Man-mode-map):
13691 * startup.el (splash-screen-keymap):
13692 * simple.el (special-mode-map): Use scroll-up-command and
13693 scroll-down-command.
13694
13695 * progmodes/idlw-help.el (idlwave-help-mode-map):
13696 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13697 * net/newst-plainview.el (newsticker-mode-map):
13698 * emulation/ws-mode.el (wordstar-mode-map):
13699 * emulation/vi.el (vi-com-map):
13700 * calc/calc-graph.el (calc-graph-show-dumb):
13701 * term/sun.el (terminal-init-sun):
13702 * term/ns-win.el (global-map):
13703 * progmodes/grep.el (grep-mode-map):
13704 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13705 * mail/rmail.el (rmail-mode-map):
13706 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13707
13708 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13709 custom-safe-themes as special.
13710
13711 2011-10-01 Julien Danjou <julien@danjou.info>
13712
13713 * notifications.el (notifications-notify): Fix docstring.
13714
13715 2011-10-01 Per Starbäck <per@starback.se>
13716
13717 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13718
13719 2011-09-30 Martin Rudalics <rudalics@gmx.at>
13720
13721 * startup.el (command-line-1): Fix last fix by inserting
13722 initial-scratch-message into *scratch* before displaying it.
13723 (Bug#9605) and (Bug#9636)
13724
13725 2011-09-29 Eli Zaretskii <eliz@gnu.org>
13726
13727 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13728 window is hscrolled, move by logical lines. (Bug#9607)
13729 (line-move-visual): Update the doc string to the above effect.
13730
13731 2011-09-29 Martin Rudalics <rudalics@gmx.at>
13732
13733 * window.el (display-buffer-record-window): When WINDOW is the
13734 selected window use `point' instead of `window-point'. (Bug#9626)
13735
13736 * startup.el (command-line-1): Use insert-before-markers when
13737 inserting initial-scratch-message. (Bug#9605)
13738
13739 * help.el (help-window): Remove variable.
13740
13741 2011-09-29 Glenn Morris <rgm@gnu.org>
13742
13743 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13744
13745 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
13746
13747 * descr-text.el (describe-char-categories): Accept category
13748 descriptions more than one line long.
13749
13750 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13751
13752 * simple.el (delete-trailing-whitespace): Fix last change.
13753
13754 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13755 Don't confuse "y => 3" as the beginning of a `y' operation.
13756
13757 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13758 object has more than 4 slots (bug#9613).
13759
13760 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
13761
13762 * subr.el (with-output-to-temp-buffer):
13763 * net/quickurl.el (quickurl, quickurl-browse-url):
13764 Fix typos in docstrings.
13765
13766 2011-09-27 Eli Zaretskii <eliz@gnu.org>
13767
13768 * minibuffer.el (completion-styles)
13769 (completion-category-overrides): Cross reference each other in doc
13770 strings.
13771
13772 2011-09-27 Glenn Morris <rgm@gnu.org>
13773
13774 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13775 to split-string. (Bug#9606)
13776
13777 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13778
13779 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13780 (bug#9615).
13781
13782 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
13783
13784 * emacs-lisp/package.el (list-packages): Fix echo area message.
13785
13786 2011-09-27 Leo Liu <sdl.web@gmail.com>
13787
13788 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13789
13790 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
13791
13792 * net/dbus.el (dbus-unregister-object): Don't release services for
13793 registered signals. (Bug#9581)
13794
13795 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13796
13797 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13798 function that picks between cfengine 2 and 3 support
13799 automatically. Update docs accordingly.
13800
13801 2011-09-22 Kenichi Handa <handa@m17n.org>
13802
13803 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13804 ZERO.
13805 (indian-itrans-v5-table-for-tamil): New variable.
13806 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13807
13808 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13809
13810 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13811 that's true if the current command involved collapsing of text.
13812 It's reset to false at the beginning of the next command.
13813 (allout-post-command-business): Move the cursor to the beginning
13814 of entry if the cursor is hidden and collapsing activity just
13815 happened.
13816
13817 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
13818
13819 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13820 tracking (Bug#9541).
13821
13822 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
13823
13824 * net/newst-reader.el (newsticker-html-renderer)
13825 (newsticker-show-news): Automatically load html rendering package
13826 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13827 because w3m-fill-column is let-bound" and the error "Symbol's value
13828 as variable is void: w3m-fill-column".
13829
13830 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
13831
13832 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13833 Release services only if they are defined. (Bug#9581)
13834
13835 2011-09-23 Richard Stallman <rms@gnu.org>
13836
13837 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13838 distinguish start of paragraph from start of its text.
13839
13840 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13841
13842 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13843 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13844 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13845
13846 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13847
13848 * international/mule-diag.el (mule-diag): Insert a newline after
13849 each fontset description.
13850
13851 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13852
13853 * simple.el (delete-trailing-whitespace):
13854 Document last change; simplify.
13855
13856 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13857
13858 * simple.el (delete-trailing-whitespace): Also delete
13859 extra newlines at the end of the buffer.
13860
13861 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13862 (picture-newline): Use forward-line so as to ignore fields.
13863
13864 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13865
13866 * subr.el (with-wrapper-hook): Fix edebug spec.
13867
13868 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13869
13870 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13871 (bug#4538).
13872
13873 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
13874
13875 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13876 Fix nasty bug using wrong cached values.
13877
13878 2011-09-23 Alan Mackenzie <acm@muc.de>
13879
13880 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13881
13882 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
13883
13884 * window.el (pop-to-buffer): Ensure right window is selected if we
13885 chose another frame.
13886
13887 2011-09-22 Eli Zaretskii <eliz@gnu.org>
13888
13889 * simple.el (what-cursor-position): Use get-char-property-change
13890 and next-single-char-property-change, to be able to show display
13891 properties that come from overlays as well as text properties.
13892
13893 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
13894
13895 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13896
13897 * cmuscheme.el (run-scheme, switch-to-scheme):
13898 * cus-edit.el (customize-group, custom-buffer-create)
13899 (customize-browse):
13900 * info.el (info):
13901 * shell.el (shell):
13902 * mail/sendmail.el (mail):
13903 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13904
13905 2011-09-22 Richard Stallman <rms@gnu.org>
13906
13907 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13908 move back only to line beg, don't move back over blank lines.
13909
13910 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
13911
13912 * files.el (copy-directory): Set directory attributes only in case
13913 they could be retrieved from the source directory. (Bug#9565)
13914
13915 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13916
13917 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13918 (hs-find-block-beginning, hs-hide-level-recursive):
13919 Ignore strings as well as comments. (Bug#9502)
13920
13921 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13922
13923 * progmodes/sql.el (sql-comint-postgres):
13924 Convert port number to a string. (Bug#9566)
13925
13926 2011-09-22 Martin Rudalics <rudalics@gmx.at>
13927
13928 * window.el (quit-window): Undedicate window when switching to
13929 previous buffer. Reported by Thierry Volpiatto
13930 <thierry.volpiatto@gmail.com>.
13931 (special-display-popup-frame): When popping up a new frame reset
13932 its previous buffers to nil. Simplify code.
13933
13934 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
13935
13936 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13937 and process filter, as done also in `shell-command'.
13938
13939 2011-09-21 Martin Rudalics <rudalics@gmx.at>
13940
13941 * window.el (set-window-buffer-start-and-point):
13942 Call set-window-start with NOFORCE argument t.
13943 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13944 (quit-window): Reword doc-string. Handle new format of
13945 quit-restore parameter. Don't delete window if it has a
13946 previous buffer we can show instead of the present one.
13947 (display-buffer-record-window): Rewrite using a new format for
13948 the quit-restore window parameter
13949 (special-display-popup-frame, display-buffer-same-window)
13950 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13951 (display-buffer-pop-up-window, display-buffer-use-some-window):
13952 Adapt symbol passed to display-buffer-record-window.
13953 * help.el (help-window-setup): Handle new format of quit-restore
13954 parameter.
13955
13956 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13957
13958 * faces.el (face-list): Fix docstring (bug#9564).
13959
13960 * window.el (display-buffer--action-function-custom-type):
13961 Don't include internal functions in the Custom interface.
13962
13963 2011-09-20 Juri Linkov <juri@jurta.org>
13964
13965 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13966 (Info-forward-node, Info-backward-node, Info-next-preorder)
13967 (Info-last-preorder): Use it. (Bug#9528)
13968
13969 2011-09-20 Juri Linkov <juri@jurta.org>
13970
13971 * info.el (Info-last-preorder): Visit last menu item only when
13972 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13973
13974 2011-09-20 Julien Danjou <julien@danjou.info>
13975
13976 * password-cache.el (password-cache-remove): Remove entries even if the
13977 value is nil, so that password with a nil value (negative caching) is
13978 possible to invalidate.
13979
13980 2011-09-20 Lawrence Mitchell <wence@gmx.li>
13981
13982 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13983 all whitespace around breakpoint. (Bug#9553)
13984 (f90-find-breakpoint): Only break at whitespace inside a comment.
13985
13986 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13987
13988 * minibuffer.el (completion-file-name-table): Keep track of errors.
13989 (completion-table-with-predicate): Handle the case where pred1 is nil.
13990 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13991
13992 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13993
13994 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13995 (debugger-return-value): Signal an error if the debugging context does
13996 not await any return value.
13997
13998 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13999 * image-mode.el (image-toggle-display-text)
14000 (image-toggle-display-image): Stay away from evil `intangible'.
14001
14002 2011-09-19 Leo Liu <sdl.web@gmail.com>
14003
14004 * replace.el (occur-revert-arguments): Make it permanent-local.
14005 (occur-mode): Don't call font-lock-defontify.
14006
14007 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
14008
14009 * net/ldap.el (ldap-search-internal): Don't push empty search
14010 result (Bug#9508).
14011
14012 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14013
14014 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14015
14016 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
14017
14018 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14019 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14020
14021 2011-09-18 Juri Linkov <juri@jurta.org>
14022
14023 * buff-menu.el (Buffer-menu-mode-map):
14024 * dired.el (dired-mode-map):
14025 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14026 (lisp-interaction-mode-map):
14027 * emacs-lisp/package.el (package-menu-mode-map):
14028 * epa.el (epa-key-list-mode-map):
14029 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14030 (menu-bar-options-menu):
14031 * outline.el (outline-mode-menu-bar-map):
14032 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14033 * vc/vc-dir.el (vc-dir-menu-map):
14034 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14035 Capitalize non-function content words in menu item strings.
14036
14037 * dired.el (dired-mode-map): Add menu item for
14038 `image-dired-dired-toggle-marked-thumbs'.
14039
14040 2011-09-18 Juri Linkov <juri@jurta.org>
14041
14042 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
14043 to `isearch-case-fold-search' and restore its original value
14044 after the `isearch-mode' call.
14045
14046 2011-09-18 Juri Linkov <juri@jurta.org>
14047
14048 * progmodes/grep.el (grep-process-setup): Don't check code for 1
14049 because `zgrep' returns 1 for successful matches (bug#9226).
14050
14051 2011-09-18 Juri Linkov <juri@jurta.org>
14052
14053 * info.el (Info-extract-menu-node-name): Check the second match
14054 for empty string (second test-case of bug#9528).
14055 (Info-last-preorder): Let-bind `Info-history' to nil to not add
14056 intermediate nodes to the history (first test-case of bug#9528).
14057
14058 2011-09-18 Juri Linkov <juri@jurta.org>
14059
14060 * info.el (Info-mode-syntax-table): New variable.
14061 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
14062
14063 2011-09-18 Juri Linkov <juri@jurta.org>
14064
14065 * info.el (Info-file-supports-index-cookies):
14066 Increment line-beginning-position's arg from 3 to 4 because makeinfo
14067 outputs one more line for long file names (bug#4142).
14068
14069 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
14070
14071 * newcomment.el (comment-normalize-vars): If prompting for
14072 comment-start, set comment-start-skip too (Bug#8424).
14073
14074 2011-09-18 Johan Bockgård <bojohan@gnu.org>
14075
14076 * icomplete.el: Fix previous fix of Bug#5849.
14077 (icomplete-mode): Don't set completion-show-inline-help.
14078 (icomplete-minibuffer-setup): Set completion-show-inline-help
14079 locally during icompletion.
14080
14081 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
14082
14083 * woman.el (woman2-process-escapes): Don't delete unrecognized
14084 escapes (Bug#7843).
14085
14086 * files.el (inhibit-first-line-modes-regexps): Add image files.
14087 (hack-local-variables-prop-line): Return nil for malformed
14088 prop-lines (Bug#9044).
14089
14090 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
14091
14092 * net/tramp.el (top): Don't require 'shell.
14093 (tramp-methods): Fix docstring.
14094 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
14095 Return complete remote file name. Handle "smb" case.
14096 Use `tramp-tmpdir', if defined for the respective method.
14097 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14098
14099 * net/tramp-compat.el (top): Require 'shell.
14100
14101 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14102 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
14103 `tramp-current-host'.
14104 (tramp-get-remote-tmpdir): Remove.
14105
14106 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
14107 `tramp-tmpdir' entries.
14108 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
14109 (tramp-smb-handle-file-attributes): Ignore errors.
14110 (tramp-smb-wait-for-output): Check also for process end.
14111
14112 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
14113
14114 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
14115 when sending QUIT (bug#9312).
14116
14117 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
14118
14119 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
14120 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
14121 occur-mode-display-occurrence.
14122 (occur-edit-mode): Add usage message.
14123 (occur-cease-edit): New command.
14124 (occur-after-change-function): Use text properties to find the
14125 position of the prefix text.
14126 (occur-engine): Set stickiness of prefix text properties.
14127
14128 2011-09-17 Glenn Morris <rgm@gnu.org>
14129
14130 * progmodes/etags.el (complete-tag):
14131 Fix call to completion-in-region. (Bug#9526)
14132
14133 2011-09-17 Juri Linkov <juri@jurta.org>
14134
14135 * textmodes/ispell.el (ispell-word): Add to the error message
14136 the word, ispell program name and current dictionary (bug#9121).
14137 (ispell-tex-arg-end): Capitalize "error" in the error message.
14138
14139 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
14140
14141 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
14142 check. (Bug#4251)
14143
14144 2011-09-17 Juri Linkov <juri@jurta.org>
14145
14146 * window.el (window-safe-min-height, window-safe-min-width):
14147 Fix typos (followup to bug#9522).
14148
14149 2011-09-17 Sven Joachim <svenjoac@gmx.de>
14150
14151 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
14152
14153 2011-09-16 Eli Zaretskii <eliz@gnu.org>
14154
14155 * simple.el (line-move): If goal-column is set, move by logical
14156 lines, not by display lines. (Bug#971)
14157 (next-line, previous-line, goal-column, line-move-visual): Doc fix
14158 to reflect the above change.
14159
14160 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14161
14162 * image.el (imagemagick-register-types): Use regexp-opt.
14163
14164 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14165
14166 * window.el (display-buffer-base-action): Rename from
14167 display-buffer-default-action. Make default value empty.
14168 (display-buffer-overriding-action): Convert to defvar.
14169 (display-buffer-fallback-action): New var.
14170
14171 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14172
14173 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
14174 declaration.
14175 (package--add-to-archive-contents): If there is a duplicate entry
14176 with an older version, remove it.
14177 (package-menu-mark-delete, package-menu-mark-install)
14178 (package-menu-mark-unmark): Make unused args optional.
14179 (package-menu-mark-obsolete-for-deletion):
14180 Use package-menu-get-status instead of a regexp search.
14181 (package-menu-get-status): Use tabulated-list-entry.
14182 (package-menu-mark-upgrades): New command.
14183 (package-menu-mode-map): Bind it to U. Add it to menu bar.
14184 (package-menu-execute): Do installation before deletion.
14185 (package-menu-refresh, package-menu-execute): Use derived-mode-p
14186 instead of checking major-mode.
14187 (package-menu--find-upgrades): New function.
14188
14189 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14190
14191 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
14192 passwords in the log buffer.
14193 (smtpmail-process-filter): Update the process marker so that the
14194 "broken by peer" status message is inserted in the right place.
14195
14196 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14197
14198 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
14199 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
14200 bibtex-completion-at-point-function.
14201 (bibtex-completion-at-point-function): Use them.
14202
14203 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
14204
14205 * mpc.el (mpc-constraints-tag-lookup): New function.
14206 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
14207 also to browser "album|playlist".
14208
14209 2011-09-14 Juri Linkov <juri@jurta.org>
14210
14211 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
14212 (isearch-edit-string): Use length of `isearch-string' when
14213 `isearch-fail-pos' returns nil.
14214 (isearch-message): Remove duplicate code and call
14215 `isearch-fail-pos' with arg `t'.
14216
14217 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
14218
14219 * replace.el (occur-mode-goto-occurrence): Don't force using other
14220 window (Bug#9499).
14221
14222 * dired-aux.el (dired-do-chmod): Don't provide initial input.
14223
14224 2011-09-14 Martin Rudalics <rudalics@gmx.at>
14225
14226 * window.el (display-buffer-window): Remove.
14227 (display-buffer-record-window): Use help-setup window parameter
14228 instead of variable display-buffer-window.
14229 (display-buffer-function, special-display-buffer-names)
14230 (special-display-function): Mention help-setup parameter instead
14231 of display-buffer-window in doc-string.
14232 * help.el (help-window-setup): New argument help-window.
14233 Use help-window-setup parameter instead of display-buffer-window.
14234 Reword some messages.
14235 (with-help-window): Pass window used for displaying the buffer
14236 to help-window-setup. Don't set display-buffer-window.
14237
14238 2011-09-13 Glenn Morris <rgm@gnu.org>
14239
14240 * emacs-lisp/debug.el (debugger-make-xrefs):
14241 Preserve point. (Bug#9462)
14242
14243 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14244
14245 * window.el (window-deletable-p): Use next-frame.
14246
14247 2011-09-13 Martin Rudalics <rudalics@gmx.at>
14248
14249 * window.el (window-auto-delete): Remove.
14250 (window-deletable-p): Remove argument FORCE. Don't deal with
14251 dedication and previous buffers.
14252 (switch-to-prev-buffer): Don't delete window.
14253 (delete-windows-on): Delete a window's frame if and only if the
14254 window is dedicated.
14255 (replace-buffer-in-windows): Delete buffer's window or frame if
14256 and only if window is dedicated.
14257 (quit-window): Handle quit-restore as before last change.
14258 (bury-buffer): Delete window only if window-deletable-p returns t.
14259
14260 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14261
14262 * window.el (window-deletable-p): Never delete the last frame on a
14263 given terminal.
14264
14265 2011-09-13 Glenn Morris <rgm@gnu.org>
14266
14267 * help.el (describe-key-briefly): Copy previous standard-output change.
14268
14269 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
14270
14271 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
14272
14273 2011-09-13 Glenn Morris <rgm@gnu.org>
14274
14275 * emacs-lisp/lisp-mode.el (lisp-indent-function):
14276 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
14277
14278 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
14279
14280 * dired-aux.el (dired-mark-read-string): Don't return default
14281 value on empty input (Bug#9361).
14282 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14283 Omit initial minibuffer contents.
14284 (dired-do-chmod): Signal an error on empty input.
14285 (dired-mark-read-string): Don't return default on empty input.
14286
14287 * files.el (file-modes-symbolic-to-number): Doc fix.
14288
14289 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14290
14291 * international/mule-cmds.el (ucs-completions): Remove.
14292 (read-char-by-name): Use complete-with-action instead; add metadata.
14293
14294 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
14295
14296 * window.el (display-buffer--action-function-custom-type)
14297 (display-buffer--action-custom-type): New vars.
14298 (display-buffer-alist, display-buffer-default-action)
14299 (display-buffer-overriding-action): Add defcustom types.
14300
14301 * frame.el (delete-other-frames): Doc fix (Bug#276).
14302
14303 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14304
14305 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14306
14307 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
14308
14309 Change modes that used same-window-* vars to use switch-to-buffer.
14310
14311 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14312 Use switch-to-buffer.
14313
14314 * cus-edit.el (customize-group, custom-buffer-create)
14315 (customize-browse, custom-buffer-create-other-window):
14316 Use switch-to-buffer or switch-to-buffer-other-window.
14317
14318 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14319 (Info-prev, Info-up, Info-speedbar-goto-node)
14320 (info-display-manual): Use switch-to-buffer.
14321 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14322
14323 * mail/sendmail.el (mail): Use switch-to-buffer.
14324 (mail-recover): Use switch-to-buffer-other-window.
14325
14326 * cmuscheme.el (run-scheme, switch-to-scheme):
14327 * ielm.el (ielm):
14328 * shell.el (shell):
14329 * net/rlogin.el (rlogin):
14330 * net/telnet.el (telnet, rsh):
14331 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14332
14333 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14334
14335 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14336
14337 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14338
14339 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14340 so don't mention it (bug#9301).
14341 (dired-sort-toggle-or-edit): Clarify string further.
14342
14343 * faces.el (face-spec-set-match-display): Make `(type graphic)'
14344 match `x', `w32' and `ns', like the manual says (bug#9029).
14345
14346 * subr.el (eval-after-load): Doc string clarification (bug#9125).
14347 (process-kill-buffer-query-function): Mention the buffer name in
14348 the query.
14349
14350 * image-mode.el (image-next-line): The line parameter is mandatory
14351 (bug#9258).
14352
14353 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14354 which can be useful (bug#9301).
14355
14356 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14357
14358 * subr.el (match-string): Mention that the current buffer should
14359 be the same as the search was done in (bug#9282).
14360
14361 * facemenu.el: Disable the remove-* commands if the mark isn't
14362 active (bug#9162).
14363
14364 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
14365
14366 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14367 of display-buffer.
14368 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14369
14370 * replace.el (occur-mode-goto-occurrence)
14371 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14372 and display-buffer.
14373
14374 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14375 display-buffer.
14376
14377 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14378 special-display and same-window variables.
14379 (mail-other-window): Use switch-to-buffer-other-window.
14380 (mail-other-frame): USe switch-to-buffer-other-frame.
14381
14382 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14383 Use display-buffer-other-frame.
14384 (gdb-display-gdb-buffer): Use pop-to-buffer.
14385
14386 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14387
14388 * progmodes/python.el: Don't set same-window-buffer-names.
14389
14390 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14391
14392 * window.el (display-buffer-alist): Add *Python*.
14393
14394 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
14395
14396 * window.el (display-buffer-alist): Add entry for buffers
14397 previously handled same-window-*.
14398 (display-buffer-alist, display-buffer-default-action)
14399 (display-buffer-overriding-action): Mark as risky.
14400 (display-buffer-alist): Document action function changes.
14401 (display-buffer--same-window-action)
14402 (display-buffer--other-frame-action): New variables.
14403 (switch-to-buffer, display-buffer-other-frame): Use them.
14404 (display-buffer): Rename reuse-frame entry to reusable-frames.
14405 (display-buffer-reuse-selected-window): Function deleted.
14406 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14407 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14408 (display-buffer-special): New function.
14409 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14410 display-buffer-reuse-or-pop-window. Split off special-display
14411 part into display-buffer-special.
14412 (display-buffer-use-some-window): Don't perform any special
14413 pop-up-frames handling.
14414 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
14415 (display-buffer--maybe-same-window): Rename from
14416 display-buffer-maybe-same-window.
14417
14418 * info.el: Don't set same-window-regexps.
14419 (info-setup): New function.
14420 (info-other-window, info): Call it.
14421
14422 * cus-edit.el: Don't set same-window-regexps.
14423 (customize-group): New argument.
14424 (customize-group-other-window): Use it.
14425 (customize-face, customize-face-other-window): Likewise.
14426 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14427
14428 * net/rlogin.el:
14429 * net/telnet.el:
14430 * progmodes/gud.el: Don't set same-window-regexps.
14431
14432 * cmuscheme.el:
14433 * ielm.el:
14434 * shell.el:
14435 * mail/sendmail.el:
14436 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14437
14438 2011-09-10 Juri Linkov <juri@jurta.org>
14439
14440 * isearch.el (isearch-edit-string): Remove obsolete mention of
14441 `C-w' (`isearch-yank-word-or-char') from docstring.
14442 (isearch-query-replace): Fix typo in docstring (bug#9466).
14443
14444 2011-09-10 Juri Linkov <juri@jurta.org>
14445
14446 * paren.el (show-paren-function): Don't show escaped parens.
14447 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14448
14449 2011-09-10 Eli Zaretskii <eliz@gnu.org>
14450
14451 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14452 (mm-default-file-encoding): Remove autoload forms, they are
14453 replaced with autoload cookies in mml.el and mm-encode.el.
14454 (mail-add-attachment): New command.
14455 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14456 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14457 the doc string.
14458 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14459
14460 2011-09-10 Reuben Thomas <rrt@sc3d.org>
14461
14462 * simple.el (count-words-region): Use buffer if there's no region
14463 (bug#9429).
14464
14465 2011-09-09 Juri Linkov <juri@jurta.org>
14466
14467 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14468 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14469 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14470
14471 2011-09-09 Alan Mackenzie <acm@muc.de>
14472
14473 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14474 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14475
14476 2011-09-09 Eli Zaretskii <eliz@gnu.org>
14477
14478 Fix for Savannah bug#9392.
14479 * simple.el (mail-encode-mml): New defvar.
14480
14481 * mail/rmail.el (mail-encode-mml): Add a defvar.
14482 (rmail-enable-mime-composing): Default to t.
14483 (rmail-forward): Use MIME method of forwarding only if both
14484 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14485 Set mail-encode-mml non-nil if the MIME method was used.
14486
14487 * mail/sendmail.el (mml-to-mime): Add autoload form.
14488 (mail-encode-mml): Add a defvar.
14489 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14490 to nil.
14491 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14492 message through mml-to-mime, and reset mail-encode-mml to nil.
14493
14494 2011-09-09 Glenn Morris <rgm@gnu.org>
14495
14496 * woman.el (woman-if-body): When processing an .el block,
14497 do not delete the next .el block as well. (Bug#9447)
14498 (woman-special-characters): Add oq, cq, and hy characters.
14499
14500 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14501
14502 * window.el (window-deletable-p): Make sure window is live before
14503 invoking window-prev-buffers.
14504
14505 2011-09-08 Leo Liu <sdl.web@gmail.com>
14506
14507 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14508
14509 2011-09-08 Juri Linkov <juri@jurta.org>
14510
14511 * progmodes/compile.el (compilation-environment): Make it
14512 a defcustom (bug#8340).
14513
14514 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14515
14516 * window.el (frame-auto-delete): Rename to window-auto-delete.
14517 Make it control auto-deletion of windows and/or frames.
14518 (window-deletable-p): New argument FORCE. Rewrite conditions
14519 for deleting window/frame. (Bug#9419)
14520 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14521 Rewrite handling of case when window/frame can be deleted.
14522 (delete-windows-on): Call window-deletable-p with new FORCE
14523 argument t. (Bug#9456)
14524
14525 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
14526
14527 * help-mode.el (help-mode): Restore autoload.
14528
14529 2011-09-07 Juri Linkov <juri@jurta.org>
14530
14531 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14532 `compilation-environment'. Set buffer-local
14533 `compilation-environment' to `thisenv' later after (funcall mode).
14534 (Bug#8340)
14535
14536 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14537 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14538 instead of replacing its value. (Bug#8340)
14539
14540 2011-09-07 Juri Linkov <juri@jurta.org>
14541
14542 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14543 based on text properties put by `grep-filter' instead of matching
14544 escape sequences.
14545 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14546 to the value of `grep-error-screen-columns' (bug#9438).
14547
14548 2011-09-07 Juri Linkov <juri@jurta.org>
14549
14550 * simple.el (next-error-highlight, next-error-highlight-no-select):
14551 Doc fix (bug#9432).
14552
14553 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14554
14555 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14556 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14557
14558 2011-09-07 Leo Liu <sdl.web@gmail.com>
14559
14560 * net/rcirc.el (rcirc-mode): Conditionally initialize
14561 rcirc-input-ring.
14562
14563 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14564
14565 * emacs-lisp/find-func.el (find-function-C-source): Only set
14566 find-function-C-source-directory after checking that we found a source
14567 file there (bug#9440).
14568
14569 2011-09-06 Alan Mackenzie <acm@muc.de>
14570
14571 * isearch.el (isearch-other-meta-char): Wherever a key list is
14572 unread, "unread" the prefix arg, too. This fixes bug #8901.
14573
14574 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14575
14576 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14577
14578 2011-09-05 Juri Linkov <juri@jurta.org>
14579
14580 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14581
14582 2011-09-05 Juri Linkov <juri@jurta.org>
14583
14584 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14585 keeping point where processing of grep matches begins, and
14586 continue to delete remaining escape sequences from the same point.
14587 (grep-filter): Make leading zero optional in "0?1;31m" because
14588 git-grep emits "\033[1;31m" escape sequences unlike expected
14589 "\033[01;31m" as GNU Grep does (bug#9408).
14590 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14591
14592 2011-09-05 Juri Linkov <juri@jurta.org>
14593
14594 * subr.el (y-or-n-p): Capitalize "yes".
14595
14596 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
14597
14598 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14599 `tramp-cache-unload-hook' where appropriate.
14600 (tramp-methods): Rename `tramp-remote-sh' to
14601 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14602 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14603
14604 * net/tramp-sh.el (top): Don't require 'shell.
14605 (tramp-methods): Add `tramp-remote-shell' and
14606 `tramp-remote-shell-args' entries.
14607 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14608 (tramp-sh-handle-shell-command): Remove.
14609 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14610 Use `tramp-remote-shell'.
14611
14612 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
14613
14614 * mail/sendmail.el (sendmail-query-once-function): Delete.
14615 (sendmail-query-once): Save directly to send-mail-function.
14616 Update message-send-mail-function too.
14617
14618 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14619
14620 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14621
14622 * progmodes/python.el (python-mode-map): Use correct function to
14623 start python interpreter from menu-bar (as reported by Geert
14624 Kloosterman).
14625 (inferior-python-mode-map): Fix typo.
14626 (python-shell-map): Remove.
14627
14628 2011-09-03 Deniz Dogan <deniz@dogan.se>
14629
14630 * net/rcirc.el (rcirc-print): Simplify code for
14631 rcirc-scroll-show-maximum-output. There is no need to walk
14632 through all windows to find the right one.
14633
14634 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14635
14636 * help.el (help-return-method): Doc fix.
14637
14638 2011-09-03 Martin Rudalics <rudalics@gmx.at>
14639
14640 * window.el (window-deletable-p): Don't return a non-nil value
14641 when there's a buffer that was shown in the window before.
14642 (Bug#9419)
14643 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14644 Set window's previous buffers to nil.
14645
14646 2011-09-03 Eli Zaretskii <eliz@gnu.org>
14647
14648 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14649 newline before and after the tag line, so it doesn't interfere
14650 with determining the paragraph direction of bidirectional text.
14651
14652 2011-09-03 Leo Liu <sdl.web@gmail.com>
14653
14654 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14655
14656 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14657
14658 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
14659 (pop-to-buffer): Change interactive spec. Pass second argument
14660 directly to display-buffer.
14661 (display-buffer): Fix interactive spec. Use functionp to
14662 distinguish between a function and a list of functions.
14663
14664 * abbrev.el (edit-abbrevs):
14665 * arc-mode.el (archive-extract):
14666 * autoinsert.el (auto-insert):
14667 * bookmark.el (bookmark-bmenu-list):
14668 * files.el (find-file):
14669 * view.el (view-buffer):
14670 * progmodes/compile.el (compilation-goto-locus):
14671 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14672
14673 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14674
14675 * window.el (display-buffer-alist): Doc fix.
14676 (display-buffer): Add docstring. Don't treat
14677 display-buffer-default specially.
14678 (display-buffer-reuse-selected-window)
14679 (display-buffer-same-window, display-buffer-maybe-same-window)
14680 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14681 (display-buffer-pop-up-window)
14682 (display-buffer-reuse-or-pop-window)
14683 (display-buffer-use-some-window): New functions.
14684 (display-buffer-default-action): Use them.
14685 (display-buffer-default): Delete.
14686 (pop-to-buffer-1): Fix choice of actions.
14687
14688 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14689
14690 * minibuffer.el (completion--insert-strings): Don't get confused by
14691 completion entries that end with an LF char.
14692
14693 2011-09-01 Eli Zaretskii <eliz@gnu.org>
14694
14695 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14696
14697 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
14698
14699 * window.el (display-buffer): Restore interactive spec.
14700 (display-buffer-same-window, display-buffer-other-window):
14701 New functions.
14702 (pop-to-buffer-1): New function. Use the above.
14703 (pop-to-buffer, pop-to-buffer-same-window): Use it.
14704 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
14705
14706 * view.el (view-buffer-other-window, view-buffer-other-frame):
14707 Just use pop-to-buffer.
14708
14709 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14710
14711 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14712
14713 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14714
14715 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14716
14717 2011-08-31 Richard Stallman <rms@gnu.org>
14718
14719 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14720 of the separation of rmail-view-buffer from rmail-buffer.
14721 If you say no to "replace original", the decrypt is in the
14722 view buffer. If you say yes, the decrypt goes into the
14723 rmail buffer also.
14724
14725 2011-08-31 Martin Rudalics <rudalics@gmx.at>
14726
14727 * window.el (display-buffer-window): Rewrite doc-string.
14728 (display-buffer-record-window): New function.
14729 (display-buffer-macro-specifiers)
14730 (display-buffer-even-window-sizes, display-buffer-set-height)
14731 (display-buffer-set-width, display-buffer-in-window)
14732 (display-buffer-reuse-window, display-buffer-split-specifiers)
14733 (display-buffer-side-specifiers, display-buffer-split-window-1)
14734 (display-buffer-split-window, display-buffer-split-atom-window)
14735 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14736 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14737 (display-buffer-other-window-means-other-frame)
14738 (display-buffer-normalize-special)
14739 (display-buffer-normalize-default)
14740 (display-buffer-normalize-argument)
14741 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14742 (display-buffer-normalize-specifiers, display-buffer-frame)
14743 (display-buffer-same-window, display-buffer-same-frame)
14744 (display-buffer-other-window)
14745 (display-buffer-same-frame-other-window)
14746 (display-buffer-other-frame, pop-to-buffer-same-window)
14747 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14748 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14749 (switch-to-buffer-same-frame)
14750 (switch-to-buffer-other-window-same-frame)
14751 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14752 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14753 (display-buffer-alist-set): Remove.
14754 (display-buffer-function, special-display-buffer-names)
14755 (special-display-regexps, special-display-function):
14756 In doc-string refer to display-buffer-window and quit-restore
14757 parameter.
14758 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14759 (special-display-frame-alist, special-display-popup-frame)
14760 (same-window-buffer-names, same-window-regexps, same-window-p)
14761 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14762 (split-window-preferred-function, split-height-threshold)
14763 (split-width-threshold, window-splittable-p)
14764 (split-window-sensibly, window--try-to-split-window)
14765 (window--frame-usable-p, even-window-heights)
14766 (window--even-window-heights, window--display-buffer-1)
14767 (window--display-buffer-2, display-buffer-other-frame):
14768 Restore old Emacs 23 code, order and doc-strings where applicable.
14769 (display-buffer-default, display-buffer-assq-regexp): New functions.
14770 (display-buffer-alist): Rewrite doc-string.
14771 (display-buffer-default-action)
14772 (display-buffer-overriding-action): New variables.
14773 (display-buffer, switch-to-buffer): Rewrite.
14774 (pop-to-buffer): Restore Emacs 23 behavior but use
14775 window-normalize-buffer-to-display.
14776 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14777 Restore Emacs 23 behavior but use
14778 window-normalize-buffer-to-switch-to.
14779 (pop-to-buffer-same-window): Rewrite.
14780 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14781 Rewrite using Emacs 23 options.
14782
14783 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
14784
14785 * net/tramp.el (tramp-root-regexp): Remove.
14786 (tramp-completion-file-name-regexp-unified)
14787 (tramp-completion-file-name-regexp-separate)
14788 (tramp-completion-file-name-regexp-url): Don't use leading volume
14789 letter on w32 systems. (Bug#5303, Bug#9311)
14790 (tramp-drop-volume-letter): Simplify definition.
14791 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
14792
14793 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14794
14795 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14796 (bug#9356).
14797
14798 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14799
14800 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
14801
14802 2011-08-29 Juri Linkov <juri@jurta.org>
14803
14804 * isearch.el (isearch-done): Don't display message "Mark saved"
14805 when arg `edit' is non-nil to prevent its flicker in the echo area.
14806
14807 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14808
14809 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14810 obsolete packages for deletion.
14811
14812 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14813
14814 * help-mode.el (help-mode-map): Add special-mode-map to parent.
14815 (help-mode): Derive help-mode from special-mode. Don't invoke
14816 view-mode from help-mode.
14817 (help-xref-override-view-map): Remove.
14818 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14819 view-mode is not used anymore.
14820
14821 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14822
14823 * server.el (server-port): Doc fix.
14824
14825 * cus-theme.el (custom-theme-choose-mode): Inherit from
14826 special-mode (Bug#9124).
14827 (custom-theme-choose-mode-map): Add special-mode to parent.
14828
14829 2011-08-28 Alan Mackenzie <acm@muc.de>
14830
14831 * progmodes/cc-fonts.el
14832 (c-make-font-lock-BO-decl-search-function): New function.
14833 (c-basic-matchers-after - "Fontify the clauses after various
14834 keywords"): Extract the three keyword lists for the 3 erroneous
14835 constructs from the list of four, and use the new function above
14836 in place of an old one.
14837
14838 2011-08-28 Deniz Dogan <deniz@dogan.se>
14839
14840 * net/rcirc.el (rcirc-insert-prev-input)
14841 (rcirc-insert-next-input): Remove unused argument.
14842
14843 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14844
14845 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14846
14847 2011-08-27 Alan Mackenzie <acm@muc.de>
14848
14849 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14850 handle function pointer parameters properly.
14851
14852 2011-08-27 Martin Rudalics <rudalics@gmx.at>
14853
14854 * window.el (display-buffer-reuse-window): Fix case where
14855 selected window was reused with non-nil OTHER-WINDOW argument.
14856 (Bug#9381)
14857
14858 2011-08-27 Deniz Dogan <deniz@dogan.se>
14859
14860 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14861 oftc's NickServ messages.
14862
14863 2011-08-27 Glenn Morris <rgm@gnu.org>
14864
14865 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14866
14867 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
14868
14869 * emacs-lisp/package.el (package-install): Call package-initialize
14870 if called interactively.
14871
14872 2011-08-26 Leo Liu <sdl.web@gmail.com>
14873
14874 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14875
14876 2011-08-25 Juri Linkov <juri@jurta.org>
14877
14878 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14879 `search-whitespace-regexp' (bug#9364).
14880
14881 2011-08-25 Juri Linkov <juri@jurta.org>
14882
14883 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14884 `regexp-search-ring' to their global values to protect from
14885 updating by `read-from-minibuffer' (bug#9185).
14886
14887 2011-08-25 Juri Linkov <juri@jurta.org>
14888
14889 * textmodes/ispell.el (ispell-command-loop): Add newline
14890 at the end of the "Use option `i'..." line.
14891
14892 2011-08-25 Juri Linkov <juri@jurta.org>
14893
14894 * battery.el (display-battery-mode): If `battery-status-function'
14895 or `battery-mode-line-format' is nil, display the message and set
14896 `display-battery-mode' to nil (bug#9363).
14897
14898 2011-08-25 Eli Zaretskii <eliz@gnu.org>
14899
14900 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14901 bidi-string-mark-left-to-right; they are unnecessary now.
14902
14903 2011-08-25 Deniz Dogan <deniz@dogan.se>
14904
14905 * net/quickurl.el: Documentation typo fixes.
14906
14907 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
14908
14909 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14910
14911 2011-08-25 Glenn Morris <rgm@gnu.org>
14912
14913 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14914
14915 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14916 (smtpmail-via-smtp): Handle nil response from smtp.
14917
14918 2011-08-24 Juri Linkov <juri@jurta.org>
14919
14920 * proced.el (proced-marked): Inherit from `error' instead of
14921 `font-lock-warning-face'.
14922
14923 * ibuffer.el (ibuffer-marked-face): Change default face from
14924 `font-lock-warning-face' to `warning'.
14925 (ibuffer-deletion-face): Change default face from
14926 `font-lock-type-face' to `error'.
14927
14928 * battery.el (battery-update): Use the face `error' instead of
14929 `font-lock-warning-face' (bug#6117).
14930
14931 2011-08-24 Juri Linkov <juri@jurta.org>
14932
14933 * faces.el (success): Change face color from "Green3" to
14934 "ForestGreen" on light background (bug#9353).
14935
14936 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
14937
14938 * window.el (quit-window): Rename from quit-restore-window.
14939 Use same arglist as old quit-window.
14940 (frame-auto-delete): Doc fix.
14941
14942 * view.el (view-mode-exit): Use quit-window.
14943
14944 2011-08-24 Juri Linkov <juri@jurta.org>
14945
14946 * isearch.el (isearch-ring-adjust1): Start visiting previous
14947 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14948 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14949 for empty search string (when the last search string is reused
14950 automatically) to adjust the isearch ring to the last element and
14951 prepare the correct index for further M-p commands (bug#9185).
14952
14953 2011-08-24 Kenichi Handa <handa@m17n.org>
14954
14955 * international/ucs-normalize.el: If decomposition property of
14956 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14957 nil.
14958 (nfd, nfkd): Likewise.
14959
14960 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14961
14962 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14963 from process filters aren't reliably transmitted to the surrounding
14964 accept-process-output.
14965 (mpc-proc-check): New function.
14966 (mpc-proc-sync): Use it (bug#8293)
14967
14968 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14969
14970 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14971 Add compatibility functions (bug#9313).
14972
14973 2011-08-23 Eli Zaretskii <eliz@gnu.org>
14974
14975 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14976
14977 * international/uni-bidi.el: Regenerate.
14978
14979 2011-08-23 Kenichi Handa <handa@m17n.org>
14980
14981 * international/charprop.el:
14982 * international/uni-bidi.el:
14983 * international/uni-category.el:
14984 * international/uni-combining.el:
14985 * international/uni-comment.el:
14986 * international/uni-decimal.el:
14987 * international/uni-decomposition.el:
14988 * international/uni-digit.el:
14989 * international/uni-lowercase.el:
14990 * international/uni-mirrored.el:
14991 * international/uni-name.el:
14992 * international/uni-numeric.el:
14993 * international/uni-old-name.el:
14994 * international/uni-titlecase.el:
14995 * international/uni-uppercase.el: Regenerate.
14996
14997 2011-08-23 Martin Rudalics <rudalics@gmx.at>
14998
14999 * help.el (help-window-setup): Fix message displayed when other
15000 window is reused. (Bug#9341)
15001
15002 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15003
15004 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15005 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15006
15007 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15008 Mark obsolete.
15009 * shell.el (shell-parse-pcomplete-arguments): New function.
15010 (shell-completion-vars): Use it instead (bug#9160).
15011
15012 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15013
15014 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15015 strings and comments (bug#9333).
15016
15017 * emacs-lisp/debug.el (debug-arglist): New function.
15018 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
15019 (debug-on-entry-1): Handle interpreted closures (bug#9120).
15020
15021 2011-08-22 Juri Linkov <juri@jurta.org>
15022
15023 * progmodes/compile.el (compilation-mode-font-lock-keywords):
15024 Revert regexp that highlights output switches to its old
15025 pre-2010-10-28 value and remove one `?' from it (bug#9319).
15026
15027 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15028 to check for empty output (bug#9226).
15029
15030 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
15031
15032 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15033 symbol-constituent as the default, as that stops font-lock from
15034 working properly (Bug#8843).
15035
15036 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15037
15038 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15039 `coding-system-for-*' around the process open call to avoid
15040 auth-source side effects.
15041 (smtpmail-try-auth-methods): Expand the secret password.
15042 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
15043 probe hangs.
15044
15045 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
15046
15047 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
15048
15049 * emacs-lisp/find-func.el (find-function-noselect): New arg
15050 lisp-only.
15051
15052 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15053 signal an error for built-in functions (Bug#6664).
15054
15055 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15056
15057 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15058 (smtpmail-try-auth-methods): Use it.
15059
15060 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
15061
15062 * font-lock.el (font-lock-fontify-region)
15063 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
15064 (font-lock-default-unfontify-buffer)
15065 (font-lock-default-fontify-region)
15066 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
15067
15068 * progmodes/compile.el (compilation-error-properties):
15069 Fix confusion between file struct and message struct (Bug#9319).
15070 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
15071 `ant' regexp.
15072
15073 * net/browse-url.el (browse-url-firefox): Don't call
15074 browse-url-firefox-sentinel unless using -remote (Bug#9328).
15075
15076 2011-08-20 Glenn Morris <rgm@gnu.org>
15077
15078 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
15079
15080 * tutorial.el (tutorial--default-keys): Update some default bindings.
15081
15082 * files.el (hack-local-variables): Fully ignore case for "mode:".
15083
15084 2011-08-20 Alan Mackenzie <acm@muc.de>
15085
15086 Resolve invalid use of a regexp in regexp-opt.
15087
15088 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
15089 detection for a java annotation.
15090
15091 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
15092 detection for a java annotation.
15093
15094 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15095 handling for java.
15096 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15097
15098 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
15099
15100 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
15101 (Bug#9274).
15102
15103 2011-08-20 Alan Mackenzie <acm@muc.de>
15104
15105 Fontify CPP expressions correctly when starting in the middle of
15106 such a construct. Mainly for when jit-lock etc. starts a chunk
15107 here.
15108
15109 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
15110 variable.
15111 (c-make-font-lock-search-form): New function, extracted from
15112 c-make-font-lock-search-function.
15113 (c-make-font-lock-search-function): Use the above function.
15114 (c-make-font-lock-context-search-function): New function.
15115 (c-cpp-matchers): Enhance the preprocessor expression case with
15116 the above function
15117 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
15118 which takes an expression.
15119
15120 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
15121
15122 2011-08-20 Martin Rudalics <rudalics@gmx.at>
15123
15124 * window.el (display-buffer-reuse-window)
15125 (display-buffer-pop-up-window): Don't reuse or split a side
15126 window.
15127
15128 2011-08-19 Glenn Morris <rgm@gnu.org>
15129
15130 * files.el (hack-local-variables-prop-line, hack-local-variables):
15131 Downcase "Mode:". (Bug#9331)
15132
15133 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
15134
15135 * international/characters.el: Add L and R categories.
15136
15137 * subr.el (bidi-string-mark-left-to-right): Rename from
15138 string-mark-left-to-right. Use category search.
15139
15140 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
15141
15142 2011-08-18 Juri Linkov <juri@jurta.org>
15143
15144 * faces.el (error, warning, success): New faces with definitions
15145 copied from old default values of `font-lock-warning-face',
15146 `compilation-warning', `compilation-info' (bug#6117).
15147
15148 * font-lock.el (font-lock-warning-face): Inherit from `error'.
15149
15150 * progmodes/compile.el (compilation-error): Inherit from `error'.
15151 (compilation-warning): Inherit from `warning'.
15152 (compilation-info): Inherit from `success'.
15153
15154 * dired.el (dired-marked): Inherit from `warning'.
15155 (dired-flagged): Inherit from `error'.
15156
15157 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15158
15159 * mail/smtpmail.el (auth-source): Require to avoid problems with
15160 binding variables (bug#9298). Also clean up some unused
15161 autoloads.
15162
15163 * net/network-stream.el (network-stream-open-starttls):
15164 Support using starttls.el without using gnutls-cli.
15165
15166 2011-08-17 Juri Linkov <juri@jurta.org>
15167
15168 * progmodes/grep.el (rgrep): Handle the case when
15169 `grep-find-command' is a cons cell (bug#9278).
15170
15171 2011-08-17 Martin Rudalics <rudalics@gmx.at>
15172
15173 * window.el (display-buffer-pop-up-frame): Run frame creation
15174 function with BUFFER current (as special-display-popup-frame
15175 does). Reported by Drew Adams.
15176
15177 2011-08-17 Daiki Ueno <ueno@unixuser.org>
15178
15179 * epa-mail.el: Simplify GnuPG group expansion using
15180 epg-expand-group.
15181 (epa-mail-group-alist, epa-mail-group-modtime)
15182 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
15183 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
15184 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
15185 Remove.
15186
15187 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
15188
15189 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
15190
15191 2011-08-16 Alan Mackenzie <acm@muc.de>
15192
15193 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
15194 Correct, to avoid the inside of macros.
15195
15196 2011-08-16 Richard Stallman <rms@gnu.org>
15197
15198 * epa-mail.el: Handle GnuPG group definitions.
15199 (epa-mail-group-alist, epa-mail-group-modtime)
15200 (epa-mail-gnupg-conf-file): New variables.
15201 (epa-mail-parse-groups, epa-mail-sync-groups)
15202 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
15203 (epa-mail-expand-recipients): New functions.
15204 (epa-mail-encrypt): Call epa-mail-expand-recipients.
15205
15206 * mail/rmail.el (rmail-epa-decrypt): New command.
15207
15208 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
15209 Don't bind buffer-read-only, just inhibit-read-only.
15210 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
15211 (epa-decrypt-armor-in-region): Make error message clearer.
15212
15213 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
15214
15215 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
15216 and "a2b" to "ab" for `prefix'.
15217
15218 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
15219
15220 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
15221 filter groups.
15222 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
15223 Fourquet (Bug#8804).
15224
15225 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
15226
15227 * startup.el (argi): Declare as global variable (bug#9275).
15228
15229 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
15230
15231 * subr.el (string-mark-left-to-right): Search the entire string
15232 for RTL script, not just the terminating character. Doc fix.
15233
15234 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
15235
15236 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
15237 New function.
15238 (js--regexp-literal, js-syntax-propertize-function): Remove.
15239 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
15240 (js-mode-map): Don't rebind electric keys.
15241 (js-insert-and-indent): Remove.
15242 (js-mode): Setup electric-layout and electric-indent instead.
15243
15244 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
15245
15246 2011-08-12 Daiki Ueno <ueno@unixuser.org>
15247
15248 * epa.el (epa-progress-callback-function): Fix the logic of
15249 displaying progress.
15250 * epa-file.el (epa-file-insert-file-contents): Make progress
15251 display more user-friendly.
15252 (epa-file-write-region): Ditto.
15253
15254 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
15255
15256 * subr.el (string-mark-left-to-right): New function.
15257
15258 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
15259 Use string-mark-left-to-right.
15260 (list-buffers-noselect): Caller changed.
15261
15262 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15263 Use string-mark-left-to-right.
15264 (tabulated-list-print): Recenter after moving point.
15265
15266 2011-08-10 Juri Linkov <juri@jurta.org>
15267
15268 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
15269 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
15270 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
15271
15272 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
15273
15274 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
15275 (Bug#7554).
15276
15277 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
15278
15279 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
15280 character. (Bug#6594)
15281
15282 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
15283
15284 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15285 (image-dired--with-db-file): New macro.
15286 (image-dired-write-tags, image-dired-remove-tag)
15287 (image-dired-create-gallery-lists, image-dired-write-comments)
15288 (image-dired-get-comment, image-dired-mark-tagged-files)
15289 (image-dired-list-tags, image-dired-gallery-generate): Use it.
15290 (image-dired-gallery-generate): Use insert-file-contents.
15291
15292 * time.el (display-time-world-list, display-time-world-display):
15293 * time-stamp.el (time-stamp-string):
15294 * vc/add-log.el (add-change-log-entry): Use setenv instead of
15295 set-time-zone-rule (Bug#7337).
15296
15297 2011-08-08 Daiki Ueno <ueno@unixuser.org>
15298
15299 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15300 (epg-error-to-string, epg-errors-to-string): New function.
15301 (epg-wait-for-completion): Reverse errors list.
15302 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15303 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15304 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15305 (epg-sign-keys, epg-generate-key-from-file)
15306 (epg-generate-key-from-string): Format errors by using
15307 epg-errors-to-string (bug#9255).
15308 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15309
15310 2011-08-07 Juri Linkov <juri@jurta.org>
15311
15312 * faces.el (list-faces-display): Remove extra angle bracket
15313 from `help-mode-map'.
15314
15315 * info.el (Info-history-toc-nodes): Doc fix.
15316
15317 * longlines.el (longlines-mode): Doc fix.
15318
15319 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15320
15321 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15322 of statements and in a few more cases (bug#9183).
15323
15324 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15325 New functions.
15326 (cl-transform-lambda): Use them (bug#9239).
15327
15328 2011-08-05 Martin Rudalics <rudalics@gmx.at>
15329
15330 * window.el (display-buffer-same-window)
15331 (display-buffer-same-frame, display-buffer-other-window)
15332 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15333 (pop-to-buffer-other-window)
15334 (pop-to-buffer-same-frame-other-window)
15335 (pop-to-buffer-other-frame): Make them defuns.
15336 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15337
15338 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15339
15340 * subr.el (make-composed-keymap): Move from C. Change calling
15341 convention, and improve docstring to bring attention to a subtle point.
15342 * minibuffer.el (completing-read-default): Adjust accordingly.
15343
15344 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
15345
15346 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15347 (tramp-open-shell): Use `tramp-shell-quote-argument'.
15348
15349 * net/trampver.el: Update release number.
15350
15351 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15352
15353 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15354 "in" (bug#9190).
15355
15356 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15357
15358 * mail/sendmail.el (sendmail-query-once): Restore the current
15359 buffer after querying (bug#9074).
15360
15361 * dired.el (dired-flagged): Use different faces for marked and
15362 flagged files (bug#6117).
15363
15364 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15365 (bug#4433).
15366
15367 * ido.el (ido-mode): Switch off the message if called
15368 non-interactively.
15369
15370 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15371 before 587, since it appears that that's more likely to work for
15372 more people.
15373
15374 * cus-edit.el (custom-file): When running under emacs -q, always
15375 refuse to save the customizations, even if the .emacs file doesn't
15376 exist.
15377
15378 * info.el: Remove the `Info-beginning-of-buffer' function
15379 (bug#8325).
15380
15381 * net/network-stream.el (network-stream-open-starttls):
15382 Use `starttls-available-p' to see whether starttls.el can be used.
15383
15384 2011-08-01 Martin Rudalics <rudalics@gmx.at>
15385
15386 * window.el (display-buffer-in-window): Don't set dedicated status
15387 of window here (Bug#9215).
15388 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15389 (display-buffer-pop-up-side-window)
15390 (display-buffer-in-side-window): Set dedicated status of window here.
15391
15392 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15393
15394 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15395 before binding generated-autoload-file.
15396
15397 2011-08-01 Deniz Dogan <deniz@dogan.se>
15398
15399 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15400
15401 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
15402
15403 Sync with Tramp 2.2.2.
15404
15405 * net/trampver.el: Update release number.
15406
15407 2011-07-30 Juri Linkov <juri@jurta.org>
15408
15409 * dired-aux.el (dired-touch-initial): Remove function.
15410 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15411 current time, and `default' to the last modification time of the
15412 current marked file (bug#6887).
15413
15414 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15415
15416 * simple.el (goto-line): Use string-to-number to provide a
15417 numeric argument to read-number (bug#9163).
15418
15419 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
15420
15421 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15422 connection process, it could be nil.
15423
15424 2011-07-27 Leo Liu <sdl.web@gmail.com>
15425
15426 Simplify url handling in rcirc-mode.
15427
15428 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15429 (rcirc-browse-url-at-mouse): Remove.
15430 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15431
15432 2011-07-26 Alan Mackenzie <acm@muc.de>
15433
15434 Fontify bitfield declarations properly.
15435
15436 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15437 (c-symbol-chars): Now exported as a lang variable.
15438 (c-not-primitive-type-keywords): New lang variable.
15439
15440 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15441 QT keyword "more" to prevent "more slots: ...." being spuriously
15442 parsed as a bitfield declaration.
15443
15444 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15445 Refactor and enhance to handle bitfield declarations.
15446 (c-punctuation-in): New function.
15447 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15448 declarations properly.
15449
15450 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
15451
15452 * calendar/icalendar.el (icalendar--all-events): Take care of
15453 multiple vcalendars in a single file.
15454 (icalendar--convert-float-to-ical): Checkdoc fixes.
15455
15456 2011-07-25 Deniz Dogan <deniz@dogan.se>
15457
15458 * image.el (insert-image): Clarifying docstring.
15459
15460 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
15461
15462 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15463 `tramp-send-command-and-check' if there is no error.
15464 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15465
15466 2011-07-22 Alan Mackenzie <acm@muc.de>
15467
15468 Prevent cc-langs.elc being loaded at run time.
15469
15470 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15471 cc-langs.
15472
15473 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
15474 "(require 'cc-langs)". Quote a form so it will evaluate at
15475 (cc-mode's) compilation time.
15476
15477 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
15478
15479 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15480 loading. (Bug#9114)
15481
15482 2011-07-21 Martin Rudalics <rudalics@gmx.at>
15483
15484 * window.el (display-buffer-pop-up-window)
15485 (display-buffer-pop-up-side-window)
15486 (display-buffer-in-side-window): Call display-buffer-set-height
15487 and display-buffer-set-width after setting the new window's
15488 buffer so `fit-window-to-buffer' and friends work on the right buffer.
15489
15490 2011-07-20 Sam Steingold <sds@gnu.org>
15491
15492 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15493 (etags-tags-included-tables): Call `convert-standard-filename' on
15494 the file names contained in TAGS so that windows Emacs can handle
15495 TAGS files created by cygwin ctags.
15496
15497 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15498
15499 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15500 which apparently didn't work.
15501
15502 2011-07-19 Roland Winkler <winkler@gnu.org>
15503
15504 * proced.el (proced-send-signal): For *Marked Processes* buffer
15505 put point at beginning of buffer.
15506
15507 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
15508
15509 * proced.el (proced-format): Make header lines align with the text
15510 (bug#1779).
15511
15512 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15513
15514 * view.el (view-buffer): Allow running in `special' modes if we're
15515 visiting a file (bug#8615).
15516
15517 2011-07-19 Martin Rudalics <rudalics@gmx.at>
15518
15519 * window.el (display-buffer-alist-of-strings-p)
15520 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15521 New functions.
15522 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15523 more accurately.
15524
15525 2011-07-18 Alan Mackenzie <acm@muc.de>
15526
15527 Fontify declarators properly when, e.g., a jit-lock chunk begins
15528 inside a declaration.
15529
15530 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15531
15532 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15533 New function.
15534 (c-complex-decl-matchers): Insert reference to
15535 c-font-lock-enclosing-decls.
15536
15537 * progmodes/cc-engine.el (c-backward-single-comment):
15538 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15539 to nil around calls to (forward-comment -1).
15540
15541 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15542
15543 * image.el (put-image): Doc typo fix.
15544
15545 * progmodes/etags.el (tags-search): Doc typo fix.
15546
15547 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15548 password if we get errors 550 to 554.
15549
15550 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15551
15552 * net/gnutls.el (gnutls-log-level): Remove.
15553
15554 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15555 indentation character (bug#6380).
15556
15557 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15558
15559 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15560 to clarify what the problem is (bug#4291).
15561
15562 * simple.el (current-kill): Clarify what
15563 `interprogram-paste-function' does (bug#7500).
15564 (auto-fill-mode): Document `auto-fill-function' in relation to
15565 `auto-fill-mode' (bug#2470).
15566
15567 2011-07-16 Lawrence Mitchell <wence@gmx.li>
15568
15569 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15570 method if slot is read-only (bug#9035).
15571
15572 2011-07-16 Martin Rudalics <rudalics@gmx.at>
15573
15574 * frame.el (select-frame-set-input-focus): New argument NORECORD.
15575 * window.el (pop-to-buffer): Select window used even if it was
15576 selected before, see discussion of (Bug#8615), (Bug#6954).
15577 Pass argument NORECORD on to select-frame-set-input-focus.
15578
15579 2011-07-15 Glenn Morris <rgm@gnu.org>
15580
15581 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
15582 Respect help-form.
15583
15584 2011-07-09 Lawrence Mitchell <wence@gmx.li>
15585
15586 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15587 (gnutls-negotiate): Use it.
15588
15589 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15590
15591 * net/gnutls.el (gnutls-negotiate):
15592 Upcase `gnutls-algorithm-priority'.
15593
15594 2011-07-15 Glenn Morris <rgm@gnu.org>
15595
15596 * jka-compr.el (jka-compr-verbose): Move from here...
15597 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15598 Add missing :version tag.
15599 * info.el: No need to require jka-compr when compiling.
15600
15601 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15602
15603 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15604 (gnutls-negotiate): Use it.
15605
15606 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15607
15608 * info.el (Info-beginning-of-buffer): New command.
15609 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15610 announcing `b' as the key (bug#8325).
15611 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
15612
15613 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15614
15615 * international/mule-cmds.el
15616 (describe-specified-language-support): Make the error message
15617 clearer (bug#8905).
15618
15619 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15620
15621 * isearch.el (isearch-barrier): Add a doc string, since it's
15622 mentioned in a function doc string (bug#8678).
15623
15624 2011-07-15 Martin Rudalics <rudalics@gmx.at>
15625
15626 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15627 buffer argument (Bug#9083) and self-identifying label argument.
15628
15629 2011-07-15 Glenn Morris <rgm@gnu.org>
15630
15631 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15632
15633 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15634
15635 * man.el (Man-fontify-manpage): Fix message when formatting the
15636 man page (bug#7929).
15637
15638 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15639
15640 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15641 argument LRM; if non-nil, append an invisible LRM character to the
15642 buffer name.
15643 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15644 last argument non-nil, when formatting buffer names.
15645 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15646 paragraph direction.
15647
15648 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15649
15650 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15651 the man page name (bug#7929).
15652
15653 * image.el (put-image): Mention the `put-image' overlay property
15654 (bug#7834).
15655
15656 * scroll-bar.el (set-scroll-bar-mode): Mention that
15657 `scroll-bar-mode' lists the values (bug#7772).
15658
15659 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15660 command (bug#7729).
15661
15662 * rect.el (apply-on-rectangle): Return the point after the last
15663 operation.
15664 (string-rectangle): Go to the point after the last operation
15665 (bug#7522).
15666
15667 * printing.el (pr-toggle-region): Clarify the documentation
15668 slightly (bug#7493).
15669
15670 * time.el (display-time-update):
15671 Allow `display-time-mail-function' to return nil (bug#7158).
15672 Fix suggested by Detlev Zundel.
15673
15674 * vc/diff.el (diff): Clarify the order the file names are read
15675 (bug#7111).
15676
15677 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15678 the doc string (bug#7015).
15679
15680 * font-lock.el (font-lock-maximum-decoration): Mention what
15681 numeric levels mean (bug#6935).
15682
15683 * startup.el (initial-buffer-choice): Don't mention the `none'
15684 selection, which is against policy.
15685
15686 2011-07-14 Martin Rudalics <rudalics@gmx.at>
15687
15688 * window.el (display-buffer-normalize-special):
15689 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
15690
15691 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15692
15693 * subr.el (version<, version<=, version=): Mention "-CVS" and
15694 "-12345" alpha version numbers.
15695
15696 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15697
15698 * bindings.el: Add advertised binding for set-mark-command
15699 (Bug#5772).
15700
15701 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15702
15703 * bindings.el (mode-line-other-buffer):
15704 * bookmark.el (bookmark-bmenu-2-window):
15705 * bs.el (bs-cycle-next, bs-cycle-previous):
15706 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15707 switch-to-buffer.
15708
15709 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15710 Delete.
15711
15712 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
15713
15714 * follow.el (follow-debug-message, follow-redisplay):
15715 * jka-cmpr-hook.el (with-auto-compression-mode):
15716 Fix typos in docstrings.
15717
15718 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15719
15720 * subr.el (with-silent-modifications): Clarify somewhat what the
15721 macro inhibits (bug#6525).
15722
15723 * simple.el (eval-expression): Note what it does if called
15724 interactively (bug#6495).
15725
15726 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15727
15728 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15729 Use pop-to-buffer buffer-or-name if it is nil.
15730
15731 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15732 Remove switch-to-buffer.
15733
15734 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15735
15736 * files.el (make-directory): Clarify that an error will be raised
15737 if there's an error (bug#6397).
15738
15739 * startup.el (initial-buffer-choice): Add `none' as a choice
15740 (bug#6234).
15741
15742 * subr.el (add-hook): Clarify section about buffer-local hooks
15743 (bug#6218).
15744
15745 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15746
15747 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15748
15749 * tabify.el (untabify): Preserve the current column so that point
15750 doesn't move (bug#6032).
15751
15752 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15753
15754 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15755 Rewrite to avoid awkward possessive "s" (bug#5986).
15756
15757 2011-07-13 Glenn Morris <rgm@gnu.org>
15758
15759 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15760 (dired-insert-directory): Give a message the first time
15761 if ls is found not to support --dired.
15762
15763 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15764
15765 * simple.el (toggle-truncate-lines): Clarify what is toggled
15766 (bug#5580). Text by Drew Adams.
15767
15768 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15769
15770 * simple.el (blink-matching-open): Make the error message from the
15771 last change less verbose.
15772
15773 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15774
15775 * font-lock.el (font-lock-comment-face): Use the high contrast
15776 "yellow" color for font-lock-comment-face on low color terminals
15777 using a dark background color (bug#4221).
15778
15779 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15780
15781 * dired.el (dired-insert-set-properties): Make the doc string
15782 reflect what it does now (bug#5325).
15783
15784 * simple.el (blink-matching-open): Say that we were unable to find
15785 the match within the limit, if we're limited (bug#5122).
15786
15787 * international/mule-cmds.el (prefer-coding-system): Add an
15788 example (bug#4869).
15789
15790 * progmodes/etags.el (tags-search): Document `file-list-form'
15791 (bug#4731).
15792
15793 2011-07-13 Lawrence Mitchell <wence@gmx.li>
15794
15795 * net/browse-url.el (browse-url-default-browser)
15796 (browse-url-browser-function): Make the default browser choice a
15797 bit more logical (bug#4300). Also clean up the doc string.
15798
15799 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15800
15801 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15802 binary endings (bug#4440).
15803
15804 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15805
15806 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15807 which can be pretty annoying (bug#8971).
15808
15809 * jka-compr.el (jka-compr-verbose): New variable, and use
15810 throughout (bug#8971).
15811
15812 * info.el (Info-find-file): Fall back on the installation
15813 directory if we can't find the info node anywhere else.
15814
15815 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15816
15817 * vc/vc.el (vc-revert-file):
15818 Don't set file time-stamp in the past. (Bug#5181)
15819
15820 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15821
15822 * files.el (after-find-file): Give a better error message when
15823 trying to find a symlink that points to a file that doesn't exist
15824 (bug#4398).
15825
15826 * progmodes/cc-vars.el: Remove (probably) misleading comment
15827 (bug#4396).
15828
15829 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15830
15831 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15832
15833 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15834
15835 * mouse-sel.el: Hack restoring functionality, while keeping
15836 compatibility with 2010-07-03 changes to mouse selection.
15837 (mouse-sel-primary-overlay): New var.
15838 (mouse-sel-selection-alist): Use it.
15839 (mouse-sel-mode): Doc fix; remove points that are default features
15840 of mouse.el.
15841
15842 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15843
15844 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15845 Fix previous fix (bug#2490).
15846
15847 2011-07-12 Roland Winkler <winkler@gnu.org>
15848
15849 * textmodes/bibtex.el (bibtex-initialize):
15850 Use pop-to-buffer-same-window.
15851 (bibtex-search-entries): Fix interactive call.
15852
15853 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15854
15855 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15856 Fontise bytecomp Error lines more correctly (bug#2490).
15857 Fix suggested by Johan Bockgård.
15858
15859 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15860
15861 * dired-x.el (dired-guess-default): Use `delete-dups'.
15862
15863 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15864
15865 * dired.el (dired-mark-prompt):
15866 * dired-aux.el (dired-read-shell-command): Doc fix.
15867
15868 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15869
15870 * mail/sendmail.el (sendmail-query-once):
15871 Use `customize-save-variable' unconditionally, now that it works under
15872 emacs -Q.
15873
15874 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15875
15876 * cus-edit.el (custom-file): Take an optional no-error variable.
15877 (customize-save-variable): Set the variable, and give a warning if
15878 running under "emacs -q".
15879
15880 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
15881
15882 * loadhist.el (unload-feature-special-hooks):
15883 Add `auto-coding-functions', `fill-nobreak-predicate' and
15884 `find-directory-functions' (bug#5327).
15885
15886 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15887
15888 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15889
15890 * cus-edit.el (custom-guess-name-alist): -alist variables should
15891 use the `alist' type (bug#3120). Suggested by Drew Adams.
15892
15893 * printing.el: Add documentation to all the `pr-toggle-' commands.
15894
15895 2011-07-11 Leo Liu <sdl.web@gmail.com>
15896
15897 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15898 backends where it makes sense (bug#2623).
15899
15900 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15901
15902 * dired-x.el (dired-guess-default): Remove duplicate shell command
15903 entries (bug#2028).
15904 (dired-guess-default): Fix grammar in doc string (bug#2028).
15905 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
15906
15907 * subr.el (remove-duplicates): New conveniency function.
15908
15909 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15910
15911 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15912 (bug#1526).
15913
15914 2011-07-10 Martin Rudalics <rudalics@gmx.at>
15915
15916 * window.el (display-buffer-normalize-default): Don't invert
15917 meaning of even-window-heights. Reported by Eli Zaretskii
15918 <eliz@gnu.org>.
15919
15920 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15921
15922 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15923
15924 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
15925
15926 * window.el (display-buffer): Fix arguments to
15927 display-buffer-reuse-window in last change.
15928
15929 * faces.el (link): Use a less saturated blue on light backgrounds.
15930
15931 * startup.el (fancy-startup-text, fancy-about-text)
15932 (fancy-startup-tail): Use font-lock faces, for background safety.
15933
15934 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15935
15936 * emulation/viper-cmd.el (viper-change-state-to-vi):
15937 Limit triggering of abbrev expansion (Bug#9038).
15938
15939 2011-07-09 Martin Rudalics <rudalics@gmx.at>
15940
15941 * window.el (display-buffer-default-specifiers): Remove.
15942 (display-buffer-macro-specifiers): Remove default specifiers.
15943 (display-buffer-alist): Default to nil.
15944 (display-buffer-reuse-window): New optional argument other-window.
15945 (display-buffer-pop-up-window): Allow splitting internal
15946 windows. Check whether a live window was created.
15947 (display-buffer-other-window-means-other-frame)
15948 (display-buffer-normalize-arguments): Rename to
15949 display-buffer-normalize-argument and rewrite. Set the
15950 other-window specifier.
15951 (display-buffer-normalize-special): New function.
15952 (display-buffer-normalize-options): Rename to
15953 display-buffer-normalize-default and rewrite.
15954 (display-buffer-normalize-options-inhibit): Remove.
15955 (display-buffer-normalize-specifiers): Rewrite.
15956 (display-buffer): Process other-window specifier and call
15957 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15958 more faithfully.
15959 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
15960 (display-buffer-alist-set): Don't handle 'unset default values.
15961 (display-buffer-in-window, display-buffer-alist-set):
15962 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
15963 <tassilo@member.fsf.org>.
15964
15965 2011-07-09 Leo Liu <sdl.web@gmail.com>
15966
15967 * register.el (insert-register): Restore accidental change on
15968 2011-06-26. (Bug#9028)
15969
15970 2011-07-09 Glenn Morris <rgm@gnu.org>
15971
15972 * subr.el (remq): Handle the empty list. (Bug#9024)
15973
15974 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15975
15976 * mail/sendmail.el (send-mail-function): No longer delay custom
15977 initialization.
15978 * custom.el (custom-initialize-delay): Doc fix.
15979
15980 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15981
15982 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15983
15984 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
15985
15986 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15987 human-friendly prompt.
15988
15989 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15990
15991 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15992 provided by a particular plugin.
15993
15994 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15995
15996 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15997 save customizations (with "emacs -Q"), just set the variable
15998 instead of erroring out.
15999
16000 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16001
16002 2011-07-08 Juri Linkov <juri@jurta.org>
16003
16004 * arc-mode.el (archive-zip-expunge, archive-zip-update)
16005 (archive-zip-update-case): Use 7z if found by `executable-find'.
16006 The order of searching the available programs is the same as in
16007 `archive-zip-extract' (bug#8968).
16008
16009 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16010
16011 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16012 (menu-bar-options-menu): Tweak descriptions.
16013
16014 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16015
16016 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16017 menu items into verb phrases (bug#1421). Also refill to fit under
16018 80 columns.
16019
16020 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16021
16022 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16023 (Info-read-node-name): Doc fix (Bug#1084).
16024
16025 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16026 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16027 (end-of-sexp, beginning-of-sexp)
16028 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16029 (forward-symbol, forward-same-syntax, word-at-point)
16030 (sentence-at-point): Doc fix (Bug#1144).
16031
16032 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16033
16034 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16035 should cover it (bug#1281).
16036
16037 * cus-edit.el (custom-show): Mark as obsolete.
16038
16039 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
16040 negotiation fails, then possibly try again with a non-encrypted
16041 connection (bug#9017).
16042
16043 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
16044 be used.
16045
16046 2011-07-07 Richard Stallman <rms@gnu.org>
16047
16048 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16049 property, and handle its changed format.
16050 Look for the correct line number.
16051 Use file's line contents (but not past first =) to find
16052 correct line in message.
16053
16054 2011-07-07 Kenichi Handa <handa@m17n.org>
16055
16056 * international/characters.el (build-unicode-category-table):
16057 Delete it.
16058 (unicode-category-table): Set it by unicode-property-table-internal.
16059
16060 * international/mule-cmds.el (char-code-property-alist): Move to
16061 to src/chartab.c.
16062 (get-char-code-property): Call unicode-property-table-internal to
16063 load a file. Call get-unicode-property-internal where necessary.
16064 (put-char-code-property): Call unicode-property-table-internal to
16065 load a file. Call put-unicode-property-internal where necessary.
16066 put-unicode-property-internal where necessary.
16067 (char-code-property-description):
16068 Call unicode-property-table-internal to load a file.
16069
16070 * international/charprop.el:
16071 * international/uni-bidi.el:
16072 * international/uni-category.el:
16073 * international/uni-combining.el:
16074 * international/uni-comment.el:
16075 * international/uni-decimal.el:
16076 * international/uni-decomposition.el:
16077 * international/uni-digit.el:
16078 * international/uni-lowercase.el:
16079 * international/uni-mirrored.el:
16080 * international/uni-name.el:
16081 * international/uni-numeric.el:
16082 * international/uni-old-name.el:
16083 * international/uni-titlecase.el:
16084 * international/uni-uppercase.el: Regenerate.
16085
16086 * loadup.el: Load international/charprop.el before
16087 international/characters.
16088
16089 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16090
16091 * window.el (next-buffer, previous-buffer): Signal an error if
16092 called from a minibuffer window.
16093
16094 * bindings.el: Revert 2011-07-04 change.
16095
16096 2011-07-06 Richard Stallman <rms@gnu.org>
16097
16098 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16099 (rmail-mime-insert-bulk, rmail-mime-insert-text):
16100 Treat markers like ints.
16101 (rmail-mime-entity): Doc fix.
16102
16103 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16104
16105 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
16106 defcustom again for backwards compatibility.
16107
16108 * simple.el (shell-command-on-region): Fill.
16109
16110 * dired-aux.el (dired-kill-line): Add a doc string.
16111
16112 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
16113 to "\\sw\\|\\s_" (bug#358).
16114
16115 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
16116 (dired-unmark-backward): Ditto.
16117 (dired-flag-backup-files): Ditto.
16118
16119 * dired-x.el (dired-mark-sexp): Ditto.
16120
16121 2011-07-06 Richard Stallman <rms@gnu.org>
16122
16123 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
16124 (rmail-mime-entity): New arg TRUNCATED.
16125 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
16126 New functions.
16127 (rmail-mime-save): Warn if entity is truncated.
16128 (rmail-mime-toggle-hidden): Likewise, for showing.
16129 (rmail-mime-process-multipart): Record when an entity is truncated.
16130
16131 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
16132 if ENTITY is a string.
16133
16134 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16135
16136 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
16137 of faces when `M-C-x'-ing their definitions (bug#8378).
16138 Also clean up the code slightly.
16139
16140 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
16141 because that makes the colors go away.
16142
16143 * mail/sendmail.el (send-mail-function): Change the default to
16144 `sendmail-query-once'.
16145 (sendmail-query-once): Add an autoload cookie.
16146
16147 * net/network-stream.el (network-stream-open-starttls): Try using
16148 a plain connection even if the server offered STARTTLS, and we
16149 kinda wanted to use it, if Emacs doesn't have any STARTTLS
16150 capability. This should make smtpmail.el work in slightly more
16151 configurations.
16152
16153 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
16154
16155 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16156 New defun.
16157 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
16158
16159 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
16160
16161 * progmodes/sql.el: Version 3.0
16162 (sql-product-alist): Add product :completion-object,
16163 :completion-column, and :statement attributes.
16164 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
16165 (sql-mode-syntax-table): Mark all punctuation.
16166 (sql-font-lock-keywords-builder): Temporarily remove fallback on
16167 ansi keywords.
16168 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
16169 (sql-mode-oracle-font-lock-keywords): Improve.
16170 (sql-oracle-show-reserved-words): New function for development.
16171 (sql-product-font-lock): Simplify for source code buffers.
16172 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
16173 New functions.
16174 (sql-highlight-product): Set product specific syntax table.
16175 (sql-mode-map): Add statement movement functions.
16176 (sql-ansi-statement-starters, sql-oracle-statement-starters):
16177 New variable.
16178 (sql-statement-regexp, sql-beginning-of-statement)
16179 (sql-end-of-statement, sql-signum): New functions.
16180 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
16181 (sql-show-sqli-buffer): Bug fix.
16182 (sql-interactive-mode): Store connection data as buffer local.
16183 (sql-connect): Add NEW-NAME parameter. Redesign interaction
16184 with sql-interactive-mode.
16185 (sql-save-connection): Save buffer local settings.
16186 (sql-connection-menu-filter): Change menu entry name.
16187 (sql-product-interactive): Bug fix.
16188 (sql-preoutput-hold): New variable.
16189 (sql-interactive-remove-continuation-prompt): Bug fixes.
16190 (sql-debug-redirect): New variable.
16191 (sql-str-literal): New function.
16192 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
16193 Redesign.
16194 (sql-oracle-save-settings, sql-oracle-restore-settings)
16195 (sql-oracle-list-all, sql-oracle-list-table): New functions.
16196 (sql-completion-object, sql-completion-column)
16197 (sql-completion-sqlbuf): New variables.
16198 (sql-build-completions-1, sql-build-completions)
16199 (sql-try-completion): New functions.
16200 (sql-read-table-name): Use them.
16201 (sql-contains-names): New buffer local variable.
16202 (sql-list-all, sql-list-table): Use it.
16203 (sql-oracle-completion-types): New variable.
16204 (sql-oracle-completion-object, sql-sqlite-completion-object)
16205 (sql-postgres-completion-object): New functions.
16206
16207 2011-07-06 Glenn Morris <rgm@gnu.org>
16208
16209 * window.el (pop-to-buffer): Doc fix.
16210
16211 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
16212
16213 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
16214
16215 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
16216
16217 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
16218
16219 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
16220
16221 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
16222
16223 * button.el (button): Inherit from link face. Suggested by Dan
16224 Nicolaescu.
16225
16226 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16227
16228 * progmodes/gdb-mi.el: Fit in 80 columns.
16229 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
16230 switch-to-buffer.
16231
16232 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
16233 if imenu is simply not configured (bug#8941).
16234
16235 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
16236
16237 * allout.el (allout-post-undo-hook): New allout outline-change
16238 event hook to signal undo activity.
16239 (allout-post-command-business): Run allout-post-undo-hook if an
16240 undo just occurred.
16241 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
16242 * allout-widgets.el (allout-widgets-after-undo-function):
16243 Ensure the integrity of the current item's decoration after it has been
16244 in the vicinity of an undo.
16245 (allout-widgets-mode): Include allout-widgets-after-undo-function
16246 on the new allout-post-undo-hook.
16247
16248 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16249
16250 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
16251 Let define-derived-mode define it.
16252 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
16253 cycles of abbrev-table inheritance (bug#8998).
16254
16255 2011-07-05 Roland Winkler <winkler@gnu.org>
16256
16257 * textmodes/bibtex.el: Add support for biblatex.
16258 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
16259 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
16260 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
16261 (bibtex-entry-alist, bibtex-field-alist): New variables.
16262 (bibtex-entry-field-alist): Obsolete alias for
16263 bibtex-BibTeX-entry-alist.
16264 (bibtex-entry-alist, bibtex-field-alist): New widgets.
16265 (bibtex-set-dialect): New command.
16266 (bibtex-entry-type, bibtex-entry-head)
16267 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
16268 Bind via bibtex-set-dialect.
16269 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
16270 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
16271 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
16272 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
16273 Define via bibtex-set-dialect.
16274 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
16275 Obey bibtex-no-opt-remove-re.
16276 (bibtex-vec-push, bibtex-vec-incr): New functions.
16277 (bibtex-format-entry, bibtex-field-list)
16278 (bibtex-print-help-message, bibtex-validate)
16279 (bibtex-search-entries): Use new format of bibtex-entry-alist.
16280
16281 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16282
16283 * progmodes/compile.el (compilation-goto-locus):
16284 * net/tramp-cmds.el (tramp-append-tramp-buffers):
16285 * bs.el (bs-cycle-next, bs-cycle-previous):
16286 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16287 * bindings.el (mode-line-other-buffer):
16288 * autoinsert.el (auto-insert):
16289 * arc-mode.el (archive-extract):
16290 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16291
16292 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16293
16294 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16295 Fix check of `emacs-lock-unlockable-modes'.
16296 Coerce true values of `emacs-lock--try-unlocking' to t.
16297
16298 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16299
16300 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16301 * emacs-lock.el: New file.
16302
16303 2011-07-05 Julien Danjou <julien@danjou.info>
16304
16305 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16306 than `boundp' to check if face is set.
16307
16308 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16309
16310 * register.el (registerv-make):
16311 * window.el (window-min-height): Fix typos in docstrings.
16312
16313 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
16314
16315 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
16316 Update doc string.
16317
16318 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
16319
16320 * server.el (server-execute): Catch quit and call
16321 `server-return-error' to pass the error back to emacsclient and
16322 close the connection (bug#8942).
16323
16324 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
16325
16326 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16327 insecure exception for current topic. Also note that auto-saves
16328 are handled differently.
16329
16330 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
16331 State variables for tracking auto-save inhibition situation.
16332
16333 (allout-write-contents-hook-handler): Rename from
16334 'allout-write-file-hook-handler', and describe how it depends on
16335 write-contents-functions sensitivity to non-nil value to prevent
16336 file write.
16337
16338 (allout-auto-save-hook-handler): Remove. auto-save does not check
16339 this in individual buffers, only in the starting buffer, so this
16340 is not the right way for us to inhibit auto-save in a buffer
16341 according to its condition.
16342
16343 (allout-mode): Use new allout-write-contents-hook-handler, and
16344 only with write-contents-functions. Remove auto-save provisions -
16345 they're implemented elsewhere.
16346
16347 (allout-before-change-handler): If undo is in progress, note that
16348 for attention of allout-post-command-business.
16349
16350 (allout-post-command-business): If the command we're following was
16351 an undo, check for change in the status of encrypted items and
16352 adjust auto-save inhibitions accordingly.
16353
16354 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16355 according to whether there are or aren't any plain-text topics
16356 pending encryption.
16357
16358 (allout-inhibit-auto-save-info-for-decryption):
16359 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16360 if there are plain-text topics pending encryption.
16361
16362 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16363 buffer-saved-size and some allout state to not inhibit auto-saves
16364 if there are no longer any plain-text topics pending encryption.
16365
16366 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16367 No longer provide for exemption of the current topic.
16368
16369 2011-07-04 Juri Linkov <juri@jurta.org>
16370
16371 Add 7z operations to delete and save changed members (bug#8968).
16372 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16373 New defcustoms.
16374 (archive-7z-write-file-member): New function.
16375 (archive-7z-summarize): Fix the number of dashes in the
16376 listing output.
16377
16378 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16379
16380 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16381 (bug#8958).
16382
16383 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
16384
16385 * bindings.el: Ignore next-buffer and previous-buffer in
16386 minibuffer-local-map.
16387
16388 * font-lock.el (font-lock-builtin-face): Change light background
16389 color to dark slate blue (Bug#6693).
16390
16391 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16392
16393 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16394
16395 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16396
16397 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16398 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16399 Add switch-to-buffer.
16400
16401 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16402
16403 * isearch.el (isearch-search-fun-function): Clarify further the
16404 meaning of the function returned.
16405
16406 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
16407
16408 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16409
16410 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16411 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16412 Use it.
16413 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16414 `tramp-default-remote-path' does not exist.
16415 (tramp-send-command-and-read): New optional argument NOERROR.
16416 (tramp-open-connection-setup-interactive-shell)
16417 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16418 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16419 (tramp-process-sentinel): Flush also process' connection property.
16420 (tramp-sh-handle-start-file-process): Do not set process
16421 sentinel. It is done now ...
16422 (tramp-maybe-open-connection): ... here. (Bug#8929)
16423
16424 2011-07-04 MON KEY <monkey@sandpframing.com>
16425
16426 * play/animate.el (animate-string): Doc fixes and allow changing
16427 the buffer name (bug#5417).
16428
16429 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16430
16431 * play/animate.el (animation-buffer-name): Rename from *animate*.
16432
16433 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16434
16435 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16436 This is simpler and helps future-proof the code.
16437 (timer-until): Use time-subtract and float-time.
16438 (timer--time-less-p): Use time-less-p.
16439
16440 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
16441
16442 * type-break.el (timep): Use the value of `float-time' to avoid a
16443 byte-compiler warning.
16444
16445 * server.el (server-eval-and-print): Return any result, even nil.
16446
16447 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16448
16449 * type-break.el: Accept time formats that the builtins accept.
16450 (timep, type-break-time-difference): Accept any format that
16451 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16452 This is simpler and helps future-proof the code.
16453 (type-break-time-difference): Round rather than ignoring
16454 subseconds components.
16455
16456 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16457
16458 * info.el (Info-apropos-matches): Make non-interactive, since it
16459 doesn't seem to do anything useful as a command (bug#8829).
16460
16461 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
16462
16463 * frame.el (frame-background-mode, frame-set-background-mode):
16464 Move from faces.el.
16465 (frame-default-terminal-background): New function.
16466
16467 * custom.el (custom-push-theme): Don't record faces in `changed'
16468 theme; this doesn't work correctly for per-frame face settings.
16469 (disable-theme): Use face-set-after-frame-default to reset faces.
16470 (custom--frame-color-default): New function.
16471
16472 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16473
16474 * dired.el (dired-flagging-regexp): Remove unused variable
16475 (bug#8769).
16476
16477 2011-03-29 Kevin Ryde <user42@zip.com.au>
16478
16479 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16480 `perl-Test2' extend to match possible "fail #N" rep count
16481 (bug#8377).
16482
16483 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16484
16485 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16486 `smtpmail-via-smtp' now returns the error instead of nil.
16487
16488 * isearch.el (isearch-search-fun-function): Clarify the doc string
16489 (bug#8101).
16490
16491 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
16492
16493 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16494 unnecessary spaces (bug#8987).
16495
16496 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16497
16498 * net/network-stream.el (open-network-stream): Use the
16499 :end-of-capability command thoughout.
16500
16501 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16502
16503 * net/network-stream.el (open-network-stream): Add the
16504 :end-of-capability command parameter, used by pop3.el.
16505
16506 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16507
16508 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16509
16510 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16511 for list)" (bug#6475).
16512
16513 * files.el (file-expand-wildcards): Ignore non-readable
16514 sub-directories while trying to find matches instead of signaling
16515 an error (bug#6297).
16516
16517 * man.el (Man-reference-regexp): Allow matching possible
16518 word-wrapped references (bug#6289).
16519
16520 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16521 for consistency with the other vc buffers (bug#6197).
16522 (vc-checkin): Ditto.
16523
16524 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16525
16526 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16527
16528 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16529
16530 * custom.el (defcustom): Clarify that :set is only used in the
16531 Customize user interface (bug#6089).
16532
16533 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16534 associated with a file, refuse to run instead of erroring out
16535 (bug#6084).
16536
16537 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16538 the doc string, since it appears that using `fill-column' always
16539 controls the width (bug#7845).
16540
16541 * simple.el (shell-command-on-region): Say where the error output
16542 went if `shell-command-default-error-buffer' is set (bug#6857).
16543
16544 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16545
16546 * allout.el (allout-yank-processing): Adjust cursor position for
16547 backwards-deleted space.
16548
16549 (allout-rebullet-heading): Register changes with
16550 allout-exposure-changed-hook, so the modified topic is properly
16551 decorated.
16552
16553 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16554
16555 * minibuffer.el (completion-in-region): Document PREDICATE
16556 (bug#7136).
16557
16558 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16559 of keyword/argument pairs (bug#6904).
16560
16561 * replace.el (multi-occur):
16562 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
16563
16564 2011-07-02 Drew Adams <drew.adams@oracle.com>
16565
16566 * dired.el (dired-mark-if): Make the message about whether it's
16567 marking or unmarking clearer (bug#8523).
16568
16569 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16570
16571 * disp-table.el (display-table-print-array): New function.
16572 (describe-display-table): Use it to print the vectors more pretty
16573 (Bug#8859).
16574
16575 2011-07-02 Martin Rudalics <rudalics@gmx.at>
16576
16577 * window.el (window-state-get-1): Don't assign clone numbers.
16578 Add clone-of item to list of window parameters.
16579 (window-state-put-2): Don't process clone numbers.
16580 (display-buffer-alist): Fix doc-string.
16581
16582 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16583
16584 * subr.el (remq): Don't allocate if it's not needed.
16585 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16586 (keymap--merge-bindings): New functions.
16587 (keymap-canonicalize): Use them to refine the canonicalization.
16588 * minibuffer.el (minibuffer-local-completion-map)
16589 (minibuffer-local-must-match-map): Move initialization from C.
16590 (minibuffer-local-filename-completion-map): Move initialization from C;
16591 don't inherit from anything here.
16592 (minibuffer-local-filename-must-match-map): Make obsolete.
16593 (completing-read-default): Use make-composed-keymap to combine
16594 minibuffer-local-filename-completion-map with either
16595 minibuffer-local-must-match-map or
16596 minibuffer-local-filename-completion-map.
16597
16598 2011-07-01 Glenn Morris <rgm@gnu.org>
16599
16600 * type-break.el (type-break-time-sum): Use dolist.
16601
16602 * textmodes/flyspell.el (flyspell-word-search-backward):
16603 Replace CL function.
16604
16605 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16606
16607 * mouse.el (mouse--strip-first-event): New function.
16608 (function-key-map): Use it to map fringe clicks to normal clicks
16609 by default.
16610
16611 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16612 (vc-bzr-revision-completion-table): Add support for annotate and date.
16613
16614 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16615 inherit from parent.
16616
16617 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16618
16619 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
16620 (dired-show-file-type): Doc fixup (bug#8818).
16621
16622 * dired.el (dired-mode): Fix up the doc string as suggested by
16623 Drew Adams (bug#8817).
16624
16625 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16626 cookie, since the manual says that it should be possible to add
16627 this function to `find-file-hook' (bug#8709).
16628
16629 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16630
16631 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16632 here. Noted Ted Zlatanov as the maintainer.
16633 (cfengine-common-settings, cfengine-common-syntax): New functions
16634 to set up common things between `cfengine-mode' and
16635 `cfengine3-mode'.
16636 (cfengine3-mode): New mode.
16637 (cfengine3-defuns cfengine3-defuns-regex
16638 (cfengine3-class-selector-regex cfengine3-category-regex)
16639 (cfengine3-vartypes cfengine3-font-lock-keywords)
16640 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
16641 (cfengine3-indent-line): Add from cfengine3.el.
16642
16643 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
16644
16645 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16646
16647 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16648
16649 2011-07-01 Martin Rudalics <rudalics@gmx.at>
16650
16651 * window.el (same-window-buffer-names, same-window-regexps)
16652 (same-window-p, special-display-frame-alist)
16653 (special-display-popup-frame, special-display-function)
16654 (special-display-buffer-names, special-display-regexps)
16655 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16656 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16657 (split-window-preferred-function, split-height-threshold)
16658 (split-width-threshold, even-window-heights)
16659 (display-buffer-mark-dedicated, window-splittable-p)
16660 (split-window-sensibly, window-safely-shrinkable-p):
16661 Un-obsolete.
16662 (display-buffer): Don't spread args with function specifier
16663 because special-display-popup-frame won't like it.
16664
16665 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16666
16667 Time-stamp simplifications and fixes.
16668 These improve accuracy slightly, and future-proof the code
16669 against some potential changes to current-time format.
16670
16671 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16672 by using time-since and float-time.
16673
16674 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16675 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16676 + NNN microseconds".
16677
16678 * type-break.el (type-break-time-sum): Rewrite using time-add.
16679
16680 * play/hanoi.el (hanoi-current-time-float): Remove.
16681 All uses replaced by float-time.
16682
16683 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16684 This yields a more-accurate answer.
16685 (rng-time-to-float): Remove; no longer needed.
16686
16687 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16688
16689 * calendar/timeclock.el (timeclock-seconds-to-time):
16690 Defalias to seconds-to-time, since they're the same thing.
16691
16692 * emacs-lisp/elp.el (elp-elapsed-time):
16693 * emacs-lisp/benchmark.el (benchmark-elapse):
16694 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16695
16696 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16697
16698 * window.el (bury-buffer): Don't iconify the only frame.
16699 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16700 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16701
16702 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
16703
16704 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16705 Add mouse-yank-primary.
16706
16707 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16708
16709 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16710
16711 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16712
16713 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16714 (find-library-name): Use it to find relative load names when provided
16715 absolute file name (bug#8803).
16716
16717 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16718
16719 * textmodes/flyspell.el (flyspell-word): Consider words that
16720 differ only in case as potential doublons (bug#5687).
16721
16722 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16723 Remove two rather uninteresting debugging-like messages to make
16724 debbugs.el more silent.
16725
16726 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16727 a password-like phrase.
16728
16729 2011-06-30 Masatake YAMATO <yamato@redhat.com>
16730
16731 * progmodes/cc-guess.el: New file.
16732
16733 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
16734
16735 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16736 derived from `c-basic-common-init'.
16737
16738 * progmodes/cc-mode.el (top-level): Require cc-guess.
16739 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16740
16741 2011-06-30 Lawrence Mitchell <wence@gmx.li>
16742
16743 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16744
16745 2011-06-30 Alan Mackenzie <acm@muc.de>
16746
16747 * progmodes/cc-engine.el (c-guess-continued-construct):
16748 Correct the handling of template-args-cont, particularly for when font
16749 lock is disabled. Name this case as "CASE G".
16750
16751 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16752
16753 * allout.el (allout-yank-processing): Fix injection of extra space
16754 between bullet and non-whitespace character in first topic when
16755 pasting, ensuring that the actual spacing in the pasted topic
16756 following the bullet char is preserved. This extra space was
16757 causing pasted encrypted topics to get a decrypted status even
16758 when the content was actually still encrypted. Now the decryption
16759 status from before the paste is preserved.
16760
16761 (allout-flag-region): Set all allout overlays so they evaporate
16762 when reduced to zero length (evanescent), to prevent overlay
16763 leakage.
16764
16765 2011-06-30 Glenn Morris <rgm@gnu.org>
16766
16767 * w32-fns.el (w32-charset-info-alist): Declare.
16768
16769 * find-dired.el (find-grep-options): Simplify.
16770
16771 * term/ns-win.el (ns-set-resource): Declare.
16772
16773 * ses.el (row, col): Declare dynamic variables honestly.
16774
16775 * textmodes/reftex-parse.el (index-tags): Declare.
16776
16777 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
16778
16779 * cus-edit.el (customize-push-and-save): New function.
16780
16781 * files.el (hack-local-variables-confirm): Use it.
16782
16783 * custom.el (load-theme): New arg NO-CONFIRM.
16784 Use customize-push-and-save (Bug#8720).
16785 (custom-enabled-themes): Doc fix.
16786
16787 * cus-theme.el (customize-create-theme)
16788 (custom-theme-merge-theme): Callers to load-theme changed.
16789
16790 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16791
16792 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16793 short URLs have at least one dot in them (bug #7614).
16794
16795 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16796 nil, because using a pty is apparently too slow (bug #895).
16797
16798 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16799
16800 * mail/sendmail.el (sendmail-query-once): New function.
16801 (sendmail-query-once-function): New variable.
16802
16803 2011-06-29 Glenn Morris <rgm@gnu.org>
16804
16805 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16806
16807 * ses.el (top-level): Require cl when compiling.
16808 (ses-set-localvars): Fix error statement.
16809 Call it at compile time to silence a storm of warnings.
16810
16811 2011-06-29 Martin Rudalics <rudalics@gmx.at>
16812
16813 * window.el (normalize-live-buffer): Rename to
16814 window-normalize-buffer.
16815 (normalize-live-frame): Rename to window-normalize-frame.
16816 (normalize-any-window): Rename to window-normalize-any-window.
16817 (normalize-live-window): Rename to window-normalize-live-window.
16818 (make-window-atom): Rename to window-make-atom.
16819 (window-resize-reset): Rename to window--resize-reset.
16820 (window-resize-reset-1): Rename to window--resize-reset-1.
16821 (resize-mini-window): Rename to window--resize-mini-window.
16822 (resize-subwindows-skip-p): Rename to
16823 window--resize-subwindows-skip-p.
16824 (resize-subwindows-normal): Rename to
16825 window--resize-subwindows-normal.
16826 (resize-subwindows): Rename to window--resize-subwindows.
16827 (resize-other-windows): Rename to window--resize-siblings.
16828 (resize-this-window): Rename to window--resize-this-window.
16829 (resize-root-window): Rename to window--resize-root-window.
16830 (resize-root-window-vertically): Rename to
16831 window--resize-root-window-vertically.
16832 (normalize-buffer-to-display): Rename to
16833 window-normalize-buffer-to-display.
16834 (normalize-buffer-to-switch-to): Rename to
16835 window-normalize-buffer-to-switch-to.
16836 Correspondingly update all callers of the functions listed
16837 above.
16838 (display-buffer-alist, display-buffer-normalize-arguments)
16839 (display-buffer-normalize-options, display-buffer)
16840 (display-buffer-alist-set): Use "function" instead of
16841 "fun-with-args".
16842
16843 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
16844
16845 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16846 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16847 debbugs.gnu.org. Mention acknowledgment email.
16848
16849 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16850
16851 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16852 buffer multibyteness, since it shouldn't matter.
16853
16854 2011-06-28 Martin Rudalics <rudalics@gmx.at>
16855
16856 * window.el (display-buffer-in-side-window): Handle dedicated
16857 windows as in display-buffer-reuse-window.
16858 (display-buffer-normalize-alist): Use value of override
16859 specifier.
16860 (display-buffer-normalize-specifiers): Use value of
16861 other-window-means-other-frame specifier.
16862 (display-buffer-alist): Rewrite some texts in widgets.
16863 (display-buffer): Spread arguments when calling function
16864 specified by fun-with-args.
16865
16866 2011-06-28 Deniz Dogan <deniz@dogan.se>
16867
16868 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16869 Unnest `let'.
16870
16871 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16872 selectors (Bug#5732).
16873 (css-proprietary-nmstart-re): Use `regexp-opt'.
16874
16875 2011-06-27 Jari Aalto <jari.aalto@cante.net>
16876
16877 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16878 (eshell-ls-date-format): New defcustom.
16879 (eshell-ls-file): Use it.
16880
16881 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16882
16883 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16884
16885 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16886
16887 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16888 (ange-ftp-make-tmp-name): New arg.
16889 (ange-ftp-file-local-copy): Use it.
16890
16891 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
16892
16893 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16894 no-conversion (Bug#8870).
16895
16896 2011-06-27 Martin Rudalics <rudalics@gmx.at>
16897
16898 * window.el (window-right, window-left, window-child)
16899 (window-child-count, window-last-child)
16900 (window-iso-combination-p, walk-window-tree-1)
16901 (window-atom-check-1, window-tree-1, delete-window)
16902 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16903 new naming conventions - window-vchild, window-hchild,
16904 window-next and window-prev are now called window-top-child,
16905 window-left-child, window-next-sibling and window-prev-sibling
16906 respectively.
16907 (resize-window-reset): Rename to window-resize-reset.
16908 (resize-window-reset-1): Rename to window-resize-reset-1.
16909 (resize-window): Rename to window-resize.
16910 (window-min-height, window-min-width)
16911 (resize-mini-window, resize-this-window, resize-root-window)
16912 (resize-root-window-vertically, adjust-window-trailing-edge)
16913 (enlarge-window, shrink-window, maximize-window)
16914 (minimize-window, delete-window, quit-restore-window)
16915 (split-window, balance-windows, balance-windows-area-adjust)
16916 (balance-windows-area, window-state-put-2)
16917 (display-buffer-even-window-sizes, display-buffer-set-height)
16918 (display-buffer-set-width, set-window-text-height)
16919 (fit-window-to-buffer): Rename all "resize-window" prefixed
16920 calls to use the "window-resize" prefix convention.
16921 (display-buffer-alist): Fix symbol for label specifier.
16922 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16923 corresponding specifier.
16924 Reported by Juanma Barranquero <lekktu@gmail.com>.
16925
16926 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16927
16928 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16929 convention.
16930 (ses-call-printer): Does not pass an empty string to formatter when the
16931 cell is empty to keep from barking printer Calc math-format-value.
16932
16933 2011-06-27 Richard Stallman <rms@gnu.org>
16934
16935 * battery.el (battery-mode-line-limit): New variable.
16936 (battery-update): Handle it.
16937
16938 * mail/rmailmm.el (rmail-mime-process-multipart):
16939 Handle truncated messages.
16940
16941 2011-06-27 Glenn Morris <rgm@gnu.org>
16942
16943 * progmodes/flymake.el (flymake-err-line-patterns):
16944 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16945
16946 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16947
16948 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
16949 (ses--clean-!, ses--clean-_): New functions.
16950 (ses-range): Add configurability of readout order, and conversion
16951 to Calc vector.
16952
16953 * ses.el (ses-repair-cell-reference-all): New function.
16954 (ses-cell-symbol): Set macro as safe, so that it can be used in
16955 formulas.
16956
16957 * ses.el: Update cycle detection algorithm.
16958 (ses-localvars): Add ses--Dijkstra-attempt-nb and
16959 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
16960 (ses-set-localvars): New function.
16961 (ses-make-cell): Add property-list as a cell element.
16962 (ses-cell-property-get-fun, ses-cell-property-get)
16963 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
16964 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16965 New functions.
16966 (ses-cell-property-set, ses-cell-property-pop)
16967 (ses-cell-property-get-handle): New macro.
16968 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16969 New aliases, used for code readability.
16970 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16971 cycle detection.
16972 (ses-self-reference-early-detection): New defcustom.
16973 (ses-formula-references): Robustify against self-referring cells.
16974 (ses-mode): Use ses-set-localvars.
16975 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16976 before lauching the update processing.
16977 (ses-initialize-Dijkstra-attempt): New function.
16978 (ses-recalculate-cell): Update for cycle detection based on
16979 Dijkstra algorithm.
16980
16981 * ses.el: Fix commenting and indenting convention.
16982
16983 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16984
16985 * bs.el (bs-cycle-next): Complete last change.
16986
16987 2011-06-27 Drew Adams <drew.adams@oracle.com>
16988
16989 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16990
16991 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16992
16993 * net/network-stream.el (network-stream-open-starttls):
16994 Don't re-get capabilities unless we've reestablished connection.
16995 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16996
16997 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16998 to binary to possibly avoid line encoding issues on Windows (among
16999 other things).
17000
17001 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17002
17003 * net/network-stream.el (open-network-stream): Return an :error
17004 saying what the problem was, if possible.
17005
17006 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17007 server.
17008
17009 * net/network-stream.el (network-stream-open-starttls): If we
17010 wanted to use STARTTLS, and the server offered it, but we weren't
17011 able to because we had no STARTTLS support, then close the connection.
17012 (open-network-stream): Return an :error element, if present.
17013
17014 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
17015
17016 * hl-line.el (hl-line-sticky-flag): Doc fix.
17017 (global-hl-line-sticky-flag): New option (Bug#8323).
17018 (global-hl-line-highlight): Obey it.
17019
17020 * vc/vc.el (vc-revert-show-diff): Default to t.
17021
17022 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
17023
17024 * allout-widgets.el (allout-widgets-post-command-business):
17025 Stop decorating intermediate isearch matches. They're not being
17026 undecorated when an isearch is continued past, and isearch
17027 automatically collapses them. This leads to "widget leaks", where
17028 decorated items accumulate in collapsed areas. Lines with lots of
17029 hidden widgets can slow down cursor travel, substantially.
17030 Too much complicated machinery would be needed to ensure undecoration,
17031 so we're doing without this nicety.
17032
17033 (allout-widgets-tally-string): Don't try to do a hash-table-count
17034 of allout-widgets-tally when it's nil. This eliminates spurious "Error
17035 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17036 *Messages* when allout-widgets-maintain-tally is t.
17037
17038 2011-06-26 Martin Rudalics <rudalics@gmx.at>
17039
17040 * window.el (display-buffer-normalize-argument): Rename to
17041 display-buffer-normalize-arguments. Handle special meaning of
17042 LABEL argument. Respect special-display-function when popping up
17043 a new frame. Fix code searching for a window showing the buffer
17044 on another frame.
17045 (display-buffer-normalize-specifiers):
17046 Call display-buffer-normalize-arguments.
17047 (display-buffer-in-window): Don't undedicate the window if its
17048 buffer remains the same.
17049 Reported by Drew Adams <drew.adams@oracle.com>.
17050 (display-buffer-alist): Add choice for same-window macro
17051 specfier.
17052 (display-buffer): Mention special meaning of LABEL argument in
17053 doc-string. Fix quoting. Don't pop up a new frame even as
17054 fallback.
17055
17056 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
17057
17058 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17059 avoid deleting the current window in some cases (bug#8911).
17060
17061 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
17062
17063 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
17064 (Bug#8934)
17065
17066 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17067
17068 * net/network-stream.el (network-stream-open-starttls):
17069 Use built-in TLS support if `gnutls-available-p' is true.
17070 (network-stream-open-tls): Ditto.
17071
17072 2011-06-26 Leo Liu <sdl.web@gmail.com>
17073
17074 * register.el (registerv): New struct.
17075 (registerv-make): New function.
17076 (jump-to-register, describe-register-1, insert-register):
17077 Support the jump-func, print-func and insert-func slot of a registerv
17078 struct. (Bug#8415)
17079
17080 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
17081
17082 * vc/vc.el (vc-revert-show-diff): New defcustom.
17083 (vc-diff-internal): New arg specifying diff buffer.
17084 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
17085 reuse an existing *vc-diff* buffer (Bug#8927).
17086
17087 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
17088
17089 2011-06-26 Glenn Morris <rgm@gnu.org>
17090
17091 * progmodes/f90.el (f90-critical-indent): New option.
17092 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17093 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17094 (f90-mode): Doc fix.
17095 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17096 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17097 (f90-beginning-of-block, f90-next-block, f90-indent-region)
17098 (f90-match-end): Handle block, critical.
17099
17100 2011-06-25 Glenn Morris <rgm@gnu.org>
17101
17102 * calendar/diary-lib.el (diary-included-files): Doc fix.
17103 (diary-include-files): New function, extracted from
17104 diary-include-other-diary-files and diary-mark-included-diary-files.
17105 (diary-include-other-diary-files, diary-mark-included-diary-files):
17106 Just call diary-include-files.
17107 (diary-mark-entries): Reset diary-included-files on first call.
17108
17109 * calendar/diary-lib.el (diary-mark-entries)
17110 (diary-mark-included-diary-files):
17111 Visit included diary-files in temp buffers.
17112
17113 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
17114 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
17115 (f90-start-block-re, f90-imenu-generic-expression)
17116 (f90-looking-at-program-block-start, f90-no-block-limit):
17117 Add support for submodules.
17118
17119 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17120 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
17121
17122 2011-06-25 Eli Zaretskii <eliz@gnu.org>
17123
17124 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
17125 buffer-file-type before setting its value, to avoid disastrous
17126 global effects on decoding files for DOS/Windows systems. (Bug#8780)
17127
17128 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
17129
17130 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
17131
17132 * ses.el (ses-unload-function):
17133 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
17134
17135 * proced.el (proced-unload-function):
17136 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
17137
17138 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
17139
17140 * server.el (server-create-window-system-frame): Add parameters arg.
17141 (server-process-filter): Doc fix. Handle frame-parameters.
17142
17143 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
17144
17145 Fix bug#8730, bug#8781.
17146
17147 * loadhist.el (unload--set-major-mode): New function.
17148 (unload-feature): Use it.
17149
17150 * progmodes/python.el (python-after-info-look): Add autoload cookie.
17151 (python-unload-function): New function.
17152
17153 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
17154
17155 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
17156
17157 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
17158
17159 * net/browse-url.el (browse-url-firefox-program): Add icecat to
17160 the candidates list.
17161
17162 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
17163
17164 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
17165
17166 2011-06-23 Richard Stallman <rms@gnu.org>
17167
17168 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
17169 (rmail-variables): Set next-error-move-function.
17170 (rmail-what-message): Take argument POS.
17171 (rmail-next-error-move): New function.
17172
17173 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
17174
17175 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
17176 messages for adjacent non-terminals.
17177
17178 2011-06-23 Richard Stallman <rms@gnu.org>
17179
17180 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
17181 (rmail-show-message-1): Preserve buffer modified flag.
17182 (rmail-start-mail): Don't specify use of rmail-mail-return;
17183 that's done by mail-bury now.
17184 (rmail-mail-return): Handle arg NEWBUF.
17185
17186 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
17187
17188 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
17189 SIZE is a number.
17190
17191 2011-06-23 Martin Rudalics <rudalics@gmx.at>
17192
17193 * window.el (get-lru-window, get-mru-window)
17194 (get-largest-window): Never return a minibuffer window.
17195 (display-buffer-pop-up-window): Fix a bug that could lead to
17196 reusing the minibuffer window.
17197 (display-buffer): Pass original specifier argument to
17198 display-buffer-function instead of the normalized one.
17199 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17200
17201 2011-06-22 Leo Liu <sdl.web@gmail.com>
17202
17203 * minibuffer.el (completing-read-function)
17204 (completing-read-default): Move from minibuf.c.
17205
17206 2011-06-22 Richard Stallman <rms@gnu.org>
17207
17208 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
17209 to Rmail even if not started by a special Rmail command.
17210
17211 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
17212 Copy the buffer currently showing just one message.
17213
17214 2011-06-22 Roland Winkler <winkler@gnu.org>
17215
17216 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
17217 (bibtex-clean-entry): First delete the old key so that a
17218 customized algorithm for generating the new key does not get
17219 confused by the old key.
17220 (bibtex-url): Obey regexp of first step.
17221 (bibtex-search-entries): Do not use add-to-list with local
17222 list-var.
17223
17224 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17225
17226 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
17227 stored a user name, then query for the password first, instead of
17228 waiting for SMTP to give an error message and the trying again.
17229
17230 2011-06-22 Lawrence Mitchell <wence@gmx.li>
17231
17232 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
17233 BUFFER in call-process.
17234
17235 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17236
17237 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
17238 QUIT twice.
17239 (smtpmail-try-auth-methods): Require user name and password from
17240 auth-source.
17241
17242 2011-06-22 Martin Rudalics <rudalics@gmx.at>
17243
17244 * window.el (display-buffer-default-specifiers)
17245 (display-buffer-alist): Remove entries for pop-up-frame-alist.
17246 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
17247 (split-window): Normalize SIDE argument (Bug#8916).
17248
17249 * frame.el (pop-up-frame-alist, pop-up-frame-function)
17250 (special-display-frame-alist, special-display-popup-frame):
17251 Remove duplicate declarations. These are now in window.el.
17252
17253 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17254
17255 * mail/smtpmail.el (smtpmail-via-smtp):
17256 Set :use-starttls-if-possible so that we always use STARTTLS if the
17257 server supports it. SMTP servers that support STARTTLS commonly
17258 require it.
17259
17260 * net/network-stream.el (network-stream-open-starttls): Support
17261 upgrading to STARTTLS always, even if we don't have built-in support.
17262 (open-network-stream): Add the :always-query-capabilities keyword.
17263
17264 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
17265 upgrades with `open-network-stream', and rely solely on
17266 auth-source for all credentials. Big changes throughout the file,
17267 but in particular:
17268 (smtpmail-auth-credentials): Remove.
17269 (smtpmail-starttls-credentials): Remove.
17270 (smtpmail-via-smtp): Check for servers saying they want AUTH after
17271 MAIL FROM, too.
17272
17273 * net/network-stream.el (network-stream-open-starttls):
17274 Provide support for client certificates both for external and built-in
17275 STARTTLS.
17276 (auth-source): Require.
17277 (open-network-stream): Document the :client-certificate keyword.
17278 (network-stream-certificate): Change cert-cert to cert and
17279 cert-key to key.
17280
17281 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
17282
17283 * net/tramp-cache.el (top): Don't load the persistency file when
17284 "emacs -Q" has been called.
17285
17286 2011-06-21 Tim Harper <timcharper@gmail.com>
17287
17288 * term/ns-win.el (ns-initialize-window-system):
17289 Set application-specific `ApplePressAndHoldEnabled' system
17290 resource to NO as it is not yet supported by the NS port.
17291
17292 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
17293
17294 * misc.el (list-dynamic-libraries--refresh): Compute header here...
17295 (list-dynamic-libraries): ...not here.
17296
17297 2011-06-21 Leo Liu <sdl.web@gmail.com>
17298
17299 * subr.el (sha1): Implement sha1 using secure-hash.
17300
17301 2011-06-21 Martin Rudalics <rudalics@gmx.at>
17302
17303 * window.el (display-buffer-alist): In default value do not
17304 enforce searching a window on any but the selected frame.
17305 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17306 (display-buffer-select-window): Remove function.
17307 (display-buffer-in-window): When a window on another frame gets
17308 reused, do not select it any more but just raise its frame if
17309 necessary (Bug#8851) and (Bug#8856).
17310 (display-buffer-normalize-options): Handle pop-up-frames related
17311 options more faithfully.
17312 (pop-to-buffer): Don't rely on `display-buffer' selecting the
17313 window if it is on another frame.
17314 (display-buffer-alist, display-buffer-default-specifiers):
17315 Don't make new frame unsplittable by default.
17316 (display-buffer-normalize-argument): Fix doc-string typo and use
17317 'same-frame-other-window instead of 'other-window when associating
17318 with display-buffer-macro-specifiers.
17319
17320 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
17321
17322 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17323 New functions.
17324 (5x5-mode-map, 5x5-mode-menu): Bind them.
17325 (5x5-draw-grid): Tweak the solver's rendering.
17326
17327 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17328
17329 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17330 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17331
17332 2011-06-21 Drew Adams <drew.adams@oracle.com>
17333
17334 * menu-bar.el: Use function variable instead of switch-to-buffer.
17335 (menu-bar-select-buffer-function): New variable.
17336 (menu-bar-update-buffers): Use it (bug#8876).
17337
17338 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17339
17340 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17341 variable's status.
17342
17343 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
17344
17345 * x-dnd.el (x-dnd-version-from-flags)
17346 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17347 and long as number (Bug#8899).
17348 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17349
17350 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17351
17352 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
17353 (completion-try-completion, completion-all-completions): Compute the
17354 metadata argument if it's missing; make it optional (bug#8795).
17355
17356 * wid-edit.el: Use lex-bind and move towards completion-at-point.
17357 (widget-complete): Use new :completion-function property.
17358 (widget-completions-at-point): New function.
17359 (default): Use :completion-function instead of :complete.
17360 (widget-default-completions): Rename from widget-default-complete;
17361 Rewrite.
17362 (widget-string-complete, widget-file-complete, widget-color-complete):
17363 Remove functions.
17364 (file, symbol, function, variable, coding-system, color):
17365 * international/mule-cmds.el (default-input-method, charset)
17366 (language-info-custom-alist):
17367 * cus-edit.el (face): Use new property :completions.
17368
17369 * progmodes/pascal.el (pascal-completions-at-point): New function.
17370 (pascal-mode): Use it.
17371 (pascal-mode-map): Use completion-at-point.
17372 (pascal-toggle-completions): Make obsolete.
17373 (pascal-complete-word, pascal-show-completions):
17374 * progmodes/octave-mod.el (octave-complete-symbol):
17375 Redefine as obsolete alias.
17376 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17377 Signal absence of completion info for old Octave,
17378 (inferior-octave-complete): Redefine as obsolete alias.
17379 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17380 (meta-completions-at-point): Rename from meta-complete-symbol and
17381 adapt it for use on completion-at-point-functions.
17382 (meta-common-mode): Use it.
17383 (meta-looking-at-backward, meta-match-buffer): Remove.
17384 (meta-complete-symbol): Redefine as obsolete alias.
17385 (meta-common-mode-map): Use completion-at-point.
17386 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17387 (makefile-mode-map): Use completion-at-point.
17388 (makefile-completions-at-point): Rename from makefile-complete and
17389 adapt it for use on completion-at-point-functions.
17390 (makefile-mode): Use it.
17391 (makefile-complete): Redefine as obsolete alias.
17392
17393 2011-06-20 Deniz Dogan <deniz@dogan.se>
17394
17395 * net/rcirc.el: Delete trailing whitespaces once and for all.
17396
17397 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17398
17399 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17400
17401 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
17402
17403 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17404
17405 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17406
17407 2011-06-19 Martin Rudalics <rudalics@gmx.at>
17408
17409 * window.el (display-buffer-other-window-means-other-frame):
17410 Call display-buffer-normalize-alist.
17411 (display-buffer-normalize-specifiers-1): Rename to
17412 display-buffer-normalize-argument. New argument other-frame.
17413 Rewrite.
17414 (display-buffer-normalize-specifiers-2): Rename to
17415 display-buffer-normalize-options.
17416 (display-buffer-normalize-alist-1): New function.
17417 (display-buffer-normalize-specifiers-3): Rename to
17418 display-buffer-normalize-alist.
17419 Call display-buffer-normalize-alist-1.
17420 (display-buffer-normalize-options-inhibit): New variable.
17421 (display-buffer-normalize-specifiers): Rewrite calling
17422 display-buffer-normalize-alist,
17423 display-buffer-normalize-argument, and
17424 display-buffer-normalize-options. Don't call the latter if
17425 display-buffer-normalize-options-inhibit is non-nil.
17426 (frame-auto-delete): New option.
17427 (window-deletable-p): Use frame-auto-delete.
17428 (window-list-no-nils, window-state-ignored-parameters)
17429 (window-state-get-1, window-state-get, window-state-put-list)
17430 (window-state-put-1, window-state-put-2, window-state-put):
17431 New functions.
17432 (display-buffer-normalize-options): Move special-display-p group
17433 after pop-up-frame group (Bug#8851) and (Bug#8856).
17434
17435 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
17436
17437 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17438 groups (Bug#8776).
17439 (rx-submatch-n): New function.
17440 (rx): Document it.
17441
17442 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17443 (Bug#8768).
17444
17445 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17446
17447 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17448
17449 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17450 anytime existing face settings are present (Bug#8889).
17451
17452 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17453 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17454 Remove unused argument.
17455
17456 2011-06-18 Martin Rudalics <rudalics@gmx.at>
17457
17458 * window.el (display-buffer-default-specifiers):
17459 Remove pop-up-frame. Add pop-up-window-min-height,
17460 pop-up-window-min-width, and another reuse-window specifier
17461 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
17462 (display-buffer-normalize-specifiers-2):
17463 Handle split-height-threshold and split-width-threshold also when
17464 pop-up-windows is unset. Add a reuse-window specifier for the
17465 case popping up a new window fails.
17466 (special-display-popup-frame): Remove double quoting.
17467 (display-buffer-normalize-specifiers-1): Fix thinko.
17468
17469 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17470
17471 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17472 according to comint-completion-addsuffix.
17473
17474 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17475 (pcomplete-suffix-list): Mark as obsolete.
17476 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17477 pcomplete-seen in the closure.
17478 (pcomplete-comint-setup): Setup completion-at-point as well.
17479 (pcomplete--entries): New function.
17480 (pcomplete--env-regexp): New var.
17481 (pcomplete-entries): Rewrite to work with partial-completion and
17482 without relying on pcomplete-suffix-list.
17483 (pcomplete-pare-list): Remove, unused.
17484
17485 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17486
17487 * window.el (display-buffer-alist): Set pop-up-window-min-height
17488 and pop-up-window-min-width in default value. Reported by
17489 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17490 other-window-means-other-frame.
17491 (display-buffer-macro-specifiers): Comment out entry for
17492 other-window specifier.
17493 (display-buffer-other-window-means-other-frame): New function.
17494 (display-buffer-normalize-specifiers-1): New arguments
17495 buffer-name and label. Treat other-window case specially.
17496 (display-buffer-normalize-specifiers-2): Treat other-window case
17497 specially.
17498 (display-buffer-normalize-specifiers-3): New function.
17499 (display-buffer-normalize-specifiers):
17500 Call display-buffer-normalize-specifiers-3.
17501
17502 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17503
17504 * window.el (same-window-p): Fix two typos introduced when
17505 adding with-no-warnings.
17506 (display-buffer-normalize-specifiers-1): Don't check
17507 pop-up-frames for 'unset initialization.
17508 (display-buffer-normalize-specifiers-2): Major rewrite using
17509 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17510 (pop-up-frames, display-buffer-reuse-frames)
17511 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17512 Suggested by David Engster <deng@randomsample.de>.
17513 (even-window-heights): Initialize to 'unset.
17514 (display-buffer-alist-set): Handle new 'unset initializations.
17515 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17516 other window case.
17517
17518 2011-06-16 Martin Rudalics <rudalics@gmx.at>
17519
17520 * window.el (display-buffer-normalize-specifiers-1):
17521 Respect current value of pop-up-frames for most reasonable values of
17522 second argument of display-buffer (Bug#8865).
17523 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17524 (switch-to-buffer-other-window-same-frame)
17525 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17526 Adams (Bug#8875).
17527 (display-buffer): Don't check noninteractive when calling
17528 display-buffer-pop-up-frame.
17529 (display-buffer-pop-up-frame): Never pop up a frame in
17530 noninteractive mode (Bug#8857).
17531 (enlarge-window, shrink-window): Don't report an error when the
17532 window can't be resized as requested (Bug#8862).
17533
17534 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17535
17536 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17537
17538 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17539
17540 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17541
17542 2011-06-15 Alan Mackenzie <acm@muc.de>
17543
17544 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17545 for declarators, disable knr checking to speed up for normal files.
17546 2: Refactor, replacing a sequence of nested if forms by a cond form.
17547
17548 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17549
17550 * net/network-stream.el (open-network-stream): Add the keyword
17551 :always-query-capabilities for the case where you want to force a
17552 `plain' network connection, but the protocol still requires the
17553 capabilitiy command (i.e., SMTP and EHLO).
17554
17555 * subr.el (process-live-p): Rename from `process-alive-p' for
17556 consistency with other `-live-p' functions.
17557
17558 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17559
17560 * window.el (same-window-buffer-names, same-window-regexps)
17561 (special-display-frame-alist, special-display-popup-frame)
17562 (special-display-function, special-display-buffer-names)
17563 (special-display-regexps, pop-up-frame-alist)
17564 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17565 (pop-up-windows, split-window-preferred-function)
17566 (split-height-threshold, split-width-threshold, even-window-heights)
17567 (display-buffer-mark-dedicated): Don't encourage the use of
17568 display-buffer-alist from Elisp code.
17569
17570 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17571
17572 * progmodes/python.el (python-mode): Derive from prog-mode.
17573 * progmodes/ps-mode.el (ps-mode):
17574 * progmodes/mixal-mode.el (mixal-mode):
17575 * progmodes/cfengine.el (cfengine-mode):
17576 * progmodes/ld-script.el (ld-script-mode): Likewise.
17577
17578 2011-06-15 Martin Rudalics <rudalics@gmx.at>
17579
17580 * window.el (display-buffer-alist): Trim default value to avoid
17581 popping up a new frame (Bug#8857) or reusing an arbitrary window
17582 on another frame.
17583 (display-buffer): Do not fall back on popping up a new frame in
17584 batch mode (Bug#8857).
17585
17586 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
17587
17588 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17589 (custom-theme-summary): New function.
17590 (customize-themes): Use it.
17591
17592 2011-06-13 Glenn Morris <rgm@gnu.org>
17593
17594 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17595
17596 2011-06-13 Martin Rudalics <rudalics@gmx.at>
17597
17598 * help.el (help-window): Remove variable.
17599 (help-window-point-marker, temp-buffer-max-height)
17600 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17601 (help-print-return-message): Don't set help-window.
17602 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17603 (help-window-setup-finish): Remove.
17604 (help-window-display-message, help-window-setup)
17605 (with-help-window): Major rewrite based on new
17606 display-buffer-window variable.
17607
17608 * help-mode.el (help-mode-finish): Remove help-window related
17609 code.
17610
17611 * view.el (view-exits-all-viewing-windows): Remove reference to
17612 view-return-to-alist in doc-string.
17613 (view-return-to-alist): Make obsolete.
17614 (view-buffer): Call pop-to-buffer-same-window and remove
17615 undo-window code.
17616 (view-buffer-other-window): Call pop-to-buffer-other-window and
17617 simplify code. Ignore second argument.
17618 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17619 simplify code. Ignore second argument.
17620 (view-return-to-alist-update): Make obsolete.
17621 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17622 Rewrite using quit-restore window parameters.
17623 (view-mode-exit): Rename second argument to EXIT-ONLY.
17624 Rewrite using quit-restore-window.
17625 (View-exit, View-exit-and-edit, View-leave, View-quit)
17626 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17627 appropriate arguments.
17628 (view-end-message): Use quit-restore window parameter.
17629
17630 * window.el (display-buffer-function): Rewrite doc-string.
17631 (display-buffer-window, display-buffer-alist): New variables.
17632 (display-buffer-split-specifiers)
17633 (display-buffer-side-specifiers)
17634 (display-buffer-macro-specifiers): New constants.
17635 (display-buffer-even-window-sizes, display-buffer-set-height)
17636 (display-buffer-set-width, display-buffer-select-window)
17637 (display-buffer-in-window, display-buffer-reuse-window)
17638 (display-buffer-split-window-1, display-buffer-split-window)
17639 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17640 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17641 (display-buffer-in-side-window, normalize-buffer-to-display)
17642 (display-buffer-normalize-specifiers-1)
17643 (display-buffer-normalize-specifiers-2)
17644 (display-buffer-normalize-specifiers, display-buffer-frame):
17645 New functions.
17646 (display-buffer): Major rewrite.
17647 (display-buffer-other-window, display-buffer-other-frame)
17648 (pop-to-buffer, switch-to-buffer-other-window)
17649 (switch-to-buffer-other-frame): Rewrite.
17650 (display-buffer-same-window, display-buffer-same-frame)
17651 (display-buffer-same-frame-other-window)
17652 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17653 (pop-to-buffer-other-window)
17654 (pop-to-buffer-same-frame-other-window)
17655 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17656 (switch-to-buffer-other-window-same-frame): New functions.
17657 (same-window-p, special-display-p): Rewrite disabling warnings.
17658 Make obsolete.
17659 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17660 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17661 Make obsolete
17662 (same-window-buffer-names, same-window-regexps)
17663 (special-display-frame-alist, special-display-popup-frame)
17664 (special-display-function, special-display-buffer-names)
17665 (special-display-regexps, pop-up-frame-alist)
17666 (pop-up-frame-function, split-window-preferred-function)
17667 (split-height-threshold, split-width-threshold)
17668 (even-window-heights): Make obsolete.
17669
17670 2011-06-12 Glenn Morris <rgm@gnu.org>
17671
17672 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
17673 Misc simplifications.
17674
17675 2011-06-12 Martin Rudalics <rudalics@gmx.at>
17676
17677 * window.el (window-safely-shrinkable-p): Restore function which
17678 was inadvertently removed in change from 2011-06-11. Declare as
17679 obsolete.
17680
17681 * calendar/calendar.el (calendar-generate-window):
17682 Use window-iso-combined-p instead of combination of one-window-p and
17683 window-safely-shrinkable-p.
17684
17685 2011-06-12 Glenn Morris <rgm@gnu.org>
17686
17687 * progmodes/fortran.el (fortran-mode-syntax-table):
17688 * progmodes/f90.el (f90-mode-syntax-table):
17689 Set % to punctuation. (Bug#8820)
17690 (f90-find-tag-default): Remove, no longer needed.
17691
17692 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17693
17694 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17695
17696 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
17697
17698 * image.el (image-animated-p): Return animation delay in seconds.
17699 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17700 (image-animate-timeout): Remove DELAY argument. Don't assume
17701 every subimage has the same delay; get it from image-animated-p.
17702 (image-animate): Caller changed.
17703
17704 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
17705
17706 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17707 to ignored backtrace functions.
17708
17709 2011-06-11 Glenn Morris <rgm@gnu.org>
17710
17711 * calendar/appt.el (appt-disp-window-function): Doc fix.
17712 (appt-check): Handle overlapping appointments. (Bug#8337)
17713
17714 2011-06-11 Martin Rudalics <rudalics@gmx.at>
17715
17716 * window.el (window-tree-1, window-tree): New functions, moving
17717 the latter to window.el.
17718 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17719 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17720 (bw-refresh-edges): Remove.
17721 (balance-windows-1, balance-windows-2): New functions.
17722 (balance-windows): Rewrite in terms of window tree functions,
17723 balance-windows-1 and balance-windows-2.
17724 (bw-adjust-window): Remove.
17725 (balance-windows-area-adjust): New function with functionality of
17726 bw-adjust-window but using resize-window.
17727 (set-window-text-height): Rewrite doc-string.
17728 Use normalize-live-window and resize-window.
17729 (enlarge-window-horizontally, shrink-window-horizontally):
17730 Rename argument to DELTA.
17731 (window-buffer-height): New function.
17732 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17733 Rewrite using new window resize routines.
17734 (kill-buffer-and-window, mouse-autoselect-window-select):
17735 Use ignore-errors instead of condition-case.
17736 (quit-window): Call delete-frame instead of delete-windows-on
17737 for the only buffer on frame.
17738
17739 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17740
17741 * loadup.el (top-level): Load window before files for the sake
17742 of replace-buffer-in-windows.
17743
17744 * files.el (read-buffer-to-switch)
17745 (switch-to-buffer-other-window)
17746 (switch-to-buffer-other-frame, display-buffer-other-frame):
17747 Move to window.el.
17748
17749 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17750 (previous-buffer): Move to window.el.
17751
17752 * bindings.el (unbury-buffer): Move to window.el.
17753
17754 * window.el (delete-other-windows-vertically): Move after
17755 definition of delete-other-windows.
17756 (other-window, delete-windows-on, replace-buffer-in-windows):
17757 Move here from window.c.
17758 (record-window-buffer, unrecord-window-buffer)
17759 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17760 (switch-to-next-buffer): New functions.
17761 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17762 from simple.el. Call switch-to-next-buffer.
17763 (previous-buffer): Move here from simple.el.
17764 Call switch-to-prev-buffer.
17765 (bury-buffer): Move here from buffer.c. Switch to previous
17766 buffer when window cannot be deleted.
17767 (unbury-buffer): Move here from bindings.el.
17768 (ctl-x-map): Move binding for other-window from window.c to
17769 here.
17770 (read-buffer-to-switch, switch-to-buffer-other-window)
17771 (switch-to-buffer-other-frame): Move here from files.el.
17772 (normalize-buffer-to-switch-to): New functions.
17773 (switch-to-buffer): Move here from buffer.c.
17774 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
17775
17776 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17777
17778 * window.el (window-min-height, window-min-width): Move here
17779 from window.c. Add defcustoms and rewrite doc-strings.
17780 (resize-mini-window, resize-window): New functions.
17781 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17782 Move here from window.c.
17783 (maximize-window, minimize-window): New functions.
17784 (delete-window, delete-other-windows, split-window): Move here
17785 from window.c.
17786 (window-split-min-size): New function.
17787 (split-window-keep-point): Mention split-window-above-each-other
17788 instead of split-window-vertically.
17789 (split-window-above-each-other, split-window-vertically):
17790 Rename split-window-vertically to split-window-above-each-other
17791 and provide defalias for old definition.
17792 (split-window-side-by-side, split-window-horizontally):
17793 Rename split-window-horizontally to split-window-side-by-side
17794 and provide defalias for the old definition.
17795 (ctl-x-map): Move bindings for delete-window,
17796 delete-other-windows and enlarge-window here from window.c.
17797 Replace bindings for split-window-vertically and
17798 split-window-horizontally by bindings for
17799 split-window-above-each-other and split-window-side-by-side.
17800
17801 * cus-start.el (all): Remove entries for window-min-height and
17802 window-min-width. Add entries for window-splits and
17803 window-nest.
17804
17805 2011-06-09 Glenn Morris <rgm@gnu.org>
17806
17807 * calendar/appt.el (appt-mode-line): New function.
17808 (appt-check, appt-disp-window): Use it.
17809
17810 * files.el (hack-one-local-variable-eval-safep):
17811 Allow minor-modes with explicit +/-1 arguments.
17812
17813 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17814
17815 * term/xterm.el (xterm): Add defgroup.
17816 (xterm-extra-capabilities): Add defcustom to supply known xterm
17817 capabilities, skip querying them, or query them (default).
17818 (terminal-init-xterm): Use it.
17819 (terminal-init-xterm-modify-other-keys): New function to set up
17820 modifyOtherKeys support to simplify `terminal-init-xterm'.
17821
17822 2011-06-09 Martin Rudalics <rudalics@gmx.at>
17823
17824 * window.el (resize-window-reset, resize-window-reset-1)
17825 (resize-subwindows-skip-p, resize-subwindows-normal)
17826 (resize-subwindows, resize-other-windows, resize-this-window)
17827 (resize-root-window, resize-root-window-vertically)
17828 (window-deletable-p, window-or-subwindow-p)
17829 (frame-root-window-p): New functions.
17830
17831 2011-06-09 Glenn Morris <rgm@gnu.org>
17832
17833 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17834 (ange-ftp-get-files): Use it.
17835
17836 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17837
17838 * mail/sendmail.el (mail-recover-1, mail-recover):
17839 * files.el (recover-file, recover-session):
17840 Handle dired-listing-switches not being just a single short option.
17841
17842 2011-06-09 Glenn Morris <rgm@gnu.org>
17843
17844 * calendar/appt.el (appt-display-message, appt-disp-window):
17845 Handle lists of appointments.
17846
17847 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17848
17849 * window.el (one-window-p): Move down in code.
17850 Rewrite doc-string.
17851 (window-current-scroll-bars): Rewrite doc-string.
17852 Normalize live window argument.
17853 (walk-windows, get-window-with-predicate, count-windows):
17854 Rewrite doc-string. Use window-list-1.
17855 (window-in-direction-2, window-in-direction, get-mru-window):
17856 New functions.
17857
17858 2011-06-08 Reuben Thomas <rrt@sc3d.org>
17859
17860 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17861 Doc fix (Bug#8713).
17862
17863 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
17864
17865 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17866
17867 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
17868
17869 * loadhist.el (unload-feature-special-hooks):
17870 Add `comint-output-filter-functions'.
17871
17872 2011-06-08 Ivan Kanis <gnu@kanis.fr>
17873
17874 * calendar/appt.el (appt-check): Move some initializations into the let.
17875
17876 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17877
17878 * window.el (window-height): Defalias to window-total-height.
17879 (window-width): Defalias to window-body-width.
17880
17881 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
17882
17883 * image-mode.el (image-toggle-animation): New command.
17884 (image-mode-map): Bind it to RET.
17885 (image-mode): Update message.
17886 (image-toggle-display-image): Avoid a spurious cache flush.
17887 (image-transform-rotation): Doc fix.
17888 (image-transform-properties): Return quickly in the normal case.
17889 (image-animate-loop): Rename from image-animate-max-time.
17890
17891 * image.el (image-animate-max-time): Move to image-mode.el.
17892 (create-animated-image): Remove unnecessary function.
17893 (image-animate): Rename from image-animate-start. New arg.
17894 (image-animate-stop): Remove; just use image-animate-timer.
17895 (image-animate-timer): Use car-safe.
17896 (image-animate-timeout): Rename argument.
17897
17898 2011-06-07 Martin Rudalics <rudalics@gmx.at>
17899
17900 * window.el (get-lru-window, get-largest-window): Move here from
17901 window.c. Rename first argument to ALL-FRAMES.
17902 Rephrase doc-strings.
17903 (get-buffer-window-list): Rewrite using window-list-1.
17904 Rephrase doc-string.
17905 (window-safe-min-height, window-safe-min-width): New constants.
17906 (window-size-ignore, window-min-size, window-min-size-1)
17907 (window-sizable, window-sizable-p, window-size-fixed-1)
17908 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17909 (window-max-delta-1, window-max-delta, window-resizable)
17910 (window-resizable-p, window-total-height, window-total-width)
17911 (window-body-width): New functions.
17912 (window-full-height-p, window-full-width-p): Rewrite using
17913 window-total-size.
17914 (window-body-height): Rewrite using window-body-size.
17915
17916 2011-06-06 Martin Rudalics <rudalics@gmx.at>
17917
17918 * window.el (window-right, window-left, window-child)
17919 (window-child-count, window-last-child, window-any-p)
17920 (normalize-live-buffer, normalize-live-frame)
17921 (normalize-any-window, normalize-live-window)
17922 (window-iso-combination-p, window-iso-combined-p)
17923 (window-iso-combinations)
17924 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17925 (windows-with-parameter, window-with-parameter)
17926 (window-atom-root, make-window-atom, window-atom-check-1)
17927 (window-atom-check, window-side-check, window-check):
17928 New functions.
17929 (ignore-window-parameters, window-sides, window-sides-vertical)
17930 (window-sides-slots): New variables.
17931 (window-size-fixed): Move down in code. Minor doc-string fix.
17932
17933 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17934
17935 * comint.el (comint-dynamic-complete-as-filename)
17936 (comint-dynamic-complete-filename): Correctly call
17937 completion-in-region.
17938
17939 2011-06-05 Deniz Dogan <deniz@dogan.se>
17940
17941 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17942 in last change.
17943
17944 2011-06-05 Deniz Dogan <deniz@dogan.se>
17945
17946 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17947 (rcirc): Use it to prompt for encryption.
17948
17949 2011-06-05 Roland Winkler <winkler@gnu.org>
17950
17951 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17952 (bibtex-search-entries): New command bound to C-c C-a.
17953 (bibtex-display-entries): New function.
17954
17955 2011-06-05 Roland Winkler <winkler@gnu.org>
17956
17957 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17958 (bibtex-insert-kill): After yanking insert newline if necessary.
17959 (bibtex-initialize): Call bibtex-string-files-init only once.
17960 (bibtex-mode): Do not call easy-menu-add.
17961 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17962 (bibtex-yank): Set arg properly if nil.
17963
17964 2011-06-05 Roland Winkler <winkler@gnu.org>
17965
17966 * textmodes/bibtex.el (bibtex-search-entry-globally):
17967 New variable.
17968 (bibtex-search-entry): Use it.
17969
17970 2011-06-05 Roland Winkler <winkler@gnu.org>
17971
17972 * textmodes/bibtex.el (bibtex-entry-format): New option
17973 sort-fields.
17974 (bibtex-format-entry, bibtex-reformat): Honor this option.
17975 (bibtex-parse-entry): Return fields in proper order.
17976
17977 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
17978
17979 * doc-view.el (doc-view-remove-if): Move computation of result out
17980 of `dolist' to silence misleading lexical-binding warning.
17981
17982 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
17983
17984 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17985 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17986
17987 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17988
17989 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17990 "SunOS 5.10".
17991
17992 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17993
17994 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17995 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17996 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17997 (tramp-parse-putty):
17998 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17999 (tramp-completion-function-alist-ssh)
18000 (tramp-completion-function-alist-telnet)
18001 (tramp-completion-function-alist-su)
18002 (tramp-completion-function-alist-putty): Set `tramp-autoload'
18003 cookie.
18004
18005 * net/tramp-ftp.el:
18006 * net/tramp-sh.el:
18007 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18008 load "tramp.el" `tramp-set-completion-function'.
18009
18010 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
18011
18012 * shell.el: Require and use pcomplete.
18013 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18014 (shell-completion-vars): Set pcomplete-default-completion-function.
18015
18016 2011-06-04 Deniz Dogan <deniz@dogan.se>
18017
18018 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18019 `memq' (Bug#8799).
18020
18021 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18022
18023 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18024
18025 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
18026
18027 * bs.el (bs--mark-unmark, bs--nth-wrapper):
18028 * mpc.el (mpc-select-extend, mpc-songpointer-context):
18029 * vc/log-view.el (log-view-beginning-of-defun):
18030 * vc/smerge-mode.el (smerge-apply-resolution-patch)
18031 (smerge-refine-forward, smerge-refine-chopup-region):
18032 Silence warning for unused `dotimes' counter variables.
18033
18034 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18035
18036 * net/tramp.el (tramp-with-progress-reporter): Rename from
18037 with-progress-reporter. Use `declare'.
18038 * net/tramp-smb.el:
18039 * net/tramp-sh.el:
18040 * net/tramp-gvfs.el: Update all uses.
18041
18042 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
18043
18044 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
18045 buffer isn't killed before making it current.
18046
18047 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18048
18049 Silence various byte-compiler warnings.
18050 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18051 `access-type' and new obsolescence format.
18052 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18053 new format.
18054 (byte-compile-check-variable): New `access-type' argument.
18055 Only warn if the access-type is obsolete.
18056 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18057 (byte-compile-variable-set): Adjust callers.
18058 * help-fns.el (describe-variable): Adjust to new obsolescence format.
18059 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
18060 setting it as obsolete.
18061 * simple.el (minibuffer-completing-symbol):
18062 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
18063 access as obsolete.
18064 * minibuffer.el (minibuffer-completing-file-name): Don't make it
18065 obsolete yet.
18066 * international/quail.el (quail-mouse-choose-completion): Remove unused
18067 code referring to obsolete var.
18068 (quail-choose-completion-string): Remove.
18069 * server.el (server-clients-with, server-kill-buffer-query-function)
18070 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
18071 * proced.el (proced-send-signal):
18072 * emacs-lisp/lisp.el (lisp-complete-symbol):
18073 Replace completion-annotate-function with completion-extra-properties.
18074
18075 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18076
18077 * simple.el (goto-line): Use read-number.
18078 (overriding-map-is-bound): Remove.
18079 (saved-overriding-map): Change default.
18080 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
18081 Take the map as argument.
18082 (universal-argument, negative-argument, digit-argument): Use it.
18083 (restore-overriding-map): Adjust.
18084 (do-auto-fill): Use fill-forward-paragraph.
18085 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
18086
18087 * minibuffer.el (minibuffer-inactive-mode-map): New var.
18088 (minibuffer-inactive-mode): New major mode.
18089 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
18090 the *Messages* buffer" hack.
18091 (mouse-popup-menubar): Don't burp if the event is a normal key.
18092
18093 Miscellaneous tweaks.
18094 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18095 lexical scoping as in subr.el's dolist and dotimes.
18096 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18097 Silence compiler warning.
18098 * thingatpt.el (forward-whitespace): Trivial coding style fix.
18099 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18100 * international/ccl.el (ccl-compile): Trivial simplification.
18101 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
18102 * emacs-lisp/testcover.el (testcover-end): Remove spurious
18103 `printflag' argument.
18104 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18105 Purecopy the whole obsolescence data.
18106
18107 2011-06-01 Leo Liu <sdl.web@gmail.com>
18108
18109 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
18110 improve doc-string as suggested by Marco Pessotto
18111 <melmothx@gmail.com>.
18112 (rcirc-print): Fix last change.
18113
18114 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18115
18116 * minibuffer.el (complete-with-action): Return nil for the metadata and
18117 boundaries of non-functional tables.
18118 (completion-table-dynamic): Return nil for the metadata.
18119 (completion-table-with-terminator): Add default case, using
18120 complete-with-action.
18121 (completion--metadata): New function.
18122 (completion-all-sorted-completions, minibuffer-completion-help): Use it
18123 to try and avoid pathological performance problems.
18124 (completion--embedded-envvar-table): Return `category' metadata.
18125
18126 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
18127
18128 * subr.el (process-alive-p): New tiny convenience function.
18129
18130 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18131
18132 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
18133 content but also its previous major mode.
18134
18135 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
18136
18137 * emacs-lisp/debug.el (debug): Restore the previous content of the
18138 *Backtrace* buffer when we exit with C-M-c.
18139
18140 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18141
18142 * minibuffer.el: Add metadata method to completion tables.
18143 (completion-category-overrides): New defcustom.
18144 (completion-metadata, completion--field-metadata)
18145 (completion-metadata-get, completion--styles)
18146 (completion--cycle-threshold): New functions.
18147 (completion-try-completion, completion-all-completions):
18148 Add `metadata' argument to choose completion-styles.
18149 (completion--do-completion): Use metadata to choose cycling.
18150 (completion-all-sorted-completions): Use metadata for sorting.
18151 Remove :completion-cycle-penalty which is not needed any more.
18152 (completion--try-word-completion): Add `metadata' argument.
18153 (minibuffer-completion-help): Check metadata for annotation function
18154 and sorting.
18155 (completion-file-name-table): Return `category' metadata.
18156 (minibuffer-completing-file-name): Make obsolete.
18157 * simple.el (minibuffer-completing-symbol): Make obsolete.
18158 * icomplete.el (icomplete-completions): Pass new `metadata' param to
18159 completion-try-completion.
18160
18161 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18162
18163 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
18164
18165 2011-05-30 Leo Liu <sdl.web@gmail.com>
18166
18167 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
18168 (rcirc-print): Decode all incoming messages (bug#8744).
18169 (rcirc-decode-coding-system): Allow value nil for automatic coding
18170 system detection.
18171
18172 2011-06-01 Glenn Morris <rgm@gnu.org>
18173
18174 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
18175
18176 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18177
18178 * image.el (image-animate-max-time): Allow nil and t values.
18179 Default to nil.
18180 (create-animated-image): Doc fix.
18181 (image-animate-start): Remove second arg; just use
18182 image-animate-max-time.
18183 (image-animate-timeout): Doc fix. Args changed.
18184
18185 * image-mode.el (image-toggle-display-image): Ensure that the
18186 image spec passed to the animate timer is the same object as in
18187 the buffer's display property (Bug#6981).
18188 (image-transform-properties): Doc fix.
18189
18190 * image.el (image-animate-max-time): Default to nil.
18191
18192 2011-05-29 Martin Rudalics <rudalics@gmx.at>
18193
18194 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
18195 entire buffer list (Bug#8184).
18196
18197 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18198
18199 * image.el (imagemagick-types-inhibit)
18200 (imagemagick-register-types): Doc fix.
18201
18202 2011-05-29 Deniz Dogan <deniz@dogan.se>
18203
18204 * net/rcirc.el (rcirc): Use the user's stored encryption method by
18205 default.
18206
18207 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18208
18209 * select.el: Don't perform clipboard-manager saving in hooks;
18210 leave the hooks empty.
18211
18212 2011-05-28 Leo Liu <sdl.web@gmail.com>
18213
18214 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
18215 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
18216 (occur-edit-mode): New major mode (Bug#8463).
18217 (occur-after-change-function): New function.
18218 (occur-engine): Give Occur tags a read-only property.
18219
18220 2011-05-28 Kevin Ryde <user42@zip.com.au>
18221
18222 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
18223
18224 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18225
18226 * bindings.el (help-echo): Make the initial non-indicator dash
18227 empty on graphical terminals (Bug#7295).
18228
18229 * files.el (auto-mode-alist): Move config rule after the
18230 in-stripping one (Bug#8547).
18231
18232 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
18233
18234 * startup.el (normal-splash-screen): Remove gratuitous mode-line
18235 setting (Bug#8740).
18236
18237 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
18238
18239 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
18240 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
18241 (Bug#8539).
18242
18243 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18244
18245 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
18246
18247 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
18248
18249 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
18250 (hs-hide-block-at-point, hs-find-block-beginning)
18251 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
18252 (Bug#8279).
18253
18254 2011-05-28 Glenn Morris <rgm@gnu.org>
18255
18256 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
18257
18258 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18259
18260 * help-fns.el (describe-function-1): If the function is a derived
18261 major mode, print the parent mode.
18262
18263 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
18264 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
18265
18266 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
18267
18268 * minibuffer.el (completion--capf-wrapper): Check applicability before
18269 returning non-nil for non-exclusive completion data.
18270 * progmodes/etags.el (tags-completion-at-point-function):
18271 * info-look.el (info-lookup-completions-at-point): Mark as
18272 non-exclusive.
18273 (info-complete): Adjust accordingly.
18274
18275 * info-look.el: Convert to lexical-binding and completion-at-point.
18276 (info-lookup-completions-at-point): New function.
18277 (info-complete): Use it and completion-in-region.
18278
18279 2011-05-28 Drew Adams <drew.adams@oracle.com>
18280
18281 * isearch.el: Let M-e start with point at the first mismatched char.
18282 (isearch-fail-pos): New function.
18283 (isearch-edit-string): Use it.
18284
18285 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18286
18287 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18288
18289 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
18290
18291 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
18292 traversal functions for avl-trees.
18293 (avl-tree--stack): New struct.
18294 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18295 (avl-tree-enter): Add optional `updatefun' arg.
18296 (avl-tree--do-enter): Add optional `updatefun' arg.
18297 Change return value.
18298 (avl-tree-delete): Add optional `test' and `nilflag' args.
18299 (avl-tree--do-delete): Add `test' and `nilflag' args.
18300 Change return value.
18301 (avl-tree-member): Add optional `nilflag'
18302 (avl-tree-member-p): New function.
18303 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18304 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18305 (avl-tree-stack-empty-p): New functions.
18306
18307 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18308 avl-tree--del-balance1 and make it work both ways.
18309 (avl-tree--del-balance2): Remove.
18310 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18311 make it work both ways.
18312 (avl-tree--enter-balance2): Remove.
18313 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18314 New macros.
18315 (avl-tree--mapc, avl-tree-map): Add direction argument.
18316
18317 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
18318
18319 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18320
18321 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
18322
18323 * select.el: Support clipboard managers with built-in function
18324 x-clipboard-manager-save, via delete-frame-functions and
18325 kill-emacs-hook.
18326 (xselect-convert-to-targets): Add MULTIPLE target to list.
18327 (xselect-convert-to-save-targets): New function.
18328
18329 2011-05-27 Kenichi Handa <handa@m17n.org>
18330
18331 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18332 let-binding rfc2047-encode-encoded-words to nil.
18333
18334 2011-05-27 Glenn Morris <rgm@gnu.org>
18335
18336 * mail/emacsbug.el: Don't require url-util.
18337
18338 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
18339
18340 * files.el (set-auto-mode):
18341 Also respect mode: entries at the end of the file. (Bug#8586)
18342
18343 2011-05-26 Glenn Morris <rgm@gnu.org>
18344
18345 * files.el (hack-local-variables-prop-line, hack-local-variables):
18346 Downcase mode names, as seems to be traditional.
18347 (hack-local-variables, hack-local-variables-apply): Doc fixes.
18348
18349 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18350 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
18351
18352 2011-05-25 Julien Danjou <julien@danjou.info>
18353
18354 * textmodes/rst.el (rst-define-level-faces): Do not define face
18355 symbol if it is already defined.
18356
18357 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18358
18359 * play/5x5.el (5x5-new-game, 5x5-randomize):
18360 Reset 5x5-solver-output to nil when a new grid is cast.
18361 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18362 these debugging traces, as defmacro breaks the compiled code.
18363
18364 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18365
18366 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18367
18368 2011-05-24 Leo Liu <sdl.web@gmail.com>
18369
18370 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18371 (vc-bzr-sha1): Adapt.
18372
18373 * sha1.el: Remove. Function `sha1' is now builtin.
18374
18375 * bindings.el: Provide sha1 feature.
18376
18377 2011-05-24 Kenichi Handa <handa@m17n.org>
18378
18379 * mail/sendmail.el: Require `rfc2047'.
18380 (mail-insert-from-field): Do not perform RFC2047 encoding.
18381 (mail-encode-header): New function.
18382 (sendmail-send-it): Set buffer-file-coding-system of the work
18383 buffer to the return value of select-message-coding-system.
18384 Call mail-encode-header.
18385
18386 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18387
18388 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
18389
18390 * mail/supercite.el (sc-default-cite-frame):
18391 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
18392
18393 2011-05-24 Glenn Morris <rgm@gnu.org>
18394
18395 * progmodes/python.el (brm-menu): Declare.
18396
18397 * emulation/viper.el (viper-set-hooks): Declare.
18398
18399 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18400 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18401 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18402 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18403 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18404 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18405
18406 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18407
18408 Add an :exit-function for completion-at-point.
18409
18410 * minibuffer.el (completion--done): New fun.
18411 (completion--do-completion): Use it. New arg `expect-exact'.
18412 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18413 since completion--do-completion does it for us now.
18414 (minibuffer-force-complete): Use completion--done and
18415 completion--replace. Handle sole-completion case with more care.
18416 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18417 (completion-extra-properties): New var.
18418 (completion-annotate-function): Make obsolete.
18419 (minibuffer-completion-help): Adjust accordingly.
18420 Use completion-list-insert-choice-function.
18421 (completion-at-point, completion-help-at-point):
18422 Bind completion-extra-properties.
18423 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18424 * simple.el (completion-list-insert-choice-function): New var.
18425 (completion-setup-function): Preserve it.
18426 (choose-completion): Pay attention to it, shuffle the code a bit.
18427 (choose-completion-string): New arg `insert-function'.
18428
18429 * textmodes/bibtex.el: Convert to lexical binding.
18430 (bibtex-mode-map): Use completion-at-point.
18431 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18432 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18433 (bibtex-complete): Define as obsolete alias.
18434 (bibtex-complete-internal): Remove.
18435 (bibtex-format-entry): Remove unused sub-group in regexp.
18436 * shell.el (shell--command-completion-data)
18437 (shell-environment-variable-completion):
18438 * pcomplete.el (pcomplete-completions-at-point):
18439 * comint.el (comint--complete-file-name-data): Use :exit-function
18440 instead of completion-table-with-terminator so it also works for
18441 choose-completion.
18442
18443 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18444
18445 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18446
18447 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18448 (bug#8710).
18449
18450 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18451
18452 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18453
18454 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18455 customization variable and implement: If non-nil, auto-fill will
18456 be inhibited while on topic's header line.
18457
18458 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18459
18460 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
18461 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
18462 always have a solution in grid size = 5 cases.
18463 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18464 (5x5-solver-output, 5x5-log-buffer): New vars.
18465 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18466 Make these variables buffer local to achieve 5x5 multi-session-ness.
18467 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18468 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18469 (5x5-solve-suggest): New funs.
18470 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18471 randomize a grid so that we ensure that there is always a solution.
18472 (5x5-make-random-grid): Allow other movement than flipping.
18473
18474 2011-05-23 Kevin Ryde <user42@zip.com.au>
18475
18476 * emacs-lisp/advice.el (ad-read-advised-function):
18477 Use `function-called-at-point' as the default, if it has
18478 advice and passes PREDICATE.
18479
18480 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18481
18482 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18483 byte-compile-lambda if it's actually a lambda.
18484
18485 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18486 Fix function quoting. Use backquote better.
18487
18488 2011-05-22 Yuanle Song <sylecn@gmail.com>
18489
18490 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18491 matching (Bug#8516).
18492
18493 2011-01-22 Jari Aalto <jari.aalto@cante.net>
18494
18495 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18496 different face (Bug#8178).
18497
18498 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
18499
18500 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18501 defface (Bug#8144).
18502
18503 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18504
18505 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18506 funcall as well (bug#8712). Warn when performing those conversions.
18507 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18508
18509 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18510
18511 2011-05-22 Glenn Morris <rgm@gnu.org>
18512
18513 * files.el (hack-local-variables-prop-line): Small simplifications.
18514 (hack-local-variables, hack-local-variables-prop-line):
18515 If MODE-ONLY, return the mode, rather than just `t'.
18516
18517 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18518
18519 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18520
18521 2011-05-21 Glenn Morris <rgm@gnu.org>
18522
18523 * files.el (hack-local-variables-prop-line, hack-local-variables):
18524 If only interested in the mode, don't bother doing the other stuff.
18525
18526 * image-mode.el (image-after-revert-hook):
18527 Redraw all frames on which the image is visible. (Bug#8567)
18528
18529 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18530
18531 * wid-edit.el (widget-checklist-match-inline):
18532 Fix 2011-04-19 change. (Bug#8649)
18533
18534 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18535
18536 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18537 Also allow singlespace after single-letter capitals followed by a dot.
18538
18539 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18540 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18541
18542 2011-05-20 Nix <nix@esperi.org.uk>
18543
18544 * files.el (basic-save-buffer-2):
18545 Fix handling of break-hardlink-on-save with non-existent files.
18546
18547 2011-05-19 Deniz Dogan <deniz@dogan.se>
18548
18549 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
18550 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
18551
18552 2011-05-19 Glenn Morris <rgm@gnu.org>
18553
18554 * progmodes/f90.el (f90-type-def-re):
18555 Handle "type, bind(c)". (Bug#8691)
18556
18557 * emacs-lisp/autoload.el (batch-update-autoloads):
18558 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18559
18560 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
18561
18562 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18563 property for the correct connection in case of multihops.
18564
18565 2011-05-18 Glenn Morris <rgm@gnu.org>
18566
18567 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
18568 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18569
18570 Rationalize calendar handling of day and month abbrev-arrays.
18571 * calendar/calendar.el (calendar-customized-p): New function.
18572 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18573 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18574 Add :set function.
18575 (calendar-abbrev-length, calendar-day-abbrev-array)
18576 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18577 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18578 Elements may no longer be nil.
18579 (calendar-day-name, calendar-month-name):
18580 Update for changed nature of abbrev arrays.
18581 * calendar/diary-lib.el (diary-name-pattern):
18582 Update for changed nature of abbrev arrays.
18583 (diary-mark-entries-1): Update calendar-make-alist calls.
18584 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18585 * calendar/cal-html.el (cal-html-day-abbrev-array):
18586 Simply inherit from calendar-day-abbrev-array.
18587
18588 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18589
18590 * progmodes/grep.el (grep-mode): Disable default
18591 compilation-directory-matcher setting (bug#8684).
18592
18593 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
18594
18595 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18596 instead of "head" and "tail". There were problems with SunOS 5.9,
18597 and it performs better.
18598
18599 2011-05-17 Glenn Morris <rgm@gnu.org>
18600
18601 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18602
18603 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18604 Replace obsolete function.
18605
18606 * shell.el (pcomplete-parse-arguments-function): Declare.
18607
18608 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18609 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18610 (appt-check): Doc fixes.
18611 (appt-disp-window-function, appt-delete-window-function):
18612 Remove needless special case in custom :type.
18613 (appt-display-count): Default to 0, not nil.
18614 (appt-check): Reset appt-display-count to 0, not nil.
18615
18616 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
18617
18618 * progmodes/python.el (python-font-lock-keywords):
18619 Add the Python 3.X keyword "nonlocal" (bug#8639).
18620
18621 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18622
18623 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18624
18625 2011-05-16 Kevin Ryde <user42@zip.com.au>
18626
18627 * info-look.el (makefile-automake-mode): New setups, looking in
18628 automake manual, then makefile-mode.
18629 (makefile-mode): Remove automake manual, have it just in
18630 makefile-automake-mode since there's various things different or
18631 not relevant to plain make.
18632 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18633 believe a hypothetical automake-mode would go to makefile-mode,
18634 not the other way around.
18635
18636 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
18637
18638 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18639 hunk-end tags (Bug#8672).
18640
18641 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18642 vc-annotate-show-diff-revision-at-line (Bug#8671).
18643
18644 2011-05-14 Glenn Morris <rgm@gnu.org>
18645
18646 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18647 in the middle of an existing one with multiple authors. (Bug#8645)
18648 (change-log-font-lock-keywords): Also handle multiple author lines
18649 with leading tabs. (Bug#8644)
18650
18651 * calendar/appt.el (appt-check): Rename some local variables.
18652 Some simplification/reordering.
18653
18654 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18655 (feedmail-sendmail-f-doesnt-sell-me-out)
18656 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18657 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18658 (feedmail-queue-runner-message-sender): Set :version.
18659 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18660 (bbdb-dwim-net-address, vm-mail): Declare.
18661 (feedmail-binmail-gnulinuxish-template):
18662 Rename from feedmail-binmail-linuxish-template.
18663 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18664 Use insert-buffer-substring.
18665
18666 2011-05-14 Bill Carpenter <bill@carpenter.org>
18667
18668 * mail/feedmail.el (feedmail-patch-level): Increase.
18669 (feedmail-debug): New custom group.
18670 (feedmail-confirm-outgoing-timeout)
18671 (feedmail-sendmail-f-doesnt-sell-me-out)
18672 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18673 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18674 (feedmail-sender-line, feedmail-from-line)
18675 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
18676 (feedmail-spray-this-address)
18677 (feedmail-spray-address-fiddle-plex-list)
18678 (feedmail-queue-use-send-time-for-date)
18679 (feedmail-queue-use-send-time-for-message-id)
18680 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18681 (feedmail-buffer-eating-function):
18682 Doc fixes.
18683 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18684 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18685 (feedmail-message-action-scroll-down): New functions.
18686 (feedmail-queue-directory, feedmail-queue-draft-directory):
18687 Use expand-file-name.
18688 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18689 Remove C-v help entry.
18690 (feedmail-queue-buffer-file-name): New variable.
18691 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18692 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18693 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18694 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18695 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18696 (feedmail-message-action-toggle-spray)
18697 (feedmail-run-the-queue-no-prompts)
18698 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18699 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18700 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18701 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18702 (feedmail-envelope-deducer, feedmail-fiddle-from)
18703 (feedmail-fiddle-sender, feedmail-default-date-generator)
18704 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18705 (feedmail-fiddle-spray-address)
18706 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18707 (feedmail-fiddle-list-of-fiddle-plexes)
18708 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18709 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18710 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18711 Change default. Doc fix.
18712 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18713 (feedmail-binmail-linuxish-template): New constant.
18714 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18715 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18716 (feedmail-send-it): Add debug call.
18717 Use feedmail-queue-buffer-file-name, and
18718 feedmail-send-it-immediately-wrapper.
18719 (feedmail-message-action-send): Add debug call.
18720 Use feedmail-send-it-immediately-wrapper.
18721 (feedmail-queue-express-to-queue): Add debug call.
18722 Run feedmail-queue-express-hook.
18723 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18724 (feedmail-message-action-help-blat):
18725 Rename from feedmail-queue-send-edit-prompt-help-first.
18726 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18727 Check line-endings. Handle errors better.
18728 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18729 Doc fix. Add debug call.
18730 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18731 Use feedmail-queue-send-edit-prompt-inner.
18732 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18733 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18734 from feedmail-queue-send-edit-prompt.
18735 (feedmail-queue-send-edit-prompt-help)
18736 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18737 (feedmail-tidy-up-slug): Add debug call.
18738 Respect feedmail-queue-slug-suspect-regexp.
18739 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18740 (feedmail-dump-message-to-queue): Add debug call.
18741 Expand queue-directory.
18742 (feedmail-dump-message-to-queue): Change message slightly.
18743 Use feedmail-say-chatter.
18744 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18745 (feedmail-send-it-immediately-wrapper): New function.
18746 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18747 Insert empty string rather than newline. Handle full-frame case.
18748 Use catch/throw. Use feedmail-say-chatter.
18749 (feedmail-fiddle-from): Try mail-host-address.
18750 (feedmail-default-message-id-generator): Doc fix.
18751 Bind system-time-locale. Handle missing end.
18752 (feedmail-fiddle-x-mailer): Add debug call.
18753 Handle feedmail-x-mailer-line being nil.
18754 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18755 Add debug call. Use buffer-substring-no-properties.
18756 (feedmail-say-debug, feedmail-say-chatter): New functions.
18757 (feedmail-find-eoh): Give an explicit error.
18758
18759 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
18760
18761 * net/newst-treeview.el (newsticker-treeview-face): Change default
18762 family from helvetica to sans.
18763 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
18764 etc/images/newsticker.
18765
18766 * net/newst-reader.el (newsticker-feed-face): Change default
18767 family from helvetica to sans.
18768
18769 * net/newst-plainview.el (newsticker-new-item-face)
18770 (newsticker-old-item-face, newsticker-immortal-item-face)
18771 (newsticker-obsolete-item-face, newsticker-date-face)
18772 (newsticker-statistics-face): Change default family from
18773 helvetica to sans.
18774 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
18775 etc/images/newsticker.
18776
18777 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18778 (newsticker--process-auto-mark-filter-match): Tell user about
18779 auto-marking.
18780
18781 2011-05-13 Didier Verna <didier@xemacs.org>
18782
18783 Common Lisp indentation improvements on defmethod and lambda-lists.
18784 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18785 TODO entries.
18786 (lisp-lambda-list-keyword-parameter-indentation)
18787 (lisp-lambda-list-keyword-parameter-alignment)
18788 (lisp-lambda-list-keyword-alignment): New customizable user options.
18789 (lisp-indent-defun-method): Improve docstring.
18790 (extended-loop-p): Fix comment.
18791 (lisp-indent-lambda-list-keywords-regexp): New variable.
18792 (lisp-indent-lambda-list): New function.
18793 (lisp-indent-259): Use it.
18794 (lisp-indent-defmethod): Support for more than one
18795 method qualifier and properly indent methods lambda-lists.
18796 (defgeneric): Provide a missing common-lisp-indent-function property.
18797
18798 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18799
18800 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18801 bounds for the empty string (bug#8667).
18802
18803 2011-05-13 Glenn Morris <rgm@gnu.org>
18804
18805 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18806
18807 * mail/sendmail.el (sendmail-program): Try executable-find first.
18808 (sendmail-send-it): `sendmail-program' cannot be unbound.
18809
18810 * calendar/appt.el (appt-make-list): Simplify.
18811 (appt-time-msg-list): Doc fix.
18812 (appt-check): Change mode-line message at the time of the appointment.
18813
18814 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18815
18816 * progmodes/ld-script.el (ld-script-keywords)
18817 (ld-script-builtins): Update keywords list.
18818
18819 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18820
18821 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18822
18823 * shell.el (shell-completion-vars): New function.
18824 (shell-mode):
18825 * simple.el (read-shell-command): Use it.
18826 (blink-matching-open): No need for " [...]" in minibuffer-message.
18827
18828 2011-05-12 Glenn Morris <rgm@gnu.org>
18829
18830 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18831 (appt-check): Simplify.
18832
18833 2011-05-12 Eli Zaretskii <eliz@gnu.org>
18834
18835 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
18836 literal "/dev/null".
18837
18838 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18839
18840 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18841 Fix typo.
18842
18843 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
18844
18845 * progmodes/which-func.el (which-function):
18846 Use add-log-current-defun instead of add-log-current-defun-function,
18847 which might not be defined (Bug#8260).
18848
18849 2011-05-12 Glenn Morris <rgm@gnu.org>
18850
18851 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18852 Let byte-compile-initial-macro-environment always take precedence.
18853
18854 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18855
18856 * net/rcirc.el: Add support for SSL/TLS connections.
18857 (rcirc-server-alist): New field `encryption'.
18858 (rcirc): Check `encryption' settings.
18859 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18860 Merge make-local-variable into `set'.
18861 (rcirc--connection-open-p): New function.
18862 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18863 the process is not a network process (e.g. running gnutls-cli).
18864 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18865 Make rcirc-(en|de)code-coding-system local here.
18866 (rcirc-mode): Merge make-local-variable into `set'.
18867 (rcirc-parent-buffer): Make permanent buffer-local.
18868 (rcirc-multiline-minor-mode): Don't do it here.
18869 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18870 there's no server buffer.
18871
18872 2011-05-11 Glenn Morris <rgm@gnu.org>
18873
18874 * newcomment.el (comment-kill): Prefix "unused" local.
18875
18876 * term/w32console.el (get-screen-color): Declare.
18877
18878 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18879 Handle symbol elements of byte-compile-initial-macro-environment.
18880
18881 2011-05-10 Leo Liu <sdl.web@gmail.com>
18882
18883 * bookmark.el (bookmark-bmenu-mode-map):
18884 Bind bookmark-bmenu-search to `/'.
18885
18886 * mail/footnote.el: Convert to utf-8 encoding.
18887 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18888 (Footnote-unicode): New function.
18889 (footnote-style-alist): Add unicode style to the list.
18890 (footnote-style): Doc fix.
18891
18892 2011-05-10 Jim Meyering <meyering@redhat.com>
18893
18894 Fix doubled-word typos.
18895 * international/quail.el (quail-insert-kbd-layout): and and -> and
18896 * kermit.el: and and -> and
18897 * net/ldap.el (ldap-search-internal): to to -> to
18898 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18899 * progmodes/js.el (js-mode): and and -> and
18900 * textmodes/artist.el (artist-move-to-xy): at at -> at
18901 (artist-draw-region-trim-line-endings): if if -> if
18902 And Safetyc -> Safety.
18903 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18904
18905 2011-05-10 Glenn Morris <rgm@gnu.org>
18906 Stefan Monnier <monnier@iro.umontreal.ca>
18907
18908 * files.el (hack-one-local-variable-eval-safep):
18909 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18910
18911 2011-05-10 Glenn Morris <rgm@gnu.org>
18912
18913 * calendar/diary-lib.el (diary-list-entries-hook)
18914 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18915 (diary-nongregorian-marking-hook, diary-list-entries)
18916 (diary-include-other-diary-files, diary-mark-entries)
18917 (diary-mark-included-diary-files): Doc fixes.
18918
18919 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18920
18921 * misc.el: Require tabulated-list.el during compilation.
18922
18923 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18924
18925 * progmodes/compile.el (compilation-start):
18926 Run compilation-filter-hook for the async case too.
18927 (compilation-filter-hook): Doc fix.
18928
18929 2011-05-09 Deniz Dogan <deniz@dogan.se>
18930
18931 * wdired.el: Remove outdated installation comment. Fix usage
18932 comment.
18933
18934 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18935
18936 * misc.el: Implement new command `list-dynamic-libraries'.
18937 (list-dynamic-libraries--loaded-only-p): New variable.
18938 (list-dynamic-libraries--refresh): New function.
18939 (list-dynamic-libraries): New command.
18940
18941 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18942
18943 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18944 Fix the ant regexp to handle end-line and end-column info from jikes.
18945 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18946 higher priority to avoid clobbering by gnu.
18947
18948 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18949
18950 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18951 if the face has existing theme settings (Bug#8454).
18952
18953 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18954
18955 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18956 Only match variables declared via `my' or `our' (Bug#8261).
18957
18958 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18959 special file names `.' and `..' (Bug#8259).
18960
18961 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18962
18963 * progmodes/grep.el (grep-mode-font-lock-keywords):
18964 Remove buffer-changing entries.
18965 (grep-filter): New function.
18966 (grep-mode): Add it to compilation-filter-hook.
18967
18968 * progmodes/compile.el (compilation-filter-hook)
18969 (compilation-filter-start): New defvars.
18970 (compilation-filter): Call compilation-filter-hook prior to
18971 updating the process mark.
18972
18973 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18974
18975 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18976
18977 2011-05-07 Eli Zaretskii <eliz@gnu.org>
18978
18979 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18980 mailclient-send-it even if window-system is nil. (Bug#8595)
18981
18982 * term/w32console.el (terminal-init-w32console):
18983 Call get-screen-color and use its output to set the frame
18984 background-mode. (Bug#8597)
18985
18986 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18987
18988 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18989 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18990 New functions.
18991 (defgeneric, eieio--defmethod): Use them.
18992 (eieio-defgeneric): Remove.
18993 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18994
18995 2011-05-07 Glenn Morris <rgm@gnu.org>
18996
18997 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18998 Use let rather than let*.
18999 (timeclock-find-discrep): Remove unused local.
19000
19001 * calendar/diary-lib.el (diary-comment-start): Doc fix.
19002
19003 * calendar/appt.el (appt-time-msg-list): Doc fix.
19004
19005 2011-05-06 Noah Friedman <friedman@splode.com>
19006
19007 * apropos.el (apropos-print-doc): Only use
19008 emacs-lisp-docstring-fill-column when it is bound to an integer,
19009 per that variable's documentation.
19010
19011 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19012
19013 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
19014 and warnings are not silently discarded (e.g. use -d instead of -P).
19015
19016 2011-05-06 Glenn Morris <rgm@gnu.org>
19017
19018 * calendar/appt.el (appt-message-warning-time): Doc fix.
19019 (appt-warning-time-regexp): New option.
19020 (appt-make-list): Respect appt-message-warning-time.
19021
19022 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19023 New options.
19024 (diary-add-to-list): Strip comments from the displayed string.
19025 (diary-mode): Set comment-start and comment-end.
19026
19027 * vc/diff-mode.el (smerge-refine-subst): Declare.
19028 (diff-refine-hunk): Don't require smerge-mode when compiling.
19029
19030 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
19031
19032 * simple.el (list-processes): Return nil as the docstring says.
19033
19034 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
19035
19036 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19037 to "".
19038 (ange-ftp-write-region, ange-ftp-insert-file-contents)
19039 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19040 determining of binary transfer. (Bug#7383)
19041
19042 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
19043
19044 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19045 Fix port computation bug. (Bug#8618)
19046
19047 2011-05-05 Glenn Morris <rgm@gnu.org>
19048
19049 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19050
19051 * simple.el (shell-dynamic-complete-functions)
19052 (comint-dynamic-complete-functions): Declare.
19053
19054 * net/network-stream.el (gnutls-negotiate):
19055 * simple.el (tabulated-list-print): Fix declarations.
19056
19057 * progmodes/gud.el (syntax-symbol, syntax-point):
19058 Remove unnecessary and incorrect declarations.
19059
19060 * emacs-lisp/check-declare.el (check-declare-scan):
19061 Handle byte-compile-initial-macro-environment in bytecomp.el.
19062
19063 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19064
19065 Fix earlier half-done eieio-defmethod change (bug#8338).
19066 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
19067 Streamline and change calling convention.
19068 (defmethod): Adjust accordingly and simplify.
19069 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
19070 new eieio--defmethod.
19071 (slot-boundp): Minor CSE simplification.
19072
19073 2011-05-05 Milan Zamazal <pdm@zamazal.org>
19074
19075 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
19076 (glasses-make-readable): Use glasses-separate-capital-groups.
19077
19078 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
19079
19080 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
19081 (warning-series): Doc fix.
19082 (display-warning): Don't try to create the buffer if we just found it.
19083
19084 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
19085
19086 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
19087 (autoload-find-generated-file): New function.
19088 (generate-file-autoloads): Bind generated-autoload-file to
19089 buffer-file-name.
19090 (update-file-autoloads, update-directory-autoloads):
19091 Use autoload-find-generated-file. If called interactively, prompt for
19092 output file (Bug#7989).
19093 (batch-update-autoloads): Doc fix.
19094
19095 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
19096
19097 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19098
19099 2011-05-04 Glenn Morris <rgm@gnu.org>
19100
19101 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19102 function, so it follows changes in calendar-date-style.
19103 (diary-fancy-date-matcher): New function.
19104 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
19105 (diary-fancy-font-lock-fontify-region-function):
19106 Use diary-fancy-date-pattern as a function.
19107
19108 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
19109 non-numbers for `year' etc pseudo-variables. (Bug#8583)
19110
19111 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
19112
19113 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
19114 instead of positional arguments. Allow :keylist and :crlfiles
19115 arguments.
19116 (open-gnutls-stream): Call it.
19117
19118 * net/network-stream.el (network-stream-open-starttls): Adjust to
19119 call `gnutls-negotiate' with :process and :hostname arguments.
19120
19121 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
19122
19123 * minibuffer.el (completion--message): New function.
19124 (completion--do-completion, minibuffer-complete)
19125 (minibuffer-force-complete, minibuffer-complete-word): Use it.
19126 (completion--do-completion): Don't ignore completion-auto-help when in
19127 icomplete-mode.
19128
19129 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
19130 internal encoding (e.g. tibetan zero is not whitespace).
19131 (global-whitespace-mode): Prefer save-current-buffer.
19132 (whitespace-trailing-regexp): Remove useless save-match-data.
19133 (whitespace-empty-at-bob-regexp): Minor simplification.
19134
19135 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
19136
19137 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
19138
19139 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19140
19141 * textmodes/ispell.el (ispell-add-per-file-word-list):
19142 Use `concat' to create string for insertion.
19143
19144 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19145
19146 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
19147 Avoid open-line which runs post-self-insert-hook.
19148 (bibtex-fill-entry): Remove unused `end' var.
19149
19150 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
19151
19152 * textmodes/ispell.el (ispell-add-per-file-word-list):
19153 Protect against `nil' value of `comment-start' (Bug#8579).
19154
19155 2011-05-03 Leo Liu <sdl.web@gmail.com>
19156
19157 * isearch.el (isearch-yank-pop): New command.
19158 (isearch-mode-map): Bind it to `M-y'.
19159 (isearch-forward): Mention it.
19160
19161 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19162
19163 * simple.el (minibuffer-complete-shell-command): Remove.
19164 (minibuffer-local-shell-command-map): Use completion-at-point.
19165 (read-shell-command): Setup completion vars here instead.
19166 (read-expression-map): Bind TAB to symbol completion.
19167
19168 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
19169 error directly rather via storing it into `results'.
19170
19171 2011-05-02 Leo Liu <sdl.web@gmail.com>
19172
19173 * vc/diff.el: Fix description.
19174
19175 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19176
19177 * server.el (server-eval-at): New function.
19178
19179 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19180
19181 * net/network-stream.el (open-network-stream): Take a :nowait
19182 parameter and pass it on to `make-network-process'.
19183 (network-stream-open-plain): Ditto.
19184
19185 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
19186
19187 * faces.el (face-spec-set-match-display): Don't match toolkit
19188 options on terminal frames.
19189
19190 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
19191
19192 * progmodes/pascal.el: Use lexical binding.
19193 (pascal-mode-map): Remove author preferences.
19194
19195 * pcomplete.el (pcomplete-std-complete): Don't abuse
19196 completion-at-point.
19197
19198 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19199
19200 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
19201 removing code that has been dead since 1991 or so.
19202
19203 * startup.el (command-line): When warning about "_emacs", use a
19204 delayed warning to allow the user to filter it out.
19205
19206 2011-04-28 Deniz Dogan <deniz@dogan.se>
19207
19208 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
19209 user has not joined.
19210
19211 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19212
19213 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
19214 aren't any completions at point.
19215
19216 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19217
19218 * subr.el (display-delayed-warnings): New function.
19219 (delayed-warnings-hook): New variable.
19220
19221 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19222
19223 * minibuffer.el (completion-at-point, completion-help-at-point):
19224 Don't presume that a given completion-at-point-function will always
19225 use the same calling convention.
19226
19227 * pcomplete.el (pcomplete-completions-at-point):
19228 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
19229 pcomplete-seen is non-nil.
19230 (pcomplete-comint-setup): Also recognize the new comint/shell
19231 completion functions.
19232 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
19233 pcomplete-seen is non-nil.
19234
19235 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
19236
19237 * calendar/icalendar.el (diary-lib): Add require statement.
19238 (icalendar--create-uid): Read out a uid from a text-property on
19239 the first character in the entry. This allows for code to add its
19240 own uid to the entry.
19241 (icalendar--convert-float-to-ical): Add export of
19242 `diary-float'-entries save for those with the optional DAY
19243 argument.
19244
19245 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
19246
19247 * subr.el (shell-quote-argument): Use alternate escaping strategy
19248 when we spot a variable reference in a string.
19249
19250 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19251
19252 * cus-start.el (all): Define customization for debug-on-event.
19253
19254 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19255
19256 * subr.el (shell-quote-argument): Escape correctly under Windows.
19257
19258 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19259
19260 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
19261
19262 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
19263
19264 * net/tramp.el (tramp-process-actions): Add POS argument.
19265 Delete region between POS and (pos).
19266
19267 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19268 Use `nil' position in `tramp-process-actions' call.
19269 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
19270
19271 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19272 position in `tramp-process-actions' call.
19273
19274 * net/trampver.el: Update release number.
19275
19276 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19277
19278 * custom.el (defcustom): Obey lexical-binding.
19279
19280 Fix octave-inf completion problems reported by Alexander Klimov.
19281 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19282 Inherit from octave-mode-syntax-table.
19283 (inferior-octave-mode): Set info-lookup-mode.
19284 (inferior-octave-completion-at-point): New function.
19285 (inferior-octave-complete): Use it and completion-in-region.
19286 (inferior-octave-dynamic-complete-functions): Use it as well, and use
19287 comint-filename-completion.
19288 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19289 symbol elements which shouldn't be word elements.
19290 (octave-font-lock-keywords, octave-beginning-of-defun)
19291 (octave-function-header-regexp): Adjust regexps accordingly.
19292 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19293
19294 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
19295
19296 * net/gnutls.el (gnutls-errorp): Declare before first use.
19297
19298 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
19299
19300 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19301 verify-error, and verify-hostname-error parameters. Check whether
19302 default trustfile exists before going to use it. Add missing
19303 argument to gnutls-message-maybe call. Return value.
19304 Reported by Claudio Bley <claudio.bley@gmail.com>.
19305 (open-gnutls-stream): Add usage example.
19306
19307 * net/network-stream.el (network-stream-open-starttls): Give host
19308 parameter to `gnutls-negotiate'.
19309 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
19310 * subr.el (shell-quote-argument): Escape correctly under Windows.
19311
19312 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
19313
19314 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19315 Use correct match group (bug#8438).
19316
19317 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
19318
19319 * emacs-lisp/package.el (package-built-in-p): Fix typo.
19320 (package-menu--generate): New arg specifying packages to show.
19321 (package-menu-refresh, package-menu-execute, list-packages):
19322 Callers changed.
19323 (package-show-package-list): New function, replacing deleted
19324 package--list-packages (renamed because it is non-internal).
19325
19326 * finder.el (finder-list-matches): Use package-show-package-list
19327 instead of deleted package--list-packages.
19328
19329 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19330 Based on a previous implementation by Juanma Barranquero (Bug#8366).
19331 (vc-annotate-mode-map): Bind it to RET.
19332
19333 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
19334
19335 * progmodes/etags.el (next-file): Don't use set-buffer to change
19336 buffers (Bug#8478).
19337
19338 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
19339
19340 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19341
19342 * apropos.el (apropos-label-face): Avoid variable-pitch face.
19343 (apropos-accumulator): Doc fix.
19344 (apropos-function, apropos-macro, apropos-command)
19345 (apropos-variable, apropos-face, apropos-group, apropos-widget)
19346 (apropos-plist): Add face property.
19347 (apropos-symbols-internal): Fix indentation.
19348 (apropos-print): Simplify help, and recognize apropos-multi-type.
19349 (apropos-print-doc): Use button-type-get to extract the button's
19350 face property. Fill docstring (Bug#8352).
19351
19352 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
19353
19354 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19355
19356 * play/mpuz.el (mpuz-silent): Doc fix.
19357 (mpuz-mode-map): Use mapc.
19358 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19359 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19360 Fix typos in docstrings.
19361
19362 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19363 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19364
19365 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19366
19367 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
19368
19369 * minibuffer.el (completion--do-completion): Avoid the "Next char
19370 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19371
19372 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19373 mouse-2 into unread-command-events, it is interpreted correctly.
19374
19375 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
19376 (image-toggle-display): Doc fix.
19377
19378 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
19379
19380 * textmodes/page.el (what-page): Use line-number-at-pos to
19381 calculate line number (Bug#6825).
19382
19383 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
19384
19385 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19386 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19387 Pass argument NO-DEFAULT to `find-tag-interactive'.
19388
19389 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
19390
19391 Lexical-binding cleanup.
19392
19393 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19394 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19395 * progmodes/ada-prj.el (ada-prj-initialize-values)
19396 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19397 (ada-prj-show-value):
19398 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19399 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19400 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19401 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19402 * progmodes/bug-reference.el (bug-reference-push-button):
19403 * progmodes/fortran.el (fortran-line-length):
19404 * progmodes/glasses.el (glasses-change):
19405 * progmodes/octave-mod.el (octave-fill-paragraph):
19406 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19407 (python-pdbtrack-grub-for-buffer, python-sentinel):
19408 * progmodes/sql.el (sql-save-connection):
19409 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19410 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19411 Mark unused parameters.
19412
19413 * progmodes/compile.el (compilation--flush-directory-cache)
19414 (compilation--flush-parse, compile-internal): Mark unused parameters.
19415 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19416 (compilation-next-error-function): Remove unused variable `timestamp'.
19417
19418 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19419 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19420
19421 * progmodes/dcl-mode.el (dcl-end-of-command):
19422 Remove unused variable `start'.
19423 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19424 (dcl-option-value-basic, dcl-option-value-offset)
19425 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19426 Mark unused parameters.
19427 (dcl-save-local-variable): Remove unused variable `val'.
19428 (mode): Declare.
19429
19430 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19431 Mark unused parameters.
19432 (delphi-ignore-changes): Move before first use.
19433 (delphi-charset-token-at): Remove unused variable `start'.
19434 (delphi-else-start): Remove unused variable `if-count'.
19435 (delphi-comment-block-start, delphi-comment-block-end):
19436 Remove unused variable `kind'.
19437 (delphi-indent-line): Remove unused variable `new-point'.
19438
19439 * progmodes/ebrowse.el (ebrowse-files-list)
19440 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19441 Mark unused parameters. Don't quote `lambda'.
19442 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19443 Don't quote `lambda'.
19444 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19445 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19446 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19447 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19448 Use `ignore-errors'.
19449 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19450 (ebrowse-view/find-file-and-search-pattern)
19451 (ebrowse-view/find-member-declaration/definition):
19452 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19453 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19454 Rename parameter PREFIX-ARG to PREFIX.
19455 (ebrowse-tags-read-name): Remove unused variables `start' and
19456 `member-info'.
19457 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19458 to `tags-file'.
19459
19460 * progmodes/etags.el (local-find-tag-hook): Declare.
19461 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19462 Mark unused parameters.
19463
19464 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19465 (executable-interpret): Mark unused parameter.
19466
19467 * progmodes/flymake.el (flymake-process-sentinel)
19468 (flymake-after-change-function)
19469 (flymake-create-temp-with-folder-structure)
19470 (flymake-get-include-dirs-dot): Mark unused parameters.
19471 (flymake-safe-delete-directory): Remove unused variable `err'.
19472
19473 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19474 (speedbar-timer-fn, speedbar-line-text)
19475 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19476 (speedbar-center-buffer-smartly): Declare functions.
19477 (gdb-find-watch-expression): Remove unused variable `array'.
19478 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19479 (gdb-starting): Mark unused parameters.
19480 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19481 (gdb-table-string): Remove unused variable `res'.
19482 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19483 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19484 (gdb-display-buffer): Remove unused variable `cur-size'.
19485
19486 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19487 allow lexical-binding compilation.
19488 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19489 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19490 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19491 Mark unused parameters.
19492 (gud-gdb-marker-filter): Remove unused variable `match'.
19493 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19494 lambda expressions and funcall them, instead of using `fset'.
19495
19496 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19497 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19498
19499 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19500 variable `header-beg'; use `let'.
19501
19502 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19503 `restart', `last-sexp' and `at-do'.
19504
19505 * progmodes/js.el (js--debug): Mark unused parameter.
19506 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19507 (js--splice-into-items): Remove unused variable `item'.
19508 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19509
19510 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19511 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19512 (makefile-complete): Remove unused variable `try'.
19513 (makefile-fill-paragraph, makefile-match-function-end):
19514 Mark unused parameters.
19515
19516 * progmodes/octave-inf.el (inferior-octave-complete):
19517 Remove unused variable `proc'.
19518 (inferior-octave-output-digest): Mark unused parameter.
19519
19520 * progmodes/perl-mode.el (perl-calculate-indent):
19521 Remove unused variable `err'.
19522
19523 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19524 (prolog-indent-line): Mark unused parameters.
19525 (prolog-indent-line): Remove unused variable `beg'.
19526
19527 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19528 (reporter-dont-compact-list): Declare.
19529
19530 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19531 Remove unused variable `char'.
19532 (sh-debug): Mark unused parameter.
19533 (sh-get-indent-info): Remove unused variable `start'.
19534 (sh-calculate-indent): Remove unused variable `var'.
19535
19536 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19537 (simula-electric-keyword): Remove unused variable `null'.
19538 (simula-search-backward, simula-search-forward): Remove unused
19539 variables `begin' and `end'.
19540
19541 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19542 Remove unused variable `pos'.
19543 (vera-electric-tab, vera-comment-uncomment-region):
19544 Mark unused parameters.
19545 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19546
19547 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
19548
19549 * emacs-lisp/package.el (package--builtins, package-alist)
19550 (package-load-descriptor, package-built-in-p, package-activate)
19551 (define-package, package-installed-p)
19552 (package-compute-transaction, package-buffer-info)
19553 (package--push): Doc fix. Distinguish more clearly between
19554 version strings and version lists.
19555
19556 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
19557
19558 Lexical-binding cleanup.
19559
19560 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19561 (5x5-make-mutate-best):
19562 * play/fortune.el (fortune-in-buffer):
19563 * play/gomoku.el (gomoku-init-display):
19564 * play/solitaire.el (solitaire, solitaire-do-check):
19565 * play/tetris.el (tetris-default-update-speed-function):
19566 Mark unused parameters.
19567
19568 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19569 (bubbles--shift): Remove unused variable `char-org'.
19570 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19571 (bubbles--show-images): Remove unused variable `char'.
19572
19573 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19574 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19575 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19576 (decipher-analyze-buffer): Use ?\s.
19577 (decipher-make-checkpoint): Remove unused variable `mapping'.
19578
19579 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19580
19581 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19582 Remove unused variable `result'; use `let'.
19583
19584 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19585 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19586 (gametree-children-shown-p, gametree-compute-reduced-score):
19587 Use `ignore-errors'.
19588
19589 * play/handwrite.el (ps-lpr-switches): Declare.
19590 (handwrite): Remove unused variables `pmin' and `lastp'.
19591
19592 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19593
19594 * play/landmark.el (landmark-init-display)
19595 (landmark-update-naught-weights): Mark unused parameters.
19596 (landmark-y): Remove unused variable `noise'. Simplify.
19597 (landmark-human-plays): Remove unused variable `score'.
19598
19599 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19600 (mpuz-try-proposal): Remove unused variable `game'.
19601
19602 * play/zone.el (life-patterns): Declare.
19603
19604 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
19605
19606 * vc/vc.el (ediff-vc-internal): Declare function.
19607
19608 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19609
19610 * shell.el: Use lexical-binding and std completion UI.
19611 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19612 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19613 comint-preoutput-filter-functions rather than on
19614 comint-output-filter-functions.
19615 (shell-command-completion, shell--command-completion-data)
19616 (shell-filename-completion, shell-environment-variable-completion)
19617 (shell-c-a-p-replace-by-expanded-directory): New functions.
19618 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19619 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19620 (shell-dynamic-complete-environment-variable): Use them.
19621 (shell-dynamic-complete-as-environment-variable)
19622 (shell-dynamic-complete-as-command): Remove.
19623 (shell-match-partial-variable): Match past point.
19624 * comint.el: Clean up use of completion-at-point-functions.
19625 (comint-completion-at-point): New function.
19626 (comint-mode): Use it completion-at-point-functions.
19627 (comint-dynamic-complete): Make it obsolete.
19628 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19629 (comint-c-a-p-replace-by-expanded-history): New function.
19630 (comint-dynamic-complete-functions)
19631 (comint-replace-by-expanded-history): Use it.
19632 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19633 termination strings. Try harder to avoid second try-completion.
19634 (completion-in-region-mode-map): Disable bindings that don't work yet.
19635
19636 * comint.el: Use lexical-binding. Require CL.
19637 (comint-dynamic-complete-functions): Use comint-filename-completion.
19638 (comint-completion-addsuffix): Tweak custom type.
19639 (comint-filename-completion, comint--common-suffix)
19640 (comint--common-quoted-suffix, comint--table-subvert)
19641 (comint--complete-file-name-data): New functions.
19642 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19643 (comint-dynamic-list-filename-completions): Use them.
19644 (comint-dynamic-simple-complete): Make obsolete.
19645
19646 * minibuffer.el (completion-in-region-mode):
19647 Keep completion-in-region-mode--predicate global.
19648 (completion-in-region--postch):
19649 Assume completion-in-region-mode--predicate is not null.
19650
19651 * progmodes/flymake.el (flymake-start-syntax-check-process):
19652 Obey `dir'. Simplify.
19653
19654 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19655 we're in VC after all.
19656
19657 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19658
19659 * vc/vc.el (vc-diff-build-argument-list-internal)
19660 (vc-version-ediff, vc-ediff): New commands.
19661 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19662
19663 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19664
19665 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19666 add sanity check.
19667
19668 * obsolete/erc-hecomplete.el: Make obsolete.
19669 * obsolete/: Standardize obsolescence info in the header.
19670
19671 2011-04-20 Glenn Morris <rgm@gnu.org>
19672
19673 * calendar/solar.el (solar-horizontal-coordinates):
19674 Use the longitude argument rather than `calendar-longitude'.
19675 (solar-date-next-longitude): Remove unused locals.
19676
19677 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19678
19679 * whitespace.el: New version 13.2.1.
19680
19681 2011-04-20 felix <EmacsWiki> (tiny change)
19682
19683 * whitespace.el (global-whitespace-mode): Keep highlight when
19684 switching between major modes on a file.
19685
19686 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19687
19688 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19689 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19690 multi-line comments as well.
19691
19692 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
19693
19694 Lexical-binding cleanup.
19695
19696 * arc-mode.el (archive-mode-revert):
19697 * cmuscheme.el (scheme-interactively-start-process):
19698 * custom.el (custom-initialize-delay):
19699 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19700 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19701 * emacs-lock.el (emacs-lock-clear-sentinel):
19702 * ezimage.el (defezimage):
19703 * follow.el (follow-avoid-tail-recenter):
19704 * fringe.el (set-fringe-mode-1):
19705 * generic-x.el (bat-generic-mode-compile):
19706 * help-mode.el (help-info-variable, help-do-xref)
19707 (help-mode-revert-buffer):
19708 * help.el (view-emacs-todo):
19709 * iswitchb.el (iswitchb-completion-help):
19710 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19711 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19712 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19713 * locate.el (locate-update):
19714 * longlines.el (longlines-encode-region)
19715 (longlines-after-change-function):
19716 * outline.el (outline-isearch-open-invisible):
19717 * ps-def.el (declare-function, charset-dimension, char-width)
19718 (encode-char):
19719 * ps-mule.el (ps-mule-plot-string):
19720 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19721 (recentf-edit-list-select, recentf-edit-list-validate)
19722 (recentf-open-files-action):
19723 * rect.el (delete-whitespace-rectangle-line)
19724 (rectangle-number-line-callback):
19725 * register.el (window-configuration-to-register)
19726 (frame-configuration-to-register):
19727 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19728 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19729 (xselect-convert-to-targets, xselect-convert-to-delete)
19730 (xselect-convert-to-filename, xselect-convert-to-charpos)
19731 (xselect-convert-to-lineno, xselect-convert-to-colno)
19732 (xselect-convert-to-os, xselect-convert-to-host)
19733 (xselect-convert-to-user, xselect-convert-to-class)
19734 (xselect-convert-to-name, xselect-convert-to-integer)
19735 (xselect-convert-to-atom, xselect-convert-to-identity):
19736 * subr.el (declare, ignore, process-kill-without-query)
19737 (text-clone-maintain):
19738 * terminal.el (te-get-char, te-tic-sentinel):
19739 * tool-bar.el (tool-bar-make-keymap):
19740 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19741 * type-break.el (type-break-mode, type-break-noninteractive-query):
19742 * view.el (View-back-to-mark):
19743 * wid-browse.el (widget-browse-action, widget-browse-widget)
19744 (widget-browse-widgets, widget-browse-sexp):
19745 * widget.el (define-widget-keywords):
19746 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19747 Mark unused parameters.
19748
19749 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19750 (align-areas): Remove unused variable `look'.
19751 (align-region): Remove unused variables `real-end' and `pos-list'.
19752
19753 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19754
19755 * bindings.el (mode-line-modified, mode-line-remote):
19756 Mark unused parameters.
19757 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19758
19759 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19760 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19761
19762 * comint.el (comint-history-isearch-pop-state)
19763 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19764 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19765 (comint-substitute-in-file-name): Doc fix.
19766
19767 * completion.el (cmpl-statistics-block): Mark unused parameter.
19768 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19769 (save-completions-to-file, load-completions-from-file):
19770 Remove unused local variable `e'.
19771
19772 * composite.el (compose-chars): Remove unused variable `len'.
19773 (lgstring-insert-glyph): Remove unused variable `g'.
19774 (compose-glyph-string): Remove unused variables `ascent',
19775 `descent', `lbearing' and `rbearing'.
19776 (compose-glyph-string-relative): Remove unused variables
19777 `lbearing', `rbearing' and `wadjust'.
19778 (compose-gstring-for-graphic): Remove unused variables `header',
19779 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19780 (compose-gstring-for-terminal): Remove unused variables `header'
19781 and `nchars'. Use `let', not `let*'.
19782
19783 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19784 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19785 (Custom-buffer-done, custom-buffer-create-internal)
19786 (custom-browse-visibility-action, custom-browse-group-tag-action)
19787 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19788 (widget-magic-mouse-down-action, custom-toggle-parent)
19789 (custom-add-parent-links, custom-toggle-hide-variable)
19790 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19791 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19792 (custom-face-menu-create, custom-variable-menu-create, get)
19793 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19794 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19795 (customize-apropos): Remove unused variable `tests'.
19796 (custom-group-value-create): Remove unused variable `hidden-p'.
19797 (sort-fold-case): Declare.
19798
19799 * cus-theme.el (custom-reset-standard-faces-list)
19800 (custom-reset-standard-variables-list): Declare.
19801 (customize-create-theme, custom-theme-revert, custom-theme-write)
19802 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19803 Mark unused parameters.
19804
19805 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19806
19807 * delim-col.el (delimit-columns-max): Move defvar before first use.
19808
19809 * descr-text.el (describe-char-categories): Don't quote `lambda'.
19810 (describe-char): Don't quote `lambda'. Mark unused parameter.
19811
19812 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19813 (auto-insert): Declare.
19814 (desktop-restore-file-buffer): Rename desktop-* parameters;
19815 mark unused ones.
19816 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19817 (desktop-buffer): Rename desktop-* parameters.
19818
19819 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19820 (dframe-reposition-frame-xemacs, dframe-help-echo)
19821 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19822 Mark unused parameters.
19823
19824 * dired-aux.el (backup-extract-version-start, overwrite-query)
19825 (overwrite-backup-query, rename-regexp-query)
19826 (rename-non-directory-query): Declare.
19827 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19828 (dired-add-entry): Remove unused variable `orig-file-name'.
19829 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19830 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19831 `dired-copy-preserve-time' directly.
19832 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19833 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19834
19835 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19836 (dired-virtual-revert, dired-make-relative-symlink):
19837 Mark unused parameters.
19838 (manual-program): Declare.
19839 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19840 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19841 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19842
19843 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19844
19845 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19846
19847 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19848 Declare.
19849
19850 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19851
19852 * electric.el (Electric-command-loop): Rename parameter
19853 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19854
19855 * expand.el (expand-in-literal): Remove unused variable `here'.
19856
19857 * facemenu.el (facemenu-add-new-color):
19858 Remove unused variable `docstring'.
19859
19860 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19861 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19862 (face-attr-construct): Mark unused parameter. Doc fix.
19863 (read-color): Remove unused variable `hex-string'.
19864
19865 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19866 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19867 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19868 (display-buffer-other-frame): Remove unused variable `old-window'.
19869 (kill-buffer-hook): Declare.
19870 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19871 Mark unused parameters.
19872 (after-find-file): Pass 1 to `auto-save-mode', not t.
19873
19874 * files-x.el (auto-insert): Declare.
19875 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19876
19877 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
19878 variable `buf'. Mark unused parameter.
19879 (find-lisp-insert-directory): Mark unused parameter.
19880
19881 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19882 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19883 (format-common-tail): Remove, unused.
19884 (format-deannotate-region): Remove unused variable `loc'.
19885 (format-annotate-region): Remove unused variable `p'.
19886 (format-annotate-single-property-change): Remove unused variables
19887 `default' and `tail'.
19888
19889 * forms.el (read-file-filter): Declare.
19890 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19891
19892 * frame.el (frame-creation-function-alist): Mark unused parameter.
19893 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19894
19895 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19896 Remove unused parameters.
19897 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19898 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19899
19900 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19901 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19902 (hfy-prepare-tag-map): Mark unused parameters.
19903 (htmlfontify-buffer): Use `called-interactively-p'.
19904
19905 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19906 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19907 (ibuffer-do-occur): Mark unused parameters.
19908 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19909 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19910
19911 * ibuffer.el: Don't quote `lambda'.
19912 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19913 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19914 Mark unused parameters.
19915
19916 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19917 (ido-completing-read): Mark unused parameters.
19918 (ido-copy-current-word): Mark unused parameters;
19919 remove unused variable `name'.
19920 (ido-sort-merged-list): Remove unused parameter `dirs'.
19921
19922 * ielm.el (ielm-input-sender): Mark unused parameter.
19923 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19924 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19925 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19926 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19927 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19928
19929 * image-dired.el (image-dired-display-thumbs): Remove unused
19930 variables `curr-file' and `count'.
19931 (image-dired-remove-tag): Remove unused variable `start'.
19932 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19933 variable `curr-file'
19934 (image-dired-rotate-original): Remove unused variable `temp-file'.
19935 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19936 Remove unused variable `file'.
19937 (image-dired-gallery-generate): Remove unused variable `curr'.
19938 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19939
19940 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19941
19942 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19943
19944 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19945
19946 * isearch.el (minibuffer-history-symbol): Declare.
19947 (isearch-edit-string): Remove unused variable `err'.
19948 (isearch-message-prefix, isearch-message-suffix):
19949 Mark unused parameters.
19950
19951 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19952
19953 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19954
19955 * makesum.el (double-column): Remove unused variable `cnt'.
19956
19957 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19958 (ido-ignore-item-temp-list): Declare.
19959
19960 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19961 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19962 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19963 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19964 `mouse-col-delta'.
19965
19966 * mouse-sel.el (mouse-extend-internal):
19967 Remove unused variable `orig-window-frame'.
19968
19969 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19970 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19971 Move declarations before first use.
19972 (pcomplete-opt): Mark unused parameters; doc fix.
19973
19974 * proced.el (proced-revert): Mark unused parameter.
19975 (proced-send-signal): Remove unused variable `err'.
19976
19977 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19978 Rename parameter PREFIX-ARG to ARG.
19979 (ps-basic-plot-string, ps-basic-plot-whitespace):
19980 Mark unused parameters.
19981
19982 * replace.el (replace-count): Define.
19983 (occur-revert-function): Mark unused parameters.
19984 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19985 (isearch-case-fold-search, isearch-string): Declare.
19986 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19987 bind `case-fold-search'. Remove unused variables `beg' and `end',
19988 and simplify.
19989 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19990 COUNT and bind `replace-count'.
19991 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19992 to COUNT.
19993
19994 * savehist.el (print-readably, print-string-length): Declare.
19995
19996 * shadowfile.el (shadow-expand-cluster-in-file-name):
19997 Remove unused variable `cluster'.
19998 (shadow-copy-file): Remove unused variable `i'.
19999 (shadow-noquery, shadow-clusters, shadow-site-cluster)
20000 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20001 (shadow-define-literal-group, shadow-define-regexp-group)
20002 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20003
20004 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20005 (shell): Use `called-interactively-p'.
20006 (shell-directory-tracker): Remove unused variable `chdir-failure'.
20007
20008 * simple.el (compilation-context-lines, comint-file-name-quote-list)
20009 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20010 (delete-backward-char): Remove unused variable `ocol'.
20011 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20012 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20013 (event-apply-hyper-modifier, event-apply-shift-modifier)
20014 (event-apply-control-modifier, event-apply-meta-modifier):
20015 Mark unused parameters.
20016 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20017 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20018
20019 * speedbar.el (speedbar-ignored-directory-expressions)
20020 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20021 (speedbar-find-file, speedbar-dir-follow)
20022 (speedbar-directory-buttons-follow, speedbar-tag-find)
20023 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20024 (speedbar-buffers-line-directory, speedbar-buffer-click):
20025 Mark unused parameters.
20026 (speedbar-tag-file): Remove unused variable `mode'.
20027 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20028
20029 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20030
20031 * talk.el (talk): Remove unused variable `display'.
20032
20033 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20034 (tar-write-region-annotate): Mark unused parameter.
20035
20036 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20037 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20038 Declare them, wrapped in `with-no-warnings' to avoid replacing one
20039 warning by another.
20040
20041 * time-stamp.el (time-stamp-string-preprocess):
20042 Remove unused variable `require-padding'.
20043
20044 * tree-widget.el (widget-glyph-enable): Declare.
20045 (tree-widget-action): Mark unused parameter.
20046
20047 * w32-fns.el (x-get-selection): Mark unused parameter.
20048 (autoload-make-program, generated-autoload-file): Declare.
20049
20050 * wdired.el (wdired-revert): Mark unused parameters.
20051 (wdired-xcase-word): Remove unused variable `err'.
20052
20053 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20054 (whitespace-help-scroll): Remove unused variable `data-help'.
20055
20056 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20057 (widget-image-insert, widget-after-change, default)
20058 (widget-default-format-handler, widget-default-notify)
20059 (widget-default-prompt-value, widget-info-link-action)
20060 (widget-url-link-action, widget-function-link-action)
20061 (widget-variable-link-action, widget-file-link-action)
20062 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
20063 (widget-field-prompt-internal, widget-field-action, widget-field-match)
20064 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
20065 (widget-insert-button-action, widget-delete-button-action, visibility)
20066 (widget-documentation-link-action, widget-documentation-string-action)
20067 (widget-const-prompt-value, widget-regexp-match, symbol)
20068 (widget-coding-system-prompt-value)
20069 (widget-key-sequence-value-to-external, sexp)
20070 (widget-sexp-value-to-internal, character, vector, cons)
20071 (widget-choice-prompt-value, widget-boolean-prompt-value)
20072 (widget-color--choose-action): Mark unused parameters.
20073 (widget-item-match-inline, widget-choice-match-inline)
20074 (widget-checklist-match, widget-checklist-match-inline)
20075 (widget-group-match): Rename parameter VALUES to VALS.
20076 (widget-field-value-set): Remove unused variable `size'.
20077 (widget-color-action): Remove unused variables `value' and `start'.
20078
20079 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
20080 variable `dir'. Doc fix.
20081 (windmove-find-other-window): Don't pass it.
20082
20083 * window.el (count-windows): Mark unused parameter.
20084 (bw-adjust-window): Remove unused variable `err'.
20085
20086 * woman.el (woman-file-name): Remove unused variable `default'.
20087 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
20088 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
20089 (global-font-lock-mode): Declare.
20090 (woman-decode-region): Mark unused parameter.
20091 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
20092
20093 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20094 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20095 (x-dnd-handle-moz-url): Remove unused variable `title'.
20096 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20097
20098 * xml.el (xml-parse-tag, xml-parse-attlist):
20099 Remove unused variable `pos'.
20100
20101 2011-04-19 Glenn Morris <rgm@gnu.org>
20102
20103 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
20104 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
20105 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
20106 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
20107 * calendar/cal-html.el (cal-html-insert-minical):
20108 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
20109 (calendar-mark-date-pattern):
20110 Prefix "unused" locals.
20111
20112 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
20113 optional argument `style'.
20114
20115 * calendar/appt.el (appt-make-list):
20116 * calendar/cal-china.el (calendar-chinese-date-string):
20117 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
20118 (diary-hebrew-yahrzeit):
20119 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
20120 * calendar/calendar.el (calendar-generate-window):
20121 * calendar/time-date.el (time-to-days):
20122 Remove unused local variables.
20123
20124 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
20125
20126 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
20127 glyphless-char-display table.
20128 (tabulated-list-glyphless-char-display): New var.
20129
20130 2011-04-18 Sam Steingold <sds@gnu.org>
20131
20132 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
20133 to acknowledgments.
20134
20135 2011-04-17 Glenn Morris <rgm@gnu.org>
20136
20137 * calendar/diary-lib.el (diary-sexp-entry):
20138 * calendar/holidays.el (holiday-sexp):
20139 Set debug-on-error rather than the removed stack-trace-on-error.
20140
20141 2011-04-16 Glenn Morris <rgm@gnu.org>
20142
20143 * progmodes/f90.el: Use lexical-binding.
20144 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
20145
20146 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20147
20148 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
20149 (mail-mode): Setup mailalias completion here instead.
20150 * mail/mailalias.el: Use lexical-binding.
20151 (pattern, mailalias-done): Declare dynamic.
20152 (mail-completion-at-point-function): New function, from mail-complete.
20153 (mail-complete): Use it.
20154 (mail-completion-expand): New function.
20155 (mail-get-names): Use it.
20156 (mail-directory, mail-directory-process, mail-directory-stream):
20157 Don't use `pattern' for lexically bound arg.
20158
20159 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
20160
20161 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
20162 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
20163 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
20164
20165 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
20166 (byte-save-window-excursion, byte-temp-output-buffer-setup)
20167 (byte-interactive-p): Define them again, for use when inlining
20168 old code.
20169
20170 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
20171
20172 * loadup.el: Use `string-to-number', not `string-to-int'.
20173
20174 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20175
20176 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
20177 gud-gdb-complete-command.
20178 (gud-gdb-completions): New function, from gud-gdb-complete-command.
20179 (gud-gdb-completion-at-point): New function.
20180 (gud-gdb-completions): Remove.
20181
20182 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
20183
20184 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
20185 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
20186 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
20187 whether `executable-find' is bound.
20188
20189 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
20190
20191 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20192
20193 * minibuffer.el (completion-in-region-mode-predicate)
20194 (completion-in-region-mode--predicate): New vars.
20195 (completion-in-region, completion-in-region--postch)
20196 (completion-in-region-mode): Use them.
20197 (completion--capf-wrapper): Also return the hook function.
20198 (completion-at-point, completion-help-at-point):
20199 Adjust and provide a predicate.
20200
20201 Preserve arg names for advice of subr and lexical functions (bug#8457).
20202 * help-fns.el (help-function-arglist): Consolidate the subr and
20203 new-byte-code cases. Add argument `preserve-names' to extract names
20204 from the docstring when needed.
20205 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
20206 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
20207 (ad-arglist): Use help-function-arglist's new arg.
20208 (ad-definition-type): Use cond.
20209
20210 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
20211
20212 * autorevert.el (auto-revert-handler):
20213 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
20214 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
20215 Don't quote lambda.
20216
20217 * image-mode.el (image-transform-set-scale):
20218 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
20219
20220 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20221
20222 * net/network-stream.el (network-stream-open-starttls): Only do
20223 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
20224 Upgrades via gnutls-cli are too slow to be done opportunistically.
20225
20226 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
20227
20228 * dframe.el (dframe-current-frame): Remove spurious quote.
20229
20230 2011-04-12 Glenn Morris <rgm@gnu.org>
20231
20232 * calendar/cal-tex.el (cal-tex-end-document):
20233 Try to automatically use latin1 input if needed.
20234
20235 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
20236 Don't try to cons a mark onto an empty element.
20237
20238 2011-04-11 Leo Liu <sdl.web@gmail.com>
20239
20240 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
20241 buffers.
20242 (ido-kill-buffer-at-head): Support killing virtual buffers.
20243
20244 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
20245
20246 * minibuffer.el (completion-show-inline-help): New var.
20247 (completion--do-completion, minibuffer-complete)
20248 (minibuffer-force-complete, minibuffer-complete-word):
20249 Inhibit minibuffer messages if completion-show-inline-help is nil.
20250
20251 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
20252 to avoid interference from inline help (Bug#5849).
20253
20254 2011-04-10 Leo Liu <sdl.web@gmail.com>
20255
20256 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20257 Fix typo.
20258
20259 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
20260
20261 * image-mode.el (image-toggle-display-image): Signal an error if
20262 not in Image mode.
20263 (image-transform-mode, image-transform-resize)
20264 (image-transform-set-rotation): Doc fix.
20265 (image-transform-set-resize): Delete.
20266 (image-transform-set-scale, image-transform-fit-to-height)
20267 (image-transform-fit-to-width): Handle image-toggle-display-image
20268 and image-transform-resize directly.
20269
20270 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
20271
20272 * doc-view.el (doc-view-fit-width-to-window)
20273 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
20274 New functions for fitting the shown image to the Emacs window size.
20275 (doc-view-mode-map): Add bindings for the new functions.
20276
20277 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
20278
20279 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
20280 Fix typo in docstring.
20281
20282 2011-04-08 Eli Zaretskii <eliz@gnu.org>
20283
20284 * files.el (file-size-human-readable): Produce one digit after
20285 decimal, like "ls -lh" does.
20286
20287 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20288 the file size representation.
20289
20290 * simple.el (list-processes): If async subprocesses are not
20291 available, error out with a clear error message.
20292
20293 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
20294
20295 * help.el (help-form-show): New function, to be called from C.
20296 Put help-form output in a buffer named differently than *Help*.
20297
20298 2011-04-08 Eli Zaretskii <eliz@gnu.org>
20299
20300 * files.el (file-size-human-readable): New function.
20301
20302 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20303 computing the representation inline. Don't require `cl'.
20304
20305 2011-04-08 Glenn Morris <rgm@gnu.org>
20306
20307 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20308
20309 * net/browse-url.el (browse-url-firefox):
20310 Test system-type, not system-configuration.
20311
20312 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20313 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20314 Use log-edit-empty-buffer-p. (Bug#7598)
20315
20316 * net/rlogin.el (rlogin-process-connection-type): Simplify.
20317 (rlogin-mode-map): Initialize in the defvar.
20318 (rlogin): Use ignore-errors.
20319
20320 * replace.el (occur-mode-map): Some fixes for menu items.
20321
20322 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20323
20324 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
20325
20326 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
20327
20328 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20329 issuing unused warnings.
20330
20331 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20332 macro directly.
20333
20334 * simple.el: Lisp reimplement of list-processes. Based on an
20335 earlier reimplementation by Leo Liu, but using tabulated-list.el.
20336 (process-menu-mode): New major mode.
20337 (list-processes--refresh, list-processes):
20338 (process-menu-visit-buffer): New functions.
20339
20340 * files.el (save-buffers-kill-emacs): Don't assume any return
20341 value of list-processes, which is undocumented anyway.
20342
20343 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
20344
20345 * emacs-lisp/tabulated-list.el: New file.
20346
20347 * emacs-lisp/package.el: Use Tabulated List mode.
20348 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20349 (package-menu-mode): Derive from tabulated-list-mode. Set up the
20350 table format using Tabulated List mode variables.
20351 (package--push): New macro, replacing package-list-maybe-add.
20352 (package-menu--generate): Use package--push. Renamed from
20353 package--generate-package-list.
20354 (package-menu-refresh, list-packages): Use it.
20355 (package-menu--print-info): Rename from package-print-package.
20356 Return insertion data instead of inserting it directly.
20357 (package-menu-describe-package, package-menu-execute):
20358 Use tabulated-list-get-id.
20359 (package-menu-mark-delete, package-menu-mark-install)
20360 (package-menu-mark-unmark, package-menu-backup-unmark)
20361 (package-menu-mark-obsolete-for-deletion):
20362 Use tabulated-list-put-tag.
20363 (package--list-packages, package-menu-revert)
20364 (package-menu-get-package, package-menu-get-version)
20365 (package-menu-sort-by-column): Functions deleted.
20366 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20367 (package-menu--status-predicate, package-menu--version-predicate)
20368 (package-menu--name-predicate)
20369 (package-menu--description-predicate): Handle arguments in the
20370 Tabulated List format.
20371 (package-list-packages-no-fetch): Call list-packages.
20372
20373 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
20374
20375 * files.el (after-find-file-from-revert-buffer): Remove variable.
20376 (after-find-file): Don't bind it.
20377 (revert-buffer-in-progress-p): New variable.
20378 (revert-buffer): Bind it.
20379 Pass nil for `after-find-file-from-revert-buffer'.
20380
20381 * saveplace.el (save-place-find-file-hook): Use new variable
20382 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20383
20384 2011-04-06 Glenn Morris <rgm@gnu.org>
20385
20386 * Makefile.in (AUTOGEN_VCS): New variable.
20387 (autoloads): Use $AUTOGEN_VCS.
20388
20389 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20390 * calendar/calendar.el (calendar-mode-map):
20391 Check for toolkit scroll bars. (Bug#8305)
20392
20393 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
20394
20395 * minibuffer.el (completion-in-region--postch)
20396 (completion-in-region-mode): Remove unnecessary messages.
20397
20398 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
20399
20400 * font-lock.el (font-lock-refresh-defaults):
20401 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20402 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20403
20404 * info.el (Info-directory-list, Info-read-node-name-2)
20405 (Info-split-parameter-string): Doc fixes.
20406 (Info-virtual-nodes): Reflow docstring.
20407 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20408 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20409 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20410 Fix typos in docstrings.
20411 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20412 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20413 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20414 (Info-restore-desktop-buffer): Mark unused parameters.
20415 (Info-directory-find-file, Info-directory-find-node)
20416 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20417 (Info-virtual-index-find-node, Info-apropos-find-file)
20418 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
20419 Mark unused parameters; fix typos in docstrings.
20420 (Info-virtual-index): Remove unused local variable `nodename'.
20421
20422 2011-04-05 Deniz Dogan <deniz@dogan.se>
20423
20424 * net/rcirc.el: Update my e-mail address.
20425 (rcirc-mode-map): Remove M-o binding.
20426
20427 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
20428
20429 * startup.el (command-line): Save the cursor's theme-face
20430 directly, instead of using face-override-spec.
20431
20432 * custom.el (load-theme): Minor optimization in assigning faces.
20433
20434 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20435
20436 * help-fns.el (describe-variable): Complete all variables having
20437 documentation, including keywords.
20438 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20439
20440 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20441
20442 Convert to lexical-binding.
20443
20444 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20445 (bs--get-marked-string, bs--get-modified-string)
20446 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20447 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20448 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20449
20450 * ehelp.el (electric-help-execute-extended)
20451 (electric-help-ctrl-x-prefix):
20452 * hexl.el (hexl-revert-buffer-function):
20453 * linum.el (linum-after-change, linum-after-scroll):
20454 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20455
20456 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20457
20458 2011-04-04 Daiki Ueno <ueno@unixuser.org>
20459
20460 * epa-dired.el:
20461 * epa-mail.el:
20462 * epa-hook.el:
20463 * epa-file.el:
20464 * epa.el:
20465 * epg.el: Use lexical binding.
20466
20467 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
20468
20469 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20470
20471 * textmodes/flyspell.el (flyspell-word): Recognize default
20472 dictionary case for flyspell-mark-duplications-exceptions.
20473 Use regexp matching for languages.
20474 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20475 default dictionary (Bug#7926).
20476
20477 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
20478
20479 * emacs-lisp/package.el (package--with-work-buffer):
20480 Recognize https URLs.
20481
20482 * net/network-stream.el: Move from gnus/proto-stream.el.
20483 Change prefix to network-stream throughout.
20484 (open-protocol-stream): Merge into open-network-stream, leaving
20485 open-protocol-stream as an alias. Handle nil BUFFER args.
20486
20487 * subr.el (open-network-stream): Move to net/network-stream.el.
20488
20489 2011-04-02 Glenn Morris <rgm@gnu.org>
20490
20491 * find-dired.el (find-exec-terminator): New option.
20492 (find-ls-option): Test for -ls support.
20493 (find-ls-subdir-switches): Test for -b in find-ls-option.
20494 (find-dired, find-grep-dired): Doc fixes.
20495 (find-dired): Use find-exec-terminator.
20496
20497 * find-dired.el (find-ls-option, find-ls-subdir-switches)
20498 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20499 (find-name-arg): Remove purecopy.
20500
20501 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20502 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20503 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20504 accordingly. Don't add the null-device if not needed.
20505
20506 * files.el (save-some-buffers): Doc fix.
20507
20508 2011-04-02 Eli Zaretskii <eliz@gnu.org>
20509
20510 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20511
20512 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
20513
20514 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20515 Use `dolist' rather than `mapcar'.
20516
20517 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20518
20519 Add lexical binding.
20520
20521 * subr.el (apply-partially): Use new closures rather than CL.
20522 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20523 (dolist, dotimes): Use slightly different expansion for lexical code.
20524 (functionp): Move to C.
20525 (letrec): New macro.
20526 (with-wrapper-hook): Use it and apply-partially instead of CL.
20527 (eval-after-load): Preserve lexical-binding.
20528 (save-window-excursion, with-output-to-temp-buffer): Turn them
20529 into macros.
20530
20531 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20532
20533 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20534 than the arglist.
20535 (help-add-fundoc-usage): Don't add `Not documented'.
20536 (help-function-arglist): Handle closures, subroutines, and new
20537 byte-code-functions.
20538 (help-make-usage): Remove leading underscores.
20539 (describe-function-1): Handle closures.
20540 (describe-variable): Use special-variable-p for completion.
20541
20542 * files.el (lexical-binding): Declare safe.
20543
20544 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20545 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20546 (pcase): Add `let' pattern.
20547 Change memoization so it actually works.
20548 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20549 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20550 <let>: New case.
20551
20552 * emacs-lisp/macroexp.el: Use lexical binding.
20553 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20554 Don't convert ' to #' without checking that it's indeed quoting
20555 a lambda.
20556
20557 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
20558 Use eval-sexp-add-defvars.
20559 (eval-sexp-add-defvars): New fun.
20560
20561 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20562
20563 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20564 Don't autoload.
20565 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20566 than the internal `byte-compile-lambda'.
20567 (defmethod): Don't hide code under quotes.
20568 (eieio-defmethod): New `code' argument.
20569
20570 * emacs-lisp/eieio-comp.el: Remove.
20571
20572 * emacs-lisp/edebug.el (edebug-eval-defun)
20573 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20574 (edebug-toggle): Avoid `eval'.
20575
20576 * emacs-lisp/disass.el (disassemble-internal): Handle new
20577 `closure' objects.
20578 (disassemble-1): Handle new byte codes.
20579
20580 * emacs-lisp/cl.el (pushnew): Silence warning.
20581
20582 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20583 (cl-byte-compile-throw): Remove.
20584 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20585
20586 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20587 closures.
20588
20589 * emacs-lisp/cconv.el: New file.
20590
20591 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20592 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20593 (byte-compile-initial-macro-environment):
20594 Handle declare-function here.
20595 (byte-compile--lexical-environment): New var.
20596 (byte-stack-ref, byte-stack-set, byte-discardN)
20597 (byte-discardN-preserve-tos): New lap codes.
20598 (byte-interactive-p): Don't use any more.
20599 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20600 New macros.
20601 (byte-compile-lapcode): Use them and handle new lap codes.
20602 (byte-compile-obsolete): Remove.
20603 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20604 (byte-compile-arglist-warn): Check late def of inlinable funs.
20605 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20606 since they should have been expanded by now.
20607 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20608 (byte-compile-from-buffer): Remove unused second arg.
20609 (byte-compile-preprocess): New function.
20610 (byte-compile-toplevel-file-form): New function to distinguish
20611 file-form calls from outside from file-form calls from hunk-handlers.
20612 (byte-compile-file-form): Simplify.
20613 (byte-compile-file-form-defsubst): Remove.
20614 (byte-compile-file-form-defmumble): Simplify now that
20615 byte-compile-lambda always returns a byte-code-function.
20616 (byte-compile): Preprocess.
20617 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20618 Remove, not used any more.
20619 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20620 (byte-compile-make-args-desc): New funs.
20621 (byte-compile-lambda): Handle lexical functions. Always return
20622 a byte-code-function.
20623 (byte-compile-reserved-constants): New var, to make up room for
20624 closed-over variables.
20625 (byte-compile-constants-vector): Obey it.
20626 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20627 (byte-compile-macroexpand-declare-function): New function.
20628 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20629 byte-code-functions.
20630 (byte-compile-form): Check obsolescence here.
20631 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20632 (byte-compile-variable-ref): Remove.
20633 (byte-compile-dynamic-variable-op): New fun.
20634 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20635 (byte-compile-variable-set): New funs.
20636 (byte-compile-discard): Add 2 args.
20637 (byte-compile-stack-ref, byte-compile-stack-set)
20638 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20639 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20640 macroexpand-all instead.
20641 (byte-compile-quote-form): Remove.
20642 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20643 (byte-compile-bind, byte-compile-unbind): New funs.
20644 (byte-compile-let): Handle let* and lexical binding.
20645 (byte-compile-let*): Remove.
20646 (byte-compile-catch, byte-compile-unwind-protect)
20647 (byte-compile-track-mouse, byte-compile-condition-case):
20648 Handle a new :fun-body form, used for lexical scoping.
20649 (byte-compile-save-window-excursion)
20650 (byte-compile-with-output-to-temp-buffer): Remove.
20651 (byte-compile-defun): Simplify.
20652 (byte-compile-stack-adjustment): New fun.
20653 (byte-compile-out): Use it.
20654 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20655
20656 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20657 handler any more.
20658
20659 * emacs-lisp/byte-opt.el: Use lexical binding.
20660 (byte-inline-lapcode): Remove (to bytecomp).
20661 (byte-compile-inline-expand): Pay attention to inlining to/from
20662 lexically bound code.
20663 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20664 any more.
20665 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20666 any more and don't call compiler-macros.
20667 (byte-compile-splice-in-already-compiled-code): Remove.
20668 (byte-code): Don't inline any more.
20669 (disassemble-offset): Receive `bytes' as argument rather than via
20670 dynamic scoping.
20671 (byte-compile-tag-number): Declare before first use.
20672 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20673 `return' even if make-spliceable.
20674 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20675 obsolete interactive-p.
20676 (byte-optimize-lapcode): Optimize new lap-codes.
20677 Don't trip up on new form of `byte-constant' lap code.
20678
20679 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20680
20681 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20682
20683 * custom.el (custom-initialize-default, custom-declare-variable):
20684 Use `defvar'.
20685
20686 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20687 New variables.
20688 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20689 (COMPILE_FIRST): Add macroexp and cconv.
20690 * makefile.w32-in: Mirror changes in Makefile.in.
20691
20692 * vc/cvs-status.el:
20693 * vc/diff-mode.el:
20694 * vc/log-edit.el:
20695 * vc/log-view.el:
20696 * vc/smerge-mode.el:
20697 * textmodes/bibtex-style.el:
20698 * textmodes/css-mode.el:
20699 * startup.el:
20700 * uniquify.el:
20701 * minibuffer.el:
20702 * newcomment.el:
20703 * reveal.el:
20704 * server.el:
20705 * mpc.el:
20706 * emacs-lisp/smie.el:
20707 * doc-view.el:
20708 * dired.el:
20709 * abbrev.el: Use lexical binding.
20710
20711 2011-04-01 Eli Zaretskii <eliz@gnu.org>
20712
20713 * info.el (info-display-manual): New function.
20714
20715 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20716
20717 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20718
20719 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20720
20721 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
20722 an entry for that server in rcirc-authinfo. (Bug#8385)
20723
20724 2011-03-31 Glenn Morris <rgm@gnu.org>
20725
20726 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20727
20728 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20729
20730 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20731
20732 * progmodes/python.el (python-default-interpreter)
20733 (python-python-command-args, python-jython-command-args)
20734 (python-which-shell, python-which-args, python-which-bufname)
20735 (python-file-queue, python-comint-output-filter-function)
20736 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20737 variables and functions.
20738
20739 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20740
20741 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20742 (completion-in-region-mode): New minor mode.
20743 (completion-in-region): Use it.
20744 (completion-in-region--data, completion-in-region-mode-map): New vars.
20745 (completion-in-region--postch): New function.
20746 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20747 New vars.
20748 (completion--capf-wrapper): New function.
20749 (completion-at-point): Use it to track well-behavedness of
20750 hook functions.
20751 (completion-help-at-point): New command.
20752
20753 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20754
20755 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20756 syntax class to search for whitespace on a single line
20757 (Message-ID: <4D938140.4030905@redhat.com>).
20758
20759 2011-03-30 Leo Liu <sdl.web@gmail.com>
20760
20761 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20762 New commands.
20763 (edit-abbrevs-map): Bind them here.
20764 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20765
20766 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20767
20768 * allout.el (allout-hide-by-annotation, allout-flag-region):
20769 Reduce possibility of overlay leakage by making them volatile.
20770
20771 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20772 hash is not shared between buffers. Mode initialization is
20773 responsible for giving it a useful starting value.
20774 (allout-item-span): Reduce possibility of overlay leakage by
20775 making them volatile.
20776 (allout-widgets-count-buttons-in-region): Add diagnostic function
20777 for tracking down button overlay leaks.
20778
20779 2011-03-29 Leo Liu <sdl.web@gmail.com>
20780
20781 * ido.el (ido-read-internal): Use the default history var
20782 minibuffer-history if no HISTORY is specified.
20783
20784 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20785
20786 * net/imap.el (imap-shell-open, imap-process-connection-type):
20787 Use imap-process-connection-type for 'shell' streams as well as
20788 Kerberos, SSL, other subprocesses.
20789
20790 2011-03-28 Leo Liu <sdl.web@gmail.com>
20791
20792 * abbrev.el (abbrev-table-empty-p): New function.
20793 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20794 nonempty ones. (Bug#5937)
20795
20796 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20797
20798 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20799
20800 2011-03-27 Leo Liu <sdl.web@gmail.com>
20801
20802 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20803 for foreground and background colors.
20804 (ansi-color-make-color-map): Adapt.
20805
20806 2011-03-25 Leo Liu <sdl.web@gmail.com>
20807
20808 * midnight.el (midnight-time-float): Remove. Note it calculates
20809 the microsecond component incorrectly and seconds-to-time does the
20810 same job.
20811 Remove redundant (require 'timer).
20812
20813 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20814 (ido-completions): Remove unused arguments. (Bug#8329)
20815
20816 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20817
20818 * minibuffer.el (completion--flush-all-sorted-completions):
20819 Remove itself from hook.
20820 (completion-at-point): Let the functions perform the completion
20821 immediately and return nil or t.
20822 * comint.el (comint-dynamic-complete-functions): Now identical to
20823 completion-at-point-functions.
20824 (comint-dynamic-list-input-ring): Remove unused var `index'.
20825 (comint--match-partial-filename, comint--unquote&expand-filename):
20826 New funs, split from comint-match-partial-filename.
20827 (comint-dynamic-complete): Use completion-at-point.
20828 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20829
20830 2011-03-24 Drew Adams <drew.adams@oracle.com>
20831
20832 * thingatpt.el: Support `defun'.
20833
20834 2011-03-23 Leo Liu <sdl.web@gmail.com>
20835
20836 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20837
20838 * help-mode.el (help-mode-finish): Tweak regexp.
20839
20840 2011-03-23 Glenn Morris <rgm@gnu.org>
20841
20842 * eshell/esh-opt.el (eshell-eval-using-options):
20843 Do not bind unused local variable `eshell-option-stub'.
20844
20845 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20846
20847 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20848
20849 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20850 keymap variable in `with-no-warnings' to avoid a warning when the
20851 keymap has been already `defconst'ed.
20852
20853 2011-03-22 Leo Liu <sdl.web@gmail.com>
20854
20855 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20856 encode all chars in abbrevs; otherwise use emacs-mule or
20857 utf-8-emacs. (Bug#8308)
20858
20859 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20860
20861 * simple.el (backward-delete-char-untabify):
20862 Avoid warning about using `delete-backward-char'.
20863
20864 * image.el (image-type-file-name-regexps): Make it variable.
20865 `imagemagick-register-types' modifies it, and the user may want
20866 to add new extensions for known image types.
20867 (imagemagick-register-types): Throw error if not using ImageMagick.
20868
20869 2011-03-22 Leo Liu <sdl.web@gmail.com>
20870
20871 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20872 located before rcirc-prompt-end-marker.
20873 (rcirc-complete): Error if point is not after rcirc prompt.
20874 Handle the case when table is nil.
20875 (rcirc-user-authenticated): Define to fix compiler warning.
20876
20877 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
20878
20879 * custom.el (custom--inhibit-theme-enable): Make it affect only
20880 custom-theme-set-variables and custom-theme-set-faces.
20881 (provide-theme): Ignore custom--inhibit-theme-enable.
20882 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20883 (custom-enabling-themes): Delete variable.
20884 (enable-theme): Accept only loaded themes as arguments.
20885 Ignore the special custom-enabled-themes variable.
20886 (custom-enabled-themes): Forbid themes from setting this.
20887 Eliminate use of custom-enabling-themes.
20888 (custom-push-theme): Quote "changed" custom var entry.
20889
20890 2011-03-21 Leo Liu <sdl.web@gmail.com>
20891
20892 * ido.el (ido-read-internal): Add ido-selected to history instead
20893 of user input.
20894
20895 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20896
20897 * subr.el (deferred-action-list, deferred-action-function):
20898 Mark obsolete.
20899
20900 2011-03-21 Leo Liu <sdl.web@gmail.com>
20901
20902 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20903 change on 2011-02-13 (bug#8309).
20904
20905 * minibuffer.el (read-file-name-function): Change default value.
20906 (read-file-name--defaults): Rename from read-file-name-defaults.
20907 (read-file-name-default): Rename from read-file-name.
20908 (read-file-name): Call read-file-name-function.
20909
20910 2011-03-21 Glenn Morris <rgm@gnu.org>
20911
20912 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20913 Doc fixes.
20914
20915 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
20916
20917 * cus-theme.el: Add missing provide statement.
20918 (customize-create-theme): Extract theme value correctly.
20919 (custom-theme-visit-theme): Autoload.
20920 (customize-create-theme): Prompt before inserting default faces.
20921
20922 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20923
20924 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20925 units and musical notes.
20926
20927 2011-03-20 Leo Liu <sdl.web@gmail.com>
20928
20929 * ido.el (ido-read-internal): Use completing-read-default.
20930 (ido-completing-read): Fix compatibility with completing-read.
20931
20932 2011-03-20 Christian Ohler <ohler@gnu.org>
20933
20934 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20935 (ert-delete-all-tests): Use `called-interactively-p' rather than
20936 `interactive-p'.
20937 (ert--make-xrefs-region): Respect END.
20938
20939 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20940
20941 * dired-aux.el (dired-create-directory): Signal an error if the
20942 directory already exists (Bug#8246).
20943
20944 * facemenu.el (list-colors-display): Call list-faces-display
20945 inside with-help-window.
20946 (list-colors-print): Use display property to align the final
20947 column, instead of checking window-width.
20948
20949 2011-03-19 Eli Zaretskii <eliz@gnu.org>
20950
20951 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
20952 windows-nt systems.
20953 (emerge-protect-metachars): Quote correctly for ms-dos and
20954 windows-nt systems.
20955
20956 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
20957
20958 * info.el (info-initialize): Replace all uses of `:' with
20959 path-separator for compatibility with non-Unix systems.
20960 Cache quoting of path-separator. (Bug#8258)
20961
20962 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
20963
20964 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20965 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20966 (mouse-avoidance-mode): Fix typos in docstrings.
20967
20968 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20969
20970 * startup.el (package-subdirectory-regexp): Move from package.el.
20971 Omit \\` and \\', and let callers add them.
20972
20973 * emacs-lisp/package.el (package-strip-version)
20974 (package-load-all-descriptors): Add \\` and \\' to
20975 package-subdirectory-regexp before using it.
20976 (package-untar-buffer): New arg DIR; ensure that file untars only
20977 into this expected directory. Remove superfluous delete-region.
20978 (package-unpack): Caller changed.
20979 (package-tar-file-info): Use package-subdirectory-regexp.
20980
20981 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
20982
20983 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20984 diff-mode-shared-map (bug#8284).
20985 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
20986
20987 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20988
20989 * calendar/time-date.el (format-seconds): Use assoc instead of
20990 assoc-string, since assoc-string doesn't exist in XEmacs.
20991
20992 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
20993
20994 * custom.el (custom-known-themes): Reflow docstring.
20995 (custom-theme-load-path): Fix typo in docstring.
20996 (load-theme): Fix typo in error message.
20997 (custom-available-themes, custom-variable-theme-value):
20998 Use `let', not `let*'.
20999
21000 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21001
21002 * calc/README: Mention inclusion of musical notes.
21003
21004 * calc/calc-units.el (calc-lu-quant): Rename from
21005 `calc-logunits-quantity'.
21006 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21007 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21008 (calc-db): Rename from `calc-dblevel'.
21009 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21010 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21011 (calc-np): Rename from `calc-nplevel'.
21012 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21013 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21014 (calc-lu-plus): Rename from `calc-logunits-add'.
21015 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21016 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21017 (calc-lu-minus): Rename from `calc-logunits-sub'.
21018 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21019 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21020 (calc-lu-times): Rename from `calc-logunits-mul'.
21021 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21022 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21023 (calc-lu-divide): Rename from `calc-logunits-div'.
21024 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21025 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21026
21027 * calc/calc-ext.el (calc-init-extensions): Update the names of the
21028 functions being autoloaded.
21029
21030 * calc/calc.el (calc-lu-power-reference): Rename from
21031 `calc-logunits-power-reference'.
21032 (calc-lu-field-reference): Rename from
21033 `calc-logunits-field-reference'.
21034
21035 * calc/calc-help.el (calc-l-prefix-help):
21036 Mention musical note functions.
21037
21038 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
21039
21040 * minibuffer.el (completion-all-sorted-completions):
21041 Use :completion-cycle-penalty text property if present.
21042
21043 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
21044
21045 * allout.el (allout-yank-processing): Adjust for new rebulleting
21046 regime so bullet being yanked is used without prompting the user
21047 for a choice.
21048
21049 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
21050
21051 * startup.el (command-line): Warn the user that _emacs is deprecated.
21052
21053 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
21054
21055 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21056 (delphi-verbose, delphi-comment-face, delphi-string-face)
21057 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21058 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21059 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
21060 (delphi-new-comment-line, delphi-font-lock-defaults)
21061 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
21062 Fix typos in docstrings.
21063
21064 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
21065
21066 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
21067 Invert the roles of character and string values for INSTEAD, so a
21068 string is used for the more common case of a defaulting prompt.
21069
21070 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21071
21072 * progmodes/ruby-mode.el (ruby-backward-sexp):
21073 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
21074 * play/gamegrid.el (gamegrid-make-face):
21075 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
21076 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
21077 * notifications.el (notifications-notify):
21078 * net/xesam.el (xesam-search-engines):
21079 * net/quickurl.el (quickurl-list-insert):
21080 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
21081
21082 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
21083
21084 * startup.el (command-line): Update package subdirectory regexp.
21085
21086 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21087
21088 * allout.el (allout-abbreviate-flattened-numbering)
21089 (allout-mode-deactivate-hook): Fix up obsolescence "date".
21090
21091 * subr.el (read-char-choice): Only show the cursor after the prompt,
21092 not after the answer.
21093
21094 2011-03-15 Kevin Ryde <user42@zip.com.au>
21095
21096 * help-fns.el (variable-at-point): Skip leading quotes, if any
21097 (bug#8253).
21098
21099 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21100
21101 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
21102 warning message.
21103
21104 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
21105
21106 * shell.el (shell): When called interactively, offer to change the
21107 shell file name on remote hosts.
21108
21109 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
21110
21111 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
21112 integration for LDAP parameters. The host, base, user or binddn,
21113 and secret tokens can be specified in a netrc file, for instance.
21114 This is optional because an `auth-source' parameter must be
21115 specified in the search attributes.
21116
21117 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
21118
21119 * help.el (describe-mode): Link to the mode's definition (bug#8185).
21120
21121 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21122
21123 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
21124 into declaration. Remove redundant and harmful binding.
21125
21126 2011-03-12 Eli Zaretskii <eliz@gnu.org>
21127
21128 * files.el (file-ownership-preserved-p): Pass `integer' as an
21129 explicit 2nd argument to `file-attributes'. If the file's owner
21130 is the Administrators group on Windows, and the current user is
21131 Administrator, consider that a match.
21132
21133 * server.el (server-ensure-safe-dir): Consider server directory
21134 safe on MS-Windows if its owner is the Administrators group while
21135 the current Emacs user is Administrator. Use `=' to compare
21136 numerical UIDs, since they could be integers or floats.
21137
21138 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
21139
21140 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
21141
21142 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
21143
21144 Sync with Tramp 2.2.1.
21145
21146 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
21147
21148 * net/trampver.el: Update release number.
21149
21150 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21151
21152 * progmodes/compile.el (compilation--previous-directory): Fix up
21153 various nil/dead-marker mismatches (bug#8014).
21154 (compilation-directory-properties, compilation-error-properties):
21155 Don't call it at a position past the one we're about to change.
21156
21157 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
21158 Disable obsolescence warnings in the file that declares it.
21159
21160 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
21161
21162 * allout-widgets.el (allout-widgets-tally):
21163 Initialize allout-widgets-tally as a hash table rather than nil to
21164 prevent mode-line redisplay warnings. Also, clarify the module
21165 description and fix a comment typo.
21166
21167 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
21168
21169 * help-fns.el (describe-variable): Don't complete keywords.
21170 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
21171
21172 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
21173
21174 * emacs-lisp/package.el (package-version-join): Impose a standard
21175 string representation for pre/alpha/beta version lists.
21176 (package-unpack-single): Standardize the directory name by passing
21177 it through package-version-join.
21178 (package-strip-rcs-id): Accept any version string that does not
21179 signal an error in version-to-list.
21180
21181 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
21182
21183 * simple.el (delete-trailing-whitespace): Return nil for the
21184 benefit of `write-file-functions'.
21185
21186 2011-03-10 Glenn Morris <rgm@gnu.org>
21187
21188 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
21189
21190 * vc/vc-git.el (vc-git-program): New option.
21191 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
21192 (vc-git--call): Use it.
21193
21194 * eshell/esh-util.el (eshell-condition-case): Doc fix.
21195
21196 * cus-edit.el (Custom-newline): If no button at point, look
21197 for a subgroup button at start-of-line. (Bug#2298)
21198
21199 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
21200
21201 2011-03-10 Julien Danjou <julien@danjou.info>
21202
21203 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
21204 `cursor-type' is nil.
21205
21206 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
21207
21208 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
21209
21210 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
21211
21212 * allout.el: Change so yank of distinctive-bullet items
21213 preserves the existing header prefix, rebulleting it if necessary,
21214 rather than replacing it. This is necessary for proper operation
21215 of cooperative addons like allout-widgets.
21216 (allout-make-topic-prefix, allout-rebullet-heading):
21217 Change SOLICIT arg to INSTEAD, and interpret additionally a string
21218 value as alternate bullet to be used, instead of prompting the user
21219 for a bullet character.
21220
21221 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
21222
21223 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21224 Do not use `tramp-file-name-port', because this returns also
21225 `tramp-default-port'.
21226
21227 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
21228
21229 * net/rcirc.el (rcirc-handler-001): Remove useless
21230 with-rcirc-process-buffer.
21231 (rcirc-check-auth-status): Swap arguments to string-match.
21232
21233 2011-03-09 Glenn Morris <rgm@gnu.org>
21234
21235 * shell.el (shell-mode):
21236 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
21237
21238 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
21239 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
21240
21241 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21242
21243 * emacs-lisp/package.el (package-refresh-contents)
21244 (package-menu-execute): Use condition-case-no-debug.
21245
21246 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
21247
21248 * simple.el (shell-command-to-string): Use `process-file'.
21249
21250 * emacs-lisp/package.el (package-tar-file-info): Handle also
21251 remote files.
21252
21253 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21254 Use `equal' for upload base check.
21255
21256 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
21257
21258 * textmodes/texinfo.el (texinfo-environments):
21259 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
21260
21261 2011-03-08 Glenn Morris <rgm@gnu.org>
21262
21263 * cus-start.el (cursor-in-non-selected-windows):
21264 Fix :set quoting oddness. (Bug#8192)
21265
21266 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
21267 in some setf expressions. (Bug#2159)
21268
21269 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21270
21271 * custom.el (custom-available-themes): Return themes in
21272 alphabetical order.
21273
21274 See ChangeLog.15 for earlier changes.
21275
21276 ;; Local Variables:
21277 ;; coding: utf-8
21278 ;; End:
21279
21280 Copyright (C) 2011-2012 Free Software Foundation, Inc.
21281
21282 This file is part of GNU Emacs.
21283
21284 GNU Emacs is free software: you can redistribute it and/or modify
21285 it under the terms of the GNU General Public License as published by
21286 the Free Software Foundation, either version 3 of the License, or
21287 (at your option) any later version.
21288
21289 GNU Emacs is distributed in the hope that it will be useful,
21290 but WITHOUT ANY WARRANTY; without even the implied warranty of
21291 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21292 GNU General Public License for more details.
21293
21294 You should have received a copy of the GNU General Public License
21295 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.