* lisp/simple.el (read-only-mode): Move from lisp/files.el for bootstrapping.
[bpt/emacs.git] / lisp / ChangeLog
1 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * simple.el (read-only-mode): Move from files.el for bootstrapping.
4 * files.el (read-only-mode): Move to simple.el.
5
6 * files.el (read-only-mode): New minor mode.
7 (toggle-read-only): Use it and mark obsolete.
8 (find-file--read-only):
9 * vc/vc.el (vc-next-action, vc-checkout):
10 * vc/vc-cvs.el (vc-cvs-checkout):
11 * obsolete/vc-mcvs.el (vc-mcvs-update):
12 * ffap.el (ffap--toggle-read-only): Update callers.
13
14 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
15
16 * eshell/esh-ext.el (eshell-external-command): Do not examine
17 remote shell scripts. See
18 <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
19
20 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
21 "/usr/local/sbin".
22
23 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
24
25 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
26
27 2012-08-28 Leo Liu <sdl.web@gmail.com>
28
29 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
30 completion-at-point. (Bug#12220)
31
32 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
33
34 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
35
36 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
37
38 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
39 be buffer-local; add delete-trailing-whitespace (bug#12259).
40
41 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
42
43 * progmodes/hideif.el (hif-compress-define-list):
44 Fix typo. (Bug#11951)
45
46 2012-08-28 Dan Nicolaescu <dann@gnu.org>
47
48 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
49 buffer local setting.
50
51 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
52 rcirc-encode-coding-system.
53
54 2012-08-28 Leo Liu <sdl.web@gmail.com>
55
56 * net/rcirc.el (rcirc-split-message): New function.
57 (rcirc-send-message): Use it. (Bug#12051)
58
59 2012-08-28 Juri Linkov <juri@jurta.org>
60
61 * info.el (Info-fontify-node): Hide empty lines at the end of
62 the node. (Bug#12272)
63
64 2012-08-27 Drew Adams <drew.adams@oracle.com>
65
66 * dired.el (dired-pop-to-buffer): Make window start at beginning
67 of buffer (Bug#12281).
68
69 2012-08-26 Chong Yidong <cyd@gnu.org>
70
71 * window.el (special-display-regexps, special-display-frame-alist)
72 (special-display-buffer-names, special-display-function)
73 (display-buffer-reuse-frames): Mark as obsolete.
74
75 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
76
77 * help.el (help-print-return-message): Don't treat
78 display-buffer-reuse-frames specially.
79
80 2012-08-26 Chong Yidong <cyd@gnu.org>
81
82 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
83 New variable, replacing gdb-frame-parameters.
84 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
85 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
86 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
87 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
88 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
89 the functions directly with gdb-display-buffer-other-frame-action.
90 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
91 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
92 (gdb-display-stack-buffer, gdb-display-locals-buffer)
93 (gdb-display-registers-buffer): Define directly.
94 (def-gdb-display-buffer): Macro deleted.
95 (gdb-display-buffer): Remove second and third args, callers don't
96 use them. Defer to the default display-buffer behavior, apart
97 from making windows dedicated.
98 (gdb-setup-windows): Don't call display-buffer unnecessarily.
99
100 * progmodes/gud.el (gud-display-line): Just use display-buffer.
101
102 * window.el (display-buffer-pop-up-frame): Handle a
103 pop-up-frame-parameters alist entry.
104 (display-buffer): Document it.
105
106 2012-08-26 Chong Yidong <cyd@gnu.org>
107
108 * isearch.el (search-whitespace-regexp): Make string and nil
109 values apply to both ordinary and regexp search. Allow a cons
110 cell value to distinguish between the two.
111 (isearch-whitespace-regexp, isearch-search-forward)
112 (isearch-search-backward): New functions.
113 (isearch-occur, isearch-search-fun-default, isearch-search)
114 (isearch-lazy-highlight-new-loop): Use them.
115 (isearch-forward, isearch-forward-regexp): Doc fix.
116
117 2012-08-26 Chong Yidong <cyd@gnu.org>
118
119 * faces.el (help-argument-name): Always inherit from italic
120 (Bug#12213).
121
122 2012-08-25 Martin Rudalics <rudalics@gmx.at>
123
124 * window.el (window--even-window-heights): Even heights when
125 WINDOW and the selected window form a vertical combination.
126 (display-buffer-use-some-window): Provide that window used gets
127 sized back by quit-window. (Bug#11880) and (Bug#12091)
128
129 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
130
131 Fix file time stamp problem with bzr and CVS (Bug#12001).
132 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
133 in the file's time stamp, since the version control system loses
134 that information.
135
136 2012-08-22 Juri Linkov <juri@jurta.org>
137
138 * info.el (Info-fontify-node): Hide the suffix of the
139 Info file name in the header line. (Bug#12187)
140
141 2012-08-22 Glenn Morris <rgm@gnu.org>
142
143 * calendar/cal-tex.el (cal-tex-weekly-common):
144 Restore leading blank page.
145
146 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
147
148 * misc.el (forward-to-word, backward-to-word): Activate or extend
149 the region under `shift-select-mode'. (Bug#12231)
150
151 2012-08-22 Bastien Guerry <bzg@gnu.org>
152
153 * progmodes/executable.el (executable-prefix): Set to "#!" instead
154 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
155 gives details on why the space is never needed.
156
157 2012-08-22 Martin Rudalics <rudalics@gmx.at>
158
159 * window.el (walk-window-tree, window-with-parameter):
160 New optional argument MINIBUF to control whether these functions
161 should run on the minibuffer window.
162 (window-at-side-list): Don't operate on minibuffer window.
163 (window-in-direction): Simplify and rewrite doc-string.
164 (window--size-ignore): Rename to window--size-ignore-p.
165 Update callers.
166 (display-buffer-in-atom-window, window--major-non-side-window)
167 (window--major-side-window, display-buffer-in-major-side-window)
168 (delete-side-window, display-buffer-in-side-window):
169 New functions.
170 (window--side-check, window-deletable-p, delete-window)
171 (delete-other-windows, split-window): Handle side windows and
172 atomic windows appropriately.
173 (window--display-buffer): Call display-buffer-record-window also
174 when the window buffer did not change.
175
176 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
177
178 * help-fns.el (help-fns--key-bindings):
179 Abbreviate non-symbol remap targets. (Bug#12174)
180
181 2012-08-22 Martin Rudalics <rudalics@gmx.at>
182
183 * dired.el (dired-mark-remembered): Don't clobber point.
184 (Bug#11795)
185
186 2012-08-22 Glenn Morris <rgm@gnu.org>
187
188 * progmodes/bug-reference.el (bug-reference): New custom group.
189 (bug-reference-bug-regexp): Make it a defcustom.
190
191 2012-08-22 Daiki Ueno <ueno@unixuser.org>
192
193 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
194 (js-paren-indent-offset, js-square-indent-offset)
195 (js-curly-indent-offset): Add :safe (Bug#12257).
196
197 2012-08-22 Edward O'Connor <hober0@gmail.com>
198
199 * json.el (json-key-format): Add error properties.
200 (json-encode-key): New function.
201 (json-encode-hash-table, json-encode-alist, json-encode-plist):
202 Use json-encode-key.
203
204 2012-08-22 Glenn Morris <rgm@gnu.org>
205
206 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
207 (cal-tex-leftday, cal-tex-rightday): Remove functions.
208 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
209 Update for above change.
210
211 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
212
213 * cus-face.el (custom-face-attributes): Fix customize type for the
214 :underline attribute. (Bug#11805)
215
216 2012-08-21 Martin Rudalics <rudalics@gmx.at>
217
218 * window.el (window-point-1, set-window-point-1): Remove.
219 (window-in-direction, record-window-buffer)
220 (set-window-buffer-start-and-point, split-window-below)
221 (window--state-get-1, display-buffer-record-window):
222 Replace calls to window-point-1 and set-window-point-1 by calls to
223 window-point and set-window-point respectively.
224
225 2012-08-21 Glenn Morris <rgm@gnu.org>
226
227 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
228 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
229 Use it.
230
231 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
232 (cal-tex-shortday): New function.
233 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
234 (cal-tex-cursor-filofax-daily): Use the above.
235
236 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
237 New functions.
238 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
239 (cal-tex-cursor-filofax-week): Use them.
240
241 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
242 New constants.
243 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
244 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
245
246 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
247 (cal-tex-end-document): Don't rely on buffer name.
248
249 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
250 Use cal-tex-vspace.
251 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
252 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
253 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
254 Use cal-tex-arg.
255
256 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
257 (cal-tex-cursor-week, cal-tex-cursor-week2)
258 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
259 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
260 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
261 (cal-tex-insert-preamble, cal-tex-b-document)
262 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
263 Improve cal-tex-cmd usage.
264
265 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
266 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
267 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
268 (cal-tex-weekly-paper): New function.
269 (cal-tex-cursor-week, cal-tex-cursor-week2)
270 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
271 (cal-tex-cursor-day): Use it.
272
273 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
274 (cal-tex-cursor-filofax-week): Remove leading blank page.
275
276 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
277 Add autoload cookie. For now at least, don't use color, since
278 no other cal-tex function does.
279
280 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
281 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
282 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
283
284 2012-08-21 Juri Linkov <juri@jurta.org>
285
286 * info.el (Info-file-attributes): New variable.
287 (info-insert-file-contents): Add file attributes to
288 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
289 `Info-toc-nodes' when previous modtime of the Info file is less
290 than new modtime.
291 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
292 of info.el. (Bug#12230)
293
294 2012-08-20 Glenn Morris <rgm@gnu.org>
295
296 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
297 * calendar/holidays.el (calendar-holiday-list):
298 Report errors with display-warning rather than beep'n'sleep.
299
300 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
301
302 * net/tramp.el (tramp-accept-process-output): Accept only output
303 from PROC. Otherwise, process filters and sentinels might be
304 confused. (Bug#12145)
305
306 2012-08-20 Chong Yidong <cyd@gnu.org>
307
308 * descr-text.el (describe-text-properties-1): Use overlays-in to
309 report on empty overlays (Bug#3322).
310
311 2012-08-20 Glenn Morris <rgm@gnu.org>
312
313 * mail/rmailout.el (rmail-output-read-file-name):
314 Trap and report errors in rmail-output-file-alist elements.
315
316 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
317 since most non-font-lock faces are not also variables).
318
319 2012-08-20 Edward Reingold <reingold@iit.edu>
320
321 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
322 New function. (Bug12160)
323
324 2012-08-19 Glenn Morris <rgm@gnu.org>
325
326 * mail/rmailout.el (rmail-output-read-file-name):
327 Fix previous change (when the alist is nil or does not match).
328
329 2012-08-19 Chong Yidong <cyd@gnu.org>
330
331 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
332 (Bug#12228).
333
334 2012-08-18 Chong Yidong <cyd@gnu.org>
335
336 * simple.el (yank-handled-properties): New defcustom.
337 (yank-excluded-properties): Add font-lock-face and category.
338 (yank): Doc fix.
339
340 * subr.el (remove-yank-excluded-properties):
341 Obey yank-handled-properties. The special handling of font-lock-face
342 and category is now done this way, instead of being hard-coded.
343 (insert-for-yank-1): Remove font-lock-face handling.
344 (yank-handle-font-lock-face-property)
345 (yank-handle-category-property): New function.
346
347 2012-08-17 Glenn Morris <rgm@gnu.org>
348
349 * mail/rmailout.el (rmail-output-read-file-name):
350 Check rmail-output-file-alist against the full message body
351 in the correct rmail buffer. (Bug#12214)
352
353 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
354
355 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
356 Eliminate superfluous prompt. (Bug#12203)
357
358 2012-08-17 Chong Yidong <cyd@gnu.org>
359
360 * mouse.el (mouse-appearance-menu): If x-select-font returns a
361 font spec, set the font directly (Bug#3228).
362
363 2012-08-17 Martin Rudalics <rudalics@gmx.at>
364
365 * window.el (delete-window): Fix last fix.
366
367 2012-08-16 Martin Rudalics <rudalics@gmx.at>
368
369 * window.el (window-valid-p): Move to window.c.
370 (window-child, window-child-count, window-last-child)
371 (window-normalize-window, window-combined-p)
372 (window-combinations, window-atom-root, window-min-size)
373 (window-sizable, window-sizable-p, window-size-fixed-p)
374 (window-min-delta, window-max-delta, window--resizable)
375 (window--resizable-p, window-resizable, window-total-size)
376 (window-full-height-p, window-full-width-p, window-body-size)
377 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
378 (minimize-window, window-deletable-p, delete-window)
379 (delete-other-windows, set-window-buffer-start-and-point)
380 (next-buffer, previous-buffer, split-window, balance-windows-2)
381 (set-window-text-height, window-buffer-height)
382 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
383 (truncated-partial-width-window-p): Minor code adjustments.
384 In doc-strings state whether the argument window has to denote a
385 live, valid or any window.
386
387 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
388
389 * progmodes/subword.el (subword-forward-function)
390 (subword-backward-function, subword-forward-regexp)
391 (subword-backward-regexp): New variables.
392 (subword-forward, subword-forward-internal, subword-backward-internal):
393 Use new variables, eg so that different "word" definitions
394 can be easily used. (Bug#11411)
395
396 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
397
398 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
399 for composite selectors.
400 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
401 operation just because we can't find a previous revision.
402
403 2012-08-15 Chong Yidong <cyd@gnu.org>
404
405 * frame.el (set-frame-font): Accept font objects.
406
407 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
408
409 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
410
411 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
412
413 * man.el (Man-overstrike-face, Man-underline-face)
414 (Man-reverse-face): Remove variables.
415 (Man-overstrike, Man-underline, Man-reverse): New faces.
416 (Man-fontify-manpage): Use them instead of the variables.
417 (Man-cleanup-manpage): Comment change.
418 (Man-ansi-color-map): New variable.
419 (Man-fontify-manpage): Use it.
420 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
421
422 Implement ANSI SGR parameters 22-27 (bug#12146).
423 * ansi-color.el (ansi-colors): Doc fix.
424 (ansi-color-context, ansi-color-context-region): Doc fix.
425 (ansi-color--find-face): New function.
426 (ansi-color-apply, ansi-color-apply-on-region): Use it.
427 Rename the local variable `face' to `codes' since it is now a list of
428 ansi codes. Doc fix.
429 (ansi-color-get-face): Remove.
430 (ansi-color-parse-sequence): New function, derived from
431 ansi-color-get-face.
432 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
433 codes 22-27.
434
435 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
436
437 * subr.el (read-passwd): Allow use from a minibuffer.
438
439 2012-08-14 Eli Zaretskii <eliz@gnu.org>
440
441 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
442 inside comments and strings as identifiers.
443
444 * progmodes/gud.el (gud-tooltip-print-command): Quote the
445 expression to evaluate. This allows to evaluate expressions with
446 embedded whitespace.
447 (gud-tooltip-tips): Add a blank before the newline in the
448 message-box text, for the benefit of message-box emulation on
449 MS-Windows.
450
451 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
452 messages from GDB, pop them up in a tooltip to give feedback to
453 user.
454 (gdb-tooltip-print-1): Quote the expression to evaluate.
455 This allows to evaluate expressions with embedded whitespace.
456 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
457 if the TTY name is nil or empty (which happens when communicating
458 with the inferior via pipes, e.g. on MS-Windows).
459 (gdb-internals): If GDB sends a "&\n" empty debugging message,
460 don't send that to the GUD buffer.
461
462 2012-08-14 Glenn Morris <rgm@gnu.org>
463
464 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
465 Optimize away setq-default with no args, as for setq. (Bug#12195)
466
467 2012-08-14 Chong Yidong <cyd@gnu.org>
468
469 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
470
471 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
472 (Bug#12085).
473
474 2012-08-14 Glenn Morris <rgm@gnu.org>
475
476 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
477
478 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
479
480 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
481 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
482 Use cached shell name.
483
484 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
485
486 * progmodes/python.el (python-shell-send-string):
487 (python-shell-send-setup-code): Do not use `format' with `message'.
488
489 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
490
491 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
492 (ruby-percent-literal-beg-re): New constant.
493 (ruby-syntax-general-delimiters-goto-beg): Rename to
494 `ruby-syntax-enclosing-percent-literal', improve literal type check.
495 (ruby-syntax-propertize-general-delimiters): Rename to
496 `ruby-syntax-propertize-percent-literal', it's a shorter and more
497 popular term. Adjust comments everywhere.
498 (ruby-syntax-propertize-percent-literal): Only propertize when not
499 inside a simple string or comment. When the literal is unclosed,
500 leave the text after it unpropertized.
501 (ruby-syntax-methods-before-regexp): New constant.
502 (ruby-syntax-propertize-function): Use it to recognize regexps.
503 Don't look at the text after regexp, just use the whitelist.
504
505 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
506
507 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
508 non-nil always load the compiled file if it exists. (Bug#12197)
509
510 2012-08-14 Chong Yidong <cyd@gnu.org>
511
512 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
513 (hi-lock-set-pattern): When deciding whether to use font lock or
514 overlays, look at font-lock-mode instead of font-lock-fontified
515 (Bug#12168).
516 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
517 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
518
519 2012-08-14 Daiki Ueno <ueno@unixuser.org>
520
521 * subr.el (internal--after-with-selected-window): Fix typo
522 (Bug#12193).
523
524 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
525
526 Use `completion-table-dynamic' for completion functions.
527 * progmodes/python.el
528 (python-shell-completion--do-completion-at-point)
529 (python-shell-completion--get-completions):
530 Remove functions.
531 (python-shell-completion-complete-at-point): New function.
532 (python-completion-complete-at-point): Use it.
533
534 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
535
536 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
537 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
538
539 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
540
541 * subr.el (function-get): Refine `autoload' arg so it can also
542 autoload functions for gv.el (bug#12191).
543 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
544 autoloads macros.
545
546 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
547 Prefer pcase-let over destructuring-bind.
548 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
549 Also, remove whitespace as we go, rather than after accumulating the
550 various places.
551
552 * subr.el (internal--before-with-selected-window)
553 (internal--after-with-selected-window): Fix typo seleted->selected.
554 (with-selected-window): Adjust callers.
555 Reported by Dmitry Gutov <dgutov@yandex.ru>.
556
557 2012-08-13 Bastien Guerry <bzg@gnu.org>
558
559 * window.el (special-display-popup-frame): Minor docstring
560 enhancement. (Bug#12172)
561
562 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
563
564 * tar-mode.el (tar-header-data-end): Only ignore size for files of
565 type 1-6.
566 (tar-header-block-summarize, tar-get-descriptor): Handle pax
567 extended headers.
568
569 * files.el (hack-local-variables-filter): Remove useless eval.
570
571 2012-08-13 Martin Rudalics <rudalics@gmx.at>
572
573 * subr.el (with-selected-window): Fix last change.
574
575 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
576
577 * subr.el (internal--before-with-seleted-window)
578 (internal--after-with-seleted-window): New functions.
579 (with-selected-window): Use them, to replace dependency on
580 tty-top-frame.
581
582 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
583
584 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
585 binding for `newline'.
586 (ruby-move-to-block): When moving backward, stop at block opening,
587 not indentation.
588 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
589 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
590 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
591 `ruby-toggle-block'.
592
593 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
594
595 * ibuffer.el (ibuffer-do-toggle-read-only):
596 * dired.el (dired-toggle-read-only):
597 * buff-menu.el (Buffer-menu-toggle-read-only):
598 * bindings.el (mode-line-toggle-read-only):
599 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
600
601 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
602
603 * descr-text.el (describe-char): Put the overlays over the
604 "displayed as" character.
605
606 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
607
608 * calc/calc-units.el (math-default-units-table): Give an
609 initial value.
610 (math-put-default-units): Add options to put composite units and
611 unit systems in the default units table.
612 (calc-convert-units): Send composite units to
613 `math-put-default-units' when appropriate.
614
615 2012-08-11 Glenn Morris <rgm@gnu.org>
616
617 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
618
619 * tutorial.el (help-with-tutorial):
620 * emacs-lisp/copyright.el (copyright-update-directory):
621 * emacs-lisp/autoload.el (autoload-find-generated-file)
622 (autoload-find-file): Disable local eval: (for insurance).
623
624 * files.el (hack-local-variables-filter): If an eval: form is not
625 known to be safe, and enable-local-variables is :safe, then ignore
626 the form totally, as is done for non-eval forms. (Bug#12155)
627 This is CVE-2012-3479.
628
629 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
630
631 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
632 (rx-form): Simplify.
633
634 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
635
636 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
637 ?, _, and : are symbol constituents, ! is not (but kinda should be).
638 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
639 (ruby-syntax-propertize-function): Adjust for changes in
640 `ruby-syntax-propertize-heredoc'.
641
642 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
643
644 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
645 binding (use `M-;' instead).
646 (ruby-singleton-class-p): New function.
647 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
648
649 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
650
651 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
652
653 2012-08-10 Chong Yidong <cyd@gnu.org>
654
655 * progmodes/python.el (python-shell-get-process-name): Don't mess
656 with same-window-buffer-names.
657
658 * eshell/eshell.el (eshell-add-to-window-buffer-names)
659 (eshell-remove-from-window-buffer-names): Make obsolete.
660 (eshell-buffer-name, eshell-unload-hook): Don't use them.
661 (eshell): Just use pop-to-buffer-same-window instead.
662
663 2012-08-10 Chong Yidong <cyd@gnu.org>
664
665 * bindings.el: Bind M-= back to count-words-region.
666
667 * simple.el (count-words-region): Accept a prefix arg for acting
668 on the entire buffer.
669 (count-words--buffer-message): New helper function.
670
671 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
672
673 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
674 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
675 (event-start, event-end): Use posn-at-point to return a more
676 informative posn.
677 (posnp): New function.
678 * mouse.el (popup-menu-normalize-position): Use it.
679
680 2012-08-10 Masatake YAMATO <yamato@redhat.com>
681
682 * mouse.el (popup-menu-normalize-position): New function.
683 (popup-menu): Use `popup-menu-normalize-position' to normalize
684 the form for POSITION argument.
685
686 * term/x-win.el (x-menu-bar-open):
687 Use the value returend from (posn-at-point) as position
688 passed to `popup-menu'.
689
690 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
691
692 * calc/calccomp.el (math-compose-expr): Add extra argument
693 indicating that parentheses should be put around products in
694 denominators. Give multiplication precedence over division during
695 composition.
696
697 2012-08-09 Chong Yidong <cyd@gnu.org>
698
699 * man.el (Man-switches, Man-sed-command, Man-awk-command)
700 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
701 (Man-untabify-command, manual-program): Convert to defcustom
702 (Bug#10429).
703
704 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
705
706 * descr-text.el (describe-char): Don't insert extra newlines
707 (Bug#10127).
708
709 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
710 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
711
712 * align.el (align-region): Delete temporary markers (Bug#10047).
713 Plus some code cleanups.
714
715 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
716
717 * progmodes/python.el (python-pdbtrack-tracked-buffer)
718 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
719 (python-shell-internal-last-output): Use make-local-variable
720 instead of make-variable-buffer-local.
721
722 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
723
724 * progmodes/python.el: Enhancements to forward-sexp.
725 (python-nav-forward-sexp): Rename from
726 python-nav-forward-sexp-function.
727 (python-nav--forward-sexp, python-nav--backward-sexp):
728 New functions.
729
730 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
731
732 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
733 modes and simplification modes.
734
735 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
736
737 * delsel.el (delete-selection-pre-hook): Don't propagate the
738 file-supersession signals (bug#12161).
739
740 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
741
742 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
743 (cl-map-extents): Add compatibility aliases (bug#12135).
744
745 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
746
747 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
748 tests by `ignore-error'.
749 (tramp-find-shell): Open also a new shell, when cache is already
750 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
751
752 2012-08-08 Juri Linkov <juri@jurta.org>
753
754 * bookmark.el: Add `defaults' property to the bookmark record.
755 (bookmark-current-buffer): Doc fix.
756 (bookmark-make-record): Add `defaults' property with default values
757 to the bookmark record.
758 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
759 with `bookmark-insert-current-bookmark'.
760 (bookmark-set): Get `defaults' property from the bookmark record
761 and use it in `read-from-minibuffer'.
762 (bookmark-insert-current-bookmark): Remove function.
763
764 * info.el (Info-bookmark-make-record): Add `defaults' property
765 with values of canonical Info node name, the current Info file
766 name and the current Info node name. (Bug#12107)
767
768 2012-08-08 Juri Linkov <juri@jurta.org>
769
770 * files.el (basic-save-buffer): Use `buffer-name' as the default
771 of `read-file-name' when buffer is not visiting a file (bug#12128).
772
773 2012-08-08 Juri Linkov <juri@jurta.org>
774
775 * info.el (Info-isearch-search): Doc fix.
776 (Info-search): Change search-failed message from "initial node" to
777 "end of node" (bug#12078).
778 (Info-isearch-search): Change `isearch-string-state' to
779 `isearch--state-string'.
780
781 2012-08-08 Glenn Morris <rgm@gnu.org>
782
783 * language/persian.el: Remove file.
784 * language/misc-lang.el: Move unique part of persian.el here.
785 * loadup.el: Remove language/persian.
786
787 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
788
789 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
790
791 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
792
793 * progmodes/python.el Fixed defsubst warning.
794 (python-syntax-context) Rename from python-info-ppss-context.
795 (python-syntax-context-type): Rename from
796 python-info-ppss-context-type.
797 (python-syntax-comment-or-string-p): Rename from
798 python-info-ppss-comment-or-string-p.
799
800 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
801
802 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
803
804 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
805
806 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
807 a defcustom that is quoted with backquote.
808
809 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
810 Fix handling of interactive spec when the body uses return.
811 (math-do-arg-check, math-define-function-body): Use backquote forms.
812 * calc/calc-ext.el (math-defcache): Likewise.
813 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
814 * allout.el (allout-new-exposure): Likewise.
815 * calc/calcalg2.el (math-tracing-integral): Likewise.
816 * info.el (Info-last-menu-item): Likewise.
817 * emulation/vip.el (vip-loop): Likewise.
818 * textmodes/artist.el (artist-funcall): Likewise.
819 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
820 Construct menu-item directly.
821
822 * progmodes/autoconf.el (font-lock-syntactic-keywords):
823 Don't declare.
824
825 2012-08-07 Chong Yidong <cyd@gnu.org>
826
827 * simple.el (deactivate-mark): Preserve text properties when
828 saving the primary selection (Bug#8384).
829
830 2012-08-07 Kevin Ryde <user42@zip.com.au>
831
832 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
833 (woman-parse-numeric-value): On a bad .IP line, issue a warning
834 and continue processing (Bug#12110).
835
836 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
837
838 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
839 syntax-propertize-function (bug#10095).
840
841 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
842
843 * help-fns.el (help-fns--key-bindings, help-fns--signature)
844 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
845 describe-function-1.
846 (describe-function-1): Use them. Move compiler macro after sig.
847 (help-fns--compiler-macro): Use function-get. Assume we're already in
848 standard-output. Adjust layout to new call order.
849
850 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
851 re-binding a symbol that has a symbol-macro (bug#12119).
852
853 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
854
855 * language/persian.el: New file. (Bug#11812)
856 * loadup.el: Add language/persian.el.
857
858 2012-08-06 Chong Yidong <cyd@gnu.org>
859
860 * window.el (window--maybe-raise-frame): New function.
861 (window--display-buffer): Split off from here.
862 (display-buffer-reuse-window, display-buffer-pop-up-frame)
863 (display-buffer-pop-up-window, display-buffer-use-some-window):
864 Obey an inhibit-switch-frame action alist entry.
865 (display-buffer): Update doc.
866
867 * replace.el (occur-after-change-function): Avoid losing focus by
868 using the inhibit-switch-frame display parameter (Bug#12139).
869
870 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
871
872 Make internal shell process buffer names start with space.
873 * progmodes/python.el (python-shell-make-comint): Add optional
874 argument INTERNAL.
875 (run-python-internal): Use it.
876 (python-shell-internal-get-or-create-process): Check for new
877 internal buffer names.
878
879 2012-08-06 Glenn Morris <rgm@gnu.org>
880
881 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
882 Do less getting and setting of environment variables.
883
884 2012-08-05 Chong Yidong <cyd@gnu.org>
885
886 * proced.el (proced): Add substitution string to docstring to
887 trigger autoloading of the proced library on C-h f (Bug#1768).
888
889 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
890 Don't show defvars which have no second argument (Bug#8638).
891
892 * imenu.el (imenu-generic-expression): Move documentation here
893 from imenu--generic-function.
894 (imenu--generic-function): Refer to imenu-generic-expression.
895
896 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
897
898 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
899 indentation declaration.
900 (viper-loop): Add indentation declaration (Bug#7025).
901
902 2012-08-05 Chong Yidong <cyd@gnu.org>
903
904 * help-fns.el (describe-variable): Add hyperlink for
905 directory-local variables files. Improve buffer-local and
906 permanent-local reporting; suggested by MON KEY (Bug#6644).
907
908 * help-mode.el (help-dir-local-var-def): New button type.
909
910 * files.el (kill-buffer-hook): Provide a defvar.
911
912 2012-08-05 Glenn Morris <rgm@gnu.org>
913
914 * eshell/esh-ext.el (eshell/addpath):
915 Also update eshell-path-env. (Bug#12013)
916
917 2012-08-05 Chong Yidong <cyd@gnu.org>
918
919 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
920
921 * fringe.el (fringe-styles): Add docstring.
922 (fringe--check-mode): New function.
923 (set-fringe-mode, set-fringe-style): Use it.
924 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
925
926 * files.el (set-auto-mode): Fix invalid setq call.
927
928 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
929
930 * isearch.el: Misc simplification; use defstruct.
931 (isearch-mode-map): Dense maps now work like sparse ones.
932 (isearch--state): New defstruct.
933 (isearch-string-state, isearch-message-state, isearch-point-state)
934 (isearch-success-state, isearch-forward-state)
935 (isearch-other-end-state, isearch-word-state, isearch-error-state)
936 (isearch-wrapped-state, isearch-barrier-state)
937 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
938 replaced by defstruct's accessors.
939 (isearch--set-state): Rename from isearch-top-state and change
940 calling convention.
941 (isearch-push-state): Use new isearch--get-state.
942 (isearch-toggle-word): Disable regexp when enabling word.
943 (isearch-message-prefix): Remove unused arg _c-q-hack.
944 (isearch-message-suffix): Remove unused arg _ellipsis.
945
946 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
947
948 * simple.el (list-processes--refresh): For a server use :host or
949 :local as the address.
950 (list-processes): Doc fix.
951
952 2012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
953
954 * lisp/mpc.el: Support password in host argument.
955 (mpc--proc-connect): Parse and use new password element.
956 Set mpc-proc variable instead of returning process.
957 (mpc-proc): Adjust accordingly.
958
959 2012-08-03 Eli Zaretskii <eliz@gnu.org>
960
961 * whitespace.el (whitespace-display-mappings): Use Unicode
962 codepoints, instead of emacs-mule codepoints. See
963 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
964 for the details.
965
966 * files.el (file-truename): Don't skip symlink-chasing part on
967 windows-nt. Incorporate the resolution of 8+3 short aliases on
968 Windows into the loop that recursively chases symlinks.
969 Compare directory and its parent case-insensitively on MS-Windows and
970 MS-DOS.
971
972 2012-08-03 Chong Yidong <cyd@gnu.org>
973
974 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
975
976 * sort.el (sort-regexp-fields): Doc fix.
977
978 2012-08-03 Tassilo Horn <tsdh@gnu.org>
979
980 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
981 labels regex position point at the expected place.
982
983 2012-08-03 MON KEY <monkey@sandpframing.com>
984
985 * net/imap.el (imap-interactive-login, imap-authenticate)
986 (imap-mailbox-lsub, imap-mailbox-list)
987 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
988 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
989 (imap-parse-response): Doc fix.
990
991 2012-08-03 João Távora <joaotavora@gmail.com>
992
993 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
994 if sexp scanning does not move point (Bug#5734).
995
996 2012-08-02 Tassilo Horn <tsdh@gnu.org>
997
998 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
999 Add listings, minted, and ctable packages.
1000 (reftex-label-alist-builtin): Move listings, minted, and ctable
1001 entries before LaTeX.
1002 (reftex-label-alist): Docfix.
1003
1004 2012-08-02 Bastien Guerry <bzg@gnu.org>
1005
1006 * replace.el (occur): Fix docstring (bug#12122).
1007
1008 2012-08-02 Glenn Morris <rgm@gnu.org>
1009
1010 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
1011
1012 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
1013
1014 Obsolete alias inactivate-current-input-method-function (Bug#10150).
1015 * international/mule-cmds.el: Create
1016 inactivate-current-input-method-function as an obsolete alias for
1017 deactivate-current-input-method-function. See Katsumi Yamaoka in
1018 <http://bugs.gnu.org/10150#46>.
1019
1020 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
1021
1022 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
1023 of nested `if's.
1024
1025 2012-08-01 Glenn Morris <rgm@gnu.org>
1026
1027 * progmodes/autoconf.el (autoconf-definition-regexp):
1028 Add AH_TEMPLATE, adjust submatch numbering.
1029 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
1030 (autoconf-current-defun-function): Update for above change.
1031 (autoconf-current-defun-function): First skip to end of current word.
1032
1033 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
1034
1035 * calendar/cal-html.el (cal-html-insert-agenda-days):
1036 Fix typo. (Bug#12018)
1037
1038 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
1039
1040 Shell processes: enhancements to startup and CEDET compatibility.
1041 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
1042 (python-shell-make-comint): accept-process-output at startup.
1043 (run-python-internal): Set inferior-python-mode-hook to nil.
1044 (python-shell-internal-get-or-create-process): call sit-for.
1045 (python-preoutput-result): Add obsolete alias.
1046 (python-shell-internal-send-string): Use it.
1047 (python-shell-send-setup-code): Remove call to
1048 accept-process-output.
1049
1050 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
1051
1052 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
1053 (Bug#12108)
1054
1055 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
1056
1057 * calc-mode.el (calc-basic-simplification-mode): Rename from
1058 `calc-limited-simplification-mode'.
1059 (calc-alg-simplification-mode): New function.
1060 (calc-set-simplify-mode): Adjust message.
1061
1062 * calc.el (calc-set-mode-line): Adjust mode line display for
1063 basic simplification mode.
1064
1065 * calc-help.el (calc-m-prefix-help): Update help message.
1066
1067 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
1068 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
1069
1070 2012-07-31 Bastien Guerry <bzg@gnu.org>
1071
1072 * man.el (man): Fix comment. (bug#12101)
1073
1074 2012-07-31 Martin Rudalics <rudalics@gmx.at>
1075
1076 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1077 Don't return a non-nil value when no suitable buffer was found.
1078
1079 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
1080
1081 * progmodes/python.el (run-python-internal): Disable font lock for
1082 internal shells.
1083
1084 2012-07-30 Stefan Merten <smerten@oekonux.de>
1085
1086 * rst.el: Silence `checkdoc-ispell'.
1087 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1088 (rst-official-version, rst-official-cvs-rev)
1089 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
1090 (rst-mode-map): New key binding.
1091
1092 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
1093
1094 Update .PHONY listings in makefiles.
1095 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
1096 autoloads, update-subdirs, updates, bzr-update, update-authors,
1097 compile-onefile, compile-calc, backup-compiled-files,
1098 compile-after-backup, compile-one-process, mh-autoloads,
1099 bootstrap-clean, distclean, maintainer-clean.
1100
1101 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
1102
1103 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
1104 (calc-set-mode-line): Don't display "AlgSimp ".
1105
1106 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
1107 (calc-lim-simplify-mode): New function.
1108 (calc-set-simplify-mode): Default to 'alg.
1109 (calc-default-simplify-mode): Make algebraic simplifications
1110 the default.
1111
1112 * calc/calc-ext.el (calc-init-extensions): Remove binding for
1113 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
1114
1115 * calc/calc-help.el (calc-m-prefix-help): Change messages to
1116 indicate new simplification modes.
1117
1118 * calc/README: Mention new default simplification mode.
1119
1120 * calc/calc.el (math-normalize-error): New variable.
1121 (math-normalize): Set `math-normalize-error' to t
1122 when there's an error.
1123
1124 * calc/calc-alg.el (math-simplify): Don't simplify when
1125 `math-normalize' returns an error.
1126
1127 2012-07-29 Eli Zaretskii <eliz@gnu.org>
1128
1129 * international/mule-cmds.el (set-locale-environment): Revert last
1130 change, since display-graphic-p returns nil when this function is
1131 called during startup. Instead...
1132
1133 * term/w32console.el (terminal-init-w32console): ...setup the
1134 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
1135
1136 2012-07-29 Juri Linkov <juri@jurta.org>
1137
1138 * simple.el (goto-line): Don't display default line number in the
1139 prompt because it should be displayed by `read-number' (bug#9952).
1140 Add the current line number to the defaults of `goto-line' to
1141 allow its easier modification by users with `M-n' (bug#9201).
1142
1143 * subr.el (read-number): Support multiple default values like in
1144 other minibuffer reading functions. Replace `read' with
1145 `string-to-number' for consistency with `number-to-string'.
1146
1147 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
1148
1149 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
1150 * emulation/viper-init.el (viper-deactivate-input-method-action):
1151 Rename from viper-inactivate-input-method-action.
1152 (viper-deactivate-input-method):
1153 Rename from viper-inactivate-input-method.
1154 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
1155 * international/mule-cmds.el (deactivate-input-method):
1156 Rename from inactivate-input-method.
1157 Also run input-method-deactivate-hook.
1158 (deactivate-current-input-method-function):
1159 Rename from inactivate-current-input-method-function.
1160 (input-method-deactivate-hook): New hook.
1161 (input-method-inactivate-hook): Mark obsolete.
1162 (inactivate-input-method): Mark obsolete.
1163
1164 * international/quail.el (quail-activate):
1165 Also run quail-deactivate-hook.
1166 (quail-deactivate): Rename from quail-inactivate.
1167 * international/robin.el (robin-activate):
1168 Also run robin-deactivate-hook.
1169 (robin-deactivate): Rename from robin-inactivate.
1170
1171 2012-07-29 Chong Yidong <cyd@gnu.org>
1172
1173 * simple.el (indicate-copied-region): New function.
1174 (kill-ring-save): Split off from here.
1175
1176 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
1177 (kill-rectangle): Set deactivate-mark to t on read-only error.
1178
1179 * register.el (copy-to-register, copy-rectangle-to-register):
1180 Deactivate the mark, and use indicate-copied-region (Bug#10056).
1181 (append-to-register, prepend-to-register):
1182 Call 2012-07-29 Juri Linkov <juri@jurta.org>
1183
1184 * simple.el (async-shell-command-buffer): New defcustom.
1185 (shell-command): Use it. (Bug#4719)
1186
1187 2012-07-28 Eli Zaretskii <eliz@gnu.org>
1188
1189 * international/mule-cmds.el (set-locale-environment): In a
1190 console session on MS-Windows, set up keyboard and terminal
1191 encoding from the OEM codepage, not the ANSI codepage.
1192 (Bug#12055)
1193
1194 2012-07-28 Chong Yidong <cyd@gnu.org>
1195
1196 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
1197 gdb-get-location.
1198
1199 2012-07-28 Leo Liu <sdl.web@gmail.com>
1200
1201 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
1202 the alist (bug#12029).
1203
1204 2012-07-28 Eli Zaretskii <eliz@gnu.org>
1205
1206 * makefile.w32-in (custom-deps, finder-data, updates, compile)
1207 (compile-always, compile-first)
1208 ($(lisp)/calendar/cal-loaddefs.el)
1209 ($(lisp)/calendar/diary-loaddefs.el)
1210 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
1211 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
1212 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
1213 instead of on update-subdirs.
1214 (bootstrap-clean): Delete $(lisp)/subdirs.el.
1215
1216 2012-07-28 Chong Yidong <cyd@gnu.org>
1217
1218 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
1219 directory if vc-deduce-backend returns nil (Bug#7350).
1220
1221 * simple.el (delete-trailing-lines): New option.
1222 (delete-trailing-whitespace): Obey it (Bug#11879).
1223
1224 2012-07-28 David Engster <deng@randomsample.de>
1225
1226 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
1227 Explanation of new 'symbol-qnames feature in doc-strings.
1228 (xml-maybe-do-ns): Return expanded names as plain symbols if
1229 'symbol-qnames was provided in XML-NS argument (Bug#11916).
1230 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
1231
1232 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
1233
1234 Consistent completion in inferior python with emacs -nw.
1235 * progmodes/python.el (inferior-python-mode): replace "<tab>"
1236 binding in inferior-python-mode-map with "\t".
1237 (python-shell-completion-complete-at-point)
1238 (python-completion-complete-at-point): Remove interactive spec.
1239
1240 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1241
1242 * calc/calccomp.el (math-compose-expr): Undo previous change.
1243
1244 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
1245
1246 * progmodes/python.el (python-mode-map): Add keybinding for
1247 run-python.
1248 (python-shell-make-comint): Fix pop-to-buffer call.
1249 (run-python): Autoload. New arg SHOW.
1250 (python-shell-get-or-create-process): Do not pop python process
1251 buffer.
1252
1253 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
1254
1255 * notifications.el (notifications-on-action-signal)
1256 (notifications-on-closed-signal): Use also the bus address for the map.
1257 (notifications-notify, notifications-close-notification)
1258 (notifications-get-capabilities): Add optional argument BUS.
1259
1260 2012-07-27 Tassilo Horn <tsdh@gnu.org>
1261
1262 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1263 Add support for the lstlisting and minted environments, and for the
1264 ctable macro.
1265 * textmodes/reftex.el (reftex-compile-variables): Also recognize
1266 labels written in keyvals syntax.
1267
1268 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
1269
1270 * calc/calccomp.el (math-compose-expr): Use parentheses when
1271 there is a product in the denominator of a fraction.
1272
1273 2012-07-26 Eli Zaretskii <eliz@gnu.org>
1274
1275 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
1276 ($(lisp)/calendar/diary-loaddefs.el)
1277 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
1278 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
1279 Fixes failures in parallel bootstrap because subdirs.el is being
1280 rewritten while the autoload files are built at the same time,
1281 which needs to load subdirs.el.
1282
1283 2012-07-26 Martin Rudalics <rudalics@gmx.at>
1284
1285 * mouse.el (popup-menu): Fix doc-string and re-indent code.
1286 (mouse-drag-line): Don't exit tracking when a switch-frame or
1287 switch-window event occurs (Bug#12006).
1288
1289 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1290
1291 * mouse.el (popup-menu): Fix last change.
1292
1293 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1294
1295 Autoload from Lisp with more care. Follow aliases when looking for
1296 function properties.
1297 * subr.el (autoloadp): New function.
1298 (symbol-file): Use it.
1299 (function-get): New function.
1300 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
1301 autoload-do-load.
1302 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
1303 (lisp-indent-function):
1304 * emacs-lisp/gv.el (gv-get):
1305 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
1306 * emacs-lisp/byte-opt.el (byte-optimize-form):
1307 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
1308 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
1309 Use function-get.
1310 * emacs-lisp/cl.el: Don't propagate function properties any more.
1311
1312 * speedbar.el (speedbar-add-localized-speedbar-support):
1313 * emacs-lisp/disass.el (disassemble-internal):
1314 * desktop.el (desktop-load-file):
1315 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
1316 (describe-function-1):
1317 * emacs-lisp/find-func.el (find-function-noselect):
1318 * emacs-lisp/elp.el (elp-instrument-function):
1319 * emacs-lisp/advice.el (ad-has-proper-definition):
1320 * apropos.el (apropos-safe-documentation, apropos-macrop):
1321 * emacs-lisp/debug.el (debug-on-entry):
1322 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
1323 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1324 * calc/calc.el (name): Use autoloadp & autoload-do-load.
1325
1326 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
1327
1328 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
1329 function, not an obsolete variable (Bug#12046).
1330
1331 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1332
1333 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
1334
1335 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
1336
1337 * emacs-lisp/pp.el (pp-display-expression): Select old selected
1338 window only if it is still live (Bug#12034).
1339
1340 2012-07-25 Martin Rudalics <rudalics@gmx.at>
1341
1342 * subr.el (redirect-frame-focus): Add advertised calling
1343 convention (Bug#12030).
1344
1345 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
1346
1347 Prefer typical American spelling for "acknowledgment".
1348 * vc/add-log.el (change-log-acknowledgment): Rename from
1349 change-log-acknowledgement, with an alias for the old name.
1350
1351 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
1352
1353 * calc-alg.el (math-simplify-divide): Don't cross multiply
1354 in an equation when the lhs is a variable.
1355
1356 2012-07-24 Julien Danjou <julien@danjou.info>
1357
1358 * net/netrc.el (netrc-find-service-number, netrc-store-data):
1359 Remove, unused.
1360
1361 2012-07-23 Eli Zaretskii <eliz@gnu.org>
1362
1363 * startup.el (command-line): Don't display an empty user name in
1364 the error message about non-existent home directory, when
1365 init-file-user was set to an empty string. See
1366 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
1367 for the details and context.
1368
1369 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
1370
1371 * ses.el (ses-cell-formula-aset): New macro.
1372 (ses-cell-references-aset): New macro.
1373 (ses-cell-p): New function.
1374 (ses-rename-cell): Do no longer rely on complex operations like
1375 ses-cell-set-formula or ses-set-cell to change the cell and handle
1376 the undo at the same time, but rather use lower level new macros
1377 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
1378 the undo directly. Refresh the mode line.
1379
1380 2012-07-21 Leo Liu <sdl.web@gmail.com>
1381
1382 * progmodes/cc-cmds.el (c-defun-name):
1383 Use match-string-no-properties instead for consistency.
1384
1385 2012-07-20 Leo Liu <sdl.web@gmail.com>
1386
1387 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
1388 (Bug#7879)
1389
1390 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
1391
1392 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
1393
1394 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
1395 * progmodes/bug-reference.el, misearch.el: Provide themselves
1396 (bug#11915).
1397
1398 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
1399 of narrowed buffer (bug#11966).
1400
1401 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
1402
1403 * ses.el (ses-rename-cell): Set new name also in reference list of
1404 cells of which the renamed cell depends.
1405
1406 2012-07-20 Masatake YAMATO <yamato@redhat.com>
1407
1408 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
1409 to check whether menu-bar is shown or not. If not shown,
1410 show the menu-bar as a popup menu instead of using tmm.
1411 * mouse.el (popup-menu): Accept `point' as `position' argument.
1412
1413 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
1414
1415 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
1416 up inside string symbol literal (bug#11923).
1417
1418 2012-07-20 Eli Zaretskii <eliz@gnu.org>
1419
1420 * startup.el (fancy-startup-text): Read the whole tutorial, not
1421 just its first 256 bytes. Prevents gibberish in display of the
1422 tutorial title.
1423
1424 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
1425
1426 Drop idle buffer compaction due to an absence of the
1427 proved efficiency.
1428 * compact.el: Remove.
1429
1430 2012-07-19 Sam Steingold <sds@gnu.org>
1431
1432 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
1433 vc-bzr-pull & vc-bzr-merge-branch.
1434 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
1435 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
1436 for consistency with compilation-error-regexp-alist.
1437 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
1438 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
1439 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
1440 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
1441
1442 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1443
1444 * emacs-lisp/chart.el: Use lexical-binding.
1445 (chart-emacs-storage): Don't hardcode the list of entries.
1446
1447 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1448
1449 Next round of tweaks caused by Fgarbage_collect changes.
1450 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
1451
1452 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1453
1454 Compact buffers when idle.
1455 * compact.el: New file.
1456
1457 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1458
1459 * subr.el (eventp): Presume that if it looks vaguely like an event,
1460 it's an event (bug#10190).
1461
1462 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
1463
1464 Enhancements to ppss related code (thanks Stefan).
1465 * progmodes/python.el (python-indent-context)
1466 (python-indent-calculate-indentation, python-indent-dedent-line)
1467 (python-indent-electric-colon, python-nav-forward-block)
1468 (python-mode-abbrev-table)
1469 (python-info-assignment-continuation-line-p): Simplify checks
1470 for ppss context.
1471 (python-info-continuation-line-p): Cleanup.
1472 (python-info-ppss-context): Do not catch 'quote.
1473 (python-info-ppss-context-type)
1474 (python-info-ppss-comment-or-string-p): Simplify.
1475
1476 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
1477
1478 * progmodes/python.el: Enhancements to eldoc support.
1479 (python-info-current-symbol): New function.
1480 (python-eldoc-at-point): Use python-info-current-symbol.
1481 (python-info-current-defun): Fix cornercase on first defun scan.
1482 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
1483 and signal error when no inferior python process is available.
1484
1485 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
1486
1487 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
1488 assume it's always t.
1489 (vc-git-registered): Remove caching, the function is only called
1490 once.
1491 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
1492
1493 2012-07-18 Chong Yidong <cyd@gnu.org>
1494
1495 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
1496
1497 * simple.el (count-words): Report on narrowing (Bug#9959).
1498
1499 * bindings.el: Bind M-= to count-words.
1500
1501 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
1502
1503 2012-07-18 Masatake YAMATO <yamato@redhat.com>
1504
1505 * progmodes/sh-script.el (sh-imenu-generic-expression):
1506 Capture a function with `function' keyword and without parentheses
1507 like "function FOO" (bug#11856).
1508
1509 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
1510
1511 * window.el (split-window-sensibly): Make WINDOW argument
1512 optional.
1513
1514 2012-07-18 Chong Yidong <cyd@gnu.org>
1515
1516 * subr.el (keyboard-translate): Doc fix (Bug#7261).
1517
1518 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
1519 and make C-x 8 RET exit isearch (Bug#11439).
1520
1521 * international/iso-transl.el: Move isearch-mode-map key
1522 definitions to isearch.el.
1523
1524 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
1525
1526 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
1527 (eieio-defclass): Use gv-define-setter when possible.
1528
1529 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
1530
1531 Reflect recent changes in Fgarbage_collect.
1532 * emacs-lisp/chart.el (chart-emacs-storage): Change to
1533 reflect new format of data returned by Fgarbage_collect.
1534
1535 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1536
1537 New utility functions + python-info-ppss-context fix (Bug#11910).
1538 * progmodes/python.el (python-info-beginning-of-block-statement-p)
1539 (python-info-ppss-comment-or-string-p): New functions.
1540 (python-info-ppss-context): Small fix for string check.
1541
1542 2012-07-17 Juri Linkov <juri@jurta.org>
1543
1544 * dired-aux.el (dired-do-async-shell-command): Doc fix.
1545 (dired-do-async-shell-command): Don't add `*' at the end of the
1546 command (Bug#11815).
1547 (dired-do-shell-command): Doc fix.
1548 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
1549 Join the individual commands using either "&" or ";" as the
1550 separator depending on the values of these trailing characters.
1551 At the end re-add the trailing "&". (Bug#10598)
1552
1553 * simple.el (async-shell-command): Sync the interactive spec with
1554 `shell-command'. Doc fix.
1555 (shell-command): Doc fix.
1556
1557 2012-07-17 Juri Linkov <juri@jurta.org>
1558
1559 * descr-text.el (describe-char): Fix format args. (Bug#10129)
1560
1561 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1562
1563 Final renames and doc fixes for movement commands (bug#11899).
1564 * progmodes/python.el (python-nav-beginning-of-statement):
1565 Rename from python-nav-statement-start.
1566 (python-nav-end-of-statement): Rename from
1567 python-nav-statement-end.
1568 (python-nav-beginning-of-block): Rename from
1569 python-nav-block-start.
1570 (python-nav-end-of-block): Rename from python-nav-block-end.
1571
1572 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1573
1574 * progmodes/python.el (python-shell-send-string-no-output):
1575 Allow accept-process-output to quit, keeping shell process ready for
1576 future interactions (Bug#11868).
1577
1578 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
1579
1580 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
1581
1582 * emacs-lisp/elint.el (elint-find-args-in-code):
1583 Use help-function-arglist, so as to handle lexical byte-code.
1584
1585 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
1586 change (bug#11826).
1587
1588 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
1589
1590 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1591 Avoid spuriously marking the buffer as modified because of c-is-sws.
1592
1593 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
1594 as not-a-comment (bug#11946).
1595
1596 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
1597 for uninterned vars.
1598
1599 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
1600 Use read-event since we don't really want to read chars but bytes.
1601
1602 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
1603 $$..$$ but also $..$ using regexps (bug#11953).
1604 Use tex-verbatim for \url and \path.
1605 (tex-font-lock-keywords): Define as defconst like the others.
1606 (tex-common-initialization): Don't use font-lock-syntax-table any more.
1607
1608 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
1609
1610 * international/mule-cmds.el (ucs-insert): Make it an obsolete
1611 alias for insert-char.
1612
1613 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1614
1615 * progmodes/python.el: Simplified imenu implementation.
1616 (python-nav-jump-to-defun): Remove command.
1617 (python-mode-map): Use `imenu' instead.
1618 (python-nav-list-defun-positions-cache)
1619 (python-imenu-include-defun-type, python-imenu-make-tree)
1620 (python-imenu-subtree-root-label, python-imenu-index-alist):
1621 Remove vars.
1622 (python-nav-list-defun-positions, python-nav-read-defun)
1623 (python-imenu-tree-assoc, python-imenu-make-element-tree)
1624 (python-imenu-make-tree, python-imenu-create-index):
1625 Remove functions.
1626 (python-mode): Update to interact with imenu by setting
1627 `imenu-extract-index-name-function' only.
1628
1629 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1630
1631 * progmodes/python.el: Enhancements to navigation commands.
1632 (python-nav-backward-sentence)
1633 (python-nav-forward-sentence): Remove.
1634 (python-nav-backward-statement, python-nav-forward-statement)
1635 (python-nav-statement-start, python-nav-statement-end)
1636 (python-nav-backward-block, python-nav-forward-block)
1637 (python-nav-block-start, python-nav-block-end)
1638 (python-nav-forward-sexp-function)
1639 (python-info-current-line-comment-p)
1640 (python-info-current-line-empty-p): New functions.
1641 (python-indent-context): Use `python-nav-statement-start'.
1642
1643 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
1644
1645 * eshell/em-ls.el (eshell/ls): Use `apply'.
1646
1647 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
1648 multi-hops, instead of Tramp internals.
1649
1650 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
1651
1652 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
1653 when F1 and F2 are located on different hosts.
1654
1655 2012-07-14 Chong Yidong <cyd@gnu.org>
1656
1657 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
1658 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
1659 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
1660 (xterm-mouse--read-event-sequence-1000)
1661 (xterm-mouse--read-event-sequence-1006): New functions. For old
1662 mouse protocol, handle M-mouse-X events correctly.
1663 (xterm-mouse-event): New arg specifying mouse protocol.
1664 (turn-on-xterm-mouse-tracking-on-terminal)
1665 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
1666 sequence to toggle extended coordinates on newer XTerms.
1667 This appears to be harmless on terminals which do not support this.
1668
1669 2012-07-14 Leo Liu <sdl.web@gmail.com>
1670
1671 Add fringe bitmap indicators for flymake. (Bug#11253)
1672 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
1673 (flymake-make-overlay): New arg BITMAP.
1674 (flymake-error-bitmap, flymake-warning-bitmap)
1675 (flymake-fringe-indicator-position): New user variables.
1676
1677 * fringe.el: New bitmap exclamation-mark.
1678
1679 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
1680
1681 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
1682 also (Bug#7879).
1683
1684 2012-07-14 Chong Yidong <cyd@gnu.org>
1685
1686 * electric.el (electric-pair-post-self-insert-function): Fix pair
1687 insertion in empty-region case (Bug#11520).
1688
1689 2012-07-14 Chong Yidong <cyd@gnu.org>
1690
1691 * bindings.el: Consolidate ctl-x-r-map bindings.
1692 Bind copy-rectangle-as-kill to C-x r w.
1693
1694 * rect.el, register.el: Move bindings to bindings.el.
1695
1696 2012-07-14 Reuben Thomas <rrt@sc3d.org>
1697
1698 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
1699
1700 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
1701
1702 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
1703
1704 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
1705
1706 * bindings.el (top): Use `mapc' instead of `mapcar'.
1707
1708 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
1709
1710 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
1711
1712 * progmodes/sql.el (sql-comint): Suppress the check for program on
1713 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
1714 (Bug#11908)
1715
1716 2012-07-13 Chong Yidong <cyd@gnu.org>
1717
1718 * bindings.el: Assign a non-nil permanent-local property to
1719 per-buffer variables which lack a default value (Bug#11930).
1720
1721 * help-fns.el (describe-variable): In the "automatically becomes
1722 local" notice, take note of permanent-local variables.
1723
1724 2012-07-13 Chong Yidong <cyd@gnu.org>
1725
1726 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
1727 to allow printing the message when called from Lisp.
1728
1729 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1730 Remove toggle-read-only.
1731
1732 * bs.el (bs-toggle-readonly):
1733 * buff-menu.el (Buffer-menu-toggle-read-only):
1734 Remove with-no-warnings around toggle-read-only.
1735
1736 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
1737 Remove with-no-warnings around toggle-read-only.
1738 (ffap-read-only, ffap-read-only-other-window)
1739 (ffap-read-only-other-frame): Callers changed.
1740
1741 * help-mode.el: Don't require view package.
1742 (help-mode-finish): Set buffer-read-only instead of calling
1743 toggle-read-only.
1744
1745 * bindings.el (mode-line-toggle-read-only):
1746 * dired.el (dired-toggle-read-only):
1747 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
1748 with non-nil second arg.
1749
1750 * emacs-lisp/eieio-custom.el (eieio-customize-object):
1751 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
1752 directly.
1753
1754 2012-07-12 Eli Zaretskii <eliz@gnu.org>
1755
1756 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
1757 not incf.
1758
1759 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1760
1761 More CL cleanups and reduction of use of cl.el.
1762 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
1763 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
1764 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
1765 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
1766 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
1767 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
1768 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
1769 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
1770 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
1771 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
1772 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
1773 * eshell/em-cmpl.el, eshell/em-banner.el:
1774 * calendar/parse-time.el: Use cl-lib.
1775 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
1776 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
1777 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
1778 * term/ns-win.el, term.el, shell.el, ps-samp.el:
1779 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
1780 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
1781 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
1782 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
1783 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
1784 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
1785 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
1786 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
1787 `lambda' rather than with `quote'.
1788 (eshell-do-opt): Adjust accordingly.
1789 (eshell-process-option): Simplify.
1790 * eshell/esh-var.el:
1791 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
1792 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
1793 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
1794 to `pcase--dontcare'.
1795 * emacs-lisp/cl.el (labels): Mark obsolete.
1796 (cl--letf, letf): Move to cl-lib.
1797 (cl--letf*, letf*): Remove.
1798 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
1799 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
1800 (cl-progv): Rewrite.
1801 (cl--letf, cl-letf): Move from cl.el.
1802 (cl-letf*): New macro.
1803 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
1804
1805 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
1806
1807 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
1808
1809 2012-07-11 Chong Yidong <cyd@gnu.org>
1810
1811 * vc/log-edit.el (log-edit-vc-backend): New variable.
1812 (log-edit): Doc fix.
1813
1814 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
1815 argument of log-edit to set up all local variables.
1816 (vc-start-logentry): New optional arg specifying VC backend.
1817
1818 * vc/vc.el (vc-checkin): Use it.
1819 (vc-deduce-fileset): Handle Log Edit buffers.
1820 (vc-diff): Make first argument optional too.
1821
1822 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
1823
1824 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
1825
1826 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
1827 command, just in case. The function is not needed anymore.
1828 (eshell-external-command): Do not call `eshell-remote-command'.
1829
1830 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
1831
1832 Reduce use of (require 'cl).
1833 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
1834 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
1835 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
1836 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
1837 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
1838 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
1839 * battery.el, avoid.el, abbrev.el: Use cl-lib.
1840 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
1841 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
1842 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
1843 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
1844 * calculator.el, autorevert.el, apropos.el: Don't require CL.
1845 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
1846 (byte-compile-unfold-bcf, byte-compile-check-variable):
1847 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
1848 (byte-compile-nilconstp):
1849 * emacs-lisp/autoload.el (make-autoload): Use pcase.
1850 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
1851
1852 * emacs-lisp/gv.el (cond): Make it a valid place.
1853 (if): Simplify slightly.
1854
1855 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
1856 (pcase--self-quoting-p): New function.
1857 (pcase--u1): Use it.
1858
1859 2012-07-10 Glenn Morris <rgm@gnu.org>
1860
1861 * emacs-lisp/authors.el (authors-fixed-entries):
1862 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
1863
1864 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1865
1866 Rename configure.in to configure.ac (Bug#11603).
1867 * emacs-lisp/authors.el (authors-canonical-file-name):
1868 * progmodes/autoconf.el (autoconf-mode):
1869 Prefer configure.ac to configure.in.
1870
1871 2012-07-08 Chong Yidong <cyd@gnu.org>
1872
1873 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
1874 Implement the mouse-1-click-follows-link handling properly.
1875
1876 * info.el (Info-link-keymap): Use follow-link mechanism for
1877 header-line links (Bug#374).
1878
1879 * simple.el (deactivate-mark): Do not set the primary selection
1880 if another program has acquired it (Bug#11772).
1881
1882 2012-07-07 Kevin Ryde <user42@zip.com.au>
1883
1884 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1885 (woman-decode-region): Replace escaped-escapes without destroying
1886 bold or underline (Bug#11552).
1887 (woman2-process-escapes): Handle nofill regions (Bug#11591).
1888
1889 2012-07-07 Chong Yidong <cyd@gnu.org>
1890
1891 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
1892 (interprogram-cut-function, interprogram-paste-function):
1893 Mention that we typically mean the clipboard.
1894
1895 2012-07-06 Glenn Morris <rgm@gnu.org>
1896
1897 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
1898
1899 * files.el (toggle-read-only): Restrict message to interactive use.
1900
1901 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
1902
1903 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1904
1905 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1906
1907 2012-07-06 Glenn Morris <rgm@gnu.org>
1908
1909 * Makefile.in (compile-one-process): Rename from "recompile".
1910
1911 * Makefile.in (bzr-update): "compile" is the same as "recompile
1912 autoloads", but parallelizable, so use that instead.
1913
1914 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1915
1916 * window.el (quit-window): Always restore window height when
1917 it's saved in quit-restore parameter (Bug#11810).
1918
1919 2012-07-06 Glenn Morris <rgm@gnu.org>
1920
1921 * simple.el (kill-whole-line): Doc tweak.
1922
1923 2012-07-06 Eli Zaretskii <eliz@gnu.org>
1924
1925 * files.el (file-relative-name): Compare file names
1926 case-insensitively if on MS-Windows or MS-DOS, or if
1927 read-file-name-completion-ignore-case is non-nil. Don't use
1928 case-fold-search for this purpose. (Bug#11827)
1929
1930 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1931
1932 * calendar/cal-dst.el (calendar-current-time-zone):
1933 Return calendar-current-time-zone-cache if non-nil.
1934
1935 2012-07-17 Masatake YAMATO <yamato@redhat.com>
1936 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1937
1938 * calendar/cal-dst.el (calendar-current-time-zone):
1939 Return calendar-current-time-zone-cache if non-nil.
1940
1941 2012-07-06 Glenn Morris <rgm@gnu.org>
1942
1943 * Makefile.in (cvs-update): Remove old alias.
1944
1945 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
1946
1947 Sync with Tramp 2.2.6-pre.
1948
1949 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1950 compatible declaration.
1951
1952 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1953 Protect `list-load-path-shadows' call.
1954
1955 * net/tramp-compat.el (top): Require packages, which aren't
1956 autoloaded anymore for XEmacs. Protect call of
1957 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1958 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1959 it hurts at least for SXEmacs.
1960 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1961 standard-value for `temporary-file-directory'.
1962
1963 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1964 Redirect stderr to /dev/null.
1965 (tramp-sh-handle-write-region): uid and gid can be floats.
1966 Reported by Russell Sim <russell.sim@gmail.com>.
1967 (tramp-sh-handle-vc-registered): Hide errors.
1968 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1969 and `start-file-process'.
1970 (tramp-maybe-open-connection): Check also whether `non-essential'
1971 is bound.
1972
1973 2012-07-04 Chong Yidong <cyd@gnu.org>
1974
1975 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1976 (xml-parse-tag): Likewise, and avoid changing entity tables.
1977 (xml-syntax-table): Define from scratch, making sure not to give
1978 x2000 and other Unicode spaces whitespace syntax, since those are
1979 not spaces in XML.
1980 (xml-parse-fragment): Delete unused function.
1981 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1982 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1983 (xml-entity-ref, xml-pe-reference-re)
1984 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1985 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1986 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1987 (xml-entity-value-re): Use syntax references in regexps where
1988 possible; no need to define inside a let-binding.
1989 (xml-parse-dtd): Use xml-pe-reference-re.
1990 (xml-entity-or-char-ref-re): New defconst.
1991 (xml-parse-string, xml-substitute-special): Use it.
1992
1993 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1994
1995 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1996 (find-file--read-only): New function.
1997 (find-file-read-only, find-file-read-only-other-window)
1998 (find-file-read-only-other-frame): Use it.
1999 (insert-file-contents-literally): Don't `fset'.
2000 (get-free-disk-space): Use locate-dominating-file.
2001
2002 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
2003 function is already compiled.
2004
2005 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
2006
2007 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
2008
2009 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
2010 files on the same host.
2011
2012 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
2013
2014 * help-fns.el (describe-function-1): Only call
2015 help-fns--autoloaded-p when we have a file name. (Bug#11848)
2016
2017 2012-07-03 Chong Yidong <cyd@gnu.org>
2018
2019 * xml.el: Protect parser against XML bombs.
2020 (xml-entity-expansion-limit): New variable.
2021 (xml-parse-string, xml-substitute-special): Use it.
2022 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
2023
2024 2012-07-03 Glenn Morris <rgm@gnu.org>
2025
2026 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2027 Allow linking to specific messages in debbugs reports (eg 123#5).
2028
2029 2012-07-02 Chong Yidong <cyd@gnu.org>
2030
2031 * xml.el: Fix entity and character reference expansion, allowing
2032 them to expand into markup as per XML spec.
2033 (xml-default-ns): New variable.
2034 (xml-entity-alist): Use XML spec definitions for lt and amp.
2035 (xml-parse-region): Make first two arguments optional.
2036 Discard text properties.
2037 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
2038 All callers changed.
2039 (xml-parse-tag): Call xml-parse-tag-1. For backward
2040 compatibility, this function should not modify buffer contents.
2041 (xml-parse-tag-1): Fix opening-tag regexp.
2042 (xml-parse-string): Rewrite, handling entity and character
2043 references properly.
2044 (xml--entity-replacement-text): Signal an error if a parameter
2045 entity is undefined.
2046
2047 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
2048
2049 * comint.el (comint-output-filter): Filter out repeated prompts.
2050
2051 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
2052 and file-name-absolute-p.
2053 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
2054 internal calls.
2055
2056 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
2057
2058 Spelling fixes.
2059 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
2060 Rename from byte-compile--refiy-function. All uses changed.
2061
2062 2012-07-01 Chong Yidong <cyd@gnu.org>
2063
2064 * xml.el (xml--parse-buffer): New function. Move most of
2065 xml-parse-region here.
2066 (xml-parse-region): Copy region into a temporary buffer, since
2067 parameter entity substitution requires changing buffer contents.
2068 Use xml--parse-buffer.
2069 (xml-parse-file): Use xml--parse-buffer.
2070 (xml-parse-dtd): Make parameter entity substitution work right.
2071 Use proper regexps for ELEMENT declarations (Bug#7172).
2072
2073 2012-06-30 Glenn Morris <rgm@gnu.org>
2074
2075 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
2076
2077 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
2078 Remove outdated and unnecessary dbus declarations.
2079
2080 2012-06-30 Eli Zaretskii <eliz@gnu.org>
2081
2082 * emacs-lisp/timer.el (timer-until): Subtract results of
2083 float-time, instead of taking float-time of the result of
2084 time-subtract, since float-time signals an error for negative time
2085 arguments.
2086
2087 2012-06-30 Chong Yidong <cyd@gnu.org>
2088
2089 * xml.el (xml-*-re): Convert defvars into defconsts, and
2090 eval-and-compile them so eval-and-compile works on derivatives.
2091 (xml--entity-replacement-text): Use eval-and-comple.
2092
2093 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
2094
2095 * vc/vc-git.el (vc-git-registered): Use cache property
2096 `git-registered'.
2097 (vc-git-mode-line-string): Call `vc-working-revision' instead of
2098 `vc-git-working-revision' in order to benefit from the cache.
2099 (vc-git-root): Use cache property `git-root'. (Bug#11757)
2100
2101 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
2102
2103 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2104 removed (likely outside Emacs). (Bug#11757)
2105
2106 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2107
2108 * emacs-lisp/cl-lib.el: Require macroexp.
2109
2110 2012-06-30 Chong Yidong <cyd@gnu.org>
2111
2112 * xml.el: Implement XML parameter entities.
2113 (xml-parameter-entity-alist): New variable.
2114 (xml-parse-region, xml-parse-fragment): Preserve previous values
2115 of xml-entity-alist and xml-parameter-entity-alist, so that
2116 repeated calls on different documents do not change them.
2117 (xml-parse-tag): Fix doctype regexp.
2118 (xml--entity-replacement-text): New function.
2119 (xml-parse-dtd): Use it. Don't handle system entities; doing that
2120 properly requires url retrieval which is unimplemented.
2121 (xml-escape-string): Doc fix.
2122
2123 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2124
2125 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
2126
2127 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
2128
2129 * fringe.el (fringe-mode): Doc fix.
2130
2131 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
2132
2133 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
2134 is non-nil.
2135 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
2136 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
2137
2138 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
2139
2140 * calendar/cal-dst.el (calendar-current-time-zone):
2141 Return calendar-current-time-zone-cache if non-nil.
2142
2143 2012-06-29 Masatake YAMATO <yamato@redhat.com>
2144
2145 * progmodes/which-func.el (which-func-format):
2146 Add mouse-face. (Bug#11698)
2147
2148 2012-06-29 Leo Liu <sdl.web@gmail.com>
2149
2150 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
2151
2152 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2153
2154 * minibuffer.el (minibuffer-confirm-exit-commands):
2155 Add completion-at-point (bug#11725).
2156
2157 2012-06-29 Glenn Morris <rgm@gnu.org>
2158
2159 * progmodes/f90.el (f90-font-lock-keywords-2):
2160 Add some preprocessor elements. (Bug#10499)
2161
2162 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2163
2164 * progmodes/cperl-mode.el (cperl-update-syntaxification):
2165 Use syntax-propertize (bug#11739).
2166
2167 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
2168
2169 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
2170
2171 2012-06-28 Julien Danjou <julien@danjou.info>
2172
2173 * term.el (term-handle-colors-array): Use a set of new faces to
2174 color the terminal. Also uses :inverse-video property.
2175 (term-default-fg-color): Set to nil by default, deprecate in favor
2176 of `term-face'.
2177 (term-default-bg-color): Set to nil by default, deprecate in favor
2178 of `term-face'.
2179 (term-current-face): Use `term-face' by default.
2180 (term-bold-attribute): Variable deleted.
2181
2182 2012-06-28 Glenn Morris <rgm@gnu.org>
2183
2184 * simple.el (completion-list-mode-finish):
2185 Don't use toggle-read-only. (Since completion-list-mode has
2186 a special mode-class, it wasn't doing anything extra anyway.)
2187
2188 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
2189
2190 Make inlining of other-mode interpreted functions work (bug#11799).
2191 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
2192 (byte-compile): Use it to fix compilation of lexical-binding closures.
2193 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
2194 function, if needed.
2195
2196 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
2197
2198 * help-mode.el (help-make-xrefs): Don't just withstand
2199 cyclic-variable-indirection but any error in documentation-property.
2200
2201 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
2202 memory use.
2203 * bindings.el (bindings--define-key): New function.
2204 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
2205 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
2206 * bindings.el: Use it to purecopy define-key bindings.
2207
2208 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
2209
2210 * emacs-lisp/cl.el (flet): Mark obsolete.
2211 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
2212 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
2213 * progmodes/js.el (js-c-fill-paragraph):
2214 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
2215 (ebrowse-switch-member-buffer-to-derived-class):
2216 * play/5x5.el (5x5-solver): Use cl-flet.
2217
2218 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
2219 (cl--symbol-function): New macro.
2220 (cl--letf, cl--letf*): Use it.
2221
2222 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
2223 Strip "toggle-" if any.
2224
2225 2012-06-27 Glenn Morris <rgm@gnu.org>
2226
2227 * info.el (Info-default-directory-list): Move here from paths.el.
2228 * paths.el: Remove file, which is now empty.
2229 * loadup.el: No longer load "paths".
2230
2231 * custom.el (custom-initialize-delay): Doc fix.
2232
2233 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2234 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2235 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2236 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2237 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2238 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
2239 * eshell/eshell.el (eshell-defgroup): Remove alias.
2240
2241 2012-06-27 Chong Yidong <cyd@gnu.org>
2242
2243 * help.el (help-enable-auto-load): New variable.
2244
2245 * help-fns.el (help-fns--autoloaded-p): New function.
2246 (describe-function-1): Refer to a function as "autoloaded" if it
2247 was autoloaded at any time in the past. Perform autoloading if
2248 help-enable-auto-load is non-nil.
2249
2250 2012-06-26 Eli Zaretskii <eliz@gnu.org>
2251
2252 * makefile.w32-in (compile, compile-always): Depend on
2253 update-subdirs, not on subdirs.el. Otherwise, several different
2254 sub-targets of 'bootstrap' running in parallel could
2255 simultaneously write to subdirs.el, producing a garbled file.
2256
2257 2012-06-26 Sam Steingold <sds@gnu.org>
2258
2259 * files.el (file-name-base): New convenience function.
2260 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
2261 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
2262 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
2263 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
2264 * textmodes/ispell.el, textmodes/reftex-ref.el:
2265 * textmodes/tex-mode.el: Use it.
2266 Did not touch cedet and org because they are maintained elsewhere.
2267
2268 2012-06-26 Martin Rudalics <rudalics@gmx.at>
2269
2270 * calendar/calendar.el (calendar-exit): Don't try to delete or
2271 iconify last frame. See:
2272 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
2273
2274 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
2275
2276 * server.el (server-process-filter): Remember dir in the
2277 process's `server-client-directory' properties.
2278
2279 2012-06-24 Chong Yidong <cyd@gnu.org>
2280
2281 * xml.el (xml-parse-tag): Correctly handle comment embedded in
2282 non-tag text.
2283
2284 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
2285
2286 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
2287
2288 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2289
2290 * help-fns.el (describe-variable): Don't croak when doc is not found.
2291 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
2292 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
2293 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
2294 * emacs-lisp/smie.el (smie-next-sexp): CSE.
2295 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
2296 ((lambda ..) ..).
2297 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
2298
2299 2012-06-23 Chong Yidong <cyd@gnu.org>
2300
2301 * info.el (Info-mouse-follow-link): Accept symbol values of
2302 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
2303 (Info-fontify-node): Use Info-link-keymap for all navigation
2304 buttons, with link-args property to perform the desired action.
2305 (Info-link-keymap): Doc fix.
2306 (Info-next-link-keymap, Info-prev-link-keymap)
2307 (Info-up-link-keymap): Delete now-unused keymaps.
2308
2309 2012-06-23 Chong Yidong <cyd@gnu.org>
2310
2311 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
2312
2313 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
2314 system abbrevs.
2315
2316 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
2317
2318 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2319
2320 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
2321 (bug#11719).
2322
2323 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
2324 the requote function doesn't work properly (bug#11714).
2325
2326 2012-06-23 Glenn Morris <rgm@gnu.org>
2327
2328 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
2329
2330 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2331
2332 Further GV/CL cleanups.
2333 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
2334 gv-expander.
2335 (gv--defun-declaration): New function.
2336 (defun-declarations-alist): Use it.
2337 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
2338 (gv-place): Autoload.
2339 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
2340 original definition of dotimes and dolist.
2341 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
2342 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
2343 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
2344 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2345 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
2346 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
2347 to the function's definition.
2348 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
2349 * window.el:
2350 * files.el:
2351 * faces.el:
2352 * env.el: Don't use CL.
2353
2354 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
2355
2356 Support higher-resolution time stamps (Bug#9000).
2357
2358 * calendar/time-date.el (with-decoded-time-value): New arg
2359 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
2360 (encode-time-value): New optional arg PICO. New type 3.
2361 (time-to-seconds) [!float-time]: Support the new picoseconds
2362 component if it's used.
2363 (seconds-to-time, time-subtract, time-add):
2364 Support ps-resolution time stamps as well.
2365
2366 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
2367 (timerp): Timer vectors now have length 9, not 8.
2368 (timer--time): Support new-style (4-part) time stamps.
2369 (timer-next-integral-multiple-of-time): Time stamps now have
2370 picosecond resolution, so take a bit more care about rounding.
2371 (timer-relative-time, timer-inc-time): New optional arg psecs.
2372 (timer-set-time-with-usecs): Set psecs to 0.
2373 (timer--activate): Check psecs component, too.
2374
2375 * proced.el (proced-time-lessp): Support ps-resolution stamps.
2376
2377 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2378
2379 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
2380 Move the non-essential binding to the post/pre-command-hook where it is
2381 more obviously correct.
2382
2383 * subr.el (read-passwd): Don't use a history at all.
2384 * savehist.el (savehist-save): Remove password saved accidentally
2385 because of the above bug.
2386
2387 2012-06-22 Bastien Guerry <bzg@gnu.org>
2388
2389 * files.el (toggle-read-only): Display a message telling whether
2390 the buffer is read-only or not (bug#11726).
2391
2392 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2393
2394 * emacs-lisp/gv.el: New file.
2395 * subr.el (push, pop): Extend to generalized variables.
2396 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
2397 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
2398 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
2399 gv-define-simple-setter, and gv-define-expander.
2400 Remove setf-methods defined in gv. Rename cl-setf -> setf.
2401 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
2402 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
2403 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
2404 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
2405 gv-letplace.
2406 (cl-defstruct): Don't define setf-method any more.
2407 * emacs-lisp/cl.el (flet): Don't autoload.
2408 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
2409 (define-setf-expander, defsetf, define-modify-macro)
2410 (cl-struct-setf-expander): Move from cl-lib.el.
2411 * emacs-lisp/syntax.el:
2412 * emacs-lisp/ewoc.el:
2413 * emacs-lisp/smie.el:
2414 * emacs-lisp/cconv.el:
2415 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
2416 (timer--time): Use gv-define-simple-setter.
2417 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
2418 to avoid coding-system problems in subr.el. Adjust all users.
2419 (macroexp--maxsize, macroexp-small-p): New functions.
2420 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
2421 * scroll-bar.el (scroll-bar-mode):
2422 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
2423 (normal-erase-is-backspace-mode): Don't use the `eq' place.
2424 * winner.el (winner-configuration, winner-make-point-alist)
2425 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
2426 * files.el (locate-file-completion-table): Avoid list*.
2427
2428 2012-06-22 Chong Yidong <cyd@gnu.org>
2429
2430 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
2431 (dired-create-files): Doc fix (Bug#11329).
2432 (dired-do-copy): Doc fix (Bug#11334).
2433 (dired-mark-read-string): Doc fix (Bug#11553).
2434
2435 * dired.el (dired-recursive-copies, dired-recursive-deletes):
2436 Doc fix (Bug#11326).
2437 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
2438 (dired-dwim-target): Doc fix.
2439
2440 * wdired.el (wdired-mode): Doc fix.
2441
2442 2012-06-22 Glenn Morris <rgm@gnu.org>
2443
2444 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
2445 (pcmpl-rpm-cache-stamp-file): New constant.
2446 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
2447 (pcmpl-rpm-packages): Optionally cache list of packages.
2448
2449 * pcmpl-rpm.el (pcmpl-rpm): New group.
2450 (pcmpl-rpm-query-options): New option.
2451 (pcmpl-rpm-packages): No need to inline it.
2452 Use pcmpl-rpm-query-options.
2453
2454 * calendar/calendar.el (calendar-in-read-only-buffer):
2455 Avoid some needless mode changes.
2456
2457 2012-06-21 Chong Yidong <cyd@gnu.org>
2458
2459 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
2460 (desktop-path): Remove . from the default value (Bug#10977).
2461 (desktop-read): Use user-emacs-directory if desktop-path is nil.
2462
2463 2012-06-20 Chong Yidong <cyd@gnu.org>
2464
2465 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
2466
2467 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
2468
2469 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
2470 (bug#11201).
2471
2472 2012-06-20 Chong Yidong <cyd@gnu.org>
2473
2474 * term.el (term-window-width): Handle the case of a missing right
2475 fringe (Bug#8837).
2476 (term-check-size): Use window-text-height (Bug#5445).
2477 (term-mode): Use define-derived-mode. Minor cleanups.
2478 Set font-lock-defaults (Bug#7692).
2479 (term-move-columns, term-insert-char, term-emulate-terminal)
2480 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
2481
2482 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
2483
2484 * net/ange-ftp.el (ange-ftp-get-passwd):
2485 Bind `enable-recursive-minibuffers'.
2486 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
2487
2488 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
2489
2490 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
2491
2492 2012-06-19 Glenn Morris <rgm@gnu.org>
2493
2494 * progmodes/python.el (python-mode): Derive from prog-mode.
2495
2496 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2497
2498 * emulation/edt.el (edt-default-menu-bar-update-buffers)
2499 (edt-user-menu-bar-update-buffers): New functions.
2500 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
2501
2502 2012-06-19 Chong Yidong <cyd@gnu.org>
2503
2504 * subr.el (with-selected-window): Preserve the selected window's
2505 terminal's top-frame (Bug#4702).
2506
2507 * window.el (save-selected-window): Likewise.
2508
2509 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2510
2511 * progmodes/python.el (python-rx-constituents): Move backquote.
2512 (python-skeleton-define, python-define-auxiliary-skeleton):
2513 Use `declare'.
2514
2515 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
2516
2517 * minibuffer.el (read-file-name-default): Revert the patch from
2518 2012-06-17.
2519
2520 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2521
2522 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
2523 (pcase--u1, pcase--q1): Don't use apply-partially.
2524
2525 2012-06-18 Glenn Morris <rgm@gnu.org>
2526
2527 * progmodes/python.el (python-proc, python-buffer)
2528 (python-send-receive, python-send-string): Fix obsolete versions.
2529
2530 2012-06-18 Martin Rudalics <rudalics@gmx.at>
2531
2532 * window.el (special-display-p): Completely remove stringp
2533 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
2534
2535 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
2536
2537 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
2538
2539 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
2540
2541 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
2542 * net/tramp-sh.el (tramp-maybe-open-connection):
2543 Throw if `non-essential' is non-nil.
2544
2545 2012-06-17 Martin Rudalics <rudalics@gmx.at>
2546
2547 * window.el (special-display-p): Signal an error if BUFFER-NAME
2548 is not a string (Bug#11713).
2549
2550 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
2551
2552 * progmodes/python.el (python-info-beginning-of-backslash):
2553 Rename from python-info-beginning-of-backlash, as a spelling fix.
2554
2555 2012-06-17 Chong Yidong <cyd@gnu.org>
2556
2557 * term.el (term-emulate-terminal): If term-check-size is called,
2558 move point to the process mark without resetting point (Bug#4635).
2559
2560 2012-06-17 Glenn Morris <rgm@gnu.org>
2561
2562 * international/mule-cmds.el (mule-menu-keymap)
2563 (set-language-environment, set-locale-environment): Doc tweaks.
2564
2565 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
2566
2567 * cus-face.el (custom-face-attributes): Add wave-style underline
2568 attribute.
2569 * faces.el (set-face-attribute): Update docstring to describe
2570 wave-style underline attribute.
2571
2572 2012-06-16 Chong Yidong <cyd@gnu.org>
2573
2574 * term/xterm.el (terminal-init-xterm): Discard input before
2575 querying background mode (Bug#10959).
2576
2577 2012-06-16 Stefan Merten <smerten@oekonux.de>
2578
2579 * textmodes/rst.el: Added and corrected some comments.
2580 (rst-re-alist-def): Improve symbol syntax.
2581 (rst-mode-syntax-table): Correct syntax entries.
2582 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2583 (rst-official-version, rst-official-cvs-rev): Update version
2584 information.
2585
2586 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
2587
2588 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
2589 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
2590
2591 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
2592
2593 * progmodes/python.el: New python.el merge.
2594 (python-guess-indent): Obsolete var.
2595 (python-indent-guess-indent-offset): New defcustom.
2596 (python-indent): Obsolete var.
2597 (python-indent-offset): New defcustom.
2598 (python-python-command, python-jython-command): Delete var.
2599 (python-shell-interpreter): New defcustom.
2600 (python-pdbtrack-do-tracking-p): Delete var.
2601 (python-pdbtrack-activate): New defcustom.
2602 (python-use-skeletons): Obsolete var.
2603 (python-skeleton-autoinsert): New defcustom.
2604 (inferior-python-filter-regexp, python-continuation-offset)
2605 (python-honour-comment-indentation, python-indent-string-contents)
2606 (python-jython-packages, python-mode-hook)
2607 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
2608 (python-shell-prompt-alist)
2609 (python-source-modes): Delete defcustoms.
2610 (python-check-buffer-name, python-eldoc-setup-code)
2611 (python-eldoc-string-code, python-ffap-setup-code)
2612 (python-ffap-string-code, python-fill-comment-function)
2613 (python-fill-decorator-function, python-fill-paren-function)
2614 (python-fill-string-function, python-imenu-include-defun-type)
2615 (python-imenu-make-tree, python-imenu-subtree-root-label)
2616 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
2617 (python-shell-compilation-regexp-alist)
2618 (python-shell-completion-module-string-code)
2619 (python-shell-completion-pdb-string-code)
2620 (python-shell-completion-setup-code)
2621 (python-shell-completion-string-code)
2622 (python-shell-enable-font-lock, python-shell-exec-path)
2623 (python-shell-extra-pythonpaths)
2624 (python-shell-internal-buffer-name, python-shell-interpreter-args)
2625 (python-shell-process-environment)
2626 (python-shell-prompt-block-regexp)
2627 (python-shell-prompt-output-regexp)
2628 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
2629 (python-shell-send-setup-max-wait, python-shell-setup-codes)
2630 (python-shell-virtualenv-path): New defcustoms.
2631 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
2632 (inferior-python-mode-syntax-table, python--prompt-regexp)
2633 (python-buffer, python-command python-python-command)
2634 (python-default-template, python-imports, python-indent-index)
2635 (python-indent-list, python-indent-list-length)
2636 (python-mode-running, python-pdbtrack-is-tracking-p)
2637 (python-preoutput-continuation, python-preoutput-leftover)
2638 (python-preoutput-result, python-preoutput-skip-next-prompt)
2639 (python-prev-dir/file, python-recursing)
2640 (python-saved-check-command, python-version-checked)
2641 (python-which-func-length-limit)
2642 (view-return-to-alist): Delete vars.
2643 (python-check-custom-command, python-dotty-syntax-table)
2644 (python-imenu-index-alist, python-indent-current-level)
2645 (python-indent-dedenters, python-indent-levels)
2646 (python-nav-beginning-of-defun-regexp)
2647 (python-nav-list-defun-positions-cache)
2648 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
2649 (python-shell-internal-buffer)
2650 (python-skeleton-available): New vars.
2651 (def-python-skeleton): Delete macro.
2652 (python-skeleton-define): New macro.
2653 (python-define-auxiliary-skeleton, python-rx): New macros.
2654 (python-insert-class): Delete command.
2655 (python-skeleton-class): New command.
2656 (python-insert-def): Delete command.
2657 (python-skeleton-def): New command.
2658 (python-insert-for): Delete command.
2659 (python-skeleton-for): New command.
2660 (python-insert-if): Delete command.
2661 (python-skeleton-if): New command.
2662 (python-insert-try/except, python-insert-try/finally): Delete commands.
2663 (python-skeleton-try): New command.
2664 (python-insert-while): Delete command.
2665 (python-skeleton-while): New command.
2666 (python-backspace): Delete command.
2667 (python-indent-dedent-line-backspace): New command.
2668 (python-electric-colon): Delete command.
2669 (python-indent-electric-colon): New command.
2670 (python-guess-indent): Delete command.
2671 (python-indent-guess-indent-offset): New command.
2672 (python-shift-left): Delete command.
2673 (python-indent-shift-left): New command.
2674 (python-shift-right): Delete command.
2675 (python-indent-shift-right): New command.
2676 (python-find-function): Delete command.
2677 (python-nav-jump-to-defun): New command.
2678 (python-next-statement): Delete command.
2679 (python-nav-forward-sentence): New command.
2680 (python-previous-statement): Delete command.
2681 (python-nav-backward-sentence): New command.
2682 (python-fill-paragraph): Delete command.
2683 (python-fill-paragraph-function): New command.
2684 (python-send-buffer): Delete command.
2685 (python-shell-send-buffer): New command.
2686 (python-send-defun): Delete command.
2687 (python-shell-send-defun): New command.
2688 (python-send-region, python-send-region-and-go): Delete commands.
2689 (python-shell-send-region)
2690 (python-shell-switch-to-shell): New commands.
2691 (python-send-string): Delete command.
2692 (python-shell-send-string): New command.
2693 (python-switch-to-python): Delete command.
2694 (python-shell-switch-to-shell): New command.
2695 (python-describe-symbol): Delete command.
2696 (python-eldoc-at-point): New command.
2697 (python--set-prompt-regexp, python-args-to-list)
2698 (python-after-info-look, python-check-version)
2699 (python-check-comint-prompt, python-find-imports)
2700 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
2701 (python-unload-function, python-expand-template)
2702 (python-maybe-jython, python-preoutput-filter)
2703 (python-pdbtrack-get-source-buffer)
2704 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
2705 (python-pdbtrack-toggle-stack-tracking)
2706 (python-pdbtrack-track-stack-file, python-initial-text)
2707 (python-first-word, python-comment-line-p, python-send-command)
2708 (python-setup-brm, python-sentinel, python-set-proc)
2709 (python-skip-out, python-input-filter, python-outdent-p)
2710 (python-outline-level, python-backslash-continuation-line-p)
2711 (python-end-of-block, python-end-of-statement, python-mark-block)
2712 (python-beginning-of-block, python-beginning-of-statement)
2713 (python-blank-line-p, python-beginning-of-string)
2714 (python-open-block-statement-p): Delete functions.
2715 (python-indent-line, python-indent-line-1): Delete functions.
2716 (python-indent-line): New function.
2717 (python-indentation-levels): Delete function.
2718 (python-indent-calculate-levels): New function.
2719 (python-proc): Delete function.
2720 (python-shell-get-process): New function.
2721 (python-send-receive): Delete function.
2722 (python-shell-send-string-no-output): New function.
2723 (python-module-path): Delete function.
2724 (python-ffap-module-path): New function.
2725 (python-completion-at-point)
2726 (python-symbol-completions): Delete functions.
2727 (python-completion-complete-at-point): New function.
2728 (python-load-file): Delete function.
2729 (python-shell-send-file): New function.
2730 (python-calculate-indentation): Delete function.
2731 (python-indent-calculate-indentation): New function.
2732 (python-skip-comments/blanks): Delete function.
2733 (python-util-forward-comment): New function.
2734 (python-continuation-line-p): Delete function.
2735 (python-info-continuation-line-p): New function.
2736 (python-which-func, python-current-defun): Delete function.
2737 (python-info-current-defun): New function.
2738 (python-beginning-of-defun): Delete function.
2739 (python-nav-beginning-of-defun): New function.
2740 (python-close-block-statement-p)
2741 (python-block-end-p): Delete function.
2742 (python-info-closing-block): New function.
2743 (python-comint-output-filter-function)
2744 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
2745 (python-fill-comment, python-fill-decorator, python-fill-paren)
2746 (python-fill-string, python-imenu-make-element-tree)
2747 (python-imenu-make-tree, python-imenu-tree-assoc)
2748 (python-indent-context, python-indent-dedent-line)
2749 (python-indent-line-function)
2750 (python-indent-post-self-insert-function)
2751 (python-indent-toggle-levels)
2752 (python-info-assignment-continuation-line-p)
2753 (python-info-beginning-of-backlash)
2754 (python-info-block-continuation-line-p)
2755 (python-info-closing-block-message)
2756 (python-info-line-ends-backslash-p)
2757 (python-info-looking-at-beginning-of-defun)
2758 (python-info-ppss-context, python-info-ppss-context-type)
2759 (python-nav-list-defun-positions, python-nav-read-defun)
2760 (python-nav-sentence-end, python-nav-sentence-start)
2761 (python-pdbtrack-comint-output-filter-function)
2762 (python-pdbtrack-set-tracked-buffer)
2763 (python-shell-calculate-exec-path)
2764 (python-shell-calculate-process-environment)
2765 (python-shell-completion--do-completion-at-point)
2766 (python-shell-completion--get-completions)
2767 (python-shell-completion-complete-at-point)
2768 (python-shell-completion-complete-or-indent)
2769 (python-shell-get-or-create-process)
2770 (python-shell-get-process-name)
2771 (python-shell-internal-get-or-create-process)
2772 (python-shell-internal-get-process-name)
2773 (python-shell-internal-send-string, python-shell-make-comint)
2774 (python-shell-parse-command, python-shell-send-setup-code)
2775 (python-skeleton-add-menu-items)
2776 (python-util-clone-local-variables, python-util-position)
2777 (run-python-internal, python-indentation-levels)
2778 (python-nav-beginning-of-defun)
2779 (python-completion-complete-at-point): New functions.
2780 (run-python): Change arguments. New API requirements.
2781
2782 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2783
2784 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
2785 (bug#11649).
2786
2787 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
2788 (macroexp--expand-all): Use it.
2789
2790 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
2791 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
2792 Use `cl-function' instead.
2793
2794 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
2795
2796 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
2797 Suggested by Stefan Monnier while discussing bug#11657.
2798
2799 2012-06-14 Sam Steingold <sds@gnu.org>
2800
2801 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
2802
2803 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
2804
2805 * play/doctor.el (doctor-doc): Remove parameter and use
2806 doctor-sent instead of sent.
2807 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
2808
2809 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2810
2811 * files.el: Require cl-lib.
2812 (file-name-non-special): Replace case -> cl-case.
2813
2814 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
2815
2816 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
2817 mapping from #' to function*.
2818
2819 2012-06-13 Chong Yidong <cyd@gnu.org>
2820
2821 * mouse.el (mouse-drag-track): Do not set the mark if the user
2822 releases the mouse without selecting anything (Bug#11588).
2823
2824 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2825
2826 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
2827 as well (bug#11646).
2828
2829 * loadup.el: Count byte-code functions as well.
2830
2831 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
2832 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
2833
2834 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
2835 (bug#11649). Add cl-defun and cl-defmacro.
2836
2837 2012-06-13 Drew Adams <drew.adams@oracle.com>
2838
2839 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2840 Fix last change.
2841
2842 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
2843
2844 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
2845 Otherwise, it blocks in batch mode.
2846
2847 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
2848
2849 * help-mode.el (bookmark-make-record-default): Declare.
2850
2851 2012-06-13 Chong Yidong <cyd@gnu.org>
2852
2853 * emacs-lisp/package.el (list-packages): Compute a list of
2854 packages that are newly-available since the last list-packages
2855 invocation.
2856 (package-menu--new-package-list): New var.
2857 (package-menu--generate, package-menu--print-info)
2858 (package-menu--status-predicate, package-menu-mark-install):
2859 Handle new status label "new".
2860
2861 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2862
2863 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
2864 conversion to backquotes.
2865
2866 2012-06-12 Chong Yidong <cyd@gnu.org>
2867
2868 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
2869 Rename from gud-inhibit-global-bindings.
2870
2871 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
2872
2873 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
2874 hook from nxml-glyph-set-hook.
2875
2876 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2877 declaration.
2878
2879 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2880
2881 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2882 Convert to defcustom.
2883
2884 2012-06-12 Drew Adams <drew.adams@oracle.com>
2885
2886 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2887 New functions.
2888 (help-mode): Use them.
2889
2890 2012-06-11 Glenn Morris <rgm@gnu.org>
2891
2892 * progmodes/fortran.el (fortran-font-lock-keywords-3):
2893 Use preprocessor face for directives.
2894 (fortran-directive-re): Doc fix.
2895
2896 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2897
2898 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2899 conversion to backquotes (bug#11652).
2900
2901 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2902 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2903 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2904 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2905 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2906 (cl-ninth, cl-tenth): Mark them as inlinable.
2907 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2908 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2909 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2910 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2911 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2912 (cl-list*, cl-adjoin): Don't put an autoload manually.
2913 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2914 (cl--compiler-macro-list*): Add autoload cookie.
2915 (cl--compiler-macro-cXXr): New function.
2916
2917 * help-fns.el (help-fns--compiler-macro): New function extracted from
2918 describe-function-1; follow aliases and use `compiler-macro' property.
2919 (describe-function-1): Use it.
2920
2921 2012-06-11 Chong Yidong <cyd@gnu.org>
2922
2923 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2924 is uninstalled, if imagemagick is installed.
2925
2926 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2927
2928 * emacs-lisp/cl-lib.el: Use lexical-binding.
2929 (cl-map-extents, cl-maclisp-member): Remove.
2930 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2931 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2932 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2933 * emacs-lisp/cl-extra.el: Use lexical-binding.
2934 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2935 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2936 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2937 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2938 * emacs-lisp/cl-seq.el: Use lexical-binding.
2939 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2940 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2941 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2942 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2943 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2944 CL's internals.
2945
2946 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
2947
2948 Sync with Tramp 2.2.6-pre.
2949
2950 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2951 `print-length' and `print-level' to nil, in order to avoid
2952 truncation. Reported by Christopher Schmidt
2953 <christopher@ristopher.com>.
2954
2955 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2956
2957 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2958 New defmacro.
2959 (tramp-compat-copy-directory): Add optional argument
2960 COPY-CONTENTS. It is not handled yet.
2961
2962 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2963 (tramp-ftp-file-name-p): Simplify.
2964
2965 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2966 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2967 connection vector.
2968
2969 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2970 (tramp-methods): Do not use `tramp-password-end-of-line'.
2971 (tramp-completion-function-alist-putty): Handle UNIX case.
2972 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2973 (tramp-do-file-attributes-with-stat)
2974 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2975 gid as real numbers. They could run out of integer range on cygwin.
2976 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2977 (tramp-sh-handle-expand-file-name): Handle hops.
2978 (tramp-open-connection-setup-interactive-shell):
2979 Use `tramp-cleanup'. Move check for busyboxes ...
2980 (tramp-find-shell): ... here. Simplify implementation.
2981 Set "remote-shell" property also for alternative shells.
2982 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2983 If failing, a regular file would be written otherwise.
2984 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2985 (tramp-find-inline-encoding): Cache the coding commands in the
2986 process cache. Apply test command on the remote side, if defined.
2987 (tramp-find-inline-compress): Cache the compress commands in the
2988 process cache.
2989 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2990 when requested. Handle hops.
2991 (tramp-current-connection): New defvar.
2992 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2993 Throw `suppress', if there was a failed connection shortly before.
2994 Handle user interrupt. (Bug#10187)
2995 (tramp-get-inline-compress, tramp-get-inline-coding):
2996 Read connection properties from the process cache.
2997
2998 * net/tramp-smb.el (tramp-smb-server-version)
2999 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
3000 New defconsts.
3001 (tramp-smb-prompt): Extend for powershell prompt.
3002 (tramp-smb-file-name-handler-alist): Add handlers for
3003 `process-file', `shell-command' and `start-file-process'.
3004 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
3005 (tramp-smb-winexe-shell-command-switch): New defcustoms.
3006 (tramp-smb-file-name-p): Simplify.
3007 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
3008 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
3009 (tramp-smb-shell-quote-argument): New defuns.
3010 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
3011 Implement using "tar". By this, time-stamps are preserved.
3012 (tramp-smb-handle-copy-file): Handle also the case of directories.
3013 (tramp-smb-do-file-attributes-with-stat)
3014 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
3015 Use `tramp-get-connection-buffer').
3016 (tramp-smb-handle-rename-file): Use "rename", when source and
3017 target are on the same share.
3018 (tramp-smb-maybe-open-connection): Handle wrong passwords.
3019 Use `tramp-smb-server-version'.
3020 (tramp-smb-wait-for-output): Remove prompt.
3021
3022 * net/tramp.el (top): Require 'cl.
3023 (tramp-methods, tramp-rsh-end-of-line):
3024 Remove `tramp-password-end-of-line' from docstring.
3025 (tramp-save-ad-hoc-proxies): New defcustom.
3026 (tramp-completion-function-alist): Adapt docstring.
3027 (tramp-default-password-end-of-line): Remove defcustom.
3028 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
3029 (tramp-user-regexp, tramp-file-name-regexp-unified)
3030 (tramp-file-name-regexp-url): Extend regexp by hop separator.
3031 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
3032 (tramp-remote-file-name-spec-regexp): New defconst.
3033 (tramp-file-name-structure): Extend structure for hops.
3034 (tramp-get-method-parameter): Move up.
3035 (tramp-file-name-p, tramp-dissect-file-name)
3036 (with-parsed-tramp-file-name): Handle hops.
3037 (tramp-file-name-hop): New defun.
3038 (tramp-make-tramp-file-name): New optional arg HOP.
3039 (tramp-message-show-progress-reporter-message): New defvar.
3040 (tramp-with-progress-reporter): Use it. We cannot use
3041 `tramp-message-show-message' here, because this suppresses also
3042 error buffers.
3043 (tramp-error-with-buffer): Suppress buffer view, if
3044 `tramp-message-show-message' is nil.
3045 Use `tramp-get-connection-buffer'.
3046 (tramp-cleanup): New defun.
3047 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
3048 (tramp-file-name-handler): If `debug-on-error' is set, propagate
3049 an error unchanged.
3050 (tramp-completion-handle-file-name-all-completions): Handle hops.
3051 Fix an error when called from ido.
3052 (tramp-completion-dissect-file-name): Use better local variable
3053 name. Add hop to the vector.
3054 (tramp-handle-insert-file-contents): Use progress-reporter for the
3055 whole scenario.
3056 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
3057 to `t'.
3058 (tramp-check-for-regexp): Simplify search.
3059 (tramp-enter-password): Remove it. Move implementation ...
3060 (tramp-action-password): ... here.
3061 (tramp-mode-string-to-int, tramp-local-host-p)
3062 (tramp-make-tramp-temp-file, tramp-read-passwd)
3063 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
3064 Set tramp-autoload cookie.
3065
3066 * net/trampver.el: Update release number.
3067
3068 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3069 Michael Albinus <michael.albinus@gmx.de>
3070
3071 * net/tramp.el (tramp-set-completion-function): Fix docstring.
3072 (tramp-parse-group, tramp-parse-file)
3073 (tramp-parse-shostkeys-sknownhosts): New defuns.
3074 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
3075 (tramp-parse-shosts-group, tramp-parse-sconfig)
3076 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
3077 (tramp-parse-sknownhosts, tramp-parse-hosts)
3078 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
3079 Use them.
3080 (tramp-parse-passwd-group, tramp-parse-netrc-group)
3081 (tramp-parse-putty-group): Don't narrow.
3082 (tramp-parse-putty): Make a loop.
3083 (tramp-file-name-handler): Catch the `suppress' signal.
3084
3085 2012-06-11 Chong Yidong <cyd@gnu.org>
3086
3087 * image.el (imagemagick-register-types): Put the ImageMagick entry
3088 at the end of image-type-file-name-regexps.
3089
3090 2012-06-11 Johan Bockgård <bojohan@gnu.org>
3091
3092 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
3093 (pcase, pcase-let*, pcase-dolist): Use them.
3094
3095 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3096
3097 * emacs-lisp/pcase.el (pcase--let*): New function.
3098 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
3099 (pcase--expand): Use macroexp-let².
3100
3101 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
3102
3103 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
3104 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
3105 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
3106 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
3107 * emacs-lisp/derived.el: Use pcase instead of `cl'.
3108 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
3109
3110 2012-06-10 Glenn Morris <rgm@gnu.org>
3111
3112 * mail/rmail.el (rmail-yank-current-message): Leave point at
3113 correct position. (Bug#11660)
3114
3115 2012-06-10 Chong Yidong <cyd@gnu.org>
3116
3117 * allout-widgets.el: Fix code header.
3118
3119 2012-06-10 Chong Yidong <cyd@gnu.org>
3120
3121 * cus-edit.el (customize-changed-options-previous-release):
3122 Bump to 24.1.
3123
3124 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
3125
3126 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
3127
3128 2012-06-09 Chong Yidong <cyd@gnu.org>
3129
3130 * ebuff-menu.el (electric-buffer-list): Preserve header line.
3131
3132 2012-06-09 Martin Rudalics <rudalics@gmx.at>
3133
3134 * window.el (special-display-popup-frame): Don't use
3135 window--display-buffer (Bug#11651).
3136
3137 2012-06-09 Eli Zaretskii <eliz@gnu.org>
3138
3139 Fix parallel builds: make sure loaddefs.el is not being written
3140 while Lisp files are compiled.
3141 (compile): Don't depend on 'mh-autoloads'.
3142 (compile-CMD, compile-SH): Depend on 'autoloads'.
3143 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
3144
3145 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
3146
3147 2012-06-09 Chong Yidong <cyd@gnu.org>
3148
3149 * face-remap.el (face-remap-add-relative, face-remap-set-base)
3150 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
3151 Doc fixes (Bug#11225).
3152
3153 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
3154
3155 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
3156 a function if there's a clear indication that it has a compiler-macro.
3157 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
3158 (macro-declarations-alist): Add arglist to declaration functions.
3159 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
3160 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
3161 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
3162 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
3163 Also add autoload to find the compiler macro.
3164 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
3165 (cl--compiler-macro-member, cl--compiler-macro-assoc)
3166 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
3167 (cl--compiler-macro-get): New functions, replacing calls to
3168 cl-define-compiler-macro.
3169 (cl-typep) [compiler-macro]: Use macroexp-let².
3170
3171 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
3172
3173 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
3174 string properly, fixes Bug#11473.
3175
3176 2012-06-08 Chong Yidong <cyd@gnu.org>
3177
3178 * faces.el (set-face-attribute): Doc fix.
3179 (modify-face): Don't use :bold and :italic.
3180 (error, warning, success): Tweak definitions.
3181
3182 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
3183 (custom-modified, custom-set, custom-changed, custom-themed)
3184 (custom-saved, custom-button, custom-button-mouse)
3185 (custom-button-pressed, custom-state, custom-comment-tag)
3186 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
3187 (custom-group-subtitle): Use new-style face specs.
3188 (custom-invalid-face, custom-rogue-face, custom-modified-face)
3189 (custom-set-face, custom-changed-face, custom-saved-face)
3190 (custom-button-face, custom-button-pressed-face)
3191 (custom-documentation-face, custom-state-face)
3192 (custom-comment-face, custom-comment-tag-face)
3193 (custom-variable-tag-face, custom-variable-button-face)
3194 (custom-face-tag-face, custom-group-tag-face-1)
3195 (custom-group-tag-face): Remove obsolete face alias.
3196
3197 * epa.el (epa-validity-high, epa-validity-medium)
3198 (epa-validity-low, epa-mark, epa-field-name, epa-string)
3199 (epa-field-name, epa-field-body):
3200 * font-lock.el (font-lock-comment-face, font-lock-string-face)
3201 (font-lock-keyword-face, font-lock-builtin-face)
3202 (font-lock-function-name-face, font-lock-variable-name-face)
3203 (font-lock-type-face, font-lock-constant-face):
3204 * ido.el (ido-first-match, ido-only-match, ido-subdir)
3205 (ido-virtual, ido-indicator, ido-incomplete-regexp):
3206 * speedbar.el (speedbar-button-face, speedbar-file-face)
3207 (speedbar-directory-face, speedbar-tag-face)
3208 (speedbar-selected-face, speedbar-highlight-face)
3209 (speedbar-separator-face):
3210 * whitespace.el (whitespace-newline, whitespace-space)
3211 (whitespace-hspace, whitespace-tab, whitespace-trailing)
3212 (whitespace-line, whitespace-space-before-tab)
3213 (whitespace-space-after-tab, whitespace-indentation)
3214 (whitespace-empty):
3215 * emulation/cua-base.el (cua-global-mark):
3216 * eshell/em-prompt.el (eshell-prompt):
3217 * net/newst-plainview.el (newsticker-new-item-face)
3218 (newsticker-old-item-face, newsticker-immortal-item-face)
3219 (newsticker-obsolete-item-face, newsticker-date-face)
3220 (newsticker-statistics-face, newsticker-default-face):
3221 * net/newst-reader.el (newsticker-feed-face)
3222 (newsticker-extra-face, newsticker-enclosure-face):
3223 * net/newst-treeview.el (newsticker-treeview-face)
3224 (newsticker-treeview-new-face, newsticker-treeview-old-face)
3225 (newsticker-treeview-immortal-face)
3226 (newsticker-treeview-obsolete-face)
3227 (newsticker-treeview-selection-face):
3228 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
3229 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
3230 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
3231 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
3232 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
3233 (nxml-outline-active-indicator, nxml-outline-ellipsis):
3234 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
3235 (mpuz-text):
3236 * progmodes/vera-mode.el (vera-font-lock-number)
3237 (vera-font-lock-function, vera-font-lock-interface):
3238 * textmodes/table.el (table-cell): Use new-style face specs, and
3239 don't use the old :bold and :italic attributes.
3240
3241 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
3242 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
3243 (ebrowse-member-class, ebrowse-progress): Likewise.
3244 (ebrowse-tree-mark-face, ebrowse-root-class-face)
3245 (ebrowse-file-name-face, ebrowse-default-face)
3246 (ebrowse-member-attribute-face, ebrowse-member-class-face)
3247 (ebrowse-progress-face): Remove obsolete faces.
3248
3249 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3250 Inherit from error and warning faces respectively.
3251
3252 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3253 Likewise.
3254 (flyspell-incorrect-face, flyspell-duplicate-face):
3255 Remove obsolete aliases.
3256
3257 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
3258
3259 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3260 Avoid infloop.
3261
3262 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3263
3264 * startup.el (argv, argi): Make lexically scoped.
3265 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
3266 * emacs-lisp/cl-macs.el: Use lexical-binding.
3267 Rename cl-bind-* to cl--bind-*.
3268 * files.el: Don't require `cl' since it doesn't use it.
3269 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
3270
3271 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
3272
3273 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
3274 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
3275 instead of calling external sort utility.
3276 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
3277
3278 2012-06-08 Eli Zaretskii <eliz@gnu.org>
3279
3280 * descr-text.el (describe-char): Mention how to insert the
3281 character, if the current input method doesn't support it.
3282 See the discussion in this thread for the details:
3283 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
3284
3285 2012-06-08 Sam Steingold <sds@gnu.org>
3286
3287 * bindings.el (global-map): Bind XF86Forward to next-buffer and
3288 XF86Back to previous-buffer.
3289 (minibuffer-local-map): Bind them to next-history-element and
3290 previous-history-element respectively.
3291 * help-mode.el (help-mode-map): Bind them to help-go-forward and
3292 help-go-back respectively.
3293 * info.el (Info-mode-map): Bind them to Info-history-forward and
3294 Info-history-back respectively.
3295 These are the keys next to Up on the ThinkPad keyboard.
3296
3297 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
3298
3299 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
3300 * emacs-lisp/cl-macs.el: Provide itself.
3301 (cl--labels-convert-cache): New var.
3302 (cl--labels-convert): New function.
3303 (cl-flet, cl-labels): New implementation with new semantics, relying on
3304 lexical-binding.
3305 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
3306 (cl-closure-vars, cl--function-convert-cache)
3307 (cl--function-convert): Move from cl-macs.el.
3308 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
3309 rename by removing the "cl-" prefix.
3310 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
3311
3312 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3313
3314 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
3315 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
3316 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
3317 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
3318 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
3319 (cl-hash-table-count): Add old compatibility aliases.
3320
3321 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
3322 Use macroexpand-all-environment instead.
3323 (cl--old-macroexpand): New var.
3324 (cl--sm-macroexpand): New function.
3325 (cl-symbol-macrolet): Use it during macro expansion.
3326 (cl--function-convert-cache): New var.
3327 (cl--function-convert): New function, extracted from
3328 cl-macroexpand-all.
3329 (cl-lexical-let): Use it.
3330
3331 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
3332 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
3333 (cl-member): Remove old alias.
3334
3335 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
3336 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
3337 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
3338 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
3339 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
3340 (cl-macroexpand-cmacs): Remove var.
3341 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
3342 Use macroexpand-all instead.
3343
3344 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3345
3346 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
3347 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
3348 (macroexp-copyable-p): New functions and macros.
3349 * emacs-lisp/edebug.el (edebug-unwrap):
3350 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
3351 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
3352 (pcase--let*): Remove.
3353 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
3354 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
3355 macroexp-const-p instead.
3356 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
3357
3358 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
3359 instead of "cl-" for internal definitions. Use macroexp-const-p.
3360 (cl-old-bc-file-form): Remove var.
3361 (cl-const-exprs-p): Remove fun.
3362 (cl-labels, cl-macrolet): Use backquote.
3363 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
3364 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
3365 (cl-define-setf-expander): Rename from cl-define-setf-method.
3366 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
3367
3368 * international/mule-cmds.el: Don't require CL.
3369 (view-hello-file): Don't use `letf'.
3370
3371 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3372
3373 * tmm.el (tmm-prompt): Use string-prefix-p.
3374 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
3375 (tmm-add-prompt): Use minibuffer-completion-help.
3376 (tmm-delete-map): Remove.
3377
3378 * subr.el (kbd): Make it its own function.
3379
3380 2012-06-07 Stefan Merten <smerten@oekonux.de>
3381
3382 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
3383 Silence compiler warnings. Fix versions.
3384 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
3385 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
3386 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
3387 (rst-package-emacs-version-alist): Correct Emacs version to
3388 represent major merge with upstream.
3389 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
3390
3391 2012-06-06 Glenn Morris <rgm@gnu.org>
3392
3393 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
3394 Only print environment variables if set.
3395
3396 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3397
3398 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
3399 (macroexp--cons): Rename from maybe-cons.
3400 (macroexp--accumulate): Rename from macroexp-accumulate.
3401 (macroexp--all-forms): Rename from macroexpand-all-forms.
3402 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
3403 (macroexp--expand-all): Rename from macroexpand-all-1.
3404
3405 2012-06-06 Sam Steingold <sds@gnu.org>
3406
3407 * calendar/calendar.el (calendar-in-read-only-buffer):
3408 Call `special-mode' to enable the standard read-only keybindings.
3409
3410 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3411
3412 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
3413 with "loading" messages (bug#11635).
3414
3415 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
3416
3417 * files.el (enable-remote-dir-locals): New option.
3418 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
3419
3420 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3421 Ensure, that the temp directory is local.
3422
3423 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
3424 `temporary-file-directory'.
3425
3426 * progmodes/python.el (python-send-region): Ensure, that the
3427 temporary file is created also in the remote case.
3428
3429 2012-06-06 Glenn Morris <rgm@gnu.org>
3430
3431 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
3432 (vc-rcs-update-changelog): Use it.
3433
3434 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
3435
3436 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
3437 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
3438 (vc-sccs-diff): Replace use of the external vcdiff script.
3439
3440 2012-06-05 Glenn Morris <rgm@gnu.org>
3441
3442 * ledit.el: Move to obsolete/.
3443
3444 2012-06-05 Sam Steingold <sds@gnu.org>
3445
3446 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
3447 patch (Bug#11140).
3448
3449 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3450
3451 * emacs-lisp/cust-print.el: Move to obsolete.
3452
3453 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
3454 compiler-macro expansion.
3455
3456 Add native compiler-macro support.
3457 * emacs-lisp/macroexp.el (macroexpand-all-1):
3458 Support compiler-macros directly. Properly follow aliases and apply
3459 the compiler macros more thoroughly.
3460 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
3461 macroexpand now properly follows aliases.
3462 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
3463 (cl-compiler-macroexpand): Use new prop.
3464 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
3465
3466 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
3467
3468 2012-06-05 Martin Rudalics <rudalics@gmx.at>
3469
3470 * window.el (get-lru-window, get-mru-window, get-largest-window):
3471 New argument NOT-SELECTED to avoid picking the selected window.
3472 (window--display-buffer-1, window--display-buffer-2): Replace by
3473 new function window--display-buffer
3474 (display-buffer-same-window, display-buffer-reuse-window)
3475 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3476 Use window--display-buffer.
3477 (display-buffer-use-some-window): Remove temporary dedication
3478 hack by calling get-lru-window and get-largest-window with
3479 NOT-SELECTED argument non-nil. Call window--display-buffer.
3480
3481 2012-06-05 Glenn Morris <rgm@gnu.org>
3482
3483 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
3484 Replace external vcdiff script.
3485
3486 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3487
3488 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
3489
3490 2012-06-04 Chong Yidong <cyd@gnu.org>
3491
3492 * image.el (imagemagick-types-inhibit): Revert last change.
3493 Add INFO and M.
3494 (imagemagick-enabled-types): Remove CIN and EPS*.
3495
3496 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3497
3498 * emacs-lisp/cl-lib.el: Rename from cl.el.
3499 * emacs-lisp/cl.el: New compatibility file.
3500 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
3501 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
3502 to obey the "cl-" prefix.
3503 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
3504
3505 2012-06-03 Glenn Morris <rgm@gnu.org>
3506
3507 * emacs-lisp/authors.el (authors-aliases): Addition.
3508
3509 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
3510 Fix :version.
3511
3512 2012-06-03 Stefan Merten <smerten@oekonux.de>
3513
3514 * textmodes/rst.el: Add comments.
3515 (rst-transition, rst-adornment): New faces.
3516 (rst-adornment-faces-alist): Make default safe to reevaluate.
3517 Fixes
3518 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
3519 Improve customization tags.
3520 (rst-define-level-faces): Clarify meaning.
3521
3522 2012-06-03 Chong Yidong <cyd@gnu.org>
3523
3524 * progmodes/compile.el (compilation-mode-line-fail)
3525 (compilation-mode-line-run, compilation-mode-line-exit):
3526 New faces.
3527 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
3528
3529 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
3530
3531 * progmodes/which-func.el (which-func-update-ediff-windows):
3532 New function. Use it in ediff-select-hook (Bug#11478).
3533
3534 2012-06-03 Chong Yidong <cyd@gnu.org>
3535
3536 * bindings.el: Remove explicit help text from format-mode-line.
3537 It is now supplied by mode-line-default-help-echo.
3538 (mode-line-front-space, mode-line-end-spaces)
3539 (mode-line-misc-info): New variables.
3540 (mode-line-modes, mode-line-position): Move the default value to
3541 the variable definition.
3542 (mode-line-default-help-echo): New defcustom.
3543 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
3544 (mode-line-modified-help-echo): New functions.
3545 (mode-line-mule-info, mode-line-modified): Use them.
3546 (mode-line-eol-desc, propertized-buffer-identification):
3547 Consistency fixes for help text.
3548 (mode-line-coding-system-map): Allow using mouse-3 to invoke
3549 set-buffer-file-coding-system (Bug#289).
3550 (mode-line-mule-info-help-echo): Update help text.
3551
3552 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3553
3554 * simple.el (execute-extended-command): Set real-this-command
3555 (bug#11506).
3556
3557 2012-06-02 Chong Yidong <cyd@gnu.org>
3558
3559 Remove incorrect uses of "modeline" in comments, docstrings, and
3560 function/variable names (Bug#10329).
3561
3562 * cus-edit.el (mode-line):
3563 * dframe.el (dframe-mouse-hscroll):
3564 * emacs-lisp/re-builder.el:
3565 * emacs-lisp/easy-mmode.el (define-minor-mode):
3566 * frame.el (set-frame-name):
3567 * help.el (lookup-minor-mode-from-indicator):
3568 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
3569 * progmodes/cc-cmds.el (c-toggle-auto-newline)
3570 (c-toggle-hungry-state):
3571 * progmodes/antlr-mode.el (antlr-language-alist):
3572 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
3573 * progmodes/vhdl-mode.el (vhdl-mode):
3574 * progmodes/which-func.el (which-func, which-func-cleanup-function):
3575 * term/ns-win.el (ns-face-at-pos):
3576 * term/sup-mouse.el (sup-mouse-report):
3577 * textmodes/flyspell.el (flyspell-mode-line-string):
3578 * textmodes/ispell.el (ispell-highlight-face):
3579 * textmodes/reftex-global.el:
3580 * vc/vc-arch.el (vc-arch-mode-line-string):
3581 * vc/vc-cvs.el (vc-cvs-mode-line-string):
3582 * vc/vc-git.el (vc-git-mode-line-string):
3583 * vc/vc-hooks.el (vc-display-status)
3584 (vc-default-mode-line-string):
3585 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
3586
3587 * ansi-color.el (ansi-color-faces-vector): Change default faces.
3588
3589 * dired.el (dired-sort-set-mode-line): Rename from
3590 dired-sort-set-modeline. All callers changed.
3591
3592 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
3593 eshell-status-in-modeline.
3594
3595 * foldout.el (foldout-mode-line-string): Rename from
3596 foldout-modeline-string. All callers changed.
3597 (foldout-update-mode-line): Rename from foldout-update-modeline.
3598
3599 * subr.el (redraw-modeline): Make into obsolete alias.
3600
3601 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
3602 timeclock-modeline-display. Make old name an alias.
3603 (timeclock-update-mode-line): Likewise. All callers changed.
3604 (timeclock-mode-line-display): No need to check before using
3605 add-hook.
3606 (timeclock-relative, timeclock-day-over-hook)
3607 (timeclock-use-elapsed, timeclock-mode-string)
3608 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
3609
3610 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
3611 crisp-mode-modeline-string.
3612
3613 * play/solitaire.el (solitaire-build-mode-line): Rename from
3614 solitaire-build-modeline. All callers changed.
3615
3616 * play/zone.el (zone-hiding-mode-line): Rename from
3617 zone-hiding-modeline. All callers changed.
3618 (zone): Remove unusued `modeline-hidden-level' property.
3619
3620 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
3621 xscheme-modeline-initialize. All callers changed.
3622
3623 * strokes.el (strokes-lighter): Rename from
3624 strokes-modeline-string.
3625
3626 * textmodes/sgml-mode.el (html-face-tag-alist)
3627 (html-tag-face-alist): Use mode-line face instead of obsolete
3628 alias modeline.
3629
3630 2012-06-02 Stefan Merten <smerten@oekonux.de>
3631
3632 * textmodes/rst.el: Always require `cl'.
3633 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
3634
3635 2012-06-02 Chong Yidong <cyd@gnu.org>
3636
3637 * image.el (imagemagick-enabled-types): Rename from
3638 imagemagick-types-enable. Add many more types.
3639 (imagemagick-types-inhibit): Change default to nil.
3640 (imagemagick-filter-types): Caller changed.
3641
3642 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3643
3644 * emacs-lisp/cl-macs.el: Use backquotes.
3645 (cl-transform-function-property): Use eval-and-compile rather than
3646 abusing `require'.
3647 (defstruct): Use declare-function instead of with-no-warnings.
3648
3649 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
3650 (byte-compile-output-docform): Re-add the print-circle bindings.
3651 (byte-compile-fix-header): Use #$ just because it's shorter.
3652 (byte-compile-output-file-form): Remove defun/defmacro.
3653
3654 2012-06-01 Martin Rudalics <rudalics@gmx.at>
3655
3656 * simple.el (choose-completion): Remove now obsolete binding for
3657 owindow.
3658
3659 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
3660
3661 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
3662 in order to avoid "Stack overflow in regexp matcher".
3663
3664 2012-05-31 Glenn Morris <rgm@gnu.org>
3665
3666 * image.el: For clarity, call imagemagick-register-types at
3667 top-level, rather than relying on a custom :initialize.
3668 (imagemagick-types-enable): New option. (Bug#11557)
3669 (imagemagick-filter-types): New function. (Bug#7406)
3670 (imagemagick-register-types): Use imagemagick-filter-types.
3671 If disabling support, remove elements altogether rather
3672 than using an impossible regexp.
3673 (imagemagick-types-inhibit): Give it the default init function.
3674
3675 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3676
3677 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
3678 Handle arbitrary file name lengths (Bug#11585).
3679
3680 2012-05-31 Martin Rudalics <rudalics@gmx.at>
3681
3682 * desktop.el (desktop-read): Clear previous and next buffers for
3683 all windows and bury *Messages* buffer (bug#11556).
3684
3685 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3686
3687 Add `declare' for `defun'. Align `defmacro's with it.
3688 * emacs-lisp/easy-mmode.el (define-minor-mode)
3689 (define-globalized-minor-mode): Don't autoload the var definitions.
3690 * emacs-lisp/byte-run.el: Use lexical-binding.
3691 (defun-declarations-alist, macro-declarations-alist): New vars.
3692 (defmacro, defun): Use them.
3693 (make-obsolete, define-obsolete-function-alias)
3694 (make-obsolete-variable, define-obsolete-variable-alias):
3695 Use `declare'.
3696 (macro-declaration-function): Mark obsolete.
3697 * emacs-lisp/autoload.el: Use lexical-binding.
3698 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
3699
3700 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3701
3702 * textmodes/ispell.el (ispell-with-no-warnings):
3703 Define as a macro.
3704 (ispell-kill-ispell, ispell-change-dictionary):
3705 Use `called-interactively-p' for Emacs instead of obsolete
3706 `interactive-p'.
3707
3708 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3709
3710 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
3711 (macro-declaration-function): Move var from C code.
3712 (macro-declaration-function): Define function with defalias.
3713 * emacs-lisp/macroexp.el (macroexpand-all-1):
3714 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3715 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
3716 defun/defmacro any more.
3717 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
3718 Provide fallback for unknown arglist.
3719 (byte-compile-arglist-warn): Change calling convention.
3720 (byte-compile-output-file-form): Move print-vars binding.
3721 (byte-compile-output-docform): Simplify accordingly.
3722 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
3723 (byte-compile-defmacro-declaration): Remove.
3724 (byte-compile-file-form-defmumble): Generalize to defalias.
3725 (byte-compile-output-as-comment): Return byte-positions.
3726 Simplify callers accordingly.
3727 (byte-compile-lambda): Use `assert'.
3728 (byte-compile-defun, byte-compile-defmacro): Remove.
3729 (byte-compile-file-form-defalias):
3730 Use byte-compile-file-form-defmumble.
3731 (byte-compile-defalias-warn): Remove.
3732
3733 2012-05-29 Stefan Merten <smerten@oekonux.de>
3734
3735 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
3736 possible. Fix authors. Improve comments. Improve loading of `cl'.
3737
3738 (rst-mode-abbrev-table): Merge definition.
3739 (rst-mode): Make sure `font-lock-defaults' is buffer local.
3740 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
3741
3742 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
3743
3744 * calendar/icalendar.el
3745 (icalendar-export-region): Export UID properly.
3746
3747 2012-05-29 Leo Liu <sdl.web@gmail.com>
3748 * calendar/icalendar.el (icalendar-import-format):
3749 Add `icalendar-import-format-uid' (Bug#11525).
3750 (icalendar-import-format-uid): New.
3751 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
3752 Export UID.
3753
3754 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3755
3756 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
3757 different alternative patterns.
3758 (pcase-codegen): Be more careful to preserve identity.
3759 (pcase--u1): Don't forget to mark vars as used.
3760
3761 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
3762 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
3763 (byte-compile-from-buffer): ...rather than here.
3764
3765 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
3766 functions from byte-compile-function-environment.
3767
3768 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
3769
3770 * window.el (window-deletable-p): Avoid deleting the root window
3771 of a frame with an active minibuffer.
3772
3773 2012-05-29 Martin Rudalics <rudalics@gmx.at>
3774
3775 * simple.el (choose-completion): Use quit-window (Bug#11567).
3776
3777 2012-05-29 Chong Yidong <cyd@gnu.org>
3778
3779 * whitespace.el (whitespace-cleanup): Fix usage of
3780 whitespace-empty-at-bob-regexp (Bug#11492).
3781
3782 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3783
3784 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
3785 revert (Bug#11488).
3786
3787 2012-05-29 Juri Linkov <juri@jurta.org>
3788
3789 * isearch.el (isearch-mode-map): Bind `M-s _' to
3790 `isearch-toggle-symbol'. Bind `M-s c' to
3791 `isearch-toggle-case-fold'.
3792 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
3793 (isearch-forward): Add `M-s _' to the docstring.
3794 (isearch-forward-symbol, isearch-toggle-case-fold)
3795 (isearch-symbol-regexp): New functions. (Bug#11381)
3796
3797 2012-05-29 Juri Linkov <juri@jurta.org>
3798
3799 * isearch.el (isearch-word): Add docstring. (Bug#11381)
3800 (isearch-occur, isearch-search-and-update): If `isearch-word' is
3801 a function, call it to get the regexp.
3802 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
3803 property `isearch-message-prefix' instead of the string "word ".
3804 (isearch-search-fun-default): For the case of `isearch-word',
3805 return a lambda that calls re-search-forward/re-search-backward
3806 with a regexp returned by `word-search-regexp' or by the function
3807 in `isearch-word'.
3808
3809 2012-05-29 Juri Linkov <juri@jurta.org>
3810
3811 * isearch.el (isearch-search-fun-default): New function.
3812 (isearch-search-fun): Move default part to the new function
3813 `isearch-search-fun-default'.
3814 (isearch-search-fun-function): Set the default value to
3815 `isearch-search-fun-default'. (Bug#11381)
3816
3817 * comint.el (comint-history-isearch-end):
3818 Use `isearch-search-fun-default'.
3819 (comint-history-isearch-search): Use `isearch-search-fun-default'
3820 and remove spacial case for `isearch-word'.
3821 (comint-history-isearch-wrap): Remove spacial case for
3822 `isearch-word'.
3823
3824 * hexl.el (hexl-isearch-search-function):
3825 Use `isearch-search-fun-default'.
3826
3827 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
3828 Use `word-search-regexp' for `isearch-word'.
3829
3830 * misearch.el (multi-isearch-search-fun):
3831 Use `isearch-search-fun-default'.
3832
3833 * simple.el (minibuffer-history-isearch-search):
3834 Use `isearch-search-fun-default' and remove spacial case for
3835 `isearch-word'.
3836 (minibuffer-history-isearch-wrap): Remove spacial case for
3837 `isearch-word'.
3838
3839 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
3840 Remove spacial case for `isearch-word'.
3841 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
3842
3843 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3844
3845 Decrease XEmacs incompatibilities.
3846 * textmodes/flyspell.el (flyspell-check-pre-word-p):
3847 Use `string-match'.
3848 (flyspell-delete-region-overlays): Use alternative definition for
3849 XEmacs.
3850 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
3851 (flyspell-word): Use `process-kill-without-query' if XEmacs.
3852 (flyspell-mode-on): Use `interactive-p' if XEmacs.
3853 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
3854 `define-obsolete-face-alias' under XEmacs, but old method.
3855
3856 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
3857 `with-no-warnings' definition or Emacs alias.
3858 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
3859 (ispell-word): Do not use `region-p' if XEmacs.
3860
3861 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3862
3863 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
3864 Check for `ispell-dictionary-base-alist' instead of full
3865 `ispell-dictionary-alist'.
3866 (ispell-init-process): Show spellchecker when starting new Ispell
3867 process.
3868
3869 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3870
3871 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
3872 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
3873
3874 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
3875
3876 * version.el (motif-version-string, gtk-version-string)
3877 (ns-version-string): Declare.
3878
3879 2012-05-27 Juri Linkov <juri@jurta.org>
3880
3881 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3882 after the `eval-defun-1' specialcaseing
3883 like in `edebug-eval-defun' (bug#10181).
3884
3885 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3886 like in `eval-defun-1'.
3887
3888 2012-05-27 Eli Zaretskii <eliz@gnu.org>
3889
3890 * mail/sendmail.el (mail-yank-region):
3891 Recognize rmail-yank-current-message in addition to insert-buffer.
3892 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
3893 a *mail* buffer created through rmail-start-mail with sendmail as
3894 mail-user-agent.
3895
3896 2012-05-27 Chong Yidong <cyd@gnu.org>
3897
3898 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3899 Default to 256 (Bug#11267).
3900
3901 * help.el (describe-mode): Doc fix.
3902
3903 2012-05-26 Glenn Morris <rgm@gnu.org>
3904
3905 * w32-fns.el (w32-init-info): Remove.
3906 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3907
3908 * info.el (info-initialize): For self-contained NS builds, put the
3909 included info/ directory at the front. (Bug#2791)
3910
3911 * paths.el (Info-default-directory-list): Make it a defcustom,
3912 mainly so that we can use custom-initialize-delay.
3913
3914 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3915
3916 * subr.el (buffer-has-markers-at): Mark obsolete.
3917
3918 * subr.el (lambda): Use declare.
3919
3920 * emacs-lisp/lisp-mode.el (lambda):
3921 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3922
3923 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3924
3925 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3926
3927 2012-05-26 Glenn Morris <rgm@gnu.org>
3928
3929 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3930
3931 2012-05-25 Glenn Morris <rgm@gnu.org>
3932
3933 * paths.el: Remove no-byte-compile.
3934 * loadup.el: No need to load paths.el uncompiled.
3935
3936 * image.el (imagemagick-types-inhibit): Doc fix.
3937
3938 * version.el: Remove no-byte-compile and associated formatting.
3939 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3940 is ancient code from when there was an "inc-vers.el".
3941
3942 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3943
3944 * progmodes/gdb-mi.el: Minor style changes.
3945 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3946 Turn into minor modes.
3947 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3948 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3949 (gdb-shell): Remove unneeded let-binding.
3950 (gdb-get-many-fields): Eliminate O(n²) behavior.
3951
3952 2012-05-25 Eli Zaretskii <eliz@gnu.org>
3953
3954 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3955 platforms that don't link in fontset.c.
3956
3957 2012-05-25 Juri Linkov <juri@jurta.org>
3958
3959 Use the same diff color scheme as in modern VCSes (bug#10181).
3960
3961 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3962 to avoid confusion with `diff-added' that now uses green colors.
3963 (diff-removed): Use shades of red.
3964 (diff-added): Use shades of green.
3965 (diff-changed): Leave just the yellow color.
3966 (diff-use-changed-face): New variable.
3967 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3968 how to highlight context diff changes.
3969 (diff-refine-change): Use shades of yellow.
3970 (diff-refine-removed): New face that uses shades of red.
3971 (diff-refine-added): New face that uses shades of green.
3972 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3973 `diff-refine-removed' in the call to `smerge-refine-subst'
3974 depending on the value of `diff-use-changed-face'.
3975
3976 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3977 (smerge-other): Use shades of green.
3978 (smerge-base): Use shades of yellow.
3979 (smerge-refined-change): Empty face.
3980 (smerge-refined-removed): New face that uses shades of red.
3981 (smerge-refined-added): New face that uses shades of green.
3982 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3983 args `props-r' and `props-a', and use them. Doc fix.
3984 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3985 on its value use different faces `smerge-refined-change',
3986 `smerge-refined-removed', `smerge-refined-added' in the call to
3987 `smerge-refine-subst'.
3988
3989 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3990 Add face condition `min-colors 88' with shades of red.
3991 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3992 `min-colors 88' with shades of green.
3993 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3994 `min-colors 88' with shades of yellow.
3995
3996 2012-05-24 Glenn Morris <rgm@gnu.org>
3997
3998 * paths.el (prune-directory-list, remote-shell-program): Move to...
3999 * files.el (prune-directory-list, remote-shell-program): ...here.
4000 For the latter, delay initialization, prefer ssh, just search PATH.
4001
4002 * paths.el (term-file-prefix): Move to faces.el (the only user).
4003 * faces.el (term-file-prefix): Move here, make it a defcustom.
4004
4005 * paths.el (news-directory, news-path, news-inews-program):
4006 Move to gnus/nnspool.el.
4007
4008 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
4009
4010 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
4011 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
4012 Make the latter a defcustom, with a delayed initialization.
4013
4014 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
4015 These were deleted from Gnus itself late 2010.
4016
4017 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
4018
4019 * progmodes/which-func.el (which-func-ff-hook):
4020 Check against user-error, not error.
4021
4022 * emacs-lisp/edebug.el (top): Do not load or set up loading of
4023 cl-specs.el, which no longer exists.
4024
4025 2012-05-22 Glenn Morris <rgm@gnu.org>
4026
4027 * info.el (info-emacs-bug): New command.
4028 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
4029 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
4030
4031 2012-05-21 Glenn Morris <rgm@gnu.org>
4032
4033 * makefile.w32-in (update-subdirs-SH):
4034 * Makefile.in (update-subdirs): Update for moved update-subdirs.
4035
4036 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
4037
4038 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
4039
4040 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4041 Simplify Maven regexp, and make sure the file can't start with a space
4042 (bug#11517).
4043
4044 2012-05-21 Glenn Morris <rgm@gnu.org>
4045
4046 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4047 Scrap superfluous subshells.
4048
4049 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
4050
4051 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
4052 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
4053
4054 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
4055
4056 * calc/calc.el (calc-ensure-consistent-units): New variable.
4057
4058 * calc/calc-units.el (math-consistent-units-p)
4059 (math-check-unit-consistency): New functions.
4060 (calc-quick-units, calc-convert-units):
4061 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
4062 is non-nil.
4063 (calc-extract-units): Fix typo.
4064
4065 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4066
4067 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
4068
4069 * textmodes/flyspell.el: Commenting style, plus code simplifications.
4070 (flyspell-default-deplacement-commands): Don't spell check after
4071 repeated window/frame switches (e.g. triggered by mouse-movement).
4072 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
4073 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
4074 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
4075 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
4076 Remove unused vars.
4077 (flyspell-get-casechars, flyspell-get-not-casechars):
4078 Simplify; Don't bother removing a ] just to add it back.
4079 * textmodes/ispell.el (ispell-program-name): Use executable-find.
4080
4081 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4082
4083 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
4084 New functions.
4085 (math-function-table): Add support for more C functions.
4086
4087 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4088
4089 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4090 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4091 Protect delay handling for otherchars against empty otherchars.
4092
4093 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4094
4095 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
4096 their respective macro declarations.
4097 * skeleton.el (define-skeleton):
4098 * progmodes/compile.el (define-compilation-mode):
4099 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
4100 (define-ibuffer-filter):
4101 * emacs-lisp/generic.el (define-generic-mode):
4102 * emacs-lisp/easy-mmode.el (define-minor-mode)
4103 (define-globalized-minor-mode):
4104 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
4105 * emacs-lisp/byte-run.el (defsubst):
4106 * custom.el (deftheme): Add doc-string metadata.
4107
4108 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4109
4110 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
4111
4112 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4113
4114 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
4115
4116 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
4117 * emacs-lisp/cl-macs.el: Idem.
4118 * emacs-lisp/cl-specs.el: Remove.
4119
4120 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4121
4122 Minor renaming of internal CL functions and variables.
4123 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
4124 (cl--position): Rename from cl-position.
4125 (cl--delete-duplicates): Rename from cl-delete-duplicates.
4126 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
4127 (cl--random-state): Rename from *random-state*.
4128
4129 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4130
4131 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
4132 parens around the arg list (bug#11499).
4133
4134 2012-05-17 Juri Linkov <juri@jurta.org>
4135
4136 * isearch.el (word-search-regexp, word-search-backward)
4137 (word-search-forward, word-search-backward-lax)
4138 (word-search-forward-lax): Move functions from search.c
4139 (bug#10145, bug#11381).
4140
4141 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4142
4143 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4144 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4145 Delay for otherchars as for normal word components.
4146
4147 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
4148
4149 * minibuffer.el (completion--sifn-requote): Fix last change.
4150 (minibuffer-local-must-match-filename-map):
4151 Move define-obsolete-variable-alias before its var.
4152
4153 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4154
4155 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
4156
4157 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
4158 behavior.
4159 (completion--string-equal-p): New function.
4160 (completion--twq-all): Use it to get better assertion failure data.
4161
4162 Only handle ".." and '..' quoting in shell-mode (bug#11466).
4163 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
4164 (shell--requote-argument): New functions.
4165 (shell-completion-vars): Use them.
4166 (shell--parse-pcomplete-arguments): Rename from
4167 shell-parse-pcomplete-arguments.
4168 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
4169 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
4170 Obey comint-file-name-quote-list.
4171
4172 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
4173 (smie-indent-keyword): Use it.
4174
4175 2012-05-14 Stefan Merten <smerten@oekonux.de>
4176
4177 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
4178
4179 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
4180
4181 * net/rlogin.el (rlogin-mode-map): Fix last change.
4182
4183 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
4184
4185 * mail/smtpmail.el (smtpmail-send-command): Send the command and
4186 the following \r\n using a single `process-send-string', since the
4187 Lotus SMTP server refuses to accept any commands if they are sent
4188 with two `process-send-string's (Bug#11444).
4189
4190 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
4191
4192 * shell.el (shell-parse-pcomplete-arguments):
4193 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
4194
4195 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4196
4197 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
4198 (image-transform-scale, image-transform-right-angle-fudge): New vars.
4199 (image-transform-width, image-transform-fit-width): New functions.
4200 (image-transform-properties): Use them.
4201 (image-transform-check-size): New function.
4202 (image-toggle-display-image): Use it (for testing).
4203 (image-transform-set-rotation): Reduce angle mod 360.
4204 Delete obsolete comment.
4205
4206 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4207
4208 * image-mode.el: Fix scaling (bug#11399).
4209 (image-transform-resize): Doc fix.
4210 (image-transform-properties): Default scale is 1 and height should
4211 be an integer.
4212
4213 2012-05-13 Johan Bockgård <bojohan@gnu.org>
4214
4215 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
4216 than hard-coding `car', to fix misbehavior when moving forward.
4217
4218 2012-05-13 Chong Yidong <cyd@gnu.org>
4219
4220 * emacs-lisp/tabulated-list.el (tabulated-list-format)
4221 (tabulated-list-entries, tabulated-list-padding)
4222 (tabulated-list-sort-key): Make permanent-local.
4223
4224 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
4225 (electric-buffer-list): Put electric buffer menu
4226 command descriptions in this docstring, instead of the docstring
4227 of electric-buffer-menu-mode. Code cleanups.
4228 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
4229 Electric-buffer-menu-mode.
4230 (electric-buffer-update-highlight): Minor code cleanup.
4231
4232 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
4233
4234 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
4235 (Bug#11447)
4236
4237 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
4238
4239 Move define-obsolete-variable-alias before the var's definition.
4240 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
4241 * tooltip.el (tooltip-hook):
4242 * textmodes/reftex-toc.el (reftex-toc-map):
4243 * textmodes/reftex-sel.el (reftex-select-label-map)
4244 (reftex-select-bib-map):
4245 * textmodes/reftex-index.el (reftex-index-map)
4246 (reftex-index-phrases-map):
4247 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
4248 * progmodes/meta-mode.el (meta-mode-map):
4249 * novice.el (disabled-command-hook):
4250 * loadhist.el (unload-hook-features-list):
4251 * frame.el (blink-cursor):
4252 * files.el (find-file-not-found-hooks, write-file-hooks)
4253 (write-contents-hooks):
4254 * emulation/tpu-edt.el (GOLD-map):
4255 * emacs-lock.el (emacs-lock-from-exiting):
4256 * emacs-lisp/generic.el (generic-font-lock-defaults):
4257 * emacs-lisp/chart.el (chart-map):
4258 * dos-fns.el (register-name-alist):
4259 * dired-x.el (dired-omit-files-p):
4260 * desktop.el (desktop-enable):
4261 * cus-edit.el (custom-mode-hook):
4262 * buff-menu.el (buffer-menu-mode-hook):
4263 * bookmark.el (bookmark-read-annotation-text-func)
4264 (bookmark-exit-hooks):
4265 * allout.el (allout-mode-deactivate-hook)
4266 (allout-exposure-change-hook, allout-structure-added-hook)
4267 (allout-structure-deleted-hook, allout-structure-shifted-hook):
4268 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
4269 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
4270 comes before the corresponding variable's definition.
4271
4272 2012-05-12 Chong Yidong <cyd@gnu.org>
4273
4274 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
4275 (Buffer-menu-mouse-select): Restore function (Bug#11459).
4276 (Buffer-menu-mode-map): Bind it.
4277 (Buffer-menu--pretty-name): Add a mouse-face property.
4278
4279 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
4280
4281 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
4282 (prolog-upper-case-string, prolog-lower-case-string)
4283 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
4284 (prolog-use-smie, prolog-smie-grammar): New vars.
4285 (prolog-smie-forward-token, prolog-smie-backward-token)
4286 (prolog-smie-rules): New funs.
4287 (prolog-comment-indent): Remove.
4288 (prolog-mode-variables): Use default comment indentation instead.
4289 Setup SMIE.
4290 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
4291 (prolog-mode): Don't call them any more.
4292 (prolog-electric-colon, prolog-electric-dash)
4293 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
4294
4295 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
4296
4297 * minibuffer.el (completion--twq-all): Again, allow case differences.
4298
4299 * term.el: Move keymap initialization code to be more idiomatic.
4300 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
4301 (term-terminal-menu): Move initialization into declaration.
4302 (term-escape-char): Let the user set it in her .emacs.
4303
4304 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
4305 Provide SMIE-based indentation (not enabled by default yet).
4306 (sh-mode-map): Don't bind electric keys.
4307 Use electric-pair-mode instead of skeleton-pair.
4308 (sh-assignment-regexp): Fit within 80 columns.
4309 (sh-indent-supported): Specify actual shell name instead of boolean.
4310 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
4311 (sh-maybe-here-document): Use it. Make obsolete.
4312 (sh-electric-here-document-mode) New minor mode.
4313 (sh-mode): Use it. Don't set sh-indent-supported-here here.
4314 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
4315 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
4316 (sh-smie-rc-grammar, sh-use-smie): New vars.
4317 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
4318 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
4319 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
4320 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
4321 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
4322 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
4323 (sh-set-shell): Use smie-setup if requested.
4324
4325 * term.el (term-set-escape-char): Properly set term-escape-char.
4326 See http://stackoverflow.com/questions/10524656.
4327
4328 2012-05-10 Chong Yidong <cyd@gnu.org>
4329
4330 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
4331 Use url-generic-parse-url, and handle host names and Windows
4332 filenames properly.
4333 (ffap-url-unwrap-remote): Use url-generic-parse-url.
4334 (ffap-url-unwrap-remote): Accept list values, specifying a list of
4335 URL schemes to work on.
4336 (ffap--toggle-read-only): New function.
4337 (ffap-read-only, ffap-read-only-other-window)
4338 (ffap-read-only-other-frame): Use it.
4339 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
4340 necessary for ffap-url-unwrap-remote.
4341
4342 2012-05-10 Dave Abrahams <dave@boostpro.com>
4343
4344 * cus-start.el (create-lockfiles): Add it.
4345
4346 2012-05-09 Chong Yidong <cyd@gnu.org>
4347
4348 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
4349 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
4350
4351 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
4352
4353 * shell.el (shell-completion-vars): Fix last change (bug#11348).
4354
4355 2012-05-09 Chong Yidong <cyd@gnu.org>
4356
4357 * ansi-color.el (ansi-color-process-output): Check for validity of
4358 comint-last-output-start before using it. This avoids a bad
4359 interaction with gdb-mi's input/output buffer.
4360
4361 2012-05-09 Glenn Morris <rgm@gnu.org>
4362
4363 * files.el (dir-locals-read-from-file):
4364 Mention dir-locals in any error message.
4365
4366 2012-05-09 Chong Yidong <cyd@gnu.org>
4367
4368 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
4369 package (Bug#11410).
4370
4371 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
4372 variables into description.
4373
4374 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
4375
4376 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
4377 shell-delimiter-argument-list (bug#11348).
4378 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
4379
4380 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
4381
4382 * textmodes/rst.el: Silence byte-compiler warnings.
4383 (rst-re-alist, rst-reset-section-caches): Move around.
4384 (rst-re): Use `characterp', not `char-valid-p'.
4385 (font-lock-beg, font-lock-end): Declare.
4386
4387 * progmodes/idlw-shell.el (specs): Remove reference to deleted
4388 variable `idlwave-shell-activate-alt-keybindings' and simplify.
4389
4390 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
4391
4392 2012-05-08 Glenn Morris <rgm@gnu.org>
4393
4394 * files.el (auto-mode-alist): Treat ".make" like ".mk".
4395
4396 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4397
4398 * vc/log-edit.el: Add GNU coding standards highlighting.
4399 (log-edit-font-lock-gnu-style)
4400 (log-edit-font-lock-gnu-keywords): New vars.
4401 (log-edit-font-lock-keywords): New fun.
4402 (log-edit-mode): Don't fold case in font-lock.
4403 (log-edit-font-lock-keywords): Do not assume case-folding.
4404
4405 * imenu.el: Misc cleanup. Make docstrings out of comments.
4406 Use lexical-binding.
4407 (imenu--index-alist, imenu--last-menubar-index-alist)
4408 (imenu-menubar-modified-tick): Use defvar-local.
4409 (imenu--split-menu): Remove unused var.
4410 (imenu--cleanup-seen): Declare as global.
4411 (imenu--cleanup): Use dolist.
4412
4413 * subr.el (defvar-local): Add debug spec and doc-string position.
4414
4415 2012-05-08 Glenn Morris <rgm@gnu.org>
4416
4417 * language/burmese.el, language/cham.el, language/czech.el:
4418 * language/english.el, language/georgian.el, language/greek.el:
4419 * language/japanese.el, language/khmer.el, language/korean.el:
4420 * language/lao.el, language/misc-lang.el, language/romanian.el:
4421 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
4422 * language/thai.el, language/utf-8-lang.el:
4423 Remove no-byte-compile setting.
4424
4425 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
4426
4427 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4428
4429 * progmodes/make-mode.el (makefile-browse):
4430 Remove unnecessary interactive. (Bug#11324)
4431
4432 2012-05-07 Glenn Morris <rgm@gnu.org>
4433
4434 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
4435
4436 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
4437
4438 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4439
4440 * loadup.el: Preload newcomment.el.
4441 * newcomment.el: Move autoload-only code to toplevel.
4442
4443 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
4444 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4445 Handle new :right-align column property.
4446 (tabulated-list-print-col): Idem, plus use `display' text-property to
4447 try and preserve alignment for variable pitch fonts.
4448
4449 2012-05-07 Chong Yidong <cyd@gnu.org>
4450
4451 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
4452 (tabulated-list-use-header-line): New var.
4453 (tabulated-list-init-header): Use it.
4454 (tabulated-list-print-fake-header): New function.
4455 (tabulated-list-print): Use it.
4456 (tabulated-list-sort-button-map): Add non-header-line commands.
4457 (tabulated-list-init-header): Add column name property to basic
4458 labels as well.
4459 (tabulated-list-col-sort): Handle non-header-line button case.
4460 (tabulated-list--sort-by-column-name): Fix a corner case.
4461
4462 * buff-menu.el (list-buffers--refresh):
4463 Handle Buffer-menu-use-header-line.
4464
4465 2012-05-06 Chong Yidong <cyd@gnu.org>
4466
4467 * buff-menu.el: Convert to Tabulated List mode.
4468 (Buffer-menu-buffer+size-width): Make obsolete.
4469 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
4470 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
4471 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
4472 documentation into docstring of buffer-menu.
4473 (Buffer-menu-toggle-files-only): Add an informative message.
4474 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
4475 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
4476 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
4477 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
4478 (Buffer-menu-execute, Buffer-menu-select)
4479 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
4480 (Buffer-menu-bury): Use Tabulated List machinery.
4481 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
4482 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
4483 Delete.
4484 (list-buffers--refresh): New function.
4485 (list-buffers-noselect): Use it.
4486 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
4487 (Buffer-menu--pretty-file-name): New helper functions.
4488
4489 * loadup.el: Preload tabulated-list.
4490
4491 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
4492 tabulated-list-sort-column.
4493 (tabulated-list-init-header): Add the initial aligning space even
4494 if tabulated-list-padding is zero.
4495
4496 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
4497
4498 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
4499 whose cdr is not a cons cell correctly (bug#11038).
4500
4501 2012-05-06 Chong Yidong <cyd@gnu.org>
4502
4503 * emacs-lisp/tabulated-list.el (tabulated-list-format):
4504 Accept additional plist in column descriptors.
4505 (tabulated-list-init-header): Obey it.
4506 (tabulated-list-get-entry): New function.
4507 (tabulated-list-put-tag): Use it. Use string-width instead of
4508 length.
4509 (tabulated-list--column-number): New function.
4510 (tabulated-list-print): Use it.
4511 (tabulated-list-print-col): New function.
4512 Set `tabulated-list-column-name' property on each column's text.
4513 (tabulated-list-print-entry): Use it.
4514 (tabulated-list-delete-entry, tabulated-list-set-col):
4515 New functions.
4516 (tabulated-list-sort-column): New command (Bug#11337).
4517
4518 * buff-menu.el (list-buffers): Move C-x C-b binding from
4519 buff-menu.el to bindings.el.
4520
4521 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
4522 :advertised-binding feature.
4523
4524 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
4525
4526 * progmodes/compile.el (compilation-internal-error-properties):
4527 Calculate start position correctly when end-col is set but
4528 end-line is not (Bug#11382).
4529
4530 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
4531
4532 * man.el (Man-unindent): Use text-property-default-nonsticky to
4533 prevent untabify from inheriting face properties (Bug#11408).
4534
4535 2012-05-05 Stefan Merten <smerten@oekonux.de>
4536
4537 * textmodes/rst.el: Major merge with upstream development up to
4538 Docutils SVN r7399 / rst.el V1.2.1.
4539
4540 Clarify maintainership and authors.
4541
4542 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
4543 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
4544 (rst-official-version, rst-official-cvs-rev, rst-version)
4545 (rst-package-emacs-version-alist): New functions and variables
4546 for version information.
4547
4548 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
4549 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
4550 (rst-mode-syntax-table, rst-mode): New and corrected functions
4551 and variables representing reStructuredText features.
4552
4553 (rst-re): New function for reStructuredText regexes. Use in
4554 many places.
4555
4556 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
4557 (rst-mode-map): Rebind keys.
4558
4559 (rst-mode-lazy, rst-font-lock-keywords)
4560 (rst-font-lock-extend-region)
4561 (rst-font-lock-extend-region-internal)
4562 (rst-font-lock-extend-region-extend)
4563 (rst-font-lock-find-unindented-line-limit)
4564 (rst-font-lock-find-unindented-line-match)
4565 (rst-adornment-level, rst-font-lock-adornment-level)
4566 (rst-font-lock-adornment-match)
4567 (rst-font-lock-handle-adornment-pre-match-form)
4568 (rst-font-lock-handle-adornment-matcher): Major revision of
4569 font-locking. Integrate with other code. Use `jit-lock-mode'.
4570
4571 (rst-preferred-adornments, rst-adjust-hook)
4572 (rst-new-adornment-down, rst-preferred-bullets)
4573 (rst-preferred-bullets, rst-indent, rst-indent-width)
4574 (rst-indent-field, rst-indent-literal-normal)
4575 (rst-indent-literal-minimized, rst-indent-comment): Change,
4576 extend and improve customization.
4577
4578 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
4579 (rst-normalize-cursor-position, rst-get-decoration)
4580 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
4581 (rst-rstrip, rst-toc-insert-find-delete-contents)
4582 (rst-shift-fill-region, rst-compute-bullet-tabs)
4583 (rst-debug-print-tabs, rst-debug-mark-found)
4584 (rst-shift-region-guts, rst-shift-region-right)
4585 (rst-shift-region-left, rst-use-char-classes)
4586 (rst-font-lock-keywords-function)
4587 (rst-font-lock-indentation-point)
4588 (rst-font-lock-find-unindented-line-begin)
4589 (rst-font-lock-find-unindented-line-end)
4590 (rst-font-lock-find-unindented-line)
4591 (rst-font-lock-adornment-point, rst-font-lock-level)
4592 (rst-adornment-level-alist): Remove functions and variables.
4593
4594 (rst-compare-adornments, rst-get-adornment-match)
4595 (rst-suggest-new-adornment, rst-get-adornments-around)
4596 (rst-adornment-complete-p, rst-get-next-adornment)
4597 (rst-adjust-adornment, rst-display-adornments-hierarchy)
4598 (rst-straighten-adornments): Standardize function names to
4599 use "adornment" instead of "decoration". Correct callers.
4600 Similar standardizing in many places.
4601
4602 (rst-update-section, rst-adjust, rst-promote-region)
4603 (rst-enumerate-region, rst-bullet-list-region)
4604 (rst-repeat-last-character): Correct use of `interactive'.
4605
4606 (rst-classify-adornment, rst-find-all-adornments)
4607 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
4608 (rst-find-leftmost-column, rst-repeat-last-character):
4609 Refactor functions.
4610
4611 (rst-find-title-line, rst-reset-section-caches)
4612 (rst-get-adornments-around, rst-adjust-adornment-work)
4613 (rst-arabic-to-roman, rst-roman-to-arabic)
4614 (rst-insert-list-pos, rst-insert-list-new-item)
4615 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
4616 New functions.
4617
4618 (rst-all-sections, rst-section-hierarchy)
4619 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
4620 New variables.
4621
4622 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
4623 configuration instead of only buffer. Change where necessary.
4624
4625 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
4626 (rst-shift-region, rst-adaptive-fill): New functions for
4627 indentation and filling.
4628
4629 (rst-comment-line-break, rst-comment-indent)
4630 (rst-comment-insert-comment, rst-comment-region)
4631 (rst-uncomment-region): New functions for handling comments.
4632
4633 (rst-compile): Quote shell arguments.
4634
4635 (rst-compile-pdf-preview, rst-compile-slides-preview):
4636 Delete temporary files after use.
4637
4638 2012-05-05 Glenn Morris <rgm@gnu.org>
4639
4640 * calendar/cal-html.el: Optionally include holidays in the output.
4641 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
4642 (cal-html-holidays): New option.
4643 (cal-html-css-default): Add holiday entry.
4644 (holiday-in-range): Autoload it.
4645 (cal-html-htmlify-entry): Add optional class argument.
4646 (cal-html-htmlify-list): Add optional holidays argument.
4647 (cal-html-insert-agenda-days): Include holidays in the output.
4648 (cal-html-one-month): Maybe include holidays.
4649
4650 * calendar/holidays.el (holiday-in-range):
4651 Move here from cal-tex-list-holidays.
4652 * calendar/cal-tex.el (cal-tex-list-holidays):
4653 Make it an obsolete alias for holiday-in-range. Update all callers.
4654
4655 2012-05-05 Chong Yidong <cyd@gnu.org>
4656
4657 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
4658 Nextstep.
4659
4660 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
4661
4662 * files.el (file-auto-mode-skip): New var.
4663 (set-auto-mode-1): Use it.
4664
4665 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4666
4667 * repeat.el: Use lexical-binding.
4668 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
4669 (repeat-undo-count): Remove.
4670 (repeat):
4671 * progmodes/octave-mod.el (octave-abbrev-start):
4672 * progmodes/f90.el (f90-abbrev-start):
4673 * face-remap.el (text-scale-adjust):
4674 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
4675
4676 * emacs-lisp/pcase.el (pcase--let*): New function.
4677 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
4678 a bit more.
4679 (pcase--split-pred): Be more clever about ruling out overlap between
4680 a predicate and some constant pattern.
4681 (pcase--q1): Use `null' instead of (eq foo nil).
4682
4683 * subr.el (setq-local, defvar-local): New macros.
4684 (kbd): Redefine as an alias.
4685 (with-selected-window): Leave unrelated frames alone.
4686 (set-temporary-overlay-map): New function.
4687
4688 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4689
4690 * subr.el (user-error): New function.
4691 * window.el (switch-to-buffer):
4692 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
4693 (smerge-match-conflict):
4694 * simple.el (previous-matching-history-element)
4695 (next-matching-history-element, goto-history-element, undo-more)
4696 (undo-start):
4697 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
4698 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
4699 (next-file, tags-loop-scan, list-tags, complete-tag):
4700 * progmodes/compile.el (compilation-loop):
4701 * mouse.el (mouse-minibuffer-check):
4702 * man.el (Man-bgproc-sentinel, Man-goto-page):
4703 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
4704 (Info-history-forward, Info-follow-reference, Info-menu)
4705 (Info-extract-menu-item, Info-extract-menu-counting)
4706 (Info-forward-node, Info-backward-node, Info-next-menu-item)
4707 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
4708 (Info-next-reference, Info-prev-reference, Info-index)
4709 (Info-index-next, Info-follow-nearest-node)
4710 (Info-copy-current-node-name):
4711 * imenu.el (imenu--make-index-alist)
4712 (imenu-default-create-index-function, imenu-add-to-menubar):
4713 * files.el (basic-save-buffer, recover-file):
4714 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4715 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
4716 (checkdoc-message-text, checkdoc-defun):
4717 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
4718 * cus-edit.el (customize-changed-options, customize-rogue)
4719 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
4720 (custom-variable-mark-to-reset-standard)
4721 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
4722 (custom-file):
4723 * completion.el (check-completion-length):
4724 * comint.el (comint-search-arg)
4725 (comint-previous-matching-input-string-position)
4726 (comint-previous-matching-input)
4727 (comint-replace-by-expanded-history-before-point, comint-send-input)
4728 (comint-copy-old-input, comint-backward-matching-input)
4729 (comint-goto-process-mark, comint-set-process-mark):
4730 * calendar/calendar.el (calendar-cursor-to-date): Use it.
4731 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
4732
4733 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4734
4735 * dabbrev.el (dabbrev--ignore-case-p): New function.
4736 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
4737 Use it.
4738
4739 * files.el (automount-dir-prefix): Mark as obsolete.
4740
4741 2012-05-04 Glenn Morris <rgm@gnu.org>
4742
4743 * patcomp.el, play/bruce.el: Move to obsolete/.
4744
4745 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
4746
4747 Fix minor Y10k bugs.
4748 * arc-mode.el (archive-unixdate):
4749 * autoinsert.el (auto-insert-alist):
4750 * calc/calc-forms.el (math-this-year):
4751 * emacs-lisp/copyright.el (copyright-current-year)
4752 (copyright-update-year, copyright):
4753 * tar-mode.el (tar-clip-time-string):
4754 * time.el (display-time-update):
4755 Don't assume years have 4 digits.
4756
4757 2012-05-04 Chong Yidong <cyd@gnu.org>
4758
4759 * dos-w32.el (file-name-buffer-file-type-alist)
4760 (direct-print-region-use-command-dot-com):
4761 * ffap.el (ffap-menu-regexp):
4762 * find-file.el (ff-special-constructs):
4763 * follow.el (follow-debug):
4764 * forms.el (forms--debug):
4765 * iswitchb.el (iswitchb-all-frames):
4766 * ido.el (ido-all-frames):
4767 * emacs-lisp/timer.el (timer-max-repeats):
4768 * mail/feedmail.el (feedmail-mail-send-hook)
4769 (feedmail-mail-send-hook-queued):
4770 * mail/footnote.el (footnote-signature-separator):
4771 * mail/mailabbrev.el (mail-alias-separator-string)
4772 (mail-abbrev-mode-regexp):
4773 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
4774 * progmodes/idlwave.el (idlwave-libinfo-file)
4775 (idlwave-default-completion-case-is-down)
4776 (idlwave-library-routines): Convert defvars to defcustoms.
4777
4778 * mail/rmail.el (rmail-decode-mime-charset):
4779 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
4780 (idlwave-shell-fix-inserted-breaks)
4781 (idlwave-shell-activate-alt-keybindings)
4782 (idlwave-shell-use-breakpoint-glyph):
4783 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
4784
4785 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4786
4787 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
4788
4789 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
4790
4791 * progmodes/verilog-mode.el (font-lock-keywords):
4792 Fix mis-highligting auto. Reported by Craig Barner.
4793 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
4794 defines from global name space. Reported by Dan Dever.
4795 (verilog-auto-reset, verilog-auto-reset-widths)
4796 (verilog-auto-tieoff): Support using unbased numbers for
4797 AUTORESET and AUTOTIEOFF.
4798 (verilog-submit-bug-report): Update variable list.
4799 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
4800 parenthesis from not matching. Reported by Michael Rytting.
4801 (verilog-auto-template-lint): Fix hash error when linting modules
4802 with no used templates.
4803 (verilog-warn, verilog-warn-error)
4804 (verilog-warn-fatal): When non-interactive report multiple
4805 warnings before exiting. Suggested by Brad Dobbie.
4806 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
4807 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
4808 to report unused template errors. Reported by Brad Dobbie.
4809 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
4810 nets, bug438. Reported by Vns Blore.
4811 (verilog-auto-inout-module, verilog-auto-reg)
4812 (verilog-read-decls, verilog-read-sub-decls-sig)
4813 (verilog-signals-edit-wire-reg, verilog-signals-with):
4814 Fix passing of Verilog data types in ANSI input/output ports
4815 such as "output logic" into the AUTOs. Special case "wire" and
4816 "reg" for backwards compatibility presuming Verilog 2001.
4817 (verilog-auto-ascii-enum): Add "auto enum" as alias.
4818 (verilog-preprocess): Fix replication of preprocess output.
4819 Reported by Brad Dobbie.
4820 (verilog-auto-inst-interfaced-ports):
4821 Create verilog-auto-inst-interfaced-ports, bug429.
4822 Reported by Julian Gorfajn.
4823 (verilog-after-save-font-hook)
4824 (verilog-before-save-font-hook): New variable.
4825 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
4826 (verilog-save-font-mods): Wrap disabling fontification, reported
4827 by David Rogoff.
4828 (verilog-do-indent, verilog-pretty-declarations-auto)
4829 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
4830 Reported by Pierre-David Pfister.
4831 (verilog-set-auto-endcomments): Fix endtask auto comments outside
4832 of class declarations, bug292. Reported by Kevin Heilman.
4833 (verilog-read-decls): Fix 'parameter type' not appearing in
4834 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
4835 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
4836 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
4837 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
4838 Reported by David Kravitz.
4839
4840 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
4841
4842 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
4843 assignment with tests in ifs and for loops.
4844 (verilog-extended-complete-re, verilog-complete-reg): Change so
4845 that DPI inport functions don't look like fuction declarations.
4846 (verilog-pretty-expr): Don't line up assignment
4847 operations to the test and increment in if and for loops
4848 (verilog-extended-complete-re, verilog-complete-reg): Change so
4849 that DPI inport functions don't look like fuction declarations.
4850
4851 2012-05-03 Kenichi Handa <handa@m17n.org>
4852
4853 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
4854 decoding, and show a warning message without signaling an error
4855 (Bug#11282).
4856
4857 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4858
4859 * emacs-lisp/bytecomp.el
4860 (byte-compile-file-form-custom-declare-variable): Compile all elements,
4861 since cconv.el might have introduced :fun-body, internal-make-closure,
4862 and friends for bytecomp to handle (bug#11391).
4863 * custom.el (defcustom): Avoid ((λ ..) ..).
4864
4865 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4866
4867 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
4868
4869 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
4870
4871 * notifications.el (dbus-debug):
4872 * term/linux.el (gpm-mouse-enable):
4873 * term/screen.el (xterm-register-default-colors): Declare.
4874
4875 2012-05-02 Chong Yidong <cyd@gnu.org>
4876
4877 * cus-start.el (gc-cons-percentage, exec-suffixes)
4878 (dos-display-scancodes, dos-hyper-key, dos-super-key)
4879 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4880 (make-cursor-line-fully-visible, void-text-area-pointer)
4881 (font-list-limit): Add customization data.
4882
4883 * allout.el (allout-exposure-change-functions)
4884 (allout-structure-added-functions)
4885 (allout-structure-deleted-functions)
4886 (allout-structure-shifted-functions): Rename abnormal hooks from
4887 *-hook, and convert to defcustoms.
4888 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4889 Convert to defcustoms.
4890 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4891
4892 * allout-widgets.el: Hook callers changed.
4893
4894 2012-05-02 Eli Zaretskii <eliz@gnu.org>
4895
4896 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4897 the yanked message in preference to the default value of
4898 buffer-file-coding-system.
4899
4900 2012-05-02 Martin Rudalics <rudalics@gmx.at>
4901
4902 * window.el (display-buffer--action-function-custom-type):
4903 Fix entry.
4904
4905 2012-05-02 Alan Mackenzie <acm@muc.de>
4906
4907 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4908
4909 2012-05-01 Glenn Morris <rgm@gnu.org>
4910
4911 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4912
4913 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4914
4915 * cus-edit.el (custom-variable-documentation): Simplify with format.
4916
4917 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4918 Stefan Monnier <monnier@iro.umontreal.ca>
4919
4920 * simple.el (suggest-key-bindings, execute-extended-command):
4921 Move from keyboard.c.
4922
4923 2012-05-01 Chong Yidong <cyd@gnu.org>
4924
4925 * follow.el: Eliminate advice.
4926 (set-process-filter, process-filter, sit-for): Advice deleted.
4927 (follow-mode-off-hook): Obsolete hook removed.
4928 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4929 Vars deleted.
4930 (follow-auto): Use a :set function.
4931 (follow-mode): Rewritten. Don't advise process filters.
4932 (follow-switch-to-current-buffer-all, follow-scroll-up)
4933 (follow-scroll-down): Assume follow-mode is bound.
4934 (follow-comint-scroll-to-bottom)
4935 (follow-align-compilation-windows): New functions.
4936 (follow--window-sorter): New function.
4937 (follow-all-followers): Use it to explicitly sort windows by their
4938 positions; don't make assumptions about next-window order.
4939 (follow-windows-start-end, follow-delete-other-windows-and-split)
4940 (follow-calc-win-start): Doc fix.
4941 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4942 vertical-motion unnecessarily.
4943 (follow-adjust-window): New function.
4944 (follow-post-command-hook): Use it.
4945 (follow-call-set-process-filter, follow-call-process-filter)
4946 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4947 (follow-stop-intercept-process-output, follow-generic-filter):
4948 Functions deleted.
4949 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
4950 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4951 New functions, replacing advice on scroll-bar-* commands.
4952 (follow-mwheel-scroll): New function (Bug#4112).
4953
4954 * comint.el (comint-adjust-point): New function.
4955 (comint-postoutput-scroll-to-bottom): Use it.
4956 Call follow-comint-scroll-to-bottom for Follow mode buffers.
4957
4958 2012-05-01 Glenn Morris <rgm@gnu.org>
4959
4960 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4961 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4962 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4963 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4964 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4965 Remove no-byte-compile setting.
4966
4967 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4968
4969 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4970 all-completions code to not return a number in the last cdr.
4971
4972 2012-04-30 Leo Liu <sdl.web@gmail.com>
4973
4974 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4975 read-only error.
4976
4977 2012-04-29 Chong Yidong <cyd@gnu.org>
4978
4979 * follow.el (follow-calc-win-end): Rewrite to handle partial
4980 screen lines correctly (Bug#8390).
4981 (follow-avoid-tail-recenter): Minor cleanup.
4982
4983 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4984
4985 Avoid the obsolete `assoc' package.
4986 * speedbar.el (speedbar-refresh): Avoid adelete.
4987 (speedbar-file-lists): Simplify and avoid aput.
4988 * man.el (Man--sections, Man--refpages): New vars, replacing
4989 Man-sections-alist and Man-refpages-alist.
4990 (Man-build-section-alist, Man-build-references-alist):
4991 Use them; avoid aput.
4992 (Man--last-section, Man--last-refpage): New vars.
4993 (Man-follow-manual-reference): Use them.
4994 Use the `default' arg of completing-read.
4995 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4996
4997 2012-04-27 Chong Yidong <cyd@gnu.org>
4998
4999 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
5000
5001 * startup.el (x-apply-session-resources): New function.
5002
5003 * term/ns-win.el (ns-initialize-window-system):
5004 * term/w32-win.el (w32-initialize-window-system):
5005 * term/x-win.el (x-initialize-window-system): Use it to properly
5006 set menu-bar-mode and other vars from X resources, even if the
5007 initial frame is not a window-system frame (Bug#2299).
5008
5009 * subr.el (read-key): Avoid running filter function when setting
5010 up temporary tool bar entries (Bug#9922).
5011
5012 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
5013
5014 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
5015 (Bug#11344)
5016
5017 2012-04-27 Chong Yidong <cyd@gnu.org>
5018
5019 * select.el (xselect--encode-string): New function, split from
5020 xselect-convert-to-string.
5021 (xselect-convert-to-string): Use it.
5022 (xselect-convert-to-filename, xselect-convert-to-os)
5023 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
5024 returned strings are properly encoded (Bug#11315).
5025
5026 2012-04-27 Chong Yidong <cyd@gnu.org>
5027
5028 * simple.el (delete-active-region): Move to killing custom group.
5029
5030 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
5031
5032 * progmodes/which-func.el (which-func-current): Quote %
5033 characters for mode-line processing.
5034
5035 2012-04-27 Chong Yidong <cyd@gnu.org>
5036
5037 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
5038 reaching eob (Bug#11286).
5039
5040 2012-04-27 Eli Zaretskii <eliz@gnu.org>
5041
5042 * progmodes/gdb-mi.el (gdb-control-level): New variable.
5043 (gdb): Make it buffer-local and init to zero.
5044 (gdb-control-commands-regexp): New variable.
5045 (gdb-send): Don't wrap in "-interpreter-exec console" if
5046 gdb-control-level is positive. Increment gdb-control-level
5047 whenever the command matches gdb-control-commands-regexp, and
5048 decrement it each time the command is "end". (Bug#11279)
5049
5050 2012-04-27 Martin Rudalics <rudalics@gmx.at>
5051
5052 * window.el (adjust-window-trailing-edge, enlarge-window)
5053 (shrink-window, window-resize):
5054 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
5055 windows (Bug#11276).
5056
5057 2012-04-27 Chong Yidong <cyd@gnu.org>
5058
5059 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
5060 fix "missing prefix" warning. All callers changed.
5061
5062 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5063
5064 * emacs-lisp/assoc.el: Move to obsolete/.
5065
5066 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5067
5068 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
5069
5070 * term/ns-win.el (ns-define-service):
5071 * progmodes/pascal.el (pascal-goto-defun):
5072 * progmodes/js.el (js--read-tab):
5073 * progmodes/etags.el (tags-lazy-completion-table):
5074 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
5075 * emacs-lisp/ewoc.el (ewoc--wrap):
5076 * emacs-lisp/assoc.el (aput, adelete, amake):
5077 * doc-view.el (doc-view-convert-current-doc):
5078 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
5079
5080 2012-04-26 Chong Yidong <cyd@gnu.org>
5081
5082 * image.el (image-type-from-buffer): Only return supported image
5083 type (Bug#9045).
5084
5085 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
5086 value, for symmetry with diff-end-of-hunk.
5087 (diff-split-hunk, diff-find-source-location)
5088 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
5089 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
5090 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
5091 compute the relevant hunk or file properly (Bug#6005).
5092 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
5093
5094 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5095
5096 * vc/vc-mtn.el:
5097 * vc/vc-hg.el:
5098 * vc/vc-git.el:
5099 * vc/vc-dir.el:
5100 * vc/vc-cvs.el:
5101 * vc/vc-bzr.el:
5102 * vc/vc-arch.el:
5103 * vc/vc.el: Replace lexical-let by lexical-binding.
5104 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
5105 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
5106 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
5107
5108 2012-04-26 Chong Yidong <cyd@gnu.org>
5109
5110 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
5111 (diff-mode-shared-map): Bind it to / and [remap undo].
5112
5113 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
5114 (ediff-window-setup-function): Use it as the default, to set up
5115 windows based on whether the current frame is graphical (Bug#2138).
5116 (ediff-choose-window-setup-function-automatically): Make obsolete.
5117
5118 * vc/ediff-init.el: Always define ediff-pixel-width/height.
5119
5120 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5121
5122 * ffap.el: Remove old code for obsolete package.
5123 (ffap-complete-as-file-p): Remove.
5124
5125 Use completion-table-with-quoting for comint and pcomplete.
5126 * comint.el (comint--unquote&requote-argument)
5127 (comint--unquote-argument, comint--requote-argument): New functions.
5128 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
5129 (comint-quote-filename): Use regexp-opt-charset.
5130 (comint--common-suffix, comint--common-quoted-suffix)
5131 (comint--table-subvert): Remove.
5132 (comint-unquote-function, comint-requote-function): New vars.
5133 (comint--complete-file-name-data): Use them with
5134 completion-table-with-quoting.
5135 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
5136 * pcomplete.el (pcomplete-arg-quote-list)
5137 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
5138 (pcomplete-unquote-argument-function): Default to non-nil.
5139 (pcomplete-unquote-argument): Simplify.
5140 (pcomplete--common-quoted-suffix): Remove.
5141 (pcomplete-requote-argument-function): New var.
5142 (pcomplete--common-suffix): New function.
5143 (pcomplete-completions-at-point): Use completion-table-with-quoting
5144 and completion-table-subvert.
5145
5146 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
5147 (minibuffer--double-dollars): Preserve properties.
5148 (completion--sifn-requote): New function.
5149 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
5150
5151 * minibuffer.el: Add support for completion of quoted/escaped data.
5152 (completion-table-with-quoting, completion-table-subvert): New funs.
5153 (completion--twq-try, completion--twq-all): New functions.
5154 (completion--nth-completion): New function.
5155 (completion-try-completion, completion-all-completions): Use it.
5156
5157 2012-04-25 Leo Liu <sdl.web@gmail.com>
5158
5159 * progmodes/python.el (python-pdbtrack-get-source-buffer):
5160 Use compilation-message if available to find real filename.
5161
5162 2012-04-25 Chong Yidong <cyd@gnu.org>
5163
5164 * vc/diff-mode.el (diff-setup-whitespace): New function.
5165 (diff-mode): Use it.
5166
5167 * vc/diff.el (diff-sentinel):
5168 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
5169 Whitespace mode variables based on diff style (Bug#8612).
5170
5171 2012-04-25 Leo Liu <sdl.web@gmail.com>
5172
5173 * progmodes/python.el (python-send-region): Add suffix .py to the
5174 temp file.
5175
5176 * files.el (auto-mode-alist): Use javascript-mode instead.
5177
5178 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
5179
5180 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
5181
5182 * net/soap-client.el (soap-resolve-references-for-sequence-type)
5183 (soap-resolve-references-for-array-type): Hack to prevent self
5184 references, see Bug#9.
5185 (soap-parse-envelope): Report the contents of the 'detail' node
5186 when receiving a fault reply.
5187 (soap-parse-envelope): Report the contents of the entire 'detail' node.
5188
5189 * net/soap-inspect.el (soap-sample-value-for-simple-type)
5190 (soap-inspect-simple-type): New function.
5191
5192 * net/soap-client.el (soap-simple-type): New struct.
5193 (soap-default-xsd-types, soap-default-soapenc-types)
5194 (soap-decode-basic-type, soap-encode-basic-type):
5195 support unsignedInt and double basic types.
5196 (soap-resolve-references-for-simple-type)
5197 (soap-parse-simple-type, soap-encode-simple-type): New function.
5198 (soap-parse-schema): Parse xsd:simpleType declarations.
5199
5200 * net/soap-client.el (soap-default-xsd-types)
5201 (soap-default-soapenc-types): Add integer, byte and anyURI types.
5202 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
5203 the local name of "soapenc:Array".
5204 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
5205 decoding integer, byte and anyURI xsd types.
5206
5207 2012-04-25 Chong Yidong <cyd@gnu.org>
5208
5209 * cus-edit.el (custom-buffer-create-internal): Update header text.
5210
5211 2012-04-25 Eli Zaretskii <eliz@gnu.org>
5212
5213 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
5214 settings on 'system-type', not on 'window-system'. On MS-Windows,
5215 set interactive-mode on in GDB.
5216
5217 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5218
5219 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
5220 (ruby-syntax-propertize-regexp): Remove.
5221 (ruby-syntax-propertize-function): Split regexp into chunks.
5222 Match following code directly.
5223
5224 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
5225
5226 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
5227 (ruby-syntax-propertize-regexp): New function.
5228 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
5229 by a special keyword.
5230
5231 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
5232 (ruby-syntax-general-delimiters-goto-beg)
5233 (ruby-syntax-propertize-general-delimiters): New functions.
5234 (ruby-syntax-propertize-function): Use them to handle GDL.
5235 (ruby-font-lock-keywords): Move old handling of GDL...
5236 (ruby-font-lock-syntactic-keywords): .. to here.
5237 (ruby-calculate-indent): Adjust indentation for GDL.
5238
5239 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
5240
5241 * notifications.el (top): Remove unneeded declarations.
5242 (notifications-specification-version): Change to "1.2".
5243 (notifications-interface, notifications-notify-method)
5244 (notifications-close-notification-method): Fix docstring.
5245 (notifications-get-capabilities-method): New defconst.
5246 (notifications-notify): Add :action-items, :resident and
5247 :transient hints. Change "image_data" to "image-data" and
5248 "image_path" to "image-path".
5249 (notifications-get-capabilities): New defun.
5250
5251 2012-04-24 Leo Liu <sdl.web@gmail.com>
5252
5253 * progmodes/python.el: Move hideshow setup to the end.
5254
5255 2012-04-24 Martin Rudalics <rudalics@gmx.at>
5256
5257 * window.el (handle-select-window): Clear echo area since this is
5258 no more done by read_char (Bug#11304).
5259
5260 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5261
5262 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
5263 and `/ M' to filter-derived-mode.
5264 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
5265 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
5266 (ibuffer-mark-by-mode): Use default rather than initial-input.
5267 (ibuffer-filter-by-derived-mode): Autoload and require-match.
5268
5269 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
5270
5271 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
5272 (ibuffer-filter-by-derived-mode): New filter.
5273 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
5274
5275 2012-04-23 Andreas Politz <politza@fh-trier.de>
5276
5277 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
5278
5279 2012-04-23 Chong Yidong <cyd@gnu.org>
5280
5281 * cus-edit.el (customize-apropos, customize-apropos-options):
5282 Disable matching of non-option variables (Bug#11176).
5283 (customize-option, customize-option-other-window)
5284 (customize-changed-options): Doc fix.
5285 (customize-apropos-options, customize-apropos-faces)
5286 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
5287
5288 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
5289 Fix word list splitting (Bug#11132).
5290 (apropos-symbol, apropos-keybinding, apropos-label)
5291 (apropos-property, apropos-function-button)
5292 (apropos-variable-button, apropos-misc-button): New faces.
5293 (apropos-symbol-face, apropos-keybinding-face)
5294 (apropos-label-face, apropos-property-face, apropos-match-face):
5295 Variables removed (Bug#8396).
5296 (apropos-library-button, apropos-format-plist, apropos-print)
5297 (apropos-print-doc, apropos-describe-plist): Callers changed.
5298
5299 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
5300
5301 * net/xesam.el (xesam-mode-map): Use let-bound map in
5302 initialization. (Bug#11292)
5303
5304 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5305
5306 Preserve ispell session localwords when switching back to
5307 original buffer.
5308
5309 * textmodes/ispell.el (ispell-buffer-session-localwords):
5310 New buffer-local variable to hold buffer session localwords.
5311 (ispell-kill-ispell): Add option 'clear to delete session
5312 localwords.
5313 (ispell-command-loop, ispell-change-dictionary)
5314 (ispell-buffer-local-words): Preserve session localwords when
5315 needed.
5316
5317 * textmodes/flyspell.el (flyspell-process-localwords)
5318 (flyspell-do-correct): Preserve session localwords when needed.
5319
5320 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5321
5322 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
5323 using obsolete `translation-table-for-input'.
5324 (ispell-word, ispell-process-line, ispell-complete-word):
5325 Use plain `insert' instead of removed `ispell-insert-word'.
5326
5327 2012-04-22 Chong Yidong <cyd@gnu.org>
5328
5329 * cus-edit.el (custom-variable-menu)
5330 (custom-variable-reset-saved, custom-face-menu)
5331 (custom-face-reset-saved): If there is no saved value, make the
5332 "reset-saved" operation bring back the default (Bug#9509).
5333 (custom-face-state): Properly detect themed faces.
5334
5335 * faces.el (face-spec-set): Stop supporting deprecated form of
5336 third arg.
5337
5338 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
5339
5340 Move functions from C to Lisp. Make non-blocking method calls
5341 the default. Implement further D-Bus standard interfaces.
5342
5343 * net/dbus.el (dbus-message-internal): Declare function.
5344 Remove unneeded function declarations.
5345 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
5346 (dbus-message-type-method-return, dbus-message-type-error)
5347 (dbus-message-type-signal): Declare variables. Remove local
5348 definitions.
5349 (dbus-interface-dbus, dbus-interface-peer)
5350 (dbus-interface-introspectable, dbus-interface-properties)
5351 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
5352 Adapt docstring.
5353 (dbus-interface-objectmanager): New defconst.
5354 (dbus-call-method, dbus-call-method-asynchronously)
5355 (dbus-send-signal, dbus-method-return-internal)
5356 (dbus-method-error-internal, dbus-register-service)
5357 (dbus-register-signal, dbus-register-method): New defuns, moved
5358 from dbusbind.c
5359 (dbus-call-method-handler, dbus-setenv)
5360 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
5361 New defuns.
5362 (dbus-call-method-non-blocking): Make it an obsolete function.
5363 (dbus-unregister-object, dbus-unregister-service)
5364 (dbus-handle-event, dbus-register-property)
5365 (dbus-property-handler): Obey the new structure of
5366 `bus-registered-objects'.
5367 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
5368 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
5369 Use `dbus-call-method'.
5370
5371 2012-04-22 Chong Yidong <cyd@gnu.org>
5372
5373 * cus-edit.el (custom-commands, custom-reset-menu)
5374 (Custom-reset-standard): Tweak labels.
5375 (custom-reset-button-menu): Change default to t.
5376 (custom-buffer-create-internal): For the custom-reset-button-menu
5377 case, put the revert button first.
5378 (custom-group-subtitle): New face.
5379 (custom-group-value-create): Align docstring to a specific column.
5380
5381 * wid-edit.el (widget-documentation-link-add): Don't handle
5382 indentation in this function.
5383 (widget-documentation-string-indent-to): New function.
5384 (widget-documentation-string-value-create): Use it.
5385
5386 * autorevert.el (auto-revert):
5387 * epg-config.el (epg):
5388 * ibuffer.el (ibuffer):
5389 * mpc.el (mpc):
5390 * ses.el (ses):
5391 * eshell/eshell.el (eshell):
5392 * net/ange-ftp.el (ange-ftp):
5393 * progmodes/ebnf2ps.el (postscript):
5394 * progmodes/flymake.el (flymake):
5395 * progmodes/prolog.el (prolog):
5396 * progmodes/verilog-mode.el (verilog-mode):
5397 * progmodes/which-func.el (which-func):
5398 * term/xterm.el (xterm):
5399 * textmodes/picture.el (picture):
5400 * textmodes/tildify.el (tildify):
5401 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
5402 customization buffers.
5403
5404 2012-04-22 Alan Mackenzie <acm@muc.de>
5405
5406 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5407 Adding a ) can hide the resulting (..) from searches. Fix it.
5408 Bound the backward search to the position of the existing (.
5409
5410 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
5411
5412 * progmodes/verilog-mode.el (verilog-mode): Check whether
5413 which-func-modes is t before adding verilog-mode.
5414 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
5415
5416 2012-04-21 Leo Liu <sdl.web@gmail.com>
5417
5418 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
5419
5420 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
5421
5422 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
5423 filling of the last column of a table (Bug#5635).
5424 (woman-find-next-control-line): New arg, specifying an additional
5425 regexp component for the control line.
5426 (woman2-roff-buffer): Use it.
5427 (woman-break-table): New function.
5428 (woman2-TS): Use it.
5429
5430 2012-04-21 Chong Yidong <cyd@gnu.org>
5431
5432 * woman.el (woman-set-buffer-display-table, woman-decode-region)
5433 (woman-horizontal-escapes, woman-negative-vertical-space)
5434 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
5435 (WoMan-warn-ignored): Use ?\s instead of ?\ .
5436
5437 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5438
5439 * minibuffer.el (completion-file-name-table): Complete user names.
5440
5441 2012-04-20 Leo Liu <sdl.web@gmail.com>
5442
5443 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
5444 and pcase-let*.
5445
5446 2012-04-20 Chong Yidong <cyd@gnu.org>
5447
5448 * server.el (server-execute): Respect initial-buffer-choice if it
5449 is a string and there are no files to open (Bug#2825).
5450 (server-create-window-system-frame, server-create-tty-frame):
5451 Don't switch buffers here.
5452 (server-process-filter): Only try to open a window system frame if
5453 compiled with graphical support (Bug#8314).
5454
5455 2012-04-20 Dan Nicolaescu <dann@gnu.org>
5456
5457 * battery.el (battery-echo-area-format): Display remaining time
5458 for sysfs backend too (Bug#11269).
5459 (battery-linux-sysfs): Fix conditional for the charge.
5460
5461 2012-04-20 Chong Yidong <cyd@gnu.org>
5462
5463 * progmodes/gdb-mi.el (gdb): Revert previous change.
5464 (gdb-inferior-io--init-proc): New function.
5465 (gdb-init-1): Use it.
5466 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
5467 responsible for allocating a new pty and hooking it to gdb when
5468 the old pty gets an EIO due to process exit.
5469 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
5470 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
5471 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
5472
5473 2012-04-20 Eli Zaretskii <eliz@gnu.org>
5474
5475 * window.el (window-min-size, window-sizable, window-min-delta)
5476 (window-max-delta, window--resizable, window-resizable)
5477 (window-total-size, window-full-height-p, window-full-width-p)
5478 (window-in-direction, window--resize-mini-window, window-resize)
5479 (window--resize-child-windows-normal)
5480 (window--resize-child-windows, window--resize-siblings)
5481 (window--resize-this-window, adjust-window-trailing-edge)
5482 (enlarge-window, shrink-window): Doc fixes.
5483
5484 2012-04-20 Chong Yidong <cyd@gnu.org>
5485
5486 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
5487 New function to call delete-process on the gdb-inferior buffer's pty.
5488 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
5489 pty process (Bug#11273).
5490 (gdb-update): New arg to suppress talking to the gdb process.
5491 (gdb-done-or-error): Use it.
5492 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
5493 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
5494 sentinel not being called.
5495
5496 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
5497
5498 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
5499
5500 2012-04-20 Glenn Morris <rgm@gnu.org>
5501
5502 * net/network-stream.el (open-network-stream): Doc fix.
5503
5504 2012-04-20 Chong Yidong <cyd@gnu.org>
5505
5506 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
5507
5508 2012-04-20 Alan Mackenzie <acm@muc.de>
5509
5510 Ensure searching for keywords is case sensitive.
5511
5512 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
5513 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
5514 (c-defun-name, c-mark-function, c-cpp-define-name)
5515 (c-comment-indent, c-scan-conditionals, c-indent-defun)
5516 (c-context-line-break): Bind case-fold-search to nil.
5517
5518 * progmodes/cc-mode.el (c-font-lock-fontify-region):
5519 Bind case-fold-search to nil.
5520
5521 2012-04-20 Chong Yidong <cyd@gnu.org>
5522
5523 * mail/sendmail.el (mail-bury): Call return action with the right
5524 Rmail buffer (Bug#11242).
5525
5526 * server.el (server-process-filter): Handle corner case where both
5527 tty and nowait options are present (Bug#11102).
5528
5529 2012-04-20 Eli Zaretskii <eliz@gnu.org>
5530
5531 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
5532 (top level): Put into the executable the ident-style '$Id:' tag on
5533 windows-nt as well.
5534
5535 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5536
5537 * electric.el (electric-indent-post-self-insert-function): Check that
5538 electric-indent-mode is enabled in current buffer.
5539
5540 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
5541
5542 * imenu.el (imenu-progress-message): Restore; it is "used" in
5543 erc/erc-imenu.el and net/snmp-mode.el.
5544
5545 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
5546
5547 * avoid.el (mouse-avoidance-mode): Mark unused arg.
5548 (mouse-avoidance-nudge-mouse): Remove unused binding.
5549
5550 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
5551
5552 * descr-text.el (describe-char):
5553 * progmodes/python.el (python-describe-symbol):
5554 Don't call `toggle-read-only', set `buffer-read-only'.
5555
5556 * imenu.el (imenu-default-goto-function): Mark unused args.
5557 (imenu-progress-message): Remove obsolete macro; all callers changed.
5558
5559 * subr.el (keymap-canonicalize): Remove unused binding.
5560 (read-passwd): Mark unused arg.
5561
5562 * tutorial.el (tutorial--display-changes): Remove unused binding.
5563 (tutorial--save-tutorial-to): Remove unused variable.
5564
5565 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
5566 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
5567 (package-generate-autoloads, package-menu--generate)
5568 (package-menu--find-upgrades): Remove unused bindings.
5569
5570 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
5571 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
5572 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
5573 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
5574 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
5575 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
5576 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
5577 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
5578 (cua-delete-char-rectangle): Mark unused args.
5579 (cua-align-rectangle): Remove unused binding.
5580
5581 * mail/rmail.el (compilation--message->loc)
5582 (epa--find-coding-system-for-mime-charset): Declare.
5583
5584 * net/dbus.el (dbus-register-service): Declare.
5585 (dbus-name-owner-changed-handler): Remove unused binding.
5586
5587 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
5588 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
5589 (nxml-scan-backward-within): Mark unused arg.
5590 (nxml-dynamic-markup-word): Remove unused binding.
5591
5592 * mouse.el (mouse-menu-major-mode-map):
5593 * emacs-lisp/authors.el (authors-scan-change-log)
5594 (authors-add-to-author-list):
5595 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
5596 * emacs-lisp/smie.el (smie-auto-fill):
5597 * mail/sendmail.el (mail-bury):
5598 * mail/unrmail.el (unrmail):
5599 * net/tls.el (open-tls-stream):
5600 * textmodes/picture.el (picture-mouse-set-point):
5601 Remove unused bindings.
5602
5603 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
5604
5605 * net/tramp.el (tramp-action-password): Let-bind
5606 `enable-recursive-minibuffers' to t.
5607
5608 2012-04-18 Sam Steingold <sds@gnu.org>
5609
5610 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
5611 instead of 'string to accommodate values like [f11].
5612 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
5613 * progmodes/gdb-mi.el: Likewise.
5614
5615 2012-04-18 Leo Liu <sdl.web@gmail.com>
5616
5617 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
5618 current buffer.
5619 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
5620 LOCAL is nil.
5621
5622 2012-04-18 Chong Yidong <cyd@gnu.org>
5623
5624 * simple.el (line-move): Use forward-line if in batch mode
5625 (Bug#11053).
5626
5627 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
5628
5629 * files.el (after-find-file): Do not try to add a final newline if
5630 the buffer is read-only (Bug#11156).
5631
5632 2012-04-17 Richard Stallman <rms@gnu.org>
5633
5634 * mail/rmail.el (rmail-start-mail):
5635 Pass (rmail-mail-return...) for the return-action.
5636 Pass (rmail-yank-current-message...) for the yank-action.
5637 (rmail-yank-current-message): New function.
5638 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
5639 (rmail-reply): Likewise.
5640 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
5641
5642 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
5643 buffer, not the last. Reject temp buffers. Use the rmail-mode
5644 buffer, not newbuf.
5645
5646 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
5647
5648 * server.el (server-ensure-safe-dir): Simplify.
5649
5650 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
5651
5652 * emacs-lisp/smie.el: Provide smarter auto-filling.
5653 (smie-auto-fill): New function.
5654 (smie-setup): Use it.
5655
5656 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
5657
5658 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
5659
5660 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
5661 (comment-indent): Use it.
5662
5663 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
5664
5665 * ses.el: The overall change is to add cell renaming, that is
5666 setting fancy names for cell symbols other than name matching
5667 "\\`[A-Z]+[0-9]+\\'" regexp .
5668 (ses-localvars): Add ses--renamed-cell-symb-list.
5669 (ses-create-cell-variable): New defun.
5670 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
5671 (ses-relocate-formula): Relocate formulas only for cells the
5672 symbols of which are not renamed, i.e. symbols whose names do not
5673 match regexp "\\`[A-Z]+[0-9]+\\'".
5674 (ses-relocate-all): Relocate values only for cells the symbols of
5675 which are not renamed.
5676 (ses-load): Create cells variables as the (ses-cell ...) are read,
5677 in order to check row col consistency with cell symbol name only
5678 for cells that are not renamed.
5679 (ses-replace-name-in-formula): New defun.
5680 (ses-rename-cell): New defun.
5681
5682 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
5683
5684 * progmodes/perl-mode.el (perl-indent-parens-as-block):
5685 New option (bug#11118).
5686 (perl-calculate-indent): Respect it.
5687
5688 2012-04-17 Glenn Morris <rgm@gnu.org>
5689
5690 * dired-aux.el (dired-mark-read-string): Doc fix.
5691
5692 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
5693
5694 * dired-aux.el (dired-mark-read-string): Offer optional completion.
5695 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
5696
5697 2012-04-17 Glenn Morris <rgm@gnu.org>
5698
5699 * mouse.el (mouse-drag-track):
5700 * speedbar.el (speedbar-frame-mode):
5701 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
5702
5703 2012-04-16 Leo Liu <sdl.web@gmail.com>
5704
5705 * progmodes/python.el: Trivial cleanup.
5706
5707 2012-04-16 Glenn Morris <rgm@gnu.org>
5708
5709 * vc/vc.el (vc-string-prefix-p):
5710 * vc/pcvs-util.el (cvs-string-prefix-p):
5711 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
5712 * mpc.el (mpc-string-prefix-p):
5713 Make all of these into obsolete aliases for string-prefix-p.
5714 Update callers.
5715 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
5716
5717 * textmodes/two-column.el: Move custom options to the start.
5718 (frame-width): Remove compat definition.
5719 (2C-associate-buffer, 2C-dissociate):
5720 Use with-current-buffer rather than save-excursion.
5721 (2C-dissociate): Force a mode-line update.
5722 (2C-autoscroll): Use ignore-errors.
5723
5724 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
5725 Autoload trivia.
5726
5727 * emacs-lisp/cl-extra.el (*random-state*):
5728 Remove unnecessary declaration.
5729
5730 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
5731
5732 * play/cookie1.el (cookie-snarf):
5733 Give an explicit error if input file cannot be read.
5734
5735 * play/yow.el (yow-file): Use expand-file-name rather than concat.
5736
5737 * progmodes/perl-mode.el (c-macro-expand):
5738 Remove unnecessary autoload (it is in loaddefs.el).
5739
5740 * textmodes/picture.el (picture-desired-column)
5741 (picture-update-desired-column): Convert comments to doc-strings.
5742 (picture-substitute): Remove function.
5743 (picture-mode-map): Initialize in the defvar.
5744
5745 * woman.el: Remove eval-after-load for tar-mode.
5746 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
5747 (woman-tar-extract-file): Autoload it.
5748
5749 * frame.el (automatic-hscrolling): Make this alias obsolete.
5750
5751 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5752
5753 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
5754 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
5755 (ispell-dictionary-base-alist): Revert to original XEmacs
5756 friendly version for default. [:alpha:] will be added in
5757 `ispell-set-spellchecker-params' if needed.
5758
5759 2012-04-16 Chong Yidong <cyd@gnu.org>
5760
5761 * image.el (imagemagick--file-regexp): New variable.
5762 (imagemagick-register-types): Use it.
5763 (imagemagick-types-inhibit): Add :set function. Allow new value
5764 of t to inhibit all types.
5765
5766 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
5767 so we can preload it.
5768
5769 * loadup.el (fboundp): Preload regexp-opt, needed by
5770 imagemagick-register-types.
5771
5772 2012-04-15 Chong Yidong <cyd@gnu.org>
5773
5774 * frame.el (scrolling): Remove nearly unused customization group.
5775
5776 * scroll-all.el (scroll-all-mode): Move to windows group.
5777
5778 2012-04-15 Chong Yidong <cyd@gnu.org>
5779
5780 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
5781
5782 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5783
5784 Avoid the use of ((lambda ...) ...) in lexical-binding code.
5785 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
5786
5787 2012-04-15 Glenn Morris <rgm@gnu.org>
5788
5789 * simple.el (process-file-side-effects): Doc fix.
5790
5791 2012-04-15 Glenn Morris <rgm@gnu.org>
5792
5793 * international/mule-cmds.el (set-language-environment): Doc fix.
5794
5795 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
5796
5797 * server.el (server-auth-key, server-generate-key): Doc fixes.
5798 (server-get-auth-key): Doc fix. Use `string-match-p'.
5799 (server-start): Reflow docstring.
5800
5801 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
5802
5803 * server.el (server-generate-key): `called-interactively-p'
5804 requires a parameter.
5805
5806 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
5807
5808 * server.el (server-auth-key): New variable.
5809 (server-generate-key, server-get-auth-key): New function.
5810 (server-start): Use the new variable and functions to allow
5811 setting a permanent server key (bug#9423).
5812
5813 2012-04-14 Leo Liu <sdl.web@gmail.com>
5814
5815 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
5816
5817 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
5818
5819 Spelling fixes.
5820 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
5821 Emacs uses American spelling.
5822
5823 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
5824
5825 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
5826 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
5827 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
5828 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
5829
5830 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5831
5832 * progmodes/which-func.el (which-func-modes): Change default.
5833
5834 2012-04-14 Kim F. Storm <storm@cua.dk>
5835
5836 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
5837 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
5838
5839 2012-04-14 Chong Yidong <cyd@gnu.org>
5840
5841 * custom.el (custom-theme-set-variables): Doc fix.
5842
5843 2012-04-14 Glenn Morris <rgm@gnu.org>
5844
5845 * international/mule.el (set-auto-coding-for-load): Doc fix.
5846
5847 2012-04-14 Alan Mackenzie <acm@muc.de>
5848
5849 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
5850 imenu work again for Objective C Mode. Correct the *-index values,
5851 these having been disturbed by a previous change in 2011-08.
5852
5853 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
5854 Correct two search limits.
5855
5856 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5857
5858 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
5859
5860 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
5861
5862 * international/characters.el: Fix sorting.
5863
5864 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5865
5866 * international/characters.el: Add more missing Latin case pairs.
5867
5868 2012-04-14 Glenn Morris <rgm@gnu.org>
5869
5870 * files.el (dir-locals-set-class-variables): Doc fix.
5871
5872 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5873
5874 * international/characters.el: Add set-case-syntax-pair call for
5875 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
5876 counterpart. (Bug#11209)
5877
5878 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
5879
5880 2012-04-14 Glenn Morris <rgm@gnu.org>
5881
5882 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5883
5884 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5885
5886 * textmodes/ispell.el (ispell-dictionary-base-alist):
5887 Add data for Hebrew.
5888
5889 2012-04-14 Chong Yidong <cyd@gnu.org>
5890
5891 * net/rcirc.el (rcirc-cmd-quit):
5892 Revert 2012-03-18 change (Bug#11192).
5893
5894 2012-04-14 Glenn Morris <rgm@gnu.org>
5895
5896 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5897
5898 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5899
5900 * minibuffer.el (completion-in-region-mode-map):
5901 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
5902
5903 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5904
5905 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5906
5907 2012-04-13 Masatake YAMATO <yamato@redhat.com>
5908
5909 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5910 to allow `C-M-f' and `C-M-b' to move to the nearest path
5911 separator (bug#9511).
5912
5913 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5914
5915 * avoid.el: Require cl when compiling. And also move the
5916 `provide' to the end.
5917
5918 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5919
5920 * avoid.el (mouse-avoidance-banish-position): New variable.
5921 (mouse-avoidance-banish-destination): Use it (bug#10165).
5922
5923 2012-04-13 Leo Liu <sdl.web@gmail.com>
5924
5925 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5926
5927 2012-04-13 Ken Brown <kbrown@cornell.edu>
5928
5929 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
5930 this is no longer needed now that cygstart understands file:// URLs.
5931 (browse-url-filename-alist): For the same reason, don't modify
5932 file:// URLs on Cygwin.
5933
5934 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5935
5936 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5937 the region on shift if the binding is already shifted (bug#11221).
5938
5939 2012-04-12 Glenn Morris <rgm@gnu.org>
5940
5941 * mail/mailpost.el: Move to obsolete/.
5942
5943 2012-04-12 Drew Adams <drew.adams@oracle.com>
5944
5945 * imenu.el (imenu--generic-function): Ignore invisible definitions
5946 (bug#10123).
5947
5948 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5949
5950 * hexl.el (hexl-bits): New variable.
5951 (hexl-options): Mention the variable in the doc string.
5952 (hexl-rulerise, hexl-line-displen): New functions.
5953 (hexl-mode): Mention the new variable.
5954 (hexl-mode, hexl-current-address, hexl-current-address):
5955 Use the displen.
5956 (hexl-ascii-start-column): New function.
5957 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5958 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5959
5960 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5961
5962 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5963 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5964 the encoding, as expected by hunspell.
5965
5966 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5967
5968 * battery.el (battery--linux-sysfs-regexp): New const.
5969 (battery-status-function): Use it. Remove yeeloong special case.
5970 (battery-yeeloong-sysfs): Remove.
5971 (battery-echo-area-format): Remove yeeloong special case.
5972
5973 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5974
5975 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5976 Reported by Noah Friedman.
5977
5978 * subr.el (read-passwd): Use read-string.
5979
5980 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5981
5982 * vcursor.el (vcursor-move): Increase the priority of the overlay
5983 (bug#9663).
5984
5985 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5986
5987 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5988 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5989
5990 2012-04-11 William Stevenson <yhvh2000@gmail.com>
5991
5992 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5993 define-minor-mode (bug#10760).
5994
5995 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
5996
5997 * progmodes/grep.el (rgrep): Tweak the find command line so
5998 that directories matching `grep-find-ignored-files' won't be
5999 pruned (bug#10351).
6000
6001 2012-04-11 Chong Yidong <cyd@gnu.org>
6002
6003 * startup.el (command-line): Remove support for long-obsolete
6004 variable font-lock-face-attributes.
6005
6006 2012-04-11 Glenn Morris <rgm@gnu.org>
6007
6008 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
6009
6010 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6011
6012 * window.el (window--state-get-1): Obey window-point-insertion-type.
6013
6014 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
6015
6016 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
6017 to previous function when point is on the first character of a
6018 function. Take care of that in `narrow-to-defun' (bug#6157).
6019
6020 2012-04-11 Glenn Morris <rgm@gnu.org>
6021
6022 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
6023 not just file-errors.
6024
6025 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
6026 (vc-bzr-sha1): Use internal sha1.
6027
6028 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6029
6030 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
6031
6032 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
6033
6034 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
6035 that start in the middle of the line (bug#10496).
6036
6037 2012-04-10 Dan Nicolaescu <dann@gnu.org>
6038
6039 * battery.el (battery-linux-proc-acpi): Only one battery is
6040 discharged at a time, but that seems to confuse battery.el when
6041 computing `rate-type' for the battery not being discharged
6042 (bug#10332).
6043
6044 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
6045
6046 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
6047
6048 * international/quail.el: Use dolist and simplify.
6049 (quail-define-package, quail-update-keyboard-layout)
6050 (quail-define-rules): Use dolist.
6051 (quail-insert-kbd-layout, quail-get-translation): CSE.
6052
6053 * tmm.el: Use dolist, remove left over hook.
6054 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
6055 Use dolist.
6056 (calendar-load-hook): Don't mess with it.
6057
6058 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6059 Use derived-mode-p. Run the diff asynchronously.
6060
6061 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6062
6063 * obsolete/mouse-sel.el: Add an Obsolete-since header.
6064
6065 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
6066
6067 * misc.el: Display absolute path of loaded DLLs (bug#10424).
6068 (list-dynamic-libraries--loaded): New function.
6069 (list-dynamic-libraries--refresh): Use it.
6070
6071 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
6072
6073 * progmodes/python.el (python-fill-paragraph):
6074 Make python-fill-region in a multiline string work when font-lock is
6075 disabled (bug#7018).
6076
6077 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
6078
6079 * language/european.el (cp775): Add oem/legacy (en)coding on
6080 DOS/MS Windows for the Baltic languages. There are still plenty
6081 of texts written in this encoding/codepage (bug#6519).
6082
6083 2012-04-10 Glenn Morris <rgm@gnu.org>
6084
6085 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
6086 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
6087
6088 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
6089
6090 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6091 next-line "n" and previous-line "p" in order to make recentf more
6092 consistent with ibuffer, dired or org-mode (bug#9387).
6093
6094 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6095
6096 * image.el (put-image): Return the overlay created instead of the
6097 optional input string (bug#7834). Note that this may break code
6098 that is (for some reason or other) depending on `put-image'
6099 returning the string.
6100
6101 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
6102
6103 * simple.el (zap-to-char): Allow zapping using input methods
6104 (bug#1580).
6105
6106 * textmodes/fill.el (fill-region): Leave point and mark where they
6107 were before filling (bug#5399).
6108
6109 2012-04-09 Glenn Morris <rgm@gnu.org>
6110
6111 * version.el (emacs-bzr-get-version):
6112 Handle lightweight checkouts of local branches.
6113
6114 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
6115
6116 * international/characters.el: Recover lost case pairs. (Bug#11209)
6117
6118 2012-04-09 Chong Yidong <cyd@gnu.org>
6119
6120 * custom.el (custom-variable-p): Return nil for non-symbol
6121 arguments instead of signaling an error.
6122 (user-variable-p): Obsolete alias for custom-variable-p.
6123
6124 * apropos.el (apropos-variable):
6125 * files-x.el (read-file-local-variable):
6126 * simple.el (set-variable):
6127 * woman.el (woman-mini-help):
6128 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
6129
6130 2012-04-09 Glenn Morris <rgm@gnu.org>
6131
6132 * startup.el (normal-top-level): Don't look for leim-list.el
6133 in places where it will not be found. (Bug#910)
6134
6135 * international/mule-cmds.el (set-default-coding-systems):
6136 * files.el (normal-mode):
6137 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
6138 This function was removed with ucs-tables.el in 2008.
6139
6140 2012-04-08 Eli Zaretskii <eliz@gnu.org>
6141
6142 * textmodes/ispell.el (ispell-check-version): For hunspell, set
6143 ispell-encoding8-command to "-i", without a trailing space.
6144 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
6145 separate command-line arguments, to specify the encoding, since
6146 that's how hunspell expects it.
6147
6148 2012-04-08 Glenn Morris <rgm@gnu.org>
6149
6150 * loadup.el: Load bindings before cus-start.
6151 This reduces somewhat the number of "rogue" settings in emacs -Q.
6152
6153 2012-04-07 Glenn Morris <rgm@gnu.org>
6154
6155 * version.el (emacs-bzr-get-version): New function.
6156 (emacs-bzr-version): New variable.
6157 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
6158 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
6159
6160 2012-04-07 Eli Zaretskii <eliz@gnu.org>
6161
6162 * international/uni-bidi.el, international/uni-category.el:
6163 * international/uni-combining.el, international/uni-decimal.el:
6164 * international/uni-decomposition.el, international/uni-digit.el:
6165 * international/uni-lowercase.el, international/uni-mirrored.el:
6166 * international/uni-name.el, international/uni-numeric.el:
6167 * international/uni-titlecase.el, international/uni-uppercase.el:
6168 Update for Unicode 6.1.
6169
6170 2012-04-07 Eli Zaretskii <eliz@gnu.org>
6171
6172 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
6173
6174 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6175
6176 * window.el (shrink-window): Mention the `window-min-height'
6177 variable in the doc string.
6178
6179 2012-04-05 Bastien Guerry <bzg@altern.org>
6180
6181 * color.el (color-lighten-name): Fix typo.
6182
6183 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6184
6185 * server.el (server--on-display-p): New function.
6186 (server--on-display-p): Use it.
6187
6188 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
6189
6190 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
6191 (bug#11145).
6192
6193 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6194
6195 * comint.el (comint--common-quoted-suffix): Check string boundary
6196 before comparing (bug#11158).
6197 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
6198
6199 2012-04-04 Chong Yidong <cyd@gnu.org>
6200
6201 * minibuffer.el (completion-extra-properties): Doc fix.
6202
6203 * subr.el (delayed-warnings-hook): Doc fix.
6204
6205 2012-04-04 Daiki Ueno <ueno@unixuser.org>
6206
6207 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
6208 selection (Bug#11159).
6209 (epa-insert-keys): Inform that the default public key will be
6210 exported if no key is selected.
6211
6212 2012-04-04 Richard Stallman <rms@gnu.org>
6213
6214 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
6215
6216 2012-04-03 Chong Yidong <cyd@gnu.org>
6217
6218 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
6219 mail-insert-file, not its obsolete alias mail-attach-file.
6220
6221 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
6222
6223 * notifications.el (notifications-notify): Fix docstring.
6224
6225 2012-04-02 Glenn Morris <rgm@gnu.org>
6226
6227 * emacs-lisp/authors.el (authors-aliases): Another addition.
6228
6229 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
6230
6231 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
6232 `tramp-compat-call-process' instead of `tramp-local-call-process'.
6233 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
6234
6235 2012-04-01 Chong Yidong <cyd@gnu.org>
6236
6237 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
6238 Handle root directory properly.
6239 (copy-directory): Caller changed.
6240
6241 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6242 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
6243
6244 2012-03-31 Glenn Morris <rgm@gnu.org>
6245
6246 * term/xterm.el (xterm-extra-capabilities): Doc fix.
6247
6248 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
6249
6250 * calendar/calendar.el (calendar-window-list)
6251 (calendar-hide-window): Restore. (Bug#11140)
6252 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
6253
6254 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
6255
6256 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6257
6258 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6259 Check if file is a symlink (Bug#10489).
6260
6261 * files.el (copy-directory): Likewise.
6262
6263 2012-03-30 Chong Yidong <cyd@gnu.org>
6264
6265 * image.el (imagemagick-types-inhibit)
6266 (imagemagick-register-types): Doc fix.
6267
6268 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6269
6270 * textmodes/ispell.el (ispell-get-extended-character-mode):
6271 Disable extended-char-mode for hunspell. hunspell does not support it
6272 and treats ~word as ordinary words in pipe mode.
6273
6274 2012-03-30 Glenn Morris <rgm@gnu.org>
6275
6276 * tutorial.el (help-with-tutorial): Ensure local variables don't
6277 happen to make the buffer read-only. (Bug#11127)
6278
6279 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
6280
6281 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
6282 (perl-calculate-indent): Return `noindent' in strings.
6283
6284 2012-03-28 Sam Steingold <sds@gnu.org>
6285
6286 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
6287 instead of the broken adhockery which does not prevent calendar
6288 buffers from being displayed at random after exit.
6289 (calendar-window-list, calendar-hide-window): Remove the broken
6290 adhockery.
6291
6292 2012-03-28 Glenn Morris <rgm@gnu.org>
6293
6294 * replace.el (query-replace-map): Doc fix.
6295
6296 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
6297
6298 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
6299 contents. (Bug#11109)
6300
6301 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6302
6303 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
6304 (bug#11077).
6305 (avl-tree--check, avl-tree--check-node): New funs.
6306
6307 2012-03-27 Martin Rudalics <rudalics@gmx.at>
6308
6309 * window.el (switch-to-visible-buffer): New option.
6310 (switch-to-prev-buffer, switch-to-next-buffer):
6311 Observe switch-to-visible-buffer. Make sure that checking for a window
6312 showing a buffer already is done on the same frame.
6313
6314 2012-03-27 Glenn Morris <rgm@gnu.org>
6315
6316 * startup.el (mail-host-address): Doc fix.
6317
6318 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6319
6320 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
6321 than 197 variables.
6322
6323 2012-03-26 Ami Fischman <ami@fischman.org>
6324
6325 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
6326
6327 2012-03-26 Glenn Morris <rgm@gnu.org>
6328
6329 * files.el (save-buffers-kill-emacs): Doc fix.
6330
6331 * startup.el (normal-top-level, command-line, command-line-1):
6332 Give them doc strings.
6333
6334 2012-03-25 Eli Zaretskii <eliz@gnu.org>
6335
6336 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
6337 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
6338
6339 2012-03-25 Chong Yidong <cyd@gnu.org>
6340
6341 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
6342 theme if it was previously enabled before (Bug#11031).
6343
6344 * cus-theme.el (custom-theme-write-faces): Retrieve current face
6345 spec with custom-face-get-current-spec if its :shown-value is not
6346 determined yet (Bug#9337).
6347 (customize-create-theme, custom-theme-revert): Doc fixes.
6348
6349 * button.el (button-at): Minor addition to docstring.
6350
6351 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
6352
6353 * vc/vc.el (vc-merge): Fix a prompt.
6354
6355 2012-03-24 Chong Yidong <cyd@gnu.org>
6356
6357 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
6358 point (Bug#9623).
6359
6360 * button.el (button-at): Minor addition to docstring.
6361
6362 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
6363
6364 * newcomment.el (comment-choose-indent): No space after BOL.
6365
6366 2012-03-22 Sam Steingold <sds@gnu.org>
6367
6368 * window.el (switch-to-prev-buffer): Revert last patch because the
6369 bug turned out to be an advertised feature (Elisp manual 28.14).
6370
6371 2012-03-22 Glenn Morris <rgm@gnu.org>
6372
6373 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
6374 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
6375
6376 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6377
6378 * net/network-stream.el (network-stream-open-starttls): Make error
6379 message under Windows be less misleading.
6380
6381 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
6382
6383 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
6384 understands (bug#9942).
6385
6386 2012-03-22 Chong Yidong <cyd@gnu.org>
6387
6388 * simple.el (end-of-visible-line): Handle return value of
6389 next-single-property-change properly (Bug#9371).
6390
6391 2012-03-22 Kenichi Handa <handa@m17n.org>
6392
6393 * international/quail.el (quail-insert-kbd-layout): Fix previous
6394 change. To avoid unwanted bidi reordering, use
6395 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
6396
6397 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
6398
6399 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
6400 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
6401 (ruby-beginning-of-indent): Be more careful with the difference
6402 between word-boundary and symbol boundary.
6403 (ruby-mode-syntax-table): Make : a symbol constituent.
6404
6405 2012-03-21 Andreas Politz <politza@fh-trier.de>
6406
6407 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
6408
6409 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6410
6411 * progmodes/etags.el (tags-completion-at-point-function):
6412 Improve last fix.
6413
6414 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
6415
6416 2012-03-21 Sam Steingold <sds@gnu.org>
6417
6418 * progmodes/etags.el (tags-completion-at-point-function):
6419 Avoid the error when point is inside the pattern.
6420
6421 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
6422
6423 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
6424 line (Bug#10855).
6425
6426 2012-03-21 Drew Adams <drew.adams@oracle.com>
6427
6428 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
6429
6430 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
6431
6432 * ido.el (ido-set-current-directory, ido-read-internal)
6433 (ido-choose-completion-string, ido-completion-help): Handle nil
6434 value of ido-completion-buffer (Bug#11008).
6435
6436 2012-03-21 Sam Steingold <sds@gnu.org>
6437
6438 * window.el (switch-to-prev-buffer): Do not switch to a visible
6439 window previous buffer, just like with the frame previous buffers.
6440
6441 2012-03-21 Chong Yidong <cyd@gnu.org>
6442
6443 * faces.el (make-face, make-empty-face, copy-face):
6444 * face-remap.el (face-remap-add-relative, face-remap-set-base):
6445 Doc fixes.
6446
6447 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6448
6449 * wid-edit.el (widget-complete-field): Remove (bug#11051).
6450 (widget-complete): Remove broken use of it.
6451
6452 2012-03-20 Chong Yidong <cyd@gnu.org>
6453
6454 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6455 Use string-width and truncate-string-width to handle arbitrary
6456 characters.
6457
6458 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
6459
6460 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
6461 to draw rectangles, not squares. (Regression introduced by revno
6462 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
6463
6464 2012-03-18 Chong Yidong <cyd@gnu.org>
6465
6466 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
6467 it is not yet defined (for temacs).
6468
6469 2012-03-18 Leo Liu <sdl.web@gmail.com>
6470
6471 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
6472
6473 2012-03-17 Eli Zaretskii <eliz@gnu.org>
6474
6475 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
6476 (ispell-choices-win-default-height, ispell-silently-savep)
6477 (ispell-dictionary-alist, ispell-encoding8-command)
6478 (ispell-check-version, ispell-aspell-find-dictionary)
6479 (ispell-valid-dictionary-list, ispell-words-keyword)
6480 (ispell-get-word, ispell-internal-change-dictionary)
6481 (ispell-region, ispell-skip-region-list)
6482 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
6483 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
6484 (ispell-message-text-end, ispell-message)
6485 (ispell-buffer-local-parsing): Doc fix.
6486
6487 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
6488
6489 * htmlfontify.el: Add support for code block fontification for ODT
6490 export (Bug #9914).
6491 (hfy-optimisations): Define new option
6492 `body-text-only'
6493 (hfy-fontify-buffer): Honor above setting.
6494 (hfy-begin-span, hfy-end-span): New routines factored out form
6495 `hfy-fontify-buffer'.
6496 (hfy-begin-span-handler, hfy-end-span-handler): New variables
6497 that permit insertion of custom tags.
6498 (hfy-fontify-buffer): Use above handlers.
6499 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
6500 (hfy-face-to-css): Re-defined to be a variable.
6501 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
6502 over multiple runs. This is made possible by having the caller let
6503 bind a special variable `hfy-user-sheet-assoc'.
6504 (htmlfontify-string): New defun.
6505 (hfy-compile-face-map): Make sure that the last char in the
6506 buffer is correctly fontified.
6507 (hfy-face-resolve-face): Whitespace only change.
6508
6509 2012-03-17 Eli Zaretskii <eliz@gnu.org>
6510
6511 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
6512 message more clear.
6513
6514 2012-03-16 Leo Liu <sdl.web@gmail.com>
6515
6516 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
6517
6518 2012-03-16 Alan Mackenzie <acm@muc.de>
6519
6520 Further optimise the handling of large macros.
6521
6522 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
6523 limit to a call of `c-literal-limits'.
6524 (c-determine-+ve-limit): New function.
6525 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
6526 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
6527 In CASE 5B, restrict a search limit to 500.
6528 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
6529
6530 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
6531 Restrict macro bounds to +-500 from after-change's BEG END.
6532
6533 2012-03-16 Leo Liu <sdl.web@gmail.com>
6534
6535 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
6536
6537 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
6538
6539 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
6540 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6541
6542 2012-03-16 Glenn Morris <rgm@gnu.org>
6543
6544 * view.el (view-buffer, view-buffer-other-window)
6545 (view-buffer-other-frame): Doc fixes re special mode-class.
6546
6547 * subr.el (eval-after-load): If named feature is provided not from
6548 a file, run after-load forms. (Bug#10946)
6549
6550 * calendar/calendar.el (calendar-insert-at-column):
6551 Handle non-unit-width characters a bit better. (Bug#10978)
6552
6553 2012-03-15 Chong Yidong <cyd@gnu.org>
6554
6555 * emacs-lisp/ring.el (ring-extend): New function.
6556 (ring-insert+extend): Extend the ring correctly (Bug#11019).
6557
6558 * comint.el (comint-read-input-ring)
6559 (comint-add-to-input-history): Grow comint-input-ring lazily.
6560
6561 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6562
6563 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
6564 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
6565
6566 * imenu.el: Fix multiple inheritance breakage (bug#9199).
6567 (imenu-add-to-menubar): Don't add a redundant index.
6568 (imenu-update-menubar): Handle a dynamically composed keymap.
6569
6570 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
6571
6572 * mail/sendmail.el (mail-encode-header):
6573 Bind rfc2047-encode-encoded-words to nil.
6574
6575 2012-03-13 Glenn Morris <rgm@gnu.org>
6576
6577 * calendar/calendar.el (calendar-string-spread):
6578 Handle non-unit-width characters a bit better. (Bug#10978)
6579
6580 2012-03-13 Leo Liu <sdl.web@gmail.com>
6581
6582 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
6583 directory and file as argument (Bug#10822).
6584
6585 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6586
6587 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
6588 For dynamically generated code, follow $PC.
6589 (gdb-disassembly-handler-custom): Handle no function name case.
6590
6591 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
6592
6593 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
6594 * emulation/ws-mode.el (ws-query-replace):
6595 * sort.el (sort-regexp-fields):
6596 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
6597
6598 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6599
6600 * dabbrev.el: Fix cycle completion order (bug#10963).
6601 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
6602 (dabbrev-completion): Don't use an obarray; provide
6603 a cycle-sort-function.
6604
6605 2012-03-12 Leo Liu <sdl.web@gmail.com>
6606
6607 * simple.el (kill-new): Use equal-including-properties for comparison.
6608 (kill-do-not-save-duplicates): Doc fix.
6609
6610 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6611
6612 * dabbrev.el: Fix cycle completion (bug#10963).
6613 Use lexical binding and wrap to 80 columns.
6614 (dabbrev-completion): Delay computing the list of completions.
6615
6616 2012-03-12 Kenichi Handa <handa@m17n.org>
6617
6618 * international/quail.el (quail-insert-kbd-layout): Surround each
6619 row by LRO and PDF instead of inserting many LRMs. Pad the left
6620 and right of each non-spacing marks. Insert invisible space
6621 between lower and upper characters to prevent composition.
6622
6623 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6624
6625 * minibuffer.el (minibuffer-complete): Don't get confused when the
6626 function is run twice via different commands (bug#10958).
6627 (complete-with-action): Fix docstring.
6628
6629 2012-03-12 Chong Yidong <cyd@gnu.org>
6630
6631 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
6632 (nxml-completion-at-point-function): New function.
6633 (nxml-mode): Use it.
6634 (nxml-bind-meta-tab-to-complete-flag): Default to t.
6635
6636 * emacs-lisp/package.el (package-unpack, package-unpack-single):
6637 Load generated autoloads file before byte compiling (Bug#10970).
6638 (package--make-autoloads-and-compile): New helper fun.
6639
6640 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
6641
6642 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
6643
6644 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
6645
6646 * autorevert.el (auto-revert-handler): Ensure, that
6647 file-readable-p is applied only for local files or in
6648 auto-revert-tail-mode.
6649
6650 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
6651
6652 * server.el (server-eval-at): Handle non-tcp connections.
6653 Decode result string.
6654
6655 * server.el (server-msg-size): New constant.
6656 (server-reply-print): New function.
6657 (server-eval-and-print): Use it.
6658 (server-eval-at): Use server-quote-arg and server-unquote-arg.
6659 Handle -print-nonl.
6660
6661 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
6662
6663 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
6664 (Bug#10987).
6665
6666 2012-03-11 Chong Yidong <cyd@gnu.org>
6667
6668 * simple.el (goto-line): Doc fix (Bug#9938).
6669
6670 * subr.el (save-window-excursion): Doc fix (Bug#9979).
6671
6672 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
6673 when finished (Bug#10963).
6674
6675 2012-03-11 Martin Rudalics <rudalics@gmx.at>
6676
6677 * window.el (split-window-below): Fix bug in case where
6678 split-window-keep-point is nil (Bug#10971).
6679
6680 2012-03-11 Juri Linkov <juri@jurta.org>
6681
6682 * replace.el (replace-highlight): Set isearch-word to nil
6683 unconditionally. (Bug#10887)
6684
6685 2012-03-10 Eli Zaretskii <eliz@gnu.org>
6686
6687 * net/mairix.el (mairix-replace-invalid-chars): Rename from
6688 mairix-replace-illegal-chars; all callers changed. Don't remove
6689 ^, ~, and = characters: they are meaningful in mairix search specs.
6690 (mairix-widget-create-query): Add usage information about mairix
6691 search forms: negating words, searching for substrings, etc.
6692
6693 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
6694
6695 * international/fontset.el (font-encoding-alist): Add an entry for
6696 ksx1001 (Bug#5667).
6697
6698 2012-03-10 Richard Stallman <rms@gnu.org>
6699
6700 * mail/sendmail.el (mail-encode-header):
6701 Set rfc2047-encode-encoded-words.
6702
6703 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
6704
6705 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
6706 view buffer means not swapped.
6707 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
6708 (rmail-write-region-annotate): Error if real text has disappeared.
6709
6710 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
6711
6712 2012-03-10 Chong Yidong <cyd@gnu.org>
6713
6714 * emulation/cua-rect.el (cua--init-rectangles):
6715 * emulation/cua-base.el (cua--init-keymaps):
6716 Add delete-forward-char to remappings (Bug#9666).
6717
6718 2012-03-10 Martin Rudalics <rudalics@gmx.at>
6719
6720 * speedbar.el (speedbar-unhighlight-one-tag-line):
6721 Avoid unhighlighting due to frame switching (Bug#10275).
6722
6723 2012-03-10 Chong Yidong <cyd@gnu.org>
6724
6725 * minibuffer.el (completion-in-region, completion-help-at-point):
6726 Give the completion field overlay a high priority (Bug#6830).
6727
6728 * dired.el (dired-goto-file): Recognize absolute file name
6729 listings (Bug#7126).
6730 (dired-goto-file-1): New helper function.
6731 (dired-toggle-read-only): Inhibit warnings.
6732
6733 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
6734
6735 * net/dbus.el (dbus-property-handler): Return empty array if
6736 there are no properties.
6737
6738 2012-03-09 Leo Liu <sdl.web@gmail.com>
6739
6740 * savehist.el (savehist-printable): Stricter check for string
6741 value (Bug#10937).
6742
6743 2012-03-09 Eli Zaretskii <eliz@gnu.org>
6744
6745 * mail/smtpmail.el (smtpmail-send-it):
6746 Bind coding-system-for-write to *-unix, so that FCC files are kept in
6747 valid mbox format.
6748
6749 2012-03-09 Glenn Morris <rgm@gnu.org>
6750
6751 * files.el (dir-locals-find-file):
6752 Don't check result is regular, readable.
6753 (dir-locals-read-from-file): Demote errors.
6754
6755 2012-03-08 Eli Zaretskii <eliz@gnu.org>
6756
6757 * international/quail.el (quail-insert-kbd-layout):
6758 Insert invisible LRM characters before each character in a keyboard
6759 layout cell, to prevent their reordering by bidi display engine.
6760 For details, see the discussion in
6761 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
6762
6763 2012-03-08 Alan Mackenzie <acm@muc.de>
6764
6765 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
6766 the starting position; make it extend the marked region when
6767 invoked repeatedly - all under appropriate circumstances.
6768 Fixes bugs #5525, #10906.
6769
6770 2012-03-08 Glenn Morris <rgm@gnu.org>
6771
6772 * files.el (locate-dominating-file, dir-locals-find-file):
6773 Undo 2012-03-06 change.
6774
6775 2012-03-07 Eli Zaretskii <eliz@gnu.org>
6776
6777 * international/quail.el (quail-help):
6778 Force bidi-paragraph-direction be left-to-right. See discussion in
6779 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
6780 for the reason.
6781
6782 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
6783
6784 Avoid superfluous registering of signals. (Bug#10807)
6785
6786 * notifications.el (notifications-on-action-object)
6787 (notifications-on-close-object): New defvars.
6788 (notifications-on-action-signal, notifications-on-closed-signal):
6789 Unregister the signal if not needed any longer.
6790 (notifications-notify): Register `notifications-action-signal' or
6791 `notifications-closed-signal', if :on-action or :on-close has been
6792 passed as argument.
6793
6794 2012-03-07 Chong Yidong <cyd@gnu.org>
6795
6796 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
6797 non-X platforms.
6798
6799 2012-03-06 Glenn Morris <rgm@gnu.org>
6800
6801 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6802 (x-disown-selection-internal, x-get-selection-internal):
6803 Doc fix (add arglist signatures). (Bug#10783)
6804
6805 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6806
6807 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6808 Handle breakpoints with no "type".
6809
6810 2012-03-06 Glenn Morris <rgm@gnu.org>
6811
6812 * files.el (locate-dominating-file): Add optional predicate argument.
6813 (dir-locals-find-file): Make use of above change.
6814
6815 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
6816
6817 * info.el (Info-insert-dir): Also try "dir.gz".
6818
6819 2012-03-06 Glenn Morris <rgm@gnu.org>
6820
6821 * files.el (dir-locals-find-file):
6822 Ignore non-readable or non-regular files. (Bug#10928)
6823
6824 * files.el (locate-dominating-file): Doc fix.
6825
6826 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
6827
6828 * calendar/calendar.el (calendar-set-mode-line):
6829 `getenv' returns a string. (Bug#10951)
6830
6831 2012-03-05 Leo Liu <sdl.web@gmail.com>
6832
6833 * simple.el (backward-delete-char-untabify): Constrain point to
6834 field (Bug#10939).
6835
6836 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
6837
6838 2012-03-05 Chong Yidong <cyd@gnu.org>
6839
6840 * simple.el (count-words): If called from Lisp, return the word
6841 count, for symmetry with `count-lines'. Arglist changed.
6842 (count-words--message): Args changed. Consolidate counting code
6843 from count-words and count-words-region.
6844 (count-words-region): Caller changed.
6845 (count-lines-region): Make it an obsolete alias.
6846
6847 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
6848
6849 * saveplace.el (save-place-to-alist)
6850 (save-place-ignore-files-regexp): Allow value nil to disable this
6851 feature.
6852
6853 2012-03-04 Chong Yidong <cyd@gnu.org>
6854
6855 * faces.el (face-spec-reset-face): For the default face, reset the
6856 attributes to default values (Bug#10748).
6857
6858 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6859
6860 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
6861 previous patch: Check `message-send-mail-function', and not the
6862 default function (bug#10897).
6863
6864 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
6865
6866 * notifications.el (notifications-on-action-signal)
6867 (notifications-on-closed-signal): Check for unique service name of
6868 incoming event. Fix error in removing entry.
6869 (top): Register for signals with wildcard service name.
6870 (notifications-notify): Use daemon unique service name for map entries.
6871
6872 2012-03-04 Chong Yidong <cyd@gnu.org>
6873
6874 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
6875
6876 2012-03-04 Glenn Morris <rgm@gnu.org>
6877
6878 * abbrev.el (copy-abbrev-table, abbrev-table-p)
6879 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6880 (expand-abbrev, define-abbrev-table): Doc fixes.
6881
6882 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6883
6884 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6885 `message-default-send-mail-function' and not `send-mail-function'
6886 when doing the prompting for `sendmail-query-once' before sending
6887 in Message buffers (bug#10897).
6888
6889 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6890 This is inconsistent with all the other stream functions, which leave
6891 the setting up to the higher levels (if so wanted) (bug#10931).
6892
6893 2012-03-02 Alan Mackenzie <acm@muc.de>
6894
6895 Depessimize the handling of very large macros.
6896
6897 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6898 (c-macro-cache-syntactic): New variables to implement a one
6899 element macro cache.
6900 (c-invalidate-macro-cache): New function.
6901 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6902 Adapt to use the new cache.
6903 (c-state-safe-place): Use better the cache of safe positions.
6904 (c-state-semi-nonlit-pos-cache)
6905 (c-state-semi-nonlit-pos-cache-limit):
6906 New variables for...
6907 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6908 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
6909 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6910 Use c-state-semi-safe-place.
6911
6912 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6913 Add c-invalidate-macro-cache to the C, C++, Obj entries.
6914
6915 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
6916
6917 * jka-compr.el (jka-compr-call-process):
6918 Apply `file-accessible-directory-p' only when the default directory is
6919 not remote.
6920
6921 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
6922
6923 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6924 access of FILE2, if FILE1 does not exist.
6925
6926 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6927 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6928
6929 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6930 Add "PAGER=" to `process-environment'.
6931
6932 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6933
6934 * progmodes/sql.el: Bug fix
6935 (sql-get-login-ext): Save login values in globals.
6936 (sql-get-login): Use new version of `sql-get-login-ext'.
6937 (sql-interactive-mode): Set global `sql-connection' to nil.
6938 (sql-connect): Set global values for connection.
6939 (sql-product-interactive): Save global values as buffer local.
6940
6941 2012-02-29 Leo Liu <sdl.web@gmail.com>
6942
6943 * abbrev.el (define-abbrevs): Reset sys to nil.
6944
6945 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6946
6947 * files.el (file-equal-p): Rename from `files-equal-p'.
6948 Return nil when one or both files don't exist.
6949 (file-subdir-of-p): Now only top directory must exists,
6950 return nil if it doesn't.
6951 (copy-directory): No need to test with `file-subdir-of-p' after
6952 creating dir.
6953 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6954 to `file-equal-p'.
6955
6956 2012-02-28 Glenn Morris <rgm@gnu.org>
6957
6958 * shell.el (shell-mode):
6959 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6960 * play/landmark.el (landmark-font-lock-face-O):
6961 * play/handwrite.el (handwrite):
6962 * play/gomoku.el (gomoku-O):
6963 * net/browse-url.el (browse-url-browser-display):
6964 * international/mule.el (define-charset):
6965 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6966 * filesets.el (filesets-find-file-delay):
6967 * eshell/em-xtra.el (eshell-xtra):
6968 * eshell/em-unix.el (eshell-grep):
6969 * emulation/viper.el (viper-mode):
6970 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6971 * emacs-lisp/easymenu.el (easy-menu-define):
6972 * calendar/timeclock.el (timeclock-use-display-time):
6973 * bs.el (bs-mode):
6974 * bookmark.el (bookmark-save-flag):
6975 Doc fix (standardize possessive apostrophe usage).
6976
6977 2012-02-27 Chong Yidong <cyd@gnu.org>
6978
6979 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6980 Fix key-binding lookup for ESC key (Bug#9146).
6981
6982 * font-lock.el (font-lock-specified-p): Rename from
6983 font-lock-spec-present. Callers changed.
6984
6985 2012-02-27 Daniel Hackney <dan@haxney.org>
6986
6987 * emacs-lisp/package.el (package-compute-transaction):
6988 Handle holding a package version to t in package-load-list.
6989
6990 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
6991
6992 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6993 (tramp-get-inode, tramp-get-device): Use cached values.
6994
6995 2012-02-26 Alan Mackenzie <acm@muc.de>
6996
6997 Check there is a font-lock specification before doing initial
6998 fontification.
6999
7000 * font-core.el (font-lock-mode): Move the conditional from
7001 :after-hook to font-lock-initial-fontify.
7002 (font-lock-default-function): Move the check for a specification
7003 to font-lock-spec-present.
7004
7005 * font-lock.el (font-lock-initial-fontify): Call ...
7006 (font-lock-spec-present): New function.
7007
7008 2012-02-26 Jim Blandy <jimb@red-bean.com>
7009
7010 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
7011 (gdb-send): Apply it to the operand of the '-interpreter-exec
7012 console' command, so that we can pass arguments with (say) quotes
7013 in them. Store exact string sent in gdb-debug-log (Bug#10765).
7014
7015 2012-02-26 Chong Yidong <cyd@gnu.org>
7016
7017 * help-fns.el (describe-function-1): Clarify description of
7018 remapping (Bug#10844).
7019
7020 * files.el (files-equal-p): Doc fix.
7021 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
7022 and quit the loop once a mismatch is found.
7023
7024 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
7025
7026 * bs.el (bs--show-with-configuration): Don't throw an error
7027 if the window cannot be split; otherwise, subsequent calls to
7028 bs-show fail, restoring a stale window config. (Bug#10882)
7029
7030 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
7031
7032 * term/ns-win.el (global-map): Bind ns-drag-file to
7033 ns-find-file (Bug#5855, Bug#10050).
7034
7035 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
7036
7037 * calendar/parse-time.el (parse-time-string): Allow extractor to
7038 return nil.
7039
7040 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
7041
7042 * net/tramp.el (tramp-file-name-for-operation):
7043 Add `files-equal-p' and `file-subdir-of-p'.
7044
7045 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7046 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7047 Add COPY-CONTENTS argument.
7048
7049 2012-02-25 Chong Yidong <cyd@gnu.org>
7050
7051 Add custom groups for VC backends, for consistency with vc-bzr.
7052
7053 * vc/vc-arch.el (vc-arch):
7054 * vc/vc-cvs.el (vc-cvs):
7055 * vc/vc-git.el (vc-git):
7056 * vc/vc-hg.el (vc-hg):
7057 * vc/vc-mtn.el (vc-mtn):
7058 * vc/vc-rcs.el (vc-rcs):
7059 * vc/vc-sccs.el (vc-sccs):
7060 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
7061 All relevant defcustoms reassigned.
7062
7063 2012-02-25 Chong Yidong <cyd@gnu.org>
7064
7065 * newcomment.el (comment-styles): Add autoload (Bug#10868).
7066
7067 * term/x-win.el (x-initialize-window-system): Reduce default for
7068 x-selection-timeout to 5 seconds (Bug#8869).
7069
7070 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7071
7072 * files.el (files-equal-p, file-subdir-of-p): New functions.
7073 (copy-directory): Error when trying to copy a directory on itself.
7074 Add missing copy-contents arg to tramp handler.
7075 * dired-aux.el (dired-copy-file-recursive): Same.
7076 (dired-create-files): Modify destination when source is equal to
7077 dest when copying files.
7078 Return also when dest is a subdir of source. (Bug#10489)
7079
7080 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
7081
7082 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
7083 (Bug#10874)
7084
7085 2012-02-23 Alan Mackenzie <acm@muc.de>
7086
7087 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
7088 parameter "after-hook:" to allow the expansion to run code after
7089 the execution of the mode hooks.
7090
7091 * font-lock.el (font-lock-initial-fontify): New function extracted
7092 from font-lock-mode-internal.
7093
7094 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
7095 :after-hook.
7096
7097 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7098
7099 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
7100 (completion--cache-all-sorted-completions): New function.
7101 (completion-all-sorted-completions): Use it.
7102 (completion--do-completion, minibuffer-force-complete):
7103 Use it to re-instate the flush hook.
7104
7105 * icomplete.el (icomplete-completions): Replace last fix with a better
7106 one (bug#10850).
7107
7108 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
7109
7110 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
7111 when it might call us back infinitely (bug#10797).
7112
7113 2012-02-23 Glenn Morris <rgm@gnu.org>
7114
7115 * minibuffer.el (completion-category-overrides): Doc fix.
7116
7117 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7118
7119 * minibuffer.el (completion-table-with-context): Fix inf-loop.
7120 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
7121
7122 2012-02-23 Glenn Morris <rgm@gnu.org>
7123
7124 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
7125 (authors-obsolete-files-regexps, authors-ignored-files)
7126 (authors-ambiguous-files, authors-renamed-files-alist):
7127 Add more entries.
7128
7129 2012-02-23 Juri Linkov <juri@jurta.org>
7130
7131 * isearch.el (isearch-occur): Sync interactive spec with occur's
7132 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
7133
7134 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
7135
7136 2012-02-22 Juri Linkov <juri@jurta.org>
7137
7138 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
7139 (ucs-insert): Doc fix. Check for hex digits in the string.
7140 Don't display `nil' in the error message. (Bug#10857)
7141
7142 2012-02-22 Alan Mackenzie <acm@muc.de>
7143
7144 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
7145
7146 2012-02-22 Glenn Morris <rgm@gnu.org>
7147
7148 * ffap.el (ffap-c-path):
7149 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
7150
7151 2012-02-22 Chong Yidong <cyd@gnu.org>
7152
7153 * custom.el (load-theme): Doc fix.
7154
7155 2012-02-22 Glenn Morris <rgm@gnu.org>
7156
7157 * dired-x.el (dired-guess-shell-alist-default):
7158 Remove escape sequences from nroff output. (Bug#172)
7159
7160 2012-02-21 Glenn Morris <rgm@gnu.org>
7161
7162 * vc/emerge.el (emerge-defvar-local):
7163 Set `permanent-local' property rather than unused `preserved'.
7164
7165 * textmodes/picture.el (picture-delete-char): New alias.
7166 (picture-mode-map): Use it. (Bug#10860)
7167 (picture-mode): Doc fix.
7168
7169 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
7170
7171 * newcomment.el (uncomment-region-default): Remove unused binding.
7172
7173 2012-02-21 Glenn Morris <rgm@gnu.org>
7174
7175 * textmodes/picture.el (picture-motion, picture-motion-reverse)
7176 (picture-self-insert, picture-tab-chars): Doc fix.
7177 (picture-mode-map): Fix C-a, C-e.
7178
7179 2012-02-20 Glenn Morris <rgm@gnu.org>
7180
7181 * emacs-lisp/authors.el (authors-aliases): Add another entry.
7182
7183 2012-02-20 Leo Liu <sdl.web@gmail.com>
7184
7185 * icomplete.el (icomplete-completions): Check FROM arg before
7186 passing to substring (Bug#10850).
7187
7188 2012-02-19 Chong Yidong <cyd@gnu.org>
7189
7190 * comint.el: Require ansi-color.
7191 (comint-output-filter-functions): Add ansi-color-process-output.
7192
7193 * ansi-color.el: Don't set comint-output-filter-functions; it is
7194 now in the initial value defined in comint.el.
7195 (ansi-color-apply-face-function): New variable.
7196 (ansi-color-apply-on-region): Use it.
7197 (ansi-color-apply-overlay-face): New function.
7198
7199 * shell.el (shell): No need to require ansi-color.
7200 (shell-mode): Use ansi-color-apply-face-function to highlight
7201 color escapes using font-lock-face property (Bug#10835).
7202
7203 2012-02-19 Chong Yidong <cyd@gnu.org>
7204
7205 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
7206 mode-line formats (Bug#10839).
7207
7208 2012-02-18 Glenn Morris <rgm@gnu.org>
7209
7210 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
7211
7212 * mail/undigest.el (unforward-rmail-message): Doc fix.
7213
7214 * saveplace.el (save-place-ignore-files-regexp): Add :version.
7215
7216 2012-02-18 Eli Zaretskii <eliz@gnu.org>
7217
7218 * international/characters.el (script-list): Sync with the latest
7219 Unicode Character Database.
7220
7221 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
7222
7223 * international/titdic-cnv.el: Remove duplicate coding tag.
7224 * language/cham.el: Likewise.
7225 * language/tai-viet.el: Likewise.
7226
7227 2012-02-18 Glenn Morris <rgm@gnu.org>
7228
7229 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
7230 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
7231 (calendar-bahai-all-holidays-flag, calendar-other-dates):
7232 * calendar/diary-lib.el (diary-abbreviated-year-flag):
7233 * calendar/holidays.el (holiday-bahai-holidays)
7234 (calendar-holidays, list-holidays):
7235 Use utf-8 Bahá'í in doc-strings, menus, etc.
7236
7237 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
7238
7239 * saveplace.el (save-place-ignore-files-regexp): New variable
7240 allowing for excluding files from saving their location of point.
7241 The default value matches the temporary commit message editing
7242 files from Git, SVN, Bazaar, and Mercurial.
7243 (save-place-to-alist): Use it.
7244
7245 2012-02-17 Lawrence Mitchell <wence@gmx.li>
7246 Stefan Monnier <monnier@iro.umontreal.ca>
7247
7248 * newcomment.el (uncomment-region-default): Don't leave extra space
7249 when an arg is provided (bug#8150).
7250
7251 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
7252
7253 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
7254
7255 2012-02-17 Glenn Morris <rgm@gnu.org>
7256
7257 * net/socks.el: Require network-stream. (Bug#10599)
7258
7259 2012-02-17 Kenichi Handa <handa@m17n.org>
7260
7261 * international/charprop.el:
7262 * international/uni-name.el:
7263 * international/uni-old-name.el:
7264 * international/uni-comment.el: Regenerate.
7265
7266 2012-02-16 Glenn Morris <rgm@gnu.org>
7267
7268 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
7269 Interactively in calendar buffer, give an error if not on a date.
7270
7271 2012-02-15 Glenn Morris <rgm@gnu.org>
7272
7273 * shell.el (shell-delimiter-argument-list):
7274 Revert 2011-02-17 change. (Bug#8027)
7275
7276 2012-02-15 Chong Yidong <cyd@gnu.org>
7277
7278 * minibuffer.el (completion-at-point-functions): Doc fix.
7279
7280 * custom.el (defcustom): Doc fix; note use of defvar.
7281
7282 2012-02-15 Glenn Morris <rgm@gnu.org>
7283
7284 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
7285 Doc fixes.
7286
7287 2012-02-14 Glenn Morris <rgm@gnu.org>
7288
7289 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
7290
7291 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
7292
7293 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
7294 way the ports list is computed.
7295 (smtpmail-query-smtp-server): Prompt the user for a port number if
7296 we can't connect to any of the standard ports (bug#10810).
7297
7298 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
7299
7300 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
7301
7302 2012-02-13 Glenn Morris <rgm@gnu.org>
7303
7304 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
7305
7306 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
7307
7308 * net/gnutls.el (gnutls-trustfiles): New variable.
7309 (gnutls-negotiate): Use it.
7310
7311 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
7312
7313 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
7314 does its stuff if Gnus is running.
7315
7316 2012-02-13 Alan Mackenzie <acm@muc.de>
7317
7318 Fix a loop in c-set-fl-decl-start.
7319
7320 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
7321 c-backward-syntactic-ws actually moves backwards.
7322
7323 2012-02-13 Leo Liu <sdl.web@gmail.com>
7324
7325 * net/rcirc.el (rcirc-markup-attributes): Move point to the
7326 beginning so that all \C-o chars are removed.
7327
7328 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
7329
7330 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
7331
7332 2012-02-12 Alan Mackenzie <acm@muc.de>
7333
7334 Fix infinite loop with long macros.
7335 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
7336
7337 2012-02-12 Chong Yidong <cyd@gnu.org>
7338
7339 * window.el (display-buffer): Doc fix (Bug#10785).
7340
7341 2012-02-12 Glenn Morris <rgm@gnu.org>
7342
7343 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7344 (x-disown-selection-internal, x-get-selection-internal):
7345 Sync docs with the xselect.c versions.
7346
7347 * allout-widgets.el: Add missing license notice.
7348
7349 2012-02-11 Glenn Morris <rgm@gnu.org>
7350
7351 * select.el (x-get-selection-internal, x-own-selection-internal)
7352 (x-disown-selection-internal):
7353 * x-dnd.el (x-get-selection-internal): Update declarations.
7354
7355 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
7356
7357 * window.el (window-sides-slots):
7358 * tool-bar.el (tool-bar-position):
7359 * term/xterm.el (xterm-extra-capabilities):
7360 * ses.el (ses-self-reference-early-detection):
7361 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
7362 (verilog-auto-wire-type)
7363 (verilog-auto-delete-trailing-whitespace)
7364 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
7365 (verilog-auto-tieoff-declaration):
7366 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
7367 (sql-oracle-statement-starters, sql-oracle-scan-on):
7368 * progmodes/prolog.el (prolog-align-comments-flag)
7369 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
7370 (prolog-left-indent-regexp, prolog-paren-indent-p)
7371 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
7372 (prolog-types, prolog-mode-specificators)
7373 (prolog-determinism-specificators, prolog-directives)
7374 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
7375 (prolog-electric-dot-flag)
7376 (prolog-electric-dot-full-predicate-template)
7377 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
7378 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
7379 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
7380 (prolog-program-switches, prolog-prompt-regexp)
7381 (prolog-debug-on-string, prolog-debug-off-string)
7382 (prolog-trace-on-string, prolog-trace-off-string)
7383 (prolog-zip-on-string, prolog-zip-off-string)
7384 (prolog-use-standard-consult-compile-method-flag)
7385 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
7386 (prolog-imenu-max-lines, prolog-info-predicate-index)
7387 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
7388 (prolog-char-quote-workaround):
7389 * progmodes/cc-vars.el (c-defun-tactic):
7390 * net/tramp.el (tramp-encoding-command-interactive)
7391 (tramp-local-end-of-line):
7392 * net/soap-client.el (soap-client):
7393 * net/netrc.el (netrc-file):
7394 * net/gnutls.el (gnutls):
7395 * minibuffer.el (completion-category-overrides)
7396 (completion-cycle-threshold)
7397 (completion-pcm-complete-word-inserts-delimiters):
7398 * man.el (Man-name-local-regexp):
7399 * mail/feedmail.el (feedmail-display-full-frame):
7400 * international/characters.el (glyphless-char-display-control):
7401 * eshell/em-ls.el (eshell-ls-date-format):
7402 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
7403 (lisp-lambda-list-keyword-parameter-indentation)
7404 (lisp-lambda-list-keyword-parameter-alignment):
7405 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
7406 * dired-x.el (dired-omit-verbose):
7407 * cus-theme.el (custom-theme-allow-multiple-selections):
7408 * calc/calc.el (calc-highlight-selections-with-faces)
7409 (calc-lu-field-reference, calc-lu-power-reference)
7410 (calc-note-threshold):
7411 * battery.el (battery-mode-line-limit):
7412 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7413 (archive-7z-update):
7414 * allout.el (allout-prefixed-keybindings)
7415 (allout-unprefixed-keybindings)
7416 (allout-inhibit-auto-fill-on-headline)
7417 (allout-flattened-numbering-abbreviation):
7418 * allout-widgets.el (allout-widgets-auto-activation)
7419 (allout-widgets-icons-dark-subdir)
7420 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
7421 (allout-widgets-theme-dark-background)
7422 (allout-widgets-theme-light-background)
7423 (allout-widgets-item-image-properties-emacs)
7424 (allout-widgets-item-image-properties-xemacs)
7425 (allout-widgets-run-unit-tests-on-load)
7426 (allout-widgets-time-decoration-activity)
7427 (allout-widgets-hook-error-post-time)
7428 (allout-widgets-track-decoration):
7429 Add missing :version tags to new defcustoms and defgroups.
7430
7431 * progmodes/sql.el (sql-ansi-statement-starters)
7432 (sql-oracle-statement-starters): Add custom type.
7433
7434 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
7435 (prolog-system-version): Give it a type.
7436
7437 2012-02-11 Eli Zaretskii <eliz@gnu.org>
7438
7439 * term/pc-win.el (x-select-text, x-selection-owner-p)
7440 (x-own-selection-internal, x-disown-selection-internal)
7441 (x-get-selection-internal): Sync doc strings and argument lists
7442 with xselect.c, common-win.el and x-win.el. (Bug#10783)
7443
7444 2012-02-11 Leo Liu <sdl.web@gmail.com>
7445
7446 * progmodes/python.el (python-end-of-statement): Fix infinite
7447 loop. (Bug#10788)
7448
7449 2012-02-10 Glenn Morris <rgm@gnu.org>
7450
7451 * international/mule-cmds.el (unify-8859-on-encoding-mode)
7452 (unify-8859-on-decoding-mode): Properly mark as obsolete.
7453
7454 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
7455
7456 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
7457 about SMTP before checking the From header.
7458
7459 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
7460 into own function for reuse by emacsbug.el.
7461
7462 2012-02-10 Leo Liu <sdl.web@gmail.com>
7463
7464 * subr.el (condition-case-unless-debug): Rename from
7465 condition-case-no-debug. All callers changed.
7466 (with-demoted-errors): Fix caller.
7467
7468 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
7469 * nxml/rng-valid.el (rng-do-some-validation):
7470 * emacs-lisp/package.el (package-refresh-contents)
7471 (package-menu-execute):
7472 * desktop.el (desktop-create-buffer):
7473 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
7474
7475 2012-02-10 Glenn Morris <rgm@gnu.org>
7476
7477 * textmodes/bibtex.el:
7478 Add missing :version tags for new/changed defcustoms.
7479
7480 * files.el (remote-file-name-inhibit-cache): Doc fixes.
7481
7482 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
7483
7484 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
7485 (smtpmail-via-smtp): Use it, or fall back on the From address.
7486 (smtpmail-send-it): Ditto.
7487
7488 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
7489
7490 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7491 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
7492 (byte-compile-tmp-var): New const.
7493 (byte-compile-defvar): Use it to minimize .elc size.
7494 Just use `defvar' rather than simulate it (bug#10761).
7495
7496 2012-02-09 Glenn Morris <rgm@gnu.org>
7497
7498 * files.el (rename-uniquely): Doc fix. (Bug#3806)
7499
7500 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
7501 Add :version tags.
7502
7503 * progmodes/compile.el (compilation-error-screen-columns)
7504 (compilation-first-column, compilation-filter-start): Doc fixes.
7505
7506 * vc/log-view.el (log-view-toggle-entry-display):
7507 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
7508
7509 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
7510 (report-emacs-bug-can-use-xdg-email):
7511 (report-emacs-bug-insert-to-mailer): Doc fixes.
7512 (report-emacs-bug): Message fix.
7513
7514 * net/browse-url.el (browse-url-can-use-xdg-open)
7515 (browse-url-xdg-open): Doc fixes.
7516
7517 * electric.el (electric-indent-mode, electric-pair-mode)
7518 (electric-layout-rules, electric-layout-mode): Doc fixes.
7519 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
7520
7521 2012-02-08 Martin Rudalics <rudalics@gmx.at>
7522
7523 * server.el (server-unselect-display): Don't inadvertently kill
7524 the current buffer. (Bug#10729)
7525
7526 2012-02-08 Glenn Morris <rgm@gnu.org>
7527
7528 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
7529 (sql-list-table): Doc fixes.
7530
7531 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
7532 Comment out (does nothing).
7533
7534 * completion.el (dynamic-completion-mode):
7535 * dirtrack.el (dirtrack-debug-mode):
7536 * electric.el (electric-layout-mode):
7537 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
7538 * face-remap.el (text-scale-mode, buffer-face-mode):
7539 * iimage.el (iimage-mode):
7540 * image-mode.el (image-transform-mode):
7541 * minibuffer.el (completion-in-region-mode):
7542 * scroll-lock.el (scroll-lock-mode):
7543 * simple.el (next-error-follow-minor-mode):
7544 * tar-mode.el (tar-subfile-mode):
7545 * tooltip.el (tooltip-mode):
7546 * vcursor.el (vcursor-use-vcursor-map):
7547 * wid-browse.el (widget-minor-mode):
7548 * emulation/tpu-edt.el (tpu-edt-mode):
7549 * emulation/tpu-extras.el (tpu-cursor-free-mode):
7550 * international/iso-ascii.el (iso-ascii-mode):
7551 * language/thai-util.el (thai-word-mode):
7552 * mail/supercite.el (sc-minor-mode):
7553 * net/goto-addr.el (goto-address-mode):
7554 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
7555 * progmodes/cwarn.el (cwarn-mode):
7556 * progmodes/flymake.el (flymake-mode):
7557 * progmodes/glasses.el (glasses-mode):
7558 * progmodes/hideshow.el (hs-minor-mode):
7559 * progmodes/pascal.el (pascal-outline-mode):
7560 * textmodes/enriched.el (enriched-mode):
7561 * vc/smerge-mode.el (smerge-mode):
7562 Doc fixes (minor mode argument).
7563
7564 2012-02-07 Eli Zaretskii <eliz@gnu.org>
7565
7566 * ls-lisp.el (ls-lisp-sanitize): New function.
7567 (ls-lisp-insert-directory): Use it to fix or remove any elements
7568 in file-alist with missing attributes. (Bug#4673)
7569
7570 2012-02-07 Alan Mackenzie <acm@muc.de>
7571
7572 Fix spurious recognition of c-in-knr-argdecl.
7573
7574 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
7575 putative K&R region.
7576
7577 2012-02-07 Alan Mackenzie <acm@muc.de>
7578
7579 * progmodes/cc-engine.el (c-forward-objc-directive):
7580 Prevent looping in "#pragma mark @implementation".
7581
7582 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
7583
7584 * notifications.el (notifications-on-closed-signal): Make `reason'
7585 optional. (Bug#10744)
7586
7587 2012-02-07 Glenn Morris <rgm@gnu.org>
7588
7589 * emacs-lisp/easy-mmode.el (define-minor-mode):
7590 Doc fixes for the macro and the mode it defines.
7591
7592 * image.el (imagemagick-types-inhibit): Doc fix.
7593
7594 * cus-start.el (imagemagick-render-type): Add it.
7595
7596 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
7597
7598 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
7599 Set the default at load time, too, so that `font-lock-fontify-buffer'
7600 can be called without setting up the entire mode first. This fixes
7601 a bug in `mm-inline-text' with C MIME parts.
7602
7603 2012-02-06 Chong Yidong <cyd@gnu.org>
7604
7605 * simple.el (list-processes--refresh): Delete exited processes
7606 (Bug#8094).
7607
7608 * comint.el (comint-next-prompt): next-single-char-property-change
7609 and prev-single-char-property-change never return nil (Bug#8657).
7610
7611 * custom.el (defcustom): Doc fix (Bug#9711).
7612
7613 2012-02-05 Chong Yidong <cyd@gnu.org>
7614
7615 * cus-edit.el (custom-variable-reset-backup): Quote the value
7616 before storing it in the customized-value property (Bug#6712).
7617 (custom-display): Add a customization type tag.
7618 (custom-buffer-create-internal): Improve tooltip message.
7619
7620 * wid-edit.el (widget-field-value-get): New optional arg to
7621 suppress trailing whitespace truncation.
7622 (character): Use it (Bug#2689).
7623
7624 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
7625
7626 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
7627 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
7628
7629 2012-02-05 Chong Yidong <cyd@gnu.org>
7630
7631 * cus-edit.el (custom-variable-value-create): For mismatched
7632 types, show the current value (Bug#7600).
7633
7634 * custom.el (defcustom): Doc fix.
7635
7636 2012-02-05 Glenn Morris <rgm@gnu.org>
7637
7638 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
7639
7640 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
7641
7642 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
7643 (pp-buffer): Use `ignore-errors', `looking-at-p'.
7644 (pp-last-sexp): Use `looking-at-p'.
7645
7646 2012-02-04 Glenn Morris <rgm@gnu.org>
7647
7648 * files.el (revert-buffer):
7649 Doc fix (mention revert-buffer-in-progress-p).
7650
7651 * emacs-lisp/ert-x.el (ert-simulate-command):
7652 Check deferred-action-list (which is obsolete) is bound.
7653
7654 * subr.el (with-wrapper-hook): Doc fixes.
7655
7656 * simple.el (filter-buffer-substring-functions)
7657 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
7658
7659 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
7660
7661 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
7662 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
7663
7664 2012-02-04 Leo Liu <sdl.web@gmail.com>
7665
7666 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
7667
7668 2012-02-04 Glenn Morris <rgm@gnu.org>
7669
7670 * image.el (image-extension-data): Add obsolete alias.
7671
7672 * isearch.el (isearch-update): Doc fix.
7673
7674 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
7675
7676 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
7677
7678 2012-02-03 Glenn Morris <rgm@gnu.org>
7679
7680 * image.el (image-animated-p): Doc fix. Use image-animated-types.
7681 (image-animate-timeout): Doc fix.
7682
7683 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
7684
7685 2012-02-02 Glenn Morris <rgm@gnu.org>
7686
7687 * server.el (server-auth-dir): Doc fix.
7688 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
7689
7690 * subr.el (run-mode-hooks): Doc fix.
7691
7692 2012-02-02 Juri Linkov <juri@jurta.org>
7693
7694 * image-mode.el (image-toggle-display-image): Remove tautological
7695 `major-mode' from the `derived-mode-p' test.
7696
7697 2012-02-02 Kenichi Handa <handa@m17n.org>
7698
7699 * composite.el (compose-region): Cancel previous change.
7700
7701 2012-02-02 Kenichi Handa <handa@m17n.org>
7702
7703 * composite.el (compose-region, compose-string): Signal error for
7704 a null string component (Bug#6988).
7705
7706 2012-02-01 Chong Yidong <cyd@gnu.org>
7707
7708 * view.el (view-buffer-other-window, view-buffer-other-frame):
7709 Handle special modes like view-buffer (Bug#10650).
7710 (view-buffer): Simplify.
7711
7712 * frame.el (set-frame-font): Tweak meaning of third argument.
7713
7714 * dynamic-setting.el (font-setting-change-default-font):
7715 Use set-frame-font (Bug#9982).
7716
7717 2012-02-01 Glenn Morris <rgm@gnu.org>
7718
7719 * progmodes/compile.el (compilation-internal-error-properties):
7720 Respect compilation-first-column in the "*compilation*" buffer.
7721
7722 * emacs-lisp/easy-mmode.el (define-minor-mode):
7723 Relax :variable's test for a named function.
7724
7725 2012-01-31 Alan Mackenzie <acm@muc.de>
7726
7727 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
7728 off by one error.
7729
7730 2012-01-31 Chong Yidong <cyd@gnu.org>
7731
7732 * frame.el (set-frame-font): New arg ALL-FRAMES.
7733
7734 * menu-bar.el (menu-set-font): Use set-frame-font.
7735
7736 * faces.el (face-spec-reset-face): Don't apply unspecified
7737 attribute values to the default face.
7738
7739 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
7740
7741 * progmodes/cwarn.el (cwarn): Remove dead link.
7742 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
7743 Remove * from defcustom docstrings.
7744 (turn-on-cwarn-mode): Make obsolete.
7745 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
7746 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
7747
7748 2012-01-31 Glenn Morris <rgm@gnu.org>
7749
7750 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
7751 Fix :variable handling of mode a symbol not equal to modefun.
7752 Allow named functions to be used as the cdr of :variable.
7753
7754 2012-01-30 Glenn Morris <rgm@gnu.org>
7755
7756 * emacs-lisp/authors.el (authors-fixed-entries):
7757 Remove reference to deleted file rnewspost.el.
7758
7759 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
7760
7761 * window.el (window-with-parameter): Remove unused variable `windows'.
7762 (window--side-check): Remove unused variable `code'.
7763 (window--resize-siblings): Remove unused variable `first'.
7764 (adjust-window-trailing-edge): Remove unused variable `failed'.
7765 (window-deletable-p, window--delete): Remove unused variable `buffer'.
7766 Use `let', not `let*'.
7767 (balance-windows-2): Remove unused variable `found'.
7768 (window--state-put-2): Remove unused variable `splits'.
7769 (window-state-put): Remove unused variable `selected'.
7770 (same-window-p): Use `string-match-p'.
7771 (display-buffer-assq-regexp): Remove unused variable `value'.
7772 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7773 Mark argument ALIST as ignored.
7774 (pop-to-buffer): Remove unused variable `old-window'.
7775
7776 2012-01-29 Eli Zaretskii <eliz@gnu.org>
7777
7778 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
7779 and .lzma compressed files.
7780
7781 2012-01-29 Chong Yidong <cyd@gnu.org>
7782
7783 * frame.el (window-system-default-frame-alist): Doc fix.
7784
7785 * dynamic-setting.el (font-setting-change-default-font): Don't
7786 change the default face if SET-FONT argument is non-nil (Bug#9982).
7787
7788 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
7789
7790 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
7791
7792 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
7793
7794 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
7795 breakpoints in files outside current directory (Bug#6098).
7796
7797 2012-01-29 Chong Yidong <cyd@gnu.org>
7798
7799 * progmodes/python.el: Require ansi-color at top-level.
7800
7801 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
7802 Define and use in Emacs Lisp mode (Bug#9360).
7803 (lisp-mode-abbrev-table): Add doc.
7804 (lisp-mode-variables): Don't set local-abbrev-table.
7805 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
7806
7807 2012-01-28 Roland Winkler <winkler@gnu.org>
7808
7809 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
7810
7811 2012-01-28 Roland Winkler <winkler@gnu.org>
7812
7813 * textmodes/bibtex.el (bibtex-entry-alist): New function.
7814 (bibtex-set-dialect): Use it. Either set global values of
7815 dialect-dependent variables or bind these variables buffer-locally
7816 (Bug#10254).
7817 (bibtex-mode): Call bibtex-set-dialect via
7818 hack-local-variables-hook.
7819 (bibtex-dialect): Update docstring.
7820 Add safe-local-variable predicate.
7821 (bibtex-entry-alist, bibtex-field-alist): Initialize via
7822 bibtex-set-dialect.
7823 (bibtex-mode-map): Define menu for each dialect.
7824 (bibtex-entry): Fix docstring.
7825
7826 2012-01-28 Chong Yidong <cyd@gnu.org>
7827
7828 * eshell/esh-arg.el (eshell-quote-argument): New function.
7829
7830 * eshell/esh-ext.el (eshell-invoke-batch-file):
7831 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
7832 first arg to eshell-parse-command (Bug#10523).
7833
7834 2012-01-28 Drew Adams <drew.adams@oracle.com>
7835
7836 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
7837 `default-directory' is non-nil.
7838
7839 2012-01-28 Eli Zaretskii <eliz@gnu.org>
7840
7841 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
7842 line that displays system-configuration-options. (Bug#9924)
7843
7844 2012-01-28 Drew Adams <drew.adams@oracle.com>
7845
7846 * descr-text.el (describe-char): Show information about POS, in
7847 addition to information about the character at POS. Improve and
7848 update the doc string. Change "code point" to "code point in
7849 charset", to avoid confusion with the character's Unicode code
7850 point shown above that. (Bug#10129)
7851
7852 2012-01-28 Eli Zaretskii <eliz@gnu.org>
7853
7854 * descr-text.el (describe-char): Show the raw character, not only
7855 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
7856 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
7857 for the reasons.
7858
7859 2012-01-28 Phil Hagelberg <phil@hagelb.org>
7860
7861 * emacs-lisp/package.el (package-install):
7862 Run package-refresh-contents if there is no archive yet (Bug#9798).
7863
7864 2012-01-28 Chong Yidong <cyd@gnu.org>
7865
7866 * emacs-lisp/package.el (package-maybe-load-descriptor):
7867 New function, split from package-maybe-load-descriptor.
7868 (package-maybe-load-descriptor): Use it.
7869 (package-download-transaction): Fully load required packages
7870 inside the loop, so that `require' calls work (Bug#10593).
7871 (package-install): No need to call package-initialize now.
7872
7873 2012-01-28 Chong Yidong <cyd@gnu.org>
7874
7875 * simple.el (deactivate-mark): Doc fix (Bug#8614).
7876
7877 * tooltip.el (tooltip-mode): Doc fix.
7878 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7879
7880 * frame.el (set-cursor-color): Doc fix (Bug#352).
7881
7882 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7883 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7884
7885 * cus-edit.el (custom-buffer-create-internal): Fix search button
7886 action (Bug#10542).
7887 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
7888
7889 2012-01-27 Eduard Wiebe <usenet@pusto.de>
7890
7891 * dired.el (dired-mark-files-regexp):
7892 Include any subdirectory components. (Bug#10445)
7893
7894 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7895
7896 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7897 Handle [host]:port syntax. (Bug#10533)
7898
7899 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
7900
7901 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7902
7903 2012-01-26 Glenn Morris <rgm@gnu.org>
7904
7905 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7906 * term.el (term-raw-escape-map): Use Control-X-prefix.
7907 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7908
7909 2012-01-25 Martin Rudalics <rudalics@gmx.at>
7910
7911 * window.el (window-state-get, window--state-get-1): Don't deal
7912 with fixed-sizeness of windows. Simplify code.
7913
7914 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7915
7916 * window.el (window--state-get-1, window--state-put-2):
7917 Don't save and restore the mark.
7918
7919 2012-01-25 Chong Yidong <cyd@gnu.org>
7920
7921 * custom.el (custom-variable-p): Doc fix.
7922
7923 2012-01-25 Glenn Morris <rgm@gnu.org>
7924
7925 * dired.el (dired-goto-file): Handle some of the more common
7926 characters that `ls -b' escapes. (Bug#10596)
7927
7928 * progmodes/compile.el (compilation-next-error-function):
7929 Respect compilation-first-column in the "*compilation*" buffer.
7930 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7931
7932 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7933
7934 2012-01-24 Glenn Morris <rgm@gnu.org>
7935
7936 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7937
7938 2012-01-24 Julien Danjou <julien@danjou.info>
7939
7940 * color.el (color-rgb-to-hsl): Fix value computing.
7941 (color-hue-to-rgb): New function.
7942 (color-hsl-to-rgb): New function.
7943 (color-clamp, color-saturate-hsl, color-saturate-name)
7944 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7945 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7946
7947 2012-01-24 Glenn Morris <rgm@gnu.org>
7948
7949 * vc/vc-rcs.el (vc-rcs-create-tag):
7950 * vc/vc-sccs.el (vc-sccs-create-tag):
7951 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7952
7953 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7954
7955 * eshell/esh-util.el (eshell-read-hosts-file):
7956 Skip comment lines. (Bug#10549)
7957
7958 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7959
7960 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
7961
7962 * subr.el (display-delayed-warnings): Doc fix.
7963 (collapse-delayed-warnings): New function to collapse identical
7964 adjacent warnings.
7965 (delayed-warnings-hook): Add it.
7966
7967 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
7968
7969 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7970
7971 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7972 (tramp-default-user-alist): Don't add "pscp".
7973 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7974 property "login-as", if set. (Bug#10530)
7975
7976 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
7977
7978 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7979 "plink1" and "psftp". (Bug#10530)
7980
7981 2012-01-21 Kenichi Handa <handa@m17n.org>
7982
7983 * international/mule-cmds.el (prefer-coding-system): Show a
7984 warning message if the default value of file-name-coding-system
7985 was not changed.
7986
7987 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7988
7989 * windmove.el (windmove-reference-loc):
7990 Fix windmove-reference-loc miscalculation.
7991
7992 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7993
7994 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7995 default unit.
7996
7997 2012-01-21 Glenn Morris <rgm@gnu.org>
7998
7999 * international/mule.el (auto-coding-alist): Add .tbz.
8000
8001 * files.el (local-enable-local-variables): Doc fix.
8002 (inhibit-local-variables-regexps): Rename from
8003 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
8004 Doc fix. Add some extensions from auto-coding-alist.
8005 (inhibit-local-variables-suffixes):
8006 Rename from inhibit-first-line-modes-suffixes. Doc fix.
8007 (inhibit-local-variables-p):
8008 New function, extracted from set-auto-mode-1.
8009 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
8010 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
8011 (hack-local-variables): Doc fix. Make the mode-only case
8012 respect enable-local-variables and friends.
8013 Respect inhibit-local-variables-regexps for file-locals, but
8014 not for directory-locals.
8015 (set-visited-file-name):
8016 Take account of inhibit-local-variables-regexps.
8017 Whether it applies may change as the file name is changed.
8018 * jka-cmpr-hook.el (jka-compr-install):
8019 * jka-compr.el (jka-compr-uninstall):
8020 Update for inhibit-first-line-modes-suffixes name change.
8021
8022 2012-01-20 Martin Rudalics <rudalics@gmx.at>
8023
8024 * help-macro.el (make-help-screen): Temporarily restore original
8025 binding for minor-mode-map-alist (Bug#10454).
8026
8027 2012-01-19 Julien Danjou <julien@danjou.info>
8028
8029 * color.el (color-name-to-rgb): Use the white color to find the max
8030 color component value and return correctly computed values.
8031 (color-name-to-rgb): Add missing float conversion for max value.
8032
8033 2012-01-19 Martin Rudalics <rudalics@gmx.at>
8034
8035 * window.el (window--state-get-1, window-state-get): Do not use
8036 special state value for window-persistent-parameters.
8037 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
8038 (window--state-put-2): Reset all window parameters to nil before
8039 assigning values of persistent parameters.
8040
8041 2012-01-18 Alan Mackenzie <acm@muc.de>
8042
8043 Eliminate sluggishness and hangs in fontification of "semicolon
8044 deserts".
8045
8046 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
8047 Change value 10000 -> 3000.
8048 (c-state-safe-place): Reformulate so it doesn't stack up an
8049 infinite number of wrong entries in c-state-nonlit-pos-cache.
8050 (c-determine-limit-get-base, c-determine-limit): New functions to
8051 determine backward search limits disregarding literals.
8052 (c-find-decl-spots): Amend commenting.
8053 (c-cheap-inside-bracelist-p): New function which detects "={".
8054
8055 * progmodes/cc-fonts.el
8056 (c-make-font-lock-BO-decl-search-function): Give a limit to a
8057 backward search.
8058 (c-font-lock-declarations): Fix an occurrence of point being
8059 undefined. Check additionally for point being in a bracelist or
8060 near a macro invocation without a semicolon so as to avoid a
8061 fruitless time consuming search for a declarator. Give a more
8062 precise search limit for declarators using the new
8063 c-determine-limit.
8064
8065 2012-01-18 Glenn Morris <rgm@gnu.org>
8066
8067 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
8068 (set-auto-mode): Doc fixes.
8069
8070 2012-01-17 Glenn Morris <rgm@gnu.org>
8071
8072 * isearch.el (search-nonincremental-instead): Fix doc typo.
8073
8074 * dired.el (dired-insert-directory): Handle newlines in directory name.
8075 (dired-build-subdir-alist): Unescape newlines in directory name.
8076
8077 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
8078
8079 * net/tramp.el (tramp-local-end-of-line): New defcustom.
8080 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
8081 (tramp-action-terminal): Use it. (Bug#10530)
8082
8083 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
8084
8085 * minibuffer.el (completion--replace): Strip properties (bug#10062).
8086
8087 2012-01-16 Martin Rudalics <rudalics@gmx.at>
8088
8089 * window.el (window-state-ignored-parameters): Remove variable.
8090 (window--state-get-1): Rename argument MARKERS to IGNORE.
8091 Handle persistent window parameters. Make copy of clone-of
8092 parameter only if requested. (Bug#10348)
8093 (window--state-put-2): Install a window parameter only if it has
8094 a non-nil value or an existing parameter shall be overwritten.
8095
8096 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
8097
8098 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
8099
8100 2012-01-14 Eli Zaretskii <eliz@gnu.org>
8101
8102 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
8103 don't pass the (nil) value of `upnode' to string-match.
8104
8105 2012-01-14 Chong Yidong <cyd@gnu.org>
8106
8107 * startup.el (command-line): Fix X resource class for cursorColor.
8108 Fix values recognized by the cursorBlink resource.
8109
8110 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
8111
8112 * epg.el (epg--make-temp-file): Avoid permission race condition
8113 when running on old Emacs versions (bug#10403).
8114
8115 2012-01-14 Glenn Morris <rgm@gnu.org>
8116
8117 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
8118
8119 2012-01-13 Alan Mackenzie <acm@muc.de>
8120
8121 Fix filling for when filladapt mode is enabled.
8122
8123 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
8124 c-mask-paragraph, pass in `fill-paragraph' rather than
8125 `fill-region-as-paragraph'. (This is a reversion of a previous
8126 change.)
8127 * progmodes/cc-mode.el (c-basic-common-init):
8128 Make fill-paragraph-handle-comment buffer local and set it to nil.
8129
8130 2012-01-13 Glenn Morris <rgm@gnu.org>
8131
8132 * dired.el (dired-switches-escape-p): New function.
8133 (dired-insert-directory): Use dired-switches-escape-p.
8134 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
8135
8136 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
8137
8138 2012-01-12 Glenn Morris <rgm@gnu.org>
8139
8140 * mail/sendmail.el (mail-mode): Update paragraph-separate for
8141 changes in adaptive-fill-regexp. (Bug#10276)
8142
8143 2012-01-11 Alan Mackenzie <acm@muc.de>
8144
8145 Fix Emacs bug #10463 - put `widen's around the critical spots.
8146
8147 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
8148 widen around each invocation of c-state-pp-to-literal. Remove an
8149 unused let variable.
8150
8151 2012-01-11 Glenn Morris <rgm@gnu.org>
8152
8153 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
8154 Doc fix.
8155
8156 2012-01-10 Chong Yidong <cyd@gnu.org>
8157
8158 * net/network-stream.el (network-stream-open-starttls):
8159 Avoid emitting a confusing error message when the server gives a bad
8160 response to the capability command.
8161
8162 2012-01-10 Glenn Morris <rgm@gnu.org>
8163
8164 * mail/unrmail.el (unrmail): Tweak previous change.
8165
8166 2012-01-09 Chong Yidong <cyd@gnu.org>
8167
8168 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
8169
8170 2012-01-08 Alan Mackenzie <acm@muc.de>
8171
8172 Optimise font locking in long enum definitions.
8173
8174 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
8175 arm to a cond form to handle enums.
8176 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
8177 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
8178
8179 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
8180
8181 * files.el (move-file-to-trash): Preserve default file modes on error.
8182 (Bug#10401)
8183
8184 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8185
8186 * faces.el (set-face-attribute): Clarify the meaning of the nil
8187 frame (bug#10294).
8188
8189 * subr.el (with-selected-frame): Mention that the selected frame
8190 is restored (bug#9980).
8191
8192 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
8193 (bug#9759).
8194
8195 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
8196 (password-read): Don't autoload unused function.
8197
8198 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
8199
8200 * progmodes/which-func.el (which-func-mode): Turn into a
8201 non-interactive function and mark as obsolete (bug#10428).
8202
8203 2012-01-06 Chong Yidong <cyd@gnu.org>
8204
8205 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
8206 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
8207 functions, along with 1 and -1.
8208
8209 2012-01-06 Eli Zaretskii <eliz@gnu.org>
8210
8211 * time.el (display-time-load-average)
8212 (display-time-default-load-average): Doc fixes. See the thread
8213 starting at
8214 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
8215 for the details.
8216
8217 2012-01-06 Glenn Morris <rgm@gnu.org>
8218
8219 * mail/unrmail.el (unrmail): Give an explicit error if the input file
8220 has no messages. (Bug#10377)
8221
8222 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
8223 than Info-edit. (Bug#10385)
8224
8225 * time.el (display-time-load-average, display-time-next-load-average):
8226 Doc fixes.
8227
8228 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
8229 local setting of buffer-read-only to the input buffer. (Bug#10419)
8230
8231 * calendar/calendar.el (calendar-mode):
8232 Locally set scroll-margin to 0. (Bug#10379)
8233
8234 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
8235
8236 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
8237
8238 2012-01-05 Glenn Morris <rgm@gnu.org>
8239
8240 * eshell/em-unix.el (diff-no-select): Autoload it.
8241 (eshell/diff): Use diff-no-select. (Bug#10420)
8242
8243 2012-01-05 Chong Yidong <cyd@gnu.org>
8244
8245 * shell.el (shell-dynamic-complete-functions): Revert last change.
8246 (shell-command-completion-function): New function.
8247 (shell-completion-vars): Use it to implement
8248 shell-completion-execonly (Bug#10417).
8249
8250 * custom.el (enable-theme): Don't set custom-safe-themes.
8251
8252 * cus-theme.el (custom-theme-merge-theme):
8253 Ignore custom-enabled-themes and custom-safe-themes.
8254
8255 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
8256
8257 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
8258 first prompt in `sql-interacive-mode'.
8259 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
8260 keywords.
8261 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
8262 (sql-product-interactive): Bug fix: Set `sql-buffer' in
8263 context of original buffer. Invoke `sql-login-hook'.
8264
8265 2012-01-04 Eli Zaretskii <eliz@gnu.org>
8266
8267 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
8268 letters in cite-prefix.
8269
8270 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8271
8272 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
8273
8274 2012-01-03 Chong Yidong <cyd@gnu.org>
8275
8276 * shell.el (shell-dynamic-complete-functions):
8277 Put pcomplete-completions-at-point, so as to try
8278 comint-filename-completion first (Bug#10417).
8279
8280 2012-01-02 Richard Stallman <rms@gnu.org>
8281
8282 * battery.el (battery-status-function):
8283 Detect when to use battery-yeeloong-sysfs.
8284 (battery-echo-area-format): Add string for Yeeloong.
8285 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
8286 (battery-yeeloong-sysfs): New function.
8287
8288 2012-01-02 Chong Yidong <cyd@gnu.org>
8289
8290 * dirtrack.el (dirtrack-list): Eliminate unused third element.
8291 (dirtrack): Merge code for handling relative filenames in prompt
8292 from shell-dir-cookie-watcher.
8293 (dirtrack-debug-message): New arg to avoid excess format calls.
8294
8295 * shell.el (shell-dir-cookie-re): Variable deleted.
8296 (shell-dir-cookie-watcher): Function deleted.
8297 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
8298 with dirtrack-mode.
8299
8300 2012-01-01 Eli Zaretskii <eliz@gnu.org>
8301
8302 * term/w32-win.el (dynamic-library-alist) <gnutls>:
8303 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
8304 libgnutls-26.dll.
8305
8306 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
8307
8308 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
8309
8310 2011-12-31 Eli Zaretskii <eliz@gnu.org>
8311
8312 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
8313 headers of non-MIME messages, when rmail-enable-mime is non-nil.
8314
8315 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
8316
8317 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
8318 also for alternative shells.
8319 (tramp-open-connection-setup-interactive-shell): Check, whether
8320 the shell is a busybox.
8321 (tramp-send-command): Don't suppress multiple prompts for
8322 busyboxes, it hurts.
8323
8324 2011-12-28 Chong Yidong <cyd@gnu.org>
8325
8326 * progmodes/gdb-mi.el (gdb-get-source-file-list)
8327 (gdb-get-source-file): Move mode line update to
8328 gdb-get-source-file (Bug#10087).
8329
8330 2011-12-25 Chong Yidong <cyd@gnu.org>
8331
8332 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
8333 gud-gdb-marker-filter without taking it as an argument.
8334 (gud-gdb-run-command-fetch-lines): Caller changed.
8335 (gud-gdb-completion-function): New variable.
8336 (gud-gdb-completion-at-point): Use it.
8337 (gud-gdb-completions-1): Split from gud-gdb-completions.
8338
8339 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
8340 function as separate arguments.
8341 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
8342 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
8343 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
8344 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
8345 (gdb-stopped, def-gdb-auto-update-trigger)
8346 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
8347 (gdb-get-changed-registers, gdb-get-main-selected-frame):
8348 Callers changed.
8349 (gud-gdbmi-completions): New function.
8350 (gdb): Use it for generating the completion table.
8351
8352 2011-12-24 Alan Mackenzie <acm@muc.de>
8353
8354 Introduce a mechanism to widen the region used in context font
8355 locking. Use this to protect declarations from losing their contexts.
8356
8357 * progmodes/cc-langs.el (c-before-font-lock-functions):
8358 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
8359 (c-before-context-fontification-functions): New defvar, a list of
8360 functions to be run just before context (etc.) font locking.
8361
8362 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
8363 New, functionality extracted from
8364 c-neutralize-syntax-in-and-mark-CPP.
8365 (c-in-after-change-fontification): New variable.
8366 (c-after-change): Set c-in-after-change-fontification.
8367 (c-set-fl-decl-start): Rejig its interface, so it can be called
8368 from both after-change and context fontifying.
8369 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
8370 New functions.
8371 (c-standard-font-lock-fontify-region-function): New variable.
8372 (c-font-lock-fontify-region): New function.
8373
8374 2011-12-24 Juri Linkov <juri@jurta.org>
8375
8376 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
8377 (Bug#10348)
8378
8379 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
8380
8381 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
8382 existence of source file. (Bug#10325)
8383
8384 2011-12-23 Alan Mackenzie <acm@muc.de>
8385
8386 Fix unstable fontification inside templates.
8387
8388 * progmodes/cc-langs.el (c-before-font-lock-functions):
8389 Newly created from the singular version. The (c c++ objc) entry now
8390 additionally has c-set-fl-decl-start. The other languages (apart
8391 from AWK) have that as a single entry.
8392
8393 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8394 The functionality for "local" declarations has been extracted to
8395 c-set-fl-decl-start.
8396
8397 * progmodes/cc-mode.el (c-common-init, c-after-change):
8398 Changes due to pluralisation of c-before-font-lock-functions.
8399 (c-set-fl-decl-start): New function, extracted from
8400 c-font-lock-enclosing-decls and enhanced.
8401
8402 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
8403
8404 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
8405
8406 2011-12-22 Juri Linkov <juri@jurta.org>
8407
8408 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
8409
8410 2011-12-22 Chong Yidong <cyd@gnu.org>
8411
8412 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
8413
8414 2011-12-21 Drew Adams <drew.adams@oracle.com>
8415
8416 * files.el (file-remote-p): Fix docstring. (Bug#10319)
8417
8418 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8419
8420 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
8421
8422 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
8423
8424 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
8425 highlighting and support. Fix up comments for capitalization.
8426 (cfengine-mode-debug): New var.
8427 (cfengine3-mode): Change the modeline indicator to "CFE3".
8428 (cfengine3-font-lock-keywords): Improve defun highlighting.
8429 (cfengine2-actions): Rename from `cfengine-actions'.
8430 (cfengine2-font-lock-keywords): Rename from
8431 `cfengine-font-lock-keywords'.
8432 (cfengine2-imenu-expression): Rename from
8433 `cfengine-imenu-expression'.
8434 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
8435 (cfengine2-beginning-of-defun): Rename from
8436 `cfengine-beginning-of-defun'.
8437 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
8438 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
8439 (cfengine2-mode): Rename from `cfengine-mode'. Change the
8440 modeline indicator to "CFE2".
8441 (cfengine-mode): Defalias to `cfengine-auto-mode'.
8442 (cfengine-mode-abbrevs): Mark obsolete.
8443
8444 2011-12-21 Chong Yidong <cyd@gnu.org>
8445
8446 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
8447 filename argument.
8448
8449 2011-12-20 Martin Rudalics <rudalics@gmx.at>
8450
8451 * window.el (window-normalize-buffer-to-display): Remove.
8452 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
8453
8454 2011-12-19 Chong Yidong <cyd@gnu.org>
8455
8456 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
8457 Don't signal an error in a predicate function; return non-nil.
8458 (vc-dir-mark-file): Move the error here.
8459 (vc-dir-mark-unmark): If acting on the region, keep going if one
8460 of the entries cannot be marked/unmarked.
8461 (vc-dir-mark-all-files): If current entry is a directory, mark
8462 only child files, as documented.
8463
8464 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
8465
8466 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
8467 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
8468 addition.
8469
8470 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
8471
8472 * term/ns-win.el (ns-get-selection-internal)
8473 (ns-store-selection-internal): Declare.
8474 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
8475 Declare as obsolete.
8476 (ns-get-pasteboard, ns-paste-secondary):
8477 Use ns-get-selection-internal.
8478 (ns-set-pasteboard, ns-copy-including-secondary):
8479 Use ns-store-selection-internal.
8480
8481 2011-12-17 Chong Yidong <cyd@gnu.org>
8482
8483 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
8484 (vc-deduce-fileset): Doc fix.
8485
8486 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
8487
8488 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
8489
8490 2011-12-13 Sam Steingold <sds@gnu.org>
8491
8492 * man.el (Man-getpage-in-background): When running under a
8493 window-system, ignore $MANWIDTH and $COLUMNS.
8494
8495 2011-12-15 Kenichi Handa <handa@m17n.org>
8496
8497 * language/ethio-util.el: Change coding tag to utf-8-emacs.
8498 (setup-ethiopic-environment-internal): Comment out key-binding for
8499 ethio-toggle-punctuation.
8500
8501 2011-12-13 Alan Mackenzie <acm@muc.de>
8502
8503 Add the switch statement to AWK Mode.
8504
8505 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
8506 "default" to the keywords regexp.
8507
8508 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
8509 expression as the rest.
8510 (c-nonlabel-token-key): Allow string literals for AWK.
8511 Refactor for the other modes.
8512
8513 Large brace-block initialisation makes CC Mode slow: Fix.
8514 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
8515 routines. Limit backward searching in c-font-lock-enclosing.decl.
8516
8517 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
8518 pp-state and literal type in addition to the limits.
8519 (c-state-safe-place): New defun, extracted from c-state-literal-at.
8520 (c-state-literal-at): Use the above new defun.
8521 (c-slow-in-literal, c-fast-in-literal): Remove.
8522 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
8523
8524 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
8525 being in a literal. Add a limit for backward searching.
8526
8527 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
8528 c-slow-in-literal.
8529
8530 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
8531
8532 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
8533
8534 2011-12-13 Martin Rudalics <rudalics@gmx.at>
8535
8536 * window.el (delete-other-windows): Use correct frame in call to
8537 window-with-parameter.
8538
8539 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
8540
8541 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
8542 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
8543 (makefile-gmake-statements, makefile-makepp-statements):
8544 Use it and add new makepp keywords.
8545 (makefile-makepp-font-lock-keywords): Add new patterns.
8546 (makefile-match-function-end): Match new [...] and [[...]].
8547
8548 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
8549
8550 * ses.el (ses-call-printer-return, ses-cell-property-get)
8551 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
8552 (ses-create-cell-variable, ses-reset-header-string)
8553 (ses-cell-set-formula, ses-repair-cell-reference-all)
8554 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
8555 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
8556 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
8557 (ses-aset-with-undo, ses-load, ses-truncate-cell)
8558 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
8559 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
8560 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
8561 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
8562 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
8563 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
8564 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
8565 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
8566
8567 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
8568
8569 * ses.el: The overall change is to add cell renaming, that is
8570 setting fancy names for cell symbols other than name matching
8571 "\\`[A-Z]+[0-9]+\\'" regexp .
8572 (ses-create-cell-variable): New defun.
8573 (ses-relocate-formula): Relocate formulas only for cells the
8574 symbols of which are not renamed, i.e. symbols whose names do not
8575 match regexp "\\`[A-Z]+[0-9]+\\'".
8576 (ses-relocate-all): Relocate values only for cells the symbols of
8577 which are not renamed.
8578 (ses-load): Create cells variables as the (ses-cell ...) are read,
8579 in order to check row col consistency with cell symbol name only
8580 for cells that are not renamed.
8581 (ses-replace-name-in-formula): New defun.
8582 (ses-rename-cell): New defun.
8583
8584 2011-12-11 Chong Yidong <cyd@gnu.org>
8585
8586 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
8587 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
8588
8589 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
8590
8591 * window.el (other-window): Fix docstring.
8592
8593 2011-12-10 Eli Zaretskii <eliz@gnu.org>
8594
8595 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
8596 `from' or `to' address before taking its substring.
8597 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
8598 encoded name is chopped in the middle of the encoded string, and
8599 thus displayed encoded.
8600
8601 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
8602
8603 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
8604
8605 2011-12-10 Eli Zaretskii <eliz@gnu.org>
8606
8607 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
8608 to use texinfo-update-node and commands that call it if the
8609 Texinfo file uses @node lines without next/prev/up pointers.
8610 Correct outdated description about texinfo-master-menu.
8611 (texinfo-all-menus-update, texinfo-master-menu)
8612 (texinfo-update-node, texinfo-every-node-update)
8613 (texinfo-multiple-files-update): Doc fix. Warn against updating
8614 all the @node lines.
8615 (texinfo-master-menu): Only call texinfo-update-node if the prefix
8616 argument is numeric. Explain better in the doc string what the
8617 function really does.
8618 (texinfo-insert-master-menu-list): Improve the error message
8619 displayed if there's no menu in the Top node.
8620 (Bug#2975) See also this thread:
8621 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
8622
8623 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
8624
8625 * speedbar.el (speedbar-supported-extension-expressions):
8626 Add .adb and .ads, commonly used for Ada source code (bug#10256).
8627
8628 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
8629
8630 * printing.el (pr-mode-alist):
8631 * simple.el (filter-buffer-substring-functions)
8632 (completion-list-insert-choice-function):
8633 * window.el (window-with-parameter, window-atom-root)
8634 (window-sides-slots, window-size-fixed, window-min-delta)
8635 (window-max-delta, window--resize-mini-window)
8636 (window--resize-child-windows-normal, window-tree)
8637 (delete-other-windows, quit-window, split-window)
8638 (display-buffer-record-window, special-display-buffer-names)
8639 (special-display-regexps, special-display-popup-frame)
8640 (same-window-p, split-window-sensibly)
8641 (display-buffer-overriding-action, display-buffer-alist)
8642 (display-buffer-base-action, display-buffer, switch-to-buffer)
8643 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
8644 (fit-window-to-buffer, recenter-positions)
8645 (mouse-autoselect-window-state, mouse-autoselect-window-select):
8646 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
8647 and remove unneeded backslashes in docstrings.
8648
8649 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8650
8651 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
8652
8653 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
8654 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
8655 end in ".mk".
8656 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
8657 when reading the makefile (bug#10116).
8658
8659 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
8660
8661 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
8662 (bug#10116).
8663
8664 2011-12-06 Glenn Morris <rgm@gnu.org>
8665
8666 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
8667
8668 2011-12-06 Chong Yidong <cyd@gnu.org>
8669
8670 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
8671
8672 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
8673
8674 * textmodes/table.el (table-shorten-cell): Fix typo.
8675
8676 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
8677
8678 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
8679
8680 2011-12-05 Eli Zaretskii <eliz@gnu.org>
8681
8682 * descr-text.el (describe-char): Fix display of strong
8683 right-to-left characters and directional embeddings and overrides.
8684
8685 * simple.el (what-cursor-position): Fix display of codepoints of
8686 strong right-to-left characters.
8687
8688 2011-12-05 Chong Yidong <cyd@gnu.org>
8689
8690 * faces.el (read-color): Doc fix.
8691
8692 2011-12-05 Glenn Morris <rgm@gnu.org>
8693
8694 * align.el (align--set-marker): Add doc-string.
8695 Don't try to move something that is not a marker. (Bug#10216)
8696
8697 2011-12-04 Glenn Morris <rgm@gnu.org>
8698
8699 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
8700 overly zealous deletion of trailing whitespace.
8701
8702 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
8703
8704 * server.el (server-delete-client): On Windows, do not try to delete
8705 the only terminal.
8706 (server-process-filter): On Windows, treat requests for a tty frame as
8707 if they were for a GUI frame if the running server is in GUI mode.
8708
8709 2011-12-03 Glenn Morris <rgm@gnu.org>
8710
8711 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
8712
8713 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8714
8715 * electric.el: Streamline electric-indent's hook.
8716 (electric-indent-chars): Revert to simple list.
8717 (electric-indent-functions): New var.
8718 (electric-indent-post-self-insert-function): Use it.
8719
8720 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
8721 there's no inferior buffer (bug#10196).
8722 (prolog-consult-compile): Don't use toggle-read-only.
8723
8724 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
8725
8726 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
8727 interrupt. (Bug#10187)
8728
8729 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8730
8731 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
8732 (bug#9160).
8733
8734 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
8735 (bug#10191).
8736
8737 2011-12-02 Juri Linkov <juri@jurta.org>
8738
8739 * info.el (Info-search): Display "end of manual" when Isearch
8740 reaches the end of single-file Info manual. (Bug#9918)
8741
8742 2011-12-02 Eli Zaretskii <eliz@gnu.org>
8743
8744 * isearch.el (isearch-message-prefix): Run the input method part
8745 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
8746
8747 2011-12-02 Juri Linkov <juri@jurta.org>
8748
8749 * isearch.el (isearch-occur): Use `word-search-regexp' for
8750 `isearch-word'.
8751 (isearch-search-and-update): Add condition for `isearch-word' and
8752 call `word-search-regexp'. (Bug#10145)
8753
8754 2011-12-01 Glenn Morris <rgm@gnu.org>
8755
8756 * eshell/em-hist.el (eshell-hist-initialize):
8757 Handle eshell-history-size nil and HISTSIZE set or unset.
8758 (eshell-history-file-name, eshell-history-size): Fix custom type.
8759
8760 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8761
8762 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
8763
8764 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
8765
8766 * progmodes/verilog-mode.el (verilog-pretty-expr):
8767 Rework verilog-pretty-expr to handle new assignment operators in system
8768 verilog, such as += *= and the like.
8769 (verilog-assignment-operator-re): Regular expression to find the
8770 assigment operator in a verilog assignment.
8771 (verilog-assignment-operation-re): Regular expression to find an
8772 assignment statement for pretty-expr.
8773 (verilog-in-attribute-p): Query returns true if point is in an
8774 attribute context; used to skip these for expression line up from
8775 pretty-expr.
8776 (verilog-in-parameter-p): Query returns true if point is in an
8777 parameter definition context; used to skip these for expression
8778 line up from pretty-expr.
8779 (verilog-in-parenthesis-p): Query returns true if point is in a
8780 parenthetical expression, specifically ( ) but not [ ] or { };
8781 used by pretty-expr.
8782 (verilog-just-one-space): If there is no space, don't add one.
8783 (verilog-get-lineup-indent-2): Specifically skip just attribute
8784 contexts for expression lineup, rather than skipping all
8785 parenthetical expressions.
8786 (verilog-calculate-indent): Fix comment, and fix indent.
8787 (verilog-do-indent): Indent declarations in lists (suggested by
8788 Joachim Lechner).
8789 (verilog-mode-abbrev-table): Populate abbrev mode with the various
8790 skeleton items.
8791 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
8792 by Alain Mellan).
8793
8794 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
8795
8796 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
8797 parameters with embedded comments. Reported by Ray Stevens.
8798 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
8799 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
8800 Reported by Tim Holt.
8801 (verilog-auto): Fix AUTOing a upper module then AUTOing module
8802 instantiated by upper module causing wrong expansion until AUTOed a
8803 second time. Reported by K C Buckenmaier.
8804 (verilog-diff-auto): Fix showing .* as a difference when
8805 `verilog-auto-star-save' off. Reported by Dan Dever.
8806 (verilog-auto-reset, verilog-read-always-signals)
8807 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
8808 temporary signals in reset list if
8809 verilog-auto-reset-blocking-in-non is nil, and match assignment
8810 style to each signal's assignment type, bug381.
8811 Reported by Thomas Esposito.
8812 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
8813 (verilog-uvm-statement-re): Support UVM indentation and
8814 highlighting, with old OVM keywords only.
8815 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
8816 Support AUTOTIEOFF creating non-wire data types.
8817 Suggested by Jonathan Greenlaw.
8818 (verilog-auto-insert-lisp, verilog-delete-to-paren)
8819 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
8820 (verilog-inject-sense, verilog-read-inst-pins)
8821 (verilog-read-sub-decls, verilog-read-sub-decls-line):
8822 Fix mismatching parenthesis inside commented out code when deleting
8823 AUTOINST, bug383. Reported by Jonathan Greenlaw.
8824 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
8825 non-numeric vector width. Reported by Alex Reed.
8826 (verilog-auto-ascii-enum): Add "onehot" option to work around not
8827 detecting signals with parameter widths. Reported by Alex Reed.
8828 (verilog-auto-delete-trailing-whitespace):
8829 With `verilog-auto-delete-trailing-whitespace' remove trailing
8830 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
8831 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
8832 Fix verilog-scan-cache corruption when running user AUTO expansion
8833 hooks that call indentation routines.
8834 (verilog-simplify-range-expression): Fix typo ignoring lower case
8835 identifiers.
8836 (verilog-delete-auto): Fix delete-autos to also remove user created
8837 automatics, as long as they start with AUTO.
8838 (verilog-batch-diff-auto, verilog-diff-auto)
8839 (verilog-diff-function): Add `verilog-diff-auto' and bind to
8840 "C-c?" to report differences in AUTO expansion, ignoring spaces.
8841 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
8842 (verilog-in-paren-quick, verilog-re-search-backward-quick)
8843 (verilog-re-search-forward-quick, verilog-syntax-ppss):
8844 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
8845 is disabled and its cache will get corrupt, causing AUTOS not to
8846 expand. Instead use only -quick functions.
8847 (verilog-scan-region): Fix scanning over escaped quotes.
8848 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
8849 (verilog-re-search-backward-quick)
8850 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
8851 related functions now ignore strings, to fix misparsing of strings
8852 with magic comments embedded in them.
8853 (verilog-read-auto-template):
8854 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
8855 Reported by Brad Dobbie.
8856 (verilog-read-auto-template):
8857 Fix 'verilog-auto-inst-template-numbers' with comments.
8858 Reported by Brad Dobbie.
8859 (verilog-auto-inst, verilog-auto-inst-param)
8860 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
8861 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
8862 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
8863 debugging templates without merge conflicts, bug357.
8864 Reported by Brad Dobbie.
8865 (verilog-read-auto-template):
8866 Fix verilog-auto-inst-template-numbers with multiple templates.
8867 Reported by Brad Dobbie.
8868 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
8869 abbrevs so user won't be asked to save.
8870 (verilog-read-auto-lisp-present): Fix to start at beginning of
8871 buffer in case called outside of verilog-auto.
8872 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
8873 to "X-2". Reported by Matthew Myers.
8874 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
8875 all inputs from module templates. Reported by Leith Johnson.
8876 (verilog-module-inside-filename-p): Fix locating programs as with
8877 modules.
8878 (verilog-auto-inst-port): Fix vl-width expressions when using
8879 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
8880 (verilog-decls-get-regs, verilog-decls-get-signals,
8881 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8882 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8883 verilog-read-decls): Combine reg and wire structures into one var
8884 structure to represent SystemVerilog concepts.
8885 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8886 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
8887 (verilog-auto-wire-type, verilog-insert-definition):
8888 Add verilog-auto-wire-type and AUTOLOGIC to support using
8889 SystemVerilog "logic" keyword instead of "wire"/"reg".
8890 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8891 to declares outputs that also have assignments (presumably in an
8892 ifdef or generate if so there's not a driver conflict).
8893 Reported by Matthew Myers.
8894 (verilog-auto-declare-nettype, verilog-insert-definition):
8895 Add verilog-auto-declare-nettype to fix declarations using
8896 `default_nettype none. Reported by Julian Gorfajn.
8897 (verilog-read-always-signals-recurse, verilog-read-decls)
8898 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8899 malformed end statement, bug325. Reported by Joshua Wise and
8900 Andrew Drake.
8901 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8902 (verilog-inst-comment-re): Fix not deleting Interfaced comment
8903 when expanding .* in interfaces, bug320.
8904 Reported by Pierre-David Pfister.
8905 (verilog-read-module-name): Fix import statements between module
8906 name and open parenthesis, bug317.
8907 Reported by Pierre-David Pfister.
8908 (verilog-simplify-range-expression): Fix simplification of
8909 multiplications inside AUTOWIRE connections, bug303.
8910 (verilog-auto-inst-port): Support parameter expansion in
8911 multidimensional arrays.
8912 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8913 after "assert property". Reported by Julian Gorfajn.
8914 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8915 with multiplication, bug303.
8916 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8917 Reported by Jan Frode Lonnum.
8918
8919 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
8920
8921 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8922 (hfy-shell-file-name, hfy-shell):
8923 * international/fontset.el (x-decompose-font-name): Fix typos.
8924
8925 2011-11-29 Ken Brown <kbrown@cornell.edu>
8926
8927 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8928 (gdb-version): Remove defvar.
8929 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8930 (gdb-gud-context-command, gdb-non-stop-handler)
8931 (gdb-current-context-command, gdb-stopped): Use it.
8932 (gdb-init-1): Enable pretty printing here.
8933 (gdb-non-stop-handler): Don't enable pretty-printing here.
8934 Check to see if the target supports non-stop mode; if not, turn off
8935 non-stop mode. Use the following.
8936 (gdb-check-target-async): New defun.
8937 (gud-watch, gdb-stopped): Fix whitespace.
8938 (gdb-get-source-file): Don't try to display the source file if
8939 `gdb-main-file' is nil.
8940
8941 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8942
8943 * align.el: Try to generate fewer markers (bug#10047).
8944 (align--set-marker): New macro.
8945 (align-region): Use it.
8946
8947 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8948
8949 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8950
8951 2011-11-29 Chong Yidong <cyd@gnu.org>
8952
8953 * indent.el (indent-for-tab-command, indent-according-to-mode):
8954 Doc fix.
8955 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8956
8957 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
8958
8959 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8960 aware of remote file names. (Bug#10124)
8961
8962 2011-11-29 Chong Yidong <cyd@gnu.org>
8963
8964 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8965
8966 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8967
8968 * files.el (find-file): Don't use force-same-window (bug#10144).
8969 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8970 use pop-to-buffer if the selected window can't be used.
8971 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8972
8973 2011-11-28 Eli Zaretskii <eliz@gnu.org>
8974
8975 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8976 special-mode-map.
8977
8978 2011-11-28 Chong Yidong <cyd@gnu.org>
8979
8980 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8981
8982 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
8983
8984 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8985 gdb-get-source-file-list on gdb-create-source-file-list.
8986
8987 2011-11-26 Eli Zaretskii <eliz@gnu.org>
8988
8989 * whitespace.el (whitespace-newline): Use a different foreground
8990 color for 16-color light-background displays.
8991
8992 2011-11-24 Chong Yidong <cyd@gnu.org>
8993
8994 * window.el (display-buffer--special-action): Doc fix.
8995
8996 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
8997
8998 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8999 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
9000 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
9001 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
9002 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
9003 (avl-tree-stack-first):
9004 * emacs-lisp/cconv.el (cconv--analyse-use):
9005 * net/gnutls.el (gnutls-negotiate): Fix typos.
9006
9007 2011-11-24 Glenn Morris <rgm@gnu.org>
9008
9009 * lpr.el (lpr-windows-system, lpr-lp-system):
9010 * mail/binhex.el (binhex-begin-line):
9011 * progmodes/grep.el (grep-history, grep-find-history):
9012 * textmodes/flyspell.el:
9013 * vc/pcvs-defs.el (cvs-global-menu):
9014 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
9015 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
9016 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
9017
9018 * net/tls.el: Fix case of "GnuTLS".
9019
9020 * paths.el (rmail-file-name): Format doc-string for make-docfile.
9021
9022 * version.el (emacs-build-system): Give it a doc-string.
9023
9024 2011-11-24 Juri Linkov <juri@jurta.org>
9025
9026 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
9027
9028 2011-11-24 Glenn Morris <rgm@gnu.org>
9029
9030 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
9031 if called on a non-mime message just toggle the headers. (Bug#8006)
9032
9033 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
9034
9035 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
9036 (allout-lead-with-comment-string, allout-structure-deleted-hook)
9037 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
9038 (allout-rebullet-heading, allout-open-sibtopic)
9039 (allout-toggle-current-subtree-encryption)
9040 (allout-toggle-subtree-encryption, allout-encrypt-string)
9041 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
9042 (allout-distinctive-bullets-string, allout-auto-activation):
9043 * window.el (window-normalize-buffer-to-display):
9044 * progmodes/verilog-mode.el (verilog-batch-indent):
9045 * textmodes/bibtex.el (bibtex-field-braces-opt)
9046 (bibtex-field-strings-opt):
9047 * vc/cvs-status.el (cvs-tree-merge):
9048 Fix typos.
9049
9050 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
9051
9052 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
9053 `non-essential' to t, in order to avoid remote connections.
9054
9055 2011-11-23 Eli Zaretskii <eliz@gnu.org>
9056
9057 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9058 On MS-DOS and MS-Windows, compare with loaddefs.el
9059 case-insensitively.
9060
9061 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9062
9063 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
9064
9065 2011-11-23 Glenn Morris <rgm@gnu.org>
9066
9067 * paths.el (rmail-file-name): Reformat the doc-string so that it
9068 is picked up.
9069
9070 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
9071 (rmail-auto-file): Ignore case in the "special" field names,
9072 as mail-fetch-field does for all others.
9073
9074 * mail/rmail.el (rmail-forward):
9075 * mail/rmailkwd.el (rmail-set-label):
9076 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
9077 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
9078
9079 * mail/rmail.el (rmail-current-message): Doc fix.
9080
9081 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
9082
9083 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
9084
9085 * server.el (server-eval-and-print): Allow C-g (bug#6585).
9086
9087 2011-11-22 Glenn Morris <rgm@gnu.org>
9088
9089 * mail/rmailmm.el (test-rmail-mime-handler)
9090 (test-rmail-mime-bulk-handler)
9091 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
9092
9093 2011-11-21 Juri Linkov <juri@jurta.org>
9094
9095 * calc/calc.el (calc-read-key-sequence):
9096 Let-bind `input-method-function' to nil. (Bug#10018)
9097
9098 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9099
9100 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
9101 Tell the caller that the next line needs recomputation, even
9102 though it doesn't start a sexp (bug#10094).
9103
9104 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
9105
9106 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
9107
9108 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9109
9110 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9111 Use force-same-window.
9112
9113 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
9114
9115 * descr-text.el (describe-char-unicode-data):
9116 * json.el (json-string-escape):
9117 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
9118 (Footnote-unicode, Footnote-style-p):
9119 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
9120
9121 2011-11-20 Chong Yidong <cyd@gnu.org>
9122
9123 * window.el (replace-buffer-in-windows): Restore interactive spec.
9124
9125 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9126
9127 * electric.el (electric-indent-mode): Fix last change (too optimistic).
9128
9129 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
9130 (byte-compile-global-not-obsolete-vars): New var.
9131 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
9132 Use it.
9133 (byte-compile-warn-obsolete): Align text with the one in *Help*.
9134
9135 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
9136
9137 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
9138 * progmodes/pascal.el (electric-pascal-equal):
9139 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
9140 * xml.el (xml-substitute-special): Fix typos.
9141
9142 2011-11-20 Glenn Morris <rgm@gnu.org>
9143
9144 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
9145 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
9146 Doc fixes.
9147 (rmail-decode-mime-charset): Mark as obsolete.
9148
9149 * mail/rmailsum.el (rmail-message-regexp-p-1):
9150 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
9151 Before using mime functions, check they are set. (Bug#10077)
9152
9153 2011-11-19 Juri Linkov <juri@jurta.org>
9154
9155 * info.el (Info-finder-find-node): Use `package--builtins' instead
9156 of `package-alist'. Use node names formed by the pattern "Keyword "
9157 and the keyword name.
9158
9159 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9160
9161 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
9162
9163 2011-11-19 Juri Linkov <juri@jurta.org>
9164
9165 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
9166 that calls `revert-buffer' on all Info buffers. (Bug#9915)
9167 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
9168 `old-history', `old-history-forward'. Add let-binding
9169 `window-selected'. Remove calls to `kill-buffer',
9170 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
9171 before calling `Info-find-node', so `Info-find-node-2' will reread
9172 the Info file. Restore window positions only when `window-selected'
9173 is non-nil.
9174
9175 2011-11-19 Juri Linkov <juri@jurta.org>
9176
9177 * isearch.el (isearch-lazy-highlight-new-loop):
9178 Remove condition `(not isearch-error)'. (Bug#9918)
9179
9180 * misearch.el (multi-isearch-search-fun): Add condition
9181 `(not bound)' to ignore lazy-highlighting search.
9182 Add the search-failed message "end of multi" when the end of
9183 multi-sequence is reached. Uncapitalize the search-failed
9184 message "Repeat for next buffer".
9185
9186 * info.el (Info-search): Add the search-failed message
9187 "end of the manual" when the end of the manual is reached
9188 in Isearch mode.
9189
9190 2011-11-19 Juri Linkov <juri@jurta.org>
9191
9192 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
9193 Use non-destructive `remove' instead of `delete' because
9194 `Info-history-list' stored to `Info-isearch-initial-history-list' in
9195 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
9196
9197 2011-11-19 Juri Linkov <juri@jurta.org>
9198
9199 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
9200 to nil instead of binding `search-ring' and `regexp-search-ring'.
9201 (Bug#9185)
9202
9203 2011-11-19 Eli Zaretskii <eliz@gnu.org>
9204
9205 * simple.el (line-move): Force movement by logical lines for any
9206 hscrolled window, not only when auto-hscroll-mode is on.
9207 (line-move-visual): Update doc string to that effect. (Bug#10076)
9208
9209 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9210
9211 * language/european.el (macintosh): Define as alias for mac-roman.
9212
9213 2011-11-19 Eli Zaretskii <eliz@gnu.org>
9214
9215 * mail/rmailmm.el (rmail-mime-display-header)
9216 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
9217 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
9218 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
9219 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
9220 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
9221 of a raw aref.
9222 (rmail-mime-entity-segment): To get past the tagline, move forward
9223 2 more lines, to account for the 2 empty lines that precede and
9224 follow the line with the buttons.
9225 (rmail-mime-update-tagline): Move one more line, to get past the
9226 empty line that follows the buttons in the tagline. (Bug#9520)
9227
9228 2011-11-19 Martin Rudalics <rudalics@gmx.at>
9229
9230 * window.el (window-max-delta-1, window-min-delta-1)
9231 (window-min-size-1, window-state-get-1, window-state-put-1)
9232 (window-state-put-2): Use "window--" prefix.
9233
9234 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
9235
9236 * emacs-lisp/smie.el: Improve warnings and conflict detection.
9237 (smie-warning-count): New var.
9238 (smie-set-prec2tab): Use it.
9239 (smie-bnf->prec2): Improve warnings. Add docstring.
9240 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
9241 (smie-bnf--set-class): New function.
9242 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
9243 corner case.
9244
9245 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
9246 (compilation-error-properties, compilation-move-to-column):
9247 Handle compilation-first-column while in the target buffer.
9248
9249 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
9250 Don't hardcode point-min==1.
9251
9252 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
9253 (eshell-rewrite-for-command): Remove workaround.
9254 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
9255 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
9256 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
9257
9258 * files-x.el (modify-file-local-variable): Obey commenting conventions.
9259
9260 2011-11-17 Glenn Morris <rgm@gnu.org>
9261
9262 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9263 Ignore buffer-local generated-autoload-file if it is the same
9264 as the global value. (Bug#10049)
9265
9266 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
9267
9268 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
9269 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
9270 (reftex-toc-previous-heading, reftex-toc-max-level)
9271 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
9272 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
9273 (reftex-toc-do-promote, reftex-toc-promote-prepare)
9274 (reftex-toc-promote-action, reftex-toc-extract-section-number)
9275 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
9276 (reftex-toc-rename-label, reftex-toc-visit-location)
9277 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
9278 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
9279 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
9280 leaving "*toc*" only for references to the buffer.
9281
9282 2011-11-17 Martin Rudalics <rudalics@gmx.at>
9283
9284 * window.el (window-resize, delete-window, split-window):
9285 Replace window-splits by window-combination-resize.
9286 * cus-start.el (window-splits): Replace by window-combination-resize.
9287
9288 2011-11-17 Glenn Morris <rgm@gnu.org>
9289
9290 * progmodes/sh-script.el (sh-font-lock-keywords-var):
9291 Make bash entry derive from sh entry, not shell entry.
9292
9293 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
9294
9295 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
9296 local file name.
9297
9298 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
9299
9300 * menu-bar.el (menu-bar-file-menu):
9301 * printing.el (pr-ps-utility):
9302 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
9303 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
9304 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
9305 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
9306 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
9307 (icalendar--convert-cyclic-to-ical)
9308 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
9309 (icalendar--convert-ical-to-diary)
9310 (icalendar--convert-recurring-to-diary)
9311 (icalendar--convert-non-recurring-all-day-to-diary)
9312 (icalendar-import-format-sample):
9313 * progmodes/idlw-shell.el (idlwave-shell-mode):
9314 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
9315 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
9316 (vhdl-ps-print-init): Fix typos.
9317
9318 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
9319
9320 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
9321 FSF and collapse date sequence, obscure author/maintainer email address
9322 better, remove extra version line, track relocation of author's webpage.
9323
9324 * progmodes/python.el (python-pdbtrack-input-prompt)
9325 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
9326 regular python pdb prompts. Adjustments shamelessly taken exactly as
9327 suggested in EmacsWiki page (tiny change):
9328 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
9329
9330 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
9331
9332 * expand.el (expand-pos, expand-index, expand-point):
9333 Remove redundant info from docstring.
9334 (expand-add-abbrevs): Doc fix.
9335 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
9336 (expand-sample-perl-mode-expand-list): Fix typos.
9337
9338 * net/dbus.el (dbus-event-member-name):
9339 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
9340 * term/pc-win.el (msdos-create-frame-with-faces):
9341 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
9342
9343 2011-11-16 Martin Rudalics <rudalics@gmx.at>
9344
9345 * window.el (split-window, window-state-get-1)
9346 (window-state-put-1, window-state-put-2): Rename occurrences of
9347 window-nest to window-combination-limit.
9348 * cus-start.el (window-nest): Rename to window-combination-limit.
9349
9350 2011-11-16 Chong Yidong <cyd@gnu.org>
9351
9352 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
9353 regexp (Bug#10033).
9354
9355 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
9356
9357 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
9358 `completing-read' will remove *Completions* and will preserve
9359 current-buffer for us.
9360 (tmm-add-prompt): Users of *Completions* will always (re)set its
9361 major mode.
9362 (tmm-old-comp-map): Remove.
9363
9364 2011-11-16 Glenn Morris <rgm@gnu.org>
9365
9366 * mail/rmailedit.el: Require rmailmm when compiling.
9367 (rmail-old-mime-state): New declaration.
9368 (rmail-edit-current-message): If editing a mime message,
9369 edit the "raw" message from the mbox buffer.
9370 (rmail-cease-edit): Handle mime messages. (Bug#9840)
9371
9372 2011-11-15 Glenn Morris <rgm@gnu.org>
9373
9374 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
9375 which wasn't being used. Add optional arg to force given state.
9376 (rmail-mime): Add optional arg to force given state.
9377
9378 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
9379
9380 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9381 * frame.el (display-mm-dimensions-alist):
9382 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
9383 (outline-move-subtree-down):
9384 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
9385 (newsticker--treeview-do-get-node):
9386 * net/quickurl.el (quickurl-list-buffer-name):
9387 * progmodes/dcl-mode.el (dcl-mode):
9388 * progmodes/gdb-mi.el (gdb-mapcar*):
9389 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
9390
9391 2011-11-15 Glenn Morris <rgm@gnu.org>
9392
9393 * mail/rmail.el (rmail-file-coding-system): It's only ever used
9394 in a boolean sense, so just make it a boolean, and fix the doc.
9395 (rmail-show-mime-function, rmail-mime-feature)
9396 (rmail-require-mime-maybe): Doc fixes.
9397 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
9398
9399 * mail/rmailmm.el (rmail-show-mime): Doc fix.
9400
9401 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
9402
9403 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
9404 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
9405 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
9406 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
9407
9408 2011-11-15 Glenn Morris <rgm@gnu.org>
9409
9410 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
9411 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
9412 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
9413 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
9414 (rmail-mime, rmail-show-mime): Doc fixes.
9415
9416 * term/ns-win.el (mode-line-frame-identification):
9417 Leave it alone. (Bug#10051)
9418
9419 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
9420
9421 * mail/rmailout.el (rmail-output-to-rmail-buffer):
9422 Handle empty buffers. (Bug#9978)
9423
9424 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
9425
9426 * international/mule.el (define-charset):
9427 * mail/rmailmm.el (rmail-mime-find-header-encoding):
9428 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
9429 * progmodes/verilog-mode.el (verilog-backward-token):
9430 * textmodes/ispell.el (lookup-words):
9431 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
9432
9433 2011-11-14 Glenn Morris <rgm@gnu.org>
9434
9435 * progmodes/executable.el
9436 (executable-make-buffer-file-executable-if-script-p):
9437 Handle file-modes returning nil.
9438
9439 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
9440 message - not necessary, and causes problems. (Bug#9831)
9441
9442 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
9443
9444 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
9445
9446 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
9447 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
9448 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
9449
9450 2011-11-12 Martin Rudalics <rudalics@gmx.at>
9451
9452 * window.el (window-resize, delete-window): Use window-splits
9453 variable instead of function.
9454 (window-state-get-1, window-state-put-2, window-state-put):
9455 Don't deal with windows' splits status.
9456
9457 2011-11-12 Glenn Morris <rgm@gnu.org>
9458
9459 * apropos.el (apropos-do-all, apropos-library, apropos-value)
9460 (apropos-documentation): Doc fixes.
9461
9462 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
9463
9464 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
9465 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
9466
9467 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9468
9469 * electric.el (electric-indent-post-self-insert-function): Make it
9470 possible for a char to only indent in some circumstances.
9471 (electric-indent-mode): Simplify.
9472
9473 2011-11-11 Martin Rudalics <rudalics@gmx.at>
9474
9475 * window.el (windows-with-parameter): Remove unused function.
9476 (windows-at-side): Rename to window-at-side-list.
9477 (window-check, window-atom-check, window-atom-check-1)
9478 (window-side-check, window-size-ignore, window-size-fixed-1)
9479 (window-in-direction-2): Prefix with "window--".
9480 (window-tree-1): Rename to window--subtree, fix doc-string.
9481
9482 2011-11-11 Glenn Morris <rgm@gnu.org>
9483
9484 * subr.el (eval-after-load): If FILE is already loaded,
9485 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
9486
9487 2011-11-10 Glenn Morris <rgm@gnu.org>
9488
9489 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
9490 Call svn via vc-svn-command rather than vc-do-command.
9491 (vc-svn-command): Add --non-interactive. (Bug#9993)
9492 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
9493
9494 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9495 Add toggle-read-only. (Bug#7292)
9496 * files.el (toggle-read-only): Mention that it should only
9497 be used interactively. (Bug#10006)
9498
9499 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
9500
9501 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9502 Adjust regexp for OCaml warnings.
9503
9504 * electric.el (electric-pair-post-self-insert-function): Let user
9505 turn it off buffer-locally (bug#9932).
9506
9507 * progmodes/python.el (python-beginning-of-statement):
9508 Rewrite (bug#2703).
9509
9510 * progmodes/compile.el: Better handle TABs (bug#9749).
9511 (compilation-internal-error-properties)
9512 (compilation-next-error-function): Obey the target buffer's
9513 compilation-error-screen-columns.
9514
9515 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
9516
9517 * progmodes/meta-mode.el: Remove obsolete comments.
9518 (meta-right-comment-regexp, meta-ignore-comment-regexp):
9519 Fix typos in docstrings.
9520
9521 2011-11-09 Martin Rudalics <rudalics@gmx.at>
9522
9523 * window.el (window-size-fixed-p): Rewrite doc-string.
9524 (window-resizable-p): Rename to window--resizable-p. Update callers.
9525 (window--resizable): New function. Make all callers of
9526 window-resizable call window--resizable instead.
9527 (window-resizable): Rewrite in terms of window--resizable.
9528
9529 2011-11-08 Glenn Morris <rgm@gnu.org>
9530
9531 * progmodes/delphi.el (delphi-mode-syntax-table):
9532 Let define-derived-mode define a proper syntax table. (Bug#9994)
9533
9534 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9535
9536 * window.el: Stay away from defsubst.
9537 (window-list-no-nils): Remove.
9538 (window-state-get-1, window-state-get): Use backquote instead.
9539
9540 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9541
9542 * emacs-lisp/find-func.el (find-function-read):
9543 Fix incorrect use of default argument in `completing-read'.
9544
9545 2011-11-08 Martin Rudalics <rudalics@gmx.at>
9546
9547 * window.el (display-buffer-function, special-display-function):
9548 Mention display-buffer-record-window but do not mention
9549 help-setup parameter in doc-strings.
9550 (window-min-delta): Fix doc-string typo.
9551
9552 2011-11-08 Chong Yidong <cyd@gnu.org>
9553
9554 * window.el (window-total-height, window-total-width): Doc fix.
9555 (window-body-size): Move from C.
9556 (window-body-height, window-body-width): Move to C.
9557
9558 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9559
9560 * window.el: Make special-display like display-buffer-alist (bug#9532).
9561 (display-buffer--special-action): New function, morphed
9562 from display-buffer--special.
9563 (display-buffer): Use it to handle special-display-buffers at higher
9564 priority (just after display-buffer-alist).
9565 (display-buffer-fallback-action, display-buffer--other-frame-action)
9566 (pop-to-buffer-same-window): Remove display-buffer--special.
9567
9568 2011-11-07 Glenn Morris <rgm@gnu.org>
9569
9570 * calendar/cal-menu.el (cal-menu-set-date-title):
9571 Do nothing if not in a calendar. (Bug#9976)
9572
9573 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
9574
9575 * files.el (find-file): Always use selected-window.
9576
9577 2011-11-07 Martin Rudalics <rudalics@gmx.at>
9578
9579 * window.el (window-combinations): Make WINDOW argument
9580 mandatory. Rewrite doc-string.
9581 (walk-window-subtree, window-atom-check, window-min-delta)
9582 (window-max-delta, window--resize-this-window)
9583 (window--resize-root-window-vertically, window-tree)
9584 (balance-windows, window-state-put): Rewrite doc-strings as to
9585 not mention the term "subwindow".
9586 (window--resize-subwindows-skip-p): Rename to
9587 window--resize-child-windows-skip-p.
9588 (window--resize-subwindows-normal): Rename to
9589 window--resize-child-windows-normal.
9590 (window--resize-subwindows): Rename to
9591 window--resize-child-windows.
9592 (window-or-subwindow-p): Rename to window--in-subtree-p.
9593
9594 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9595
9596 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
9597 Ensure that mbox format messages end in two newlines (Bug#9974).
9598
9599 2011-11-06 Chong Yidong <cyd@gnu.org>
9600
9601 * window.el (window-combination-p): Function deleted; its
9602 side-effect is not used in any existing code.
9603 (window-combinations, window-combined-p): Call window-*-child
9604 directly.
9605
9606 2011-11-05 Chong Yidong <cyd@gnu.org>
9607
9608 * window.el (window-valid-p): Rename from window-any-p.
9609 (window-size-ignore, window-state-get): Callers changed.
9610 (window-normalize-window): Rename from window-normalize-any-window.
9611 New arg LIVE-ONLY, replacing window-normalize-live-window.
9612 (window-normalize-live-window): Delete.
9613 (window-combination-p, window-combined-p, window-combinations)
9614 (walk-window-subtree, window-atom-root, window-min-size)
9615 (window-sizable, window-sizable-p, window-size-fixed-p)
9616 (window-min-delta, window-max-delta, window-resizable)
9617 (window-resizable-p, window-full-height-p, window-full-width-p)
9618 (window-current-scroll-bars, window-point-1, set-window-point-1)
9619 (window-at-side-p, window-in-direction, window-resize)
9620 (adjust-window-trailing-edge, maximize-window, minimize-window)
9621 (window-deletable-p, delete-window, delete-other-windows)
9622 (record-window-buffer, unrecord-window-buffer)
9623 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
9624 (quit-window, split-window, window-state-put)
9625 (set-window-text-height, fit-window-to-buffer)
9626 (shrink-window-if-larger-than-buffer): Callers changed.
9627
9628 2011-11-04 Eli Zaretskii <eliz@gnu.org>
9629
9630 * mail/rmail.el (rmail-simplified-subject): Decode subject with
9631 rfc2047-decode-string.
9632 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
9633 warnings.
9634
9635 * window.el (window-body-height, window-body-width): Mention in
9636 the doc string that the return values are in frame's canonical
9637 units. (Bug#9949)
9638
9639 2011-11-03 Alan Mackenzie <acm@muc.de>
9640
9641 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
9642 change in cc-engine.el.
9643
9644 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
9645
9646 * window.el (switch-to-buffer): Use `force-same-window' interactively.
9647
9648 2011-11-02 Martin Rudalics <rudalics@gmx.at>
9649
9650 * window.el (quit-window): Call unrecord-window-buffer after
9651 showing another buffer in the window. (Bug#9937)
9652 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
9653
9654 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
9655
9656 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
9657 Accept status with more than 9 shelves. (Bug#9935)
9658 Reported by Colin D Bennett <colin@gibibit.com>.
9659
9660 2011-11-01 Martin Rudalics <rudalics@gmx.at>
9661
9662 * help.el (with-help-window): Don't reference
9663 temp-buffer-show-specifiers in doc-string.
9664
9665 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
9666
9667 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
9668 menu-item.
9669
9670 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9671
9672 * whitespace.el: New version 13.2.2.
9673 (whitespace-newline-mode): Disable properly. Reported by Sarah
9674 <EmacsWiki>.
9675
9676 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
9677
9678 * net/newst-treeview.el: Remove "Time-stamp".
9679 (newsticker--group-manage-orphan-feeds): Do not call
9680 newsticker--treeview-tree-update.
9681 (newsticker-treeview-update, newsticker-treeview):
9682 Call newsticker--treeview-tree-update if necessary.
9683
9684 2011-10-30 Martin Rudalics <rudalics@gmx.at>
9685
9686 * window.el (window-iso-combination-p, window-iso-combined-p)
9687 (window-iso-combinations): Remove "iso-" infix.
9688 Suggested by Chong Yidong.
9689 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
9690 (window-max-delta-1, window-resize, window--resize-siblings)
9691 (window--resize-this-window, adjust-window-trailing-edge)
9692 (split-window, balance-windows-1)
9693 (shrink-window-if-larger-than-buffer):
9694 * calendar/calendar.el (calendar-generate-window):
9695 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
9696
9697 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9698
9699 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
9700 in place (bug#9907).
9701 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
9702 (eshell-rewrite-if-command, eshell-rewrite-for-command)
9703 (eshell-structure-basic-command, eshell-rewrite-while-command)
9704 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
9705 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
9706 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
9707 (eshell-do-pipelines-synchronously, eshell-eval-command):
9708 Use backquotes and prefer setq to set.
9709 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
9710 (eshell-macrop): Use functionp.
9711 (eshell-do-eval): Handle multiple expressions in `while' body.
9712
9713 2011-10-30 Chong Yidong <cyd@gnu.org>
9714
9715 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
9716 instead of set-mark (Bug#9810).
9717
9718 2011-10-30 Chong Yidong <cyd@gnu.org>
9719
9720 * window.el (split-window-below, split-window-right): Rename from
9721 split-window-above-each-other and split-window-side-by-side
9722 respectively. All callers changed.
9723 (split-window-sensibly, split-window-sensibly): Use them.
9724 (split-window-keep-point): Doc fix.
9725
9726 * isearch.el: Add isearch-scroll property to split-window-below
9727 and split-window-right.
9728
9729 * follow.el (follow-mode):
9730 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9731 * progmodes/ada-xref.el (ada-gdb-application):
9732 * emulation/vip.el (vip-buffer-in-two-windows):
9733 * image-dired.el (image-dired-dired-with-window-configuration):
9734 * dired-x.el (dired-do-find-marked-files):
9735 * dired.el (dired-pop-to-buffer):
9736 * bs.el (bs--show-with-configuration):
9737 * vc/emerge.el (emerge-setup-windows):
9738 * textmodes/two-column.el (2C-two-columns):
9739 * textmodes/reftex-toc.el (reftex-toc):
9740 * progmodes/gdb-mi.el (gdb-setup-windows):
9741 * progmodes/fortran.el (fortran-window-create):
9742 * net/newst-treeview.el (newsticker--treeview-window-init):
9743 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
9744 * emulation/tpu-edt.el (tpu-gold-map):
9745 * emulation/crisp.el (crisp-mode-map):
9746 * calendar/calendar.el (calendar-basic-setup): Callers changed.
9747
9748 2011-10-29 Chong Yidong <cyd@gnu.org>
9749
9750 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
9751
9752 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
9753
9754 * textmodes/flyspell.el (flyspell-word): Fix char offset for
9755 forged Ispell output (Bug#7904).
9756
9757 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
9758
9759 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9760
9761 * doc-view.el: Avoid ugly errors about not finding nil.
9762 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
9763 (doc-view-dvipdf-program, doc-view-unoconv-program)
9764 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
9765 Avoid nil or absolute file name as default value.
9766 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
9767
9768 2011-10-28 Alan Mackenzie <acm@muc.de>
9769
9770 * progmodes/cc-defs.el (c-version): -> 5.32.2.
9771
9772 2011-10-28 Alan Mackenzie <acm@muc.de>
9773
9774 Amend the handling of c-beginning/end-of-defun in nested declaration
9775 scopes.
9776
9777 * progmodes/cc-vars.el (c-defun-tactic): Move here from
9778 cc-langs.el. Change it to a defcustom.
9779
9780 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
9781 cc-vars.el.
9782
9783 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9784 Prevent "class foo : bar" being spuriously recognized as a label.
9785
9786 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
9787 Add parameter `inclusive' (to include enclosing braces in the region).
9788 (c-widen-to-enclosing-decl-scope): New function.
9789 (c-while-widening-to-decl-block): New macro.
9790 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
9791 outward for defun boundaries, and correspondingly change symbol
9792 `respect-enclosure' to `go-outward'.
9793 (c-declaration-limits): Change algorithm to report only the "innermost"
9794 defun's boundaries.
9795
9796 2011-10-28 Deniz Dogan <deniz@dogan.se>
9797
9798 * net/rcirc.el (rcirc-mode): Use hard newlines.
9799
9800 2011-10-28 Alan Mackenzie <acm@muc.de>
9801
9802 Amend to indent and fontify macros "which include their own semicolon"
9803 correctly, using the "virtual semicolon" mechanism.
9804
9805 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
9806
9807 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
9808 Recode to scan one line at a time rather than having \n and \r
9809 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
9810 (c-forward-label): Amend for virtual semicolons.
9811 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
9812
9813 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
9814 of the new C macros.
9815
9816 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
9817 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
9818 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
9819 (c-opt-cpp-macro-define): Make into a full language variable.
9820 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
9821 AWK Mode (including \n, \r) removed, no longer needed.
9822
9823 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
9824 Invoke c-make-macro-with-semi-re.
9825
9826 * progmodes/cc-vars.el (c-macro-with-semi-re):
9827 (c-macro-names-with-semicolon): New variables.
9828 (c-make-macro-with-semi-re): New function.
9829
9830 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9831
9832 * vc/log-edit.el: Fill empty field rather than adding new one.
9833 (log-edit-add-field): New function.
9834 (log-edit-insert-changelog): Use it.
9835
9836 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9837
9838 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
9839
9840 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9841
9842 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
9843 (gdb--check-interpreter): New function.
9844 (gdb): Use it.
9845
9846 2011-10-27 Glenn Morris <rgm@gnu.org>
9847
9848 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
9849 (least-positive-float, least-negative-float)
9850 (least-positive-normalized-float, least-negative-normalized-float)
9851 (float-epsilon, float-negative-epsilon):
9852 Remove unnecessary declarations.
9853
9854 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
9855 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
9856 (least-positive-float, least-negative-float)
9857 (least-positive-normalized-float, least-negative-normalized-float)
9858 (float-epsilon, float-negative-epsilon): Add doc-strings,
9859 based on those in cl.texi.
9860
9861 * files.el (set-visited-file-name): If the major-mode changed,
9862 reload the local variables. (Bug#9796)
9863
9864 2011-10-27 Chong Yidong <cyd@gnu.org>
9865
9866 * subr.el (change-major-mode-after-body-hook): New hook.
9867 (run-mode-hooks): Run it.
9868
9869 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9870 Use change-major-mode-before-body-hook.
9871
9872 * simple.el (fundamental-mode):
9873 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
9874 change introducing fundamental-mode-hook.
9875
9876 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
9877
9878 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
9879
9880 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
9881
9882 * ido.el (ido-file-name-all-completions-1): Do not require
9883 tramp.el explicitly. (Bug#7583)
9884
9885 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
9886
9887 * progmodes/octave-mod.el:
9888 * progmodes/octave-inf.el: Update maintainer.
9889
9890 2011-10-26 Chong Yidong <cyd@gnu.org>
9891
9892 * subr.el (with-wrapper-hook): Rewrite doc.
9893
9894 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
9895
9896 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
9897 filenames "/method:foo:". (Bug#9793)
9898
9899 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9900
9901 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9902 (bug#9865).
9903
9904 2011-10-24 Glenn Morris <rgm@gnu.org>
9905
9906 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9907
9908 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
9909
9910 * notifications.el: Add the requirement of a running D-Bus session
9911 bus to the Commentary.
9912
9913 2011-10-24 Juri Linkov <juri@jurta.org>
9914
9915 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9916 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9917 (Bug#9364)
9918
9919 2011-10-24 Juri Linkov <juri@jurta.org>
9920
9921 * info.el (Info-following-node-name-re): Add newline to the list
9922 of allowed characters for leading space. (Bug#9824)
9923
9924 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9925
9926 * progmodes/octave-inf.el (inferior-octave-mode-map):
9927 Fix C-c C-h binding.
9928 * progmodes/octave-mod.el (octave-help): Remove.
9929
9930 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
9931
9932 Sync with Tramp 2.2.3.
9933
9934 * net/tramp-cache.el (top): Pacify byte-compiler using
9935 `init-file-user' and `site-run-file'.
9936
9937 * net/trampver.el: Update release number.
9938
9939 2011-10-23 Chong Yidong <cyd@gnu.org>
9940
9941 * files.el (toggle-read-only): Remove obsolete comment about
9942 version control.
9943
9944 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9945 for toggle-read-only. Note that this hasn't called vc-next-action
9946 since 2008-05-02, though it wasn't documented at the time.
9947
9948 * vc/ediff-init.el (ediff-toggle-read-only-function):
9949 Use toggle-read-only.
9950
9951 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9952
9953 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9954 of c-parse-state.
9955
9956 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9957 correct faulty logical expression.
9958 (c-parse-state-state, c-record-parse-state-state):
9959 (c-replay-parse-state-state): New defvar/defuns.
9960 (c-debug-parse-state): Use new functions.
9961
9962 2011-10-22 Martin Rudalics <rudalics@gmx.at>
9963
9964 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
9965 last fix. Use window-in-direction correctly.
9966
9967 2011-10-21 Chong Yidong <cyd@gnu.org>
9968
9969 * progmodes/idlwave.el (idlwave-mode):
9970 * progmodes/vera-mode.el (vera-mode): No need to set
9971 require-final-newline; that's done in prog-mode.
9972 Suggested by Stefan Monnier.
9973
9974 2011-10-21 Martin Rudalics <rudalics@gmx.at>
9975
9976 * mouse.el (mouse-drag-window-above)
9977 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9978 (mouse-drag-mode-line-1, mouse-drag-header-line)
9979 (mouse-drag-vertical-line-rightward-window): Remove.
9980 (mouse-drag-line): New function.
9981 (mouse-drag-mode-line, mouse-drag-header-line)
9982 (mouse-drag-vertical-line): Call mouse-drag-line.
9983 * window.el (window-at-side-p, windows-at-side): New functions.
9984
9985 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
9986
9987 * tar-mode.el (tar-grind-file-mode):
9988 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9989
9990 2011-10-21 Chong Yidong <cyd@gnu.org>
9991
9992 * progmodes/idlwave.el (idlwave-mode):
9993 * progmodes/vera-mode.el (vera-mode):
9994 Use mode-require-final-newline.
9995
9996 2011-10-20 Glenn Morris <rgm@gnu.org>
9997
9998 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
9999
10000 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
10001
10002 * emulation/cua-base.el (cua-set-mark): Fix case of string.
10003
10004 2011-10-20 Chong Yidong <cyd@gnu.org>
10005
10006 * emulation/cua-base.el (cua-mode):
10007 * mail/footnote.el (footnote-mode):
10008 * mail/mailabbrev.el (mail-abbrevs-mode):
10009 * net/xesam.el (xesam-minor-mode):
10010 * progmodes/bug-reference.el (bug-reference-mode):
10011 * progmodes/cap-words.el (capitalized-words-mode):
10012 * progmodes/compile.el (compilation-minor-mode)
10013 (compilation-shell-minor-mode):
10014 * progmodes/gud.el (gud-tooltip-mode):
10015 * progmodes/hideif.el (hide-ifdef-mode):
10016 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
10017 * progmodes/subword.el (subword-mode):
10018 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10019 * progmodes/which-func.el (which-function-mode):
10020 * term/tvi970.el (tvi970-set-keypad-mode):
10021 * term/vt100.el (vt100-wide-mode):
10022 * textmodes/flyspell.el (flyspell-mode):
10023 * textmodes/ispell.el (ispell-minor-mode):
10024 * textmodes/nroff-mode.el (nroff-electric-mode):
10025 * textmodes/paragraphs.el (use-hard-newlines):
10026 * textmodes/refill.el (refill-mode):
10027 * textmodes/reftex.el (reftex-mode):
10028 * textmodes/rst.el (rst-minor-mode):
10029 * textmodes/sgml-mode.el (html-autoview-mode)
10030 (sgml-electric-tag-pair-mode):
10031 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
10032 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
10033 * emulation/crisp.el (crisp-mode):
10034 * emacs-lisp/eldoc.el (eldoc-mode):
10035 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
10036 minor mode behavior.
10037
10038 2011-10-19 Juri Linkov <juri@jurta.org>
10039
10040 * descr-text.el (describe-char): Add #x2010 and #x2011 to
10041 the list of hard-coded chars with escape-glyph face.
10042
10043 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
10044
10045 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
10046
10047 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
10048
10049 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
10050 running process.
10051
10052 2011-10-19 Glenn Morris <rgm@gnu.org>
10053
10054 * vc/vc-bzr.el (vc-bzr-after-dir-status):
10055 Ignore ignored files. (Bug#9726)
10056
10057 2011-10-19 Chong Yidong <cyd@gnu.org>
10058
10059 Doc fix for minor modes, stating that an omitted argument enables
10060 the mode unconditionally when called from Lisp.
10061
10062 * abbrev.el (abbrev-mode):
10063 * allout.el (allout-mode):
10064 * autoinsert.el (auto-insert-mode):
10065 * autoarg.el (autoarg-mode, autoarg-kp-mode):
10066 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10067 (global-auto-revert-mode):
10068 * battery.el (display-battery-mode):
10069 * composite.el (global-auto-composition-mode)
10070 (auto-composition-mode):
10071 * delsel.el (delete-selection-mode):
10072 * desktop.el (desktop-save-mode):
10073 * dired-x.el (dired-omit-mode):
10074 * dirtrack.el (dirtrack-mode):
10075 * doc-view.el (doc-view-minor-mode):
10076 * double.el (double-mode):
10077 * electric.el (electric-indent-mode, electric-pair-mode):
10078 * emacs-lock.el (emacs-lock-mode):
10079 * epa-hook.el (auto-encryption-mode):
10080 * follow.el (follow-mode):
10081 * font-core.el (font-lock-mode):
10082 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
10083 * help.el (temp-buffer-resize-mode):
10084 * hilit-chg.el (highlight-changes-mode)
10085 (highlight-changes-visible-mode):
10086 * hi-lock.el (hi-lock-mode):
10087 * hl-line.el (hl-line-mode, global-hl-line-mode):
10088 * icomplete.el (icomplete-mode):
10089 * ido.el (ido-everywhere):
10090 * image-file.el (auto-image-file-mode):
10091 * image-mode.el (image-minor-mode):
10092 * iswitchb.el (iswitchb-mode):
10093 * jka-cmpr-hook.el (auto-compression-mode):
10094 * linum.el (linum-mode):
10095 * longlines.el (longlines-mode):
10096 * master.el (master-mode):
10097 * mb-depth.el (minibuffer-depth-indicate-mode):
10098 * menu-bar.el (menu-bar-mode):
10099 * minibuf-eldef.el (minibuffer-electric-default-mode):
10100 * mouse-sel.el (mouse-sel-mode):
10101 * msb.el (msb-mode):
10102 * mwheel.el (mouse-wheel-mode):
10103 * outline.el (outline-minor-mode):
10104 * paren.el (show-paren-mode):
10105 * recentf.el (recentf-mode):
10106 * reveal.el (reveal-mode, global-reveal-mode):
10107 * rfn-eshadow.el (file-name-shadow-mode):
10108 * ruler-mode.el (ruler-mode):
10109 * savehist.el (savehist-mode):
10110 * scroll-all.el (scroll-all-mode):
10111 * scroll-bar.el (scroll-bar-mode):
10112 * server.el (server-mode):
10113 * shell.el (shell-dirtrack-mode):
10114 * simple.el (auto-fill-mode, transient-mark-mode)
10115 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
10116 (line-number-mode, column-number-mode, size-indication-mode)
10117 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
10118 * strokes.el (strokes-mode):
10119 * time.el (display-time-mode):
10120 * t-mouse.el (gpm-mouse-mode):
10121 * tool-bar.el (tool-bar-mode):
10122 * tooltip.el (tooltip-mode):
10123 * type-break.el (type-break-mode-line-message-mode)
10124 (type-break-query-mode):
10125 * view.el (view-mode):
10126 * whitespace.el (whitespace-mode, whitespace-newline-mode)
10127 (global-whitespace-mode, global-whitespace-newline-mode):
10128 * xt-mouse.el (xterm-mouse-mode): Doc fix.
10129
10130 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10131 Fix autogenerated docstring.
10132
10133 2011-10-19 Juri Linkov <juri@jurta.org>
10134
10135 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
10136 by checking environment variables "DESKTOP_SESSION" and
10137 "XDG_CURRENT_DESKTOP". (Bug#9779)
10138
10139 2011-10-19 Juri Linkov <juri@jurta.org>
10140
10141 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
10142 (browse-url-chromium-program, browse-url-chromium-arguments):
10143 New defcustoms.
10144 (browse-url-default-browser): Check for `browse-url-chromium' and
10145 call `browse-url-chromium-program'.
10146 (browse-url-chromium): New command. (Bug#9779)
10147
10148 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
10149
10150 * facemenu.el (list-colors-duplicates): On Windows, detect more
10151 duplicates by assuming that only colors matching "^System" are
10152 special "system colors". (Bug#9722)
10153
10154 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
10155
10156 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
10157 to distinguish the author from the committer.
10158
10159 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
10160
10161 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
10162
10163 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
10164
10165 * international/mule.el (sgml-html-meta-auto-coding-function):
10166 Add support for detecting encoding in HTML5 specified only as
10167 <meta charset="UTF-8">. Implementation just makes http-equiv and
10168 content-type parts from HTML4 encoding string optional. (Bug#9716)
10169
10170 2011-10-18 Glenn Morris <rgm@gnu.org>
10171
10172 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
10173
10174 2011-10-18 Chong Yidong <cyd@gnu.org>
10175
10176 * faces.el (cursor): Doc fix.
10177
10178 2011-10-17 Chong Yidong <cyd@gnu.org>
10179
10180 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
10181
10182 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
10183
10184 * dirtrack.el (dirtrack): Support shell buffers with path
10185 prefixes, e.g. tramp-based remote shells. (Bug#9647)
10186
10187 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
10188
10189 * json.el: Bump version to 1.3 and note change in History.
10190 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
10191
10192 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
10193
10194 * comint.el (comint-insert-input, comint-send-input)
10195 (comint-get-old-input-default, comint-backward-matching-input)
10196 (comint-next-prompt): Use nil instead of `input' for field property of
10197 past user input (bug#114).
10198
10199 * minibuffer.el (completion--replace): Inherit surrounding properties
10200 (bug#114).
10201 (minibuffer-complete-and-exit): Use it.
10202
10203 * comint.el (comint--table-subvert): Quote the all-completions output
10204 (bug#9160).
10205
10206 2011-10-17 Martin Rudalics <rudalics@gmx.at>
10207
10208 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
10209
10210 * menu-bar.el (menu-bar-file-menu): Add entry for making new
10211 window on right of selected. (Bug#9350) Reword other window
10212 entries and separate them from frame entries.
10213
10214 2011-10-15 Glenn Morris <rgm@gnu.org>
10215
10216 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
10217 Doc fixes.
10218
10219 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
10220
10221 * net/network-stream.el (network-stream-open-starttls):
10222 Improve detection of failure due to lack of TLS support.
10223
10224 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
10225 putting the input text in front and in bold.
10226
10227 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
10228
10229 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
10230
10231 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
10232 empty buffer.
10233
10234 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
10235 unread-command-events rather than pushing yet-another event.
10236
10237 2011-10-14 Eli Zaretskii <eliz@gnu.org>
10238
10239 * mail/sendmail.el (sendmail-query-once): Improve the wording of
10240 the explanation of the possible choices. Make the options passed
10241 to completing-read shorter.
10242
10243 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10244
10245 * textmodes/flyspell.el (flyspell-large-region): Make sure
10246 extended character mode is used if defined (Bug#1339).
10247
10248 2011-10-13 Eli Zaretskii <eliz@gnu.org>
10249
10250 * simple.el (what-cursor-position): Fix the display of the
10251 character info for LRE, LRO, RLE, and RLO characters by appending
10252 an invisible PDF.
10253
10254 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
10255
10256 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
10257 even in case of error; add debug spec; simplify data flow.
10258 (with-timeout-handler): Remove.
10259
10260 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
10261
10262 Fix Bug#6019, Bug#9315.
10263
10264 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
10265 complete `buffer-file-name', the local file name part could look
10266 remotely (for example on VMS).
10267
10268 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
10269 `tramp-run-real-handler'.
10270 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
10271 already quoted by '"'.
10272
10273 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
10274 Let `file-name-handler-alist' be nil, the local file name part
10275 could look remotely (for example on VMS).
10276
10277 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
10278
10279 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
10280 from here...
10281 (flyspell-post-command-hook): ...to here.
10282
10283 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10284
10285 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
10286 if not needed.
10287 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
10288 using completion. Protect against "slow" callers.
10289 Remove the "message hack".
10290
10291 2011-10-11 Juri Linkov <juri@jurta.org>
10292
10293 * isearch.el (isearch-lazy-highlight-word): New variable.
10294 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
10295 Use it. (Bug#9727)
10296
10297 2011-10-11 Glenn Morris <rgm@gnu.org>
10298
10299 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
10300 like f90-previous-statement does.
10301
10302 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10303
10304 * eshell/eshell.el (eshell-command): History should be saved
10305 only in interactive use, to avoid error.
10306
10307 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10308
10309 * minibuffer.el (completion-file-name-table): Fix last change,
10310 i.e. ignore normal errors but not the other ones.
10311
10312 2011-10-10 Martin Rudalics <rudalics@gmx.at>
10313
10314 * window.el (special-display-buffer-names)
10315 (special-display-regexps): Remove some remnants of earlier
10316 changes from doc-strings.
10317 (quit-windows-on): New function.
10318
10319 * vc/vc.el (vc-revert, vc-rollback):
10320 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
10321 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
10322 (Bug#6183) (Bug#7074) (Bug#7447)
10323
10324 2011-10-09 Martin Rudalics <rudalics@gmx.at>
10325
10326 * window.el (frame-auto-hide-function): Add version tag.
10327 (Bug#9699)
10328
10329 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
10330
10331 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
10332 condition.
10333
10334 2011-10-09 Leo Liu <sdl.web@gmail.com>
10335
10336 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
10337 (Bug#9701)
10338
10339 2011-10-08 Glenn Morris <rgm@gnu.org>
10340
10341 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
10342 before the first code statement zero indent. (Bug#9690)
10343
10344 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
10345
10346 * simple.el (count-words-region): Always count in the region.
10347 Report the number of lines and characters too.
10348 (count-words): New command, which counts in the buffer if the
10349 region is inactive, as count-words-region used to.
10350 (count-words--message): New function. Handle plurals.
10351 (count-lines-region): Make it an alias for count-words-region.
10352
10353 * bindings.el (esc-map): Replace count-lines-region with
10354 count-words-region.
10355
10356 2011-10-08 Martin Rudalics <rudalics@gmx.at>
10357
10358 * window.el (window--delete): Delete dedicated frame
10359 unconditionally when argument KILL is non-nil. (Bug#9699)
10360 (switch-to-buffer): Fix doc-string typo.
10361
10362 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10363
10364 * eshell/eshell.el (eshell-command): Avoid using hooks.
10365
10366 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
10367
10368 * bindings.el ([M-left],[M-right]): Bind to left-word and
10369 right-word respectively.
10370
10371 2011-10-07 Glenn Morris <rgm@gnu.org>
10372
10373 * cus-start.el (debug-on-quit): Fix custom type.
10374
10375 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10376
10377 * subr.el (define-key-after): Clarify that the function is not
10378 useful for non-menu keymaps.
10379
10380 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
10381
10382 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10383
10384 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
10385 in current minibuffer (Fix bug with recursive minibuffers).
10386
10387 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
10388
10389 * progmodes/gdb-mi.el (gdb): Doc fix.
10390
10391 2011-10-05 Martin Rudalics <rudalics@gmx.at>
10392
10393 * window.el (frame-auto-hide-function): New option replacing
10394 frame-auto-delete. Suggested by Stefan Monnier.
10395 (window--delete): Call frame-auto-hide-function instead of
10396 investigating frame-auto-delete.
10397 (window-point-1, set-window-point-1): New functions.
10398 (window-in-direction, record-window-buffer, window-state-get-1)
10399 (display-buffer-record-window): Use window-point-1 instead of
10400 window-point.
10401 (set-window-buffer-start-and-point): Use set-window-point-1.
10402
10403 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10404
10405 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
10406
10407 2011-10-05 Glenn Morris <rgm@gnu.org>
10408
10409 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
10410 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
10411
10412 2011-10-05 Leo Liu <sdl.web@gmail.com>
10413
10414 * subr.el (read-char-choice): Fix argument to buffer-live-p which
10415 works with buffer object.
10416
10417 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10418
10419 * mpc.el (mpc-tool-bar-map): Add labels.
10420
10421 2011-10-04 Glenn Morris <rgm@gnu.org>
10422
10423 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10424
10425 2011-10-04 Martin Rudalics <rudalics@gmx.at>
10426
10427 * window.el (window--delete): New function.
10428 (frame-auto-delete): Resuscitate option.
10429 (bury-buffer, replace-buffer-in-windows)
10430 (quit-window): Rewrite using window--delete.
10431 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10432 Pass display-buffer-mark-dedicated to window--display-buffer-2
10433 (Bug#9639).
10434
10435 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10436
10437 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
10438 returns a list (bug#9554). Add remote file name completion.
10439 * comint.el (comint--table-subvert): Curry and get quote&unquote
10440 functions as arguments.
10441 (comint--complete-file-name-data): Adjust call accordingly.
10442 * pcomplete.el (pcomplete--table-subvert): Remove.
10443 (pcomplete-completions-at-point): Use comint--table-subvert instead.
10444
10445 * minibuffer.el (completion-table-case-fold): Use currying.
10446 (completion--styles-type, completion--cycling-threshold-type):
10447 New constants.
10448 (completion-styles, completion-category-overrides)
10449 (completion-cycle-threshold): Use them.
10450 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
10451 completion-table-case-fold.
10452
10453 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
10454
10455 * minibuffer.el (completion-category-overrides): Fix type of styles
10456 and add more user friendly tags (bug#9660).
10457
10458 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10459
10460 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
10461 (mule-input-method-string): New widget.
10462 (default-input-method, language-info-custom-alist): Use it.
10463
10464 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
10465
10466 * pcomplete.el: Require comint.
10467 (pcomplete--common-suffix): Remove.
10468 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
10469 (pcomplete--table-subvert): Sync with comint--table-subvert.
10470 (pcomplete--entries): Use comint-completion-file-name-table.
10471 * comint.el (comint-unquote-filename): Simplify.
10472 (comint-completion-file-name-table): New function (bug#9616).
10473 (comint--complete-file-name-data): Use it.
10474
10475 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
10476 (pcmpl-gnu-tar-buffer): Remove.
10477 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
10478 around. Make sure pcomplete-suffix-list is only changed temporarily.
10479 Don't look inside the tar's file if it's too large.
10480
10481 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
10482
10483 * cus-edit.el (custom-mode-map):
10484 * epa.el (epa-key-list-mode-map):
10485 * man.el (Man-mode-map):
10486 * startup.el (splash-screen-keymap):
10487 * simple.el (special-mode-map): Use scroll-up-command and
10488 scroll-down-command.
10489
10490 * progmodes/idlw-help.el (idlwave-help-mode-map):
10491 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
10492 * net/newst-plainview.el (newsticker-mode-map):
10493 * emulation/ws-mode.el (wordstar-mode-map):
10494 * emulation/vi.el (vi-com-map):
10495 * calc/calc-graph.el (calc-graph-show-dumb):
10496 * term/sun.el (terminal-init-sun):
10497 * term/ns-win.el (global-map):
10498 * progmodes/grep.el (grep-mode-map):
10499 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
10500 * mail/rmail.el (rmail-mode-map):
10501 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
10502
10503 * custom.el (custom-safe-themes, load-theme): Treat value of t for
10504 custom-safe-themes as special.
10505
10506 2011-10-01 Julien Danjou <julien@danjou.info>
10507
10508 * notifications.el (notifications-notify): Fix docstring.
10509
10510 2011-10-01 Per Starbäck <per@starback.se>
10511
10512 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
10513
10514 2011-09-30 Martin Rudalics <rudalics@gmx.at>
10515
10516 * startup.el (command-line-1): Fix last fix by inserting
10517 initial-scratch-message into *scratch* before displaying it.
10518 (Bug#9605) and (Bug#9636)
10519
10520 2011-09-29 Eli Zaretskii <eliz@gnu.org>
10521
10522 * simple.el (line-move): If auto-hscroll-mode is disabled and the
10523 window is hscrolled, move by logical lines. (Bug#9607)
10524 (line-move-visual): Update the doc string to the above effect.
10525
10526 2011-09-29 Martin Rudalics <rudalics@gmx.at>
10527
10528 * window.el (display-buffer-record-window): When WINDOW is the
10529 selected window use `point' instead of `window-point'. (Bug#9626)
10530
10531 * startup.el (command-line-1): Use insert-before-markers when
10532 inserting initial-scratch-message. (Bug#9605)
10533
10534 * help.el (help-window): Remove variable.
10535
10536 2011-09-29 Glenn Morris <rgm@gnu.org>
10537
10538 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
10539
10540 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
10541
10542 * descr-text.el (describe-char-categories): Accept category
10543 descriptions more than one line long.
10544
10545 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
10546
10547 * simple.el (delete-trailing-whitespace): Fix last change.
10548
10549 * progmodes/perl-mode.el (perl-syntax-propertize-function):
10550 Don't confuse "y => 3" as the beginning of a `y' operation.
10551
10552 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
10553 object has more than 4 slots (bug#9613).
10554
10555 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
10556
10557 * subr.el (with-output-to-temp-buffer):
10558 * net/quickurl.el (quickurl, quickurl-browse-url):
10559 Fix typos in docstrings.
10560
10561 2011-09-27 Eli Zaretskii <eliz@gnu.org>
10562
10563 * minibuffer.el (completion-styles)
10564 (completion-category-overrides): Cross reference each other in doc
10565 strings.
10566
10567 2011-09-27 Glenn Morris <rgm@gnu.org>
10568
10569 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
10570 to split-string. (Bug#9606)
10571
10572 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10573
10574 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
10575 (bug#9615).
10576
10577 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
10578
10579 * emacs-lisp/package.el (list-packages): Fix echo area message.
10580
10581 2011-09-27 Leo Liu <sdl.web@gmail.com>
10582
10583 * ido.el (ido-read-internal): Accept cons cell HIST arg.
10584
10585 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
10586
10587 * net/dbus.el (dbus-unregister-object): Don't release services for
10588 registered signals. (Bug#9581)
10589
10590 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
10591
10592 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
10593 function that picks between cfengine 2 and 3 support
10594 automatically. Update docs accordingly.
10595
10596 2011-09-22 Kenichi Handa <handa@m17n.org>
10597
10598 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
10599 ZERO.
10600 (indian-itrans-v5-table-for-tamil): New variable.
10601 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
10602
10603 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
10604
10605 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
10606 that's true if the current command involved collapsing of text.
10607 It's reset to false at the beginning of the next command.
10608 (allout-post-command-business): Move the cursor to the beginning
10609 of entry if the cursor is hidden and collapsing activity just
10610 happened.
10611
10612 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
10613
10614 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
10615 tracking (Bug#9541).
10616
10617 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
10618
10619 * net/newst-reader.el (newsticker-html-renderer)
10620 (newsticker-show-news): Automatically load html rendering package
10621 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
10622 because w3m-fill-column is let-bound" and the error "Symbol's value
10623 as variable is void: w3m-fill-column".
10624
10625 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
10626
10627 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
10628 Release services only if they are defined. (Bug#9581)
10629
10630 2011-09-23 Richard Stallman <rms@gnu.org>
10631
10632 * textmodes/paragraphs.el (forward-sentence): For backwards case,
10633 distinguish start of paragraph from start of its text.
10634
10635 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
10636
10637 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
10638 (rmail-generate-viewer-buffer): Put that hook on view buffer.
10639 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
10640
10641 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
10642
10643 * international/mule-diag.el (mule-diag): Insert a newline after
10644 each fontset description.
10645
10646 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10647
10648 * simple.el (delete-trailing-whitespace):
10649 Document last change; simplify.
10650
10651 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
10652
10653 * simple.el (delete-trailing-whitespace): Also delete
10654 extra newlines at the end of the buffer.
10655
10656 * textmodes/picture.el: Make motion commands obey shift-select-mode.
10657 (picture-newline): Use forward-line so as to ignore fields.
10658
10659 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10660
10661 * subr.el (with-wrapper-hook): Fix edebug spec.
10662
10663 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10664
10665 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
10666 (bug#4538).
10667
10668 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
10669
10670 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10671 Fix nasty bug using wrong cached values.
10672
10673 2011-09-23 Alan Mackenzie <acm@muc.de>
10674
10675 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
10676
10677 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
10678
10679 * window.el (pop-to-buffer): Ensure right window is selected if we
10680 chose another frame.
10681
10682 2011-09-22 Eli Zaretskii <eliz@gnu.org>
10683
10684 * simple.el (what-cursor-position): Use get-char-property-change
10685 and next-single-char-property-change, to be able to show display
10686 properties that come from overlays as well as text properties.
10687
10688 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
10689
10690 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
10691
10692 * cmuscheme.el (run-scheme, switch-to-scheme):
10693 * cus-edit.el (customize-group, custom-buffer-create)
10694 (customize-browse):
10695 * info.el (info):
10696 * shell.el (shell):
10697 * mail/sendmail.el (mail):
10698 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
10699
10700 2011-09-22 Richard Stallman <rms@gnu.org>
10701
10702 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
10703 move back only to line beg, don't move back over blank lines.
10704
10705 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
10706
10707 * files.el (copy-directory): Set directory attributes only in case
10708 they could be retrieved from the source directory. (Bug#9565)
10709
10710 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
10711
10712 * progmodes/hideshow.el (hs-looking-at-block-start-p)
10713 (hs-find-block-beginning, hs-hide-level-recursive):
10714 Ignore strings as well as comments. (Bug#9502)
10715
10716 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
10717
10718 * progmodes/sql.el (sql-comint-postgres):
10719 Convert port number to a string. (Bug#9566)
10720
10721 2011-09-22 Martin Rudalics <rudalics@gmx.at>
10722
10723 * window.el (quit-window): Undedicate window when switching to
10724 previous buffer. Reported by Thierry Volpiatto
10725 <thierry.volpiatto@gmail.com>.
10726 (special-display-popup-frame): When popping up a new frame reset
10727 its previous buffers to nil. Simplify code.
10728
10729 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
10730
10731 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
10732 and process filter, as done also in `shell-command'.
10733
10734 2011-09-21 Martin Rudalics <rudalics@gmx.at>
10735
10736 * window.el (set-window-buffer-start-and-point):
10737 Call set-window-start with NOFORCE argument t.
10738 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10739 (quit-window): Reword doc-string. Handle new format of
10740 quit-restore parameter. Don't delete window if it has a
10741 previous buffer we can show instead of the present one.
10742 (display-buffer-record-window): Rewrite using a new format for
10743 the quit-restore window parameter
10744 (special-display-popup-frame, display-buffer-same-window)
10745 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10746 (display-buffer-pop-up-window, display-buffer-use-some-window):
10747 Adapt symbol passed to display-buffer-record-window.
10748 * help.el (help-window-setup): Handle new format of quit-restore
10749 parameter.
10750
10751 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
10752
10753 * faces.el (face-list): Fix docstring (bug#9564).
10754
10755 * window.el (display-buffer--action-function-custom-type):
10756 Don't include internal functions in the Custom interface.
10757
10758 2011-09-20 Juri Linkov <juri@jurta.org>
10759
10760 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
10761 (Info-forward-node, Info-backward-node, Info-next-preorder)
10762 (Info-last-preorder): Use it. (Bug#9528)
10763
10764 2011-09-20 Juri Linkov <juri@jurta.org>
10765
10766 * info.el (Info-last-preorder): Visit last menu item only when
10767 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
10768
10769 2011-09-20 Julien Danjou <julien@danjou.info>
10770
10771 * password-cache.el (password-cache-remove): Remove entries even if the
10772 value is nil, so that password with a nil value (negative caching) is
10773 possible to invalidate.
10774
10775 2011-09-20 Lawrence Mitchell <wence@gmx.li>
10776
10777 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
10778 all whitespace around breakpoint. (Bug#9553)
10779 (f90-find-breakpoint): Only break at whitespace inside a comment.
10780
10781 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
10782
10783 * minibuffer.el (completion-file-name-table): Keep track of errors.
10784 (completion-table-with-predicate): Handle the case where pred1 is nil.
10785 * pcomplete.el (pcomplete-completions-at-point): Simplify.
10786
10787 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10788
10789 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
10790 (debugger-return-value): Signal an error if the debugging context does
10791 not await any return value.
10792
10793 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
10794 * image-mode.el (image-toggle-display-text)
10795 (image-toggle-display-image): Stay away from evil `intangible'.
10796
10797 2011-09-19 Leo Liu <sdl.web@gmail.com>
10798
10799 * replace.el (occur-revert-arguments): Make it permanent-local.
10800 (occur-mode): Don't call font-lock-defontify.
10801
10802 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
10803
10804 * net/ldap.el (ldap-search-internal): Don't push empty search
10805 result (Bug#9508).
10806
10807 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10808
10809 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
10810
10811 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
10812
10813 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
10814 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
10815
10816 2011-09-18 Juri Linkov <juri@jurta.org>
10817
10818 * buff-menu.el (Buffer-menu-mode-map):
10819 * dired.el (dired-mode-map):
10820 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
10821 (lisp-interaction-mode-map):
10822 * emacs-lisp/package.el (package-menu-mode-map):
10823 * epa.el (epa-key-list-mode-map):
10824 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
10825 (menu-bar-options-menu):
10826 * outline.el (outline-mode-menu-bar-map):
10827 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
10828 * vc/vc-dir.el (vc-dir-menu-map):
10829 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
10830 Capitalize non-function content words in menu item strings.
10831
10832 * dired.el (dired-mode-map): Add menu item for
10833 `image-dired-dired-toggle-marked-thumbs'.
10834
10835 2011-09-18 Juri Linkov <juri@jurta.org>
10836
10837 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
10838 to `isearch-case-fold-search' and restore its original value
10839 after the `isearch-mode' call.
10840
10841 2011-09-18 Juri Linkov <juri@jurta.org>
10842
10843 * progmodes/grep.el (grep-process-setup): Don't check code for 1
10844 because `zgrep' returns 1 for successful matches (bug#9226).
10845
10846 2011-09-18 Juri Linkov <juri@jurta.org>
10847
10848 * info.el (Info-extract-menu-node-name): Check the second match
10849 for empty string (second test-case of bug#9528).
10850 (Info-last-preorder): Let-bind `Info-history' to nil to not add
10851 intermediate nodes to the history (first test-case of bug#9528).
10852
10853 2011-09-18 Juri Linkov <juri@jurta.org>
10854
10855 * info.el (Info-mode-syntax-table): New variable.
10856 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
10857
10858 2011-09-18 Juri Linkov <juri@jurta.org>
10859
10860 * info.el (Info-file-supports-index-cookies):
10861 Increment line-beginning-position's arg from 3 to 4 because makeinfo
10862 outputs one more line for long file names (bug#4142).
10863
10864 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
10865
10866 * newcomment.el (comment-normalize-vars): If prompting for
10867 comment-start, set comment-start-skip too (Bug#8424).
10868
10869 2011-09-18 Johan Bockgård <bojohan@gnu.org>
10870
10871 * icomplete.el: Fix previous fix of Bug#5849.
10872 (icomplete-mode): Don't set completion-show-inline-help.
10873 (icomplete-minibuffer-setup): Set completion-show-inline-help
10874 locally during icompletion.
10875
10876 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
10877
10878 * woman.el (woman2-process-escapes): Don't delete unrecognized
10879 escapes (Bug#7843).
10880
10881 * files.el (inhibit-first-line-modes-regexps): Add image files.
10882 (hack-local-variables-prop-line): Return nil for malformed
10883 prop-lines (Bug#9044).
10884
10885 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
10886
10887 * net/tramp.el (top): Don't require 'shell.
10888 (tramp-methods): Fix docstring.
10889 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
10890 Return complete remote file name. Handle "smb" case.
10891 Use `tramp-tmpdir', if defined for the respective method.
10892 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10893
10894 * net/tramp-compat.el (top): Require 'shell.
10895
10896 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10897 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10898 `tramp-current-host'.
10899 (tramp-get-remote-tmpdir): Remove.
10900
10901 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10902 `tramp-tmpdir' entries.
10903 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10904 (tramp-smb-handle-file-attributes): Ignore errors.
10905 (tramp-smb-wait-for-output): Check also for process end.
10906
10907 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10908
10909 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10910 when sending QUIT (bug#9312).
10911
10912 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
10913
10914 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10915 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10916 occur-mode-display-occurrence.
10917 (occur-edit-mode): Add usage message.
10918 (occur-cease-edit): New command.
10919 (occur-after-change-function): Use text properties to find the
10920 position of the prefix text.
10921 (occur-engine): Set stickiness of prefix text properties.
10922
10923 2011-09-17 Glenn Morris <rgm@gnu.org>
10924
10925 * progmodes/etags.el (complete-tag):
10926 Fix call to completion-in-region. (Bug#9526)
10927
10928 2011-09-17 Juri Linkov <juri@jurta.org>
10929
10930 * textmodes/ispell.el (ispell-word): Add to the error message
10931 the word, ispell program name and current dictionary (bug#9121).
10932 (ispell-tex-arg-end): Capitalize "error" in the error message.
10933
10934 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10935
10936 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10937 check. (Bug#4251)
10938
10939 2011-09-17 Juri Linkov <juri@jurta.org>
10940
10941 * window.el (window-safe-min-height, window-safe-min-width):
10942 Fix typos (followup to bug#9522).
10943
10944 2011-09-17 Sven Joachim <svenjoac@gmx.de>
10945
10946 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10947
10948 2011-09-16 Eli Zaretskii <eliz@gnu.org>
10949
10950 * simple.el (line-move): If goal-column is set, move by logical
10951 lines, not by display lines. (Bug#971)
10952 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10953 to reflect the above change.
10954
10955 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10956
10957 * image.el (imagemagick-register-types): Use regexp-opt.
10958
10959 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
10960
10961 * window.el (display-buffer-base-action): Rename from
10962 display-buffer-default-action. Make default value empty.
10963 (display-buffer-overriding-action): Convert to defvar.
10964 (display-buffer-fallback-action): New var.
10965
10966 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
10967
10968 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10969 declaration.
10970 (package--add-to-archive-contents): If there is a duplicate entry
10971 with an older version, remove it.
10972 (package-menu-mark-delete, package-menu-mark-install)
10973 (package-menu-mark-unmark): Make unused args optional.
10974 (package-menu-mark-obsolete-for-deletion):
10975 Use package-menu-get-status instead of a regexp search.
10976 (package-menu-get-status): Use tabulated-list-entry.
10977 (package-menu-mark-upgrades): New command.
10978 (package-menu-mode-map): Bind it to U. Add it to menu bar.
10979 (package-menu-execute): Do installation before deletion.
10980 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10981 instead of checking major-mode.
10982 (package-menu--find-upgrades): New function.
10983
10984 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10985
10986 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10987 passwords in the log buffer.
10988 (smtpmail-process-filter): Update the process marker so that the
10989 "broken by peer" status message is inserted in the right place.
10990
10991 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10992
10993 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10994 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10995 bibtex-completion-at-point-function.
10996 (bibtex-completion-at-point-function): Use them.
10997
10998 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10999
11000 * mpc.el (mpc-constraints-tag-lookup): New function.
11001 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
11002 also to browser "album|playlist".
11003
11004 2011-09-14 Juri Linkov <juri@jurta.org>
11005
11006 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
11007 (isearch-edit-string): Use length of `isearch-string' when
11008 `isearch-fail-pos' returns nil.
11009 (isearch-message): Remove duplicate code and call
11010 `isearch-fail-pos' with arg `t'.
11011
11012 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
11013
11014 * replace.el (occur-mode-goto-occurrence): Don't force using other
11015 window (Bug#9499).
11016
11017 * dired-aux.el (dired-do-chmod): Don't provide initial input.
11018
11019 2011-09-14 Martin Rudalics <rudalics@gmx.at>
11020
11021 * window.el (display-buffer-window): Remove.
11022 (display-buffer-record-window): Use help-setup window parameter
11023 instead of variable display-buffer-window.
11024 (display-buffer-function, special-display-buffer-names)
11025 (special-display-function): Mention help-setup parameter instead
11026 of display-buffer-window in doc-string.
11027 * help.el (help-window-setup): New argument help-window.
11028 Use help-window-setup parameter instead of display-buffer-window.
11029 Reword some messages.
11030 (with-help-window): Pass window used for displaying the buffer
11031 to help-window-setup. Don't set display-buffer-window.
11032
11033 2011-09-13 Glenn Morris <rgm@gnu.org>
11034
11035 * emacs-lisp/debug.el (debugger-make-xrefs):
11036 Preserve point. (Bug#9462)
11037
11038 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
11039
11040 * window.el (window-deletable-p): Use next-frame.
11041
11042 2011-09-13 Martin Rudalics <rudalics@gmx.at>
11043
11044 * window.el (window-auto-delete): Remove.
11045 (window-deletable-p): Remove argument FORCE. Don't deal with
11046 dedication and previous buffers.
11047 (switch-to-prev-buffer): Don't delete window.
11048 (delete-windows-on): Delete a window's frame if and only if the
11049 window is dedicated.
11050 (replace-buffer-in-windows): Delete buffer's window or frame if
11051 and only if window is dedicated.
11052 (quit-window): Handle quit-restore as before last change.
11053 (bury-buffer): Delete window only if window-deletable-p returns t.
11054
11055 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
11056
11057 * window.el (window-deletable-p): Never delete the last frame on a
11058 given terminal.
11059
11060 2011-09-13 Glenn Morris <rgm@gnu.org>
11061
11062 * help.el (describe-key-briefly): Copy previous standard-output change.
11063
11064 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
11065
11066 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
11067
11068 2011-09-13 Glenn Morris <rgm@gnu.org>
11069
11070 * emacs-lisp/lisp-mode.el (lisp-indent-function):
11071 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
11072
11073 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
11074
11075 * dired-aux.el (dired-mark-read-string): Don't return default
11076 value on empty input (Bug#9361).
11077 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
11078 Omit initial minibuffer contents.
11079 (dired-do-chmod): Signal an error on empty input.
11080 (dired-mark-read-string): Don't return default on empty input.
11081
11082 * files.el (file-modes-symbolic-to-number): Doc fix.
11083
11084 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11085
11086 * international/mule-cmds.el (ucs-completions): Remove.
11087 (read-char-by-name): Use complete-with-action instead; add metadata.
11088
11089 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
11090
11091 * window.el (display-buffer--action-function-custom-type)
11092 (display-buffer--action-custom-type): New vars.
11093 (display-buffer-alist, display-buffer-default-action)
11094 (display-buffer-overriding-action): Add defcustom types.
11095
11096 * frame.el (delete-other-frames): Doc fix (Bug#276).
11097
11098 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11099
11100 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
11101
11102 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
11103
11104 Change modes that used same-window-* vars to use switch-to-buffer.
11105
11106 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
11107 Use switch-to-buffer.
11108
11109 * cus-edit.el (customize-group, custom-buffer-create)
11110 (customize-browse, custom-buffer-create-other-window):
11111 Use switch-to-buffer or switch-to-buffer-other-window.
11112
11113 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
11114 (Info-prev, Info-up, Info-speedbar-goto-node)
11115 (info-display-manual): Use switch-to-buffer.
11116 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
11117
11118 * mail/sendmail.el (mail): Use switch-to-buffer.
11119 (mail-recover): Use switch-to-buffer-other-window.
11120
11121 * cmuscheme.el (run-scheme, switch-to-scheme):
11122 * ielm.el (ielm):
11123 * shell.el (shell):
11124 * net/rlogin.el (rlogin):
11125 * net/telnet.el (telnet, rsh):
11126 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
11127
11128 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11129
11130 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
11131
11132 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11133
11134 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
11135 so don't mention it (bug#9301).
11136 (dired-sort-toggle-or-edit): Clarify string further.
11137
11138 * faces.el (face-spec-set-match-display): Make `(type graphic)'
11139 match `x', `w32' and `ns', like the manual says (bug#9029).
11140
11141 * subr.el (eval-after-load): Doc string clarification (bug#9125).
11142 (process-kill-buffer-query-function): Mention the buffer name in
11143 the query.
11144
11145 * image-mode.el (image-next-line): The line parameter is mandatory
11146 (bug#9258).
11147
11148 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
11149 which can be useful (bug#9301).
11150
11151 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
11152
11153 * subr.el (match-string): Mention that the current buffer should
11154 be the same as the search was done in (bug#9282).
11155
11156 * facemenu.el: Disable the remove-* commands if the mark isn't
11157 active (bug#9162).
11158
11159 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
11160
11161 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
11162 of display-buffer.
11163 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
11164
11165 * replace.el (occur-mode-goto-occurrence)
11166 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
11167 and display-buffer.
11168
11169 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
11170 display-buffer.
11171
11172 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
11173 special-display and same-window variables.
11174 (mail-other-window): Use switch-to-buffer-other-window.
11175 (mail-other-frame): USe switch-to-buffer-other-frame.
11176
11177 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
11178 Use display-buffer-other-frame.
11179 (gdb-display-gdb-buffer): Use pop-to-buffer.
11180
11181 * progmodes/gud.el (gud-goto-info): Use info-other-window.
11182
11183 * progmodes/python.el: Don't set same-window-buffer-names.
11184
11185 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
11186
11187 * window.el (display-buffer-alist): Add *Python*.
11188
11189 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
11190
11191 * window.el (display-buffer-alist): Add entry for buffers
11192 previously handled same-window-*.
11193 (display-buffer-alist, display-buffer-default-action)
11194 (display-buffer-overriding-action): Mark as risky.
11195 (display-buffer-alist): Document action function changes.
11196 (display-buffer--same-window-action)
11197 (display-buffer--other-frame-action): New variables.
11198 (switch-to-buffer, display-buffer-other-frame): Use them.
11199 (display-buffer): Rename reuse-frame entry to reusable-frames.
11200 (display-buffer-reuse-selected-window): Function deleted.
11201 (display-buffer-reuse-window): Handle reusable-frames alist entry.
11202 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
11203 (display-buffer-special): New function.
11204 (display-buffer--maybe-pop-up-frame-or-window): Rename from
11205 display-buffer-reuse-or-pop-window. Split off special-display
11206 part into display-buffer-special.
11207 (display-buffer-use-some-window): Don't perform any special
11208 pop-up-frames handling.
11209 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
11210 (display-buffer--maybe-same-window): Rename from
11211 display-buffer-maybe-same-window.
11212
11213 * info.el: Don't set same-window-regexps.
11214 (info-setup): New function.
11215 (info-other-window, info): Call it.
11216
11217 * cus-edit.el: Don't set same-window-regexps.
11218 (customize-group): New argument.
11219 (customize-group-other-window): Use it.
11220 (customize-face, customize-face-other-window): Likewise.
11221 (custom-buffer-create-other-window): Use pop-to-buffer directly.
11222
11223 * net/rlogin.el:
11224 * net/telnet.el:
11225 * progmodes/gud.el: Don't set same-window-regexps.
11226
11227 * cmuscheme.el:
11228 * ielm.el:
11229 * shell.el:
11230 * mail/sendmail.el:
11231 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
11232
11233 2011-09-10 Juri Linkov <juri@jurta.org>
11234
11235 * isearch.el (isearch-edit-string): Remove obsolete mention of
11236 `C-w' (`isearch-yank-word-or-char') from docstring.
11237 (isearch-query-replace): Fix typo in docstring (bug#9466).
11238
11239 2011-09-10 Juri Linkov <juri@jurta.org>
11240
11241 * paren.el (show-paren-function): Don't show escaped parens.
11242 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
11243
11244 2011-09-10 Eli Zaretskii <eliz@gnu.org>
11245
11246 * mail/sendmail.el (mml-to-mime, mml-attach-file)
11247 (mm-default-file-encoding): Remove autoload forms, they are
11248 replaced with autoload cookies in mml.el and mm-encode.el.
11249 (mail-add-attachment): New command.
11250 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
11251 (mail-mode): Mention mail-insert-file and mail-add-attachment in
11252 the doc string.
11253 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
11254
11255 2011-09-10 Reuben Thomas <rrt@sc3d.org>
11256
11257 * simple.el (count-words-region): Use buffer if there's no region
11258 (bug#9429).
11259
11260 2011-09-09 Juri Linkov <juri@jurta.org>
11261
11262 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
11263 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
11264 (wdired-isearch-filter-read-only): New function. (Bug#6362)
11265
11266 2011-09-09 Alan Mackenzie <acm@muc.de>
11267
11268 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
11269 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
11270
11271 2011-09-09 Eli Zaretskii <eliz@gnu.org>
11272
11273 Fix for Savannah bug#9392.
11274 * simple.el (mail-encode-mml): New defvar.
11275
11276 * mail/rmail.el (mail-encode-mml): Add a defvar.
11277 (rmail-enable-mime-composing): Default to t.
11278 (rmail-forward): Use MIME method of forwarding only if both
11279 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
11280 Set mail-encode-mml non-nil if the MIME method was used.
11281
11282 * mail/sendmail.el (mml-to-mime): Add autoload form.
11283 (mail-encode-mml): Add a defvar.
11284 (mail-mode): Make mail-encode-mml buffer-local and initialize it
11285 to nil.
11286 (mail-send): If mail-encode-mml is non-nil, run the outgoing
11287 message through mml-to-mime, and reset mail-encode-mml to nil.
11288
11289 2011-09-09 Glenn Morris <rgm@gnu.org>
11290
11291 * woman.el (woman-if-body): When processing an .el block,
11292 do not delete the next .el block as well. (Bug#9447)
11293 (woman-special-characters): Add oq, cq, and hy characters.
11294
11295 2011-09-08 Martin Rudalics <rudalics@gmx.at>
11296
11297 * window.el (window-deletable-p): Make sure window is live before
11298 invoking window-prev-buffers.
11299
11300 2011-09-08 Leo Liu <sdl.web@gmail.com>
11301
11302 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
11303
11304 2011-09-08 Juri Linkov <juri@jurta.org>
11305
11306 * progmodes/compile.el (compilation-environment): Make it
11307 a defcustom (bug#8340).
11308
11309 2011-09-08 Martin Rudalics <rudalics@gmx.at>
11310
11311 * window.el (frame-auto-delete): Rename to window-auto-delete.
11312 Make it control auto-deletion of windows and/or frames.
11313 (window-deletable-p): New argument FORCE. Rewrite conditions
11314 for deleting window/frame. (Bug#9419)
11315 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
11316 Rewrite handling of case when window/frame can be deleted.
11317 (delete-windows-on): Call window-deletable-p with new FORCE
11318 argument t. (Bug#9456)
11319
11320 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
11321
11322 * help-mode.el (help-mode): Restore autoload.
11323
11324 2011-09-07 Juri Linkov <juri@jurta.org>
11325
11326 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
11327 `compilation-environment'. Set buffer-local
11328 `compilation-environment' to `thisenv' later after (funcall mode).
11329 (Bug#8340)
11330
11331 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
11332 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
11333 instead of replacing its value. (Bug#8340)
11334
11335 2011-09-07 Juri Linkov <juri@jurta.org>
11336
11337 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
11338 based on text properties put by `grep-filter' instead of matching
11339 escape sequences.
11340 (grep-mode): Set buffer-local `compilation-error-screen-columns'
11341 to the value of `grep-error-screen-columns' (bug#9438).
11342
11343 2011-09-07 Juri Linkov <juri@jurta.org>
11344
11345 * simple.el (next-error-highlight, next-error-highlight-no-select):
11346 Doc fix (bug#9432).
11347
11348 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
11349
11350 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11351 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
11352
11353 2011-09-07 Leo Liu <sdl.web@gmail.com>
11354
11355 * net/rcirc.el (rcirc-mode): Conditionally initialize
11356 rcirc-input-ring.
11357
11358 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
11359
11360 * emacs-lisp/find-func.el (find-function-C-source): Only set
11361 find-function-C-source-directory after checking that we found a source
11362 file there (bug#9440).
11363
11364 2011-09-06 Alan Mackenzie <acm@muc.de>
11365
11366 * isearch.el (isearch-other-meta-char): Wherever a key list is
11367 unread, "unread" the prefix arg, too. This fixes bug #8901.
11368
11369 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
11370
11371 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
11372
11373 2011-09-05 Juri Linkov <juri@jurta.org>
11374
11375 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
11376
11377 2011-09-05 Juri Linkov <juri@jurta.org>
11378
11379 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
11380 keeping point where processing of grep matches begins, and
11381 continue to delete remaining escape sequences from the same point.
11382 (grep-filter): Make leading zero optional in "0?1;31m" because
11383 git-grep emits "\033[1;31m" escape sequences unlike expected
11384 "\033[01;31m" as GNU Grep does (bug#9408).
11385 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
11386
11387 2011-09-05 Juri Linkov <juri@jurta.org>
11388
11389 * subr.el (y-or-n-p): Capitalize "yes".
11390
11391 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
11392
11393 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
11394 `tramp-cache-unload-hook' where appropriate.
11395 (tramp-methods): Rename `tramp-remote-sh' to
11396 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
11397 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
11398
11399 * net/tramp-sh.el (top): Don't require 'shell.
11400 (tramp-methods): Add `tramp-remote-shell' and
11401 `tramp-remote-shell-args' entries.
11402 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
11403 (tramp-sh-handle-shell-command): Remove.
11404 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
11405 Use `tramp-remote-shell'.
11406
11407 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
11408
11409 * mail/sendmail.el (sendmail-query-once-function): Delete.
11410 (sendmail-query-once): Save directly to send-mail-function.
11411 Update message-send-mail-function too.
11412
11413 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
11414
11415 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11416
11417 * progmodes/python.el (python-mode-map): Use correct function to
11418 start python interpreter from menu-bar (as reported by Geert
11419 Kloosterman).
11420 (inferior-python-mode-map): Fix typo.
11421 (python-shell-map): Remove.
11422
11423 2011-09-03 Deniz Dogan <deniz@dogan.se>
11424
11425 * net/rcirc.el (rcirc-print): Simplify code for
11426 rcirc-scroll-show-maximum-output. There is no need to walk
11427 through all windows to find the right one.
11428
11429 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11430
11431 * help.el (help-return-method): Doc fix.
11432
11433 2011-09-03 Martin Rudalics <rudalics@gmx.at>
11434
11435 * window.el (window-deletable-p): Don't return a non-nil value
11436 when there's a buffer that was shown in the window before.
11437 (Bug#9419)
11438 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11439 Set window's previous buffers to nil.
11440
11441 2011-09-03 Eli Zaretskii <eliz@gnu.org>
11442
11443 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
11444 newline before and after the tag line, so it doesn't interfere
11445 with determining the paragraph direction of bidirectional text.
11446
11447 2011-09-03 Leo Liu <sdl.web@gmail.com>
11448
11449 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
11450
11451 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
11452
11453 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
11454 (pop-to-buffer): Change interactive spec. Pass second argument
11455 directly to display-buffer.
11456 (display-buffer): Fix interactive spec. Use functionp to
11457 distinguish between a function and a list of functions.
11458
11459 * abbrev.el (edit-abbrevs):
11460 * arc-mode.el (archive-extract):
11461 * autoinsert.el (auto-insert):
11462 * bookmark.el (bookmark-bmenu-list):
11463 * files.el (find-file):
11464 * view.el (view-buffer):
11465 * progmodes/compile.el (compilation-goto-locus):
11466 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
11467
11468 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
11469
11470 * window.el (display-buffer-alist): Doc fix.
11471 (display-buffer): Add docstring. Don't treat
11472 display-buffer-default specially.
11473 (display-buffer-reuse-selected-window)
11474 (display-buffer-same-window, display-buffer-maybe-same-window)
11475 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11476 (display-buffer-pop-up-window)
11477 (display-buffer-reuse-or-pop-window)
11478 (display-buffer-use-some-window): New functions.
11479 (display-buffer-default-action): Use them.
11480 (display-buffer-default): Delete.
11481 (pop-to-buffer-1): Fix choice of actions.
11482
11483 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
11484
11485 * minibuffer.el (completion--insert-strings): Don't get confused by
11486 completion entries that end with an LF char.
11487
11488 2011-09-01 Eli Zaretskii <eliz@gnu.org>
11489
11490 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
11491
11492 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
11493
11494 * window.el (display-buffer): Restore interactive spec.
11495 (display-buffer-same-window, display-buffer-other-window):
11496 New functions.
11497 (pop-to-buffer-1): New function. Use the above.
11498 (pop-to-buffer, pop-to-buffer-same-window): Use it.
11499 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
11500
11501 * view.el (view-buffer-other-window, view-buffer-other-frame):
11502 Just use pop-to-buffer.
11503
11504 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11505
11506 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
11507
11508 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
11509
11510 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
11511
11512 2011-08-31 Richard Stallman <rms@gnu.org>
11513
11514 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
11515 of the separation of rmail-view-buffer from rmail-buffer.
11516 If you say no to "replace original", the decrypt is in the
11517 view buffer. If you say yes, the decrypt goes into the
11518 rmail buffer also.
11519
11520 2011-08-31 Martin Rudalics <rudalics@gmx.at>
11521
11522 * window.el (display-buffer-window): Rewrite doc-string.
11523 (display-buffer-record-window): New function.
11524 (display-buffer-macro-specifiers)
11525 (display-buffer-even-window-sizes, display-buffer-set-height)
11526 (display-buffer-set-width, display-buffer-in-window)
11527 (display-buffer-reuse-window, display-buffer-split-specifiers)
11528 (display-buffer-side-specifiers, display-buffer-split-window-1)
11529 (display-buffer-split-window, display-buffer-split-atom-window)
11530 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11531 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
11532 (display-buffer-other-window-means-other-frame)
11533 (display-buffer-normalize-special)
11534 (display-buffer-normalize-default)
11535 (display-buffer-normalize-argument)
11536 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
11537 (display-buffer-normalize-specifiers, display-buffer-frame)
11538 (display-buffer-same-window, display-buffer-same-frame)
11539 (display-buffer-other-window)
11540 (display-buffer-same-frame-other-window)
11541 (display-buffer-other-frame, pop-to-buffer-same-window)
11542 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
11543 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
11544 (switch-to-buffer-same-frame)
11545 (switch-to-buffer-other-window-same-frame)
11546 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
11547 (display-buffer-alist-set-1, display-buffer-alist-set-2)
11548 (display-buffer-alist-set): Remove.
11549 (display-buffer-function, special-display-buffer-names)
11550 (special-display-regexps, special-display-function):
11551 In doc-string refer to display-buffer-window and quit-restore
11552 parameter.
11553 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
11554 (special-display-frame-alist, special-display-popup-frame)
11555 (same-window-buffer-names, same-window-regexps, same-window-p)
11556 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11557 (split-window-preferred-function, split-height-threshold)
11558 (split-width-threshold, window-splittable-p)
11559 (split-window-sensibly, window--try-to-split-window)
11560 (window--frame-usable-p, even-window-heights)
11561 (window--even-window-heights, window--display-buffer-1)
11562 (window--display-buffer-2, display-buffer-other-frame):
11563 Restore old Emacs 23 code, order and doc-strings where applicable.
11564 (display-buffer-default, display-buffer-assq-regexp): New functions.
11565 (display-buffer-alist): Rewrite doc-string.
11566 (display-buffer-default-action)
11567 (display-buffer-overriding-action): New variables.
11568 (display-buffer, switch-to-buffer): Rewrite.
11569 (pop-to-buffer): Restore Emacs 23 behavior but use
11570 window-normalize-buffer-to-display.
11571 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
11572 Restore Emacs 23 behavior but use
11573 window-normalize-buffer-to-switch-to.
11574 (pop-to-buffer-same-window): Rewrite.
11575 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
11576 Rewrite using Emacs 23 options.
11577
11578 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
11579
11580 * net/tramp.el (tramp-root-regexp): Remove.
11581 (tramp-completion-file-name-regexp-unified)
11582 (tramp-completion-file-name-regexp-separate)
11583 (tramp-completion-file-name-regexp-url): Don't use leading volume
11584 letter on w32 systems. (Bug#5303, Bug#9311)
11585 (tramp-drop-volume-letter): Simplify definition.
11586 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
11587
11588 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
11589
11590 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
11591 (bug#9356).
11592
11593 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
11594
11595 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
11596
11597 2011-08-29 Juri Linkov <juri@jurta.org>
11598
11599 * isearch.el (isearch-done): Don't display message "Mark saved"
11600 when arg `edit' is non-nil to prevent its flicker in the echo area.
11601
11602 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
11603
11604 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
11605 obsolete packages for deletion.
11606
11607 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
11608
11609 * help-mode.el (help-mode-map): Add special-mode-map to parent.
11610 (help-mode): Derive help-mode from special-mode. Don't invoke
11611 view-mode from help-mode.
11612 (help-xref-override-view-map): Remove.
11613 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
11614 view-mode is not used anymore.
11615
11616 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
11617
11618 * server.el (server-port): Doc fix.
11619
11620 * cus-theme.el (custom-theme-choose-mode): Inherit from
11621 special-mode (Bug#9124).
11622 (custom-theme-choose-mode-map): Add special-mode to parent.
11623
11624 2011-08-28 Alan Mackenzie <acm@muc.de>
11625
11626 * progmodes/cc-fonts.el
11627 (c-make-font-lock-BO-decl-search-function): New function.
11628 (c-basic-matchers-after - "Fontify the clauses after various
11629 keywords"): Extract the three keyword lists for the 3 erroneous
11630 constructs from the list of four, and use the new function above
11631 in place of an old one.
11632
11633 2011-08-28 Deniz Dogan <deniz@dogan.se>
11634
11635 * net/rcirc.el (rcirc-insert-prev-input)
11636 (rcirc-insert-next-input): Remove unused argument.
11637
11638 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11639
11640 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
11641
11642 2011-08-27 Alan Mackenzie <acm@muc.de>
11643
11644 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
11645 handle function pointer parameters properly.
11646
11647 2011-08-27 Martin Rudalics <rudalics@gmx.at>
11648
11649 * window.el (display-buffer-reuse-window): Fix case where
11650 selected window was reused with non-nil OTHER-WINDOW argument.
11651 (Bug#9381)
11652
11653 2011-08-27 Deniz Dogan <deniz@dogan.se>
11654
11655 * net/rcirc.el (rcirc-check-auth-status): Adding support for
11656 oftc's NickServ messages.
11657
11658 2011-08-27 Glenn Morris <rgm@gnu.org>
11659
11660 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
11661
11662 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
11663
11664 * emacs-lisp/package.el (package-install): Call package-initialize
11665 if called interactively.
11666
11667 2011-08-26 Leo Liu <sdl.web@gmail.com>
11668
11669 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
11670
11671 2011-08-25 Juri Linkov <juri@jurta.org>
11672
11673 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11674 `search-whitespace-regexp' (bug#9364).
11675
11676 2011-08-25 Juri Linkov <juri@jurta.org>
11677
11678 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
11679 `regexp-search-ring' to their global values to protect from
11680 updating by `read-from-minibuffer' (bug#9185).
11681
11682 2011-08-25 Juri Linkov <juri@jurta.org>
11683
11684 * textmodes/ispell.el (ispell-command-loop): Add newline
11685 at the end of the "Use option `i'..." line.
11686
11687 2011-08-25 Juri Linkov <juri@jurta.org>
11688
11689 * battery.el (display-battery-mode): If `battery-status-function'
11690 or `battery-mode-line-format' is nil, display the message and set
11691 `display-battery-mode' to nil (bug#9363).
11692
11693 2011-08-25 Eli Zaretskii <eliz@gnu.org>
11694
11695 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
11696 bidi-string-mark-left-to-right; they are unnecessary now.
11697
11698 2011-08-25 Deniz Dogan <deniz@dogan.se>
11699
11700 * net/quickurl.el: Documentation typo fixes.
11701
11702 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
11703
11704 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
11705
11706 2011-08-25 Glenn Morris <rgm@gnu.org>
11707
11708 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
11709
11710 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
11711 (smtpmail-via-smtp): Handle nil response from smtp.
11712
11713 2011-08-24 Juri Linkov <juri@jurta.org>
11714
11715 * proced.el (proced-marked): Inherit from `error' instead of
11716 `font-lock-warning-face'.
11717
11718 * ibuffer.el (ibuffer-marked-face): Change default face from
11719 `font-lock-warning-face' to `warning'.
11720 (ibuffer-deletion-face): Change default face from
11721 `font-lock-type-face' to `error'.
11722
11723 * battery.el (battery-update): Use the face `error' instead of
11724 `font-lock-warning-face' (bug#6117).
11725
11726 2011-08-24 Juri Linkov <juri@jurta.org>
11727
11728 * faces.el (success): Change face color from "Green3" to
11729 "ForestGreen" on light background (bug#9353).
11730
11731 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
11732
11733 * window.el (quit-window): Rename from quit-restore-window.
11734 Use same arglist as old quit-window.
11735 (frame-auto-delete): Doc fix.
11736
11737 * view.el (view-mode-exit): Use quit-window.
11738
11739 2011-08-24 Juri Linkov <juri@jurta.org>
11740
11741 * isearch.el (isearch-ring-adjust1): Start visiting previous
11742 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
11743 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
11744 for empty search string (when the last search string is reused
11745 automatically) to adjust the isearch ring to the last element and
11746 prepare the correct index for further M-p commands (bug#9185).
11747
11748 2011-08-24 Kenichi Handa <handa@m17n.org>
11749
11750 * international/ucs-normalize.el: If decomposition property of
11751 CHAR is the default one (i.e. a list of CHAR itself), treat it as
11752 nil.
11753 (nfd, nfkd): Likewise.
11754
11755 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
11756
11757 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
11758 from process filters aren't reliably transmitted to the surrounding
11759 accept-process-output.
11760 (mpc-proc-check): New function.
11761 (mpc-proc-sync): Use it (bug#8293)
11762
11763 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11764
11765 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
11766 Add compatibility functions (bug#9313).
11767
11768 2011-08-23 Eli Zaretskii <eliz@gnu.org>
11769
11770 * cus-start.el (all): Add entry for bidi-paragraph-direction.
11771
11772 * international/uni-bidi.el: Regenerate.
11773
11774 2011-08-23 Kenichi Handa <handa@m17n.org>
11775
11776 * international/charprop.el:
11777 * international/uni-bidi.el:
11778 * international/uni-category.el:
11779 * international/uni-combining.el:
11780 * international/uni-comment.el:
11781 * international/uni-decimal.el:
11782 * international/uni-decomposition.el:
11783 * international/uni-digit.el:
11784 * international/uni-lowercase.el:
11785 * international/uni-mirrored.el:
11786 * international/uni-name.el:
11787 * international/uni-numeric.el:
11788 * international/uni-old-name.el:
11789 * international/uni-titlecase.el:
11790 * international/uni-uppercase.el: Regenerate.
11791
11792 2011-08-23 Martin Rudalics <rudalics@gmx.at>
11793
11794 * help.el (help-window-setup): Fix message displayed when other
11795 window is reused. (Bug#9341)
11796
11797 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11798
11799 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
11800 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
11801
11802 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
11803 Mark obsolete.
11804 * shell.el (shell-parse-pcomplete-arguments): New function.
11805 (shell-completion-vars): Use it instead (bug#9160).
11806
11807 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
11808
11809 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
11810 strings and comments (bug#9333).
11811
11812 * emacs-lisp/debug.el (debug-arglist): New function.
11813 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
11814 (debug-on-entry-1): Handle interpreted closures (bug#9120).
11815
11816 2011-08-22 Juri Linkov <juri@jurta.org>
11817
11818 * progmodes/compile.el (compilation-mode-font-lock-keywords):
11819 Revert regexp that highlights output switches to its old
11820 pre-2010-10-28 value and remove one `?' from it (bug#9319).
11821
11822 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
11823 to check for empty output (bug#9226).
11824
11825 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
11826
11827 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
11828 symbol-constituent as the default, as that stops font-lock from
11829 working properly (Bug#8843).
11830
11831 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11832
11833 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
11834 `coding-system-for-*' around the process open call to avoid
11835 auth-source side effects.
11836 (smtpmail-try-auth-methods): Expand the secret password.
11837 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
11838 probe hangs.
11839
11840 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
11841
11842 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
11843
11844 * emacs-lisp/find-func.el (find-function-noselect): New arg
11845 lisp-only.
11846
11847 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
11848 signal an error for built-in functions (Bug#6664).
11849
11850 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11851
11852 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
11853 (smtpmail-try-auth-methods): Use it.
11854
11855 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
11856
11857 * font-lock.el (font-lock-fontify-region)
11858 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
11859 (font-lock-default-unfontify-buffer)
11860 (font-lock-default-fontify-region)
11861 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
11862
11863 * progmodes/compile.el (compilation-error-properties):
11864 Fix confusion between file struct and message struct (Bug#9319).
11865 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
11866 `ant' regexp.
11867
11868 * net/browse-url.el (browse-url-firefox): Don't call
11869 browse-url-firefox-sentinel unless using -remote (Bug#9328).
11870
11871 2011-08-20 Glenn Morris <rgm@gnu.org>
11872
11873 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
11874
11875 * tutorial.el (tutorial--default-keys): Update some default bindings.
11876
11877 * files.el (hack-local-variables): Fully ignore case for "mode:".
11878
11879 2011-08-20 Alan Mackenzie <acm@muc.de>
11880
11881 Resolve invalid use of a regexp in regexp-opt.
11882
11883 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11884 detection for a java annotation.
11885
11886 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
11887 detection for a java annotation.
11888
11889 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11890 handling for java.
11891 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11892
11893 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
11894
11895 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11896 (Bug#9274).
11897
11898 2011-08-20 Alan Mackenzie <acm@muc.de>
11899
11900 Fontify CPP expressions correctly when starting in the middle of
11901 such a construct. Mainly for when jit-lock etc. starts a chunk
11902 here.
11903
11904 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
11905 variable.
11906 (c-make-font-lock-search-form): New function, extracted from
11907 c-make-font-lock-search-function.
11908 (c-make-font-lock-search-function): Use the above function.
11909 (c-make-font-lock-context-search-function): New function.
11910 (c-cpp-matchers): Enhance the preprocessor expression case with
11911 the above function
11912 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11913 which takes an expression.
11914
11915 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11916
11917 2011-08-20 Martin Rudalics <rudalics@gmx.at>
11918
11919 * window.el (display-buffer-reuse-window)
11920 (display-buffer-pop-up-window): Don't reuse or split a side
11921 window.
11922
11923 2011-08-19 Glenn Morris <rgm@gnu.org>
11924
11925 * files.el (hack-local-variables-prop-line, hack-local-variables):
11926 Downcase "Mode:". (Bug#9331)
11927
11928 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
11929
11930 * international/characters.el: Add L and R categories.
11931
11932 * subr.el (bidi-string-mark-left-to-right): Rename from
11933 string-mark-left-to-right. Use category search.
11934
11935 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11936
11937 2011-08-18 Juri Linkov <juri@jurta.org>
11938
11939 * faces.el (error, warning, success): New faces with definitions
11940 copied from old default values of `font-lock-warning-face',
11941 `compilation-warning', `compilation-info' (bug#6117).
11942
11943 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11944
11945 * progmodes/compile.el (compilation-error): Inherit from `error'.
11946 (compilation-warning): Inherit from `warning'.
11947 (compilation-info): Inherit from `success'.
11948
11949 * dired.el (dired-marked): Inherit from `warning'.
11950 (dired-flagged): Inherit from `error'.
11951
11952 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11953
11954 * mail/smtpmail.el (auth-source): Require to avoid problems with
11955 binding variables (bug#9298). Also clean up some unused
11956 autoloads.
11957
11958 * net/network-stream.el (network-stream-open-starttls):
11959 Support using starttls.el without using gnutls-cli.
11960
11961 2011-08-17 Juri Linkov <juri@jurta.org>
11962
11963 * progmodes/grep.el (rgrep): Handle the case when
11964 `grep-find-command' is a cons cell (bug#9278).
11965
11966 2011-08-17 Martin Rudalics <rudalics@gmx.at>
11967
11968 * window.el (display-buffer-pop-up-frame): Run frame creation
11969 function with BUFFER current (as special-display-popup-frame
11970 does). Reported by Drew Adams.
11971
11972 2011-08-17 Daiki Ueno <ueno@unixuser.org>
11973
11974 * epa-mail.el: Simplify GnuPG group expansion using
11975 epg-expand-group.
11976 (epa-mail-group-alist, epa-mail-group-modtime)
11977 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11978 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11979 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11980 Remove.
11981
11982 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
11983
11984 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11985
11986 2011-08-16 Alan Mackenzie <acm@muc.de>
11987
11988 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11989 Correct, to avoid the inside of macros.
11990
11991 2011-08-16 Richard Stallman <rms@gnu.org>
11992
11993 * epa-mail.el: Handle GnuPG group definitions.
11994 (epa-mail-group-alist, epa-mail-group-modtime)
11995 (epa-mail-gnupg-conf-file): New variables.
11996 (epa-mail-parse-groups, epa-mail-sync-groups)
11997 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11998 (epa-mail-expand-recipients): New functions.
11999 (epa-mail-encrypt): Call epa-mail-expand-recipients.
12000
12001 * mail/rmail.el (rmail-epa-decrypt): New command.
12002
12003 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
12004 Don't bind buffer-read-only, just inhibit-read-only.
12005 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
12006 (epa-decrypt-armor-in-region): Make error message clearer.
12007
12008 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
12009
12010 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
12011 and "a2b" to "ab" for `prefix'.
12012
12013 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
12014
12015 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
12016 filter groups.
12017 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
12018 Fourquet (Bug#8804).
12019
12020 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
12021
12022 * startup.el (argi): Declare as global variable (bug#9275).
12023
12024 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
12025
12026 * subr.el (string-mark-left-to-right): Search the entire string
12027 for RTL script, not just the terminating character. Doc fix.
12028
12029 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
12030
12031 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
12032 New function.
12033 (js--regexp-literal, js-syntax-propertize-function): Remove.
12034 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
12035 (js-mode-map): Don't rebind electric keys.
12036 (js-insert-and-indent): Remove.
12037 (js-mode): Setup electric-layout and electric-indent instead.
12038
12039 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
12040
12041 2011-08-12 Daiki Ueno <ueno@unixuser.org>
12042
12043 * epa.el (epa-progress-callback-function): Fix the logic of
12044 displaying progress.
12045 * epa-file.el (epa-file-insert-file-contents): Make progress
12046 display more user-friendly.
12047 (epa-file-write-region): Ditto.
12048
12049 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
12050
12051 * subr.el (string-mark-left-to-right): New function.
12052
12053 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
12054 Use string-mark-left-to-right.
12055 (list-buffers-noselect): Caller changed.
12056
12057 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12058 Use string-mark-left-to-right.
12059 (tabulated-list-print): Recenter after moving point.
12060
12061 2011-08-10 Juri Linkov <juri@jurta.org>
12062
12063 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
12064 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
12065 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
12066
12067 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
12068
12069 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
12070 (Bug#7554).
12071
12072 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
12073
12074 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
12075 character. (Bug#6594)
12076
12077 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
12078
12079 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
12080 (image-dired--with-db-file): New macro.
12081 (image-dired-write-tags, image-dired-remove-tag)
12082 (image-dired-create-gallery-lists, image-dired-write-comments)
12083 (image-dired-get-comment, image-dired-mark-tagged-files)
12084 (image-dired-list-tags, image-dired-gallery-generate): Use it.
12085 (image-dired-gallery-generate): Use insert-file-contents.
12086
12087 * time.el (display-time-world-list, display-time-world-display):
12088 * time-stamp.el (time-stamp-string):
12089 * vc/add-log.el (add-change-log-entry): Use setenv instead of
12090 set-time-zone-rule (Bug#7337).
12091
12092 2011-08-08 Daiki Ueno <ueno@unixuser.org>
12093
12094 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
12095 (epg-error-to-string, epg-errors-to-string): New function.
12096 (epg-wait-for-completion): Reverse errors list.
12097 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
12098 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
12099 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
12100 (epg-sign-keys, epg-generate-key-from-file)
12101 (epg-generate-key-from-string): Format errors by using
12102 epg-errors-to-string (bug#9255).
12103 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
12104
12105 2011-08-07 Juri Linkov <juri@jurta.org>
12106
12107 * faces.el (list-faces-display): Remove extra angle bracket
12108 from `help-mode-map'.
12109
12110 * info.el (Info-history-toc-nodes): Doc fix.
12111
12112 * longlines.el (longlines-mode): Doc fix.
12113
12114 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
12115
12116 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
12117 of statements and in a few more cases (bug#9183).
12118
12119 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
12120 New functions.
12121 (cl-transform-lambda): Use them (bug#9239).
12122
12123 2011-08-05 Martin Rudalics <rudalics@gmx.at>
12124
12125 * window.el (display-buffer-same-window)
12126 (display-buffer-same-frame, display-buffer-other-window)
12127 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12128 (pop-to-buffer-other-window)
12129 (pop-to-buffer-same-frame-other-window)
12130 (pop-to-buffer-other-frame): Make them defuns.
12131 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
12132
12133 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12134
12135 * subr.el (make-composed-keymap): Move from C. Change calling
12136 convention, and improve docstring to bring attention to a subtle point.
12137 * minibuffer.el (completing-read-default): Adjust accordingly.
12138
12139 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
12140
12141 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
12142 (tramp-open-shell): Use `tramp-shell-quote-argument'.
12143
12144 * net/trampver.el: Update release number.
12145
12146 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12147
12148 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
12149 "in" (bug#9190).
12150
12151 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12152
12153 * mail/sendmail.el (sendmail-query-once): Restore the current
12154 buffer after querying (bug#9074).
12155
12156 * dired.el (dired-flagged): Use different faces for marked and
12157 flagged files (bug#6117).
12158
12159 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
12160 (bug#4433).
12161
12162 * ido.el (ido-mode): Switch off the message if called
12163 non-interactively.
12164
12165 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
12166 before 587, since it appears that that's more likely to work for
12167 more people.
12168
12169 * cus-edit.el (custom-file): When running under emacs -q, always
12170 refuse to save the customizations, even if the .emacs file doesn't
12171 exist.
12172
12173 * info.el: Remove the `Info-beginning-of-buffer' function
12174 (bug#8325).
12175
12176 * net/network-stream.el (network-stream-open-starttls):
12177 Use `starttls-available-p' to see whether starttls.el can be used.
12178
12179 2011-08-01 Martin Rudalics <rudalics@gmx.at>
12180
12181 * window.el (display-buffer-in-window): Don't set dedicated status
12182 of window here (Bug#9215).
12183 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12184 (display-buffer-pop-up-side-window)
12185 (display-buffer-in-side-window): Set dedicated status of window here.
12186
12187 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
12188
12189 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
12190 before binding generated-autoload-file.
12191
12192 2011-08-01 Deniz Dogan <deniz@dogan.se>
12193
12194 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
12195
12196 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
12197
12198 Sync with Tramp 2.2.2.
12199
12200 * net/trampver.el: Update release number.
12201
12202 2011-07-30 Juri Linkov <juri@jurta.org>
12203
12204 * dired-aux.el (dired-touch-initial): Remove function.
12205 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
12206 current time, and `default' to the last modification time of the
12207 current marked file (bug#6887).
12208
12209 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
12210
12211 * simple.el (goto-line): Use string-to-number to provide a
12212 numeric argument to read-number (bug#9163).
12213
12214 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
12215
12216 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
12217 connection process, it could be nil.
12218
12219 2011-07-27 Leo Liu <sdl.web@gmail.com>
12220
12221 Simplify url handling in rcirc-mode.
12222
12223 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
12224 (rcirc-browse-url-at-mouse): Remove.
12225 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
12226
12227 2011-07-26 Alan Mackenzie <acm@muc.de>
12228
12229 Fontify bitfield declarations properly.
12230
12231 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
12232 (c-symbol-chars): Now exported as a lang variable.
12233 (c-not-primitive-type-keywords): New lang variable.
12234
12235 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
12236 QT keyword "more" to prevent "more slots: ...." being spuriously
12237 parsed as a bitfield declaration.
12238
12239 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12240 Refactor and enhance to handle bitfield declarations.
12241 (c-punctuation-in): New function.
12242 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
12243 declarations properly.
12244
12245 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
12246
12247 * calendar/icalendar.el (icalendar--all-events): Take care of
12248 multiple vcalendars in a single file.
12249 (icalendar--convert-float-to-ical): Checkdoc fixes.
12250
12251 2011-07-25 Deniz Dogan <deniz@dogan.se>
12252
12253 * image.el (insert-image): Clarifying docstring.
12254
12255 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
12256
12257 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
12258 `tramp-send-command-and-check' if there is no error.
12259 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
12260
12261 2011-07-22 Alan Mackenzie <acm@muc.de>
12262
12263 Prevent cc-langs.elc being loaded at run time.
12264
12265 * progmodes/cc-mode.el: Remove two autoload forms which loaded
12266 cc-langs.
12267
12268 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
12269 "(require 'cc-langs)". Quote a form so it will evaluate at
12270 (cc-mode's) compilation time.
12271
12272 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
12273
12274 * net/tramp.el (tramp-file-name-handler): Avoid recursive
12275 loading. (Bug#9114)
12276
12277 2011-07-21 Martin Rudalics <rudalics@gmx.at>
12278
12279 * window.el (display-buffer-pop-up-window)
12280 (display-buffer-pop-up-side-window)
12281 (display-buffer-in-side-window): Call display-buffer-set-height
12282 and display-buffer-set-width after setting the new window's
12283 buffer so `fit-window-to-buffer' and friends work on the right buffer.
12284
12285 2011-07-20 Sam Steingold <sds@gnu.org>
12286
12287 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
12288 (etags-tags-included-tables): Call `convert-standard-filename' on
12289 the file names contained in TAGS so that windows Emacs can handle
12290 TAGS files created by cygwin ctags.
12291
12292 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
12293
12294 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
12295 which apparently didn't work.
12296
12297 2011-07-19 Roland Winkler <winkler@gnu.org>
12298
12299 * proced.el (proced-send-signal): For *Marked Processes* buffer
12300 put point at beginning of buffer.
12301
12302 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
12303
12304 * proced.el (proced-format): Make header lines align with the text
12305 (bug#1779).
12306
12307 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12308
12309 * view.el (view-buffer): Allow running in `special' modes if we're
12310 visiting a file (bug#8615).
12311
12312 2011-07-19 Martin Rudalics <rudalics@gmx.at>
12313
12314 * window.el (display-buffer-alist-of-strings-p)
12315 (display-buffer-alist-set-1, display-buffer-alist-set-2):
12316 New functions.
12317 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
12318 more accurately.
12319
12320 2011-07-18 Alan Mackenzie <acm@muc.de>
12321
12322 Fontify declarators properly when, e.g., a jit-lock chunk begins
12323 inside a declaration.
12324
12325 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
12326
12327 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12328 New function.
12329 (c-complex-decl-matchers): Insert reference to
12330 c-font-lock-enclosing-decls.
12331
12332 * progmodes/cc-engine.el (c-backward-single-comment):
12333 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
12334 to nil around calls to (forward-comment -1).
12335
12336 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12337
12338 * image.el (put-image): Doc typo fix.
12339
12340 * progmodes/etags.el (tags-search): Doc typo fix.
12341
12342 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
12343 password if we get errors 550 to 554.
12344
12345 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
12346
12347 * net/gnutls.el (gnutls-log-level): Remove.
12348
12349 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
12350 indentation character (bug#6380).
12351
12352 * files.el (buffer-offer-save): Made permanently local (bug#6241).
12353
12354 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
12355 to clarify what the problem is (bug#4291).
12356
12357 * simple.el (current-kill): Clarify what
12358 `interprogram-paste-function' does (bug#7500).
12359 (auto-fill-mode): Document `auto-fill-function' in relation to
12360 `auto-fill-mode' (bug#2470).
12361
12362 2011-07-16 Lawrence Mitchell <wence@gmx.li>
12363
12364 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
12365 method if slot is read-only (bug#9035).
12366
12367 2011-07-16 Martin Rudalics <rudalics@gmx.at>
12368
12369 * frame.el (select-frame-set-input-focus): New argument NORECORD.
12370 * window.el (pop-to-buffer): Select window used even if it was
12371 selected before, see discussion of (Bug#8615), (Bug#6954).
12372 Pass argument NORECORD on to select-frame-set-input-focus.
12373
12374 2011-07-15 Glenn Morris <rgm@gnu.org>
12375
12376 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
12377 Respect help-form.
12378
12379 2011-07-09 Lawrence Mitchell <wence@gmx.li>
12380
12381 * net/gnutls.el (gnutls-min-prime-bits): New variable.
12382 (gnutls-negotiate): Use it.
12383
12384 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12385
12386 * net/gnutls.el (gnutls-negotiate):
12387 Upcase `gnutls-algorithm-priority'.
12388
12389 2011-07-15 Glenn Morris <rgm@gnu.org>
12390
12391 * jka-compr.el (jka-compr-verbose): Move from here...
12392 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
12393 Add missing :version tag.
12394 * info.el: No need to require jka-compr when compiling.
12395
12396 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12397
12398 * net/gnutls.el (gnutls-algorithm-priority): New variable.
12399 (gnutls-negotiate): Use it.
12400
12401 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
12402
12403 * info.el (Info-beginning-of-buffer): New command.
12404 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
12405 announcing `b' as the key (bug#8325).
12406 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
12407
12408 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
12409
12410 * international/mule-cmds.el
12411 (describe-specified-language-support): Make the error message
12412 clearer (bug#8905).
12413
12414 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
12415
12416 * isearch.el (isearch-barrier): Add a doc string, since it's
12417 mentioned in a function doc string (bug#8678).
12418
12419 2011-07-15 Martin Rudalics <rudalics@gmx.at>
12420
12421 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
12422 buffer argument (Bug#9083) and self-identifying label argument.
12423
12424 2011-07-15 Glenn Morris <rgm@gnu.org>
12425
12426 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
12427
12428 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12429
12430 * man.el (Man-fontify-manpage): Fix message when formatting the
12431 man page (bug#7929).
12432
12433 2011-07-14 Eli Zaretskii <eliz@gnu.org>
12434
12435 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
12436 argument LRM; if non-nil, append an invisible LRM character to the
12437 buffer name.
12438 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
12439 last argument non-nil, when formatting buffer names.
12440 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
12441 paragraph direction.
12442
12443 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12444
12445 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
12446 the man page name (bug#7929).
12447
12448 * image.el (put-image): Mention the `put-image' overlay property
12449 (bug#7834).
12450
12451 * scroll-bar.el (set-scroll-bar-mode): Mention that
12452 `scroll-bar-mode' lists the values (bug#7772).
12453
12454 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
12455 command (bug#7729).
12456
12457 * rect.el (apply-on-rectangle): Return the point after the last
12458 operation.
12459 (string-rectangle): Go to the point after the last operation
12460 (bug#7522).
12461
12462 * printing.el (pr-toggle-region): Clarify the documentation
12463 slightly (bug#7493).
12464
12465 * time.el (display-time-update):
12466 Allow `display-time-mail-function' to return nil (bug#7158).
12467 Fix suggested by Detlev Zundel.
12468
12469 * vc/diff.el (diff): Clarify the order the file names are read
12470 (bug#7111).
12471
12472 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
12473 the doc string (bug#7015).
12474
12475 * font-lock.el (font-lock-maximum-decoration): Mention what
12476 numeric levels mean (bug#6935).
12477
12478 * startup.el (initial-buffer-choice): Don't mention the `none'
12479 selection, which is against policy.
12480
12481 2011-07-14 Martin Rudalics <rudalics@gmx.at>
12482
12483 * window.el (display-buffer-normalize-special):
12484 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
12485
12486 2011-07-14 Eli Zaretskii <eliz@gnu.org>
12487
12488 * subr.el (version<, version<=, version=): Mention "-CVS" and
12489 "-12345" alpha version numbers.
12490
12491 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
12492
12493 * bindings.el: Add advertised binding for set-mark-command
12494 (Bug#5772).
12495
12496 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
12497
12498 * bindings.el (mode-line-other-buffer):
12499 * bookmark.el (bookmark-bmenu-2-window):
12500 * bs.el (bs-cycle-next, bs-cycle-previous):
12501 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
12502 switch-to-buffer.
12503
12504 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12505 Delete.
12506
12507 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
12508
12509 * follow.el (follow-debug-message, follow-redisplay):
12510 * jka-cmpr-hook.el (with-auto-compression-mode):
12511 Fix typos in docstrings.
12512
12513 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12514
12515 * subr.el (with-silent-modifications): Clarify somewhat what the
12516 macro inhibits (bug#6525).
12517
12518 * simple.el (eval-expression): Note what it does if called
12519 interactively (bug#6495).
12520
12521 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
12522
12523 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
12524 Use pop-to-buffer buffer-or-name if it is nil.
12525
12526 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12527 Remove switch-to-buffer.
12528
12529 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12530
12531 * files.el (make-directory): Clarify that an error will be raised
12532 if there's an error (bug#6397).
12533
12534 * startup.el (initial-buffer-choice): Add `none' as a choice
12535 (bug#6234).
12536
12537 * subr.el (add-hook): Clarify section about buffer-local hooks
12538 (bug#6218).
12539
12540 * dired.el (dired-flagged): Clarify doc string (bug#6117).
12541
12542 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
12543
12544 * tabify.el (untabify): Preserve the current column so that point
12545 doesn't move (bug#6032).
12546
12547 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12548
12549 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
12550 Rewrite to avoid awkward possessive "s" (bug#5986).
12551
12552 2011-07-13 Glenn Morris <rgm@gnu.org>
12553
12554 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
12555 (dired-insert-directory): Give a message the first time
12556 if ls is found not to support --dired.
12557
12558 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12559
12560 * simple.el (toggle-truncate-lines): Clarify what is toggled
12561 (bug#5580). Text by Drew Adams.
12562
12563 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
12564
12565 * simple.el (blink-matching-open): Make the error message from the
12566 last change less verbose.
12567
12568 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
12569
12570 * font-lock.el (font-lock-comment-face): Use the high contrast
12571 "yellow" color for font-lock-comment-face on low color terminals
12572 using a dark background color (bug#4221).
12573
12574 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12575
12576 * dired.el (dired-insert-set-properties): Make the doc string
12577 reflect what it does now (bug#5325).
12578
12579 * simple.el (blink-matching-open): Say that we were unable to find
12580 the match within the limit, if we're limited (bug#5122).
12581
12582 * international/mule-cmds.el (prefer-coding-system): Add an
12583 example (bug#4869).
12584
12585 * progmodes/etags.el (tags-search): Document `file-list-form'
12586 (bug#4731).
12587
12588 2011-07-13 Lawrence Mitchell <wence@gmx.li>
12589
12590 * net/browse-url.el (browse-url-default-browser)
12591 (browse-url-browser-function): Make the default browser choice a
12592 bit more logical (bug#4300). Also clean up the doc string.
12593
12594 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
12595
12596 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
12597 binary endings (bug#4440).
12598
12599 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12600
12601 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
12602 which can be pretty annoying (bug#8971).
12603
12604 * jka-compr.el (jka-compr-verbose): New variable, and use
12605 throughout (bug#8971).
12606
12607 * info.el (Info-find-file): Fall back on the installation
12608 directory if we can't find the info node anywhere else.
12609
12610 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
12611
12612 * vc/vc.el (vc-revert-file):
12613 Don't set file time-stamp in the past. (Bug#5181)
12614
12615 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12616
12617 * files.el (after-find-file): Give a better error message when
12618 trying to find a symlink that points to a file that doesn't exist
12619 (bug#4398).
12620
12621 * progmodes/cc-vars.el: Remove (probably) misleading comment
12622 (bug#4396).
12623
12624 2011-07-12 Johan Bockgård <bojohan@gnu.org>
12625
12626 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
12627
12628 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
12629
12630 * mouse-sel.el: Hack restoring functionality, while keeping
12631 compatibility with 2010-07-03 changes to mouse selection.
12632 (mouse-sel-primary-overlay): New var.
12633 (mouse-sel-selection-alist): Use it.
12634 (mouse-sel-mode): Doc fix; remove points that are default features
12635 of mouse.el.
12636
12637 2011-07-12 Johan Bockgård <bojohan@gnu.org>
12638
12639 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12640 Fix previous fix (bug#2490).
12641
12642 2011-07-12 Roland Winkler <winkler@gnu.org>
12643
12644 * textmodes/bibtex.el (bibtex-initialize):
12645 Use pop-to-buffer-same-window.
12646 (bibtex-search-entries): Fix interactive call.
12647
12648 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12649
12650 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12651 Fontise bytecomp Error lines more correctly (bug#2490).
12652 Fix suggested by Johan Bockgård.
12653
12654 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
12655
12656 * dired-x.el (dired-guess-default): Use `delete-dups'.
12657
12658 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
12659
12660 * dired.el (dired-mark-prompt):
12661 * dired-aux.el (dired-read-shell-command): Doc fix.
12662
12663 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12664
12665 * mail/sendmail.el (sendmail-query-once):
12666 Use `customize-save-variable' unconditionally, now that it works under
12667 emacs -Q.
12668
12669 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12670
12671 * cus-edit.el (custom-file): Take an optional no-error variable.
12672 (customize-save-variable): Set the variable, and give a warning if
12673 running under "emacs -q".
12674
12675 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
12676
12677 * loadhist.el (unload-feature-special-hooks):
12678 Add `auto-coding-functions', `fill-nobreak-predicate' and
12679 `find-directory-functions' (bug#5327).
12680
12681 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12682
12683 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
12684
12685 * cus-edit.el (custom-guess-name-alist): -alist variables should
12686 use the `alist' type (bug#3120). Suggested by Drew Adams.
12687
12688 * printing.el: Add documentation to all the `pr-toggle-' commands.
12689
12690 2011-07-11 Leo Liu <sdl.web@gmail.com>
12691
12692 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
12693 backends where it makes sense (bug#2623).
12694
12695 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12696
12697 * dired-x.el (dired-guess-default): Remove duplicate shell command
12698 entries (bug#2028).
12699 (dired-guess-default): Fix grammar in doc string (bug#2028).
12700 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
12701
12702 * subr.el (remove-duplicates): New conveniency function.
12703
12704 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12705
12706 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
12707 (bug#1526).
12708
12709 2011-07-10 Martin Rudalics <rudalics@gmx.at>
12710
12711 * window.el (display-buffer-normalize-default): Don't invert
12712 meaning of even-window-heights. Reported by Eli Zaretskii
12713 <eliz@gnu.org>.
12714
12715 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
12716
12717 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
12718
12719 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
12720
12721 * window.el (display-buffer): Fix arguments to
12722 display-buffer-reuse-window in last change.
12723
12724 * faces.el (link): Use a less saturated blue on light backgrounds.
12725
12726 * startup.el (fancy-startup-text, fancy-about-text)
12727 (fancy-startup-tail): Use font-lock faces, for background safety.
12728
12729 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
12730
12731 * emulation/viper-cmd.el (viper-change-state-to-vi):
12732 Limit triggering of abbrev expansion (Bug#9038).
12733
12734 2011-07-09 Martin Rudalics <rudalics@gmx.at>
12735
12736 * window.el (display-buffer-default-specifiers): Remove.
12737 (display-buffer-macro-specifiers): Remove default specifiers.
12738 (display-buffer-alist): Default to nil.
12739 (display-buffer-reuse-window): New optional argument other-window.
12740 (display-buffer-pop-up-window): Allow splitting internal
12741 windows. Check whether a live window was created.
12742 (display-buffer-other-window-means-other-frame)
12743 (display-buffer-normalize-arguments): Rename to
12744 display-buffer-normalize-argument and rewrite. Set the
12745 other-window specifier.
12746 (display-buffer-normalize-special): New function.
12747 (display-buffer-normalize-options): Rename to
12748 display-buffer-normalize-default and rewrite.
12749 (display-buffer-normalize-options-inhibit): Remove.
12750 (display-buffer-normalize-specifiers): Rewrite.
12751 (display-buffer): Process other-window specifier and call
12752 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
12753 more faithfully.
12754 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
12755 (display-buffer-alist-set): Don't handle 'unset default values.
12756 (display-buffer-in-window, display-buffer-alist-set):
12757 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
12758 <tassilo@member.fsf.org>.
12759
12760 2011-07-09 Leo Liu <sdl.web@gmail.com>
12761
12762 * register.el (insert-register): Restore accidental change on
12763 2011-06-26. (Bug#9028)
12764
12765 2011-07-09 Glenn Morris <rgm@gnu.org>
12766
12767 * subr.el (remq): Handle the empty list. (Bug#9024)
12768
12769 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
12770
12771 * mail/sendmail.el (send-mail-function): No longer delay custom
12772 initialization.
12773 * custom.el (custom-initialize-delay): Doc fix.
12774
12775 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12776
12777 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
12778
12779 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
12780
12781 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
12782 human-friendly prompt.
12783
12784 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12785
12786 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
12787 provided by a particular plugin.
12788
12789 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12790
12791 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
12792 save customizations (with "emacs -Q"), just set the variable
12793 instead of erroring out.
12794
12795 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12796
12797 2011-07-08 Juri Linkov <juri@jurta.org>
12798
12799 * arc-mode.el (archive-zip-expunge, archive-zip-update)
12800 (archive-zip-update-case): Use 7z if found by `executable-find'.
12801 The order of searching the available programs is the same as in
12802 `archive-zip-extract' (bug#8968).
12803
12804 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
12805
12806 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
12807 (menu-bar-options-menu): Tweak descriptions.
12808
12809 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12810
12811 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
12812 menu items into verb phrases (bug#1421). Also refill to fit under
12813 80 columns.
12814
12815 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
12816
12817 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
12818 (Info-read-node-name): Doc fix (Bug#1084).
12819
12820 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
12821 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
12822 (end-of-sexp, beginning-of-sexp)
12823 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
12824 (forward-symbol, forward-same-syntax, word-at-point)
12825 (sentence-at-point): Doc fix (Bug#1144).
12826
12827 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12828
12829 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
12830 should cover it (bug#1281).
12831
12832 * cus-edit.el (custom-show): Mark as obsolete.
12833
12834 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12835 negotiation fails, then possibly try again with a non-encrypted
12836 connection (bug#9017).
12837
12838 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
12839 be used.
12840
12841 2011-07-07 Richard Stallman <rms@gnu.org>
12842
12843 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
12844 property, and handle its changed format.
12845 Look for the correct line number.
12846 Use file's line contents (but not past first =) to find
12847 correct line in message.
12848
12849 2011-07-07 Kenichi Handa <handa@m17n.org>
12850
12851 * international/characters.el (build-unicode-category-table):
12852 Delete it.
12853 (unicode-category-table): Set it by unicode-property-table-internal.
12854
12855 * international/mule-cmds.el (char-code-property-alist): Move to
12856 to src/chartab.c.
12857 (get-char-code-property): Call unicode-property-table-internal to
12858 load a file. Call get-unicode-property-internal where necessary.
12859 (put-char-code-property): Call unicode-property-table-internal to
12860 load a file. Call put-unicode-property-internal where necessary.
12861 put-unicode-property-internal where necessary.
12862 (char-code-property-description):
12863 Call unicode-property-table-internal to load a file.
12864
12865 * international/charprop.el:
12866 * international/uni-bidi.el:
12867 * international/uni-category.el:
12868 * international/uni-combining.el:
12869 * international/uni-comment.el:
12870 * international/uni-decimal.el:
12871 * international/uni-decomposition.el:
12872 * international/uni-digit.el:
12873 * international/uni-lowercase.el:
12874 * international/uni-mirrored.el:
12875 * international/uni-name.el:
12876 * international/uni-numeric.el:
12877 * international/uni-old-name.el:
12878 * international/uni-titlecase.el:
12879 * international/uni-uppercase.el: Regenerate.
12880
12881 * loadup.el: Load international/charprop.el before
12882 international/characters.
12883
12884 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
12885
12886 * window.el (next-buffer, previous-buffer): Signal an error if
12887 called from a minibuffer window.
12888
12889 * bindings.el: Revert 2011-07-04 change.
12890
12891 2011-07-06 Richard Stallman <rms@gnu.org>
12892
12893 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12894 (rmail-mime-insert-bulk, rmail-mime-insert-text):
12895 Treat markers like ints.
12896 (rmail-mime-entity): Doc fix.
12897
12898 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12899
12900 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12901 defcustom again for backwards compatibility.
12902
12903 * simple.el (shell-command-on-region): Fill.
12904
12905 * dired-aux.el (dired-kill-line): Add a doc string.
12906
12907 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12908 to "\\sw\\|\\s_" (bug#358).
12909
12910 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12911 (dired-unmark-backward): Ditto.
12912 (dired-flag-backup-files): Ditto.
12913
12914 * dired-x.el (dired-mark-sexp): Ditto.
12915
12916 2011-07-06 Richard Stallman <rms@gnu.org>
12917
12918 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12919 (rmail-mime-entity): New arg TRUNCATED.
12920 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12921 New functions.
12922 (rmail-mime-save): Warn if entity is truncated.
12923 (rmail-mime-toggle-hidden): Likewise, for showing.
12924 (rmail-mime-process-multipart): Record when an entity is truncated.
12925
12926 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12927 if ENTITY is a string.
12928
12929 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12930
12931 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
12932 of faces when `M-C-x'-ing their definitions (bug#8378).
12933 Also clean up the code slightly.
12934
12935 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
12936 because that makes the colors go away.
12937
12938 * mail/sendmail.el (send-mail-function): Change the default to
12939 `sendmail-query-once'.
12940 (sendmail-query-once): Add an autoload cookie.
12941
12942 * net/network-stream.el (network-stream-open-starttls): Try using
12943 a plain connection even if the server offered STARTTLS, and we
12944 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12945 capability. This should make smtpmail.el work in slightly more
12946 configurations.
12947
12948 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
12949
12950 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12951 New defun.
12952 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12953
12954 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12955
12956 * progmodes/sql.el: Version 3.0
12957 (sql-product-alist): Add product :completion-object,
12958 :completion-column, and :statement attributes.
12959 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
12960 (sql-mode-syntax-table): Mark all punctuation.
12961 (sql-font-lock-keywords-builder): Temporarily remove fallback on
12962 ansi keywords.
12963 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
12964 (sql-mode-oracle-font-lock-keywords): Improve.
12965 (sql-oracle-show-reserved-words): New function for development.
12966 (sql-product-font-lock): Simplify for source code buffers.
12967 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12968 New functions.
12969 (sql-highlight-product): Set product specific syntax table.
12970 (sql-mode-map): Add statement movement functions.
12971 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12972 New variable.
12973 (sql-statement-regexp, sql-beginning-of-statement)
12974 (sql-end-of-statement, sql-signum): New functions.
12975 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
12976 (sql-show-sqli-buffer): Bug fix.
12977 (sql-interactive-mode): Store connection data as buffer local.
12978 (sql-connect): Add NEW-NAME parameter. Redesign interaction
12979 with sql-interactive-mode.
12980 (sql-save-connection): Save buffer local settings.
12981 (sql-connection-menu-filter): Change menu entry name.
12982 (sql-product-interactive): Bug fix.
12983 (sql-preoutput-hold): New variable.
12984 (sql-interactive-remove-continuation-prompt): Bug fixes.
12985 (sql-debug-redirect): New variable.
12986 (sql-str-literal): New function.
12987 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
12988 Redesign.
12989 (sql-oracle-save-settings, sql-oracle-restore-settings)
12990 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12991 (sql-completion-object, sql-completion-column)
12992 (sql-completion-sqlbuf): New variables.
12993 (sql-build-completions-1, sql-build-completions)
12994 (sql-try-completion): New functions.
12995 (sql-read-table-name): Use them.
12996 (sql-contains-names): New buffer local variable.
12997 (sql-list-all, sql-list-table): Use it.
12998 (sql-oracle-completion-types): New variable.
12999 (sql-oracle-completion-object, sql-sqlite-completion-object)
13000 (sql-postgres-completion-object): New functions.
13001
13002 2011-07-06 Glenn Morris <rgm@gnu.org>
13003
13004 * window.el (pop-to-buffer): Doc fix.
13005
13006 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
13007
13008 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
13009
13010 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
13011
13012 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
13013
13014 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
13015
13016 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
13017
13018 * button.el (button): Inherit from link face. Suggested by Dan
13019 Nicolaescu.
13020
13021 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13022
13023 * progmodes/gdb-mi.el: Fit in 80 columns.
13024 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
13025 switch-to-buffer.
13026
13027 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
13028 if imenu is simply not configured (bug#8941).
13029
13030 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
13031
13032 * allout.el (allout-post-undo-hook): New allout outline-change
13033 event hook to signal undo activity.
13034 (allout-post-command-business): Run allout-post-undo-hook if an
13035 undo just occurred.
13036 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
13037 * allout-widgets.el (allout-widgets-after-undo-function):
13038 Ensure the integrity of the current item's decoration after it has been
13039 in the vicinity of an undo.
13040 (allout-widgets-mode): Include allout-widgets-after-undo-function
13041 on the new allout-post-undo-hook.
13042
13043 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13044
13045 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
13046 Let define-derived-mode define it.
13047 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
13048 cycles of abbrev-table inheritance (bug#8998).
13049
13050 2011-07-05 Roland Winkler <winkler@gnu.org>
13051
13052 * textmodes/bibtex.el: Add support for biblatex.
13053 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
13054 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
13055 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
13056 (bibtex-entry-alist, bibtex-field-alist): New variables.
13057 (bibtex-entry-field-alist): Obsolete alias for
13058 bibtex-BibTeX-entry-alist.
13059 (bibtex-entry-alist, bibtex-field-alist): New widgets.
13060 (bibtex-set-dialect): New command.
13061 (bibtex-entry-type, bibtex-entry-head)
13062 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
13063 Bind via bibtex-set-dialect.
13064 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
13065 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
13066 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
13067 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
13068 Define via bibtex-set-dialect.
13069 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
13070 Obey bibtex-no-opt-remove-re.
13071 (bibtex-vec-push, bibtex-vec-incr): New functions.
13072 (bibtex-format-entry, bibtex-field-list)
13073 (bibtex-print-help-message, bibtex-validate)
13074 (bibtex-search-entries): Use new format of bibtex-entry-alist.
13075
13076 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13077
13078 * progmodes/compile.el (compilation-goto-locus):
13079 * net/tramp-cmds.el (tramp-append-tramp-buffers):
13080 * bs.el (bs-cycle-next, bs-cycle-previous):
13081 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
13082 * bindings.el (mode-line-other-buffer):
13083 * autoinsert.el (auto-insert):
13084 * arc-mode.el (archive-extract):
13085 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
13086
13087 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
13088
13089 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
13090 Fix check of `emacs-lock-unlockable-modes'.
13091 Coerce true values of `emacs-lock--try-unlocking' to t.
13092
13093 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
13094
13095 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
13096 * emacs-lock.el: New file.
13097
13098 2011-07-05 Julien Danjou <julien@danjou.info>
13099
13100 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
13101 than `boundp' to check if face is set.
13102
13103 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
13104
13105 * register.el (registerv-make):
13106 * window.el (window-min-height): Fix typos in docstrings.
13107
13108 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
13109
13110 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
13111 Update doc string.
13112
13113 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
13114
13115 * server.el (server-execute): Catch quit and call
13116 `server-return-error' to pass the error back to emacsclient and
13117 close the connection (bug#8942).
13118
13119 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
13120
13121 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
13122 insecure exception for current topic. Also note that auto-saves
13123 are handled differently.
13124
13125 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13126 State variables for tracking auto-save inhibition situation.
13127
13128 (allout-write-contents-hook-handler): Rename from
13129 'allout-write-file-hook-handler', and describe how it depends on
13130 write-contents-functions sensitivity to non-nil value to prevent
13131 file write.
13132
13133 (allout-auto-save-hook-handler): Remove. auto-save does not check
13134 this in individual buffers, only in the starting buffer, so this
13135 is not the right way for us to inhibit auto-save in a buffer
13136 according to its condition.
13137
13138 (allout-mode): Use new allout-write-contents-hook-handler, and
13139 only with write-contents-functions. Remove auto-save provisions -
13140 they're implemented elsewhere.
13141
13142 (allout-before-change-handler): If undo is in progress, note that
13143 for attention of allout-post-command-business.
13144
13145 (allout-post-command-business): If the command we're following was
13146 an undo, check for change in the status of encrypted items and
13147 adjust auto-save inhibitions accordingly.
13148
13149 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
13150 according to whether there are or aren't any plain-text topics
13151 pending encryption.
13152
13153 (allout-inhibit-auto-save-info-for-decryption):
13154 Adjust buffer-saved-size and some allout state to inhibit auto-saves
13155 if there are plain-text topics pending encryption.
13156
13157 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
13158 buffer-saved-size and some allout state to not inhibit auto-saves
13159 if there are no longer any plain-text topics pending encryption.
13160
13161 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
13162 No longer provide for exemption of the current topic.
13163
13164 2011-07-04 Juri Linkov <juri@jurta.org>
13165
13166 Add 7z operations to delete and save changed members (bug#8968).
13167 * arc-mode.el (archive-7z-expunge, archive-7z-update):
13168 New defcustoms.
13169 (archive-7z-write-file-member): New function.
13170 (archive-7z-summarize): Fix the number of dashes in the
13171 listing output.
13172
13173 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13174
13175 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
13176 (bug#8958).
13177
13178 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
13179
13180 * bindings.el: Ignore next-buffer and previous-buffer in
13181 minibuffer-local-map.
13182
13183 * font-lock.el (font-lock-builtin-face): Change light background
13184 color to dark slate blue (Bug#6693).
13185
13186 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
13187
13188 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
13189
13190 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13191
13192 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
13193 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13194 Add switch-to-buffer.
13195
13196 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13197
13198 * isearch.el (isearch-search-fun-function): Clarify further the
13199 meaning of the function returned.
13200
13201 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
13202
13203 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
13204
13205 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
13206 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
13207 Use it.
13208 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
13209 `tramp-default-remote-path' does not exist.
13210 (tramp-send-command-and-read): New optional argument NOERROR.
13211 (tramp-open-connection-setup-interactive-shell)
13212 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
13213 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
13214 (tramp-process-sentinel): Flush also process' connection property.
13215 (tramp-sh-handle-start-file-process): Do not set process
13216 sentinel. It is done now ...
13217 (tramp-maybe-open-connection): ... here. (Bug#8929)
13218
13219 2011-07-04 MON KEY <monkey@sandpframing.com>
13220
13221 * play/animate.el (animate-string): Doc fixes and allow changing
13222 the buffer name (bug#5417).
13223
13224 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13225
13226 * play/animate.el (animation-buffer-name): Rename from *animate*.
13227
13228 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
13229
13230 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
13231 This is simpler and helps future-proof the code.
13232 (timer-until): Use time-subtract and float-time.
13233 (timer--time-less-p): Use time-less-p.
13234
13235 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
13236
13237 * type-break.el (timep): Use the value of `float-time' to avoid a
13238 byte-compiler warning.
13239
13240 * server.el (server-eval-and-print): Return any result, even nil.
13241
13242 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
13243
13244 * type-break.el: Accept time formats that the builtins accept.
13245 (timep, type-break-time-difference): Accept any format that
13246 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
13247 This is simpler and helps future-proof the code.
13248 (type-break-time-difference): Round rather than ignoring
13249 subseconds components.
13250
13251 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13252
13253 * info.el (Info-apropos-matches): Make non-interactive, since it
13254 doesn't seem to do anything useful as a command (bug#8829).
13255
13256 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
13257
13258 * frame.el (frame-background-mode, frame-set-background-mode):
13259 Move from faces.el.
13260 (frame-default-terminal-background): New function.
13261
13262 * custom.el (custom-push-theme): Don't record faces in `changed'
13263 theme; this doesn't work correctly for per-frame face settings.
13264 (disable-theme): Use face-set-after-frame-default to reset faces.
13265 (custom--frame-color-default): New function.
13266
13267 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13268
13269 * dired.el (dired-flagging-regexp): Remove unused variable
13270 (bug#8769).
13271
13272 2011-03-29 Kevin Ryde <user42@zip.com.au>
13273
13274 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13275 `perl-Test2' extend to match possible "fail #N" rep count
13276 (bug#8377).
13277
13278 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13279
13280 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
13281 `smtpmail-via-smtp' now returns the error instead of nil.
13282
13283 * isearch.el (isearch-search-fun-function): Clarify the doc string
13284 (bug#8101).
13285
13286 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
13287
13288 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
13289 unnecessary spaces (bug#8987).
13290
13291 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13292
13293 * net/network-stream.el (open-network-stream): Use the
13294 :end-of-capability command thoughout.
13295
13296 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13297
13298 * net/network-stream.el (open-network-stream): Add the
13299 :end-of-capability command parameter, used by pop3.el.
13300
13301 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13302
13303 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
13304
13305 * fringe.el (fringe-query-style): Remove redundant text " (type ?
13306 for list)" (bug#6475).
13307
13308 * files.el (file-expand-wildcards): Ignore non-readable
13309 sub-directories while trying to find matches instead of signaling
13310 an error (bug#6297).
13311
13312 * man.el (Man-reference-regexp): Allow matching possible
13313 word-wrapped references (bug#6289).
13314
13315 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
13316 for consistency with the other vc buffers (bug#6197).
13317 (vc-checkin): Ditto.
13318
13319 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
13320
13321 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
13322
13323 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13324
13325 * custom.el (defcustom): Clarify that :set is only used in the
13326 Customize user interface (bug#6089).
13327
13328 * progmodes/flymake.el (flymake-mode): If the buffer isn't
13329 associated with a file, refuse to run instead of erroring out
13330 (bug#6084).
13331
13332 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
13333 the doc string, since it appears that using `fill-column' always
13334 controls the width (bug#7845).
13335
13336 * simple.el (shell-command-on-region): Say where the error output
13337 went if `shell-command-default-error-buffer' is set (bug#6857).
13338
13339 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
13340
13341 * allout.el (allout-yank-processing): Adjust cursor position for
13342 backwards-deleted space.
13343
13344 (allout-rebullet-heading): Register changes with
13345 allout-exposure-changed-hook, so the modified topic is properly
13346 decorated.
13347
13348 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13349
13350 * minibuffer.el (completion-in-region): Document PREDICATE
13351 (bug#7136).
13352
13353 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
13354 of keyword/argument pairs (bug#6904).
13355
13356 * replace.el (multi-occur):
13357 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
13358
13359 2011-07-02 Drew Adams <drew.adams@oracle.com>
13360
13361 * dired.el (dired-mark-if): Make the message about whether it's
13362 marking or unmarking clearer (bug#8523).
13363
13364 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13365
13366 * disp-table.el (display-table-print-array): New function.
13367 (describe-display-table): Use it to print the vectors more pretty
13368 (Bug#8859).
13369
13370 2011-07-02 Martin Rudalics <rudalics@gmx.at>
13371
13372 * window.el (window-state-get-1): Don't assign clone numbers.
13373 Add clone-of item to list of window parameters.
13374 (window-state-put-2): Don't process clone numbers.
13375 (display-buffer-alist): Fix doc-string.
13376
13377 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
13378
13379 * subr.el (remq): Don't allocate if it's not needed.
13380 (keymap--menu-item-binding, keymap--menu-item-with-binding)
13381 (keymap--merge-bindings): New functions.
13382 (keymap-canonicalize): Use them to refine the canonicalization.
13383 * minibuffer.el (minibuffer-local-completion-map)
13384 (minibuffer-local-must-match-map): Move initialization from C.
13385 (minibuffer-local-filename-completion-map): Move initialization from C;
13386 don't inherit from anything here.
13387 (minibuffer-local-filename-must-match-map): Make obsolete.
13388 (completing-read-default): Use make-composed-keymap to combine
13389 minibuffer-local-filename-completion-map with either
13390 minibuffer-local-must-match-map or
13391 minibuffer-local-filename-completion-map.
13392
13393 2011-07-01 Glenn Morris <rgm@gnu.org>
13394
13395 * type-break.el (type-break-time-sum): Use dolist.
13396
13397 * textmodes/flyspell.el (flyspell-word-search-backward):
13398 Replace CL function.
13399
13400 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13401
13402 * mouse.el (mouse--strip-first-event): New function.
13403 (function-key-map): Use it to map fringe clicks to normal clicks
13404 by default.
13405
13406 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
13407 (vc-bzr-revision-completion-table): Add support for annotate and date.
13408
13409 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
13410 inherit from parent.
13411
13412 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13413
13414 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
13415 (dired-show-file-type): Doc fixup (bug#8818).
13416
13417 * dired.el (dired-mode): Fix up the doc string as suggested by
13418 Drew Adams (bug#8817).
13419
13420 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
13421 cookie, since the manual says that it should be possible to add
13422 this function to `find-file-hook' (bug#8709).
13423
13424 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13425
13426 * progmodes/cfengine.el: Moved all cfengine3.el functionality
13427 here. Noted Ted Zlatanov as the maintainer.
13428 (cfengine-common-settings, cfengine-common-syntax): New functions
13429 to set up common things between `cfengine-mode' and
13430 `cfengine3-mode'.
13431 (cfengine3-mode): New mode.
13432 (cfengine3-defuns cfengine3-defuns-regex
13433 (cfengine3-class-selector-regex cfengine3-category-regex)
13434 (cfengine3-vartypes cfengine3-font-lock-keywords)
13435 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
13436 (cfengine3-indent-line): Add from cfengine3.el.
13437
13438 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
13439
13440 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
13441
13442 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
13443
13444 2011-07-01 Martin Rudalics <rudalics@gmx.at>
13445
13446 * window.el (same-window-buffer-names, same-window-regexps)
13447 (same-window-p, special-display-frame-alist)
13448 (special-display-popup-frame, special-display-function)
13449 (special-display-buffer-names, special-display-regexps)
13450 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
13451 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13452 (split-window-preferred-function, split-height-threshold)
13453 (split-width-threshold, even-window-heights)
13454 (display-buffer-mark-dedicated, window-splittable-p)
13455 (split-window-sensibly, window-safely-shrinkable-p):
13456 Un-obsolete.
13457 (display-buffer): Don't spread args with function specifier
13458 because special-display-popup-frame won't like it.
13459
13460 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
13461
13462 Time-stamp simplifications and fixes.
13463 These improve accuracy slightly, and future-proof the code
13464 against some potential changes to current-time format.
13465
13466 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
13467 by using time-since and float-time.
13468
13469 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
13470 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
13471 + NNN microseconds".
13472
13473 * type-break.el (type-break-time-sum): Rewrite using time-add.
13474
13475 * play/hanoi.el (hanoi-current-time-float): Remove.
13476 All uses replaced by float-time.
13477
13478 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
13479 This yields a more-accurate answer.
13480 (rng-time-to-float): Remove; no longer needed.
13481
13482 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
13483
13484 * calendar/timeclock.el (timeclock-seconds-to-time):
13485 Defalias to seconds-to-time, since they're the same thing.
13486
13487 * emacs-lisp/elp.el (elp-elapsed-time):
13488 * emacs-lisp/benchmark.el (benchmark-elapse):
13489 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
13490
13491 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13492
13493 * window.el (bury-buffer): Don't iconify the only frame.
13494 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
13495 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
13496
13497 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
13498
13499 * eshell/em-smart.el (eshell-smart-display-navigate-list):
13500 Add mouse-yank-primary.
13501
13502 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13503
13504 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
13505
13506 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13507
13508 * emacs-lisp/find-func.el (find-library--load-name): New fun.
13509 (find-library-name): Use it to find relative load names when provided
13510 absolute file name (bug#8803).
13511
13512 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13513
13514 * textmodes/flyspell.el (flyspell-word): Consider words that
13515 differ only in case as potential doublons (bug#5687).
13516
13517 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
13518 Remove two rather uninteresting debugging-like messages to make
13519 debbugs.el more silent.
13520
13521 * comint.el (comint-password-prompt-regexp): Accept "Response" as
13522 a password-like phrase.
13523
13524 2011-06-30 Masatake YAMATO <yamato@redhat.com>
13525
13526 * progmodes/cc-guess.el: New file.
13527
13528 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
13529
13530 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
13531 derived from `c-basic-common-init'.
13532
13533 * progmodes/cc-mode.el (top-level): Require cc-guess.
13534 (c-basic-common-init): Use `cc-choose-style-for-mode'.
13535
13536 2011-06-30 Lawrence Mitchell <wence@gmx.li>
13537
13538 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
13539
13540 2011-06-30 Alan Mackenzie <acm@muc.de>
13541
13542 * progmodes/cc-engine.el (c-guess-continued-construct):
13543 Correct the handling of template-args-cont, particularly for when font
13544 lock is disabled. Name this case as "CASE G".
13545
13546 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
13547
13548 * allout.el (allout-yank-processing): Fix injection of extra space
13549 between bullet and non-whitespace character in first topic when
13550 pasting, ensuring that the actual spacing in the pasted topic
13551 following the bullet char is preserved. This extra space was
13552 causing pasted encrypted topics to get a decrypted status even
13553 when the content was actually still encrypted. Now the decryption
13554 status from before the paste is preserved.
13555
13556 (allout-flag-region): Set all allout overlays so they evaporate
13557 when reduced to zero length (evanescent), to prevent overlay
13558 leakage.
13559
13560 2011-06-30 Glenn Morris <rgm@gnu.org>
13561
13562 * w32-fns.el (w32-charset-info-alist): Declare.
13563
13564 * find-dired.el (find-grep-options): Simplify.
13565
13566 * term/ns-win.el (ns-set-resource): Declare.
13567
13568 * ses.el (row, col): Declare dynamic variables honestly.
13569
13570 * textmodes/reftex-parse.el (index-tags): Declare.
13571
13572 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
13573
13574 * cus-edit.el (customize-push-and-save): New function.
13575
13576 * files.el (hack-local-variables-confirm): Use it.
13577
13578 * custom.el (load-theme): New arg NO-CONFIRM.
13579 Use customize-push-and-save (Bug#8720).
13580 (custom-enabled-themes): Doc fix.
13581
13582 * cus-theme.el (customize-create-theme)
13583 (custom-theme-merge-theme): Callers to load-theme changed.
13584
13585 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13586
13587 * thingatpt.el (thing-at-point-short-url-regexp): Require that
13588 short URLs have at least one dot in them (bug #7614).
13589
13590 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
13591 nil, because using a pty is apparently too slow (bug #895).
13592
13593 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
13594
13595 * mail/sendmail.el (sendmail-query-once): New function.
13596 (sendmail-query-once-function): New variable.
13597
13598 2011-06-29 Glenn Morris <rgm@gnu.org>
13599
13600 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
13601
13602 * ses.el (top-level): Require cl when compiling.
13603 (ses-set-localvars): Fix error statement.
13604 Call it at compile time to silence a storm of warnings.
13605
13606 2011-06-29 Martin Rudalics <rudalics@gmx.at>
13607
13608 * window.el (normalize-live-buffer): Rename to
13609 window-normalize-buffer.
13610 (normalize-live-frame): Rename to window-normalize-frame.
13611 (normalize-any-window): Rename to window-normalize-any-window.
13612 (normalize-live-window): Rename to window-normalize-live-window.
13613 (make-window-atom): Rename to window-make-atom.
13614 (window-resize-reset): Rename to window--resize-reset.
13615 (window-resize-reset-1): Rename to window--resize-reset-1.
13616 (resize-mini-window): Rename to window--resize-mini-window.
13617 (resize-subwindows-skip-p): Rename to
13618 window--resize-subwindows-skip-p.
13619 (resize-subwindows-normal): Rename to
13620 window--resize-subwindows-normal.
13621 (resize-subwindows): Rename to window--resize-subwindows.
13622 (resize-other-windows): Rename to window--resize-siblings.
13623 (resize-this-window): Rename to window--resize-this-window.
13624 (resize-root-window): Rename to window--resize-root-window.
13625 (resize-root-window-vertically): Rename to
13626 window--resize-root-window-vertically.
13627 (normalize-buffer-to-display): Rename to
13628 window-normalize-buffer-to-display.
13629 (normalize-buffer-to-switch-to): Rename to
13630 window-normalize-buffer-to-switch-to.
13631 Correspondingly update all callers of the functions listed
13632 above.
13633 (display-buffer-alist, display-buffer-normalize-arguments)
13634 (display-buffer-normalize-options, display-buffer)
13635 (display-buffer-alist-set): Use "function" instead of
13636 "fun-with-args".
13637
13638 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
13639
13640 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
13641 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
13642 debbugs.gnu.org. Mention acknowledgment email.
13643
13644 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
13645
13646 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
13647 buffer multibyteness, since it shouldn't matter.
13648
13649 2011-06-28 Martin Rudalics <rudalics@gmx.at>
13650
13651 * window.el (display-buffer-in-side-window): Handle dedicated
13652 windows as in display-buffer-reuse-window.
13653 (display-buffer-normalize-alist): Use value of override
13654 specifier.
13655 (display-buffer-normalize-specifiers): Use value of
13656 other-window-means-other-frame specifier.
13657 (display-buffer-alist): Rewrite some texts in widgets.
13658 (display-buffer): Spread arguments when calling function
13659 specified by fun-with-args.
13660
13661 2011-06-28 Deniz Dogan <deniz@dogan.se>
13662
13663 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13664 Unnest `let'.
13665
13666 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
13667 selectors (Bug#5732).
13668 (css-proprietary-nmstart-re): Use `regexp-opt'.
13669
13670 2011-06-27 Jari Aalto <jari.aalto@cante.net>
13671
13672 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
13673 (eshell-ls-date-format): New defcustom.
13674 (eshell-ls-file): Use it.
13675
13676 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13677
13678 * help-fns.el (describe-variable): Fix message for terminal-local vars.
13679
13680 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
13681
13682 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
13683 (ange-ftp-make-tmp-name): New arg.
13684 (ange-ftp-file-local-copy): Use it.
13685
13686 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
13687
13688 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
13689 no-conversion (Bug#8870).
13690
13691 2011-06-27 Martin Rudalics <rudalics@gmx.at>
13692
13693 * window.el (window-right, window-left, window-child)
13694 (window-child-count, window-last-child)
13695 (window-iso-combination-p, walk-window-tree-1)
13696 (window-atom-check-1, window-tree-1, delete-window)
13697 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
13698 new naming conventions - window-vchild, window-hchild,
13699 window-next and window-prev are now called window-top-child,
13700 window-left-child, window-next-sibling and window-prev-sibling
13701 respectively.
13702 (resize-window-reset): Rename to window-resize-reset.
13703 (resize-window-reset-1): Rename to window-resize-reset-1.
13704 (resize-window): Rename to window-resize.
13705 (window-min-height, window-min-width)
13706 (resize-mini-window, resize-this-window, resize-root-window)
13707 (resize-root-window-vertically, adjust-window-trailing-edge)
13708 (enlarge-window, shrink-window, maximize-window)
13709 (minimize-window, delete-window, quit-restore-window)
13710 (split-window, balance-windows, balance-windows-area-adjust)
13711 (balance-windows-area, window-state-put-2)
13712 (display-buffer-even-window-sizes, display-buffer-set-height)
13713 (display-buffer-set-width, set-window-text-height)
13714 (fit-window-to-buffer): Rename all "resize-window" prefixed
13715 calls to use the "window-resize" prefix convention.
13716 (display-buffer-alist): Fix symbol for label specifier.
13717 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
13718 corresponding specifier.
13719 Reported by Juanma Barranquero <lekktu@gmail.com>.
13720
13721 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13722
13723 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
13724 convention.
13725 (ses-call-printer): Does not pass an empty string to formatter when the
13726 cell is empty to keep from barking printer Calc math-format-value.
13727
13728 2011-06-27 Richard Stallman <rms@gnu.org>
13729
13730 * battery.el (battery-mode-line-limit): New variable.
13731 (battery-update): Handle it.
13732
13733 * mail/rmailmm.el (rmail-mime-process-multipart):
13734 Handle truncated messages.
13735
13736 2011-06-27 Glenn Morris <rgm@gnu.org>
13737
13738 * progmodes/flymake.el (flymake-err-line-patterns):
13739 Allow for column numbers in the ant/javac pattern. (Bug#8866)
13740
13741 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13742
13743 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
13744 (ses--clean-!, ses--clean-_): New functions.
13745 (ses-range): Add configurability of readout order, and conversion
13746 to Calc vector.
13747
13748 * ses.el (ses-repair-cell-reference-all): New function.
13749 (ses-cell-symbol): Set macro as safe, so that it can be used in
13750 formulas.
13751
13752 * ses.el: Update cycle detection algorithm.
13753 (ses-localvars): Add ses--Dijkstra-attempt-nb and
13754 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
13755 (ses-set-localvars): New function.
13756 (ses-make-cell): Add property-list as a cell element.
13757 (ses-cell-property-get-fun, ses-cell-property-get)
13758 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
13759 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
13760 New functions.
13761 (ses-cell-property-set, ses-cell-property-pop)
13762 (ses-cell-property-get-handle): New macro.
13763 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
13764 New aliases, used for code readability.
13765 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
13766 cycle detection.
13767 (ses-self-reference-early-detection): New defcustom.
13768 (ses-formula-references): Robustify against self-referring cells.
13769 (ses-mode): Use ses-set-localvars.
13770 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
13771 before lauching the update processing.
13772 (ses-initialize-Dijkstra-attempt): New function.
13773 (ses-recalculate-cell): Update for cycle detection based on
13774 Dijkstra algorithm.
13775
13776 * ses.el: Fix commenting and indenting convention.
13777
13778 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13779
13780 * bs.el (bs-cycle-next): Complete last change.
13781
13782 2011-06-27 Drew Adams <drew.adams@oracle.com>
13783
13784 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
13785
13786 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13787
13788 * net/network-stream.el (network-stream-open-starttls):
13789 Don't re-get capabilities unless we've reestablished connection.
13790 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
13791
13792 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
13793 to binary to possibly avoid line encoding issues on Windows (among
13794 other things).
13795
13796 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13797
13798 * net/network-stream.el (open-network-stream): Return an :error
13799 saying what the problem was, if possible.
13800
13801 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
13802 server.
13803
13804 * net/network-stream.el (network-stream-open-starttls): If we
13805 wanted to use STARTTLS, and the server offered it, but we weren't
13806 able to because we had no STARTTLS support, then close the connection.
13807 (open-network-stream): Return an :error element, if present.
13808
13809 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
13810
13811 * hl-line.el (hl-line-sticky-flag): Doc fix.
13812 (global-hl-line-sticky-flag): New option (Bug#8323).
13813 (global-hl-line-highlight): Obey it.
13814
13815 * vc/vc.el (vc-revert-show-diff): Default to t.
13816
13817 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
13818
13819 * allout-widgets.el (allout-widgets-post-command-business):
13820 Stop decorating intermediate isearch matches. They're not being
13821 undecorated when an isearch is continued past, and isearch
13822 automatically collapses them. This leads to "widget leaks", where
13823 decorated items accumulate in collapsed areas. Lines with lots of
13824 hidden widgets can slow down cursor travel, substantially.
13825 Too much complicated machinery would be needed to ensure undecoration,
13826 so we're doing without this nicety.
13827
13828 (allout-widgets-tally-string): Don't try to do a hash-table-count
13829 of allout-widgets-tally when it's nil. This eliminates spurious "Error
13830 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
13831 *Messages* when allout-widgets-maintain-tally is t.
13832
13833 2011-06-26 Martin Rudalics <rudalics@gmx.at>
13834
13835 * window.el (display-buffer-normalize-argument): Rename to
13836 display-buffer-normalize-arguments. Handle special meaning of
13837 LABEL argument. Respect special-display-function when popping up
13838 a new frame. Fix code searching for a window showing the buffer
13839 on another frame.
13840 (display-buffer-normalize-specifiers):
13841 Call display-buffer-normalize-arguments.
13842 (display-buffer-in-window): Don't undedicate the window if its
13843 buffer remains the same.
13844 Reported by Drew Adams <drew.adams@oracle.com>.
13845 (display-buffer-alist): Add choice for same-window macro
13846 specfier.
13847 (display-buffer): Mention special meaning of LABEL argument in
13848 doc-string. Fix quoting. Don't pop up a new frame even as
13849 fallback.
13850
13851 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
13852
13853 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
13854 avoid deleting the current window in some cases (bug#8911).
13855
13856 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
13857
13858 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
13859 (Bug#8934)
13860
13861 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13862
13863 * net/network-stream.el (network-stream-open-starttls):
13864 Use built-in TLS support if `gnutls-available-p' is true.
13865 (network-stream-open-tls): Ditto.
13866
13867 2011-06-26 Leo Liu <sdl.web@gmail.com>
13868
13869 * register.el (registerv): New struct.
13870 (registerv-make): New function.
13871 (jump-to-register, describe-register-1, insert-register):
13872 Support the jump-func, print-func and insert-func slot of a registerv
13873 struct. (Bug#8415)
13874
13875 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
13876
13877 * vc/vc.el (vc-revert-show-diff): New defcustom.
13878 (vc-diff-internal): New arg specifying diff buffer.
13879 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
13880 reuse an existing *vc-diff* buffer (Bug#8927).
13881
13882 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13883
13884 2011-06-26 Glenn Morris <rgm@gnu.org>
13885
13886 * progmodes/f90.el (f90-critical-indent): New option.
13887 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13888 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13889 (f90-mode): Doc fix.
13890 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13891 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13892 (f90-beginning-of-block, f90-next-block, f90-indent-region)
13893 (f90-match-end): Handle block, critical.
13894
13895 2011-06-25 Glenn Morris <rgm@gnu.org>
13896
13897 * calendar/diary-lib.el (diary-included-files): Doc fix.
13898 (diary-include-files): New function, extracted from
13899 diary-include-other-diary-files and diary-mark-included-diary-files.
13900 (diary-include-other-diary-files, diary-mark-included-diary-files):
13901 Just call diary-include-files.
13902 (diary-mark-entries): Reset diary-included-files on first call.
13903
13904 * calendar/diary-lib.el (diary-mark-entries)
13905 (diary-mark-included-diary-files):
13906 Visit included diary-files in temp buffers.
13907
13908 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13909 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13910 (f90-start-block-re, f90-imenu-generic-expression)
13911 (f90-looking-at-program-block-start, f90-no-block-limit):
13912 Add support for submodules.
13913
13914 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13915 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
13916
13917 2011-06-25 Eli Zaretskii <eliz@gnu.org>
13918
13919 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13920 buffer-file-type before setting its value, to avoid disastrous
13921 global effects on decoding files for DOS/Windows systems. (Bug#8780)
13922
13923 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
13924
13925 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13926
13927 * ses.el (ses-unload-function):
13928 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13929
13930 * proced.el (proced-unload-function):
13931 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13932
13933 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13934
13935 * server.el (server-create-window-system-frame): Add parameters arg.
13936 (server-process-filter): Doc fix. Handle frame-parameters.
13937
13938 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
13939
13940 Fix bug#8730, bug#8781.
13941
13942 * loadhist.el (unload--set-major-mode): New function.
13943 (unload-feature): Use it.
13944
13945 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13946 (python-unload-function): New function.
13947
13948 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13949
13950 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13951
13952 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13953
13954 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13955 the candidates list.
13956
13957 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
13958
13959 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13960
13961 2011-06-23 Richard Stallman <rms@gnu.org>
13962
13963 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13964 (rmail-variables): Set next-error-move-function.
13965 (rmail-what-message): Take argument POS.
13966 (rmail-next-error-move): New function.
13967
13968 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13969
13970 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13971 messages for adjacent non-terminals.
13972
13973 2011-06-23 Richard Stallman <rms@gnu.org>
13974
13975 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
13976 (rmail-show-message-1): Preserve buffer modified flag.
13977 (rmail-start-mail): Don't specify use of rmail-mail-return;
13978 that's done by mail-bury now.
13979 (rmail-mail-return): Handle arg NEWBUF.
13980
13981 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
13982
13983 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13984 SIZE is a number.
13985
13986 2011-06-23 Martin Rudalics <rudalics@gmx.at>
13987
13988 * window.el (get-lru-window, get-mru-window)
13989 (get-largest-window): Never return a minibuffer window.
13990 (display-buffer-pop-up-window): Fix a bug that could lead to
13991 reusing the minibuffer window.
13992 (display-buffer): Pass original specifier argument to
13993 display-buffer-function instead of the normalized one.
13994 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13995
13996 2011-06-22 Leo Liu <sdl.web@gmail.com>
13997
13998 * minibuffer.el (completing-read-function)
13999 (completing-read-default): Move from minibuf.c
14000
14001 2011-06-22 Richard Stallman <rms@gnu.org>
14002
14003 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
14004 to Rmail even if not started by a special Rmail command.
14005
14006 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
14007 Copy the buffer currently showing just one message.
14008
14009 2011-06-22 Roland Winkler <winkler@gnu.org>
14010
14011 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
14012 (bibtex-clean-entry): First delete the old key so that a
14013 customized algorithm for generating the new key does not get
14014 confused by the old key.
14015 (bibtex-url): Obey regexp of first step.
14016 (bibtex-search-entries): Do not use add-to-list with local
14017 list-var.
14018
14019 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14020
14021 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
14022 stored a user name, then query for the password first, instead of
14023 waiting for SMTP to give an error message and the trying again.
14024
14025 2011-06-22 Lawrence Mitchell <wence@gmx.li>
14026
14027 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
14028 BUFFER in call-process.
14029
14030 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14031
14032 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
14033 QUIT twice.
14034 (smtpmail-try-auth-methods): Require user name and password from
14035 auth-source.
14036
14037 2011-06-22 Martin Rudalics <rudalics@gmx.at>
14038
14039 * window.el (display-buffer-default-specifiers)
14040 (display-buffer-alist): Remove entries for pop-up-frame-alist.
14041 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
14042 (split-window): Normalize SIDE argument (Bug#8916).
14043
14044 * frame.el (pop-up-frame-alist, pop-up-frame-function)
14045 (special-display-frame-alist, special-display-popup-frame):
14046 Remove duplicate declarations. These are now in window.el.
14047
14048 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14049
14050 * mail/smtpmail.el (smtpmail-via-smtp):
14051 Set :use-starttls-if-possible so that we always use STARTTLS if the
14052 server supports it. SMTP servers that support STARTTLS commonly
14053 require it.
14054
14055 * net/network-stream.el (network-stream-open-starttls): Support
14056 upgrading to STARTTLS always, even if we don't have built-in support.
14057 (open-network-stream): Add the :always-query-capabilities keyword.
14058
14059 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
14060 upgrades with `open-network-stream', and rely solely on
14061 auth-source for all credentials. Big changes throughout the file,
14062 but in particular:
14063 (smtpmail-auth-credentials): Remove.
14064 (smtpmail-starttls-credentials): Remove.
14065 (smtpmail-via-smtp): Check for servers saying they want AUTH after
14066 MAIL FROM, too.
14067
14068 * net/network-stream.el (network-stream-open-starttls):
14069 Provide support for client certificates both for external and built-in
14070 STARTTLS.
14071 (auth-source): Require.
14072 (open-network-stream): Document the :client-certificate keyword.
14073 (network-stream-certificate): Change cert-cert to cert and
14074 cert-key to key.
14075
14076 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
14077
14078 * net/tramp-cache.el (top): Don't load the persistency file when
14079 "emacs -Q" has been called.
14080
14081 2011-06-21 Tim Harper <timcharper@gmail.com>
14082
14083 * term/ns-win.el (ns-initialize-window-system):
14084 Set application-specific `ApplePressAndHoldEnabled' system
14085 resource to NO as it is not yet supported by the NS port.
14086
14087 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
14088
14089 * misc.el (list-dynamic-libraries--refresh): Compute header here...
14090 (list-dynamic-libraries): ...not here.
14091
14092 2011-06-21 Leo Liu <sdl.web@gmail.com>
14093
14094 * subr.el (sha1): Implement sha1 using secure-hash.
14095
14096 2011-06-21 Martin Rudalics <rudalics@gmx.at>
14097
14098 * window.el (display-buffer-alist): In default value do not
14099 enforce searching a window on any but the selected frame.
14100 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
14101 (display-buffer-select-window): Remove function.
14102 (display-buffer-in-window): When a window on another frame gets
14103 reused, do not select it any more but just raise its frame if
14104 necessary (Bug#8851) and (Bug#8856).
14105 (display-buffer-normalize-options): Handle pop-up-frames related
14106 options more faithfully.
14107 (pop-to-buffer): Don't rely on `display-buffer' selecting the
14108 window if it is on another frame.
14109 (display-buffer-alist, display-buffer-default-specifiers):
14110 Don't make new frame unsplittable by default.
14111 (display-buffer-normalize-argument): Fix doc-string typo and use
14112 'same-frame-other-window instead of 'other-window when associating
14113 with display-buffer-macro-specifiers.
14114
14115 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
14116
14117 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
14118 New functions.
14119 (5x5-mode-map, 5x5-mode-menu): Bind them.
14120 (5x5-draw-grid): Tweak the solver's rendering.
14121
14122 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14123
14124 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
14125 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
14126
14127 2011-06-21 Drew Adams <drew.adams@oracle.com>
14128
14129 * menu-bar.el: Use function variable instead of switch-to-buffer.
14130 (menu-bar-select-buffer-function): New variable.
14131 (menu-bar-update-buffers): Use it (bug#8876).
14132
14133 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14134
14135 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
14136 variable's status.
14137
14138 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
14139
14140 * x-dnd.el (x-dnd-version-from-flags)
14141 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
14142 and long as number (Bug#8899).
14143 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
14144
14145 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
14146
14147 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
14148 (completion-try-completion, completion-all-completions): Compute the
14149 metadata argument if it's missing; make it optional (bug#8795).
14150
14151 * wid-edit.el: Use lex-bind and move towards completion-at-point.
14152 (widget-complete): Use new :completion-function property.
14153 (widget-completions-at-point): New function.
14154 (default): Use :completion-function instead of :complete.
14155 (widget-default-completions): Rename from widget-default-complete;
14156 Rewrite.
14157 (widget-string-complete, widget-file-complete, widget-color-complete):
14158 Remove functions.
14159 (file, symbol, function, variable, coding-system, color):
14160 * international/mule-cmds.el (default-input-method, charset)
14161 (language-info-custom-alist):
14162 * cus-edit.el (face): Use new property :completions.
14163
14164 * progmodes/pascal.el (pascal-completions-at-point): New function.
14165 (pascal-mode): Use it.
14166 (pascal-mode-map): Use completion-at-point.
14167 (pascal-toggle-completions): Make obsolete.
14168 (pascal-complete-word, pascal-show-completions):
14169 * progmodes/octave-mod.el (octave-complete-symbol):
14170 Redefine as obsolete alias.
14171 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
14172 Signal absence of completion info for old Octave,
14173 (inferior-octave-complete): Redefine as obsolete alias.
14174 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
14175 (meta-completions-at-point): Rename from meta-complete-symbol and
14176 adapt it for use on completion-at-point-functions.
14177 (meta-common-mode): Use it.
14178 (meta-looking-at-backward, meta-match-buffer): Remove.
14179 (meta-complete-symbol): Redefine as obsolete alias.
14180 (meta-common-mode-map): Use completion-at-point.
14181 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
14182 (makefile-mode-map): Use completion-at-point.
14183 (makefile-completions-at-point): Rename from makefile-complete and
14184 adapt it for use on completion-at-point-functions.
14185 (makefile-mode): Use it.
14186 (makefile-complete): Redefine as obsolete alias.
14187
14188 2011-06-20 Deniz Dogan <deniz@dogan.se>
14189
14190 * net/rcirc.el: Delete trailing whitespaces once and for all.
14191
14192 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
14193
14194 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
14195
14196 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
14197
14198 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
14199
14200 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
14201
14202 2011-06-19 Martin Rudalics <rudalics@gmx.at>
14203
14204 * window.el (display-buffer-other-window-means-other-frame):
14205 Call display-buffer-normalize-alist.
14206 (display-buffer-normalize-specifiers-1): Rename to
14207 display-buffer-normalize-argument. New argument other-frame.
14208 Rewrite.
14209 (display-buffer-normalize-specifiers-2): Rename to
14210 display-buffer-normalize-options.
14211 (display-buffer-normalize-alist-1): New function.
14212 (display-buffer-normalize-specifiers-3): Rename to
14213 display-buffer-normalize-alist.
14214 Call display-buffer-normalize-alist-1.
14215 (display-buffer-normalize-options-inhibit): New variable.
14216 (display-buffer-normalize-specifiers): Rewrite calling
14217 display-buffer-normalize-alist,
14218 display-buffer-normalize-argument, and
14219 display-buffer-normalize-options. Don't call the latter if
14220 display-buffer-normalize-options-inhibit is non-nil.
14221 (frame-auto-delete): New option.
14222 (window-deletable-p): Use frame-auto-delete.
14223 (window-list-no-nils, window-state-ignored-parameters)
14224 (window-state-get-1, window-state-get, window-state-put-list)
14225 (window-state-put-1, window-state-put-2, window-state-put):
14226 New functions.
14227 (display-buffer-normalize-options): Move special-display-p group
14228 after pop-up-frame group (Bug#8851) and (Bug#8856).
14229
14230 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
14231
14232 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
14233 groups (Bug#8776).
14234 (rx-submatch-n): New function.
14235 (rx): Document it.
14236
14237 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
14238 (Bug#8768).
14239
14240 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
14241
14242 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
14243
14244 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
14245 anytime existing face settings are present (Bug#8889).
14246
14247 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
14248 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
14249 Remove unused argument.
14250
14251 2011-06-18 Martin Rudalics <rudalics@gmx.at>
14252
14253 * window.el (display-buffer-default-specifiers):
14254 Remove pop-up-frame. Add pop-up-window-min-height,
14255 pop-up-window-min-width, and another reuse-window specifier
14256 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
14257 (display-buffer-normalize-specifiers-2):
14258 Handle split-height-threshold and split-width-threshold also when
14259 pop-up-windows is unset. Add a reuse-window specifier for the
14260 case popping up a new window fails.
14261 (special-display-popup-frame): Remove double quoting.
14262 (display-buffer-normalize-specifiers-1): Fix thinko.
14263
14264 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
14265
14266 * shell.el (shell-completion-vars): Set pcomplete-termination-string
14267 according to comint-completion-addsuffix.
14268
14269 * pcomplete.el: Convert to lexical binding and fix bug#8819.
14270 (pcomplete-suffix-list): Mark as obsolete.
14271 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
14272 pcomplete-seen in the closure.
14273 (pcomplete-comint-setup): Setup completion-at-point as well.
14274 (pcomplete--entries): New function.
14275 (pcomplete--env-regexp): New var.
14276 (pcomplete-entries): Rewrite to work with partial-completion and
14277 without relying on pcomplete-suffix-list.
14278 (pcomplete-pare-list): Remove, unused.
14279
14280 2011-06-17 Martin Rudalics <rudalics@gmx.at>
14281
14282 * window.el (display-buffer-alist): Set pop-up-window-min-height
14283 and pop-up-window-min-width in default value. Reported by
14284 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
14285 other-window-means-other-frame.
14286 (display-buffer-macro-specifiers): Comment out entry for
14287 other-window specifier.
14288 (display-buffer-other-window-means-other-frame): New function.
14289 (display-buffer-normalize-specifiers-1): New arguments
14290 buffer-name and label. Treat other-window case specially.
14291 (display-buffer-normalize-specifiers-2): Treat other-window case
14292 specially.
14293 (display-buffer-normalize-specifiers-3): New function.
14294 (display-buffer-normalize-specifiers):
14295 Call display-buffer-normalize-specifiers-3.
14296
14297 2011-06-17 Martin Rudalics <rudalics@gmx.at>
14298
14299 * window.el (same-window-p): Fix two typos introduced when
14300 adding with-no-warnings.
14301 (display-buffer-normalize-specifiers-1): Don't check
14302 pop-up-frames for 'unset initialization.
14303 (display-buffer-normalize-specifiers-2): Major rewrite using
14304 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
14305 (pop-up-frames, display-buffer-reuse-frames)
14306 (display-buffer-mark-dedicated): Don't initialize to 'unset.
14307 Suggested by David Engster <deng@randomsample.de>.
14308 (even-window-heights): Initialize to 'unset.
14309 (display-buffer-alist-set): Handle new 'unset initializations.
14310 (display-buffer-macro-specifiers): Don't pop up a new frame in the
14311 other window case.
14312
14313 2011-06-16 Martin Rudalics <rudalics@gmx.at>
14314
14315 * window.el (display-buffer-normalize-specifiers-1):
14316 Respect current value of pop-up-frames for most reasonable values of
14317 second argument of display-buffer (Bug#8865).
14318 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
14319 (switch-to-buffer-other-window-same-frame)
14320 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
14321 Adams (Bug#8875).
14322 (display-buffer): Don't check noninteractive when calling
14323 display-buffer-pop-up-frame.
14324 (display-buffer-pop-up-frame): Never pop up a frame in
14325 noninteractive mode (Bug#8857).
14326 (enlarge-window, shrink-window): Don't report an error when the
14327 window can't be resized as requested (Bug#8862).
14328
14329 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14330
14331 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
14332
14333 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
14334
14335 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
14336
14337 2011-06-15 Alan Mackenzie <acm@muc.de>
14338
14339 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
14340 for declarators, disable knr checking to speed up for normal files.
14341 2: Refactor, replacing a sequence of nested if forms by a cond form.
14342
14343 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14344
14345 * net/network-stream.el (open-network-stream): Add the keyword
14346 :always-query-capabilities for the case where you want to force a
14347 `plain' network connection, but the protocol still requires the
14348 capabilitiy command (i.e., SMTP and EHLO).
14349
14350 * subr.el (process-live-p): Rename from `process-alive-p' for
14351 consistency with other `-live-p' functions.
14352
14353 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14354
14355 * window.el (same-window-buffer-names, same-window-regexps)
14356 (special-display-frame-alist, special-display-popup-frame)
14357 (special-display-function, special-display-buffer-names)
14358 (special-display-regexps, pop-up-frame-alist)
14359 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
14360 (pop-up-windows, split-window-preferred-function)
14361 (split-height-threshold, split-width-threshold, even-window-heights)
14362 (display-buffer-mark-dedicated): Don't encourage the use of
14363 display-buffer-alist from Elisp code.
14364
14365 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
14366
14367 * progmodes/python.el (python-mode): Derive from prog-mode.
14368 * progmodes/ps-mode.el (ps-mode):
14369 * progmodes/mixal-mode.el (mixal-mode):
14370 * progmodes/cfengine.el (cfengine-mode):
14371 * progmodes/ld-script.el (ld-script-mode): Likewise.
14372
14373 2011-06-15 Martin Rudalics <rudalics@gmx.at>
14374
14375 * window.el (display-buffer-alist): Trim default value to avoid
14376 popping up a new frame (Bug#8857) or reusing an arbitrary window
14377 on another frame.
14378 (display-buffer): Do not fall back on popping up a new frame in
14379 batch mode (Bug#8857).
14380
14381 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
14382
14383 * cus-theme.el (describe-theme-1): Use custom-theme-p.
14384 (custom-theme-summary): New function.
14385 (customize-themes): Use it.
14386
14387 2011-06-13 Glenn Morris <rgm@gnu.org>
14388
14389 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
14390
14391 2011-06-13 Martin Rudalics <rudalics@gmx.at>
14392
14393 * help.el (help-window): Remove variable.
14394 (help-window-point-marker, temp-buffer-max-height)
14395 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
14396 (help-print-return-message): Don't set help-window.
14397 (resize-temp-buffer-window): Rewrite cod eand doc-string.
14398 (help-window-setup-finish): Remove.
14399 (help-window-display-message, help-window-setup)
14400 (with-help-window): Major rewrite based on new
14401 display-buffer-window variable.
14402
14403 * help-mode.el (help-mode-finish): Remove help-window related
14404 code.
14405
14406 * view.el (view-exits-all-viewing-windows): Remove reference to
14407 view-return-to-alist in doc-string.
14408 (view-return-to-alist): Make obsolete.
14409 (view-buffer): Call pop-to-buffer-same-window and remove
14410 undo-window code.
14411 (view-buffer-other-window): Call pop-to-buffer-other-window and
14412 simplify code. Ignore second argument.
14413 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
14414 simplify code. Ignore second argument.
14415 (view-return-to-alist-update): Make obsolete.
14416 (view-mode-enter): Rename second argument to QUIT-RESTORE.
14417 Rewrite using quit-restore window parameters.
14418 (view-mode-exit): Rename second argument to EXIT-ONLY.
14419 Rewrite using quit-restore-window.
14420 (View-exit, View-exit-and-edit, View-leave, View-quit)
14421 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
14422 appropriate arguments.
14423 (view-end-message): Use quit-restore window parameter.
14424
14425 * window.el (display-buffer-function): Rewrite doc-string.
14426 (display-buffer-window, display-buffer-alist): New variables.
14427 (display-buffer-split-specifiers)
14428 (display-buffer-side-specifiers)
14429 (display-buffer-macro-specifiers): New constants.
14430 (display-buffer-even-window-sizes, display-buffer-set-height)
14431 (display-buffer-set-width, display-buffer-select-window)
14432 (display-buffer-in-window, display-buffer-reuse-window)
14433 (display-buffer-split-window-1, display-buffer-split-window)
14434 (display-buffer-split-atom-window, display-buffer-pop-up-window)
14435 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
14436 (display-buffer-in-side-window, normalize-buffer-to-display)
14437 (display-buffer-normalize-specifiers-1)
14438 (display-buffer-normalize-specifiers-2)
14439 (display-buffer-normalize-specifiers, display-buffer-frame):
14440 New functions.
14441 (display-buffer): Major rewrite.
14442 (display-buffer-other-window, display-buffer-other-frame)
14443 (pop-to-buffer, switch-to-buffer-other-window)
14444 (switch-to-buffer-other-frame): Rewrite.
14445 (display-buffer-same-window, display-buffer-same-frame)
14446 (display-buffer-same-frame-other-window)
14447 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14448 (pop-to-buffer-other-window)
14449 (pop-to-buffer-same-frame-other-window)
14450 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
14451 (switch-to-buffer-other-window-same-frame): New functions.
14452 (same-window-p, special-display-p): Rewrite disabling warnings.
14453 Make obsolete.
14454 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14455 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
14456 Make obsolete
14457 (same-window-buffer-names, same-window-regexps)
14458 (special-display-frame-alist, special-display-popup-frame)
14459 (special-display-function, special-display-buffer-names)
14460 (special-display-regexps, pop-up-frame-alist)
14461 (pop-up-frame-function, split-window-preferred-function)
14462 (split-height-threshold, split-width-threshold)
14463 (even-window-heights): Make obsolete.
14464
14465 2011-06-12 Glenn Morris <rgm@gnu.org>
14466
14467 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
14468 Misc simplifications.
14469
14470 2011-06-12 Martin Rudalics <rudalics@gmx.at>
14471
14472 * window.el (window-safely-shrinkable-p): Restore function which
14473 was inadvertently removed in change from 2011-06-11. Declare as
14474 obsolete.
14475
14476 * calendar/calendar.el (calendar-generate-window):
14477 Use window-iso-combined-p instead of combination of one-window-p and
14478 window-safely-shrinkable-p.
14479
14480 2011-06-12 Glenn Morris <rgm@gnu.org>
14481
14482 * progmodes/fortran.el (fortran-mode-syntax-table):
14483 * progmodes/f90.el (f90-mode-syntax-table):
14484 Set % to punctuation. (Bug#8820)
14485 (f90-find-tag-default): Remove, no longer needed.
14486
14487 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
14488
14489 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
14490
14491 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
14492
14493 * image.el (image-animated-p): Return animation delay in seconds.
14494 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
14495 (image-animate-timeout): Remove DELAY argument. Don't assume
14496 every subimage has the same delay; get it from image-animated-p.
14497 (image-animate): Caller changed.
14498
14499 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
14500
14501 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
14502 to ignored backtrace functions.
14503
14504 2011-06-11 Glenn Morris <rgm@gnu.org>
14505
14506 * calendar/appt.el (appt-disp-window-function): Doc fix.
14507 (appt-check): Handle overlapping appointments. (Bug#8337)
14508
14509 2011-06-11 Martin Rudalics <rudalics@gmx.at>
14510
14511 * window.el (window-tree-1, window-tree): New functions, moving
14512 the latter to window.el.
14513 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
14514 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
14515 (bw-refresh-edges): Remove.
14516 (balance-windows-1, balance-windows-2): New functions.
14517 (balance-windows): Rewrite in terms of window tree functions,
14518 balance-windows-1 and balance-windows-2.
14519 (bw-adjust-window): Remove.
14520 (balance-windows-area-adjust): New function with functionality of
14521 bw-adjust-window but using resize-window.
14522 (set-window-text-height): Rewrite doc-string.
14523 Use normalize-live-window and resize-window.
14524 (enlarge-window-horizontally, shrink-window-horizontally):
14525 Rename argument to DELTA.
14526 (window-buffer-height): New function.
14527 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
14528 Rewrite using new window resize routines.
14529 (kill-buffer-and-window, mouse-autoselect-window-select):
14530 Use ignore-errors instead of condition-case.
14531 (quit-window): Call delete-frame instead of delete-windows-on
14532 for the only buffer on frame.
14533
14534 2011-06-10 Martin Rudalics <rudalics@gmx.at>
14535
14536 * loadup.el (top-level): Load window before files for the sake
14537 of replace-buffer-in-windows.
14538
14539 * files.el (read-buffer-to-switch)
14540 (switch-to-buffer-other-window)
14541 (switch-to-buffer-other-frame, display-buffer-other-frame):
14542 Move to window.el.
14543
14544 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
14545 (previous-buffer): Move to window.el.
14546
14547 * bindings.el (unbury-buffer): Move to window.el.
14548
14549 * window.el (delete-other-windows-vertically): Move after
14550 definition of delete-other-windows.
14551 (other-window, delete-windows-on, replace-buffer-in-windows):
14552 Move here from window.c.
14553 (record-window-buffer, unrecord-window-buffer)
14554 (set-window-buffer-start-and-point, switch-to-prev-buffer)
14555 (switch-to-next-buffer): New functions.
14556 (get-next-valid-buffer, last-buffer, next-buffer): Move here
14557 from simple.el. Call switch-to-next-buffer.
14558 (previous-buffer): Move here from simple.el.
14559 Call switch-to-prev-buffer.
14560 (bury-buffer): Move here from buffer.c. Switch to previous
14561 buffer when window cannot be deleted.
14562 (unbury-buffer): Move here from bindings.el.
14563 (ctl-x-map): Move binding for other-window from window.c to
14564 here.
14565 (read-buffer-to-switch, switch-to-buffer-other-window)
14566 (switch-to-buffer-other-frame): Move here from files.el.
14567 (normalize-buffer-to-switch-to): New functions.
14568 (switch-to-buffer): Move here from buffer.c.
14569 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
14570
14571 2011-06-10 Martin Rudalics <rudalics@gmx.at>
14572
14573 * window.el (window-min-height, window-min-width): Move here
14574 from window.c. Add defcustoms and rewrite doc-strings.
14575 (resize-mini-window, resize-window): New functions.
14576 (adjust-window-trailing-edge, enlarge-window, shrink-window):
14577 Move here from window.c.
14578 (maximize-window, minimize-window): New functions.
14579 (delete-window, delete-other-windows, split-window): Move here
14580 from window.c.
14581 (window-split-min-size): New function.
14582 (split-window-keep-point): Mention split-window-above-each-other
14583 instead of split-window-vertically.
14584 (split-window-above-each-other, split-window-vertically):
14585 Rename split-window-vertically to split-window-above-each-other
14586 and provide defalias for old definition.
14587 (split-window-side-by-side, split-window-horizontally):
14588 Rename split-window-horizontally to split-window-side-by-side
14589 and provide defalias for the old definition.
14590 (ctl-x-map): Move bindings for delete-window,
14591 delete-other-windows and enlarge-window here from window.c.
14592 Replace bindings for split-window-vertically and
14593 split-window-horizontally by bindings for
14594 split-window-above-each-other and split-window-side-by-side.
14595
14596 * cus-start.el (all): Remove entries for window-min-height and
14597 window-min-width. Add entries for window-splits and
14598 window-nest.
14599
14600 2011-06-09 Glenn Morris <rgm@gnu.org>
14601
14602 * calendar/appt.el (appt-mode-line): New function.
14603 (appt-check, appt-disp-window): Use it.
14604
14605 * files.el (hack-one-local-variable-eval-safep):
14606 Allow minor-modes with explicit +/-1 arguments.
14607
14608 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
14609
14610 * term/xterm.el (xterm): Add defgroup.
14611 (xterm-extra-capabilities): Add defcustom to supply known xterm
14612 capabilities, skip querying them, or query them (default).
14613 (terminal-init-xterm): Use it.
14614 (terminal-init-xterm-modify-other-keys): New function to set up
14615 modifyOtherKeys support to simplify `terminal-init-xterm'.
14616
14617 2011-06-09 Martin Rudalics <rudalics@gmx.at>
14618
14619 * window.el (resize-window-reset, resize-window-reset-1)
14620 (resize-subwindows-skip-p, resize-subwindows-normal)
14621 (resize-subwindows, resize-other-windows, resize-this-window)
14622 (resize-root-window, resize-root-window-vertically)
14623 (window-deletable-p, window-or-subwindow-p)
14624 (frame-root-window-p): New functions.
14625
14626 2011-06-09 Glenn Morris <rgm@gnu.org>
14627
14628 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
14629 (ange-ftp-get-files): Use it.
14630
14631 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
14632
14633 * mail/sendmail.el (mail-recover-1, mail-recover):
14634 * files.el (recover-file, recover-session):
14635 Handle dired-listing-switches not being just a single short option.
14636
14637 2011-06-09 Glenn Morris <rgm@gnu.org>
14638
14639 * calendar/appt.el (appt-display-message, appt-disp-window):
14640 Handle lists of appointments.
14641
14642 2011-06-08 Martin Rudalics <rudalics@gmx.at>
14643
14644 * window.el (one-window-p): Move down in code.
14645 Rewrite doc-string.
14646 (window-current-scroll-bars): Rewrite doc-string.
14647 Normalize live window argument.
14648 (walk-windows, get-window-with-predicate, count-windows):
14649 Rewrite doc-string. Use window-list-1.
14650 (window-in-direction-2, window-in-direction, get-mru-window):
14651 New functions.
14652
14653 2011-06-08 Reuben Thomas <rrt@sc3d.org>
14654
14655 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
14656 Doc fix (Bug#8713).
14657
14658 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
14659
14660 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
14661
14662 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
14663
14664 * loadhist.el (unload-feature-special-hooks):
14665 Add `comint-output-filter-functions'.
14666
14667 2011-06-08 Ivan Kanis <gnu@kanis.fr>
14668
14669 * calendar/appt.el (appt-check): Move some initializations into the let.
14670
14671 2011-06-08 Martin Rudalics <rudalics@gmx.at>
14672
14673 * window.el (window-height): Defalias to window-total-height.
14674 (window-width): Defalias to window-body-width.
14675
14676 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
14677
14678 * image-mode.el (image-toggle-animation): New command.
14679 (image-mode-map): Bind it to RET.
14680 (image-mode): Update message.
14681 (image-toggle-display-image): Avoid a spurious cache flush.
14682 (image-transform-rotation): Doc fix.
14683 (image-transform-properties): Return quickly in the normal case.
14684 (image-animate-loop): Rename from image-animate-max-time.
14685
14686 * image.el (image-animate-max-time): Move to image-mode.el.
14687 (create-animated-image): Remove unnecessary function.
14688 (image-animate): Rename from image-animate-start. New arg.
14689 (image-animate-stop): Remove; just use image-animate-timer.
14690 (image-animate-timer): Use car-safe.
14691 (image-animate-timeout): Rename argument.
14692
14693 2011-06-07 Martin Rudalics <rudalics@gmx.at>
14694
14695 * window.el (get-lru-window, get-largest-window): Move here from
14696 window.c. Rename first argument to ALL-FRAMES.
14697 Rephrase doc-strings.
14698 (get-buffer-window-list): Rewrite using window-list-1.
14699 Rephrase doc-string.
14700 (window-safe-min-height, window-safe-min-width): New constants.
14701 (window-size-ignore, window-min-size, window-min-size-1)
14702 (window-sizable, window-sizable-p, window-size-fixed-1)
14703 (window-size-fixed-p, window-min-delta-1, window-min-delta)
14704 (window-max-delta-1, window-max-delta, window-resizable)
14705 (window-resizable-p, window-total-height, window-total-width)
14706 (window-body-width): New functions.
14707 (window-full-height-p, window-full-width-p): Rewrite using
14708 window-total-size.
14709 (window-body-height): Rewrite using window-body-size.
14710
14711 2011-06-06 Martin Rudalics <rudalics@gmx.at>
14712
14713 * window.el (window-right, window-left, window-child)
14714 (window-child-count, window-last-child, window-any-p)
14715 (normalize-live-buffer, normalize-live-frame)
14716 (normalize-any-window, normalize-live-window)
14717 (window-iso-combination-p, window-iso-combined-p)
14718 (window-iso-combinations)
14719 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
14720 (windows-with-parameter, window-with-parameter)
14721 (window-atom-root, make-window-atom, window-atom-check-1)
14722 (window-atom-check, window-side-check, window-check):
14723 New functions.
14724 (ignore-window-parameters, window-sides, window-sides-vertical)
14725 (window-sides-slots): New variables.
14726 (window-size-fixed): Move down in code. Minor doc-string fix.
14727
14728 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
14729
14730 * comint.el (comint-dynamic-complete-as-filename)
14731 (comint-dynamic-complete-filename): Correctly call
14732 completion-in-region.
14733
14734 2011-06-05 Deniz Dogan <deniz@dogan.se>
14735
14736 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
14737 in last change.
14738
14739 2011-06-05 Deniz Dogan <deniz@dogan.se>
14740
14741 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
14742 (rcirc): Use it to prompt for encryption.
14743
14744 2011-06-05 Roland Winkler <winkler@gnu.org>
14745
14746 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
14747 (bibtex-search-entries): New command bound to C-c C-a.
14748 (bibtex-display-entries): New function.
14749
14750 2011-06-05 Roland Winkler <winkler@gnu.org>
14751
14752 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
14753 (bibtex-insert-kill): After yanking insert newline if necessary.
14754 (bibtex-initialize): Call bibtex-string-files-init only once.
14755 (bibtex-mode): Do not call easy-menu-add.
14756 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
14757 (bibtex-yank): Set arg properly if nil.
14758
14759 2011-06-05 Roland Winkler <winkler@gnu.org>
14760
14761 * textmodes/bibtex.el (bibtex-search-entry-globally):
14762 New variable.
14763 (bibtex-search-entry): Use it.
14764
14765 2011-06-05 Roland Winkler <winkler@gnu.org>
14766
14767 * textmodes/bibtex.el (bibtex-entry-format): New option
14768 sort-fields.
14769 (bibtex-format-entry, bibtex-reformat): Honor this option.
14770 (bibtex-parse-entry): Return fields in proper order.
14771
14772 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
14773
14774 * doc-view.el (doc-view-remove-if): Move computation of result out
14775 of `dolist' to silence misleading lexical-binding warning.
14776
14777 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
14778
14779 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
14780 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
14781
14782 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
14783
14784 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
14785 "SunOS 5.10".
14786
14787 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
14788
14789 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
14790 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
14791 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
14792 (tramp-parse-putty):
14793 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
14794 (tramp-completion-function-alist-ssh)
14795 (tramp-completion-function-alist-telnet)
14796 (tramp-completion-function-alist-su)
14797 (tramp-completion-function-alist-putty): Set `tramp-autoload'
14798 cookie.
14799
14800 * net/tramp-ftp.el:
14801 * net/tramp-sh.el:
14802 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
14803 load "tramp.el" `tramp-set-completion-function'.
14804
14805 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14806
14807 * shell.el: Require and use pcomplete.
14808 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
14809 (shell-completion-vars): Set pcomplete-default-completion-function.
14810
14811 2011-06-04 Deniz Dogan <deniz@dogan.se>
14812
14813 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
14814 `memq' (Bug#8799).
14815
14816 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14817
14818 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
14819
14820 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
14821
14822 * bs.el (bs--mark-unmark, bs--nth-wrapper):
14823 * mpc.el (mpc-select-extend, mpc-songpointer-context):
14824 * vc/log-view.el (log-view-beginning-of-defun):
14825 * vc/smerge-mode.el (smerge-apply-resolution-patch)
14826 (smerge-refine-forward, smerge-refine-chopup-region):
14827 Silence warning for unused `dotimes' counter variables.
14828
14829 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14830
14831 * net/tramp.el (tramp-with-progress-reporter): Rename from
14832 with-progress-reporter. Use `declare'.
14833 * net/tramp-smb.el:
14834 * net/tramp-sh.el:
14835 * net/tramp-gvfs.el: Update all uses.
14836
14837 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
14838
14839 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
14840 buffer isn't killed before making it current.
14841
14842 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14843
14844 Silence various byte-compiler warnings.
14845 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
14846 `access-type' and new obsolescence format.
14847 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
14848 new format.
14849 (byte-compile-check-variable): New `access-type' argument.
14850 Only warn if the access-type is obsolete.
14851 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14852 (byte-compile-variable-set): Adjust callers.
14853 * help-fns.el (describe-variable): Adjust to new obsolescence format.
14854 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
14855 setting it as obsolete.
14856 * simple.el (minibuffer-completing-symbol):
14857 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
14858 access as obsolete.
14859 * minibuffer.el (minibuffer-completing-file-name): Don't make it
14860 obsolete yet.
14861 * international/quail.el (quail-mouse-choose-completion): Remove unused
14862 code referring to obsolete var.
14863 (quail-choose-completion-string): Remove.
14864 * server.el (server-clients-with, server-kill-buffer-query-function)
14865 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
14866 * proced.el (proced-send-signal):
14867 * emacs-lisp/lisp.el (lisp-complete-symbol):
14868 Replace completion-annotate-function with completion-extra-properties.
14869
14870 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14871
14872 * simple.el (goto-line): Use read-number.
14873 (overriding-map-is-bound): Remove.
14874 (saved-overriding-map): Change default.
14875 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
14876 Take the map as argument.
14877 (universal-argument, negative-argument, digit-argument): Use it.
14878 (restore-overriding-map): Adjust.
14879 (do-auto-fill): Use fill-forward-paragraph.
14880 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14881
14882 * minibuffer.el (minibuffer-inactive-mode-map): New var.
14883 (minibuffer-inactive-mode): New major mode.
14884 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14885 the *Messages* buffer" hack.
14886 (mouse-popup-menubar): Don't burp if the event is a normal key.
14887
14888 Miscellaneous tweaks.
14889 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14890 lexical scoping as in subr.el's dolist and dotimes.
14891 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14892 Silence compiler warning.
14893 * thingatpt.el (forward-whitespace): Trivial coding style fix.
14894 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14895 * international/ccl.el (ccl-compile): Trivial simplification.
14896 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14897 * emacs-lisp/testcover.el (testcover-end): Remove spurious
14898 `printflag' argument.
14899 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14900 Purecopy the whole obsolescence data.
14901
14902 2011-06-01 Leo Liu <sdl.web@gmail.com>
14903
14904 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14905 improve doc-string as suggested by Marco Pessotto
14906 <melmothx@gmail.com>.
14907 (rcirc-print): Fix last change.
14908
14909 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14910
14911 * minibuffer.el (complete-with-action): Return nil for the metadata and
14912 boundaries of non-functional tables.
14913 (completion-table-dynamic): Return nil for the metadata.
14914 (completion-table-with-terminator): Add default case, using
14915 complete-with-action.
14916 (completion--metadata): New function.
14917 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14918 to try and avoid pathological performance problems.
14919 (completion--embedded-envvar-table): Return `category' metadata.
14920
14921 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14922
14923 * subr.el (process-alive-p): New tiny convenience function.
14924
14925 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14926
14927 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14928 content but also its previous major mode.
14929
14930 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
14931
14932 * emacs-lisp/debug.el (debug): Restore the previous content of the
14933 *Backtrace* buffer when we exit with C-M-c.
14934
14935 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14936
14937 * minibuffer.el: Add metadata method to completion tables.
14938 (completion-category-overrides): New defcustom.
14939 (completion-metadata, completion--field-metadata)
14940 (completion-metadata-get, completion--styles)
14941 (completion--cycle-threshold): New functions.
14942 (completion-try-completion, completion-all-completions):
14943 Add `metadata' argument to choose completion-styles.
14944 (completion--do-completion): Use metadata to choose cycling.
14945 (completion-all-sorted-completions): Use metadata for sorting.
14946 Remove :completion-cycle-penalty which is not needed any more.
14947 (completion--try-word-completion): Add `metadata' argument.
14948 (minibuffer-completion-help): Check metadata for annotation function
14949 and sorting.
14950 (completion-file-name-table): Return `category' metadata.
14951 (minibuffer-completing-file-name): Make obsolete.
14952 * simple.el (minibuffer-completing-symbol): Make obsolete.
14953 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14954 completion-try-completion.
14955
14956 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14957
14958 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14959
14960 2011-05-30 Leo Liu <sdl.web@gmail.com>
14961
14962 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
14963 (rcirc-print): Decode all incoming messages (bug#8744).
14964 (rcirc-decode-coding-system): Allow value nil for automatic coding
14965 system detection.
14966
14967 2011-06-01 Glenn Morris <rgm@gnu.org>
14968
14969 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14970
14971 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14972
14973 * image.el (image-animate-max-time): Allow nil and t values.
14974 Default to nil.
14975 (create-animated-image): Doc fix.
14976 (image-animate-start): Remove second arg; just use
14977 image-animate-max-time.
14978 (image-animate-timeout): Doc fix. Args changed.
14979
14980 * image-mode.el (image-toggle-display-image): Ensure that the
14981 image spec passed to the animate timer is the same object as in
14982 the buffer's display property (Bug#6981).
14983 (image-transform-properties): Doc fix.
14984
14985 * image.el (image-animate-max-time): Default to nil.
14986
14987 2011-05-29 Martin Rudalics <rudalics@gmx.at>
14988
14989 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14990 entire buffer list (Bug#8184).
14991
14992 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14993
14994 * image.el (imagemagick-types-inhibit)
14995 (imagemagick-register-types): Doc fix.
14996
14997 2011-05-29 Deniz Dogan <deniz@dogan.se>
14998
14999 * net/rcirc.el (rcirc): Use the user's stored encryption method by
15000 default.
15001
15002 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
15003
15004 * select.el: Don't perform clipboard-manager saving in hooks;
15005 leave the hooks empty.
15006
15007 2011-05-28 Leo Liu <sdl.web@gmail.com>
15008
15009 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
15010 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
15011 (occur-edit-mode): New major mode (Bug#8463).
15012 (occur-after-change-function): New function.
15013 (occur-engine): Give Occur tags a read-only property.
15014
15015 2011-05-28 Kevin Ryde <user42@zip.com.au>
15016
15017 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
15018
15019 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
15020
15021 * bindings.el (help-echo): Make the initial non-indicator dash
15022 empty on graphical terminals (Bug#7295).
15023
15024 * files.el (auto-mode-alist): Move config rule after the
15025 in-stripping one (Bug#8547).
15026
15027 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
15028
15029 * startup.el (normal-splash-screen): Remove gratuitous mode-line
15030 setting (Bug#8740).
15031
15032 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
15033
15034 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
15035 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
15036 (Bug#8539).
15037
15038 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
15039
15040 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
15041
15042 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
15043
15044 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
15045 (hs-hide-block-at-point, hs-find-block-beginning)
15046 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
15047 (Bug#8279).
15048
15049 2011-05-28 Glenn Morris <rgm@gnu.org>
15050
15051 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
15052
15053 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
15054
15055 * help-fns.el (describe-function-1): If the function is a derived
15056 major mode, print the parent mode.
15057
15058 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
15059 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
15060
15061 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
15062
15063 * minibuffer.el (completion--capf-wrapper): Check applicability before
15064 returning non-nil for non-exclusive completion data.
15065 * progmodes/etags.el (tags-completion-at-point-function):
15066 * info-look.el (info-lookup-completions-at-point): Mark as
15067 non-exclusive.
15068 (info-complete): Adjust accordingly.
15069
15070 * info-look.el: Convert to lexical-binding and completion-at-point.
15071 (info-lookup-completions-at-point): New function.
15072 (info-complete): Use it and completion-in-region.
15073
15074 2011-05-28 Drew Adams <drew.adams@oracle.com>
15075
15076 * isearch.el: Let M-e start with point at the first mismatched char.
15077 (isearch-fail-pos): New function.
15078 (isearch-edit-string): Use it.
15079
15080 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15081
15082 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15083
15084 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
15085
15086 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
15087 traversal functions for avl-trees.
15088 (avl-tree--stack): New struct.
15089 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
15090 (avl-tree-enter): Add optional `updatefun' arg.
15091 (avl-tree--do-enter): Add optional `updatefun' arg.
15092 Change return value.
15093 (avl-tree-delete): Add optional `test' and `nilflag' args.
15094 (avl-tree--do-delete): Add `test' and `nilflag' args.
15095 Change return value.
15096 (avl-tree-member): Add optional `nilflag'
15097 (avl-tree-member-p): New function.
15098 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
15099 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
15100 (avl-tree-stack-empty-p): New functions.
15101
15102 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
15103 avl-tree--del-balance1 and make it work both ways.
15104 (avl-tree--del-balance2): Remove.
15105 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
15106 make it work both ways.
15107 (avl-tree--enter-balance2): Remove.
15108 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
15109 New macros.
15110 (avl-tree--mapc, avl-tree-map): Add direction argument.
15111
15112 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
15113
15114 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
15115
15116 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
15117
15118 * select.el: Support clipboard managers with built-in function
15119 x-clipboard-manager-save, via delete-frame-functions and
15120 kill-emacs-hook.
15121 (xselect-convert-to-targets): Add MULTIPLE target to list.
15122 (xselect-convert-to-save-targets): New function.
15123
15124 2011-05-27 Kenichi Handa <handa@m17n.org>
15125
15126 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
15127 let-binding rfc2047-encode-encoded-words to nil.
15128
15129 2011-05-27 Glenn Morris <rgm@gnu.org>
15130
15131 * mail/emacsbug.el: Don't require url-util.
15132
15133 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
15134
15135 * files.el (set-auto-mode):
15136 Also respect mode: entries at the end of the file. (Bug#8586)
15137
15138 2011-05-26 Glenn Morris <rgm@gnu.org>
15139
15140 * files.el (hack-local-variables-prop-line, hack-local-variables):
15141 Downcase mode names, as seems to be traditional.
15142 (hack-local-variables, hack-local-variables-apply): Doc fixes.
15143
15144 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
15145 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
15146
15147 2011-05-25 Julien Danjou <julien@danjou.info>
15148
15149 * textmodes/rst.el (rst-define-level-faces): Do not define face
15150 symbol if it is already defined.
15151
15152 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
15153
15154 * play/5x5.el (5x5-new-game, 5x5-randomize):
15155 Reset 5x5-solver-output to nil when a new grid is cast.
15156 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
15157 these debugging traces, as defmacro breaks the compiled code.
15158
15159 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15160
15161 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15162
15163 2011-05-24 Leo Liu <sdl.web@gmail.com>
15164
15165 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
15166 (vc-bzr-sha1): Adapt.
15167
15168 * sha1.el: Remove. Function `sha1' is now builtin.
15169
15170 * bindings.el: Provide sha1 feature.
15171
15172 2011-05-24 Kenichi Handa <handa@m17n.org>
15173
15174 * mail/sendmail.el: Require `rfc2047'.
15175 (mail-insert-from-field): Do not perform RFC2047 encoding.
15176 (mail-encode-header): New function.
15177 (sendmail-send-it): Set buffer-file-coding-system of the work
15178 buffer to the return value of select-message-coding-system.
15179 Call mail-encode-header.
15180
15181 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
15182
15183 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
15184
15185 * mail/supercite.el (sc-default-cite-frame):
15186 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
15187
15188 2011-05-24 Glenn Morris <rgm@gnu.org>
15189
15190 * progmodes/python.el (brm-menu): Declare.
15191
15192 * emulation/viper.el (viper-set-hooks): Declare.
15193
15194 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
15195 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
15196 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
15197 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
15198 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
15199 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
15200
15201 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
15202
15203 Add an :exit-function for completion-at-point.
15204
15205 * minibuffer.el (completion--done): New fun.
15206 (completion--do-completion): Use it. New arg `expect-exact'.
15207 (minibuffer-complete, minibuffer-complete-word): Don't output message,
15208 since completion--do-completion does it for us now.
15209 (minibuffer-force-complete): Use completion--done and
15210 completion--replace. Handle sole-completion case with more care.
15211 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
15212 (completion-extra-properties): New var.
15213 (completion-annotate-function): Make obsolete.
15214 (minibuffer-completion-help): Adjust accordingly.
15215 Use completion-list-insert-choice-function.
15216 (completion-at-point, completion-help-at-point):
15217 Bind completion-extra-properties.
15218 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
15219 * simple.el (completion-list-insert-choice-function): New var.
15220 (completion-setup-function): Preserve it.
15221 (choose-completion): Pay attention to it, shuffle the code a bit.
15222 (choose-completion-string): New arg `insert-function'.
15223
15224 * textmodes/bibtex.el: Convert to lexical binding.
15225 (bibtex-mode-map): Use completion-at-point.
15226 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
15227 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
15228 (bibtex-complete): Define as obsolete alias.
15229 (bibtex-complete-internal): Remove.
15230 (bibtex-format-entry): Remove unused sub-group in regexp.
15231 * shell.el (shell--command-completion-data)
15232 (shell-environment-variable-completion):
15233 * pcomplete.el (pcomplete-completions-at-point):
15234 * comint.el (comint--complete-file-name-data): Use :exit-function
15235 instead of completion-table-with-terminator so it also works for
15236 choose-completion.
15237
15238 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15239
15240 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
15241
15242 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
15243 (bug#8710).
15244
15245 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
15246
15247 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
15248
15249 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
15250 customization variable and implement: If non-nil, auto-fill will
15251 be inhibited while on topic's header line.
15252
15253 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
15254
15255 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
15256 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
15257 always have a solution in grid size = 5 cases.
15258 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
15259 (5x5-solver-output, 5x5-log-buffer): New vars.
15260 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
15261 Make these variables buffer local to achieve 5x5 multi-session-ness.
15262 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
15263 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
15264 (5x5-solve-suggest): New funs.
15265 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
15266 randomize a grid so that we ensure that there is always a solution.
15267 (5x5-make-random-grid): Allow other movement than flipping.
15268
15269 2011-05-23 Kevin Ryde <user42@zip.com.au>
15270
15271 * emacs-lisp/advice.el (ad-read-advised-function):
15272 Use `function-called-at-point' as the default, if it has
15273 advice and passes PREDICATE.
15274
15275 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15276
15277 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
15278 byte-compile-lambda if it's actually a lambda.
15279
15280 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
15281 Fix function quoting. Use backquote better.
15282
15283 2011-05-22 Yuanle Song <sylecn@gmail.com>
15284
15285 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
15286 matching (Bug#8516).
15287
15288 2011-01-22 Jari Aalto <jari.aalto@cante.net>
15289
15290 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
15291 different face (Bug#8178).
15292
15293 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
15294
15295 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
15296 defface (Bug#8144).
15297
15298 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
15299
15300 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
15301 funcall as well (bug#8712). Warn when performing those conversions.
15302 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
15303
15304 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
15305
15306 2011-05-22 Glenn Morris <rgm@gnu.org>
15307
15308 * files.el (hack-local-variables-prop-line): Small simplifications.
15309 (hack-local-variables, hack-local-variables-prop-line):
15310 If MODE-ONLY, return the mode, rather than just `t'.
15311
15312 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
15313
15314 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
15315
15316 2011-05-21 Glenn Morris <rgm@gnu.org>
15317
15318 * files.el (hack-local-variables-prop-line, hack-local-variables):
15319 If only interested in the mode, don't bother doing the other stuff.
15320
15321 * image-mode.el (image-after-revert-hook):
15322 Redraw all frames on which the image is visible. (Bug#8567)
15323
15324 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
15325
15326 * wid-edit.el (widget-checklist-match-inline):
15327 Fix 2011-04-19 change. (Bug#8649)
15328
15329 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
15330
15331 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
15332 Also allow singlespace after single-letter capitals followed by a dot.
15333
15334 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
15335 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
15336
15337 2011-05-20 Nix <nix@esperi.org.uk>
15338
15339 * files.el (basic-save-buffer-2):
15340 Fix handling of break-hardlink-on-save with non-existent files.
15341
15342 2011-05-19 Deniz Dogan <deniz@dogan.se>
15343
15344 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
15345 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
15346
15347 2011-05-19 Glenn Morris <rgm@gnu.org>
15348
15349 * progmodes/f90.el (f90-type-def-re):
15350 Handle "type, bind(c)". (Bug#8691)
15351
15352 * emacs-lisp/autoload.el (batch-update-autoloads):
15353 Set autoload-excludes by parsing loadup.el rather than Makefiles.
15354
15355 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
15356
15357 * net/tramp.el (tramp-process-actions): Set "first-password-request"
15358 property for the correct connection in case of multihops.
15359
15360 2011-05-18 Glenn Morris <rgm@gnu.org>
15361
15362 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
15363 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
15364
15365 Rationalize calendar handling of day and month abbrev-arrays.
15366 * calendar/calendar.el (calendar-customized-p): New function.
15367 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
15368 (calendar-day-name-array, calendar-month-name-array): Doc fix.
15369 Add :set function.
15370 (calendar-abbrev-length, calendar-day-abbrev-array)
15371 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
15372 (calendar-day-abbrev-array, calendar-month-abbrev-array):
15373 Elements may no longer be nil.
15374 (calendar-day-name, calendar-month-name):
15375 Update for changed nature of abbrev arrays.
15376 * calendar/diary-lib.el (diary-name-pattern):
15377 Update for changed nature of abbrev arrays.
15378 (diary-mark-entries-1): Update calendar-make-alist calls.
15379 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
15380 * calendar/cal-html.el (cal-html-day-abbrev-array):
15381 Simply inherit from calendar-day-abbrev-array.
15382
15383 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
15384
15385 * progmodes/grep.el (grep-mode): Disable default
15386 compilation-directory-matcher setting (bug#8684).
15387
15388 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
15389
15390 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
15391 instead of "head" and "tail". There were problems with SunOS 5.9,
15392 and it performs better.
15393
15394 2011-05-17 Glenn Morris <rgm@gnu.org>
15395
15396 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
15397
15398 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
15399 Replace obsolete function.
15400
15401 * shell.el (pcomplete-parse-arguments-function): Declare.
15402
15403 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
15404 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
15405 (appt-check): Doc fixes.
15406 (appt-disp-window-function, appt-delete-window-function):
15407 Remove needless special case in custom :type.
15408 (appt-display-count): Default to 0, not nil.
15409 (appt-check): Reset appt-display-count to 0, not nil.
15410
15411 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
15412
15413 * progmodes/python.el (python-font-lock-keywords):
15414 Add the Python 3.X keyword "nonlocal" (bug#8639).
15415
15416 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
15417
15418 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
15419
15420 2011-05-16 Kevin Ryde <user42@zip.com.au>
15421
15422 * info-look.el (makefile-automake-mode): New setups, looking in
15423 automake manual, then makefile-mode.
15424 (makefile-mode): Remove automake manual, have it just in
15425 makefile-automake-mode since there's various things different or
15426 not relevant to plain make.
15427 (makefile-mode): Remove "other-modes" non-existent automake-mode,
15428 believe a hypothetical automake-mode would go to makefile-mode,
15429 not the other way around.
15430
15431 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
15432
15433 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
15434 hunk-end tags (Bug#8672).
15435
15436 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
15437 vc-annotate-show-diff-revision-at-line (Bug#8671).
15438
15439 2011-05-14 Glenn Morris <rgm@gnu.org>
15440
15441 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
15442 in the middle of an existing one with multiple authors. (Bug#8645)
15443 (change-log-font-lock-keywords): Also handle multiple author lines
15444 with leading tabs. (Bug#8644)
15445
15446 * calendar/appt.el (appt-check): Rename some local variables.
15447 Some simplification/reordering.
15448
15449 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
15450 (feedmail-sendmail-f-doesnt-sell-me-out)
15451 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15452 (feedmail-debug-sit-for, feedmail-queue-express-hook)
15453 (feedmail-queue-runner-message-sender): Set :version.
15454 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
15455 (bbdb-dwim-net-address, vm-mail): Declare.
15456 (feedmail-binmail-gnulinuxish-template):
15457 Rename from feedmail-binmail-linuxish-template.
15458 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
15459 Use insert-buffer-substring.
15460
15461 2011-05-14 Bill Carpenter <bill@carpenter.org>
15462
15463 * mail/feedmail.el (feedmail-patch-level): Increase.
15464 (feedmail-debug): New custom group.
15465 (feedmail-confirm-outgoing-timeout)
15466 (feedmail-sendmail-f-doesnt-sell-me-out)
15467 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15468 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
15469 (feedmail-sender-line, feedmail-from-line)
15470 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
15471 (feedmail-spray-this-address)
15472 (feedmail-spray-address-fiddle-plex-list)
15473 (feedmail-queue-use-send-time-for-date)
15474 (feedmail-queue-use-send-time-for-message-id)
15475 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
15476 (feedmail-buffer-eating-function):
15477 Doc fixes.
15478 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
15479 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
15480 (feedmail-message-action-scroll-down): New functions.
15481 (feedmail-queue-directory, feedmail-queue-draft-directory):
15482 Use expand-file-name.
15483 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
15484 Remove C-v help entry.
15485 (feedmail-queue-buffer-file-name): New variable.
15486 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
15487 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
15488 (feedmail-message-action-send-strong, feedmail-message-action-edit)
15489 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
15490 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
15491 (feedmail-message-action-toggle-spray)
15492 (feedmail-run-the-queue-no-prompts)
15493 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
15494 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
15495 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
15496 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
15497 (feedmail-envelope-deducer, feedmail-fiddle-from)
15498 (feedmail-fiddle-sender, feedmail-default-date-generator)
15499 (feedmail-fiddle-date, feedmail-fiddle-message-id)
15500 (feedmail-fiddle-spray-address)
15501 (feedmail-fiddle-list-of-spray-fiddle-plexes)
15502 (feedmail-fiddle-list-of-fiddle-plexes)
15503 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
15504 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
15505 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
15506 Change default. Doc fix.
15507 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
15508 (feedmail-binmail-linuxish-template): New constant.
15509 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
15510 Respect feedmail-sendmail-f-doesnt-sell-me-out.
15511 (feedmail-send-it): Add debug call.
15512 Use feedmail-queue-buffer-file-name, and
15513 feedmail-send-it-immediately-wrapper.
15514 (feedmail-message-action-send): Add debug call.
15515 Use feedmail-send-it-immediately-wrapper.
15516 (feedmail-queue-express-to-queue): Add debug call.
15517 Run feedmail-queue-express-hook.
15518 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
15519 (feedmail-message-action-help-blat):
15520 Rename from feedmail-queue-send-edit-prompt-help-first.
15521 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
15522 Check line-endings. Handle errors better.
15523 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
15524 Doc fix. Add debug call.
15525 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
15526 Use feedmail-queue-send-edit-prompt-inner.
15527 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
15528 (feedmail-queue-send-edit-prompt-inner): New function, extracted
15529 from feedmail-queue-send-edit-prompt.
15530 (feedmail-queue-send-edit-prompt-help)
15531 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
15532 (feedmail-tidy-up-slug): Add debug call.
15533 Respect feedmail-queue-slug-suspect-regexp.
15534 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
15535 (feedmail-dump-message-to-queue): Add debug call.
15536 Expand queue-directory.
15537 (feedmail-dump-message-to-queue): Change message slightly.
15538 Use feedmail-say-chatter.
15539 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
15540 (feedmail-send-it-immediately-wrapper): New function.
15541 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
15542 Insert empty string rather than newline. Handle full-frame case.
15543 Use catch/throw. Use feedmail-say-chatter.
15544 (feedmail-fiddle-from): Try mail-host-address.
15545 (feedmail-default-message-id-generator): Doc fix.
15546 Bind system-time-locale. Handle missing end.
15547 (feedmail-fiddle-x-mailer): Add debug call.
15548 Handle feedmail-x-mailer-line being nil.
15549 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
15550 Add debug call. Use buffer-substring-no-properties.
15551 (feedmail-say-debug, feedmail-say-chatter): New functions.
15552 (feedmail-find-eoh): Give an explicit error.
15553
15554 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
15555
15556 * net/newst-treeview.el (newsticker-treeview-face): Change default
15557 family from helvetica to sans.
15558 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
15559 etc/images/newsticker.
15560
15561 * net/newst-reader.el (newsticker-feed-face): Change default
15562 family from helvetica to sans.
15563
15564 * net/newst-plainview.el (newsticker-new-item-face)
15565 (newsticker-old-item-face, newsticker-immortal-item-face)
15566 (newsticker-obsolete-item-face, newsticker-date-face)
15567 (newsticker-statistics-face): Change default family from
15568 helvetica to sans.
15569 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
15570 etc/images/newsticker.
15571
15572 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
15573 (newsticker--process-auto-mark-filter-match): Tell user about
15574 auto-marking.
15575
15576 2011-05-13 Didier Verna <didier@xemacs.org>
15577
15578 Common Lisp indentation improvements on defmethod and lambda-lists.
15579 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
15580 TODO entries.
15581 (lisp-lambda-list-keyword-parameter-indentation)
15582 (lisp-lambda-list-keyword-parameter-alignment)
15583 (lisp-lambda-list-keyword-alignment): New customizable user options.
15584 (lisp-indent-defun-method): Improve docstring.
15585 (extended-loop-p): Fix comment.
15586 (lisp-indent-lambda-list-keywords-regexp): New variable.
15587 (lisp-indent-lambda-list): New function.
15588 (lisp-indent-259): Use it.
15589 (lisp-indent-defmethod): Support for more than one
15590 method qualifier and properly indent methods lambda-lists.
15591 (defgeneric): Provide a missing common-lisp-indent-function property.
15592
15593 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
15594
15595 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
15596 bounds for the empty string (bug#8667).
15597
15598 2011-05-13 Glenn Morris <rgm@gnu.org>
15599
15600 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
15601
15602 * mail/sendmail.el (sendmail-program): Try executable-find first.
15603 (sendmail-send-it): `sendmail-program' cannot be unbound.
15604
15605 * calendar/appt.el (appt-make-list): Simplify.
15606 (appt-time-msg-list): Doc fix.
15607 (appt-check): Change mode-line message at the time of the appointment.
15608
15609 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
15610
15611 * progmodes/ld-script.el (ld-script-keywords)
15612 (ld-script-builtins): Update keywords list.
15613
15614 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15615
15616 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
15617
15618 * shell.el (shell-completion-vars): New function.
15619 (shell-mode):
15620 * simple.el (read-shell-command): Use it.
15621 (blink-matching-open): No need for " [...]" in minibuffer-message.
15622
15623 2011-05-12 Glenn Morris <rgm@gnu.org>
15624
15625 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
15626 (appt-check): Simplify.
15627
15628 2011-05-12 Eli Zaretskii <eliz@gnu.org>
15629
15630 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
15631 literal "/dev/null".
15632
15633 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15634
15635 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
15636 Fix typo.
15637
15638 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
15639
15640 * progmodes/which-func.el (which-function):
15641 Use add-log-current-defun instead of add-log-current-defun-function,
15642 which might not be defined (Bug#8260).
15643
15644 2011-05-12 Glenn Morris <rgm@gnu.org>
15645
15646 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
15647 Let byte-compile-initial-macro-environment always take precedence.
15648
15649 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15650
15651 * net/rcirc.el: Add support for SSL/TLS connections.
15652 (rcirc-server-alist): New field `encryption'.
15653 (rcirc): Check `encryption' settings.
15654 (rcirc-connect): New arg `encryption'. Use open-network-stream.
15655 Merge make-local-variable into `set'.
15656 (rcirc--connection-open-p): New function.
15657 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
15658 the process is not a network process (e.g. running gnutls-cli).
15659 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
15660 Make rcirc-(en|de)code-coding-system local here.
15661 (rcirc-mode): Merge make-local-variable into `set'.
15662 (rcirc-parent-buffer): Make permanent buffer-local.
15663 (rcirc-multiline-minor-mode): Don't do it here.
15664 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
15665 there's no server buffer.
15666
15667 2011-05-11 Glenn Morris <rgm@gnu.org>
15668
15669 * newcomment.el (comment-kill): Prefix "unused" local.
15670
15671 * term/w32console.el (get-screen-color): Declare.
15672
15673 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
15674 Handle symbol elements of byte-compile-initial-macro-environment.
15675
15676 2011-05-10 Leo Liu <sdl.web@gmail.com>
15677
15678 * bookmark.el (bookmark-bmenu-mode-map):
15679 Bind bookmark-bmenu-search to `/'.
15680
15681 * mail/footnote.el: Convert to utf-8 encoding.
15682 (footnote-unicode-string, footnote-unicode-regexp): New variable.
15683 (Footnote-unicode): New function.
15684 (footnote-style-alist): Add unicode style to the list.
15685 (footnote-style): Doc fix.
15686
15687 2011-05-10 Jim Meyering <meyering@redhat.com>
15688
15689 Fix doubled-word typos.
15690 * international/quail.el (quail-insert-kbd-layout): and and -> and
15691 * kermit.el: and and -> and
15692 * net/ldap.el (ldap-search-internal): to to -> to
15693 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
15694 * progmodes/js.el (js-mode): and and -> and
15695 * textmodes/artist.el (artist-move-to-xy): at at -> at
15696 (artist-draw-region-trim-line-endings): if if -> if
15697 And Safetyc -> Safety.
15698 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
15699
15700 2011-05-10 Glenn Morris <rgm@gnu.org>
15701 Stefan Monnier <monnier@iro.umontreal.ca>
15702
15703 * files.el (hack-one-local-variable-eval-safep):
15704 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
15705
15706 2011-05-10 Glenn Morris <rgm@gnu.org>
15707
15708 * calendar/diary-lib.el (diary-list-entries-hook)
15709 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
15710 (diary-nongregorian-marking-hook, diary-list-entries)
15711 (diary-include-other-diary-files, diary-mark-entries)
15712 (diary-mark-included-diary-files): Doc fixes.
15713
15714 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
15715
15716 * misc.el: Require tabulated-list.el during compilation.
15717
15718 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
15719
15720 * progmodes/compile.el (compilation-start):
15721 Run compilation-filter-hook for the async case too.
15722 (compilation-filter-hook): Doc fix.
15723
15724 2011-05-09 Deniz Dogan <deniz@dogan.se>
15725
15726 * wdired.el: Remove outdated installation comment. Fix usage
15727 comment.
15728
15729 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
15730
15731 * misc.el: Implement new command `list-dynamic-libraries'.
15732 (list-dynamic-libraries--loaded-only-p): New variable.
15733 (list-dynamic-libraries--refresh): New function.
15734 (list-dynamic-libraries): New command.
15735
15736 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
15737
15738 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15739 Fix the ant regexp to handle end-line and end-column info from jikes.
15740 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
15741 higher priority to avoid clobbering by gnu.
15742
15743 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
15744
15745 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
15746 if the face has existing theme settings (Bug#8454).
15747
15748 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
15749
15750 * progmodes/perl-mode.el (perl-imenu-generic-expression):
15751 Only match variables declared via `my' or `our' (Bug#8261).
15752
15753 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
15754 special file names `.' and `..' (Bug#8259).
15755
15756 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
15757
15758 * progmodes/grep.el (grep-mode-font-lock-keywords):
15759 Remove buffer-changing entries.
15760 (grep-filter): New function.
15761 (grep-mode): Add it to compilation-filter-hook.
15762
15763 * progmodes/compile.el (compilation-filter-hook)
15764 (compilation-filter-start): New defvars.
15765 (compilation-filter): Call compilation-filter-hook prior to
15766 updating the process mark.
15767
15768 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15769
15770 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
15771
15772 2011-05-07 Eli Zaretskii <eliz@gnu.org>
15773
15774 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
15775 mailclient-send-it even if window-system is nil. (Bug#8595)
15776
15777 * term/w32console.el (terminal-init-w32console):
15778 Call get-screen-color and use its output to set the frame
15779 background-mode. (Bug#8597)
15780
15781 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15782
15783 Make bytecomp.el understand that defmethod defines funs (bug#8631).
15784 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
15785 New functions.
15786 (defgeneric, eieio--defmethod): Use them.
15787 (eieio-defgeneric): Remove.
15788 (defmethod): Call defgeneric in a way visible to the byte-compiler.
15789
15790 2011-05-07 Glenn Morris <rgm@gnu.org>
15791
15792 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
15793 Use let rather than let*.
15794 (timeclock-find-discrep): Remove unused local.
15795
15796 * calendar/diary-lib.el (diary-comment-start): Doc fix.
15797
15798 * calendar/appt.el (appt-time-msg-list): Doc fix.
15799
15800 2011-05-06 Noah Friedman <friedman@splode.com>
15801
15802 * apropos.el (apropos-print-doc): Only use
15803 emacs-lisp-docstring-fill-column when it is bound to an integer,
15804 per that variable's documentation.
15805
15806 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15807
15808 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
15809 and warnings are not silently discarded (e.g. use -d instead of -P).
15810
15811 2011-05-06 Glenn Morris <rgm@gnu.org>
15812
15813 * calendar/appt.el (appt-message-warning-time): Doc fix.
15814 (appt-warning-time-regexp): New option.
15815 (appt-make-list): Respect appt-message-warning-time.
15816
15817 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
15818 New options.
15819 (diary-add-to-list): Strip comments from the displayed string.
15820 (diary-mode): Set comment-start and comment-end.
15821
15822 * vc/diff-mode.el (smerge-refine-subst): Declare.
15823 (diff-refine-hunk): Don't require smerge-mode when compiling.
15824
15825 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
15826
15827 * simple.el (list-processes): Return nil as the docstring says.
15828
15829 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
15830
15831 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
15832 to "".
15833 (ange-ftp-write-region, ange-ftp-insert-file-contents)
15834 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
15835 determining of binary transfer. (Bug#7383)
15836
15837 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
15838
15839 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15840 Fix port computation bug. (Bug#8618)
15841
15842 2011-05-05 Glenn Morris <rgm@gnu.org>
15843
15844 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
15845
15846 * simple.el (shell-dynamic-complete-functions)
15847 (comint-dynamic-complete-functions): Declare.
15848
15849 * net/network-stream.el (gnutls-negotiate):
15850 * simple.el (tabulated-list-print): Fix declarations.
15851
15852 * progmodes/gud.el (syntax-symbol, syntax-point):
15853 Remove unnecessary and incorrect declarations.
15854
15855 * emacs-lisp/check-declare.el (check-declare-scan):
15856 Handle byte-compile-initial-macro-environment in bytecomp.el
15857
15858 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15859
15860 Fix earlier half-done eieio-defmethod change (bug#8338).
15861 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
15862 Streamline and change calling convention.
15863 (defmethod): Adjust accordingly and simplify.
15864 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
15865 new eieio--defmethod.
15866 (slot-boundp): Minor CSE simplification.
15867
15868 2011-05-05 Milan Zamazal <pdm@zamazal.org>
15869
15870 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
15871 (glasses-make-readable): Use glasses-separate-capital-groups.
15872
15873 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
15874
15875 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
15876 (warning-series): Doc fix.
15877 (display-warning): Don't try to create the buffer if we just found it.
15878
15879 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
15880
15881 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15882 (autoload-find-generated-file): New function.
15883 (generate-file-autoloads): Bind generated-autoload-file to
15884 buffer-file-name.
15885 (update-file-autoloads, update-directory-autoloads):
15886 Use autoload-find-generated-file. If called interactively, prompt for
15887 output file (Bug#7989).
15888 (batch-update-autoloads): Doc fix.
15889
15890 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
15891
15892 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15893
15894 2011-05-04 Glenn Morris <rgm@gnu.org>
15895
15896 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15897 function, so it follows changes in calendar-date-style.
15898 (diary-fancy-date-matcher): New function.
15899 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15900 (diary-fancy-font-lock-fontify-region-function):
15901 Use diary-fancy-date-pattern as a function.
15902
15903 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15904 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15905
15906 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15907
15908 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15909 instead of positional arguments. Allow :keylist and :crlfiles
15910 arguments.
15911 (open-gnutls-stream): Call it.
15912
15913 * net/network-stream.el (network-stream-open-starttls): Adjust to
15914 call `gnutls-negotiate' with :process and :hostname arguments.
15915
15916 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15917
15918 * minibuffer.el (completion--message): New function.
15919 (completion--do-completion, minibuffer-complete)
15920 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15921 (completion--do-completion): Don't ignore completion-auto-help when in
15922 icomplete-mode.
15923
15924 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15925 internal encoding (e.g. tibetan zero is not whitespace).
15926 (global-whitespace-mode): Prefer save-current-buffer.
15927 (whitespace-trailing-regexp): Remove useless save-match-data.
15928 (whitespace-empty-at-bob-regexp): Minor simplification.
15929
15930 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
15931
15932 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15933
15934 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15935
15936 * textmodes/ispell.el (ispell-add-per-file-word-list):
15937 Use `concat' to create string for insertion.
15938
15939 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15940
15941 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15942 Avoid open-line which runs post-self-insert-hook.
15943 (bibtex-fill-entry): Remove unused `end' var.
15944
15945 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15946
15947 * textmodes/ispell.el (ispell-add-per-file-word-list):
15948 Protect against `nil' value of `comment-start' (Bug#8579).
15949
15950 2011-05-03 Leo Liu <sdl.web@gmail.com>
15951
15952 * isearch.el (isearch-yank-pop): New command.
15953 (isearch-mode-map): Bind it to `M-y'.
15954 (isearch-forward): Mention it.
15955
15956 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15957
15958 * simple.el (minibuffer-complete-shell-command): Remove.
15959 (minibuffer-local-shell-command-map): Use completion-at-point.
15960 (read-shell-command): Setup completion vars here instead.
15961 (read-expression-map): Bind TAB to symbol completion.
15962
15963 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15964 error directly rather via storing it into `results'.
15965
15966 2011-05-02 Leo Liu <sdl.web@gmail.com>
15967
15968 * vc/diff.el: Fix description.
15969
15970 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15971
15972 * server.el (server-eval-at): New function.
15973
15974 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15975
15976 * net/network-stream.el (open-network-stream): Take a :nowait
15977 parameter and pass it on to `make-network-process'.
15978 (network-stream-open-plain): Ditto.
15979
15980 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15981
15982 * faces.el (face-spec-set-match-display): Don't match toolkit
15983 options on terminal frames.
15984
15985 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15986
15987 * progmodes/pascal.el: Use lexical binding.
15988 (pascal-mode-map): Remove author preferences.
15989
15990 * pcomplete.el (pcomplete-std-complete): Don't abuse
15991 completion-at-point.
15992
15993 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
15994
15995 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15996 removing code that has been dead since 1991 or so.
15997
15998 * startup.el (command-line): When warning about "_emacs", use a
15999 delayed warning to allow the user to filter it out.
16000
16001 2011-04-28 Deniz Dogan <deniz@dogan.se>
16002
16003 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
16004 user has not joined.
16005
16006 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16007
16008 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
16009 aren't any completions at point.
16010
16011 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
16012
16013 * subr.el (display-delayed-warnings): New function.
16014 (delayed-warnings-hook): New variable.
16015
16016 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16017
16018 * minibuffer.el (completion-at-point, completion-help-at-point):
16019 Don't presume that a given completion-at-point-function will always
16020 use the same calling convention.
16021
16022 * pcomplete.el (pcomplete-completions-at-point):
16023 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
16024 pcomplete-seen is non-nil.
16025 (pcomplete-comint-setup): Also recognize the new comint/shell
16026 completion functions.
16027 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
16028 pcomplete-seen is non-nil.
16029
16030 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
16031
16032 * calendar/icalendar.el (diary-lib): Add require statement.
16033 (icalendar--create-uid): Read out a uid from a text-property on
16034 the first character in the entry. This allows for code to add its
16035 own uid to the entry.
16036 (icalendar--convert-float-to-ical): Add export of
16037 `diary-float'-entries save for those with the optional DAY
16038 argument.
16039
16040 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
16041
16042 * subr.el (shell-quote-argument): Use alternate escaping strategy
16043 when we spot a variable reference in a string.
16044
16045 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
16046
16047 * cus-start.el (all): Define customization for debug-on-event.
16048
16049 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
16050
16051 * subr.el (shell-quote-argument): Escape correctly under Windows.
16052
16053 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16054
16055 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
16056
16057 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
16058
16059 * net/tramp.el (tramp-process-actions): Add POS argument.
16060 Delete region between POS and (pos).
16061
16062 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16063 Use `nil' position in `tramp-process-actions' call.
16064 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
16065
16066 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
16067 position in `tramp-process-actions' call.
16068
16069 * net/trampver.el: Update release number.
16070
16071 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16072
16073 * custom.el (defcustom): Obey lexical-binding.
16074
16075 Fix octave-inf completion problems reported by Alexander Klimov.
16076 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
16077 Inherit from octave-mode-syntax-table.
16078 (inferior-octave-mode): Set info-lookup-mode.
16079 (inferior-octave-completion-at-point): New function.
16080 (inferior-octave-complete): Use it and completion-in-region.
16081 (inferior-octave-dynamic-complete-functions): Use it as well, and use
16082 comint-filename-completion.
16083 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
16084 symbol elements which shouldn't be word elements.
16085 (octave-font-lock-keywords, octave-beginning-of-defun)
16086 (octave-function-header-regexp): Adjust regexps accordingly.
16087 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
16088
16089 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
16090
16091 * net/gnutls.el (gnutls-errorp): Declare before first use.
16092
16093 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
16094
16095 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
16096 verify-error, and verify-hostname-error parameters. Check whether
16097 default trustfile exists before going to use it. Add missing
16098 argument to gnutls-message-maybe call. Return value.
16099 Reported by Claudio Bley <claudio.bley@gmail.com>.
16100 (open-gnutls-stream): Add usage example.
16101
16102 * net/network-stream.el (network-stream-open-starttls): Give host
16103 parameter to `gnutls-negotiate'.
16104 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
16105 * subr.el (shell-quote-argument): Escape correctly under Windows.
16106
16107 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
16108
16109 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
16110 Use correct match group (bug#8438).
16111
16112 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
16113
16114 * emacs-lisp/package.el (package-built-in-p): Fix typo.
16115 (package-menu--generate): New arg specifying packages to show.
16116 (package-menu-refresh, package-menu-execute, list-packages):
16117 Callers changed.
16118 (package-show-package-list): New function, replacing deleted
16119 package--list-packages (renamed because it is non-internal).
16120
16121 * finder.el (finder-list-matches): Use package-show-package-list
16122 instead of deleted package--list-packages.
16123
16124 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
16125 Based on a previous implementation by Juanma Barranquero (Bug#8366).
16126 (vc-annotate-mode-map): Bind it to RET.
16127
16128 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
16129
16130 * progmodes/etags.el (next-file): Don't use set-buffer to change
16131 buffers (Bug#8478).
16132
16133 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
16134
16135 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
16136
16137 * apropos.el (apropos-label-face): Avoid variable-pitch face.
16138 (apropos-accumulator): Doc fix.
16139 (apropos-function, apropos-macro, apropos-command)
16140 (apropos-variable, apropos-face, apropos-group, apropos-widget)
16141 (apropos-plist): Add face property.
16142 (apropos-symbols-internal): Fix indentation.
16143 (apropos-print): Simplify help, and recognize apropos-multi-type.
16144 (apropos-print-doc): Use button-type-get to extract the button's
16145 face property. Fill docstring (Bug#8352).
16146
16147 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
16148
16149 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
16150
16151 * play/mpuz.el (mpuz-silent): Doc fix.
16152 (mpuz-mode-map): Use mapc.
16153 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
16154 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
16155 Fix typos in docstrings.
16156
16157 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
16158 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
16159
16160 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
16161
16162 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
16163
16164 * minibuffer.el (completion--do-completion): Avoid the "Next char
16165 not unique" prompt if icomplete-mode is enabled (Bug#5849).
16166
16167 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
16168 mouse-2 into unread-command-events, it is interpreted correctly.
16169
16170 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
16171 (image-toggle-display): Doc fix.
16172
16173 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
16174
16175 * textmodes/page.el (what-page): Use line-number-at-pos to
16176 calculate line number (Bug#6825).
16177
16178 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
16179
16180 * eshell/esh-mode.el (find-tag-interactive): Declare function.
16181 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
16182 Pass argument NO-DEFAULT to `find-tag-interactive'.
16183
16184 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
16185
16186 Lexical-binding cleanup.
16187
16188 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
16189 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
16190 * progmodes/ada-prj.el (ada-prj-initialize-values)
16191 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
16192 (ada-prj-show-value):
16193 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
16194 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
16195 (antlr-invalidate-context-cache, antlr-options-menu-filter)
16196 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
16197 * progmodes/bug-reference.el (bug-reference-push-button):
16198 * progmodes/fortran.el (fortran-line-length):
16199 * progmodes/glasses.el (glasses-change):
16200 * progmodes/octave-mod.el (octave-fill-paragraph):
16201 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
16202 (python-pdbtrack-grub-for-buffer, python-sentinel):
16203 * progmodes/sql.el (sql-save-connection):
16204 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
16205 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
16206 Mark unused parameters.
16207
16208 * progmodes/compile.el (compilation--flush-directory-cache)
16209 (compilation--flush-parse, compile-internal): Mark unused parameters.
16210 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
16211 (compilation-next-error-function): Remove unused variable `timestamp'.
16212
16213 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
16214 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
16215
16216 * progmodes/dcl-mode.el (dcl-end-of-command):
16217 Remove unused variable `start'.
16218 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
16219 (dcl-option-value-basic, dcl-option-value-offset)
16220 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
16221 Mark unused parameters.
16222 (dcl-save-local-variable): Remove unused variable `val'.
16223 (mode): Declare.
16224
16225 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
16226 Mark unused parameters.
16227 (delphi-ignore-changes): Move before first use.
16228 (delphi-charset-token-at): Remove unused variable `start'.
16229 (delphi-else-start): Remove unused variable `if-count'.
16230 (delphi-comment-block-start, delphi-comment-block-end):
16231 Remove unused variable `kind'.
16232 (delphi-indent-line): Remove unused variable `new-point'.
16233
16234 * progmodes/ebrowse.el (ebrowse-files-list)
16235 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
16236 Mark unused parameters. Don't quote `lambda'.
16237 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
16238 Don't quote `lambda'.
16239 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
16240 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
16241 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
16242 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
16243 Use `ignore-errors'.
16244 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
16245 (ebrowse-view/find-file-and-search-pattern)
16246 (ebrowse-view/find-member-declaration/definition):
16247 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
16248 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
16249 Rename parameter PREFIX-ARG to PREFIX.
16250 (ebrowse-tags-read-name): Remove unused variables `start' and
16251 `member-info'.
16252 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
16253 to `tags-file'.
16254
16255 * progmodes/etags.el (local-find-tag-hook): Declare.
16256 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
16257 Mark unused parameters.
16258
16259 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
16260 (executable-interpret): Mark unused parameter.
16261
16262 * progmodes/flymake.el (flymake-process-sentinel)
16263 (flymake-after-change-function)
16264 (flymake-create-temp-with-folder-structure)
16265 (flymake-get-include-dirs-dot): Mark unused parameters.
16266 (flymake-safe-delete-directory): Remove unused variable `err'.
16267
16268 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
16269 (speedbar-timer-fn, speedbar-line-text)
16270 (speedbar-change-expand-button-char, speedbar-delete-subblock)
16271 (speedbar-center-buffer-smartly): Declare functions.
16272 (gdb-find-watch-expression): Remove unused variable `array'.
16273 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
16274 (gdb-starting): Mark unused parameters.
16275 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
16276 (gdb-table-string): Remove unused variable `res'.
16277 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
16278 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
16279 (gdb-display-buffer): Remove unused variable `cur-size'.
16280
16281 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
16282 allow lexical-binding compilation.
16283 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
16284 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
16285 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
16286 Mark unused parameters.
16287 (gud-gdb-marker-filter): Remove unused variable `match'.
16288 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
16289 lambda expressions and funcall them, instead of using `fset'.
16290
16291 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
16292 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
16293
16294 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
16295 variable `header-beg'; use `let'.
16296
16297 * progmodes/icon.el (indent-icon-exp): Remove unused variables
16298 `restart', `last-sexp' and `at-do'.
16299
16300 * progmodes/js.el (js--debug): Mark unused parameter.
16301 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
16302 (js--splice-into-items): Remove unused variable `item'.
16303 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
16304
16305 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
16306 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
16307 (makefile-complete): Remove unused variable `try'.
16308 (makefile-fill-paragraph, makefile-match-function-end):
16309 Mark unused parameters.
16310
16311 * progmodes/octave-inf.el (inferior-octave-complete):
16312 Remove unused variable `proc'.
16313 (inferior-octave-output-digest): Mark unused parameter.
16314
16315 * progmodes/perl-mode.el (perl-calculate-indent):
16316 Remove unused variable `err'.
16317
16318 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
16319 (prolog-indent-line): Mark unused parameters.
16320 (prolog-indent-line): Remove unused variable `beg'.
16321
16322 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
16323 (reporter-dont-compact-list): Declare.
16324
16325 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
16326 Remove unused variable `char'.
16327 (sh-debug): Mark unused parameter.
16328 (sh-get-indent-info): Remove unused variable `start'.
16329 (sh-calculate-indent): Remove unused variable `var'.
16330
16331 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
16332 (simula-electric-keyword): Remove unused variable `null'.
16333 (simula-search-backward, simula-search-forward): Remove unused
16334 variables `begin' and `end'.
16335
16336 * progmodes/vera-mode.el (vera-guess-basic-syntax):
16337 Remove unused variable `pos'.
16338 (vera-electric-tab, vera-comment-uncomment-region):
16339 Mark unused parameters.
16340 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
16341
16342 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
16343
16344 * emacs-lisp/package.el (package--builtins, package-alist)
16345 (package-load-descriptor, package-built-in-p, package-activate)
16346 (define-package, package-installed-p)
16347 (package-compute-transaction, package-buffer-info)
16348 (package--push): Doc fix. Distinguish more clearly between
16349 version strings and version lists.
16350
16351 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
16352
16353 Lexical-binding cleanup.
16354
16355 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
16356 (5x5-make-mutate-best):
16357 * play/fortune.el (fortune-in-buffer):
16358 * play/gomoku.el (gomoku-init-display):
16359 * play/solitaire.el (solitaire, solitaire-do-check):
16360 * play/tetris.el (tetris-default-update-speed-function):
16361 Mark unused parameters.
16362
16363 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
16364 (bubbles--shift): Remove unused variable `char-org'.
16365 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
16366 (bubbles--show-images): Remove unused variable `char'.
16367
16368 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
16369 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
16370 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
16371 (decipher-analyze-buffer): Use ?\s.
16372 (decipher-make-checkpoint): Remove unused variable `mapping'.
16373
16374 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
16375
16376 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
16377 Remove unused variable `result'; use `let'.
16378
16379 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
16380 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
16381 (gametree-children-shown-p, gametree-compute-reduced-score):
16382 Use `ignore-errors'.
16383
16384 * play/handwrite.el (ps-lpr-switches): Declare.
16385 (handwrite): Remove unused variables `pmin' and `lastp'.
16386
16387 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
16388
16389 * play/landmark.el (landmark-init-display)
16390 (landmark-update-naught-weights): Mark unused parameters.
16391 (landmark-y): Remove unused variable `noise'. Simplify.
16392 (landmark-human-plays): Remove unused variable `score'.
16393
16394 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
16395 (mpuz-try-proposal): Remove unused variable `game'.
16396
16397 * play/zone.el (life-patterns): Declare.
16398
16399 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
16400
16401 * vc/vc.el (ediff-vc-internal): Declare function.
16402
16403 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16404
16405 * shell.el: Use lexical-binding and std completion UI.
16406 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
16407 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
16408 comint-preoutput-filter-functions rather than on
16409 comint-output-filter-functions.
16410 (shell-command-completion, shell--command-completion-data)
16411 (shell-filename-completion, shell-environment-variable-completion)
16412 (shell-c-a-p-replace-by-expanded-directory): New functions.
16413 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
16414 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
16415 (shell-dynamic-complete-environment-variable): Use them.
16416 (shell-dynamic-complete-as-environment-variable)
16417 (shell-dynamic-complete-as-command): Remove.
16418 (shell-match-partial-variable): Match past point.
16419 * comint.el: Clean up use of completion-at-point-functions.
16420 (comint-completion-at-point): New function.
16421 (comint-mode): Use it completion-at-point-functions.
16422 (comint-dynamic-complete): Make it obsolete.
16423 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
16424 (comint-c-a-p-replace-by-expanded-history): New function.
16425 (comint-dynamic-complete-functions)
16426 (comint-replace-by-expanded-history): Use it.
16427 * minibuffer.el (completion-table-with-terminator): Allow dynamic
16428 termination strings. Try harder to avoid second try-completion.
16429 (completion-in-region-mode-map): Disable bindings that don't work yet.
16430
16431 * comint.el: Use lexical-binding. Require CL.
16432 (comint-dynamic-complete-functions): Use comint-filename-completion.
16433 (comint-completion-addsuffix): Tweak custom type.
16434 (comint-filename-completion, comint--common-suffix)
16435 (comint--common-quoted-suffix, comint--table-subvert)
16436 (comint--complete-file-name-data): New functions.
16437 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
16438 (comint-dynamic-list-filename-completions): Use them.
16439 (comint-dynamic-simple-complete): Make obsolete.
16440
16441 * minibuffer.el (completion-in-region-mode):
16442 Keep completion-in-region-mode--predicate global.
16443 (completion-in-region--postch):
16444 Assume completion-in-region-mode--predicate is not null.
16445
16446 * progmodes/flymake.el (flymake-start-syntax-check-process):
16447 Obey `dir'. Simplify.
16448
16449 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
16450 we're in VC after all.
16451
16452 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
16453
16454 * vc/vc.el (vc-diff-build-argument-list-internal)
16455 (vc-version-ediff, vc-ediff): New commands.
16456 (vc-version-diff): Use vc-diff-build-argument-list-internal.
16457
16458 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16459
16460 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
16461 add sanity check.
16462
16463 * obsolete/erc-hecomplete.el: Make obsolete.
16464 * obsolete/: Standardize obsolescence info in the header.
16465
16466 2011-04-20 Glenn Morris <rgm@gnu.org>
16467
16468 * calendar/solar.el (solar-horizontal-coordinates):
16469 Use the longitude argument rather than `calendar-longitude'.
16470 (solar-date-next-longitude): Remove unused locals.
16471
16472 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16473
16474 * whitespace.el: New version 13.2.1.
16475
16476 2011-04-20 felix <EmacsWiki> (tiny change)
16477
16478 * whitespace.el (global-whitespace-mode): Keep highlight when
16479 switching between major modes on a file.
16480
16481 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16482
16483 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
16484 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
16485 multi-line comments as well.
16486
16487 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
16488
16489 Lexical-binding cleanup.
16490
16491 * arc-mode.el (archive-mode-revert):
16492 * cmuscheme.el (scheme-interactively-start-process):
16493 * custom.el (custom-initialize-delay):
16494 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
16495 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
16496 * emacs-lock.el (emacs-lock-clear-sentinel):
16497 * ezimage.el (defezimage):
16498 * follow.el (follow-avoid-tail-recenter):
16499 * fringe.el (set-fringe-mode-1):
16500 * generic-x.el (bat-generic-mode-compile):
16501 * help-mode.el (help-info-variable, help-do-xref)
16502 (help-mode-revert-buffer):
16503 * help.el (view-emacs-todo):
16504 * iswitchb.el (iswitchb-completion-help):
16505 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
16506 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
16507 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
16508 * locate.el (locate-update):
16509 * longlines.el (longlines-encode-region)
16510 (longlines-after-change-function):
16511 * outline.el (outline-isearch-open-invisible):
16512 * ps-def.el (declare-function, charset-dimension, char-width)
16513 (encode-char):
16514 * ps-mule.el (ps-mule-plot-string):
16515 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
16516 (recentf-edit-list-select, recentf-edit-list-validate)
16517 (recentf-open-files-action):
16518 * rect.el (delete-whitespace-rectangle-line)
16519 (rectangle-number-line-callback):
16520 * register.el (window-configuration-to-register)
16521 (frame-configuration-to-register):
16522 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
16523 * select.el (xselect-convert-to-string, xselect-convert-to-length)
16524 (xselect-convert-to-targets, xselect-convert-to-delete)
16525 (xselect-convert-to-filename, xselect-convert-to-charpos)
16526 (xselect-convert-to-lineno, xselect-convert-to-colno)
16527 (xselect-convert-to-os, xselect-convert-to-host)
16528 (xselect-convert-to-user, xselect-convert-to-class)
16529 (xselect-convert-to-name, xselect-convert-to-integer)
16530 (xselect-convert-to-atom, xselect-convert-to-identity):
16531 * subr.el (declare, ignore, process-kill-without-query)
16532 (text-clone-maintain):
16533 * terminal.el (te-get-char, te-tic-sentinel):
16534 * tool-bar.el (tool-bar-make-keymap):
16535 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
16536 * type-break.el (type-break-mode, type-break-noninteractive-query):
16537 * view.el (View-back-to-mark):
16538 * wid-browse.el (widget-browse-action, widget-browse-widget)
16539 (widget-browse-widgets, widget-browse-sexp):
16540 * widget.el (define-widget-keywords):
16541 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
16542 Mark unused parameters.
16543
16544 * align.el (align-adjust-col-for-rule): Mark unused parameter.
16545 (align-areas): Remove unused variable `look'.
16546 (align-region): Remove unused variables `real-end' and `pos-list'.
16547
16548 * apropos.el (apropos-score-doc): Remove unused variable `i'.
16549
16550 * bindings.el (mode-line-modified, mode-line-remote):
16551 Mark unused parameters.
16552 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
16553
16554 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
16555 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
16556
16557 * comint.el (comint-history-isearch-pop-state)
16558 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
16559 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
16560 (comint-substitute-in-file-name): Doc fix.
16561
16562 * completion.el (cmpl-statistics-block): Mark unused parameter.
16563 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
16564 (save-completions-to-file, load-completions-from-file):
16565 Remove unused local variable `e'.
16566
16567 * composite.el (compose-chars): Remove unused variable `len'.
16568 (lgstring-insert-glyph): Remove unused variable `g'.
16569 (compose-glyph-string): Remove unused variables `ascent',
16570 `descent', `lbearing' and `rbearing'.
16571 (compose-glyph-string-relative): Remove unused variables
16572 `lbearing', `rbearing' and `wadjust'.
16573 (compose-gstring-for-graphic): Remove unused variables `header',
16574 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
16575 (compose-gstring-for-terminal): Remove unused variables `header'
16576 and `nchars'. Use `let', not `let*'.
16577
16578 * cus-edit.el (Custom-set, Custom-save, custom-reset)
16579 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
16580 (Custom-buffer-done, custom-buffer-create-internal)
16581 (custom-browse-visibility-action, custom-browse-group-tag-action)
16582 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
16583 (widget-magic-mouse-down-action, custom-toggle-parent)
16584 (custom-add-parent-links, custom-toggle-hide-variable)
16585 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
16586 (custom-toggle-hide-face, face, hook, custom-group-link-action)
16587 (custom-face-menu-create, custom-variable-menu-create, get)
16588 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
16589 (custom-reset-standard-save-and-update): Remove unused variable `value'.
16590 (customize-apropos): Remove unused variable `tests'.
16591 (custom-group-value-create): Remove unused variable `hidden-p'.
16592 (sort-fold-case): Declare.
16593
16594 * cus-theme.el (custom-reset-standard-faces-list)
16595 (custom-reset-standard-variables-list): Declare.
16596 (customize-create-theme, custom-theme-revert, custom-theme-write)
16597 (custom-theme-choose-mode, customize-themes, custom-theme-save):
16598 Mark unused parameters.
16599
16600 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
16601
16602 * delim-col.el (delimit-columns-max): Move defvar before first use.
16603
16604 * descr-text.el (describe-char-categories): Don't quote `lambda'.
16605 (describe-char): Don't quote `lambda'. Mark unused parameter.
16606
16607 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
16608 (auto-insert): Declare.
16609 (desktop-restore-file-buffer): Rename desktop-* parameters;
16610 mark unused ones.
16611 (desktop-create-buffer): Rename desktop-* parameters and bind them.
16612 (desktop-buffer): Rename desktop-* parameters.
16613
16614 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16615 (dframe-reposition-frame-xemacs, dframe-help-echo)
16616 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
16617 Mark unused parameters.
16618
16619 * dired-aux.el (backup-extract-version-start, overwrite-query)
16620 (overwrite-backup-query, rename-regexp-query)
16621 (rename-non-directory-query): Declare.
16622 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
16623 (dired-add-entry): Remove unused variable `orig-file-name'.
16624 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
16625 Use parameter PRESERVE-TIME instead of accessing dynamic variable
16626 `dired-copy-preserve-time' directly.
16627 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
16628 (dired-insert-subdir-newpos): Rename unused variable `pos'.
16629
16630 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
16631 (dired-virtual-revert, dired-make-relative-symlink):
16632 Mark unused parameters.
16633 (manual-program): Declare.
16634 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
16635 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
16636 wrapped in `with-no-warnings' to avoid replacing one warning by another.
16637
16638 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
16639
16640 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
16641
16642 * echistory.el (electric-history-in-progress, Helper-return-blurb):
16643 Declare.
16644
16645 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
16646
16647 * electric.el (Electric-command-loop): Rename parameter
16648 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
16649
16650 * expand.el (expand-in-literal): Remove unused variable `here'.
16651
16652 * facemenu.el (facemenu-add-new-color):
16653 Remove unused variable `docstring'.
16654
16655 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
16656 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
16657 (face-attr-construct): Mark unused parameter. Doc fix.
16658 (read-color): Remove unused variable `hex-string'.
16659
16660 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
16661 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
16662 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
16663 (display-buffer-other-frame): Remove unused variable `old-window'.
16664 (kill-buffer-hook): Declare.
16665 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
16666 Mark unused parameters.
16667 (after-find-file): Pass 1 to `auto-save-mode', not t.
16668
16669 * files-x.el (auto-insert): Declare.
16670 (modify-file-local-variable-prop-line): Remove unused variable `val'.
16671
16672 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
16673 variable `buf'. Mark unused parameter.
16674 (find-lisp-insert-directory): Mark unused parameter.
16675
16676 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
16677 (format-encode-region): Remove unused variables `cur-buf' and `result'.
16678 (format-common-tail): Remove, unused.
16679 (format-deannotate-region): Remove unused variable `loc'.
16680 (format-annotate-region): Remove unused variable `p'.
16681 (format-annotate-single-property-change): Remove unused variables
16682 `default' and `tail'.
16683
16684 * forms.el (read-file-filter): Declare.
16685 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
16686
16687 * frame.el (frame-creation-function-alist): Mark unused parameter.
16688 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
16689
16690 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
16691 Remove unused parameters.
16692 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
16693 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
16694
16695 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
16696 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
16697 (hfy-prepare-tag-map): Mark unused parameters.
16698 (htmlfontify-buffer): Use `called-interactively-p'.
16699
16700 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
16701 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
16702 (ibuffer-do-occur): Mark unused parameters.
16703 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
16704 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
16705
16706 * ibuffer.el: Don't quote `lambda'.
16707 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
16708 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
16709 Mark unused parameters.
16710
16711 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
16712 (ido-completing-read): Mark unused parameters.
16713 (ido-copy-current-word): Mark unused parameters;
16714 remove unused variable `name'.
16715 (ido-sort-merged-list): Remove unused parameter `dirs'.
16716
16717 * ielm.el (ielm-input-sender): Mark unused parameter.
16718 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
16719 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
16720 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
16721 `ielm-string' as a dynamic variable accessible from the IELM prompt.
16722 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
16723
16724 * image-dired.el (image-dired-display-thumbs): Remove unused
16725 variables `curr-file' and `count'.
16726 (image-dired-remove-tag): Remove unused variable `start'.
16727 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
16728 variable `curr-file'
16729 (image-dired-rotate-original): Remove unused variable `temp-file'.
16730 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
16731 Remove unused variable `file'.
16732 (image-dired-gallery-generate): Remove unused variable `curr'.
16733 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
16734
16735 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
16736
16737 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
16738
16739 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
16740
16741 * isearch.el (minibuffer-history-symbol): Declare.
16742 (isearch-edit-string): Remove unused variable `err'.
16743 (isearch-message-prefix, isearch-message-suffix):
16744 Mark unused parameters.
16745
16746 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
16747
16748 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
16749
16750 * makesum.el (double-column): Remove unused variable `cnt'.
16751
16752 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
16753 (ido-ignore-item-temp-list): Declare.
16754
16755 * mouse-drag.el (mouse-drag-throw): Remove unused variables
16756 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
16757 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
16758 (mouse-drag-drag): Remove unused variables `mouse-delta' and
16759 `mouse-col-delta'.
16760
16761 * mouse-sel.el (mouse-extend-internal):
16762 Remove unused variable `orig-window-frame'.
16763
16764 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
16765 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
16766 Move declarations before first use.
16767 (pcomplete-opt): Mark unused parameters; doc fix.
16768
16769 * proced.el (proced-revert): Mark unused parameter.
16770 (proced-send-signal): Remove unused variable `err'.
16771
16772 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
16773 Rename parameter PREFIX-ARG to ARG.
16774 (ps-basic-plot-string, ps-basic-plot-whitespace):
16775 Mark unused parameters.
16776
16777 * replace.el (replace-count): Define.
16778 (occur-revert-function): Mark unused parameters.
16779 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
16780 (isearch-case-fold-search, isearch-string): Declare.
16781 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
16782 bind `case-fold-search'. Remove unused variables `beg' and `end',
16783 and simplify.
16784 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
16785 COUNT and bind `replace-count'.
16786 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
16787 to COUNT.
16788
16789 * savehist.el (print-readably, print-string-length): Declare.
16790
16791 * shadowfile.el (shadow-expand-cluster-in-file-name):
16792 Remove unused variable `cluster'.
16793 (shadow-copy-file): Remove unused variable `i'.
16794 (shadow-noquery, shadow-clusters, shadow-site-cluster)
16795 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
16796 (shadow-define-literal-group, shadow-define-regexp-group)
16797 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
16798
16799 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
16800 (shell): Use `called-interactively-p'.
16801 (shell-directory-tracker): Remove unused variable `chdir-failure'.
16802
16803 * simple.el (compilation-context-lines, comint-file-name-quote-list)
16804 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
16805 (delete-backward-char): Remove unused variable `ocol'.
16806 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
16807 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
16808 (event-apply-hyper-modifier, event-apply-shift-modifier)
16809 (event-apply-control-modifier, event-apply-meta-modifier):
16810 Mark unused parameters.
16811 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
16812 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
16813
16814 * speedbar.el (speedbar-ignored-directory-expressions)
16815 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
16816 (speedbar-find-file, speedbar-dir-follow)
16817 (speedbar-directory-buttons-follow, speedbar-tag-find)
16818 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
16819 (speedbar-buffers-line-directory, speedbar-buffer-click):
16820 Mark unused parameters.
16821 (speedbar-tag-file): Remove unused variable `mode'.
16822 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
16823
16824 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
16825
16826 * talk.el (talk): Remove unused variable `display'.
16827
16828 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
16829 (tar-write-region-annotate): Mark unused parameter.
16830
16831 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
16832 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
16833 Declare them, wrapped in `with-no-warnings' to avoid replacing one
16834 warning by another.
16835
16836 * time-stamp.el (time-stamp-string-preprocess):
16837 Remove unused variable `require-padding'.
16838
16839 * tree-widget.el (widget-glyph-enable): Declare.
16840 (tree-widget-action): Mark unused parameter.
16841
16842 * w32-fns.el (x-get-selection): Mark unused parameter.
16843 (autoload-make-program, generated-autoload-file): Declare.
16844
16845 * wdired.el (wdired-revert): Mark unused parameters.
16846 (wdired-xcase-word): Remove unused variable `err'.
16847
16848 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
16849 (whitespace-help-scroll): Remove unused variable `data-help'.
16850
16851 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
16852 (widget-image-insert, widget-after-change, default)
16853 (widget-default-format-handler, widget-default-notify)
16854 (widget-default-prompt-value, widget-info-link-action)
16855 (widget-url-link-action, widget-function-link-action)
16856 (widget-variable-link-action, widget-file-link-action)
16857 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
16858 (widget-field-prompt-internal, widget-field-action, widget-field-match)
16859 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
16860 (widget-insert-button-action, widget-delete-button-action, visibility)
16861 (widget-documentation-link-action, widget-documentation-string-action)
16862 (widget-const-prompt-value, widget-regexp-match, symbol)
16863 (widget-coding-system-prompt-value)
16864 (widget-key-sequence-value-to-external, sexp)
16865 (widget-sexp-value-to-internal, character, vector, cons)
16866 (widget-choice-prompt-value, widget-boolean-prompt-value)
16867 (widget-color--choose-action): Mark unused parameters.
16868 (widget-item-match-inline, widget-choice-match-inline)
16869 (widget-checklist-match, widget-checklist-match-inline)
16870 (widget-group-match): Rename parameter VALUES to VALS.
16871 (widget-field-value-set): Remove unused variable `size'.
16872 (widget-color-action): Remove unused variables `value' and `start'.
16873
16874 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
16875 variable `dir'. Doc fix.
16876 (windmove-find-other-window): Don't pass it.
16877
16878 * window.el (count-windows): Mark unused parameter.
16879 (bw-adjust-window): Remove unused variable `err'.
16880
16881 * woman.el (woman-file-name): Remove unused variable `default'.
16882 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16883 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16884 (global-font-lock-mode): Declare.
16885 (woman-decode-region): Mark unused parameter.
16886 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16887
16888 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16889 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16890 (x-dnd-handle-moz-url): Remove unused variable `title'.
16891 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16892
16893 * xml.el (xml-parse-tag, xml-parse-attlist):
16894 Remove unused variable `pos'.
16895
16896 2011-04-19 Glenn Morris <rgm@gnu.org>
16897
16898 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16899 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16900 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16901 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16902 * calendar/cal-html.el (cal-html-insert-minical):
16903 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16904 (calendar-mark-date-pattern):
16905 Prefix "unused" locals.
16906
16907 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16908 optional argument `style'.
16909
16910 * calendar/appt.el (appt-make-list):
16911 * calendar/cal-china.el (calendar-chinese-date-string):
16912 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16913 (diary-hebrew-yahrzeit):
16914 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16915 * calendar/calendar.el (calendar-generate-window):
16916 * calendar/time-date.el (time-to-days):
16917 Remove unused local variables.
16918
16919 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
16920
16921 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16922 glyphless-char-display table.
16923 (tabulated-list-glyphless-char-display): New var.
16924
16925 2011-04-18 Sam Steingold <sds@gnu.org>
16926
16927 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16928 to acknowledgments.
16929
16930 2011-04-17 Glenn Morris <rgm@gnu.org>
16931
16932 * calendar/diary-lib.el (diary-sexp-entry):
16933 * calendar/holidays.el (holiday-sexp):
16934 Set debug-on-error rather than the removed stack-trace-on-error.
16935
16936 2011-04-16 Glenn Morris <rgm@gnu.org>
16937
16938 * progmodes/f90.el: Use lexical-binding.
16939 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16940
16941 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16942
16943 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16944 (mail-mode): Setup mailalias completion here instead.
16945 * mail/mailalias.el: Use lexical-binding.
16946 (pattern, mailalias-done): Declare dynamic.
16947 (mail-completion-at-point-function): New function, from mail-complete.
16948 (mail-complete): Use it.
16949 (mail-completion-expand): New function.
16950 (mail-get-names): Use it.
16951 (mail-directory, mail-directory-process, mail-directory-stream):
16952 Don't use `pattern' for lexically bound arg.
16953
16954 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16955
16956 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16957 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16958 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16959
16960 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16961 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16962 (byte-interactive-p): Define them again, for use when inlining
16963 old code.
16964
16965 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
16966
16967 * loadup.el: Use `string-to-number', not `string-to-int'.
16968
16969 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16970
16971 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16972 gud-gdb-complete-command.
16973 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16974 (gud-gdb-completion-at-point): New function.
16975 (gud-gdb-completions): Remove.
16976
16977 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
16978
16979 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16980 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16981 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16982 whether `executable-find' is bound.
16983
16984 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16985
16986 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16987
16988 * minibuffer.el (completion-in-region-mode-predicate)
16989 (completion-in-region-mode--predicate): New vars.
16990 (completion-in-region, completion-in-region--postch)
16991 (completion-in-region-mode): Use them.
16992 (completion--capf-wrapper): Also return the hook function.
16993 (completion-at-point, completion-help-at-point):
16994 Adjust and provide a predicate.
16995
16996 Preserve arg names for advice of subr and lexical functions (bug#8457).
16997 * help-fns.el (help-function-arglist): Consolidate the subr and
16998 new-byte-code cases. Add argument `preserve-names' to extract names
16999 from the docstring when needed.
17000 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
17001 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
17002 (ad-arglist): Use help-function-arglist's new arg.
17003 (ad-definition-type): Use cond.
17004
17005 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
17006
17007 * autorevert.el (auto-revert-handler):
17008 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
17009 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
17010 Don't quote lambda.
17011
17012 * image-mode.el (image-transform-set-scale):
17013 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
17014
17015 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17016
17017 * net/network-stream.el (network-stream-open-starttls): Only do
17018 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
17019 Upgrades via gnutls-cli are too slow to be done opportunistically.
17020
17021 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
17022
17023 * dframe.el (dframe-current-frame): Remove spurious quote.
17024
17025 2011-04-12 Glenn Morris <rgm@gnu.org>
17026
17027 * calendar/cal-tex.el (cal-tex-end-document):
17028 Try to automatically use latin1 input if needed.
17029
17030 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
17031 Don't try to cons a mark onto an empty element.
17032
17033 2011-04-11 Leo Liu <sdl.web@gmail.com>
17034
17035 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
17036 buffers.
17037 (ido-kill-buffer-at-head): Support killing virtual buffers.
17038
17039 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
17040
17041 * minibuffer.el (completion-show-inline-help): New var.
17042 (completion--do-completion, minibuffer-complete)
17043 (minibuffer-force-complete, minibuffer-complete-word):
17044 Inhibit minibuffer messages if completion-show-inline-help is nil.
17045
17046 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
17047 to avoid interference from inline help (Bug#5849).
17048
17049 2011-04-10 Leo Liu <sdl.web@gmail.com>
17050
17051 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17052 Fix typo.
17053
17054 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
17055
17056 * image-mode.el (image-toggle-display-image): Signal an error if
17057 not in Image mode.
17058 (image-transform-mode, image-transform-resize)
17059 (image-transform-set-rotation): Doc fix.
17060 (image-transform-set-resize): Delete.
17061 (image-transform-set-scale, image-transform-fit-to-height)
17062 (image-transform-fit-to-width): Handle image-toggle-display-image
17063 and image-transform-resize directly.
17064
17065 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
17066
17067 * doc-view.el (doc-view-fit-width-to-window)
17068 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
17069 New functions for fitting the shown image to the Emacs window size.
17070 (doc-view-mode-map): Add bindings for the new functions.
17071
17072 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
17073
17074 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
17075 Fix typo in docstring.
17076
17077 2011-04-08 Eli Zaretskii <eliz@gnu.org>
17078
17079 * files.el (file-size-human-readable): Produce one digit after
17080 decimal, like "ls -lh" does.
17081
17082 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
17083 the file size representation.
17084
17085 * simple.el (list-processes): If async subprocesses are not
17086 available, error out with a clear error message.
17087
17088 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
17089
17090 * help.el (help-form-show): New function, to be called from C.
17091 Put help-form output in a buffer named differently than *Help*.
17092
17093 2011-04-08 Eli Zaretskii <eliz@gnu.org>
17094
17095 * files.el (file-size-human-readable): New function.
17096
17097 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
17098 computing the representation inline. Don't require `cl'.
17099
17100 2011-04-08 Glenn Morris <rgm@gnu.org>
17101
17102 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
17103
17104 * net/browse-url.el (browse-url-firefox):
17105 Test system-type, not system-configuration.
17106
17107 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
17108 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
17109 Use log-edit-empty-buffer-p. (Bug#7598)
17110
17111 * net/rlogin.el (rlogin-process-connection-type): Simplify.
17112 (rlogin-mode-map): Initialize in the defvar.
17113 (rlogin): Use ignore-errors.
17114
17115 * replace.el (occur-mode-map): Some fixes for menu items.
17116
17117 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17118
17119 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
17120
17121 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
17122
17123 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
17124 issuing unused warnings.
17125
17126 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
17127 macro directly.
17128
17129 * simple.el: Lisp reimplement of list-processes. Based on an
17130 earlier reimplementation by Leo Liu, but using tabulated-list.el.
17131 (process-menu-mode): New major mode.
17132 (list-processes--refresh, list-processes):
17133 (process-menu-visit-buffer): New functions.
17134
17135 * files.el (save-buffers-kill-emacs): Don't assume any return
17136 value of list-processes, which is undocumented anyway.
17137
17138 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
17139
17140 * emacs-lisp/tabulated-list.el: New file.
17141
17142 * emacs-lisp/package.el: Use Tabulated List mode.
17143 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
17144 (package-menu-mode): Derive from tabulated-list-mode. Set up the
17145 table format using Tabulated List mode variables.
17146 (package--push): New macro, replacing package-list-maybe-add.
17147 (package-menu--generate): Use package--push. Renamed from
17148 package--generate-package-list.
17149 (package-menu-refresh, list-packages): Use it.
17150 (package-menu--print-info): Rename from package-print-package.
17151 Return insertion data instead of inserting it directly.
17152 (package-menu-describe-package, package-menu-execute):
17153 Use tabulated-list-get-id.
17154 (package-menu-mark-delete, package-menu-mark-install)
17155 (package-menu-mark-unmark, package-menu-backup-unmark)
17156 (package-menu-mark-obsolete-for-deletion):
17157 Use tabulated-list-put-tag.
17158 (package--list-packages, package-menu-revert)
17159 (package-menu-get-package, package-menu-get-version)
17160 (package-menu-sort-by-column): Functions deleted.
17161 (package-menu-package-list, package-menu-sort-key): Vars deleted.
17162 (package-menu--status-predicate, package-menu--version-predicate)
17163 (package-menu--name-predicate)
17164 (package-menu--description-predicate): Handle arguments in the
17165 Tabulated List format.
17166 (package-list-packages-no-fetch): Call list-packages.
17167
17168 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
17169
17170 * files.el (after-find-file-from-revert-buffer): Remove variable.
17171 (after-find-file): Don't bind it.
17172 (revert-buffer-in-progress-p): New variable.
17173 (revert-buffer): Bind it.
17174 Pass nil for `after-find-file-from-revert-buffer'.
17175
17176 * saveplace.el (save-place-find-file-hook): Use new variable
17177 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
17178
17179 2011-04-06 Glenn Morris <rgm@gnu.org>
17180
17181 * Makefile.in (AUTOGEN_VCS): New variable.
17182 (autoloads): Use $AUTOGEN_VCS.
17183
17184 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
17185 * calendar/calendar.el (calendar-mode-map):
17186 Check for toolkit scroll bars. (Bug#8305)
17187
17188 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
17189
17190 * minibuffer.el (completion-in-region--postch)
17191 (completion-in-region-mode): Remove unnecessary messages.
17192
17193 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
17194
17195 * font-lock.el (font-lock-refresh-defaults):
17196 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
17197 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
17198
17199 * info.el (Info-directory-list, Info-read-node-name-2)
17200 (Info-split-parameter-string): Doc fixes.
17201 (Info-virtual-nodes): Reflow docstring.
17202 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
17203 (Info-apropos-toc-nodes, info-finder, Info-get-token)
17204 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
17205 Fix typos in docstrings.
17206 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
17207 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
17208 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
17209 (Info-restore-desktop-buffer): Mark unused parameters.
17210 (Info-directory-find-file, Info-directory-find-node)
17211 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
17212 (Info-virtual-index-find-node, Info-apropos-find-file)
17213 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
17214 Mark unused parameters; fix typos in docstrings.
17215 (Info-virtual-index): Remove unused local variable `nodename'.
17216
17217 2011-04-05 Deniz Dogan <deniz@dogan.se>
17218
17219 * net/rcirc.el: Update my e-mail address.
17220 (rcirc-mode-map): Remove M-o binding.
17221
17222 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
17223
17224 * startup.el (command-line): Save the cursor's theme-face
17225 directly, instead of using face-override-spec.
17226
17227 * custom.el (load-theme): Minor optimization in assigning faces.
17228
17229 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
17230
17231 * help-fns.el (describe-variable): Complete all variables having
17232 documentation, including keywords.
17233 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
17234
17235 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
17236
17237 Convert to lexical-binding.
17238
17239 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
17240 (bs--get-marked-string, bs--get-modified-string)
17241 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
17242 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
17243 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
17244
17245 * ehelp.el (electric-help-execute-extended)
17246 (electric-help-ctrl-x-prefix):
17247 * hexl.el (hexl-revert-buffer-function):
17248 * linum.el (linum-after-change, linum-after-scroll):
17249 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
17250
17251 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
17252
17253 2011-04-04 Daiki Ueno <ueno@unixuser.org>
17254
17255 * epa-dired.el:
17256 * epa-mail.el:
17257 * epa-hook.el:
17258 * epa-file.el:
17259 * epa.el:
17260 * epg.el: Use lexical binding.
17261
17262 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
17263
17264 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
17265
17266 * textmodes/flyspell.el (flyspell-word): Recognize default
17267 dictionary case for flyspell-mark-duplications-exceptions.
17268 Use regexp matching for languages.
17269 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
17270 default dictionary (Bug#7926).
17271
17272 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
17273
17274 * emacs-lisp/package.el (package--with-work-buffer):
17275 Recognize https URLs.
17276
17277 * net/network-stream.el: Move from gnus/proto-stream.el.
17278 Change prefix to network-stream throughout.
17279 (open-protocol-stream): Merge into open-network-stream, leaving
17280 open-protocol-stream as an alias. Handle nil BUFFER args.
17281
17282 * subr.el (open-network-stream): Move to net/network-stream.el.
17283
17284 2011-04-02 Glenn Morris <rgm@gnu.org>
17285
17286 * find-dired.el (find-exec-terminator): New option.
17287 (find-ls-option): Test for -ls support.
17288 (find-ls-subdir-switches): Test for -b in find-ls-option.
17289 (find-dired, find-grep-dired): Doc fixes.
17290 (find-dired): Use find-exec-terminator.
17291
17292 * find-dired.el (find-ls-option, find-ls-subdir-switches)
17293 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
17294 (find-name-arg): Remove purecopy.
17295
17296 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
17297 (grep-compute-defaults): Check for `-exec COMMAND +' support.
17298 Set grep-find-use-xargs, grep-find-command, and grep-find-template
17299 accordingly. Don't add the null-device if not needed.
17300
17301 * files.el (save-some-buffers): Doc fix.
17302
17303 2011-04-02 Eli Zaretskii <eliz@gnu.org>
17304
17305 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
17306
17307 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
17308
17309 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
17310 Use `dolist' rather than `mapcar'.
17311
17312 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
17313
17314 Add lexical binding.
17315
17316 * subr.el (apply-partially): Use new closures rather than CL.
17317 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
17318 (dolist, dotimes): Use slightly different expansion for lexical code.
17319 (functionp): Move to C.
17320 (letrec): New macro.
17321 (with-wrapper-hook): Use it and apply-partially instead of CL.
17322 (eval-after-load): Preserve lexical-binding.
17323 (save-window-excursion, with-output-to-temp-buffer): Turn them
17324 into macros.
17325
17326 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
17327
17328 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
17329 than the arglist.
17330 (help-add-fundoc-usage): Don't add `Not documented'.
17331 (help-function-arglist): Handle closures, subroutines, and new
17332 byte-code-functions.
17333 (help-make-usage): Remove leading underscores.
17334 (describe-function-1): Handle closures.
17335 (describe-variable): Use special-variable-p for completion.
17336
17337 * files.el (lexical-binding): Declare safe.
17338
17339 * emacs-lisp/pcase.el: Don't use destructuring-bind.
17340 (pcase--memoize): Rename from pcase-memoize. Change weakness.
17341 (pcase): Add `let' pattern.
17342 Change memoization so it actually works.
17343 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
17344 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
17345 <let>: New case.
17346
17347 * emacs-lisp/macroexp.el: Use lexical binding.
17348 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
17349 Don't convert ' to #' without checking that it's indeed quoting
17350 a lambda.
17351
17352 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
17353 Use eval-sexp-add-defvars.
17354 (eval-sexp-add-defvars): New fun.
17355
17356 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
17357
17358 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
17359 Don't autoload.
17360 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
17361 than the internal `byte-compile-lambda'.
17362 (defmethod): Don't hide code under quotes.
17363 (eieio-defmethod): New `code' argument.
17364
17365 * emacs-lisp/eieio-comp.el: Remove.
17366
17367 * emacs-lisp/edebug.el (edebug-eval-defun)
17368 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
17369 (edebug-toggle): Avoid `eval'.
17370
17371 * emacs-lisp/disass.el (disassemble-internal): Handle new
17372 `closure' objects.
17373 (disassemble-1): Handle new byte codes.
17374
17375 * emacs-lisp/cl.el (pushnew): Silence warning.
17376
17377 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
17378 (cl-byte-compile-throw): Remove.
17379 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
17380
17381 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
17382 closures.
17383
17384 * emacs-lisp/cconv.el: New file.
17385
17386 * emacs-lisp/bytecomp.el: Use lexical binding instead of
17387 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
17388 (byte-compile-initial-macro-environment):
17389 Handle declare-function here.
17390 (byte-compile--lexical-environment): New var.
17391 (byte-stack-ref, byte-stack-set, byte-discardN)
17392 (byte-discardN-preserve-tos): New lap codes.
17393 (byte-interactive-p): Don't use any more.
17394 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
17395 New macros.
17396 (byte-compile-lapcode): Use them and handle new lap codes.
17397 (byte-compile-obsolete): Remove.
17398 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
17399 (byte-compile-arglist-warn): Check late def of inlinable funs.
17400 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
17401 since they should have been expanded by now.
17402 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
17403 (byte-compile-from-buffer): Remove unused second arg.
17404 (byte-compile-preprocess): New function.
17405 (byte-compile-toplevel-file-form): New function to distinguish
17406 file-form calls from outside from file-form calls from hunk-handlers.
17407 (byte-compile-file-form): Simplify.
17408 (byte-compile-file-form-defsubst): Remove.
17409 (byte-compile-file-form-defmumble): Simplify now that
17410 byte-compile-lambda always returns a byte-code-function.
17411 (byte-compile): Preprocess.
17412 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
17413 Remove, not used any more.
17414 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
17415 (byte-compile-make-args-desc): New funs.
17416 (byte-compile-lambda): Handle lexical functions. Always return
17417 a byte-code-function.
17418 (byte-compile-reserved-constants): New var, to make up room for
17419 closed-over variables.
17420 (byte-compile-constants-vector): Obey it.
17421 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
17422 (byte-compile-macroexpand-declare-function): New function.
17423 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
17424 byte-code-functions.
17425 (byte-compile-form): Check obsolescence here.
17426 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
17427 (byte-compile-variable-ref): Remove.
17428 (byte-compile-dynamic-variable-op): New fun.
17429 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17430 (byte-compile-variable-set): New funs.
17431 (byte-compile-discard): Add 2 args.
17432 (byte-compile-stack-ref, byte-compile-stack-set)
17433 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
17434 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
17435 macroexpand-all instead.
17436 (byte-compile-quote-form): Remove.
17437 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
17438 (byte-compile-bind, byte-compile-unbind): New funs.
17439 (byte-compile-let): Handle let* and lexical binding.
17440 (byte-compile-let*): Remove.
17441 (byte-compile-catch, byte-compile-unwind-protect)
17442 (byte-compile-track-mouse, byte-compile-condition-case):
17443 Handle a new :fun-body form, used for lexical scoping.
17444 (byte-compile-save-window-excursion)
17445 (byte-compile-with-output-to-temp-buffer): Remove.
17446 (byte-compile-defun): Simplify.
17447 (byte-compile-stack-adjustment): New fun.
17448 (byte-compile-out): Use it.
17449 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
17450
17451 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
17452 handler any more.
17453
17454 * emacs-lisp/byte-opt.el: Use lexical binding.
17455 (byte-inline-lapcode): Remove (to bytecomp).
17456 (byte-compile-inline-expand): Pay attention to inlining to/from
17457 lexically bound code.
17458 (byte-compile-unfold-lambda): Don't handle byte-code-functions
17459 any more.
17460 (byte-optimize-form-code-walker): Don't handle save-window-excursion
17461 any more and don't call compiler-macros.
17462 (byte-compile-splice-in-already-compiled-code): Remove.
17463 (byte-code): Don't inline any more.
17464 (disassemble-offset): Receive `bytes' as argument rather than via
17465 dynamic scoping.
17466 (byte-compile-tag-number): Declare before first use.
17467 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
17468 `return' even if make-spliceable.
17469 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
17470 obsolete interactive-p.
17471 (byte-optimize-lapcode): Optimize new lap-codes.
17472 Don't trip up on new form of `byte-constant' lap code.
17473
17474 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
17475
17476 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
17477
17478 * custom.el (custom-initialize-default, custom-declare-variable):
17479 Use `defvar'.
17480
17481 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
17482 New variables.
17483 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
17484 (COMPILE_FIRST): Add macroexp and cconv.
17485 * makefile.w32-in: Mirror changes in Makefile.in.
17486
17487 * vc/cvs-status.el:
17488 * vc/diff-mode.el:
17489 * vc/log-edit.el:
17490 * vc/log-view.el:
17491 * vc/smerge-mode.el:
17492 * textmodes/bibtex-style.el:
17493 * textmodes/css-mode.el:
17494 * startup.el:
17495 * uniquify.el:
17496 * minibuffer.el:
17497 * newcomment.el:
17498 * reveal.el:
17499 * server.el:
17500 * mpc.el:
17501 * emacs-lisp/smie.el:
17502 * doc-view.el:
17503 * dired.el:
17504 * abbrev.el: Use lexical binding.
17505
17506 2011-04-01 Eli Zaretskii <eliz@gnu.org>
17507
17508 * info.el (info-display-manual): New function.
17509
17510 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
17511
17512 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
17513
17514 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
17515
17516 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
17517 an entry for that server in rcirc-authinfo. (Bug#8385)
17518
17519 2011-03-31 Glenn Morris <rgm@gnu.org>
17520
17521 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
17522
17523 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
17524
17525 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
17526
17527 * progmodes/python.el (python-default-interpreter)
17528 (python-python-command-args, python-jython-command-args)
17529 (python-which-shell, python-which-args, python-which-bufname)
17530 (python-file-queue, python-comint-output-filter-function)
17531 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
17532 variables and functions.
17533
17534 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
17535
17536 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
17537 (completion-in-region-mode): New minor mode.
17538 (completion-in-region): Use it.
17539 (completion-in-region--data, completion-in-region-mode-map): New vars.
17540 (completion-in-region--postch): New function.
17541 (completion--capf-misbehave-funs, completion--capf-safe-funs):
17542 New vars.
17543 (completion--capf-wrapper): New function.
17544 (completion-at-point): Use it to track well-behavedness of
17545 hook functions.
17546 (completion-help-at-point): New command.
17547
17548 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
17549
17550 * vc/add-log.el (add-change-log-entry): Don't use whitespace
17551 syntax class to search for whitespace on a single line
17552 (Message-ID: <4D938140.4030905@redhat.com>).
17553
17554 2011-03-30 Leo Liu <sdl.web@gmail.com>
17555
17556 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
17557 New commands.
17558 (edit-abbrevs-map): Bind them here.
17559 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
17560
17561 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
17562
17563 * allout.el (allout-hide-by-annotation, allout-flag-region):
17564 Reduce possibility of overlay leakage by making them volatile.
17565
17566 * allout-widgets.el (allout-widgets-tally): Define as nil so the
17567 hash is not shared between buffers. Mode initialization is
17568 responsible for giving it a useful starting value.
17569 (allout-item-span): Reduce possibility of overlay leakage by
17570 making them volatile.
17571 (allout-widgets-count-buttons-in-region): Add diagnostic function
17572 for tracking down button overlay leaks.
17573
17574 2011-03-29 Leo Liu <sdl.web@gmail.com>
17575
17576 * ido.el (ido-read-internal): Use the default history var
17577 minibuffer-history if no HISTORY is specified.
17578
17579 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
17580
17581 * net/imap.el (imap-shell-open, imap-process-connection-type):
17582 Use imap-process-connection-type for 'shell' streams as well as
17583 Kerberos, SSL, other subprocesses.
17584
17585 2011-03-28 Leo Liu <sdl.web@gmail.com>
17586
17587 * abbrev.el (abbrev-table-empty-p): New function.
17588 (prepare-abbrev-list-buffer): Place empty abbrev tables after
17589 nonempty ones. (Bug#5937)
17590
17591 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
17592
17593 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
17594
17595 2011-03-27 Leo Liu <sdl.web@gmail.com>
17596
17597 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
17598 for foreground and background colors.
17599 (ansi-color-make-color-map): Adapt.
17600
17601 2011-03-25 Leo Liu <sdl.web@gmail.com>
17602
17603 * midnight.el (midnight-time-float): Remove. Note it calculates
17604 the microsecond component incorrectly and seconds-to-time does the
17605 same job.
17606 Remove redundant (require 'timer).
17607
17608 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
17609 (ido-completions): Remove unused arguments. (Bug#8329)
17610
17611 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
17612
17613 * minibuffer.el (completion--flush-all-sorted-completions):
17614 Remove itself from hook.
17615 (completion-at-point): Let the functions perform the completion
17616 immediately and return nil or t.
17617 * comint.el (comint-dynamic-complete-functions): Now identical to
17618 completion-at-point-functions.
17619 (comint-dynamic-list-input-ring): Remove unused var `index'.
17620 (comint--match-partial-filename, comint--unquote&expand-filename):
17621 New funs, split from comint-match-partial-filename.
17622 (comint-dynamic-complete): Use completion-at-point.
17623 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
17624
17625 2011-03-24 Drew Adams <drew.adams@oracle.com>
17626
17627 * thingatpt.el: Support `defun'.
17628
17629 2011-03-23 Leo Liu <sdl.web@gmail.com>
17630
17631 * abbrevlist.el: Move to obsolete/abbrevlist.el.
17632
17633 * help-mode.el (help-mode-finish): Tweak regexp.
17634
17635 2011-03-23 Glenn Morris <rgm@gnu.org>
17636
17637 * eshell/esh-opt.el (eshell-eval-using-options):
17638 Do not bind unused local variable `eshell-option-stub'.
17639
17640 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
17641
17642 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
17643
17644 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
17645 keymap variable in `with-no-warnings' to avoid a warning when the
17646 keymap has been already `defconst'ed.
17647
17648 2011-03-22 Leo Liu <sdl.web@gmail.com>
17649
17650 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
17651 encode all chars in abbrevs; otherwise use emacs-mule or
17652 utf-8-emacs. (Bug#8308)
17653
17654 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
17655
17656 * simple.el (backward-delete-char-untabify):
17657 Avoid warning about using `delete-backward-char'.
17658
17659 * image.el (image-type-file-name-regexps): Make it variable.
17660 `imagemagick-register-types' modifies it, and the user may want
17661 to add new extensions for known image types.
17662 (imagemagick-register-types): Throw error if not using ImageMagick.
17663
17664 2011-03-22 Leo Liu <sdl.web@gmail.com>
17665
17666 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
17667 located before rcirc-prompt-end-marker.
17668 (rcirc-complete): Error if point is not after rcirc prompt.
17669 Handle the case when table is nil.
17670 (rcirc-user-authenticated): Define to fix compiler warning.
17671
17672 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
17673
17674 * custom.el (custom--inhibit-theme-enable): Make it affect only
17675 custom-theme-set-variables and custom-theme-set-faces.
17676 (provide-theme): Ignore custom--inhibit-theme-enable.
17677 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
17678 (custom-enabling-themes): Delete variable.
17679 (enable-theme): Accept only loaded themes as arguments.
17680 Ignore the special custom-enabled-themes variable.
17681 (custom-enabled-themes): Forbid themes from setting this.
17682 Eliminate use of custom-enabling-themes.
17683 (custom-push-theme): Quote "changed" custom var entry.
17684
17685 2011-03-21 Leo Liu <sdl.web@gmail.com>
17686
17687 * ido.el (ido-read-internal): Add ido-selected to history instead
17688 of user input.
17689
17690 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17691
17692 * subr.el (deferred-action-list, deferred-action-function):
17693 Mark obsolete.
17694
17695 2011-03-21 Leo Liu <sdl.web@gmail.com>
17696
17697 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
17698 change on 2011-02-13 (bug#8309).
17699
17700 * minibuffer.el (read-file-name-function): Change default value.
17701 (read-file-name--defaults): Rename from read-file-name-defaults.
17702 (read-file-name-default): Rename from read-file-name.
17703 (read-file-name): Call read-file-name-function.
17704
17705 2011-03-21 Glenn Morris <rgm@gnu.org>
17706
17707 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
17708 Doc fixes.
17709
17710 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
17711
17712 * cus-theme.el: Add missing provide statement.
17713 (customize-create-theme): Extract theme value correctly.
17714 (custom-theme-visit-theme): Autoload.
17715 (customize-create-theme): Prompt before inserting default faces.
17716
17717 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
17718
17719 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
17720 units and musical notes.
17721
17722 2011-03-20 Leo Liu <sdl.web@gmail.com>
17723
17724 * ido.el (ido-read-internal): Use completing-read-default.
17725 (ido-completing-read): Fix compatibility with completing-read.
17726
17727 2011-03-20 Christian Ohler <ohler@gnu.org>
17728
17729 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
17730 (ert-delete-all-tests): Use `called-interactively-p' rather than
17731 `interactive-p'.
17732 (ert--make-xrefs-region): Respect END.
17733
17734 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
17735
17736 * dired-aux.el (dired-create-directory): Signal an error if the
17737 directory already exists (Bug#8246).
17738
17739 * facemenu.el (list-colors-display): Call list-faces-display
17740 inside with-help-window.
17741 (list-colors-print): Use display property to align the final
17742 column, instead of checking window-width.
17743
17744 2011-03-19 Eli Zaretskii <eliz@gnu.org>
17745
17746 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
17747 windows-nt systems.
17748 (emerge-protect-metachars): Quote correctly for ms-dos and
17749 windows-nt systems.
17750
17751 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
17752
17753 * info.el (info-initialize): Replace all uses of `:' with
17754 path-separator for compatibility with non-Unix systems.
17755 Cache quoting of path-separator. (Bug#8258)
17756
17757 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
17758
17759 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
17760 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
17761 (mouse-avoidance-mode): Fix typos in docstrings.
17762
17763 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
17764
17765 * startup.el (package-subdirectory-regexp): Move from package.el.
17766 Omit \\` and \\', and let callers add them.
17767
17768 * emacs-lisp/package.el (package-strip-version)
17769 (package-load-all-descriptors): Add \\` and \\' to
17770 package-subdirectory-regexp before using it.
17771 (package-untar-buffer): New arg DIR; ensure that file untars only
17772 into this expected directory. Remove superfluous delete-region.
17773 (package-unpack): Caller changed.
17774 (package-tar-file-info): Use package-subdirectory-regexp.
17775
17776 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
17777
17778 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
17779 diff-mode-shared-map (bug#8284).
17780 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
17781
17782 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17783
17784 * calendar/time-date.el (format-seconds): Use assoc instead of
17785 assoc-string, since assoc-string doesn't exist in XEmacs.
17786
17787 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
17788
17789 * custom.el (custom-known-themes): Reflow docstring.
17790 (custom-theme-load-path): Fix typo in docstring.
17791 (load-theme): Fix typo in error message.
17792 (custom-available-themes, custom-variable-theme-value):
17793 Use `let', not `let*'.
17794
17795 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17796
17797 * calc/README: Mention inclusion of musical notes.
17798
17799 * calc/calc-units.el (calc-lu-quant): Rename from
17800 `calc-logunits-quantity'.
17801 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
17802 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
17803 (calc-db): Rename from `calc-dblevel'.
17804 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
17805 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
17806 (calc-np): Rename from `calc-nplevel'.
17807 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
17808 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
17809 (calc-lu-plus): Rename from `calc-logunits-add'.
17810 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
17811 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
17812 (calc-lu-minus): Rename from `calc-logunits-sub'.
17813 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
17814 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
17815 (calc-lu-times): Rename from `calc-logunits-mul'.
17816 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
17817 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
17818 (calc-lu-divide): Rename from `calc-logunits-div'.
17819 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
17820 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
17821
17822 * calc/calc-ext.el (calc-init-extensions): Update the names of the
17823 functions being autoloaded.
17824
17825 * calc/calc.el (calc-lu-power-reference): Rename from
17826 `calc-logunits-power-reference'.
17827 (calc-lu-field-reference): Rename from
17828 `calc-logunits-field-reference'.
17829
17830 * calc/calc-help.el (calc-l-prefix-help):
17831 Mention musical note functions.
17832
17833 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
17834
17835 * minibuffer.el (completion-all-sorted-completions):
17836 Use :completion-cycle-penalty text property if present.
17837
17838 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
17839
17840 * allout.el (allout-yank-processing): Adjust for new rebulleting
17841 regime so bullet being yanked is used without prompting the user
17842 for a choice.
17843
17844 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
17845
17846 * startup.el (command-line): Warn the user that _emacs is deprecated.
17847
17848 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
17849
17850 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
17851 (delphi-verbose, delphi-comment-face, delphi-string-face)
17852 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
17853 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
17854 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
17855 (delphi-new-comment-line, delphi-font-lock-defaults)
17856 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
17857 Fix typos in docstrings.
17858
17859 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
17860
17861 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
17862 Invert the roles of character and string values for INSTEAD, so a
17863 string is used for the more common case of a defaulting prompt.
17864
17865 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17866
17867 * progmodes/ruby-mode.el (ruby-backward-sexp):
17868 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
17869 * play/gamegrid.el (gamegrid-make-face):
17870 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
17871 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
17872 * notifications.el (notifications-notify):
17873 * net/xesam.el (xesam-search-engines):
17874 * net/quickurl.el (quickurl-list-insert):
17875 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17876
17877 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
17878
17879 * startup.el (command-line): Update package subdirectory regexp.
17880
17881 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17882
17883 * allout.el (allout-abbreviate-flattened-numbering)
17884 (allout-mode-deactivate-hook): Fix up obsolescence "date".
17885
17886 * subr.el (read-char-choice): Only show the cursor after the prompt,
17887 not after the answer.
17888
17889 2011-03-15 Kevin Ryde <user42@zip.com.au>
17890
17891 * help-fns.el (variable-at-point): Skip leading quotes, if any
17892 (bug#8253).
17893
17894 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17895
17896 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17897 warning message.
17898
17899 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
17900
17901 * shell.el (shell): When called interactively, offer to change the
17902 shell file name on remote hosts.
17903
17904 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17905
17906 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17907 integration for LDAP parameters. The host, base, user or binddn,
17908 and secret tokens can be specified in a netrc file, for instance.
17909 This is optional because an `auth-source' parameter must be
17910 specified in the search attributes.
17911
17912 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
17913
17914 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17915
17916 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17917
17918 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17919 into declaration. Remove redundant and harmful binding.
17920
17921 2011-03-12 Eli Zaretskii <eliz@gnu.org>
17922
17923 * files.el (file-ownership-preserved-p): Pass `integer' as an
17924 explicit 2nd argument to `file-attributes'. If the file's owner
17925 is the Administrators group on Windows, and the current user is
17926 Administrator, consider that a match.
17927
17928 * server.el (server-ensure-safe-dir): Consider server directory
17929 safe on MS-Windows if its owner is the Administrators group while
17930 the current Emacs user is Administrator. Use `=' to compare
17931 numerical UIDs, since they could be integers or floats.
17932
17933 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
17934
17935 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17936
17937 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
17938
17939 Sync with Tramp 2.2.1.
17940
17941 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17942
17943 * net/trampver.el: Update release number.
17944
17945 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17946
17947 * progmodes/compile.el (compilation--previous-directory): Fix up
17948 various nil/dead-marker mismatches (bug#8014).
17949 (compilation-directory-properties, compilation-error-properties):
17950 Don't call it at a position past the one we're about to change.
17951
17952 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17953 Disable obsolescence warnings in the file that declares it.
17954
17955 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17956
17957 * allout-widgets.el (allout-widgets-tally):
17958 Initialize allout-widgets-tally as a hash table rather than nil to
17959 prevent mode-line redisplay warnings. Also, clarify the module
17960 description and fix a comment typo.
17961
17962 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
17963
17964 * help-fns.el (describe-variable): Don't complete keywords.
17965 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17966
17967 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
17968
17969 * emacs-lisp/package.el (package-version-join): Impose a standard
17970 string representation for pre/alpha/beta version lists.
17971 (package-unpack-single): Standardize the directory name by passing
17972 it through package-version-join.
17973 (package-strip-rcs-id): Accept any version string that does not
17974 signal an error in version-to-list.
17975
17976 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
17977
17978 * simple.el (delete-trailing-whitespace): Return nil for the
17979 benefit of `write-file-functions'.
17980
17981 2011-03-10 Glenn Morris <rgm@gnu.org>
17982
17983 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17984
17985 * vc/vc-git.el (vc-git-program): New option.
17986 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17987 (vc-git--call): Use it.
17988
17989 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17990
17991 * cus-edit.el (Custom-newline): If no button at point, look
17992 for a subgroup button at start-of-line. (Bug#2298)
17993
17994 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17995
17996 2011-03-10 Julien Danjou <julien@danjou.info>
17997
17998 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17999 `cursor-type' is nil.
18000
18001 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
18002
18003 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
18004
18005 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
18006
18007 * allout.el: Change so yank of distinctive-bullet items
18008 preserves the existing header prefix, rebulleting it if necessary,
18009 rather than replacing it. This is necessary for proper operation
18010 of cooperative addons like allout-widgets.
18011 (allout-make-topic-prefix, allout-rebullet-heading):
18012 Change SOLICIT arg to INSTEAD, and interpret additionally a string
18013 value as alternate bullet to be used, instead of prompting the user
18014 for a bullet character.
18015
18016 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
18017
18018 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18019 Do not use `tramp-file-name-port', because this returns also
18020 `tramp-default-port'.
18021
18022 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
18023
18024 * net/rcirc.el (rcirc-handler-001): Remove useless
18025 with-rcirc-process-buffer.
18026 (rcirc-check-auth-status): Swap arguments to string-match.
18027
18028 2011-03-09 Glenn Morris <rgm@gnu.org>
18029
18030 * shell.el (shell-mode):
18031 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
18032
18033 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
18034 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
18035
18036 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
18037
18038 * emacs-lisp/package.el (package-refresh-contents)
18039 (package-menu-execute): Use condition-case-no-debug.
18040
18041 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
18042
18043 * simple.el (shell-command-to-string): Use `process-file'.
18044
18045 * emacs-lisp/package.el (package-tar-file-info): Handle also
18046 remote files.
18047
18048 * emacs-lisp/package-x.el (package-upload-buffer-internal):
18049 Use `equal' for upload base check.
18050
18051 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
18052
18053 * textmodes/texinfo.el (texinfo-environments):
18054 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
18055
18056 2011-03-08 Glenn Morris <rgm@gnu.org>
18057
18058 * cus-start.el (cursor-in-non-selected-windows):
18059 Fix :set quoting oddness. (Bug#8192)
18060
18061 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
18062 in some setf expressions. (Bug#2159)
18063
18064 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
18065
18066 * custom.el (custom-available-themes): Return themes in
18067 alphabetical order.
18068
18069 See ChangeLog.15 for earlier changes.
18070
18071 ;; Local Variables:
18072 ;; coding: utf-8
18073 ;; End:
18074
18075 Copyright (C) 2011-2012 Free Software Foundation, Inc.
18076
18077 This file is part of GNU Emacs.
18078
18079 GNU Emacs is free software: you can redistribute it and/or modify
18080 it under the terms of the GNU General Public License as published by
18081 the Free Software Foundation, either version 3 of the License, or
18082 (at your option) any later version.
18083
18084 GNU Emacs is distributed in the hope that it will be useful,
18085 but WITHOUT ANY WARRANTY; without even the implied warranty of
18086 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18087 GNU General Public License for more details.
18088
18089 You should have received a copy of the GNU General Public License
18090 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.