* net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
[bpt/emacs.git] / lisp / ChangeLog
1 2013-03-25 Michael Albinus <michael.albinus@gmx.de>
2
3 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
4 defun. Defining it as defalias could introduce too eager
5 byte-compiler optimization. (Bug#14030)
6
7 2013-03-25 Chong Yidong <cyd@gnu.org>
8
9 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10
11 2013-03-16 Leo Liu <sdl.web@gmail.com>
12
13 * progmodes/scheme.el: Add indentation and font-locking for λ.
14 (Bug#13975)
15
16 2013-03-14 Stefan Monnier <monnier@iro.umontreal.ca>
17
18 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
19 token before point (bug#13942).
20
21 2013-03-14 Leo Liu <sdl.web@gmail.com>
22
23 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
24
25 2013-03-11 Glenn Morris <rgm@gnu.org>
26
27 * Version 24.3 released.
28
29 2013-02-25 Glenn Morris <rgm@gnu.org>
30
31 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
32
33 2013-02-21 Juri Linkov <juri@jurta.org>
34
35 * isearch.el (isearch-lazy-highlight-new-loop):
36 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
37 to `isearch-other-end' if it is not nil. (Bug#13402)
38
39 * replace.el (replace-highlight): Let-bind `isearch-other-end'
40 to `match-beg'.
41
42 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
43 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
44 and `isearch-error' to nil.
45
46 2013-02-20 Fabián Ezequiel Gallina <fgallina@cuca>
47
48 * progmodes/python.el (python-info-current-defun):
49 Enhance match-data cluttering prevention.
50
51 2013-02-19 Glenn Morris <rgm@gnu.org>
52
53 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
54 loaded while outline-regexp is let bound. (Bug#9584)
55
56 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
57
58 * progmodes/python.el (python-info-current-defun): Fix failed
59 defun name retrieval because of unwanted match-data cluttering.
60
61 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
62
63 * progmodes/python.el (python-indent-context):
64 Fix python-info-line-ends-backslash-p call.
65 (python-info-line-ends-backslash-p)
66 (python-info-beginning-of-backslash): Respect line-number
67 argument.
68 (python-info-current-line-comment-p): Fix behavior when not at
69 beginning-of-line.
70 (python-util-position): Remove function.
71 (python-util-goto-line): New function.
72
73 2013-02-18 Michael Albinus <michael.albinus@gmx.de>
74
75 * eshell/em-unix.el (eshell/su): Require tramp.
76 (eshell/sudo): Require tramp. Remove now unnecessary check.
77
78 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
79 `tramp-current-connection' in order to avoid an error when several
80 commands are invoked in a short time in eshell and friends.
81
82 2013-02-16 Didier Verna <didier@didierverna.net>
83
84 * net/network-stream.el (network-stream-open-starttls):
85 Check that response to the starttls-command is non-nil. (Bug#13706)
86
87 2013-02-14 Glenn Morris <rgm@gnu.org>
88
89 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
90
91 2013-02-14 Stefan Monnier <monnier@iro.umontreal.ca>
92
93 * net/goto-addr.el (goto-address-fontify): Add start and end args.
94 (goto-address-fontify-region): Use them instead of narrowing, so
95 syntax-ppss has access to the whole buffer.
96
97 2013-02-14 Fabián Ezequiel Gallina <fgallina@cuca>
98
99 * progmodes/python.el: Explain how to restore "cc-mode"-like
100 forward-sexp movement in header documentation (Bug#13642).
101 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
102 comments and strings (GH bug 114).
103
104 2013-02-13 Fabián Ezequiel Gallina <fgallina@cuca>
105
106 * progmodes/python.el (python-info-current-defun): Fix current
107 defun detection (Bug#13618).
108
109 2013-02-13 Chong Yidong <cyd@gnu.org>
110
111 * xml.el (xml-parse-string): Fix typo in handling of bad character
112 references.
113
114 2013-02-10 Michael Albinus <michael.albinus@gmx.de>
115
116 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
117 if DIR exists and PARENTS is non-nil.
118
119 2013-02-09 Chong Yidong <cyd@gnu.org>
120
121 * mail/emacsbug.el (report-emacs-bug): Change binding of
122 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
123
124 2013-02-02 Alan Mackenzie <acm@muc.de>
125
126 Fix bug in the state cache mechanism. Remove 'BOD "strategy". Refactor.
127 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
128 (c-parse-state-get-strategy): Don't return 'BOD any more.
129 (c-append-lower-brace-pair-to-state-cache): Extra parameter HERE
130 instead of narrowing. Widen to top of buffer before searching
131 backwards for a brace pair.
132 (c-state-push-any-brace-pair): Add HERE parameter to function
133 call.
134 (c-append-to-state-cache): Extra parameter HERE in place of
135 narrowing. Narrow to parameter HERE, in place of being called
136 narrowed.
137 (c-remove-stale-state-cache): Extra parameter HERE in place of
138 narrowing. Check there's an open brace in the cache before
139 searching for its match.
140 (c-invalidate-state-cache-1): Add HERE parameter to function call.
141 (c-parse-state-1): Don't narrow here for 'forward strategy,
142 instead passing extra parameter HERE to several functions.
143 Remove 'BOD strategy.
144
145 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
146
147 * mouse.el (mouse-drag-track): Always deactivate the mark before
148 running the final event's command since that command is in charge of
149 activating the mark if needed (bug#13523).
150
151 2013-02-01 Juri Linkov <juri@jurta.org>
152
153 * replace.el (perform-replace): Move let-bindings of isearch-*
154 variables deeper to the loop that searches for the next match.
155 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
156 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
157 (Bug#13579)
158
159 * isearch.el (isearch-search-fun-default): Check for null
160 first element of isearch-cmds as a precaution when it's used
161 with inactive isearch.
162
163 2013-02-01 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
164
165 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
166 error when buffer in question is narrowed so position 1 is out of
167 visible part.
168
169 2013-01-31 Glenn Morris <rgm@gnu.org>
170
171 * textmodes/remember.el (remember-clipboard): Doc fix.
172
173 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
174
175 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
176 properties (bug#13179).
177
178 2013-01-30 Glenn Morris <rgm@gnu.org>
179
180 * mouse.el (mouse-drag-line): Avoid pushing same event onto
181 unread-command-events twice in some cases. This tries to implement
182 the 2012-07-26 changes in a different way. (Bug#13560)
183
184 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
185
186 * progmodes/python.el
187 (python-pdbtrack-comint-output-filter-function): Enhancements on
188 stacktrace detection. (thanks @gnovak)
189
190 2013-01-30 Glenn Morris <rgm@gnu.org>
191
192 * imenu.el (imenu-default-create-index-function):
193 Put back a version of the infinite loop test removed 2013-01-23.
194
195 2013-01-28 Fabián Ezequiel Gallina <fgallina@cuca>
196
197 * progmodes/python.el (python-shell-parse-command):
198 Find python-shell-interpreter with modified environment.
199
200 2013-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
201
202 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
203
204 2013-01-24 Fabián Ezequiel Gallina <fgallina@cuca>
205
206 * progmodes/python.el: Enhancements to header documentation about
207 skeletons. (Bug#5716)
208
209 2013-01-23 Fabián Ezequiel Gallina <fgallina@cuca>
210
211 * imenu.el (imenu-default-create-index-function): Remove useless
212 infinite loop check. (Bug#13438)
213
214 2013-01-23 Alan Mackenzie <acm@muc.de>
215
216 Fix a bug in the state cache mechanism. Refactor this a bit.
217
218 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
219 `cache-pos' element from the return value.
220 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
221 buffer to enable proper searching from beyond HERE. Amend the
222 test for detecting the sought brace pair. Amend the value written
223 to the "brace desert cache" when the brace isn't found.
224 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
225 and several other variables analogously.
226 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
227 parameter to a locally calculated variable.
228 (c-parse-state-1): Change the calling conventions to the two
229 defuns involving `cache-pos'.
230
231 2013-01-23 Chong Yidong <cyd@gnu.org>
232
233 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
234
235 2013-01-18 Leo Liu <sdl.web@gmail.com>
236
237 * dired.el (dired-get-marked-files): Prune erroneous values due to
238 last change. (Bug#13152)
239
240 2013-01-17 Glenn Morris <rgm@gnu.org>
241
242 * progmodes/etags.el (tags-table-check-computed-list):
243 Preserve point in tags buffer. (Bug#13412)
244
245 2013-01-16 Glenn Morris <rgm@gnu.org>
246
247 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
248
249 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
250 Revert 2012-12-29 change. Ref:
251 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00360.html>
252
253 2013-01-10 Fabián Ezequiel Gallina <fgallina@cuca>
254
255 * progmodes/python.el (python-nav-end-of-statement):
256 Fix cornercase when handling multiline strings.
257
258 2013-01-10 Glenn Morris <rgm@gnu.org>
259
260 * emacs-lisp/authors.el (authors-ignored-files)
261 (authors-valid-file-names, authors-renamed-files-alist):
262 Add some more entries.
263
264 2013-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
265
266 * image-mode.el (image-mode-winprops): Don't throw away the fallback
267 `t' pseudo-window entry.
268
269 2013-01-09 Alan Mackenzie <acm@muc.de>
270
271 Fix bugs in the c-parse-state mechanism. Reuse some markers
272 instead of continually generating new ones.
273
274 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
275 (c-state-old-cpp-end-marker): New variables.
276 (c-append-lower-brace-pair-to-state-cache): Start a backward
277 search for "}" definitively outside CPP constructs.
278 (c-remove-stale-state-cache): Inform the caller of a need to
279 search back for a brace pair in certain circumstances.
280 (c-state-maybe-marker): New macro.
281 (c-parse-state): Reuse markers when appropriate.
282
283 2013-01-09 Glenn Morris <rgm@gnu.org>
284
285 * simple.el (execute-extended-command): Doc fix.
286 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
287
288 2013-01-09 Chong Yidong <cyd@gnu.org>
289
290 * faces.el (read-face-name): Doc fix.
291
292 2013-01-09 Glenn Morris <rgm@gnu.org>
293
294 * emacs-lisp/trace.el (trace-function, trace-function-background):
295 Doc fix.
296
297 2013-01-09 Juri Linkov <juri@jurta.org>
298
299 * international/mule-cmds.el (read-char-by-name): Move let-binding
300 of completion-ignore-case around completing-read to fix regression
301 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
302 `string-match-p' using the nil value of `case-fold-search' and
303 `completion-ignore-case' in `completion-pcm--all-completions'.
304 (Bug#12615).
305
306 2013-01-07 Glenn Morris <rgm@gnu.org>
307
308 * progmodes/compile.el (compilation-parse-errors):
309 Fix typo. (Bug#13369)
310
311 2013-01-07 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
312
313 * comint.el (comint-send-input): Check size of buffer before
314 waiting for process output, in case already accepted. (Bug#13290)
315
316 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
317
318 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
319 non-negative integers. Otherwise, the default values are used.
320 (tramp-convert-file-attributes): Convert uid and gid to integers.
321
322 2013-01-03 Glenn Morris <rgm@gnu.org>
323
324 * term.el (term-handle-colors-array): Ensure face attributes
325 are fully specified, not nil. (Bug#13337)
326
327 * term.el (term-default-fg-color, term-default-bg-color):
328 Fix custom type.
329
330 * progmodes/etags.el (tags-compression-info-list): Doc fix.
331 (tag-find-file-of-tag-noselect): Check auto-compression-mode
332 rather than 'jka-compr being loaded. (Bug#13338)
333
334 * subr.el (eval-after-load): Don't purecopy the form, so that it
335 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
336
337 * emacs-lisp/byte-run.el (defun): Place cl declarations
338 after any interactive spec. (Bug#13265)
339
340 2012-12-31 Andreas Schwab <schwab@linux-m68k.org>
341
342 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
343 defun. Don't check for DECL if DOCSTRING isn't a string.
344 (defun): Likewise.
345
346 2012-12-31 Glenn Morris <rgm@gnu.org>
347
348 * eshell/em-cmpl.el (eshell-pcomplete):
349 More thoroughly imitate pcomplete. (Bug#13293)
350
351 * files.el (parse-colon-path): Doc fix. (Bug#12351)
352 Return nil for empty path elements. (Bug#13296)
353
354 2012-12-31 Fabián Ezequiel Gallina <fgallina@cuca>
355
356 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
357 order to improve efficiency (Based on Daniel Colascione's
358 <dancol@dancol.org> patch). (Bug#13182)
359
360 2012-12-31 Glenn Morris <rgm@gnu.org>
361
362 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
363
364 2012-12-31 Fabián Ezequiel Gallina <fgallina@cuca>
365
366 * progmodes/python.el: Support other commands triggering
367 python-indent-line so indentation cycling continues to work.
368 (python-indent-trigger-commands): New defcustom.
369 (python-indent-line): Use it.
370
371 2012-12-31 Fabián Ezequiel Gallina <fgallina@cuca>
372
373 * progmodes/python.el (python-shell-send-region): Add blank lines
374 for non sent code so backtraces remain correct.
375
376 2012-12-31 Andreas Schwab <schwab@linux-m68k.org>
377
378 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
379 neither DOCSTRING nor DECL was given. (Bug#13316)
380
381 2012-12-30 Glenn Morris <rgm@gnu.org>
382
383 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
384 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
385 (rmail-summary-displayed, rmail-summary): Declare.
386 (mairix-rmail-display): Just require rmail.
387
388 2012-12-29 Chong Yidong <cyd@gnu.org>
389
390 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
391 check for the tarball contents.
392
393 2012-12-29 Matt Fidler <matt.fidler@alcon.com> (tiny change)
394
395 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
396 tarfile content listings (Bug#13136).
397
398 2012-12-29 Mark Lillibridge <mark.lillibridge@hp.com>
399
400 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
401 Insert the undecoded text of the message being forwarded. (Bug#9521)
402
403 2012-12-28 Michael Albinus <michael.albinus@gmx.de>
404
405 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
406 integers, if they are real numbers. (Bug#13282)
407
408 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
409
410 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
411 "module" and "def" to have indentation before them.
412 Regression from 109911 (see the new test).
413
414 2012-12-24 Dmitry Gutov <dgutov@yandex.ru>
415
416 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
417
418 2012-12-23 Alan Mackenzie <acm@muc.de>
419
420 Speed up fontification where there's large brace blocks.
421 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
422 to a call of c-beginning-of-decl-1.
423
424 2012-12-21 Chong Yidong <cyd@gnu.org>
425
426 * sort.el (sort-subr): Doc fix (Bug#13056).
427
428 2012-12-20 Bastien Guerry <bzg@gnu.org>
429
430 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
431
432 2012-12-11 Alan Mackenzie <acm@muc.de>
433
434 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
435 * progmodes/cc-engine.el (c-backward-comments): Add code to work
436 around `forward-comment' not recognizing ^M as whitespace.
437
438 2012-12-11 Fabián Ezequiel Gallina <fgallina@cuca>
439
440 * progmodes/python.el (python-skeleton-class)
441 (python-skeleton-def): Do not add space after defun name.
442
443 2012-12-09 Chong Yidong <cyd@gnu.org>
444
445 * simple.el (set-mark-default-inactive): Mark as obsolete, for
446 removal after 24.3.
447
448 2012-12-08 Dani Moncayo <dmoncayo@gmail.com>
449
450 * simple.el (just-one-space): Doc fix.
451
452 2012-12-07 Eli Zaretskii <eliz@gnu.org>
453
454 * textmodes/texinfo.el (texinfo-enable-quote-envs):
455 Add "smallexample".
456
457 2012-12-07 Le Wang <l26wang@gmail.com>
458
459 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
460 narrowed buffer (bug#12361).
461
462 2012-12-07 Michael Heerdegen <michael_heerdegen@web.de>
463
464 * emacs-lisp/debug.el (debug): Fix hard-coded frame counts (bug#10025).
465 Virtually backported from trunk.
466
467 2012-12-07 Juanma Barranquero <lekktu@gmail.com>
468
469 * vc/vc-hooks.el (vc-state): Doc fix.
470
471 2012-12-06 Glenn Morris <rgm@gnu.org>
472
473 * mail/rmail.el (rmail-maybe-display-summary):
474 Preserve buffer, in case select-window changes it. (Bug#13066)
475
476 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
477
478 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
479 cl-load-hook where they belong.
480
481 2012-12-06 Chong Yidong <cyd@gnu.org>
482
483 * ffap.el (ffap-replace-file-component): Fix typo.
484
485 2012-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
486
487 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
488 fix open-paren-like token test (bug#12785).
489
490 2012-12-04 Glenn Morris <rgm@gnu.org>
491
492 * mail/rmailsum.el (rmail-new-summary): Tweak for
493 rmail-maybe-display-summary changing buffer. (Bug#13066)
494
495 2012-12-03 Juri Linkov <juri@jurta.org>
496
497 * info.el (Info-fontify-node): Don't hide the last newline.
498 (Bug#12272)
499
500 2012-12-01 Leo Liu <sdl.web@gmail.com>
501
502 * files.el (dir-locals-read-from-file): Check file non-empty
503 before reading. (Bug#13038)
504
505 2012-11-28 Glenn Morris <rgm@gnu.org>
506
507 * jka-cmpr-hook.el (jka-compr-get-compression-info):
508 Remove any version extension before checking filename. (Bug#13006)
509 (jka-compr-compression-info-list): Belated :version bump.
510
511 2012-11-28 Chong Yidong <cyd@gnu.org>
512
513 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
514
515 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
516 (buffer-menu): Doc fix (Bug#12294).
517
518 2012-11-27 Roland Winkler <winkler@gnu.org>
519
520 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
521 of diary-show-all-entries in the diary buffer (Bug#12994).
522
523 2012-11-27 Michael Albinus <michael.albinus@gmx.de>
524
525 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
526 "<STDIN>". This is binary safe.
527
528 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
529
530 * textmodes/table.el (table-insert): Don't use `symbol-name' on
531 lexically scoped variables (bug#13005).
532
533 2012-11-26 Glenn Morris <rgm@gnu.org>
534
535 * vc/vc-hooks.el (vc-mistrust-permissions):
536 Default to t, to avoid data-loss. (Bug#11490)
537
538 2012-11-26 Fabián Ezequiel Gallina <fgallina@cuca>
539
540 * progmodes/python.el (python-indent-guess-indent-offset):
541 If indentation is guessed make python-indent-offset buffer-local.
542
543 Fix Imenu regression.
544 * progmodes/python.el (python-nav-beginning-of-defun):
545 Fix forward movement when statement(s) separates point from defun.
546 (python-imenu-prev-index-position): New function.
547
548 2012-11-26 Eli Zaretskii <eliz@gnu.org>
549
550 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
551
552 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
553 Don't set buffer-file-type. Return nil. (Bug#12989)
554
555 2012-11-26 Glenn Morris <rgm@gnu.org>
556
557 * hippie-exp.el (hippie-expand-try-functions-list):
558 Re-autoload it. (Bug#12982)
559
560 2012-11-25 Eli Zaretskii <eliz@gnu.org>
561
562 * descr-text.el (describe-char-padded-string):
563 Call internal-char-font only on GUI frames. (Bug#11964)
564
565 2012-11-24 Andreas Schwab <schwab@linux-m68k.org>
566
567 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
568 and obsoletion message.
569
570 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
571
572 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
573 the constructs to keep outside of the `cl-block' (bug#12977).
574
575 2012-11-24 Chong Yidong <cyd@gnu.org>
576
577 * mouse.el (mouse-drag-line): Even if the line is not draggable,
578 keep reading until we get the up-event anyway, in order to process
579 the up-event for mouse-1-click-follows-link (Bug#12971).
580
581 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
582
583 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
584 lexical-binding (bug#12938).
585
586 2012-11-23 Wolfgang Jenkner <wjenkner@inode.at>
587
588 * image-mode.el (image-transform-check-size): Use assertions only
589 for images of type imagemagick.
590
591 Otherwise no error, image-transform-fit-to-{width,height} is
592 silently ignored, as before. Doc fix.
593
594 2012-11-23 Chong Yidong <cyd@gnu.org>
595
596 * faces.el (color-defined-p): Doc fix (Bug#12853).
597
598 2012-11-23 Juri Linkov <juri@jurta.org>
599
600 * dired.el (dired-mark): Add optional arg `interactive'.
601 Check for `use-region-p' if `interactive' is non-nil.
602 (dired-unmark, dired-flag-file-deletion): Add optional arg
603 `interactive'. Call `dired-mark' with the arg `interactive'.
604 (Bug#10624)
605
606 2012-11-23 Juri Linkov <juri@jurta.org>
607
608 * wdired.el: Revert 2012-10-17 change partly and replace it with
609 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
610 (wdired-finish-edit): Add marks for new file names to
611 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
612 after `revert-buffer'.
613 (wdired-do-renames): Remove calls to `dired-remove-file',
614 `dired-add-file', `dired-add-entry'. (Bug#11795)
615
616 2012-11-21 Alan Mackenzie <acm@muc.de>
617
618 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
619
620 Fix bugs in the state cache. Enhance a debugging mechanism.
621 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
622 "brace at column zero" strategy for C++.
623 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
624 (c-parse-state-point): New variable.
625 (c-record-parse-state-state): Record old parse state with
626 `copy-tree'. Record previous value of point.
627 (c-debug-parse-state-double-cons): New debugging function.
628 (c-debug-parse-state): Call the above new function.
629 (c-toggle-parse-state-debug): Output a confirmatory message.
630
631 * progmodes/cc-mode.el (c-before-change, c-after-change):
632 Call c-invalidate-state-cache from `c-before-change' instead of
633 `c-after-change'.
634
635 2012-11-20 Daniel Colascione <dancol@dancol.org>
636
637 * term/w32-win.el (cygwin-convert-path-from-windows):
638 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
639 This change is a backport from trunk.
640
641 2012-11-20 Eli Zaretskii <eliz@gnu.org>
642
643 * simple.el (line-move): Don't call line-move-partial if
644 scroll-conservatively is in effect. (Bug#12927)
645
646 2012-11-20 Michael Albinus <michael.albinus@gmx.de>
647
648 * net/trampver.el (tramp-version): Downgrade to 2.2.6-24.3, in
649 order to distinguish from trunk.
650
651 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
652
653 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't accept
654 non-symbols for compiler macros (yet).
655
656 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
657 Fallback on completion-at-point rather than
658 pcomplete-expand-and-complete, and only if pcomplete actually failed.
659 (eshell-cmpl-initialize): Setup completion-at-point.
660
661 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
662
663 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
664
665 2012-11-19 Michael Albinus <michael.albinus@gmx.de>
666
667 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
668 are remote, check out-of-band property for both.
669
670 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
671
672 * window.el (switch-to-buffer): Re-add the warning that was lost in the
673 code rewrite.
674
675 2012-11-18 Paul Eggert <eggert@cs.ucla.edu>
676
677 More minor time fixes.
678 * calendar/time-date.el: Commentary fix.
679 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
680 too much other code depends on (0 0) time stamps.
681 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
682 Add a couple of FIXME comments.
683
684 Minor cleanup for times as lists of four integers.
685 * files.el (dir-locals-directory-cache):
686 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
687 Doc fixes.
688 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
689 * ps-bdf.el (bdf-file-newer-than-time):
690 Process four-integers time stamps, not two. Doc fixes.
691
692 2012-11-18 Glenn Morris <rgm@gnu.org>
693
694 * image.el (insert-image, insert-sliced-image): Doc fix.
695
696 2012-11-17 Chong Yidong <cyd@gnu.org>
697
698 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
699 (Bug#12810).
700
701 2012-11-17 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
702
703 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
704 response when the target file is in a subdirectory (Bug#12757).
705
706 2012-11-17 Chong Yidong <cyd@gnu.org>
707
708 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
709
710 2012-11-17 Glenn Morris <rgm@gnu.org>
711
712 * woman.el (woman-non-underline-faces):
713 * emacs-lisp/cl-lib.el (face-underline-p):
714 Use set-face-underline rather than the alias set-face-underline-p.
715
716 * window.el (with-temp-buffer-window): Doc fix.
717 * subr.el (with-output-to-temp-buffer):
718 Add doc xref to with-temp-buffer-window.
719
720 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
721
722 * emacs-lisp/cl-lib.el: Set more meaningful version number.
723
724 2012-11-16 Martin Rudalics <rudalics@gmx.at>
725
726 * window.el (enlarge-window, shrink-window): Don't mention return
727 value in doc-string (Bug#12896).
728 (window--display-buffer): Don't resize frames - it won't work
729 with all window managers and defeat pop-up-frame-alist.
730 (display-buffer-alist): In doc-string explain that CONDITION can
731 be a function and which arguments are passed to it (Bug#12854).
732 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
733 expressions (Bug#12854).
734 (display-buffer): Pass ACTION argument to
735 display-buffer-assq-regexp.
736
737 2012-11-16 Glenn Morris <rgm@gnu.org>
738
739 * window.el (fit-frame-to-buffer-bottom-margin)
740 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
741
742 * faces.el (face-underline-p): Use face-attribute-specified-or.
743
744 2012-11-15 Juanma Barranquero <lekktu@gmail.com>
745
746 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
747
748 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
749
750 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
751
752 2012-11-15 Glenn Morris <rgm@gnu.org>
753
754 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
755 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
756
757 * faces.el (face-underline-p): Doc fix. Handle :underline being
758 things other than `t' (a string, a list).
759 (face-inverse-video-p): Doc fix.
760 (set-face-underline): Rename it back from set-face-underline-p.
761 Doc fix. Allow interactive input of values other than t.
762 (read-face-attribute): Apply formatting to :underline,
763 since like :box and :stipple it can take list values.
764
765 * term.el (ansi-term): Don't let C-x escape-char binding
766 clobber the more standard C-c binding. (Bug#12842)
767
768 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
769
770 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
771 (bug#12879).
772
773 2012-11-14 Glenn Morris <rgm@gnu.org>
774
775 * subr.el (set-temporary-overlay-map): Doc fix.
776
777 2012-11-13 Martin Rudalics <rudalics@gmx.at>
778
779 * window.el (record-window-buffer)
780 (display-buffer-record-window): When copying the markers to
781 window-point preserve window-point-insertion-type. (Bug#12588)
782
783 2012-11-13 Glenn Morris <rgm@gnu.org>
784
785 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
786 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
787 Use new names for hooks rather than obsolete aliases.
788
789 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
790
791 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
792
793 2012-11-12 Wolfgang Jenkner <wjenkner@inode.at>
794
795 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
796 39 and 49. This fixes bug#12792. Also, treat unimplemented
797 parameters as 0, thereby restoring the behavior of revisions prior
798 to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
799
800 2012-11-12 Fabián Ezequiel Gallina <fgallina@cuca>
801
802 Fix end-of-defun misbehavior.
803 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
804 python-beginning-of-defun-function. Handle nested defuns
805 correctly.
806 (python-nav-end-of-defun): Rename from
807 python-end-of-defun-function. Ensure forward movement.
808 (python-info-current-defun): Reimplement to work as intended
809 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
810 parent defuns as soon as possible.
811
812 2012-11-12 Glenn Morris <rgm@gnu.org>
813
814 * progmodes/flymake.el (flymake-error-bitmap)
815 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
816 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
817
818 2012-11-12 Dmitry Gutov <dgutov@yandex.ru>
819
820 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
821 backward, always stop at indentation. Reverts the change from
822 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
823
824 2012-11-11 Glenn Morris <rgm@gnu.org>
825
826 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
827 Add ibuffer-filter-by-derived-mode.
828
829 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
830 the same name shadowing each other.
831
832 * window.el (with-temp-buffer-window): Doc tweak.
833
834 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
835
836 * help.el (temp-buffer-max-height):
837 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
838 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
839
840 2012-11-10 Leo Liu <sdl.web@gmail.com>
841
842 * ido.el (ido-set-matches-1): Fix split-string args to avoid
843 performance issue. (Bug#12796)
844
845 2012-11-10 Glenn Morris <rgm@gnu.org>
846
847 * term.el (term-default-fg-color, term-default-bg-color):
848 Make obsolete, rather than just saying "deprecated" in the doc.
849
850 * term.el (term): Rename from `term-face'.
851 (term-current-face, ansi-term-color-vector)
852 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
853 Update all users.
854
855 2012-11-09 Jan Djärv <jan.h.d@swipnet.se>
856
857 * server.el (server-create-window-system-frame): Improve comment.
858
859 2012-11-08 Jan Djärv <jan.h.d@swipnet.se>
860
861 * server.el (server-create-window-system-frame): Handle Nextstep
862 specially (Bug#12780).
863
864 2012-11-08 Glenn Morris <rgm@gnu.org>
865
866 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
867 Unautoload, and make obsolete. (Bug#7449)
868
869 2012-11-08 Chong Yidong <cyd@gnu.org>
870
871 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
872 rename from diff-remove-trailing-whitespace (Bug#12831).
873
874 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
875
876 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
877 miscompilation of trace.el.
878
879 2012-11-08 Glenn Morris <rgm@gnu.org>
880
881 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
882
883 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
884
885 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
886 (bug#12812).
887
888 2012-11-07 Chong Yidong <cyd@gnu.org>
889
890 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
891 a defcustom with an appropriate :set function.
892 (minibuffer-default--in-prompt-regexps): New function.
893
894 2012-11-07 Glenn Morris <rgm@gnu.org>
895
896 * emacs-lisp/cl.el (define-setf-expander, defsetf)
897 (define-modify-macro): Doc fixes.
898
899 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
900 (gv-define-simple-setter): Update doc of `fix-return'.
901
902 2012-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
903
904 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
905 twice when `fix-return' is set (bug#12813).
906
907 * emacs-lisp/cl.el (defsetf): Pass the third arg to
908 gv-define-simple-setter (bug#12812).
909
910 2012-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
911
912 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
913 (bug#12756).
914
915 2012-11-06 Glenn Morris <rgm@gnu.org>
916
917 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
918
919 2012-11-05 Glenn Morris <rgm@gnu.org>
920
921 * emacs-lisp/cl-extra.el (cl-prettyexpand):
922 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
923 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
924 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
925
926 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
927
928 2012-11-03 Glenn Morris <rgm@gnu.org>
929
930 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
931 Rename handler properties back from cl-- to cl-. (Bug#12788)
932
933 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
934
935 2012-11-03 Eli Zaretskii <eliz@gnu.org>
936
937 * term/pc-win.el: Don't load term/internal from here.
938
939 * loadup.el: Load term/internal from here.
940
941 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
942
943 * progmodes/python.el (inferior-python-mode): Fix hang in
944 jit-lock (Bug#12645).
945
946 2012-11-03 Martin Rudalics <rudalics@gmx.at>
947
948 * window.el (switch-to-visible-buffer)
949 (switch-to-buffer-preserve-window-point): Fix doc-strings.
950
951 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
952
953 * play/gomoku.el (gomoku-display-statistics): Update mode line
954 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
955
956 2012-10-31 Martin Rudalics <rudalics@gmx.at>
957
958 * window.el (quit-restore-window): If the window has been
959 created on an existing frame and ended up as the sole window on
960 that frame, do not delete it (Bug#12764).
961
962 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
963
964 * progmodes/sh-script.el (sh--inside-noncommand-expression):
965 Rename from sh--inside-arithmetic-expression, handle more cases
966 (bug#11263).
967
968 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
969 (sh-font-lock-open-heredoc): Use it (bug#12770).
970
971 2012-10-30 Glenn Morris <rgm@gnu.org>
972
973 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
974
975 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
976
977 2012-10-29 Chong Yidong <cyd@gnu.org>
978
979 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
980 function key is stored in a keyboard macro (Bug#4894).
981
982 * thingatpt.el (number-at-point): Apply a thing-at-point property.
983
984 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
985
986 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
987 header comments".
988 (diff-unified->context, diff-context->unified)
989 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
990
991 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
992
993 * files.el (find-alternate-file): Only ask one question (bug#12487).
994
995 2012-10-29 Chong Yidong <cyd@gnu.org>
996
997 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
998 Suggested by Dan Nicolaescu (Bug#6326).
999
1000 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
1001
1002 * startup.el (fancy-about-screen): Don't message (Bug#12680).
1003
1004 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
1005
1006 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
1007
1008 * face-remap.el (face-remap-add-relative): Handle the case where a
1009 face-remapping-alist entry is a cons cell (Bug#12762).
1010
1011 2012-10-29 Kevin Ryde <user42@zip.com.au>
1012
1013 * woman.el (woman-parse-numeric-value): Handle picas correctly
1014 (Bug#12639).
1015
1016 2012-10-29 Glenn Morris <rgm@gnu.org>
1017
1018 * emacs-lisp/cl.el (defsetf): Doc fix.
1019
1020 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1021
1022 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
1023 syntax to the matching opener, if any (bug#12547).
1024 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
1025 matching open as a "case-(".
1026 (sh-smie-rc-grammar): Add a corresponding rule for it.
1027
1028 2012-10-28 Daniel Hackney <dan@haxney.org>
1029
1030 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
1031 "PKGNAME-autoloads.el" in case we created it.
1032
1033 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1034
1035 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
1036 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
1037 (completion--twq-all): Disable too-strict assertions.
1038
1039 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
1040
1041 2012-10-27 Eli Zaretskii <eliz@gnu.org>
1042
1043 * profiler.el (profiler-report-make-entry-part): Fix help-echo
1044 text to match the real keybindings.
1045
1046 2012-10-27 Juri Linkov <juri@jurta.org>
1047
1048 * wdired.el (wdired-keep-marker-rename): New defcustom.
1049 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
1050 (Bug#11795)
1051
1052 * dired.el (dired-keep-marker-rename): Add reference to
1053 `wdired-keep-marker-rename' in the docstring.
1054 Add default character value ?R to display initially in
1055 Customization UI instead of ?@.
1056
1057 2012-10-27 Martin Rudalics <rudalics@gmx.at>
1058
1059 * window.el (display-buffer): In doc-string describe
1060 window-height and window-width alist entries.
1061
1062 * time.el (display-time-world): Restore fit-window-to-buffer
1063 behavior.
1064
1065 2012-10-27 Chong Yidong <cyd@gnu.org>
1066
1067 * subr.el (insert-buffer-substring-as-yank): Doc fix.
1068
1069 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
1070
1071 * minibuffer.el (completion-category-overrides): New completion
1072 category `bookmark' (bug#11131).
1073
1074 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1075
1076 * emacs-lisp/advice.el (ad-assemble-advised-definition):
1077 Silence bogus compiler warnings for ad-do-it.
1078
1079 * bookmark.el (bookmark-completing-read): Set the completion category
1080 to `bookmark' (bug#11131).
1081
1082 2012-10-26 Bastien <bzg@altern.org>
1083 Stefan Monnier <monnier@iro.umontreal.ca>
1084
1085 * face-remap.el: Use lexical-binding.
1086 (text-scale-adjust): Improve docstring. Use itself for the temporary
1087 overlay-map bindings, so as to repeat the "Use..." message each time.
1088
1089 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1090
1091 * emacs-lisp/macroexp.el (macroexp--expand-all):
1092 Obey byte-compile-warning-enabled-p (bug#12486).
1093
1094 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
1095 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
1096
1097 2012-10-26 Martin Rudalics <rudalics@gmx.at>
1098
1099 * mouse.el (mouse-drag-line): Move last form into preceding when
1100 clause (Bug#12731).
1101
1102 * help.el (resize-temp-buffer-window): Fix doc-string.
1103
1104 2012-10-25 David Engster <deng@randomsample.de>
1105
1106 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
1107 Remove. This feature is already integrated in imenu.
1108
1109 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
1110 always loaded. Require `speedbar' unconditionally.
1111
1112 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1113
1114 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
1115
1116 * minibuffer.el (minibuffer-force-complete): Fix thinko.
1117
1118 * net/ldap.el (ldap-search-internal): The official ldif format starts
1119 with a "version: 1" header (bug#12724).
1120
1121 * emacs-lisp/package.el (package-installed-p): Warn if not ready
1122 (bug#12721).
1123
1124 2012-10-25 Glenn Morris <rgm@gnu.org>
1125
1126 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
1127
1128 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1129
1130 * minibuffer.el (minibuffer-force-complete): Use one more marker
1131 for the temporary-overlay-map command (bug#12619).
1132
1133 2012-10-24 Chong Yidong <cyd@gnu.org>
1134
1135 * time.el (display-time-world-mode): Derive from special-mode.
1136 (display-time-world): Use display-buffer (Bug#12708).
1137 (display-time-world-mode-map): Variable deleted.
1138 (display-time-world-display): Wrap the final delete-char inside
1139 inhibit-read-only.
1140
1141 2012-10-24 Chong Yidong <cyd@gnu.org>
1142
1143 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
1144 Doc fix.
1145
1146 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
1147
1148 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1149
1150 * minibuffer.el (completion--all-sorted-completions-location): New var.
1151 (completion--cache-all-sorted-completions)
1152 (completion--flush-all-sorted-completions): Use it.
1153 (completion-in-region, completion-in-region--postch)
1154 (completion-at-point, completion-help-at-point): Use markers in
1155 completion-in-region--data (bug#12619).
1156
1157 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1158
1159 * progmodes/compile.el (compilation-start): Try to handle common
1160 quoting of `cd' argument (bug#12640).
1161
1162 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
1163 (bug#12671).
1164
1165 2012-10-23 Glenn Morris <rgm@gnu.org>
1166
1167 * progmodes/gud.el (gud-menu-map):
1168 Check gdb-active-process is bound. (Bug#12358)
1169
1170 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1171
1172 * repeat.el (repeat): Set real-this-command (bug#12232).
1173
1174 * htmlfontify.el (hfy-post-html-hook):
1175 * filesets.el (filesets-cache-fill-content-hook):
1176 * arc-mode.el (archive-extract-hook):
1177 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
1178 * net/rcirc.el (rcirc-sentinel-functions)
1179 (rcirc-receive-message-functions, rcirc-activity-functions)
1180 (rcirc-print-functions):
1181 * net/dbus.el (dbus-event-error-functions):
1182 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
1183 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
1184 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
1185 * term/sun.el (sun-raw-prefix-hooks):
1186 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
1187
1188 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
1189
1190 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1191 Set `tramp-chunksize' to 1. This improves the performance.
1192 (tramp-smb-wait-for-output): Add timeout to
1193 `tramp-accept-process-output' calls.
1194
1195 2012-10-23 Chong Yidong <cyd@gnu.org>
1196
1197 * faces.el (font-list-limit): Define as an obsolete variable.
1198
1199 * startup.el (command-line):
1200 * cus-start.el: Don't refer to font-list-limit.
1201
1202 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
1203
1204 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1205
1206 * subr.el (internal-temp-output-buffer-show): Rename from
1207 temp-output-buffer-show, since previously compiled files expect this name.
1208
1209 2012-10-23 Glenn Morris <rgm@gnu.org>
1210
1211 * image.el (image-type-from-file-name): If multiple types match,
1212 return the first one that is supported. (Bug#9045)
1213
1214 2012-10-22 Glenn Morris <rgm@gnu.org>
1215
1216 * image.el (imagemagick-enabled-types): Doc fix.
1217
1218 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
1219
1220 * progmodes/which-func.el (which-func-current): The hash-table may have
1221 an explicit nil (bug#12338).
1222
1223 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1224
1225 * electric.el (electric-pair-delete-selection-self-insert-function):
1226 Rename to electric-pair-will-use-region, return a boolean.
1227 (electric-pair-mode): Adjust accordingly. Don't require delsel.
1228
1229 * delsel.el (delete-selection-helper): Use a function instead of a hook.
1230 (delete-selection-pre-hook): Use use-region-p.
1231 (delete-selection-self-insert-function): Remove.
1232 (self-insert-command): Obey self-insert-uses-region-functions.
1233 (self-insert-iso): Revert to previous setting, since we don't actually
1234 know what that command does.
1235 (delete-selection-self-insert-hooks): Remove.
1236
1237 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
1238
1239 * delsel.el (delete-selection-helper): New function, extracted from
1240 delete-selection-pre-hook.
1241 (delete-selection-pre-hook): Use it.
1242 (delete-selection-self-insert-function): New function.
1243 (delete-selection-self-insert-hooks): New hook.
1244 (self-insert-command, self-insert-iso): Use it.
1245 * electric.el (electric-pair-syntax): New function, extracted from
1246 electric-pair-post-self-insert-function.
1247 (electric-pair-post-self-insert-function): Use it.
1248 (electric-pair-delete-selection-self-insert-function): New function.
1249 (electric-pair-mode): Require delsel and setup
1250 delete-selection-self-insert-hooks (bug#11520).
1251
1252 2012-10-20 Chong Yidong <cyd@gnu.org>
1253
1254 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1255 no changes to show (Bug#12586).
1256
1257 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1258 list explicitly (Bug#12571).
1259
1260 2012-10-20 Arne Jørgensen <arne@arnested.dk>
1261
1262 * progmodes/flymake.el (flymake-create-temp-inplace):
1263 Use file-truename.
1264
1265 2012-10-20 Eli Zaretskii <eliz@gnu.org>
1266
1267 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
1268
1269 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
1270
1271 * calc/calc-units.el (math-extract-units): Properly extract powers
1272 of units.
1273
1274 2012-10-20 Daniel Colascione <dancol@dancol.org>
1275
1276 * frame.el (make-frame): Set x-display-name as we used to in order
1277 to unbreak creating an X11 frame from an Emacs daemon started
1278 without a display.
1279
1280 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1281
1282 * minibuffer.el (minibuffer-force-complete): Make the next completion use
1283 the same completion-field (bug@12221).
1284
1285 2012-10-19 Martin Rudalics <rudalics@gmx.at>
1286
1287 * emacs-lisp/debug.el (debug): Record height of debugger window
1288 also when debugger will be back (Bug#8789).
1289
1290 2012-10-18 Chong Yidong <cyd@gnu.org>
1291
1292 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1293 Convert to defcustom.
1294 (gdb-get-source-file): Don't bind pop-up-windows.
1295
1296 * progmodes/gud.el (gud-display-line): Don't specially re-use
1297 other frames for the gdb-mi case (Bug#12648).
1298
1299 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1300
1301 * emacs-lisp/advice.el: Clean up commentary a bit.
1302 (ad-do-advised-functions, ad-with-originals): Use `declare'.
1303 (byte-code-function-p): Never redefine.
1304
1305 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1306
1307 2012-10-18 Glenn Morris <rgm@gnu.org>
1308
1309 * dired.el (dired-sort-toggle): Some ls implementations only allow
1310 a single option string. (Bug#12666)
1311
1312 * minibuffer.el (completion-cycle-threshold): Doc fix.
1313
1314 2012-10-17 Kenichi Handa <handa@gnu.org>
1315
1316 * international/mule.el (set-keyboard-coding-system):
1317 Recover input meta mode when the new coding system doesn not use 8-bit.
1318 Supply TERMINAL arg to set-input-meta-mode.
1319
1320 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
1321
1322 * wdired.el (wdired-old-marks): New variable.
1323 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
1324 (wdired-do-renames): Move point with renamed file and don't lose
1325 mark status (Bug#11795).
1326
1327 2012-10-16 Juri Linkov <juri@jurta.org>
1328
1329 * replace.el (query-replace-help): Mention multi-buffer replacement
1330 keys in the Help message. (Bug#12655)
1331
1332 2012-10-15 Chong Yidong <cyd@gnu.org>
1333
1334 * emacs-lisp/byte-run.el (defsubst): Doc fix.
1335
1336 2012-10-14 Eli Zaretskii <eliz@gnu.org>
1337
1338 * window.el (display-buffer): Doc fix.
1339
1340 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1341 Adjust the msft regexp to the output of Studio 2010, and move msft
1342 before edg-1. See the discussion on emacs-devel,
1343 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
1344 for the details.
1345
1346 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1347
1348 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
1349 (oset): Move uses of object-class-fast macro after its definition.
1350
1351 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
1352
1353 2012-10-13 Chong Yidong <cyd@gnu.org>
1354
1355 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
1356 enabled, re-enable it (Bug#11963).
1357
1358 2012-10-13 Martin Rudalics <rudalics@gmx.at>
1359
1360 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1361 non-nil, restore window configuration (Bug#12623).
1362
1363 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1364
1365 * help-fns.el (describe-variable, describe-function-1):
1366 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1367
1368 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1369
1370 2012-10-12 Glenn Morris <rgm@gnu.org>
1371
1372 * mail/rmailsum.el (rmail-header-summary):
1373 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
1374
1375 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
1376
1377 * progmodes/python.el (python-mode-map):
1378 Replace subtitute-key-definition with proper command remapping.
1379 (python-nav--up-list): Fix behavior for blocks on the same level.
1380
1381 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1382
1383 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
1384
1385 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
1386 changes to the format of load-history.
1387
1388 * international/mule-cmds.el (read-char-by-name): Move let-binding of
1389 completion-ignore-case in case that var is buffer-local (bug#12615).
1390
1391 2012-10-11 Kenichi Handa <handa@gnu.org>
1392
1393 * international/eucjp-ms.el: Re-generated.
1394
1395 2012-10-10 Kenichi Handa <handa@gnu.org>
1396
1397 * select.el (xselect--encode-string): If a coding is specified for
1398 selection, and that is compatible with COMPOUND_TEXT, use it.
1399
1400 2012-10-10 Martin Rudalics <rudalics@gmx.at>
1401
1402 * window.el (switch-to-buffer-preserve-window-point): New option.
1403 (switch-to-buffer):
1404 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
1405
1406 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1407
1408 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
1409 Don't document nil as a useful value (bug#12583).
1410
1411 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
1412
1413 * net/tramp.el (tramp-debug-message):
1414 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1415 (with-tramp-progress-reporter): Rename from
1416 `tramp-with-progress-reporter'.
1417 (with-tramp-file-property, with-tramp-connection-property):
1418 Move from tramp-cache.el, rename from `with-file-property' and
1419 `with-connection-property', respectively.
1420
1421 * net/tramp-cache.el: Remove `with-file-property' and
1422 `with-connection-property'.
1423
1424 * net/tramp.el:
1425 * net/tramp-gvfs.el:
1426 * net/tramp-sh.el:
1427 * net/tramp-smb.el: Adapt callees.
1428
1429 * net/trampver.el: Update release number.
1430
1431 2012-10-09 Glenn Morris <rgm@gnu.org>
1432
1433 * w32-fns.el (set-message-beep):
1434 * term/w32-win.el (set-message-beep): Update declarations.
1435
1436 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1437
1438 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1439 (mode-line-widen, mode-line-input-method-map)
1440 (mode-line-coding-system-map, mode-line-remote)
1441 (mode-line-unbury-buffer, mode-line-bury-buffer)
1442 (mode-line-next-buffer, mode-line-previous-buffer):
1443 Replace save-selected-window+select-window => with-selected-window.
1444
1445 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1446 * progmodes/cc-vars.el (bq-process): Remove, unused.
1447
1448 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1449
1450 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
1451
1452 Implemented `backward-up-list'-like navigation.
1453 * progmodes/python.el (python-nav-up-list)
1454 (python-nav-backward-up-list): New functions.
1455 (python-mode-map): Define substitute key for backward-up-list to
1456 python-nav-backward-up-list.
1457
1458 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1459
1460 * progmodes/python.el (python-fill-paragraph): Rename from
1461 python-fill-paragraph-function. Fixed fill-paragraph for
1462 decorators (Bug#12605).
1463
1464 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1465
1466 * progmodes/python.el (python-shell-output-filter): Handle extra
1467 carriage return in OSX (Bug#12409).
1468
1469 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1470
1471 Fix shell handling of unbalanced quotes and parens in output.
1472 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
1473 (python-syntax-propertize-function): Use it.
1474 (python-shell-output-syntax-table): New var.
1475 (inferior-python-mode): Prevent unbalanced parens/quotes from
1476 previous output mess with current input context.
1477
1478 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
1479
1480 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1481 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1482
1483 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
1484
1485 * ffap.el (ffap-replace-file-component): Support Tramp file name
1486 syntax, not only ange-ftp's one.
1487
1488 2012-10-08 Glenn Morris <rgm@gnu.org>
1489
1490 * cus-start.el (message-log-max): Set :version.
1491
1492 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1493
1494 2012-10-08 Martin Rudalics <rudalics@gmx.at>
1495
1496 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
1497 the minibuffer window (Bug#10851).
1498
1499 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1500
1501 Enhancements on forward-sexp movement.
1502 * progmodes/python.el (python-nav-beginning-of-statement)
1503 (python-nav-end-of-statement): Return point-marker.
1504 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1505 (python-info-current-symbol)
1506 (python-info-statement-starts-block-p): Rename from
1507 python-info-beginning-of-block-p.
1508 (python-info-statement-ends-block-p): Rename from
1509 python-info-end-of-block-p.
1510 (python-info-beginning-of-statement-p)
1511 (python-info-end-of-statement-p)
1512 (python-info-beginning-of-block-p, python-info-end-of-block-p):
1513 New functions.
1514
1515 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1516
1517 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
1518 frame-selected-windows.
1519
1520 2012-10-08 Daniel Colascione <dancol@dancol.org>
1521
1522 * battery.el (battery-status-function): Check for
1523 w32-battery-status itself, not system-time windows-nt.
1524
1525 * frame.el: Require cl-lib.
1526 (display-format-alist): New variable mapping frame types to
1527 functions that initialize them.
1528 (window-system-for-display): New function: interprets
1529 display-format-alist.
1530 (make-frame-on-display): Remove existing display-selection logic
1531 and just forward to make-frame, which will now DTRT.
1532 (make-frame): Restructure to use window-system-for-display to
1533 figure out how to create a frame on a given display.
1534 (display-mouse-p): Look for frame-type w32, not a particular
1535 system-type.
1536
1537 * loadup.el: Load w32 lisp code when we have the w32 feature.
1538
1539 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1540 system-type windows-nt.
1541
1542 * server.el (server-create-window-system-frame): Look for window
1543 type.
1544 (server-proces-filter): Only force a window system when windows-nt
1545 _and_ w32. Explain why.
1546
1547 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
1548 of window systems we configure for the mode.
1549
1550 * startup.el (command-line): Mark window system is initialized
1551 after we've done it.
1552
1553 * common-win.el (x-select-text): Look for w32, not windows-nt.
1554
1555 * ns-win.el: Require cl-lib. Add ourselves to
1556 display-format-alist.
1557 (ns-initialize-window-system): Assert we're not initialized twice.
1558
1559 * w32-win.el: Enable lexical binding; require cl-lib; add
1560 ourselves to display-format-alist.
1561 (w32-handle-dropped-file): Convert incoming dropped files from
1562 Windows paths to Cygwin ones before passing them on to the rest of
1563 Emacs.
1564 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
1565 (w32-initialize-window-system): Assert we're not initialized twice.
1566
1567 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
1568 (x-initialize-window-system): Assert we're not initialized twice.
1569
1570 * w32-common-fns.el: New File.
1571 (w32-version, w32-using-nt, w32-get-clipboard-data)
1572 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1573 (w32-charset-info-alist, x-last-selected, text)
1574 (x-get-selection-value, x-selection-value): Move here.
1575
1576 * w32-fns.el: Require w32-common-fns.
1577 (w32-version, w32-using-nt, w32-get-clipboard-data)
1578 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1579 (w32-charset-info-alist, x-last-selected, text)
1580 (x-get-selection-value, x-selection-value): Move to
1581 w32-common-fns.
1582
1583 * w32-vars.el:
1584 (w32-allow-system-shell, w32-system-shells): Define only in
1585 non-cygwin case.
1586
1587 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1588
1589 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
1590 (read-passwd): Remove a few more potential sources of leaks.
1591
1592 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1593
1594 * progmodes/python.el (inferior-python-mode)
1595 (python-shell-make-comint): Fix initialization of local
1596 variables copied from parent buffer.
1597
1598 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
1599
1600 * term/ns-win.el (ns-read-file-name): Update declaration to match
1601 nsfns.m.
1602 (ns-respond-to-change-font): Change fontsize separatly so we are sure
1603 it is set when font is acted upon.
1604
1605 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1606
1607 Enhancements to indentation.
1608 * progmodes/python.el (python-indent-context): Give priority to
1609 inside-string context. Make comments indentation markers.
1610 (python-indent-region): Do not mess with strings, unless it's the
1611 enclosing set of quotes.
1612
1613 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1614
1615 * window.el (internal--before-save-selected-window)
1616 (internal--after-save-selected-window): New functions extracted from
1617 save-selected-window. Make sure we return the `alist' we construct.
1618 (save-selected-window): Use them.
1619
1620 * textmodes/tex-mode.el (tex-recenter-output-buffer):
1621 Use with-selected-window.
1622
1623 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
1624 forms that define macros (bug#12593).
1625
1626 2012-10-07 Kenichi Handa <handa@gnu.org>
1627
1628 * international/mule-conf.el (compound-text-with-extensions):
1629 Add :mime-charset property as x-ctext.
1630
1631 2012-10-07 Stefan Merten <smerten@oekonux.de>
1632
1633 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1634 (rst-indent-literal-normal, rst-indent-literal-minimized)
1635 (rst-indent-comment): Correct :version tag.
1636 (rst-official-cvs-rev): Correct version string.
1637
1638 2012-10-07 Glenn Morris <rgm@gnu.org>
1639
1640 * mail/rmailmm.el (rmail-mime-process-multipart):
1641 Do not confuse a multipart message with an epilogue
1642 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
1643
1644 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1645
1646 Fix shell output retrieval and comint-prompt-regexp init.
1647 * progmodes/python.el (inferior-python-mode):
1648 (python-shell-make-comint): Fix initialization of
1649 comint-prompt-regexp from copied file local variables.
1650 (python-shell-fetched-lines): Remove var.
1651 (python-shell-output-filter-in-progress): Rename from
1652 python-shell-fetch-lines-in-progress.
1653 (python-shell-output-filter-buffer): Rename from
1654 python-shell-fetch-lines-string.
1655 (python-shell-fetch-lines-filter): Delete function.
1656 (python-shell-output-filter): New function.
1657 (python-shell-send-string-no-output): Use them.
1658
1659 2012-10-07 Glenn Morris <rgm@gnu.org>
1660
1661 * hi-lock.el (hi-lock-process-phrase):
1662 Try to make it less fragile. (Bug#7161)
1663
1664 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
1665
1666 2012-10-06 Glenn Morris <rgm@gnu.org>
1667
1668 * ehelp.el (electric-help-mode): Use help-mode rather than
1669 non-existent mode `help'.
1670 (electric-help-map): Use button-buffer-map. (Bug#10917)
1671
1672 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
1673 (reftex-create-bibtex-footer): Fix custom types.
1674
1675 * progmodes/sh-script.el (sh-indent-after-continuation):
1676 Add explicit :group.
1677
1678 * textmodes/rst.el (rst-preferred-decorations)
1679 (rst-shift-basic-offset): Clarify obsolescence versions.
1680
1681 * profiler.el (profiler): Add missing group :version tag.
1682 * avoid.el (mouse-avoidance-banish-position):
1683 * proced.el (proced-renice-command):
1684 * calc/calc.el (calc-ensure-consistent-units):
1685 * calendar/icalendar.el (icalendar-import-format-uid):
1686 * net/tramp.el (tramp-save-ad-hoc-proxies):
1687 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1688 * progmodes/flymake.el (flymake-error-bitmap)
1689 (flymake-warning-bitmap, flymake-fringe-indicator-position):
1690 * progmodes/sh-script.el (sh-indent-after-continuation):
1691 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
1692 (verilog-before-save-font-hook, verilog-after-save-font-hook):
1693 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
1694 (vhdl-array-index-record-field-in-sensitivity-list)
1695 (vhdl-indent-comment-like-next-code-line):
1696 * textmodes/reftex-vars.el (reftex-ref-style-alist)
1697 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
1698 (reftex-cite-key-separator, reftex-create-bibtex-header)
1699 (reftex-create-bibtex-footer):
1700 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1701 (rst-indent-literal-normal, rst-indent-literal-minimized)
1702 (rst-indent-comment): Add missing custom :version tags.
1703
1704 * calendar/timeclock.el (timeclock-modeline-display):
1705 Add missing obsolete alias for renamed user option.
1706
1707 * strokes.el (strokes-modeline-string):
1708 * emulation/crisp.el (crisp-mode-modeline-string):
1709 * eshell/esh-mode.el (eshell-status-in-modeline):
1710 Aliases to defcustoms must come before the defcustom.
1711
1712 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
1713 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1714 (cal-tex-cursor-week-monday): Doc fixes.
1715 (cal-tex-cursor-week2-summary): Doc fix.
1716 Rename from cal-tex-cursor-week-at-a-glance.
1717
1718 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
1719 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
1720
1721 * calendar/calendar.el (calendar-mode-map):
1722 Add cal-tex-cursor-week2-summary.
1723
1724 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1725
1726 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
1727
1728 * subr.el (read-passwd-map): New var.
1729 (read-passwd): Use `read-string' again.
1730 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
1731
1732 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
1733
1734 * register.el (append-to-register, prepend-to-register):
1735 Deactivate mark, as does `copy-to-register' (bug#12389).
1736
1737 2012-10-06 Chong Yidong <cyd@gnu.org>
1738
1739 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1740
1741 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
1742
1743 * international/characters.el: Fix simple mistake ((car chars) ->
1744 elt), delete duplicated code.
1745
1746 2012-10-06 Glenn Morris <rgm@gnu.org>
1747
1748 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
1749
1750 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
1751
1752 * color.el (color-hsl-to-rgb): Fix incorrect results for
1753 small and large hue values. (Bug#12559)
1754
1755 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
1756
1757 Enhancements to docstring formatting when filling paragraphs.
1758 * progmodes/python.el (python-fill-docstring-style): Rename from
1759 python-fill-string-style. Added new style.
1760 (python-fill-string): Use new style. Better checks for
1761 docstrings.
1762
1763 2012-10-05 Glenn Morris <rgm@gnu.org>
1764
1765 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1766
1767 * color.el (color-name-to-rgb, color-rgb-to-hex)
1768 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1769 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1770 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1771 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1772
1773 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
1774
1775 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
1776
1777 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1778 to get the correct size across symlinks.
1779
1780 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1781
1782 2012-10-04 Juri Linkov <juri@jurta.org>
1783
1784 * replace.el (query-replace-interactive): Declare obsolete.
1785 (query-replace-read-from): Add the last incremental search string
1786 to the list of default values accessible via M-n.
1787 (map-query-replace-regexp): Use `read-regexp'.
1788 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1789 (map-query-replace-regexp, replace-string, replace-regexp):
1790 Fix docstrings to replace mentions of `query-replace-interactive'
1791 with alternatives. (Bug#12526)
1792
1793 2012-10-04 Juri Linkov <juri@jurta.org>
1794
1795 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
1796 (dired-pop-to-buffer): Declare obsolete.
1797 (dired-mark-pop-up): Doc fix.
1798
1799 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
1800
1801 Allow user to set docstring style for fill-paragraph.
1802 * progmodes/python.el
1803 (python-fill-comment-function, python-fill-string-function)
1804 (python-fill-decorator-function, python-fill-paren-function):
1805 Remove :safe for defcustoms.
1806 (python-fill-string-style): New defcustom
1807 (python-fill-paragraph-function): Enhance context detection.
1808 (python-fill-string): Honor python-fill-string-style settings.
1809
1810 2012-10-04 Martin Rudalics <rudalics@gmx.at>
1811
1812 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1813 after setting its buffer (Bug#10805).
1814
1815 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1816
1817 Fix cornercase for string syntax.
1818 * progmodes/python.el (python-syntax-propertize-function):
1819 Simplify and enhance the regexp for unescaped quotes. Now it also
1820 matches quotes in weird situations like the single quote in
1821 "something\"'".
1822 (python-syntax-stringify): Simplify num-quotes detecting code.
1823
1824 2012-10-03 Glenn Morris <rgm@gnu.org>
1825
1826 * help-macro.el (three-step-help):
1827 Revert 2012-09-29 change. (Bug#12567)
1828
1829 2012-10-03 Martin Rudalics <rudalics@gmx.at>
1830
1831 * menu-bar.el (kill-this-buffer): Don't do anything when
1832 `menu-frame' is not alive or visible (Bug#8184).
1833
1834 * emacs-lisp/debug.el (debug): When quitting the debugger window
1835 restore current buffer (Bug#12502).
1836
1837 2012-10-02 Chong Yidong <cyd@gnu.org>
1838
1839 * progmodes/hideif.el (hif-lookup, hif-defined):
1840 Handle semantic-c-takeover-hideif.
1841
1842 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1843
1844 Change sampling interval units from ms to ns.
1845 * profiler.el (profiler-sampling-interval): Change units
1846 from ms to ns, multiplying the default by 1000000 so that
1847 it remains 1 ms.
1848 (profiler-report-cpu-line-format): Give enough room for
1849 the maximum counters on 64-bit hosts.
1850 (profiler-report-render-calltree-1): Call them "CPU samples",
1851 not "Time (ms)", since they are not milliseconds now (and
1852 never really were).
1853
1854 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
1855
1856 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1857 Fix querying BBDB for entries without a last name (Bug#11580).
1858
1859 2012-10-02 Chong Yidong <cyd@gnu.org>
1860
1861 * emacs-lisp/eieio.el: Restore Version header.
1862
1863 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1864
1865 * vc/diff-mode.el (diff--auto-refine-data): New var.
1866 (diff-hunk): Use it to delay refinement.
1867 (diff-mode): Remove overlays when we turn off font-lock.
1868
1869 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1870 (table-initialize-table-fixed-width-mode)
1871 (table-set-table-fixed-width-mode): Remove functions.
1872 (table-command-list): Move initialization into declaration.
1873 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1874 (table-with-cache-buffer): Use `declare'.
1875 (table-span-cell): Simplify via CSE.
1876 (table-fixed-width-mode): Use define-minor-mode.
1877 (table-call-interactively, table-funcall, table-apply): Remove.
1878 (table-function): New function, to replace them.
1879
1880 * bookmark.el (bookmark-search-pattern): Remove var.
1881 (bookmark-read-search-input): Remove function.
1882 (bookmark-bmenu-search): Reimplement using a minibuffer.
1883
1884 * faces.el (modeline): Remove obsolete face name.
1885
1886 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1887 and give a non-nil default value.
1888 (add-change-log-entry): Simplify accordingly.
1889
1890 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1891
1892 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1893 (vc-git-log-edit-toggle-amend): New function.
1894 (vc-git-log-edit-toggle-signoff): New function.
1895 (vc-git-log-edit-mode): New major mode.
1896 (vc-git-log-edit-mode-map): Keymap for it.
1897 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1898
1899 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1900 header names.
1901 (log-edit-toggle-header): New function.
1902 (log-edit-extract-headers): Accept function values in HEADERS alist.
1903
1904 2012-10-01 David Engster <deng@randomsample.de>
1905
1906 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1907 from symbol property and change message to be more consistent with
1908 Emacs proper.
1909 (eieio-describe-generic): Add filename for each implementation.
1910 Fix indices for generic and normal methods.
1911 (eieio-method-def, eieio-class-def): New buttons.
1912 (eieio-help-find-method-definition)
1913 (eieio-help-find-class-definition): New functions.
1914 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1915 class, constructor and method definitions.
1916
1917 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1918 information in symbol property.
1919 (scoped-class): Remove.
1920 (eieio-slot-name-index, call-next-method): Check if it is bound.
1921
1922 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
1923
1924 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1925 (eieio-custom-mode): New major mode.
1926 (eieio-customize-object): Use it.
1927
1928 2012-10-01 Eric Ludlam <zappo@gnu.org>
1929
1930 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1931 specifying the expected class, and whether subclassing is allowed.
1932 (eieio-persistent-convert-list-to-object):
1933 (eieio-persistent-validate/fix-slot-value)
1934 (eieio-persistent-slot-type-is-class-p): New functions.
1935 (eieio-named::slot-missing): Doc fix.
1936
1937 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1938 Stop using unused publd variable.
1939
1940 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1941 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1942 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1943 (eieio-speedbar-handle-click): Do not specify a class for the
1944 method. Fixes method invocation order problems with EDE.
1945
1946 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1947
1948 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1949 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1950
1951 2012-10-01 Karl Fogel <kfogel@red-bean.com>
1952
1953 * bookmark.el (bookmark-version-control): Give tags in the
1954 :type choices (Bug#12309), and improve doc string.
1955 (bookmark-write-file): Bind `print-circle' to `t' to allow
1956 circular custom bookmark types. (Bug#12503)
1957
1958 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1959
1960 Revert the FOLLOW-SYMLINKS change for file-attributes.
1961 * files.el (remote-file-name-inhibit-cache, after-find-file):
1962 * time.el (display-time-file-nonempty-p): Undo last change.
1963
1964 * profiler.el (profiler-sampling-interval): Change default back to 1.
1965 See Stefan Monnier in
1966 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1967
1968 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1969
1970 Shell output catching a la gud-gdb.
1971 * progmodes/python.el (python-shell-fetch-lines-in-progress)
1972 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1973 New Vars.
1974 (python-shell-fetch-lines-filter): New function.
1975 (python-shell-send-string-no-output): Use them.
1976
1977 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1978
1979 * profiler.el (profiler-sampling-interval): Rename from
1980 profiler-sample-interval.
1981 (profiler-sampling-interval): Default to 10.
1982 (profiler-find-profile): New command (was profiler-find-log).
1983 (profiler-find-profile-other-window): New command.
1984 (profiler-find-profile-other-frame): New command.
1985 (profiler-profile): Introduce API-level data structure.
1986
1987 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1988
1989 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1990 * files.el (remote-file-name-inhibit-cache):
1991 * time.el (display-time-file-nonempty-p): Use it.
1992 * files.el (after-find-file): Don't chase links before calling
1993 file-exists-p, as file-exists-p already does the right thing.
1994
1995 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
1996
1997 Merge from standalone RefTeX repository.
1998
1999 The following ChangeLog entries are shortened versions of the
2000 original ones with file paths adapted. A not so strongly edited
2001 version of the original ChangeLog can be found in the commit log.
2002
2003 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
2004 (reftex-arg-cite): Use `reftex-cite-key-separator'.
2005 Correctly handle new value type returned by `reftex-citation'.
2006
2007 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
2008 that entries with whitespace at various places are found.
2009 Doc fix. Include entries that are cross-referenced from cited entries.
2010 Include @String definitions in the resulting bib file. Add header
2011 and footer defined in `reftex-create-bibtex-header' and
2012 `reftex-create-bibtex-footer'.
2013 (reftex-do-citation): Make it possible again to insert
2014 non-existent entries. Save match data when asking for optional
2015 arguments. Return all keys, not just the first one.
2016 (reftex-all-used-citation-keys): Fix regexp to correctly extract
2017 all citations in the same line.
2018 (reftex-parse-bibtex-entry): Accept additional optional argument
2019 `raw' and keep quotes or braces if it is non-nil. Match fields
2020 containing hyphens besides word constituents.
2021 (reftex-get-string-refs): New function.
2022 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
2023 and ask if it should be reread in case it did.
2024 (reftex-pop-to-bibtex-entry)
2025 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
2026 entries with spaces or tabs in front of arguments.
2027 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
2028 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
2029 Match entries containing numbers and symbol constituents.
2030 (reftex-do-citation, reftex-figure-out-cite-format):
2031 Use `reftex-cite-key-separator'.
2032
2033 * textmodes/reftex-dcr.el: Move provide statement to end of file.
2034 (reftex-mouse-view-crossref): Explain why point is set.
2035
2036 * textmodes/reftex-global.el: Whitespace changes.
2037
2038 * textmodes/reftex-index.el: Move provide statement to end of
2039 file.
2040 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
2041 (reftex-index-visit-phrases-buffer): Set marker when visiting
2042 buffer. This allows for returning from the phrases file to the
2043 file one was just editing instead of the file where the last
2044 phrases was added from.
2045 (reftex-index-phrases-syntax-table): New variable. Give ?\"
2046 punctuation syntax as it usually is not used as string quote in
2047 TeX-related modes and may occur unmatched. The change also
2048 prevents fontification of quoted content.
2049 (reftex-index-phrases-mode): Use it.
2050
2051 * textmodes/reftex-parse.el (reftex-parse-from-file):
2052 Move backward one char if a `\' was matched after a section macro.
2053 (reftex-parse-from-file): Use beginning of match instead of end as
2054 bound.
2055
2056 * textmodes/reftex-ref.el: Adapt creation of
2057 `reftex-<package>-<macro>' functions to new structure of
2058 `reftex-ref-style-alist'.
2059 (reftex-reference): Use `reftex-ref-style-list' function.
2060 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
2061 reference macro if `reftex-ref-macro-prompt' is non-nil.
2062 (reftex-reference): Pass refstyle to `reftex-format-special'.
2063 Determine reference macro by looking at
2064 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
2065 Use only one special format function.
2066 (reftex-varioref-vref, reftex-fancyref-fref)
2067 (reftex-fancyref-Fref): Remove definitions. The functions are now
2068 generated from `reftex-ref-style-alist'.
2069 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
2070 Remove.
2071 (reftex-format-special): New function.
2072
2073 * textmodes/reftex-sel.el
2074 (reftex-select-cycle-ref-style-internal): Adapt to new structure
2075 of `reftex-ref-style-alist'. Remove code for testing macro type.
2076 (reftex-select-toggle-varioref)
2077 (reftex-select-toggle-fancyref): Remove.
2078 (reftex-select-cycle-ref-style-internal)
2079 (reftex-select-cycle-ref-style-forward)
2080 (reftex-select-cycle-ref-style-backward): New functions.
2081 (reftex-select-label-map): Use `v' and `V' for general cycling
2082 through reference styles. Add `p' for switching between number
2083 and page reference types.
2084
2085 * textmodes/reftex-toc.el (reftex-re-enlarge):
2086 Call `enlarge-window' only if there is something to do because in Emacs
2087 the horizontal version throws an error even if the parameter is 0.
2088
2089 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
2090 (reftex-plug-into-AUCTeX): Doc fix.
2091 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
2092 string. Adapt to new name.
2093 (reftex-ref-style-alist): Change structure so that it is not
2094 possible to use multiple different package names within a style.
2095 Remove the symbols for symbols for macro type distinction.
2096 Add characters for macro selection.
2097 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
2098 (reftex-create-bibtex-footer): New variables.
2099 (reftex-format-ref-function): Mention third argument of special
2100 format function.
2101 (reftex-ref-style-alist, reftex-ref-style-default-list):
2102 New variables.
2103 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
2104 to new implementation. Mark as obsolete. Add compatibility code
2105 for honoring the variable values in case they are set.
2106 (reftex-cite-format-builtin, reftex-bibliography-commands):
2107 Add support for ConTeXt.
2108 (reftex-format-ref-function, reftex-format-cite-function):
2109 Fix custom type.
2110 (reftex-cite-key-separator): New variable.
2111
2112 * textmodes/reftex.el (reftex-syntax-table-for-bib)
2113 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
2114 `reftex-syntax-table' because parens have to retain their paren
2115 syntax in order for parsing of BibTeX entries like @book(...) to
2116 work.
2117 (reftex-in-comment): Do not error out if `comment-start-skip' is
2118 not set. Deal correctly with escaped comment characters.
2119 (reftex-tie-multifile-symbols): Add doc string.
2120 Initialize `reftex-ref-style-list'.
2121 (reftex-untie-multifile-symbols): Add doc string.
2122 (reftex-add-index-macros): Doc fix.
2123 (reftex-ref-style-activate, reftex-ref-style-toggle)
2124 (reftex-ref-style-list): New functions.
2125 (reftex-mode-menu): Use them. Adapt to new structure of
2126 `reftex-ref-style-alist'.
2127 (reftex-select-with-char): Kill the RefTeX Select buffer when
2128 done.
2129 (reftex-remove-if): New function.
2130 (reftex-erase-all-selection-and-index-buffers)
2131 (reftex-mode-menu): Reference styles are now computed from
2132 `reftex-ref-style-alist'. Fix typo.
2133 (reftex-report-bug): New function.
2134 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
2135 algorithms with O(n log n). Introduce optional argument SORT (not
2136 yet used).
2137
2138 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
2139
2140 Enhancements for triple-quote string syntax.
2141 * progmodes/python.el (python-syntax-propertize-function):
2142 Match both quote cases in one regexp.
2143 (python-syntax-stringify): Handle matches properly.
2144
2145 2012-09-30 Juri Linkov <juri@jurta.org>
2146
2147 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
2148 to nil around the call to `insert' to prevent
2149 directory time modification by lock_file. (Bug#2295)
2150 * tar-mode.el (tar-summarize-buffer): Idem.
2151
2152 2012-09-30 Juri Linkov <juri@jurta.org>
2153
2154 * facemenu.el (list-colors-sort): Add option "Luminance".
2155 (list-colors-sort-key): Implement it.
2156
2157 * vc/diff-mode.el (diff-refine-removed):
2158 * vc/ediff-init.el (ediff-fine-diff-A):
2159 * vc/smerge-mode.el (smerge-refined-removed):
2160 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
2161
2162 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
2163
2164 * term/ns-win.el (x-file-dialog): New function.
2165
2166 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
2167
2168 * ido.el (ido-max-directory-size): Default to nil; the current
2169 default is small for POSIX systems, and impractical on Windows 7
2170 now that lstat returns directory sizes for NTFS.
2171
2172 2012-09-30 Martin Rudalics <rudalics@gmx.at>
2173
2174 In buffer display functions handle window-height/window-width
2175 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
2176 * window.el (window--display-buffer): New argument ALIST.
2177 Obey window-height and window-width alist entries.
2178 (window--try-to-split-window): New argument ALIST.
2179 Bind window-combination-limit to t when the window's size shall be
2180 changed and window-combination-limit equals `window-size'.
2181 (display-buffer-in-atom-window)
2182 (display-buffer-in-major-side-window)
2183 (display-buffer-in-side-window, display-buffer-same-window)
2184 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2185 (display-buffer-pop-up-window, display-buffer-below-selected)
2186 (display-buffer-at-bottom, display-buffer-in-previous-window)
2187 (display-buffer-use-some-window): Adjust all callers of
2188 window--display-buffer and window--try-to-split-window.
2189 (fit-frame-to-buffer): New option.
2190 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
2191 is non-nil.
2192 (display-buffer-in-major-side-window): Evaluate window-height /
2193 window-width alist entries.
2194
2195 * help.el (temp-buffer-resize-frames)
2196 (temp-buffer-resize-regexps): Remove options.
2197 (temp-buffer-resize-mode): Adjust doc-string.
2198 (resize-temp-buffer-window): Don't consult
2199 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
2200 temp-buffer-resize-frames.
2201
2202 * dired.el (dired-mark-pop-up):
2203 Call display-buffer-below-selected with a fit-window-to-buffer alist
2204 entry.
2205
2206 2012-09-30 Chong Yidong <cyd@gnu.org>
2207
2208 * server.el (server-host): Document the security implications.
2209 (server-auth-key): Doc fix.
2210
2211 * startup.el (initial-buffer-choice): Doc fix.
2212
2213 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
2214
2215 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
2216 restriction change.
2217
2218 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
2219
2220 * help-fns.el (help-fns--obsolete): Fix last change.
2221
2222 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2223
2224 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2225 (minor-mode-map-alist): Remove redundant code.
2226
2227 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2228 visited in a buffer.
2229 (cvs-insert-visited-file): New function.
2230 (find-file-hook): Use it.
2231
2232 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2233
2234 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2235 chose face.
2236 (log-edit-empty-buffer-p): Don't require a space after a header.
2237
2238 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2239
2240 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2241
2242 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2243 a proper minor-mode.
2244
2245 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2246
2247 2012-09-29 Glenn Morris <rgm@gnu.org>
2248
2249 * winner.el (winner-mode): Remove variable (let define-minor-mode
2250 handle it).
2251 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2252 Doc fixes.
2253 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2254 (winner-mode): Use define-minor-mode.
2255
2256 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2257 the full definition in loaddefs, rather than duplicating it.
2258
2259 * help-macro.el (three-step-help): No need to autoload defcustom.
2260
2261 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2262 (inferior-lisp-program, inferior-lisp-load-command)
2263 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2264 No need to autoload defcustoms.
2265
2266 * hippie-exp.el (hippie-expand-try-functions-list)
2267 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2268 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2269 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2270 (hippie-expand-only-buffers): No need to autoload defcustoms.
2271 * progmodes/vhdl-mode.el (vhdl-line-expand):
2272 Explicitly load hippie-exp, so it does not get autoloaded
2273 while hippie-expand-try-functions-list is let-bound.
2274
2275 2012-09-28 Glenn Morris <rgm@gnu.org>
2276
2277 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
2278
2279 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
2280 Only "cl.el" counts as cl these days.
2281
2282 2012-09-28 Juri Linkov <juri@jurta.org>
2283
2284 Display archive errors in the echo area instead of inserting
2285 to the file buffer.
2286
2287 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
2288 to STDERR-TEST that can be a regexp matching a successful output.
2289 Create a temporary file and redirect stderr to it. Search for
2290 STDERR-TEST in the stderr output and display it in the echo area
2291 if no match is found.
2292 (archive-extract-by-file): New function like
2293 `archive-extract-by-stdout' but extracting archives to files
2294 and looking for successful matches in stdout. Function body is
2295 mostly copied from `archive-rar-extract'.
2296 (archive-rar-extract): Use `archive-extract-by-file'.
2297 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
2298
2299 2012-09-28 Leo Liu <sdl.web@gmail.com>
2300
2301 * pcomplete.el (pcomplete-show-completions):
2302 Use minibuffer-message to make pcomplete usable in minibuffer.
2303
2304 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2305
2306 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2307
2308 * type-break.el: Use lexical-binding.
2309 (type-break-mode): Use define-minor-mode.
2310
2311 * emacs-lisp/pcase.el (pcase--mark-used): New.
2312 (pcase--u1): Use it (bug#12512).
2313
2314 * custom.el (load-theme): Set buffer-file-name so the load is recorded
2315 in load-history with the right file name.
2316
2317 2012-09-28 Tassilo Horn <tsdh@gnu.org>
2318
2319 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2320 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2321 (doc-view-get-bounding-box): Make bounding box slicing work for
2322 ODF and DVI documents.
2323
2324 2012-09-28 Glenn Morris <rgm@gnu.org>
2325
2326 * type-break.el (type-break-mode, type-break-interval)
2327 (type-break-good-rest-interval, type-break-keystroke-threshold):
2328 No need to autoload.
2329 (type-break-good-rest-interval, type-break-keystroke-threshold):
2330 Add :set-after.
2331
2332 2012-09-28 Chong Yidong <cyd@gnu.org>
2333
2334 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
2335 Add :version tag.
2336
2337 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2338
2339 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
2340
2341 2012-09-27 Glenn Morris <rgm@gnu.org>
2342
2343 * faces.el (x-display-name): Declare (for without-x builds).
2344
2345 * linum.el (linum-format): Don't autoload it. Improve :type.
2346
2347 * progmodes/tcl.el: Don't require outline when compiling.
2348 (outline-regexp, outline-level): Declare.
2349 * textmodes/sgml-mode.el: Don't require outline when compiling.
2350 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2351
2352 * term.el (term-ansi-reset):
2353 Try setting term-ansi-face-already-done to nil. (Bug#11785)
2354
2355 * vc/vc.el (vc-next-action): Only gripe about committing read-only
2356 files for RCS and SCCS. (Bug#9781)
2357
2358 2012-09-27 Chong Yidong <cyd@gnu.org>
2359
2360 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2361 change; value should be t.
2362
2363 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2364
2365 * image-mode.el: Use lexical-binding.
2366 (image-mode-winprops): Use t to stand for the window of
2367 a buffer that's not displayed.
2368 * doc-view.el (doc-view-new-window-function): Handle the new
2369 t in winprops.
2370 (doc-view-enlarge): Make it a real nop if the size is not changed.
2371 (doc-view-display): Handle the case where the buffer is not (yet?)
2372 displayed in any window.
2373 (doc-view-saved-settings): New var.
2374 (doc-view-mode): Use it.
2375 (doc-view-fallback-mode): Set it.
2376
2377 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2378 Set lexical-binding.
2379 (minibuffer-eldef-shorten-default): New var.
2380 (minibuffer-default-in-prompt-regexps): Use it for new default.
2381 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2382
2383 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
2384
2385 * international/uni-bidi.el:
2386 * international/uni-category.el:
2387 * international/uni-name.el:
2388 * international/uni-numeric.el: Regenerate.
2389
2390 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
2391 Stefan Monnier <monnier@iro.umontreal.ca>
2392
2393 * profiler.el: New file.
2394
2395 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2396
2397 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
2398 (testcover-reinstrument): Simplify with CSE.
2399
2400 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
2401
2402 * window.el (temp-buffer-window-setup): Fix typo in docstring.
2403
2404 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
2405
2406 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
2407 (verilog-auto-input, verilog-auto-insert-lisp)
2408 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2409 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
2410 (verilog-auto-unused, verilog-auto-wire)
2411 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
2412 newline. Reported by Andrew Jones.
2413 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
2414 Reported by Brad Dobbie.
2415 (verilog-batch-delete-trailing-whitespace):
2416 Create verilog-batch-delete-trailing-whitespace.
2417 Reported by Brad Dobbie.
2418 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
2419 parameters from another module. Reported by Dan Katz.
2420 (verilog-auto, verilog-auto-assign-modport)
2421 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
2422 AUTOINOUTMODPORT for UVM interface module shell generation.
2423 Reported by Brad Dobbie.
2424 (verilog-auto-inst-interfaced-ports): Make default nil, as more
2425 standard behavior.
2426 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
2427 Reported by Matt Martin.
2428
2429 2012-09-25 Martin Rudalics <rudalics@gmx.at>
2430
2431 * window.el (window--resize-child-windows): When resizing child
2432 windows proportionally, process them in reverse order to
2433 preserve the "when splitting a window the new one gets the odd
2434 line" behavior.
2435 (window--resize-root-window-vertically): When resizing the
2436 minibuffer window try to affect only windows at the bottom of the
2437 frame. (Bug#12419)
2438
2439 2012-09-25 Chong Yidong <cyd@gnu.org>
2440
2441 * subr.el (declare): Doc fix.
2442
2443 * help-fns.el (help-fns--obsolete): Handle macros properly.
2444
2445 2012-09-25 Chong Yidong <cyd@gnu.org>
2446
2447 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2448 this function obsolete.
2449
2450 * calendar/cal-x.el (calendar-two-frame-setup)
2451 (calendar-only-one-frame-setup, calendar-one-frame-setup):
2452 * calendar/calendar.el (american-calendar, european-calendar)
2453 (calendar-for-loop):
2454 * comint.el (comint-dynamic-simple-complete)
2455 (comint-dynamic-complete-as-filename, comint-unquote-filename):
2456 * desktop.el (desktop-load-default):
2457 * dired-x.el (dired-omit-here-always)
2458 (dired-hack-local-variables, dired-default-directory):
2459 * emacs-lisp/derived.el (derived-mode-class):
2460 * emacs-lisp/timer.el (timer-set-time-with-usecs):
2461 * emacs-lock.el (toggle-emacs-lock):
2462 * epa.el (epa-display-verify-result):
2463 * epg.el (epg-sign-keys, epg-start-sign-keys)
2464 (epg-passphrase-callback-function):
2465 * eshell/esh-util.el (eshell-for):
2466 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2467 (eshell-add-to-window-buffer-names):
2468 * files.el (locate-file-completion):
2469 * imenu.el (imenu-example--create-c-index)
2470 (imenu-example--create-lisp-index)
2471 (imenu-example--lisp-extract-index-name)
2472 (imenu-example--name-and-position):
2473 * international/mule-cmds.el (princ-list):
2474 * international/mule-diag.el (decode-codepage-char):
2475 * international/mule-util.el (detect-coding-with-priority):
2476 * iswitchb.el (iswitchb-read-buffer):
2477 * mail/mailalias.el (mail-complete):
2478 * mail/sendmail.el (mail-sent-via):
2479 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2480 (mouse-major-mode-menu):
2481 * password-cache.el (password-read-and-add):
2482 * pcomplete.el (pcomplete-parse-comint-arguments):
2483 * progmodes/sh-script.el (sh-maybe-here-document):
2484 * replace.el (query-replace-regexp-eval):
2485 * savehist.el (savehist-load):
2486 * simple.el (choose-completion-delete-max-match):
2487 * term.el (term-dynamic-simple-complete):
2488 * vc/ediff-init.el (ediff-check-version):
2489 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2490 * vc/vc.el (vc-diff-switches-list):
2491 * view.el (view-return-to-alist-update): Likewise.
2492
2493 * subr.el (eval-next-after-load, makehash, insert-string)
2494 (assoc-ignore-representation, assoc-ignore-case): Use declare to
2495 mark obsolete.
2496 (mode-line-inverse-video): Variable deleted.
2497
2498 * international/mule-util.el (string-to-sequence): Remove.
2499
2500 * calendar/calendar.el (calendar-version):
2501 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
2502 (icalendar-convert-diary-to-ical):
2503 * cus-edit.el (custom-mode):
2504 * ansi-color.el (ansi-color-unfontify-region):
2505 * international/latin1-disp.el (latin1-char-displayable-p):
2506 * progmodes/cwarn.el (turn-on-cwarn-mode):
2507 * progmodes/which-func.el (which-func-update-1):
2508 Use define-obsolete-function-alias.
2509
2510 * net/newst-backend.el (newsticker-cache-filename):
2511 * net/newst-treeview.el (newsticker-groups-filename):
2512 Fix incorrect obsolescence declaration.
2513
2514 * allout.el (allout-passphrase-hint-string): Likewise.
2515 (allout-init): Use a declare form to mark obsolete.
2516
2517 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
2518 this applies to functions.
2519
2520 * iswitchb.el (iswitchb-read-buffer): Move code of
2521 iswitchb-define-mode-map here, and delete that obsolete function.
2522
2523 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
2524 font-lock-reference-face.
2525
2526 2012-09-25 Glenn Morris <rgm@gnu.org>
2527
2528 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
2529 Doc fixes.
2530
2531 * eshell/em-term.el (eshell-term-name):
2532 Default to term-term-name. (Bug#12485)
2533
2534 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2535
2536 * progmodes/python.el (python-shell-send-buffer): Better handling
2537 of "if __name__ == '__main__':" conditionals when sending the buffer.
2538
2539 2012-09-24 Glenn Morris <rgm@gnu.org>
2540
2541 * eshell/esh-cmd.el (eshell-find-alias-function):
2542 Tighten up file-name regexp. (Bug#12499)
2543
2544 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2545
2546 Enhancements for triple-quote string syntax.
2547 * progmodes/python.el (python-quote-syntax): Remove.
2548 (python-syntax-propertize-function): New value.
2549 (python-syntax-count-quotes, python-syntax-stringify):
2550 New functions.
2551
2552 2012-09-24 Chong Yidong <cyd@gnu.org>
2553
2554 * mail/supercite.el (sc-version): Remove obsolete function.
2555 (sc-describe): Don't mark as obsolete, since it is bound.
2556 (sc-submit-bug-report): Remove.
2557
2558 * vc/log-edit.el (cvs-changelog-full-paragraphs)
2559 (cvs-commit-buffer-require-final-newline): Remove.
2560 (log-edit-require-final-newline)
2561 (log-edit-changelog-full-paragraphs): Default to t.
2562
2563 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
2564 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2565 * vc/vc.el (vc-checkout-carefully): Likewise.
2566
2567 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
2568 (emerge-version): Remove.
2569
2570 * progmodes/compile.el (compile-internal): Remove.
2571 (compilation-parse-errors-function): Fix typo.
2572
2573 * international/mule.el (set-char-table-default): Remove.
2574 (set-coding-priority, make-coding-system, generic-char-p)
2575 (charset-list, charset-bytes, charset-id): Use declare to mark
2576 functions as obsolete.
2577
2578 * vc/pcvs-defs.el (cvs-buffer-name-alist)
2579 (cvs-invert-ignore-marks): Remove references to obsolete vars.
2580 * vc/vc-hooks.el (vc-default-registered): Don't use
2581 vc-master-templates.
2582
2583 * font-lock.el (font-lock-reference-face):
2584 Use define-obsolete-variable-alias.
2585
2586 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
2587 * calendar/calendar.el (calendar-font-lock-keywords):
2588 * calendar/diary-lib.el (diary-font-lock-keywords)
2589 (diary-fancy-font-lock-keywords):
2590 * textmodes/reftex-sel.el (reftex-insert-docstruct):
2591 * textmodes/reftex-index.el (reftex-insert-index):
2592 * textmodes/reftex-cite.el (reftex-format-bib-entry):
2593 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2594 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
2595 * progmodes/prolog.el (prolog-font-lock-keywords):
2596 * progmodes/idlwave.el (idlwave-idl-keywords):
2597 * progmodes/ada-mode.el (ada-font-lock-keywords):
2598 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
2599
2600 2012-09-24 Glenn Morris <rgm@gnu.org>
2601
2602 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
2603
2604 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
2605
2606 * progmodes/python.el (python-indent-line): More consistent cursor
2607 movement behavior.
2608
2609 2012-09-23 Stefan Merten <smerten@oekonux.de>
2610
2611 * textmodes/rst.el: Fix compiler warning.
2612
2613 2012-09-23 Roland Winkler <winkler@gnu.org>
2614
2615 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
2616 Transcribe also LaTeX hyphenation.
2617 (bibtex-reformat): Bug fix. Do not quote twice the elements of
2618 bibtex-reformat-previous-options.
2619
2620 2012-09-23 Roland Winkler <winkler@gnu.org>
2621
2622 * proced.el (proced-renice-command): New variable.
2623 (proced-marked-processes): New function.
2624 (proced-with-processes-buffer): New macro.
2625 (proced-send-signal): Use them.
2626 (proced-renice): New command bound to r.
2627
2628 2012-09-23 Roland Winkler <winkler@gnu.org>
2629
2630 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
2631 ibuffer-saved-filter-groups has one element, shortcut the call of
2632 completing-read. (Bug#12331)
2633
2634 2012-09-23 Chong Yidong <cyd@gnu.org>
2635
2636 * bindings.el (mode-line-toggle-read-only):
2637 * bs.el (bs-toggle-readonly):
2638 * buff-menu.el (Buffer-menu-toggle-read-only):
2639 * dired.el (dired-toggle-read-only):
2640 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
2641
2642 2012-09-23 Chong Yidong <cyd@gnu.org>
2643
2644 * image.el (image-type-available-p): Adapt to init-image-library
2645 argument changes.
2646
2647 2012-09-22 Juri Linkov <juri@jurta.org>
2648
2649 * dired.el (dired-mode-map): Add [remap read-only-mode] for
2650 `dired-toggle-read-only'. (Bug#12462)
2651
2652 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2653
2654 * subr.el (temp-output-buffer-show): New function.
2655 (with-output-to-temp-buffer): Call temp-output-buffer-show
2656 instead of internal-temp-output-buffer-show.
2657
2658 2012-09-22 Chong Yidong <cyd@gnu.org>
2659
2660 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
2661 (Bug#12462).
2662
2663 * repeat.el (repeat): Doc fix (Bug#12348).
2664
2665 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
2666 (Bug#10909).
2667
2668 * simple.el (shell-command-on-region): Doc fix.
2669 (read-only-mode): Doc fix.
2670
2671 2012-09-22 Eli Zaretskii <eliz@gnu.org>
2672
2673 * emacs-lisp/timer.el (run-with-idle-timer)
2674 (timer-activate-when-idle): Warn against reinvoking an idle timer
2675 from within its own timer action. (Bug#12447)
2676
2677 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2678
2679 * cus-start.el (window-combination-limit): Add new optional
2680 values.
2681 * window.el (temp-buffer-window-show)
2682 (window--try-to-split-window): Handle new values of
2683 window-combination-limit (Bug#1806).
2684 (split-window): Test window-combination-limit for t instead of
2685 non-nil.
2686 (display-buffer-at-bottom): New buffer display action function.
2687 * help.el (temp-buffer-resize-regexps): New option.
2688 (temp-buffer-resize-mode): Rewrite doc-string.
2689 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
2690 Don't resize reused window. Suggested by Glenn Morris.
2691
2692 2012-09-22 Stefan Merten <smerten@oekonux.de>
2693
2694 * textmodes/rst.el: Revamp section title faces.
2695 (rst-official-version)
2696 (rst-package-emacs-version-alist): Sync with official version
2697 V1.4.0.
2698 (rst-faces-defaults, rst-set-level-default)
2699 (rst-level-face-max, rst-level-face-base-color)
2700 (rst-level-face-base-light, rst-level-face-format-light)
2701 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
2702 (rst-adornment-faces-alist): Match new setup.
2703 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
2704 (rst-level-5, rst-level-6): New faces.
2705
2706 2012-09-22 Chong Yidong <cyd@gnu.org>
2707
2708 * simple.el (undo): Handle indirect buffers (Bug#8207).
2709
2710 2012-09-21 Leo Liu <sdl.web@gmail.com>
2711
2712 IDO: Disable match re-ordering for buffer switching.
2713 * ido.el (ido-buffer-disable-smart-matches): New variable.
2714 (ido-set-matches-1): Use it. (Bug#2042)
2715
2716 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
2717
2718 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2719 Fix 2011-05-17 change. (Bug#12418)
2720
2721 2012-09-21 Leo Liu <sdl.web@gmail.com>
2722
2723 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
2724
2725 2012-09-21 Glenn Morris <rgm@gnu.org>
2726
2727 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
2728 Be more robust about locating simple.el.
2729
2730 2012-09-21 Glenn Morris <rgm@gnu.org>
2731
2732 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2733
2734 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
2735
2736 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
2737
2738 2012-09-20 Juri Linkov <juri@jurta.org>
2739
2740 * replace.el (query-replace-read-from): Use `read-regexp' instead
2741 of `read-from-minibuffer' when `regexp-flag' is non-nil.
2742 (occur-read-primary-args): Use `read-regexp' instead of
2743 `read-string'.
2744 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2745 `read-from-minibuffer'.
2746 * isearch.el (isearch-occur): Use `read-regexp' instead of
2747 `read-string'.
2748 * dired.el (dired-read-regexp): Use `read-regexp' instead of
2749 `read-from-minibuffer'.
2750 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2751 of `read-string'. (Bug#7567)
2752
2753 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2754 and allow accepting a list of strings prepended to a list of
2755 standard default values. Doc fix. (Bug#12321)
2756
2757 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
2758
2759 * replace.el (read-regexp): Don't add ": " when PROMPT already
2760 ends with a colon and space. (Bug#12321)
2761
2762 2012-09-20 Tassilo Horn <tsdh@gnu.org>
2763
2764 * doc-view.el (doc-view-display): Better fix for the cl-assertion
2765 error.
2766
2767 2012-09-20 Stefan Merten <smerten@oekonux.de>
2768
2769 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
2770 Fixes feature request bug#11711.
2771 (rst-mode): Create `imenu-create-index-function'.
2772 (rst-get-stripped-line): Delete after refactoring.
2773 (rst-section-tree, rst-section-tree-rec)
2774 (rst-section-tree-point): Refactor and document properly.
2775 (rst-imenu-find-adornments-for-position)
2776 (rst-imenu-convert-cell, rst-imenu-create-index):
2777 New function.
2778
2779 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2780
2781 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2782 (macroexp--expand-all): Use it.
2783 (macroexp--funcall-and-return): Remove by folding it into its sole
2784 caller (macroexp--warn-and-return).
2785 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2786 Use macroexp--obsolete-warning.
2787
2788 * calc/calc.el: Fix last change by removing the whole chunk, since it
2789 was only needed back when Calc was not bundled.
2790
2791 2012-09-20 Martin Rudalics <rudalics@gmx.at>
2792
2793 * emacs-lisp/debug.el (debug): Restore assignment to
2794 debugger-old-buffer removed on 2012-09-08.
2795
2796 2012-09-20 Juri Linkov <juri@jurta.org>
2797
2798 * dired-aux.el (dired-diff): Remove (require 'diff) since
2799 `diff-latest-backup-file' is now autoloaded.
2800
2801 2012-09-20 Chong Yidong <cyd@gnu.org>
2802
2803 * vc/diff.el (diff-latest-backup-file): Autoload.
2804
2805 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2806
2807 * calc/calc.el: Remove redundant autoload shape check.
2808 (sel-mode): Don't defvar.
2809 (calc-get-stack-element): Add `sel-mode' arg instead.
2810 (calc-top, calc-top-list): Pass it this additional argument.
2811 * calc/calc-store.el (calc-store-map):
2812 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2813 (calc-map-equation, calc-outer-product, calc-inner-product):
2814 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2815
2816 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2817
2818 2012-09-19 Juri Linkov <juri@jurta.org>
2819
2820 * dired-aux.el (dired-diff): Add (require 'diff) because
2821 `diff-latest-backup-file' is not autoloaded.
2822 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2823 of `dired-get-filename' to t to not report error when there is
2824 no default file on the current line.
2825
2826 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2827
2828 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2829 macroexp--eval-if-compile.
2830 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2831 (macroexp--expand-all): Use them (bug#12371).
2832
2833 * doc-view.el (doc-view-guess-paper-size)
2834 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2835
2836 2012-09-19 Tassilo Horn <tsdh@gnu.org>
2837
2838 New feature: set optimal slice from BoundingBox information.
2839 * doc-view.el (doc-view-mode-map): Add keybinding.
2840 (doc-view-menu): Add menu entry.
2841 (doc-view-set-slice): Adapt docstring.
2842 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2843 (doc-view-scale-bounding-box)
2844 (doc-view-set-slice-from-bounding-box): New functions.
2845 (doc-view-paper-sizes): New defvar.
2846
2847 2012-09-19 Glenn Morris <rgm@gnu.org>
2848
2849 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2850 (byte-compile-log-warning): Autoload. (Bug#12371)
2851
2852 * calendar/calendar.el (calendar-american-month-header)
2853 (calendar-european-month-header, calendar-iso-month-header)
2854 (calendar-month-header): New options.
2855 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2856 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2857
2858 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2859
2860 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2861
2862 2012-09-18 Juri Linkov <juri@jurta.org>
2863
2864 * dired-aux.el (dired-diff): Restore original functionality of
2865 getting the default value, but keep new feature of using the
2866 latest existing backup file (`diff-latest-backup-file').
2867
2868 2012-09-18 Juri Linkov <juri@jurta.org>
2869
2870 * dired.el (dired-mark): If the region is active in Transient Mark
2871 mode, mark all files in the active region. Doc fix.
2872 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2873 Doc fix. (Bug#10624)
2874
2875 2012-09-18 Juri Linkov <juri@jurta.org>
2876
2877 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2878 attributes for M-n are pulled from the file at point.
2879 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2880 Suggested by Drew Adams. (Bug#10624)
2881
2882 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2883
2884 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2885 whitespace after "end".
2886 (ruby-do-end-to-brace): Collapse block to one line if it fits
2887 within fill-column.
2888
2889 2012-09-18 Martin Rudalics <rudalics@gmx.at>
2890
2891 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2892 value.
2893 (debug): Don't remove debugger window when debugger is expected
2894 to be back.
2895
2896 2012-09-18 Chong Yidong <cyd@gnu.org>
2897
2898 * custom.el (defface): Doc fix.
2899
2900 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2901
2902 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2903
2904 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2905 to initialize query-on-exit; then test that instead (bug#12288).
2906
2907 2012-09-17 Stefan Merten <smerten@oekonux.de>
2908
2909 * textmodes/rst.el: Add support for `testcover'.
2910 (rst-defcustom-testcover, rst-testcover-add-compose)
2911 (rst-testcover-add-1value): New functions.
2912 (rst-portable-mark-active-p): Replace by `use-region-p'.
2913 (rst-update-section, rst-classify-adornment)
2914 (rst-find-title-line): Mark `1value' forms.
2915 (rst-classify-adornment): Remove superfluous form.
2916 (rst-update-section, rst-get-adornments-around)
2917 (rst-adornment-complete-p, rst-get-next-adornment)
2918 (rst-adjust, rst-promote-region)
2919 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2920 (rst-find-pfx-in-region, rst-section-tree-rec)
2921 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2922 (rst-toc-node, rst-toc, rst-forward-section)
2923 (rst-iterate-leftmost-paragraphs)
2924 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2925 (rst-bullet-list-region)
2926 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2927 (rst-compile-find-conf, rst-compile)
2928 (rst-repeat-last-character): Fix style.
2929
2930 2012-09-17 Chong Yidong <cyd@gnu.org>
2931
2932 * comint.el (comint--complete-file-name-data): Don't add a space
2933 if the status is `sole'; that adds a gratuitous space in the
2934 completion-cycling case (Bug#12092).
2935
2936 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2937
2938 2012-09-17 Richard Stallman <rms@gnu.org>
2939
2940 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2941 only in the mime-shown mode, not in raw mode.
2942 (rmail-mime): Toggle off mime by displaying the message without
2943 mime processing. (Bug#12305)
2944
2945 * mail/rmail.el (rmail-retry-failure):
2946 Turn off mime processing first. (Bug#12037)
2947
2948 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2949
2950 2012-09-17 Chong Yidong <cyd@gnu.org>
2951
2952 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2953 (shell-dynamic-complete-functions): Convert to defcustom.
2954 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2955
2956 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2957 * comint.el (comint-prompt-read-only):
2958 * custom.el (defcustom):
2959 * hi-lock.el (hi-lock-mode):
2960 * ibuffer.el (ibuffer-formats):
2961 * ielm.el (ielm-prompt-read-only):
2962 * novice.el (disable-command):
2963 * saveplace.el (toggle-save-place):
2964 * speedbar.el (speedbar-supported-extension-expressions):
2965 * startup.el (auto-save-list-file-prefix, init-file-user)
2966 (after-init-hook, inhibit-startup-echo-area-message):
2967 * strokes.el (strokes-help):
2968 * time-stamp.el (time-stamp):
2969 * calendar/calendar.el (calendar, diary-file):
2970 * calendar/diary-lib.el (diary-mail-entries, diary)
2971 (diary-list-entries-hook):
2972 * calendar/holidays.el (holidays, calendar-holidays):
2973 * calendar/lunar.el (lunar-phases):
2974 * calendar/solar.el (sunrise-sunset):
2975 * emulation/edt.el (edt-load-keys):
2976 * emulation/viper.el (viper-mode):
2977 * eshell/em-alias.el (eshell-command-aliases-list):
2978 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2979 * international/ogonek.el (ogonek-information):
2980 * net/tramp-cmds.el (tramp-bug):
2981 * net/quickurl.el (quickurl-reread-hook-postfix):
2982 * play/decipher.el (decipher-font-lock-keywords):
2983 * progmodes/cc-styles.el (c-set-style):
2984 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2985 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2986 * progmodes/octave-mod.el (octave-mode):
2987 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2988 * progmodes/verilog-mode.el (verilog-read-defines):
2989 * textmodes/two-column.el (2C-mode): Likewise.
2990
2991 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2992
2993 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2994 that holds many addresses.
2995
2996 2012-09-16 Chong Yidong <cyd@gnu.org>
2997
2998 * align.el (align-areas): Call the indication function with
2999 positions instead of markers for arguments (Bug#12343).
3000
3001 * files.el (parse-colon-path): Use split-string (Bug#12351).
3002
3003 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
3004 (display-buffer-function): Mark as obsolete.
3005
3006 * progmodes/compile.el (compilation-parse-errors): Accept list
3007 values similar to font-lock-keywords (Bug#12136).
3008 Suggested by Oleksandr Manzyuk.
3009 (compilation-error-regexp-alist): Doc fix.
3010
3011 2012-09-15 Glenn Morris <rgm@gnu.org>
3012
3013 * version.el (emacs-bzr-version-bzr): New function.
3014 (emacs-bzr-get-version): Add optional EXTERNAL argument.
3015
3016 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
3017 checkouts, check the parent dirstate matches the branch.
3018 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
3019 empty string.
3020
3021 * version.el (emacs-bzr-version): Doc fix.
3022 (emacs-bzr-version-dirstate): New function.
3023 (emacs-bzr-get-version): For lightweight checkouts, if the parent
3024 is local try and check that it matches the branch. If not, just
3025 use dirstate information. (Bug#12441)
3026
3027 2012-09-14 Juri Linkov <juri@jurta.org>
3028
3029 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
3030 (Bug#12399)
3031
3032 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3033
3034 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
3035
3036 * emacs-lisp/edebug.el: Miscellaneous cleanup.
3037 Remove obsolete byte-compiler hack that tried to silence some warnings.
3038 (edebug-submit-bug-report): Remove.
3039 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
3040 Remove aliases, use the un-prefixed name instead.
3041 (edebug-pop-to-buffer): Consider other frames.
3042 (edebug-original-read):: Make it more obvious that it's always defined.
3043 (edebug--make-form-data-entry, edebug--form-data-name)
3044 (edebug--form-data-begin, edebug--form-data-end): Rename from the
3045 single-dashed name, and implement with cl-defstruct.
3046 (edebug-set-form-data-entry): Use the standard accessors.
3047 (edebug-make-top-form-data-entry): Use push.
3048 (edebug-no-match): Drop useless `funcall'.
3049 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
3050 to functions.
3051 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
3052 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
3053 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
3054 (easy-menu-define, with-custom-print): Remove redundant specs.
3055 (edebug-outside-overriding-local-map)
3056 (edebug-outside-overriding-terminal-local-map): Remove, unused.
3057 (edebug--display): Bind unread-command-events directly to nil rather
3058 than binding it to unread-command-events and later setting it to nil.
3059 (edebug--display): Kill edebug-eval-buffer here...
3060 (edebug--recursive-edit): ...rather than here.
3061 Bind standard-output and standard-input.
3062 (edebug-eval): Check cl-macroexpand-all is fboundp.
3063 (edebug-temp-display-freq-count): Fix last change.
3064
3065 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
3066 * subr.el (noreturn, 1value): Add `debug' spec.
3067 * emacs-lisp/advice.el: Require cl-lib.
3068 (ad-copy-tree): Remove, use copy-tree instead.
3069 (ad-dolist): Remove use dolist or cl-dolist instead.
3070 (ad-do-return): Remove, use cl-return instead.
3071 (defadvice): Add `debug' spec.
3072
3073 2012-09-13 Juri Linkov <juri@jurta.org>
3074
3075 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
3076 (Bug#12399)
3077
3078 2012-09-13 Glenn Morris <rgm@gnu.org>
3079
3080 * calc/calc.el (math-compose-expr):
3081 * calc/calc-ext.el (math-compose-expr):
3082 * progmodes/cc-defs.el (cl-macroexpand-all):
3083 * progmodes/cc-langs.el (delete-duplicates, mapcan)
3084 (cl-macroexpand-all): Update declarations.
3085
3086 * vc/vc.el: No need to require ediff.
3087 (ediff-load-version-control): Declare.
3088 (ediff-vc-internal): Fix declaration.
3089 (vc-version-ediff): Require ediff.
3090
3091 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3092
3093 Use a more backwards-compatible timer format (Bug#12430).
3094 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
3095 being right after USECS, as that better supports old code that
3096 inadvisedly looked directly at the timer vector.
3097
3098 2012-09-13 Kenichi Handa <handa@gnu.org>
3099
3100 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3101 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
3102 `coding-priority' property of these language environment.
3103
3104 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3105
3106 Fix glitches caused by addition of psec to timers (Bug#12430).
3107 * image.el (image-animate-timer):
3108 * time.el (display-time-world-timer):
3109 Use timer--function and timer--args rather than raw access to
3110 timer vector.
3111
3112 2012-09-13 Glenn Morris <rgm@gnu.org>
3113
3114 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
3115 If not compiling a file, try using load-file-name.
3116
3117 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3118
3119 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
3120 Fix last change.
3121 (edebug-update-eval-list): Use `push'.
3122
3123 * emacs-lisp/edebug.el: Use lexical-binding.
3124 Remove the "edebug-" prefix from non-dynamically-scoped variables.
3125 Mark unused args with underscore.
3126 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
3127 (edebug-form-data): Use defvar-local.
3128 (edebug-make-before-and-after-form, edebug-make-after-form):
3129 Use backquote.
3130 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
3131 Not dynamically scoped any more.
3132 (edebug--enter-trace): Add arguments `function' and `args'.
3133 Rename from edebug-enter-trace.
3134 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
3135 (edebug--update-coverage): Add `after-index' and `value' args.
3136 Rename from edebug-update-coverage.
3137 (edebug-slow-after): Call it accordingly.
3138 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
3139 edebug-recursive-edit.
3140 (edebug--display): Call it accordingly. Add args `value',
3141 `offset-index', and `arg-mode'. Rename from edebug-display.
3142 (edebug-debugger, edebug): Call it accordingly.
3143 (edebug-eval-display-list): Use dolist.
3144
3145 2012-09-12 Juri Linkov <juri@jurta.org>
3146
3147 * info.el (Info-search): Don't check for isearch-mode and
3148 isearch-regexp before let-binding search-spaces-regexp to
3149 Info-search-whitespace-regexp.
3150 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
3151 search-whitespace-regexp if isearch-lax-whitespace or
3152 isearch-regexp-lax-whitespace is non-nil.
3153 (Info-mode): Don't set local variable search-whitespace-regexp.
3154 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
3155
3156 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3157
3158 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
3159 (debugger-env-macro): Remove support for unread-command-char.
3160
3161 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
3162 the temporary map re-appearing on emulation-mode-map-alists.
3163
3164 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
3165 since 22.1.
3166
3167 * ehelp.el (with-electric-help): Accept functions in
3168 electric-help-form-to-execute.
3169 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
3170 And replace unread-command-char -> unread-command-events.
3171
3172 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
3173
3174 Sync with Tramp 2.2.6.
3175
3176 * net/tramp.el (tramp-accept-process-output): Don't use
3177 JUST-THIS-ONE in the XEmacs case.
3178
3179 * net/trampver.el: Update release number.
3180
3181 2012-09-12 Martin Rudalics <rudalics@gmx.at>
3182
3183 * emacs-lisp/debug.el (debugger-previous-window-height):
3184 New variable.
3185 (debug): When debugger-jumping-flag is non-nil try to restore
3186 height of debugger window. (Bug#8789)
3187
3188 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3189
3190 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
3191 overriding-local-map and pre/post-command-hook here.
3192 (edebug-recursive-edit): Do it here instead (bug#12345).
3193 (edebug-outside-unread-command-char): Remove all uses of
3194 unread-command-char.
3195
3196 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
3197 inhibit-debugger is bound instead.
3198
3199 2012-09-11 Bastien Guerry <bzg@gnu.org>
3200
3201 * subr.el (set-temporary-overlay-map): Add a docstring.
3202 (Bug#12346)
3203
3204 2012-09-11 Bastien Guerry <bzg@gnu.org>
3205
3206 * minibuffer.el (completion-table-subvert): Fix docstring.
3207 (Bug#12347)
3208
3209 2012-09-11 Bastien Guerry <bzg@gnu.org>
3210
3211 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
3212
3213 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
3214
3215 * progmodes/sql.el: Version 3.1
3216 (sql-db2-escape-newlines): New variable.
3217 (sql-escape-newlines-filter): Use it.
3218
3219 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
3220
3221 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3222
3223 2012-09-10 Dan Nicolaescu <dann@gnu.org>
3224
3225 * vc/diff-mode.el (diff-mode-menu):
3226 Bind diff-remove-trailing-whitespace.
3227
3228 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3229
3230 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
3231 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3232 (emacs-lisp-byte-code-mode): New functions.
3233 (eval-sexp-add-defvars): Don't skip defvars in column >0.
3234 (eval-defun-2): Remove bogus interactive spec.
3235 (lisp-indent-line): Remove redundant whole-exp code, now done in
3236 indent-according-to-mode.
3237 (save-match-data): Remove redundant indent data.
3238
3239 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3240 Use `declare'.
3241
3242 2012-09-09 Juri Linkov <juri@jurta.org>
3243
3244 * replace.el (replace-regexp-lax-whitespace): New defcustom.
3245 (replace-lax-whitespace, query-replace-regexp)
3246 (query-replace-regexp-eval, replace-regexp): Doc fix.
3247 (perform-replace, replace-highlight): Let-bind
3248 isearch-lax-whitespace to replace-lax-whitespace and
3249 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3250
3251 * isearch.el (isearch-query-replace): Let-bind
3252 replace-lax-whitespace to isearch-lax-whitespace and
3253 replace-regexp-lax-whitespace to
3254 isearch-regexp-lax-whitespace. (Bug#10885)
3255
3256 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
3257
3258 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3259
3260 2012-09-09 Alan Mackenzie <acm@muc.de>
3261
3262 * progmodes/cc-engine.el (c-state-cache-init):
3263 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3264 (c-record-parse-state-state):
3265 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
3266
3267 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
3268
3269 * register.el (register-separator): Rename from
3270 separator-register. All uses changed. Doc fix.
3271 (register): Fix version.
3272
3273 2012-09-09 Chong Yidong <cyd@gnu.org>
3274
3275 * replace.el (query-replace-map): Bind four new symbols for
3276 requesting window scrolling.
3277
3278 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
3279 query-replace-map (Bug#8948).
3280
3281 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
3282
3283 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
3284 since they are now in query-replace-map.
3285
3286 * window.el (scroll-other-window-down): Make the arg optional.
3287
3288 2012-09-09 Chong Yidong <cyd@gnu.org>
3289
3290 * files.el (hack-local-variables-confirm): Use quit-window to kill
3291 the *Local Variables* buffer.
3292
3293 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3294
3295 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3296 not just expect to be at its beginning. Adjust callees.
3297 Succeed when do-end block has no space before the pipe character.
3298 (ruby-brace-to-do-end): When the original block is one-liner,
3299 convert to multiline. Reindent the result.
3300
3301 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
3302
3303 * register.el (register): New group.
3304 (separator-register): New user option.
3305 (increment-register): Route it to `append-to-register', if
3306 register contains text. Implication is that `C-x r +' can now be
3307 used for appending to a text register (bug#12217).
3308 (append-to-register, prepend-to-register): Add separator based on
3309 `separator-register'.
3310
3311 2012-09-08 Alan Mackenzie <acm@muc.de>
3312
3313 AWK Mode: make auto-newline work when there's "==" in the pattern.
3314 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3315 correctly.
3316 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3317 Test more rigorously for "=" token.
3318
3319 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3320
3321 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3322 Only fail when reached LIMIT.
3323
3324 2012-09-08 Chong Yidong <cyd@gnu.org>
3325
3326 * dired.el (dired-mode-map): Don't bind M-=.
3327
3328 * dired-aux.el (dired-diff): Use backup file as default.
3329
3330 2012-09-08 Drew Adams <drew.adams@oracle.com>
3331
3332 * subr.el (add-to-history): Fix delete usage (Bug#12314).
3333
3334 2012-09-08 Chong Yidong <cyd@gnu.org>
3335
3336 * subr.el (syntax-after, syntax-class): Doc fix.
3337
3338 2012-09-08 Martin Rudalics <rudalics@gmx.at>
3339
3340 * window.el (display-buffer-in-previous-window): New buffer
3341 display action function.
3342
3343 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
3344 (debugger-previous-window): New variable.
3345 (debug): Rewrite using display-buffer-in-previous-window,
3346 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
3347
3348 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3349
3350 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
3351
3352 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
3353
3354 * progmodes/python.el (python-shell-send-string):
3355 When default-directory is remote, create temp file on remote
3356 filesystem.
3357 (python-shell-send-file): When file is remote, pass local view of
3358 file paths to remote Python interpreter. (Bug#12340)
3359
3360 2012-09-07 Chong Yidong <cyd@gnu.org>
3361
3362 * window.el (switch-to-buffer): Doc fix (Bug#12181).
3363
3364 * files.el (after-find-file): Don't fail on a read-only buffer if
3365 require-final-newline is `visit' or `visit-save' (Bug#11156).
3366
3367 * subr.el (read-char-choice): Allow quitting via ESC ESC.
3368
3369 * userlock.el (ask-user-about-supersession-threat):
3370 Use read-char-choice (Bug#12093).
3371
3372 2012-09-07 Chong Yidong <cyd@gnu.org>
3373
3374 * subr.el (buffer-narrowed-p): New function.
3375
3376 * ses.el (ses-widen):
3377 * simple.el (count-words--buffer-message):
3378 * net/browse-url.el (browse-url-of-buffer): Use it.
3379
3380 * simple.el (count-words-region): Don't signal an error if there
3381 is a non-nil prefix arg and the mark is not set.
3382
3383 * help.el (describe-key-briefly): Allow the message to be seen
3384 when invoked from the minibuffer (Bug#7014).
3385
3386 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3387
3388 * progmodes/ruby-mode.el (ruby-end-of-defun)
3389 (ruby-beginning-of-defun): Simplify, allow indentation before
3390 block beginning and end keywords.
3391 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
3392 (ruby-end-of-defun): Expect that the point is at the beginning of
3393 the defun.
3394
3395 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3396
3397 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
3398 (bug#12367).
3399 (cl--make-usage-args): Strip _ from argument names.
3400
3401 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3402
3403 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
3404 obsolete alias speedbar-key-map.
3405 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
3406 (vhdl-index-menu-init): Don't use obsolete variable
3407 font-lock-maximum-size.
3408
3409 2012-09-06 Chong Yidong <cyd@gnu.org>
3410
3411 * frame.el (window-system-version): Mark as obsolete.
3412
3413 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
3414 of obsolete variable speedbar-key-map.
3415
3416 2012-09-06 Juri Linkov <juri@jurta.org>
3417
3418 * replace.el (replace-lax-whitespace): New defcustom.
3419 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3420 (replace-string, replace-regexp): Mention it in docstrings.
3421 (perform-replace, replace-highlight): Let-bind
3422 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
3423 to the values of replace-lax-whitespace and regexp-flag.
3424 Don't let-bind search-whitespace-regexp. (Bug#10885)
3425
3426 * isearch.el (isearch-query-replace): Let-bind
3427 replace-lax-whitespace instead of let-binding
3428 replace-search-function and replace-re-search-function.
3429 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
3430 and isearch-regexp-lax-whitespace to lazy-highlight variables.
3431 (isearch-toggle-symbol): Set isearch-regexp to nil
3432 in isearch-word mode (like in isearch-toggle-word).
3433
3434 2012-09-06 Juri Linkov <juri@jurta.org>
3435
3436 * replace.el (replace-search-function)
3437 (replace-re-search-function): Set default values to nil.
3438 (perform-replace): Let-bind isearch-related variables based on
3439 replace-related values, call `isearch-search-fun' and let-bind
3440 the result to `search-function'. Remove code that sets
3441 `search-function' and `search-string' separately for
3442 `delimited-flag'.
3443 (replace-highlight): Add new argument `delimited-flag' and
3444 rename other arguments to the names used in `perform-replace'.
3445 Let-bind `isearch-word' to the argument `delimited-flag'.
3446 (Bug#10885, bug#10887)
3447
3448 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3449
3450 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3451 ruby-beginning-of-indent, simplify, allow all keywords to have
3452 indentation before them.
3453 (ruby-beginning-of-indent): Adjust for above. Search until the
3454 found point is not inside a string or comment.
3455 (ruby-font-lock-keywords): Allow symbols to start with "@"
3456 character, give them higher priority than variables.
3457 (ruby-syntax-propertize-function)
3458 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3459 matchers. Expression expansions are not comments when inside a
3460 string, and there comment syntax status is irrelevant.
3461 (ruby-match-expression-expansion): New function. Check that
3462 expression expansion is inside a string, and it's not escaped.
3463 (ruby-font-lock-keywords): Use it.
3464
3465 2012-09-05 Martin Rudalics <rudalics@gmx.at>
3466
3467 * help.el (temp-buffer-max-height): New default value.
3468 (temp-buffer-resize-frames): New option.
3469 (resize-temp-buffer-window): Optionally resize frame.
3470
3471 * window.el (fit-frame-to-buffer-bottom-margin): New option.
3472 (fit-frame-to-buffer): New function.
3473
3474 2012-09-05 Glenn Morris <rgm@gnu.org>
3475
3476 * emulation/cua-rect.el (cua--init-rectangles):
3477 * textmodes/picture.el (picture-mode-map):
3478 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3479 like forward-char and backward-char. (Bug#12317)
3480
3481 2012-09-05 Leo Liu <sdl.web@gmail.com>
3482
3483 * progmodes/flymake.el (flymake-warning-re): New variable.
3484 (flymake-parse-line): Use it.
3485
3486 2012-09-05 Glenn Morris <rgm@gnu.org>
3487
3488 * calendar/holidays.el (holiday-christian-holidays):
3489 Rename an entry. (Bug#12289)
3490
3491 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3492
3493 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3494 (bug#12222).
3495
3496 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3497
3498 * loadup.el: Load macroexp. Remove hack.
3499 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
3500 (macroexp--expand-all): Use it to get better warnings.
3501 (macroexp--backtrace, macroexp--trim-backtrace-frame)
3502 (internal-macroexpand-for-load): New functions.
3503 (macroexp--pending-eager-loads): New var.
3504 (emacs-startup-hook): New hack to replace one in loadup.el.
3505 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3506 (cl--compiler-macro-cXXr): Move to top, before they can be used.
3507 (cl-psetf): Simplify.
3508 (cl-defstruct): Add indent rule.
3509
3510 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
3511
3512 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3513 over `user-mail-address' for the SMTP MAIL FROM envelope.
3514 (smtpmail-via-smtp): Ditto.
3515
3516 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
3517
3518 * progmodes/ruby-mode.el: Clean up keybindings.
3519 (ruby-mode-map): Don't bind ruby-electric-brace,
3520 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
3521 backward-kill-word, reindent-then-newline-and-indent.
3522 (ruby-mark-defun): Remove.
3523 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
3524 (ruby-mode): Set local beginning-of-defun-function and
3525 end-of-defun-function values.
3526
3527 2012-09-03 Martin Rudalics <rudalics@gmx.at>
3528
3529 * window.el (temp-buffer-window-setup-hook)
3530 (temp-buffer-window-show-hook): New hooks.
3531 (temp-buffer-window-setup, temp-buffer-window-show)
3532 (with-temp-buffer-window): New functions.
3533 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
3534 (special-display-popup-frame): Make sure the window used shows BUFFER.
3535
3536 * help.el (temp-buffer-resize-mode): Fix doc-string.
3537 (resize-temp-buffer-window): New optional argument WINDOW.
3538
3539 * files.el (recover-file, save-buffers-kill-emacs):
3540 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
3541
3542 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
3543
3544 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
3545 remote definition of `default-directory', ensure we can connect.
3546
3547 2012-09-02 Juri Linkov <juri@jurta.org>
3548
3549 Toggle whitespace matching mode with M-s SPC.
3550 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3551
3552 * isearch.el (search-whitespace-regexp): Doc fix.
3553 Remove cons cell customization.
3554 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3555 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3556 New variables.
3557 (isearch-forward, isearch-forward-regexp): Doc fix.
3558 (isearch-toggle-lax-whitespace): New command.
3559 (search-forward-lax-whitespace, search-backward-lax-whitespace)
3560 (re-search-forward-lax-whitespace)
3561 (re-search-backward-lax-whitespace): New functions.
3562 (isearch-whitespace-regexp): Remove function.
3563 (isearch-query-replace): Let-bind replace-search-function and
3564 replace-re-search-function.
3565 (isearch-occur): Let-bind search-spaces-regexp according to the
3566 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
3567 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
3568 condition for C-q SPC.
3569 (isearch-search-fun-default): Use new functions mentioned above.
3570 (isearch-search-forward, isearch-search-backward): Remove functions.
3571 (isearch-search): Don't let-bind search-spaces-regexp.
3572 (isearch-lazy-highlight-space-regexp): Remove variable.
3573 (isearch-lazy-highlight-lax-whitespace)
3574 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
3575 (isearch-lazy-highlight-new-loop): Use them.
3576 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
3577
3578 2012-09-02 Chong Yidong <cyd@gnu.org>
3579
3580 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
3581
3582 2012-09-02 Glenn Morris <rgm@gnu.org>
3583
3584 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
3585
3586 2012-09-01 Glenn Morris <rgm@gnu.org>
3587
3588 * term.el: Tidy up menu definitions.
3589 (term-mode-map): Use easymenu for In/Out, Complete menus.
3590 (term-pager-break-map): Initialize in the defvar.
3591 (term-terminal-menu, term-signals-menu): Define with easymenu.
3592 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
3593 (term-pager-menu): New, extracted from term-process-pager.
3594 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
3595 (term-update-mode-line): Propertize line/char and page items.
3596 (term-process-pager): Move keymap initialization elsewhere.
3597
3598 2012-09-01 Martin Rudalics <rudalics@gmx.at>
3599
3600 * window.el (switch-to-prev-buffer): Handle additional values of
3601 BURY-OR-KILL argument. Don't switch in minibuffer window.
3602 (switch-to-next-buffer): Don't switch in minibuffer window.
3603 (quit-restore-window): New function based on quit-window.
3604 Handle additional values of former KILL argument.
3605 (quit-window): Call quit-restore-window with appropriate
3606 interpretation of KILL argument.
3607 (display-buffer-below-selected): New buffer display action
3608 function.
3609
3610 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3611
3612 * minibuffer.el (completion-at-point-functions): Complete docstring
3613 (bug#12254).
3614
3615 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
3616
3617 Better seed support for (random).
3618 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
3619 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
3620 * play/mpuz.el, play/tetris.el, play/zone.el:
3621 * calc/calc-comb.el (math-init-random-base):
3622 * play/blackbox.el (bb-init-board):
3623 * play/life.el (life):
3624 * server.el (server-use-tcp):
3625 * type-break.el (type-break):
3626 Remove unnecessary call to (random t).
3627 * net/sasl.el (sasl-unique-id-function):
3628 Change (random t) to (random), now that the latter is more random.
3629 * play/life.el (life-initialized): Remove no-longer-needed var.
3630
3631 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
3632
3633 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3634 Consider frame's buffer predicate when choosing the buffer.
3635 (Bug#12081)
3636
3637 2012-08-30 Richard Stallman <rms@gnu.org>
3638
3639 * simple.el (special-mode-map): Delete binding for `z'.
3640
3641 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
3642
3643 * progmodes/compile.el (compilation-always-kill): Doc fix.
3644
3645 2012-08-30 Chong Yidong <cyd@gnu.org>
3646
3647 * window.el (display-buffer-reuse-frames): Make the obsolescence
3648 message more informative.
3649
3650 2012-08-30 Glenn Morris <rgm@gnu.org>
3651
3652 * paren.el (show-paren-delay):
3653 Add a :set function. Doc fix. (Bug#12297)
3654
3655 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
3656
3657 * progmodes/compile.el (compilation-always-kill): New var.
3658 (compilation-start): Use it.
3659
3660 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3661
3662 * simple.el (read-only-mode): Move from files.el for bootstrapping.
3663 * files.el (read-only-mode): Move to simple.el.
3664
3665 * files.el (read-only-mode): New minor mode.
3666 (toggle-read-only): Use it and mark obsolete.
3667 (find-file--read-only):
3668 * vc/vc.el (vc-next-action, vc-checkout):
3669 * vc/vc-cvs.el (vc-cvs-checkout):
3670 * obsolete/vc-mcvs.el (vc-mcvs-update):
3671 * ffap.el (ffap--toggle-read-only): Update callers.
3672
3673 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
3674
3675 * eshell/esh-ext.el (eshell-external-command): Do not examine
3676 remote shell scripts.
3677 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
3678
3679 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
3680 "/usr/local/sbin".
3681
3682 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3683
3684 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
3685
3686 2012-08-28 Leo Liu <sdl.web@gmail.com>
3687
3688 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
3689 completion-at-point. (Bug#12220)
3690
3691 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
3692
3693 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
3694
3695 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3696
3697 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
3698 be buffer-local; add delete-trailing-whitespace (bug#12259).
3699
3700 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
3701
3702 * progmodes/hideif.el (hif-compress-define-list):
3703 Fix typo. (Bug#11951)
3704
3705 2012-08-28 Dan Nicolaescu <dann@gnu.org>
3706
3707 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
3708 buffer local setting.
3709
3710 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
3711 rcirc-encode-coding-system.
3712
3713 2012-08-28 Leo Liu <sdl.web@gmail.com>
3714
3715 * net/rcirc.el (rcirc-split-message): New function.
3716 (rcirc-send-message): Use it. (Bug#12051)
3717
3718 2012-08-28 Juri Linkov <juri@jurta.org>
3719
3720 * info.el (Info-fontify-node): Hide empty lines at the end of
3721 the node. (Bug#12272)
3722
3723 2012-08-27 Drew Adams <drew.adams@oracle.com>
3724
3725 * dired.el (dired-pop-to-buffer): Make window start at beginning
3726 of buffer (Bug#12281).
3727
3728 2012-08-26 Chong Yidong <cyd@gnu.org>
3729
3730 * window.el (special-display-regexps, special-display-frame-alist)
3731 (special-display-buffer-names, special-display-function)
3732 (display-buffer-reuse-frames): Mark as obsolete.
3733
3734 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
3735
3736 * help.el (help-print-return-message): Don't treat
3737 display-buffer-reuse-frames specially.
3738
3739 2012-08-26 Chong Yidong <cyd@gnu.org>
3740
3741 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3742 New variable, replacing gdb-frame-parameters.
3743 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3744 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3745 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3746 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3747 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
3748 the functions directly with gdb-display-buffer-other-frame-action.
3749 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3750 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3751 (gdb-display-stack-buffer, gdb-display-locals-buffer)
3752 (gdb-display-registers-buffer): Define directly.
3753 (def-gdb-display-buffer): Macro deleted.
3754 (gdb-display-buffer): Remove second and third args, callers don't
3755 use them. Defer to the default display-buffer behavior, apart
3756 from making windows dedicated.
3757 (gdb-setup-windows): Don't call display-buffer unnecessarily.
3758
3759 * progmodes/gud.el (gud-display-line): Just use display-buffer.
3760
3761 * window.el (display-buffer-pop-up-frame): Handle a
3762 pop-up-frame-parameters alist entry.
3763 (display-buffer): Document it.
3764
3765 2012-08-26 Chong Yidong <cyd@gnu.org>
3766
3767 * isearch.el (search-whitespace-regexp): Make string and nil
3768 values apply to both ordinary and regexp search. Allow a cons
3769 cell value to distinguish between the two.
3770 (isearch-whitespace-regexp, isearch-search-forward)
3771 (isearch-search-backward): New functions.
3772 (isearch-occur, isearch-search-fun-default, isearch-search)
3773 (isearch-lazy-highlight-new-loop): Use them.
3774 (isearch-forward, isearch-forward-regexp): Doc fix.
3775
3776 2012-08-26 Chong Yidong <cyd@gnu.org>
3777
3778 * faces.el (help-argument-name): Always inherit from italic
3779 (Bug#12213).
3780
3781 2012-08-25 Martin Rudalics <rudalics@gmx.at>
3782
3783 * window.el (window--even-window-heights): Even heights when
3784 WINDOW and the selected window form a vertical combination.
3785 (display-buffer-use-some-window): Provide that window used gets
3786 sized back by quit-window. (Bug#11880) and (Bug#12091)
3787
3788 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3789
3790 Fix file time stamp problem with bzr and CVS (Bug#12001).
3791 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3792 in the file's time stamp, since the version control system loses
3793 that information.
3794
3795 2012-08-22 Juri Linkov <juri@jurta.org>
3796
3797 * info.el (Info-fontify-node): Hide the suffix of the
3798 Info file name in the header line. (Bug#12187)
3799
3800 2012-08-22 Glenn Morris <rgm@gnu.org>
3801
3802 * calendar/cal-tex.el (cal-tex-weekly-common):
3803 Restore leading blank page.
3804
3805 2012-08-22 Le Wang <l26wang@gmail.com>
3806
3807 * misc.el (forward-to-word, backward-to-word): Activate or extend
3808 the region under `shift-select-mode'. (Bug#12231)
3809
3810 2012-08-22 Bastien Guerry <bzg@gnu.org>
3811
3812 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3813 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3814 gives details on why the space is never needed.
3815
3816 2012-08-22 Martin Rudalics <rudalics@gmx.at>
3817
3818 * window.el (walk-window-tree, window-with-parameter):
3819 New optional argument MINIBUF to control whether these functions
3820 should run on the minibuffer window.
3821 (window-at-side-list): Don't operate on minibuffer window.
3822 (window-in-direction): Simplify and rewrite doc-string.
3823 (window--size-ignore): Rename to window--size-ignore-p.
3824 Update callers.
3825 (display-buffer-in-atom-window, window--major-non-side-window)
3826 (window--major-side-window, display-buffer-in-major-side-window)
3827 (delete-side-window, display-buffer-in-side-window):
3828 New functions.
3829 (window--side-check, window-deletable-p, delete-window)
3830 (delete-other-windows, split-window): Handle side windows and
3831 atomic windows appropriately.
3832 (window--display-buffer): Call display-buffer-record-window also
3833 when the window buffer did not change.
3834
3835 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3836
3837 * help-fns.el (help-fns--key-bindings):
3838 Abbreviate non-symbol remap targets. (Bug#12174)
3839
3840 2012-08-22 Martin Rudalics <rudalics@gmx.at>
3841
3842 * dired.el (dired-mark-remembered): Don't clobber point.
3843 (Bug#11795)
3844
3845 2012-08-22 Glenn Morris <rgm@gnu.org>
3846
3847 * progmodes/bug-reference.el (bug-reference): New custom group.
3848 (bug-reference-bug-regexp): Make it a defcustom.
3849
3850 2012-08-22 Daiki Ueno <ueno@unixuser.org>
3851
3852 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3853 (js-paren-indent-offset, js-square-indent-offset)
3854 (js-curly-indent-offset): Add :safe (Bug#12257).
3855
3856 2012-08-22 Edward O'Connor <hober0@gmail.com>
3857
3858 * json.el (json-key-format): Add error properties.
3859 (json-encode-key): New function.
3860 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3861 Use json-encode-key.
3862
3863 2012-08-22 Glenn Morris <rgm@gnu.org>
3864
3865 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3866 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3867 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3868 Update for above change.
3869
3870 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3871
3872 * cus-face.el (custom-face-attributes): Fix customize type for the
3873 :underline attribute. (Bug#11805)
3874
3875 2012-08-21 Martin Rudalics <rudalics@gmx.at>
3876
3877 * window.el (window-point-1, set-window-point-1): Remove.
3878 (window-in-direction, record-window-buffer)
3879 (set-window-buffer-start-and-point, split-window-below)
3880 (window--state-get-1, display-buffer-record-window):
3881 Replace calls to window-point-1 and set-window-point-1 by calls to
3882 window-point and set-window-point respectively.
3883
3884 2012-08-21 Glenn Morris <rgm@gnu.org>
3885
3886 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3887 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3888 Use it.
3889
3890 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3891 (cal-tex-shortday): New function.
3892 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3893 (cal-tex-cursor-filofax-daily): Use the above.
3894
3895 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3896 New functions.
3897 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3898 (cal-tex-cursor-filofax-week): Use them.
3899
3900 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3901 New constants.
3902 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3903 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3904
3905 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3906 (cal-tex-end-document): Don't rely on buffer name.
3907
3908 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3909 Use cal-tex-vspace.
3910 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3911 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
3912 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3913 Use cal-tex-arg.
3914
3915 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3916 (cal-tex-cursor-week, cal-tex-cursor-week2)
3917 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3918 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3919 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3920 (cal-tex-insert-preamble, cal-tex-b-document)
3921 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3922 Improve cal-tex-cmd usage.
3923
3924 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3925 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3926 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3927 (cal-tex-weekly-paper): New function.
3928 (cal-tex-cursor-week, cal-tex-cursor-week2)
3929 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3930 (cal-tex-cursor-day): Use it.
3931
3932 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3933 (cal-tex-cursor-filofax-week): Remove leading blank page.
3934
3935 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3936 Add autoload cookie. For now at least, don't use color, since
3937 no other cal-tex function does.
3938
3939 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3940 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3941 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3942
3943 2012-08-21 Juri Linkov <juri@jurta.org>
3944
3945 * info.el (Info-file-attributes): New variable.
3946 (info-insert-file-contents): Add file attributes to
3947 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3948 `Info-toc-nodes' when previous modtime of the Info file is less
3949 than new modtime.
3950 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3951 of info.el. (Bug#12230)
3952
3953 2012-08-20 Glenn Morris <rgm@gnu.org>
3954
3955 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3956 * calendar/holidays.el (calendar-holiday-list):
3957 Report errors with display-warning rather than beep'n'sleep.
3958
3959 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
3960
3961 * net/tramp.el (tramp-accept-process-output): Accept only output
3962 from PROC. Otherwise, process filters and sentinels might be
3963 confused. (Bug#12145)
3964
3965 2012-08-20 Chong Yidong <cyd@gnu.org>
3966
3967 * descr-text.el (describe-text-properties-1): Use overlays-in to
3968 report on empty overlays (Bug#3322).
3969
3970 2012-08-20 Glenn Morris <rgm@gnu.org>
3971
3972 * mail/rmailout.el (rmail-output-read-file-name):
3973 Trap and report errors in rmail-output-file-alist elements.
3974
3975 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3976 since most non-font-lock faces are not also variables).
3977
3978 2012-08-20 Edward Reingold <reingold@iit.edu>
3979
3980 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3981 New function. (Bug12160)
3982
3983 2012-08-19 Glenn Morris <rgm@gnu.org>
3984
3985 * mail/rmailout.el (rmail-output-read-file-name):
3986 Fix previous change (when the alist is nil or does not match).
3987
3988 2012-08-19 Chong Yidong <cyd@gnu.org>
3989
3990 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3991 (Bug#12228).
3992
3993 2012-08-18 Chong Yidong <cyd@gnu.org>
3994
3995 * simple.el (yank-handled-properties): New defcustom.
3996 (yank-excluded-properties): Add font-lock-face and category.
3997 (yank): Doc fix.
3998
3999 * subr.el (remove-yank-excluded-properties):
4000 Obey yank-handled-properties. The special handling of font-lock-face
4001 and category is now done this way, instead of being hard-coded.
4002 (insert-for-yank-1): Remove font-lock-face handling.
4003 (yank-handle-font-lock-face-property)
4004 (yank-handle-category-property): New function.
4005
4006 2012-08-17 Glenn Morris <rgm@gnu.org>
4007
4008 * mail/rmailout.el (rmail-output-read-file-name):
4009 Check rmail-output-file-alist against the full message body
4010 in the correct rmail buffer. (Bug#12214)
4011
4012 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
4013
4014 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4015 Eliminate superfluous prompt. (Bug#12203)
4016
4017 2012-08-17 Chong Yidong <cyd@gnu.org>
4018
4019 * mouse.el (mouse-appearance-menu): If x-select-font returns a
4020 font spec, set the font directly (Bug#3228).
4021
4022 2012-08-17 Martin Rudalics <rudalics@gmx.at>
4023
4024 * window.el (delete-window): Fix last fix.
4025
4026 2012-08-16 Martin Rudalics <rudalics@gmx.at>
4027
4028 * window.el (window-valid-p): Move to window.c.
4029 (window-child, window-child-count, window-last-child)
4030 (window-normalize-window, window-combined-p)
4031 (window-combinations, window-atom-root, window-min-size)
4032 (window-sizable, window-sizable-p, window-size-fixed-p)
4033 (window-min-delta, window-max-delta, window--resizable)
4034 (window--resizable-p, window-resizable, window-total-size)
4035 (window-full-height-p, window-full-width-p, window-body-size)
4036 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
4037 (minimize-window, window-deletable-p, delete-window)
4038 (delete-other-windows, set-window-buffer-start-and-point)
4039 (next-buffer, previous-buffer, split-window, balance-windows-2)
4040 (set-window-text-height, window-buffer-height)
4041 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
4042 (truncated-partial-width-window-p): Minor code adjustments.
4043 In doc-strings state whether the argument window has to denote a
4044 live, valid or any window.
4045
4046 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
4047
4048 * progmodes/subword.el (subword-forward-function)
4049 (subword-backward-function, subword-forward-regexp)
4050 (subword-backward-regexp): New variables.
4051 (subword-forward, subword-forward-internal, subword-backward-internal):
4052 Use new variables, eg so that different "word" definitions
4053 can be easily used. (Bug#11411)
4054
4055 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4056
4057 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
4058 for composite selectors.
4059 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
4060 operation just because we can't find a previous revision.
4061
4062 2012-08-15 Chong Yidong <cyd@gnu.org>
4063
4064 * frame.el (set-frame-font): Accept font objects.
4065
4066 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4067
4068 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
4069
4070 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
4071
4072 * man.el (Man-overstrike-face, Man-underline-face)
4073 (Man-reverse-face): Remove variables.
4074 (Man-overstrike, Man-underline, Man-reverse): New faces.
4075 (Man-fontify-manpage): Use them instead of the variables.
4076 (Man-cleanup-manpage): Comment change.
4077 (Man-ansi-color-map): New variable.
4078 (Man-fontify-manpage): Use it.
4079 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
4080
4081 Implement ANSI SGR parameters 22-27 (bug#12146).
4082 * ansi-color.el (ansi-colors): Doc fix.
4083 (ansi-color-context, ansi-color-context-region): Doc fix.
4084 (ansi-color--find-face): New function.
4085 (ansi-color-apply, ansi-color-apply-on-region): Use it.
4086 Rename the local variable `face' to `codes' since it is now a list of
4087 ansi codes. Doc fix.
4088 (ansi-color-get-face): Remove.
4089 (ansi-color-parse-sequence): New function, derived from
4090 ansi-color-get-face.
4091 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
4092 codes 22-27.
4093
4094 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
4095
4096 * subr.el (read-passwd): Allow use from a minibuffer.
4097
4098 2012-08-14 Eli Zaretskii <eliz@gnu.org>
4099
4100 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
4101 inside comments and strings as identifiers.
4102
4103 * progmodes/gud.el (gud-tooltip-print-command): Quote the
4104 expression to evaluate. This allows to evaluate expressions with
4105 embedded whitespace.
4106 (gud-tooltip-tips): Add a blank before the newline in the
4107 message-box text, for the benefit of message-box emulation on
4108 MS-Windows.
4109
4110 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
4111 messages from GDB, pop them up in a tooltip to give feedback to
4112 user.
4113 (gdb-tooltip-print-1): Quote the expression to evaluate.
4114 This allows to evaluate expressions with embedded whitespace.
4115 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
4116 if the TTY name is nil or empty (which happens when communicating
4117 with the inferior via pipes, e.g. on MS-Windows).
4118 (gdb-internals): If GDB sends a "&\n" empty debugging message,
4119 don't send that to the GUD buffer.
4120
4121 2012-08-14 Glenn Morris <rgm@gnu.org>
4122
4123 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
4124 Optimize away setq-default with no args, as for setq. (Bug#12195)
4125
4126 2012-08-14 Chong Yidong <cyd@gnu.org>
4127
4128 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
4129
4130 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
4131 (Bug#12085).
4132
4133 2012-08-14 Glenn Morris <rgm@gnu.org>
4134
4135 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
4136
4137 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
4138
4139 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
4140 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4141 Use cached shell name.
4142
4143 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4144
4145 * progmodes/python.el (python-shell-send-string):
4146 (python-shell-send-setup-code): Do not use `format' with `message'.
4147
4148 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
4149
4150 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
4151 (ruby-percent-literal-beg-re): New constant.
4152 (ruby-syntax-general-delimiters-goto-beg): Rename to
4153 `ruby-syntax-enclosing-percent-literal', improve literal type check.
4154 (ruby-syntax-propertize-general-delimiters): Rename to
4155 `ruby-syntax-propertize-percent-literal', it's a shorter and more
4156 popular term. Adjust comments everywhere.
4157 (ruby-syntax-propertize-percent-literal): Only propertize when not
4158 inside a simple string or comment. When the literal is unclosed,
4159 leave the text after it unpropertized.
4160 (ruby-syntax-methods-before-regexp): New constant.
4161 (ruby-syntax-propertize-function): Use it to recognize regexps.
4162 Don't look at the text after regexp, just use the whitelist.
4163
4164 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
4165
4166 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
4167 non-nil always load the compiled file if it exists. (Bug#12197)
4168
4169 2012-08-14 Chong Yidong <cyd@gnu.org>
4170
4171 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
4172 (hi-lock-set-pattern): When deciding whether to use font lock or
4173 overlays, look at font-lock-mode instead of font-lock-fontified
4174 (Bug#12168).
4175 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
4176 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
4177
4178 2012-08-14 Daiki Ueno <ueno@unixuser.org>
4179
4180 * subr.el (internal--after-with-selected-window): Fix typo
4181 (Bug#12193).
4182
4183 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4184
4185 Use `completion-table-dynamic' for completion functions.
4186 * progmodes/python.el
4187 (python-shell-completion--do-completion-at-point)
4188 (python-shell-completion--get-completions):
4189 Remove functions.
4190 (python-shell-completion-complete-at-point): New function.
4191 (python-completion-complete-at-point): Use it.
4192
4193 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
4194
4195 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
4196 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
4197
4198 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4199
4200 * subr.el (function-get): Refine `autoload' arg so it can also
4201 autoload functions for gv.el (bug#12191).
4202 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
4203 autoloads macros.
4204
4205 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
4206 Prefer pcase-let over destructuring-bind.
4207 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
4208 Also, remove whitespace as we go, rather than after accumulating the
4209 various places.
4210
4211 * subr.el (internal--before-with-selected-window)
4212 (internal--after-with-selected-window): Fix typo seleted->selected.
4213 (with-selected-window): Adjust callers.
4214 Reported by Dmitry Gutov <dgutov@yandex.ru>.
4215
4216 2012-08-13 Bastien Guerry <bzg@gnu.org>
4217
4218 * window.el (special-display-popup-frame): Minor docstring
4219 enhancement. (Bug#12172)
4220
4221 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
4222
4223 * tar-mode.el (tar-header-data-end): Only ignore size for files of
4224 type 1-6.
4225 (tar-header-block-summarize, tar-get-descriptor): Handle pax
4226 extended headers.
4227
4228 * files.el (hack-local-variables-filter): Remove useless eval.
4229
4230 2012-08-13 Martin Rudalics <rudalics@gmx.at>
4231
4232 * subr.el (with-selected-window): Fix last change.
4233
4234 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4235
4236 * subr.el (internal--before-with-seleted-window)
4237 (internal--after-with-seleted-window): New functions.
4238 (with-selected-window): Use them, to replace dependency on
4239 tty-top-frame.
4240
4241 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
4242
4243 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4244 binding for `newline'.
4245 (ruby-move-to-block): When moving backward, stop at block opening,
4246 not indentation.
4247 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4248 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4249 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4250 `ruby-toggle-block'.
4251
4252 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4253
4254 * ibuffer.el (ibuffer-do-toggle-read-only):
4255 * dired.el (dired-toggle-read-only):
4256 * buff-menu.el (Buffer-menu-toggle-read-only):
4257 * bindings.el (mode-line-toggle-read-only):
4258 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4259
4260 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
4261
4262 * descr-text.el (describe-char): Put the overlays over the
4263 "displayed as" character.
4264
4265 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
4266
4267 * calc/calc-units.el (math-default-units-table): Give an
4268 initial value.
4269 (math-put-default-units): Add options to put composite units and
4270 unit systems in the default units table.
4271 (calc-convert-units): Send composite units to
4272 `math-put-default-units' when appropriate.
4273
4274 2012-08-11 Glenn Morris <rgm@gnu.org>
4275
4276 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
4277
4278 * tutorial.el (help-with-tutorial):
4279 * emacs-lisp/copyright.el (copyright-update-directory):
4280 * emacs-lisp/autoload.el (autoload-find-generated-file)
4281 (autoload-find-file): Disable local eval: (for insurance).
4282
4283 * files.el (hack-local-variables-filter): If an eval: form is not
4284 known to be safe, and enable-local-variables is :safe, then ignore
4285 the form totally, as is done for non-eval forms. (Bug#12155)
4286 This is CVE-2012-3479.
4287
4288 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4289
4290 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4291 (rx-form): Simplify.
4292
4293 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
4294
4295 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4296 ?, _, and : are symbol constituents, ! is not (but kinda should be).
4297 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4298 (ruby-syntax-propertize-function): Adjust for changes in
4299 `ruby-syntax-propertize-heredoc'.
4300
4301 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
4302
4303 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4304 binding (use `M-;' instead).
4305 (ruby-singleton-class-p): New function.
4306 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
4307
4308 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4309
4310 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4311
4312 2012-08-10 Chong Yidong <cyd@gnu.org>
4313
4314 * progmodes/python.el (python-shell-get-process-name): Don't mess
4315 with same-window-buffer-names.
4316
4317 * eshell/eshell.el (eshell-add-to-window-buffer-names)
4318 (eshell-remove-from-window-buffer-names): Make obsolete.
4319 (eshell-buffer-name, eshell-unload-hook): Don't use them.
4320 (eshell): Just use pop-to-buffer-same-window instead.
4321
4322 2012-08-10 Chong Yidong <cyd@gnu.org>
4323
4324 * bindings.el: Bind M-= back to count-words-region.
4325
4326 * simple.el (count-words-region): Accept a prefix arg for acting
4327 on the entire buffer.
4328 (count-words--buffer-message): New helper function.
4329
4330 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4331
4332 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
4333 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
4334 (event-start, event-end): Use posn-at-point to return a more
4335 informative posn.
4336 (posnp): New function.
4337 * mouse.el (popup-menu-normalize-position): Use it.
4338
4339 2012-08-10 Masatake YAMATO <yamato@redhat.com>
4340
4341 * mouse.el (popup-menu-normalize-position): New function.
4342 (popup-menu): Use `popup-menu-normalize-position' to normalize
4343 the form for POSITION argument.
4344
4345 * term/x-win.el (x-menu-bar-open):
4346 Use the value returend from (posn-at-point) as position
4347 passed to `popup-menu'.
4348
4349 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4350
4351 * calc/calccomp.el (math-compose-expr): Add extra argument
4352 indicating that parentheses should be put around products in
4353 denominators. Give multiplication precedence over division during
4354 composition.
4355
4356 2012-08-09 Chong Yidong <cyd@gnu.org>
4357
4358 * man.el (Man-switches, Man-sed-command, Man-awk-command)
4359 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
4360 (Man-untabify-command, manual-program): Convert to defcustom
4361 (Bug#10429).
4362
4363 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4364
4365 * descr-text.el (describe-char): Don't insert extra newlines
4366 (Bug#10127).
4367
4368 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4369 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4370
4371 * align.el (align-region): Delete temporary markers (Bug#10047).
4372 Plus some code cleanups.
4373
4374 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4375
4376 * progmodes/python.el (python-pdbtrack-tracked-buffer)
4377 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4378 (python-shell-internal-last-output): Use make-local-variable
4379 instead of make-variable-buffer-local.
4380
4381 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4382
4383 * progmodes/python.el: Enhancements to forward-sexp.
4384 (python-nav-forward-sexp): Rename from
4385 python-nav-forward-sexp-function.
4386 (python-nav--forward-sexp, python-nav--backward-sexp):
4387 New functions.
4388
4389 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4390
4391 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
4392 modes and simplification modes.
4393
4394 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4395
4396 * delsel.el (delete-selection-pre-hook): Don't propagate the
4397 file-supersession signals (bug#12161).
4398
4399 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4400
4401 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
4402 (cl-map-extents): Add compatibility aliases (bug#12135).
4403
4404 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
4405
4406 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
4407 tests by `ignore-error'.
4408 (tramp-find-shell): Open also a new shell, when cache is already
4409 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
4410
4411 2012-08-08 Juri Linkov <juri@jurta.org>
4412
4413 * bookmark.el: Add `defaults' property to the bookmark record.
4414 (bookmark-current-buffer): Doc fix.
4415 (bookmark-make-record): Add `defaults' property with default values
4416 to the bookmark record.
4417 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
4418 with `bookmark-insert-current-bookmark'.
4419 (bookmark-set): Get `defaults' property from the bookmark record
4420 and use it in `read-from-minibuffer'.
4421 (bookmark-insert-current-bookmark): Remove function.
4422
4423 * info.el (Info-bookmark-make-record): Add `defaults' property
4424 with values of canonical Info node name, the current Info file
4425 name and the current Info node name. (Bug#12107)
4426
4427 2012-08-08 Juri Linkov <juri@jurta.org>
4428
4429 * files.el (basic-save-buffer): Use `buffer-name' as the default
4430 of `read-file-name' when buffer is not visiting a file (bug#12128).
4431
4432 2012-08-08 Juri Linkov <juri@jurta.org>
4433
4434 * info.el (Info-isearch-search): Doc fix.
4435 (Info-search): Change search-failed message from "initial node" to
4436 "end of node" (bug#12078).
4437 (Info-isearch-search): Change `isearch-string-state' to
4438 `isearch--state-string'.
4439
4440 2012-08-08 Glenn Morris <rgm@gnu.org>
4441
4442 * language/persian.el: Remove file.
4443 * language/misc-lang.el: Move unique part of persian.el here.
4444 * loadup.el: Remove language/persian.
4445
4446 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
4447
4448 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4449
4450 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
4451
4452 * progmodes/python.el: Fix defsubst warning.
4453 (python-syntax-context) Rename from python-info-ppss-context.
4454 (python-syntax-context-type): Rename from
4455 python-info-ppss-context-type.
4456 (python-syntax-comment-or-string-p): Rename from
4457 python-info-ppss-comment-or-string-p.
4458
4459 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4460
4461 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4462
4463 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
4464
4465 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4466 a defcustom that is quoted with backquote.
4467
4468 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4469 Fix handling of interactive spec when the body uses return.
4470 (math-do-arg-check, math-define-function-body): Use backquote forms.
4471 * calc/calc-ext.el (math-defcache): Likewise.
4472 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4473 * allout.el (allout-new-exposure): Likewise.
4474 * calc/calcalg2.el (math-tracing-integral): Likewise.
4475 * info.el (Info-last-menu-item): Likewise.
4476 * emulation/vip.el (vip-loop): Likewise.
4477 * textmodes/artist.el (artist-funcall): Likewise.
4478 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4479 Construct menu-item directly.
4480
4481 * progmodes/autoconf.el (font-lock-syntactic-keywords):
4482 Don't declare.
4483
4484 2012-08-07 Chong Yidong <cyd@gnu.org>
4485
4486 * simple.el (deactivate-mark): Preserve text properties when
4487 saving the primary selection (Bug#8384).
4488
4489 2012-08-07 Kevin Ryde <user42@zip.com.au>
4490
4491 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4492 (woman-parse-numeric-value): On a bad .IP line, issue a warning
4493 and continue processing (Bug#12110).
4494
4495 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4496
4497 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4498 syntax-propertize-function (bug#10095).
4499
4500 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4501
4502 * help-fns.el (help-fns--key-bindings, help-fns--signature)
4503 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
4504 describe-function-1.
4505 (describe-function-1): Use them. Move compiler macro after sig.
4506 (help-fns--compiler-macro): Use function-get. Assume we're already in
4507 standard-output. Adjust layout to new call order.
4508
4509 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4510 re-binding a symbol that has a symbol-macro (bug#12119).
4511
4512 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
4513
4514 * language/persian.el: New file. (Bug#11812)
4515 * loadup.el: Add language/persian.el.
4516
4517 2012-08-06 Chong Yidong <cyd@gnu.org>
4518
4519 * window.el (window--maybe-raise-frame): New function.
4520 (window--display-buffer): Split off from here.
4521 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4522 (display-buffer-pop-up-window, display-buffer-use-some-window):
4523 Obey an inhibit-switch-frame action alist entry.
4524 (display-buffer): Update doc.
4525
4526 * replace.el (occur-after-change-function): Avoid losing focus by
4527 using the inhibit-switch-frame display parameter (Bug#12139).
4528
4529 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
4530
4531 Make internal shell process buffer names start with space.
4532 * progmodes/python.el (python-shell-make-comint): Add optional
4533 argument INTERNAL.
4534 (run-python-internal): Use it.
4535 (python-shell-internal-get-or-create-process): Check for new
4536 internal buffer names.
4537
4538 2012-08-06 Glenn Morris <rgm@gnu.org>
4539
4540 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
4541 Do less getting and setting of environment variables.
4542
4543 2012-08-05 Chong Yidong <cyd@gnu.org>
4544
4545 * proced.el (proced): Add substitution string to docstring to
4546 trigger autoloading of the proced library on C-h f (Bug#1768).
4547
4548 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4549 Don't show defvars which have no second argument (Bug#8638).
4550
4551 * imenu.el (imenu-generic-expression): Move documentation here
4552 from imenu--generic-function.
4553 (imenu--generic-function): Refer to imenu-generic-expression.
4554
4555 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
4556
4557 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4558 indentation declaration.
4559 (viper-loop): Add indentation declaration (Bug#7025).
4560
4561 2012-08-05 Chong Yidong <cyd@gnu.org>
4562
4563 * help-fns.el (describe-variable): Add hyperlink for
4564 directory-local variables files. Improve buffer-local and
4565 permanent-local reporting; suggested by MON KEY (Bug#6644).
4566
4567 * help-mode.el (help-dir-local-var-def): New button type.
4568
4569 * files.el (kill-buffer-hook): Provide a defvar.
4570
4571 2012-08-05 Glenn Morris <rgm@gnu.org>
4572
4573 * eshell/esh-ext.el (eshell/addpath):
4574 Also update eshell-path-env. (Bug#12013)
4575
4576 2012-08-05 Chong Yidong <cyd@gnu.org>
4577
4578 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
4579
4580 * fringe.el (fringe-styles): Add docstring.
4581 (fringe--check-mode): New function.
4582 (set-fringe-mode, set-fringe-style): Use it.
4583 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
4584
4585 * files.el (set-auto-mode): Fix invalid setq call.
4586
4587 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4588
4589 * isearch.el: Misc simplification; use defstruct.
4590 (isearch-mode-map): Dense maps now work like sparse ones.
4591 (isearch--state): New defstruct.
4592 (isearch-string-state, isearch-message-state, isearch-point-state)
4593 (isearch-success-state, isearch-forward-state)
4594 (isearch-other-end-state, isearch-word-state, isearch-error-state)
4595 (isearch-wrapped-state, isearch-barrier-state)
4596 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
4597 replaced by defstruct's accessors.
4598 (isearch--set-state): Rename from isearch-top-state and change
4599 calling convention.
4600 (isearch-push-state): Use new isearch--get-state.
4601 (isearch-toggle-word): Disable regexp when enabling word.
4602 (isearch-message-prefix): Remove unused arg _c-q-hack.
4603 (isearch-message-suffix): Remove unused arg _ellipsis.
4604
4605 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
4606
4607 * simple.el (list-processes--refresh): For a server use :host or
4608 :local as the address.
4609 (list-processes): Doc fix.
4610
4611 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
4612
4613 * lisp/mpc.el: Support password in host argument.
4614 (mpc--proc-connect): Parse and use new password element.
4615 Set mpc-proc variable instead of returning process.
4616 (mpc-proc): Adjust accordingly.
4617
4618 2012-08-03 Eli Zaretskii <eliz@gnu.org>
4619
4620 * whitespace.el (whitespace-display-mappings): Use Unicode
4621 codepoints, instead of emacs-mule codepoints. See
4622 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
4623 for the details.
4624
4625 * files.el (file-truename): Don't skip symlink-chasing part on
4626 windows-nt. Incorporate the resolution of 8+3 short aliases on
4627 Windows into the loop that recursively chases symlinks.
4628 Compare directory and its parent case-insensitively on MS-Windows and
4629 MS-DOS.
4630
4631 2012-08-03 Chong Yidong <cyd@gnu.org>
4632
4633 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
4634
4635 * sort.el (sort-regexp-fields): Doc fix.
4636
4637 2012-08-03 Tassilo Horn <tsdh@gnu.org>
4638
4639 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
4640 labels regex position point at the expected place.
4641
4642 2012-08-03 MON KEY <monkey@sandpframing.com>
4643
4644 * net/imap.el (imap-interactive-login, imap-authenticate)
4645 (imap-mailbox-lsub, imap-mailbox-list)
4646 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
4647 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
4648 (imap-parse-response): Doc fix.
4649
4650 2012-08-03 João Távora <joaotavora@gmail.com>
4651
4652 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
4653 if sexp scanning does not move point (Bug#5734).
4654
4655 2012-08-02 Tassilo Horn <tsdh@gnu.org>
4656
4657 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
4658 Add listings, minted, and ctable packages.
4659 (reftex-label-alist-builtin): Move listings, minted, and ctable
4660 entries before LaTeX.
4661 (reftex-label-alist): Docfix.
4662
4663 2012-08-02 Bastien Guerry <bzg@gnu.org>
4664
4665 * replace.el (occur): Fix docstring (bug#12122).
4666
4667 2012-08-02 Glenn Morris <rgm@gnu.org>
4668
4669 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
4670
4671 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
4672
4673 Obsolete alias inactivate-current-input-method-function (Bug#10150).
4674 * international/mule-cmds.el: Create
4675 inactivate-current-input-method-function as an obsolete alias for
4676 deactivate-current-input-method-function. See Katsumi Yamaoka in
4677 <http://bugs.gnu.org/10150#46>.
4678
4679 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
4680
4681 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
4682 of nested `if's.
4683
4684 2012-08-01 Glenn Morris <rgm@gnu.org>
4685
4686 * progmodes/autoconf.el (autoconf-definition-regexp):
4687 Add AH_TEMPLATE, adjust submatch numbering.
4688 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
4689 (autoconf-current-defun-function): Update for above change.
4690 (autoconf-current-defun-function): First skip to end of current word.
4691
4692 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
4693
4694 * calendar/cal-html.el (cal-html-insert-agenda-days):
4695 Fix typo. (Bug#12018)
4696
4697 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4698
4699 Shell processes: enhancements to startup and CEDET compatibility.
4700 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
4701 (python-shell-make-comint): accept-process-output at startup.
4702 (run-python-internal): Set inferior-python-mode-hook to nil.
4703 (python-shell-internal-get-or-create-process): call sit-for.
4704 (python-preoutput-result): Add obsolete alias.
4705 (python-shell-internal-send-string): Use it.
4706 (python-shell-send-setup-code): Remove call to
4707 accept-process-output.
4708
4709 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
4710
4711 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
4712 (Bug#12108)
4713
4714 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
4715
4716 * calc-mode.el (calc-basic-simplification-mode): Rename from
4717 `calc-limited-simplification-mode'.
4718 (calc-alg-simplification-mode): New function.
4719 (calc-set-simplify-mode): Adjust message.
4720
4721 * calc.el (calc-set-mode-line): Adjust mode line display for
4722 basic simplification mode.
4723
4724 * calc-help.el (calc-m-prefix-help): Update help message.
4725
4726 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
4727 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
4728
4729 2012-07-31 Bastien Guerry <bzg@gnu.org>
4730
4731 * man.el (man): Fix comment. (bug#12101)
4732
4733 2012-07-31 Martin Rudalics <rudalics@gmx.at>
4734
4735 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4736 Don't return a non-nil value when no suitable buffer was found.
4737
4738 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4739
4740 * progmodes/python.el (run-python-internal): Disable font lock for
4741 internal shells.
4742
4743 2012-07-30 Stefan Merten <smerten@oekonux.de>
4744
4745 * textmodes/rst.el: Silence `checkdoc-ispell'.
4746 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4747 (rst-official-version, rst-official-cvs-rev)
4748 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4749 (rst-mode-map): New key binding.
4750
4751 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
4752
4753 Update .PHONY listings in makefiles.
4754 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4755 autoloads, update-subdirs, updates, bzr-update, update-authors,
4756 compile-onefile, compile-calc, backup-compiled-files,
4757 compile-after-backup, compile-one-process, mh-autoloads,
4758 bootstrap-clean, distclean, maintainer-clean.
4759
4760 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
4761
4762 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4763 (calc-set-mode-line): Don't display "AlgSimp ".
4764
4765 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4766 (calc-lim-simplify-mode): New function.
4767 (calc-set-simplify-mode): Default to 'alg.
4768 (calc-default-simplify-mode): Make algebraic simplifications
4769 the default.
4770
4771 * calc/calc-ext.el (calc-init-extensions): Remove binding for
4772 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
4773
4774 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4775 indicate new simplification modes.
4776
4777 * calc/README: Mention new default simplification mode.
4778
4779 * calc/calc.el (math-normalize-error): New variable.
4780 (math-normalize): Set `math-normalize-error' to t
4781 when there's an error.
4782
4783 * calc/calc-alg.el (math-simplify): Don't simplify when
4784 `math-normalize' returns an error.
4785
4786 2012-07-29 Eli Zaretskii <eliz@gnu.org>
4787
4788 * international/mule-cmds.el (set-locale-environment): Revert last
4789 change, since display-graphic-p returns nil when this function is
4790 called during startup. Instead...
4791
4792 * term/w32console.el (terminal-init-w32console): ...setup the
4793 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
4794
4795 2012-07-29 Juri Linkov <juri@jurta.org>
4796
4797 * simple.el (goto-line): Don't display default line number in the
4798 prompt because it should be displayed by `read-number' (bug#9952).
4799 Add the current line number to the defaults of `goto-line' to
4800 allow its easier modification by users with `M-n' (bug#9201).
4801
4802 * subr.el (read-number): Support multiple default values like in
4803 other minibuffer reading functions. Replace `read' with
4804 `string-to-number' for consistency with `number-to-string'.
4805
4806 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
4807
4808 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4809 * emulation/viper-init.el (viper-deactivate-input-method-action):
4810 Rename from viper-inactivate-input-method-action.
4811 (viper-deactivate-input-method):
4812 Rename from viper-inactivate-input-method.
4813 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4814 * international/mule-cmds.el (deactivate-input-method):
4815 Rename from inactivate-input-method.
4816 Also run input-method-deactivate-hook.
4817 (deactivate-current-input-method-function):
4818 Rename from inactivate-current-input-method-function.
4819 (input-method-deactivate-hook): New hook.
4820 (input-method-inactivate-hook): Mark obsolete.
4821 (inactivate-input-method): Mark obsolete.
4822
4823 * international/quail.el (quail-activate):
4824 Also run quail-deactivate-hook.
4825 (quail-deactivate): Rename from quail-inactivate.
4826 * international/robin.el (robin-activate):
4827 Also run robin-deactivate-hook.
4828 (robin-deactivate): Rename from robin-inactivate.
4829
4830 2012-07-29 Chong Yidong <cyd@gnu.org>
4831
4832 * simple.el (indicate-copied-region): New function.
4833 (kill-ring-save): Split off from here.
4834
4835 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4836 (kill-rectangle): Set deactivate-mark to t on read-only error.
4837
4838 * register.el (copy-to-register, copy-rectangle-to-register):
4839 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4840 (append-to-register, prepend-to-register): Call indicate-copied-region.
4841
4842 2012-07-29 Juri Linkov <juri@jurta.org>
4843
4844 * simple.el (async-shell-command-buffer): New defcustom.
4845 (shell-command): Use it. (Bug#4719)
4846
4847 2012-07-28 Eli Zaretskii <eliz@gnu.org>
4848
4849 * international/mule-cmds.el (set-locale-environment): In a
4850 console session on MS-Windows, set up keyboard and terminal
4851 encoding from the OEM codepage, not the ANSI codepage.
4852 (Bug#12055)
4853
4854 2012-07-28 Chong Yidong <cyd@gnu.org>
4855
4856 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4857 gdb-get-location.
4858
4859 2012-07-28 Leo Liu <sdl.web@gmail.com>
4860
4861 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4862 the alist (bug#12029).
4863
4864 2012-07-28 Eli Zaretskii <eliz@gnu.org>
4865
4866 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4867 (compile-always, compile-first)
4868 ($(lisp)/calendar/cal-loaddefs.el)
4869 ($(lisp)/calendar/diary-loaddefs.el)
4870 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4871 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4872 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4873 instead of on update-subdirs.
4874 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4875
4876 2012-07-28 Chong Yidong <cyd@gnu.org>
4877
4878 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4879 directory if vc-deduce-backend returns nil (Bug#7350).
4880
4881 * simple.el (delete-trailing-lines): New option.
4882 (delete-trailing-whitespace): Obey it (Bug#11879).
4883
4884 2012-07-28 David Engster <deng@randomsample.de>
4885
4886 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4887 Explanation of new 'symbol-qnames feature in doc-strings.
4888 (xml-maybe-do-ns): Return expanded names as plain symbols if
4889 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4890 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4891
4892 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4893
4894 Consistent completion in inferior python with emacs -nw.
4895 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4896 binding in inferior-python-mode-map with "\t".
4897 (python-shell-completion-complete-at-point)
4898 (python-completion-complete-at-point): Remove interactive spec.
4899
4900 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4901
4902 * calc/calccomp.el (math-compose-expr): Undo previous change.
4903
4904 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4905
4906 * progmodes/python.el (python-mode-map): Add keybinding for
4907 run-python.
4908 (python-shell-make-comint): Fix pop-to-buffer call.
4909 (run-python): Autoload. New arg SHOW.
4910 (python-shell-get-or-create-process): Do not pop python process
4911 buffer.
4912
4913 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
4914
4915 * notifications.el (notifications-on-action-signal)
4916 (notifications-on-closed-signal): Use also the bus address for the map.
4917 (notifications-notify, notifications-close-notification)
4918 (notifications-get-capabilities): Add optional argument BUS.
4919
4920 2012-07-27 Tassilo Horn <tsdh@gnu.org>
4921
4922 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4923 Add support for the lstlisting and minted environments, and for the
4924 ctable macro.
4925 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4926 labels written in keyvals syntax.
4927
4928 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4929
4930 * calc/calccomp.el (math-compose-expr): Use parentheses when
4931 there is a product in the denominator of a fraction.
4932
4933 2012-07-26 Eli Zaretskii <eliz@gnu.org>
4934
4935 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4936 ($(lisp)/calendar/diary-loaddefs.el)
4937 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4938 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4939 Fixes failures in parallel bootstrap because subdirs.el is being
4940 rewritten while the autoload files are built at the same time,
4941 which needs to load subdirs.el.
4942
4943 2012-07-26 Martin Rudalics <rudalics@gmx.at>
4944
4945 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4946 (mouse-drag-line): Don't exit tracking when a switch-frame or
4947 switch-window event occurs (Bug#12006).
4948
4949 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4950
4951 * mouse.el (popup-menu): Fix last change.
4952
4953 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4954
4955 Autoload from Lisp with more care. Follow aliases when looking for
4956 function properties.
4957 * subr.el (autoloadp): New function.
4958 (symbol-file): Use it.
4959 (function-get): New function.
4960 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4961 autoload-do-load.
4962 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4963 (lisp-indent-function):
4964 * emacs-lisp/gv.el (gv-get):
4965 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4966 * emacs-lisp/byte-opt.el (byte-optimize-form):
4967 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4968 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4969 Use function-get.
4970 * emacs-lisp/cl.el: Don't propagate function properties any more.
4971
4972 * speedbar.el (speedbar-add-localized-speedbar-support):
4973 * emacs-lisp/disass.el (disassemble-internal):
4974 * desktop.el (desktop-load-file):
4975 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4976 (describe-function-1):
4977 * emacs-lisp/find-func.el (find-function-noselect):
4978 * emacs-lisp/elp.el (elp-instrument-function):
4979 * emacs-lisp/advice.el (ad-has-proper-definition):
4980 * apropos.el (apropos-safe-documentation, apropos-macrop):
4981 * emacs-lisp/debug.el (debug-on-entry):
4982 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4983 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4984 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4985
4986 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4987
4988 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4989 function, not an obsolete variable (Bug#12046).
4990
4991 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4992
4993 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4994
4995 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4996
4997 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4998 window only if it is still live (Bug#12034).
4999
5000 2012-07-25 Martin Rudalics <rudalics@gmx.at>
5001
5002 * subr.el (redirect-frame-focus): Add advertised calling
5003 convention (Bug#12030).
5004
5005 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
5006
5007 Prefer typical American spelling for "acknowledgment".
5008 * vc/add-log.el (change-log-acknowledgment): Rename from
5009 change-log-acknowledgement, with an alias for the old name.
5010
5011 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
5012
5013 * calc-alg.el (math-simplify-divide): Don't cross multiply
5014 in an equation when the lhs is a variable.
5015
5016 2012-07-24 Julien Danjou <julien@danjou.info>
5017
5018 * net/netrc.el (netrc-find-service-number, netrc-store-data):
5019 Remove, unused.
5020
5021 2012-07-23 Eli Zaretskii <eliz@gnu.org>
5022
5023 * startup.el (command-line): Don't display an empty user name in
5024 the error message about non-existent home directory, when
5025 init-file-user was set to an empty string. See
5026 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
5027 for the details and context.
5028
5029 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
5030
5031 * ses.el (ses-cell-formula-aset): New macro.
5032 (ses-cell-references-aset): New macro.
5033 (ses-cell-p): New function.
5034 (ses-rename-cell): Do no longer rely on complex operations like
5035 ses-cell-set-formula or ses-set-cell to change the cell and handle
5036 the undo at the same time, but rather use lower level new macros
5037 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
5038 the undo directly. Refresh the mode line.
5039
5040 2012-07-21 Leo Liu <sdl.web@gmail.com>
5041
5042 * progmodes/cc-cmds.el (c-defun-name):
5043 Use match-string-no-properties instead for consistency.
5044
5045 2012-07-20 Leo Liu <sdl.web@gmail.com>
5046
5047 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
5048 (Bug#7879)
5049
5050 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
5051
5052 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
5053
5054 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
5055 * progmodes/bug-reference.el, misearch.el: Provide themselves
5056 (bug#11915).
5057
5058 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
5059 of narrowed buffer (bug#11966).
5060
5061 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
5062
5063 * ses.el (ses-rename-cell): Set new name also in reference list of
5064 cells of which the renamed cell depends.
5065
5066 2012-07-20 Masatake YAMATO <yamato@redhat.com>
5067
5068 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
5069 to check whether menu-bar is shown or not. If not shown,
5070 show the menu-bar as a popup menu instead of using tmm.
5071 * mouse.el (popup-menu): Accept `point' as `position' argument.
5072
5073 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
5074
5075 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
5076 up inside string symbol literal (bug#11923).
5077
5078 2012-07-20 Eli Zaretskii <eliz@gnu.org>
5079
5080 * startup.el (fancy-startup-text): Read the whole tutorial, not
5081 just its first 256 bytes. Prevents gibberish in display of the
5082 tutorial title.
5083
5084 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
5085
5086 Drop idle buffer compaction due to an absence of the
5087 proved efficiency.
5088 * compact.el: Remove.
5089
5090 2012-07-19 Sam Steingold <sds@gnu.org>
5091
5092 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
5093 vc-bzr-pull & vc-bzr-merge-branch.
5094 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
5095 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
5096 for consistency with compilation-error-regexp-alist.
5097 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
5098 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
5099 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
5100 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
5101
5102 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5103
5104 * emacs-lisp/chart.el: Use lexical-binding.
5105 (chart-emacs-storage): Don't hardcode the list of entries.
5106
5107 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5108
5109 Next round of tweaks caused by Fgarbage_collect changes.
5110 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
5111
5112 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5113
5114 Compact buffers when idle.
5115 * compact.el: New file.
5116
5117 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5118
5119 * subr.el (eventp): Presume that if it looks vaguely like an event,
5120 it's an event (bug#10190).
5121
5122 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
5123
5124 Enhancements to ppss related code (thanks Stefan).
5125 * progmodes/python.el (python-indent-context)
5126 (python-indent-calculate-indentation, python-indent-dedent-line)
5127 (python-indent-electric-colon, python-nav-forward-block)
5128 (python-mode-abbrev-table)
5129 (python-info-assignment-continuation-line-p): Simplify checks
5130 for ppss context.
5131 (python-info-continuation-line-p): Cleanup.
5132 (python-info-ppss-context): Do not catch 'quote.
5133 (python-info-ppss-context-type)
5134 (python-info-ppss-comment-or-string-p): Simplify.
5135
5136 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
5137
5138 * progmodes/python.el: Enhancements to eldoc support.
5139 (python-info-current-symbol): New function.
5140 (python-eldoc-at-point): Use python-info-current-symbol.
5141 (python-info-current-defun): Fix cornercase on first defun scan.
5142 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
5143 and signal error when no inferior python process is available.
5144
5145 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
5146
5147 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
5148 assume it's always t.
5149 (vc-git-registered): Remove caching, the function is only called
5150 once.
5151 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
5152
5153 2012-07-18 Chong Yidong <cyd@gnu.org>
5154
5155 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
5156
5157 * simple.el (count-words): Report on narrowing (Bug#9959).
5158
5159 * bindings.el: Bind M-= to count-words.
5160
5161 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
5162
5163 2012-07-18 Masatake YAMATO <yamato@redhat.com>
5164
5165 * progmodes/sh-script.el (sh-imenu-generic-expression):
5166 Capture a function with `function' keyword and without parentheses
5167 like "function FOO" (bug#11856).
5168
5169 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
5170
5171 * window.el (split-window-sensibly): Make WINDOW argument
5172 optional.
5173
5174 2012-07-18 Chong Yidong <cyd@gnu.org>
5175
5176 * subr.el (keyboard-translate): Doc fix (Bug#7261).
5177
5178 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
5179 and make C-x 8 RET exit isearch (Bug#11439).
5180
5181 * international/iso-transl.el: Move isearch-mode-map key
5182 definitions to isearch.el.
5183
5184 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
5185
5186 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
5187 (eieio-defclass): Use gv-define-setter when possible.
5188
5189 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
5190
5191 Reflect recent changes in Fgarbage_collect.
5192 * emacs-lisp/chart.el (chart-emacs-storage): Change to
5193 reflect new format of data returned by Fgarbage_collect.
5194
5195 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5196
5197 New utility functions + python-info-ppss-context fix (Bug#11910).
5198 * progmodes/python.el (python-info-beginning-of-block-statement-p)
5199 (python-info-ppss-comment-or-string-p): New functions.
5200 (python-info-ppss-context): Small fix for string check.
5201
5202 2012-07-17 Juri Linkov <juri@jurta.org>
5203
5204 * dired-aux.el (dired-do-async-shell-command): Doc fix.
5205 (dired-do-async-shell-command): Don't add `*' at the end of the
5206 command (Bug#11815).
5207 (dired-do-shell-command): Doc fix.
5208 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
5209 Join the individual commands using either "&" or ";" as the
5210 separator depending on the values of these trailing characters.
5211 At the end re-add the trailing "&". (Bug#10598)
5212
5213 * simple.el (async-shell-command): Sync the interactive spec with
5214 `shell-command'. Doc fix.
5215 (shell-command): Doc fix.
5216
5217 2012-07-17 Juri Linkov <juri@jurta.org>
5218
5219 * descr-text.el (describe-char): Fix format args. (Bug#10129)
5220
5221 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5222
5223 Final renames and doc fixes for movement commands (bug#11899).
5224 * progmodes/python.el (python-nav-beginning-of-statement):
5225 Rename from python-nav-statement-start.
5226 (python-nav-end-of-statement): Rename from
5227 python-nav-statement-end.
5228 (python-nav-beginning-of-block): Rename from
5229 python-nav-block-start.
5230 (python-nav-end-of-block): Rename from python-nav-block-end.
5231
5232 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5233
5234 * progmodes/python.el (python-shell-send-string-no-output):
5235 Allow accept-process-output to quit, keeping shell process ready for
5236 future interactions (Bug#11868).
5237
5238 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5239
5240 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5241
5242 * emacs-lisp/elint.el (elint-find-args-in-code):
5243 Use help-function-arglist, so as to handle lexical byte-code.
5244
5245 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5246 change (bug#11826).
5247
5248 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5249
5250 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5251 Avoid spuriously marking the buffer as modified because of c-is-sws.
5252
5253 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5254 as not-a-comment (bug#11946).
5255
5256 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5257 for uninterned vars.
5258
5259 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5260 Use read-event since we don't really want to read chars but bytes.
5261
5262 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5263 $$..$$ but also $..$ using regexps (bug#11953).
5264 Use tex-verbatim for \url and \path.
5265 (tex-font-lock-keywords): Define as defconst like the others.
5266 (tex-common-initialization): Don't use font-lock-syntax-table any more.
5267
5268 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
5269
5270 * international/mule-cmds.el (ucs-insert): Make it an obsolete
5271 alias for insert-char.
5272
5273 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5274
5275 * progmodes/python.el: Simplified imenu implementation.
5276 (python-nav-jump-to-defun): Remove command.
5277 (python-mode-map): Use `imenu' instead.
5278 (python-nav-list-defun-positions-cache)
5279 (python-imenu-include-defun-type, python-imenu-make-tree)
5280 (python-imenu-subtree-root-label, python-imenu-index-alist):
5281 Remove vars.
5282 (python-nav-list-defun-positions, python-nav-read-defun)
5283 (python-imenu-tree-assoc, python-imenu-make-element-tree)
5284 (python-imenu-make-tree, python-imenu-create-index):
5285 Remove functions.
5286 (python-mode): Update to interact with imenu by setting
5287 `imenu-extract-index-name-function' only.
5288
5289 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5290
5291 * progmodes/python.el: Enhancements to navigation commands.
5292 (python-nav-backward-sentence)
5293 (python-nav-forward-sentence): Remove.
5294 (python-nav-backward-statement, python-nav-forward-statement)
5295 (python-nav-statement-start, python-nav-statement-end)
5296 (python-nav-backward-block, python-nav-forward-block)
5297 (python-nav-block-start, python-nav-block-end)
5298 (python-nav-forward-sexp-function)
5299 (python-info-current-line-comment-p)
5300 (python-info-current-line-empty-p): New functions.
5301 (python-indent-context): Use `python-nav-statement-start'.
5302
5303 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
5304
5305 * eshell/em-ls.el (eshell/ls): Use `apply'.
5306
5307 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5308 multi-hops, instead of Tramp internals.
5309
5310 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5311
5312 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5313 when F1 and F2 are located on different hosts.
5314
5315 2012-07-14 Chong Yidong <cyd@gnu.org>
5316
5317 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5318 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5319 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5320 (xterm-mouse--read-event-sequence-1000)
5321 (xterm-mouse--read-event-sequence-1006): New functions. For old
5322 mouse protocol, handle M-mouse-X events correctly.
5323 (xterm-mouse-event): New arg specifying mouse protocol.
5324 (turn-on-xterm-mouse-tracking-on-terminal)
5325 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
5326 sequence to toggle extended coordinates on newer XTerms.
5327 This appears to be harmless on terminals which do not support this.
5328
5329 2012-07-14 Leo Liu <sdl.web@gmail.com>
5330
5331 Add fringe bitmap indicators for flymake. (Bug#11253)
5332 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
5333 (flymake-make-overlay): New arg BITMAP.
5334 (flymake-error-bitmap, flymake-warning-bitmap)
5335 (flymake-fringe-indicator-position): New user variables.
5336
5337 * fringe.el: New bitmap exclamation-mark.
5338
5339 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
5340
5341 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
5342 also (Bug#7879).
5343
5344 2012-07-14 Chong Yidong <cyd@gnu.org>
5345
5346 * electric.el (electric-pair-post-self-insert-function): Fix pair
5347 insertion in empty-region case (Bug#11520).
5348
5349 2012-07-14 Chong Yidong <cyd@gnu.org>
5350
5351 * bindings.el: Consolidate ctl-x-r-map bindings.
5352 Bind copy-rectangle-as-kill to C-x r w.
5353
5354 * rect.el, register.el: Move bindings to bindings.el.
5355
5356 2012-07-14 Reuben Thomas <rrt@sc3d.org>
5357
5358 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
5359
5360 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
5361
5362 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
5363
5364 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
5365
5366 * bindings.el (top): Use `mapc' instead of `mapcar'.
5367
5368 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5369
5370 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
5371
5372 * progmodes/sql.el (sql-comint): Suppress the check for program on
5373 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
5374 (Bug#11908)
5375
5376 2012-07-13 Chong Yidong <cyd@gnu.org>
5377
5378 * bindings.el: Assign a non-nil permanent-local property to
5379 per-buffer variables which lack a default value (Bug#11930).
5380
5381 * help-fns.el (describe-variable): In the "automatically becomes
5382 local" notice, take note of permanent-local variables.
5383
5384 2012-07-13 Chong Yidong <cyd@gnu.org>
5385
5386 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
5387 to allow printing the message when called from Lisp.
5388
5389 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5390 Remove toggle-read-only.
5391
5392 * bs.el (bs-toggle-readonly):
5393 * buff-menu.el (Buffer-menu-toggle-read-only):
5394 Remove with-no-warnings around toggle-read-only.
5395
5396 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
5397 Remove with-no-warnings around toggle-read-only.
5398 (ffap-read-only, ffap-read-only-other-window)
5399 (ffap-read-only-other-frame): Callers changed.
5400
5401 * help-mode.el: Don't require view package.
5402 (help-mode-finish): Set buffer-read-only instead of calling
5403 toggle-read-only.
5404
5405 * bindings.el (mode-line-toggle-read-only):
5406 * dired.el (dired-toggle-read-only):
5407 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
5408 with non-nil second arg.
5409
5410 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5411 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
5412 directly.
5413
5414 2012-07-12 Eli Zaretskii <eliz@gnu.org>
5415
5416 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
5417 not incf.
5418
5419 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
5420
5421 More CL cleanups and reduction of use of cl.el.
5422 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5423 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
5424 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
5425 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
5426 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
5427 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
5428 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
5429 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
5430 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5431 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5432 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5433 * eshell/em-cmpl.el, eshell/em-banner.el:
5434 * calendar/parse-time.el: Use cl-lib.
5435 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5436 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5437 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5438 * term/ns-win.el, term.el, shell.el, ps-samp.el:
5439 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5440 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5441 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5442 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5443 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5444 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5445 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5446 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5447 `lambda' rather than with `quote'.
5448 (eshell-do-opt): Adjust accordingly.
5449 (eshell-process-option): Simplify.
5450 * eshell/esh-var.el:
5451 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5452 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5453 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5454 to `pcase--dontcare'.
5455 * emacs-lisp/cl.el (labels): Mark obsolete.
5456 (cl--letf, letf): Move to cl-lib.
5457 (cl--letf*, letf*): Remove.
5458 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5459 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5460 (cl-progv): Rewrite.
5461 (cl--letf, cl-letf): Move from cl.el.
5462 (cl-letf*): New macro.
5463 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5464
5465 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
5466
5467 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5468
5469 2012-07-11 Chong Yidong <cyd@gnu.org>
5470
5471 * vc/log-edit.el (log-edit-vc-backend): New variable.
5472 (log-edit): Doc fix.
5473
5474 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
5475 argument of log-edit to set up all local variables.
5476 (vc-start-logentry): New optional arg specifying VC backend.
5477
5478 * vc/vc.el (vc-checkin): Use it.
5479 (vc-deduce-fileset): Handle Log Edit buffers.
5480 (vc-diff): Make first argument optional too.
5481
5482 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5483
5484 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
5485
5486 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5487 command, just in case. The function is not needed anymore.
5488 (eshell-external-command): Do not call `eshell-remote-command'.
5489
5490 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5491
5492 Reduce use of (require 'cl).
5493 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5494 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5495 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5496 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
5497 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
5498 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
5499 * battery.el, avoid.el, abbrev.el: Use cl-lib.
5500 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
5501 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
5502 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
5503 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
5504 * calculator.el, autorevert.el, apropos.el: Don't require CL.
5505 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5506 (byte-compile-unfold-bcf, byte-compile-check-variable):
5507 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5508 (byte-compile-nilconstp):
5509 * emacs-lisp/autoload.el (make-autoload): Use pcase.
5510 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5511
5512 * emacs-lisp/gv.el (cond): Make it a valid place.
5513 (if): Simplify slightly.
5514
5515 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
5516 (pcase--self-quoting-p): New function.
5517 (pcase--u1): Use it.
5518
5519 2012-07-10 Glenn Morris <rgm@gnu.org>
5520
5521 * emacs-lisp/authors.el (authors-fixed-entries):
5522 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
5523
5524 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
5525
5526 Rename configure.in to configure.ac (Bug#11603).
5527 * emacs-lisp/authors.el (authors-canonical-file-name):
5528 * progmodes/autoconf.el (autoconf-mode):
5529 Prefer configure.ac to configure.in.
5530
5531 2012-07-08 Chong Yidong <cyd@gnu.org>
5532
5533 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
5534 Implement the mouse-1-click-follows-link handling properly.
5535
5536 * info.el (Info-link-keymap): Use follow-link mechanism for
5537 header-line links (Bug#374).
5538
5539 * simple.el (deactivate-mark): Do not set the primary selection
5540 if another program has acquired it (Bug#11772).
5541
5542 2012-07-07 Kevin Ryde <user42@zip.com.au>
5543
5544 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
5545 (woman-decode-region): Replace escaped-escapes without destroying
5546 bold or underline (Bug#11552).
5547 (woman2-process-escapes): Handle nofill regions (Bug#11591).
5548
5549 2012-07-07 Chong Yidong <cyd@gnu.org>
5550
5551 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
5552 (interprogram-cut-function, interprogram-paste-function):
5553 Mention that we typically mean the clipboard.
5554
5555 2012-07-06 Glenn Morris <rgm@gnu.org>
5556
5557 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
5558
5559 * files.el (toggle-read-only): Restrict message to interactive use.
5560
5561 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
5562
5563 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
5564
5565 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
5566
5567 2012-07-06 Glenn Morris <rgm@gnu.org>
5568
5569 * Makefile.in (compile-one-process): Rename from "recompile".
5570
5571 * Makefile.in (bzr-update): "compile" is the same as "recompile
5572 autoloads", but parallelizable, so use that instead.
5573
5574 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
5575
5576 * window.el (quit-window): Always restore window height when
5577 it's saved in quit-restore parameter (Bug#11810).
5578
5579 2012-07-06 Glenn Morris <rgm@gnu.org>
5580
5581 * simple.el (kill-whole-line): Doc tweak.
5582
5583 2012-07-06 Eli Zaretskii <eliz@gnu.org>
5584
5585 * files.el (file-relative-name): Compare file names
5586 case-insensitively if on MS-Windows or MS-DOS, or if
5587 read-file-name-completion-ignore-case is non-nil. Don't use
5588 case-fold-search for this purpose. (Bug#11827)
5589
5590 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
5591
5592 * calendar/cal-dst.el (calendar-current-time-zone):
5593 Return calendar-current-time-zone-cache if non-nil.
5594
5595 2012-07-17 Masatake YAMATO <yamato@redhat.com>
5596 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5597
5598 * calendar/cal-dst.el (calendar-current-time-zone):
5599 Return calendar-current-time-zone-cache if non-nil.
5600
5601 2012-07-06 Glenn Morris <rgm@gnu.org>
5602
5603 * Makefile.in (cvs-update): Remove old alias.
5604
5605 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
5606
5607 Sync with Tramp 2.2.6-pre.
5608
5609 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
5610 compatible declaration.
5611
5612 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5613 Protect `list-load-path-shadows' call.
5614
5615 * net/tramp-compat.el (top): Require packages, which aren't
5616 autoloaded anymore for XEmacs. Protect call of
5617 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
5618 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
5619 it hurts at least for SXEmacs.
5620 (tramp-compat-temporary-file-directory): In XEmacs, there is no
5621 standard-value for `temporary-file-directory'.
5622
5623 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
5624 Redirect stderr to /dev/null.
5625 (tramp-sh-handle-write-region): uid and gid can be floats.
5626 Reported by Russell Sim <russell.sim@gmail.com>.
5627 (tramp-sh-handle-vc-registered): Hide errors.
5628 (tramp-vc-file-name-handler): Use dummy results for `process-file'
5629 and `start-file-process'.
5630 (tramp-maybe-open-connection): Check also whether `non-essential'
5631 is bound.
5632
5633 2012-07-04 Chong Yidong <cyd@gnu.org>
5634
5635 * xml.el (xml--parse-buffer): Use xml-syntax-table.
5636 (xml-parse-tag): Likewise, and avoid changing entity tables.
5637 (xml-syntax-table): Define from scratch, making sure not to give
5638 x2000 and other Unicode spaces whitespace syntax, since those are
5639 not spaces in XML.
5640 (xml-parse-fragment): Delete unused function.
5641 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
5642 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
5643 (xml-entity-ref, xml-pe-reference-re)
5644 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
5645 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
5646 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
5647 (xml-entity-value-re): Use syntax references in regexps where
5648 possible; no need to define inside a let-binding.
5649 (xml-parse-dtd): Use xml-pe-reference-re.
5650 (xml-entity-or-char-ref-re): New defconst.
5651 (xml-parse-string, xml-substitute-special): Use it.
5652
5653 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5654
5655 * files.el (locate-dominating-file): Allow `name' to be a predicate.
5656 (find-file--read-only): New function.
5657 (find-file-read-only, find-file-read-only-other-window)
5658 (find-file-read-only-other-frame): Use it.
5659 (insert-file-contents-literally): Don't `fset'.
5660 (get-free-disk-space): Use locate-dominating-file.
5661
5662 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
5663 function is already compiled.
5664
5665 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
5666
5667 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
5668
5669 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
5670 files on the same host.
5671
5672 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
5673
5674 * help-fns.el (describe-function-1): Only call
5675 help-fns--autoloaded-p when we have a file name. (Bug#11848)
5676
5677 2012-07-03 Chong Yidong <cyd@gnu.org>
5678
5679 * xml.el: Protect parser against XML bombs.
5680 (xml-entity-expansion-limit): New variable.
5681 (xml-parse-string, xml-substitute-special): Use it.
5682 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
5683
5684 2012-07-03 Glenn Morris <rgm@gnu.org>
5685
5686 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5687 Allow linking to specific messages in debbugs reports (eg 123#5).
5688
5689 2012-07-02 Chong Yidong <cyd@gnu.org>
5690
5691 * xml.el: Fix entity and character reference expansion, allowing
5692 them to expand into markup as per XML spec.
5693 (xml-default-ns): New variable.
5694 (xml-entity-alist): Use XML spec definitions for lt and amp.
5695 (xml-parse-region): Make first two arguments optional.
5696 Discard text properties.
5697 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
5698 All callers changed.
5699 (xml-parse-tag): Call xml-parse-tag-1. For backward
5700 compatibility, this function should not modify buffer contents.
5701 (xml-parse-tag-1): Fix opening-tag regexp.
5702 (xml-parse-string): Rewrite, handling entity and character
5703 references properly.
5704 (xml--entity-replacement-text): Signal an error if a parameter
5705 entity is undefined.
5706
5707 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5708
5709 * comint.el (comint-output-filter): Filter out repeated prompts.
5710
5711 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
5712 and file-name-absolute-p.
5713 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
5714 internal calls.
5715
5716 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
5717
5718 Spelling fixes.
5719 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
5720 Rename from byte-compile--refiy-function. All uses changed.
5721
5722 2012-07-01 Chong Yidong <cyd@gnu.org>
5723
5724 * xml.el (xml--parse-buffer): New function. Move most of
5725 xml-parse-region here.
5726 (xml-parse-region): Copy region into a temporary buffer, since
5727 parameter entity substitution requires changing buffer contents.
5728 Use xml--parse-buffer.
5729 (xml-parse-file): Use xml--parse-buffer.
5730 (xml-parse-dtd): Make parameter entity substitution work right.
5731 Use proper regexps for ELEMENT declarations (Bug#7172).
5732
5733 2012-06-30 Glenn Morris <rgm@gnu.org>
5734
5735 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
5736
5737 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5738 Remove outdated and unnecessary dbus declarations.
5739
5740 2012-06-30 Eli Zaretskii <eliz@gnu.org>
5741
5742 * emacs-lisp/timer.el (timer-until): Subtract results of
5743 float-time, instead of taking float-time of the result of
5744 time-subtract, since float-time signals an error for negative time
5745 arguments.
5746
5747 2012-06-30 Chong Yidong <cyd@gnu.org>
5748
5749 * xml.el (xml-*-re): Convert defvars into defconsts, and
5750 eval-and-compile them so eval-and-compile works on derivatives.
5751 (xml--entity-replacement-text): Use eval-and-comple.
5752
5753 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
5754
5755 * vc/vc-git.el (vc-git-registered): Use cache property
5756 `git-registered'.
5757 (vc-git-mode-line-string): Call `vc-working-revision' instead of
5758 `vc-git-working-revision' in order to benefit from the cache.
5759 (vc-git-root): Use cache property `git-root'. (Bug#11757)
5760
5761 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
5762
5763 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
5764 removed (likely outside Emacs). (Bug#11757)
5765
5766 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5767
5768 * emacs-lisp/cl-lib.el: Require macroexp.
5769
5770 2012-06-30 Chong Yidong <cyd@gnu.org>
5771
5772 * xml.el: Implement XML parameter entities.
5773 (xml-parameter-entity-alist): New variable.
5774 (xml-parse-region, xml-parse-fragment): Preserve previous values
5775 of xml-entity-alist and xml-parameter-entity-alist, so that
5776 repeated calls on different documents do not change them.
5777 (xml-parse-tag): Fix doctype regexp.
5778 (xml--entity-replacement-text): New function.
5779 (xml-parse-dtd): Use it. Don't handle system entities; doing that
5780 properly requires url retrieval which is unimplemented.
5781 (xml-escape-string): Doc fix.
5782
5783 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5784
5785 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5786
5787 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
5788
5789 * fringe.el (fringe-mode): Doc fix.
5790
5791 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
5792
5793 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5794 is non-nil.
5795 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5796 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
5797
5798 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
5799
5800 * calendar/cal-dst.el (calendar-current-time-zone):
5801 Return calendar-current-time-zone-cache if non-nil.
5802
5803 2012-06-29 Masatake YAMATO <yamato@redhat.com>
5804
5805 * progmodes/which-func.el (which-func-format):
5806 Add mouse-face. (Bug#11698)
5807
5808 2012-06-29 Leo Liu <sdl.web@gmail.com>
5809
5810 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5811
5812 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5813
5814 * minibuffer.el (minibuffer-confirm-exit-commands):
5815 Add completion-at-point (bug#11725).
5816
5817 2012-06-29 Glenn Morris <rgm@gnu.org>
5818
5819 * progmodes/f90.el (f90-font-lock-keywords-2):
5820 Add some preprocessor elements. (Bug#10499)
5821
5822 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5823
5824 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5825 Use syntax-propertize (bug#11739).
5826
5827 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
5828
5829 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5830
5831 2012-06-28 Julien Danjou <julien@danjou.info>
5832
5833 * term.el (term-handle-colors-array): Use a set of new faces to
5834 color the terminal. Also uses :inverse-video property.
5835 (term-default-fg-color): Set to nil by default, deprecate in favor
5836 of `term-face'.
5837 (term-default-bg-color): Set to nil by default, deprecate in favor
5838 of `term-face'.
5839 (term-current-face): Use `term-face' by default.
5840 (term-bold-attribute): Variable deleted.
5841
5842 2012-06-28 Glenn Morris <rgm@gnu.org>
5843
5844 * simple.el (completion-list-mode-finish):
5845 Don't use toggle-read-only. (Since completion-list-mode has
5846 a special mode-class, it wasn't doing anything extra anyway.)
5847
5848 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5849
5850 Make inlining of other-mode interpreted functions work (bug#11799).
5851 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5852 (byte-compile): Use it to fix compilation of lexical-binding closures.
5853 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5854 function, if needed.
5855
5856 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5857
5858 * help-mode.el (help-make-xrefs): Don't just withstand
5859 cyclic-variable-indirection but any error in documentation-property.
5860
5861 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5862 memory use.
5863 * bindings.el (bindings--define-key): New function.
5864 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5865 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5866 * bindings.el: Use it to purecopy define-key bindings.
5867
5868 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5869
5870 * emacs-lisp/cl.el (flet): Mark obsolete.
5871 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5872 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5873 * progmodes/js.el (js-c-fill-paragraph):
5874 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5875 (ebrowse-switch-member-buffer-to-derived-class):
5876 * play/5x5.el (5x5-solver): Use cl-flet.
5877
5878 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5879 (cl--symbol-function): New macro.
5880 (cl--letf, cl--letf*): Use it.
5881
5882 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5883 Strip "toggle-" if any.
5884
5885 2012-06-27 Glenn Morris <rgm@gnu.org>
5886
5887 * info.el (Info-default-directory-list): Move here from paths.el.
5888 * paths.el: Remove file, which is now empty.
5889 * loadup.el: No longer load "paths".
5890
5891 * custom.el (custom-initialize-delay): Doc fix.
5892
5893 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5894 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5895 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5896 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5897 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5898 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5899 * eshell/eshell.el (eshell-defgroup): Remove alias.
5900
5901 2012-06-27 Chong Yidong <cyd@gnu.org>
5902
5903 * help.el (help-enable-auto-load): New variable.
5904
5905 * help-fns.el (help-fns--autoloaded-p): New function.
5906 (describe-function-1): Refer to a function as "autoloaded" if it
5907 was autoloaded at any time in the past. Perform autoloading if
5908 help-enable-auto-load is non-nil.
5909
5910 2012-06-26 Eli Zaretskii <eliz@gnu.org>
5911
5912 * makefile.w32-in (compile, compile-always): Depend on
5913 update-subdirs, not on subdirs.el. Otherwise, several different
5914 sub-targets of 'bootstrap' running in parallel could
5915 simultaneously write to subdirs.el, producing a garbled file.
5916
5917 2012-06-26 Sam Steingold <sds@gnu.org>
5918
5919 * files.el (file-name-base): New convenience function.
5920 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5921 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5922 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5923 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5924 * textmodes/ispell.el, textmodes/reftex-ref.el:
5925 * textmodes/tex-mode.el: Use it.
5926 Did not touch cedet and org because they are maintained elsewhere.
5927
5928 2012-06-26 Martin Rudalics <rudalics@gmx.at>
5929
5930 * calendar/calendar.el (calendar-exit): Don't try to delete or
5931 iconify last frame. See:
5932 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5933
5934 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5935
5936 * server.el (server-process-filter): Remember dir in the
5937 process's `server-client-directory' properties.
5938
5939 2012-06-24 Chong Yidong <cyd@gnu.org>
5940
5941 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5942 non-tag text.
5943
5944 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
5945
5946 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5947
5948 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5949
5950 * help-fns.el (describe-variable): Don't croak when doc is not found.
5951 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5952 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5953 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5954 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5955 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5956 ((lambda ..) ..).
5957 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5958
5959 2012-06-23 Chong Yidong <cyd@gnu.org>
5960
5961 * info.el (Info-mouse-follow-link): Accept symbol values of
5962 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
5963 (Info-fontify-node): Use Info-link-keymap for all navigation
5964 buttons, with link-args property to perform the desired action.
5965 (Info-link-keymap): Doc fix.
5966 (Info-next-link-keymap, Info-prev-link-keymap)
5967 (Info-up-link-keymap): Delete now-unused keymaps.
5968
5969 2012-06-23 Chong Yidong <cyd@gnu.org>
5970
5971 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5972
5973 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5974 system abbrevs.
5975
5976 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5977
5978 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5979
5980 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5981 (bug#11719).
5982
5983 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5984 the requote function doesn't work properly (bug#11714).
5985
5986 2012-06-23 Glenn Morris <rgm@gnu.org>
5987
5988 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5989
5990 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5991
5992 Further GV/CL cleanups.
5993 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5994 gv-expander.
5995 (gv--defun-declaration): New function.
5996 (defun-declarations-alist): Use it.
5997 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5998 (gv-place): Autoload.
5999 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
6000 original definition of dotimes and dolist.
6001 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
6002 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
6003 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
6004 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6005 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
6006 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
6007 to the function's definition.
6008 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
6009 * window.el:
6010 * files.el:
6011 * faces.el:
6012 * env.el: Don't use CL.
6013
6014 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
6015
6016 Support higher-resolution time stamps (Bug#9000).
6017
6018 * calendar/time-date.el (with-decoded-time-value): New arg
6019 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
6020 (encode-time-value): New optional arg PICO. New type 3.
6021 (time-to-seconds) [!float-time]: Support the new picoseconds
6022 component if it's used.
6023 (seconds-to-time, time-subtract, time-add):
6024 Support ps-resolution time stamps as well.
6025
6026 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
6027 (timerp): Timer vectors now have length 9, not 8.
6028 (timer--time): Support new-style (4-part) time stamps.
6029 (timer-next-integral-multiple-of-time): Time stamps now have
6030 picosecond resolution, so take a bit more care about rounding.
6031 (timer-relative-time, timer-inc-time): New optional arg psecs.
6032 (timer-set-time-with-usecs): Set psecs to 0.
6033 (timer--activate): Check psecs component, too.
6034
6035 * proced.el (proced-time-lessp): Support ps-resolution stamps.
6036
6037 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6038
6039 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
6040 Move the non-essential binding to the post/pre-command-hook where it is
6041 more obviously correct.
6042
6043 * subr.el (read-passwd): Don't use a history at all.
6044 * savehist.el (savehist-save): Remove password saved accidentally
6045 because of the above bug.
6046
6047 2012-06-22 Bastien Guerry <bzg@gnu.org>
6048
6049 * files.el (toggle-read-only): Display a message telling whether
6050 the buffer is read-only or not (bug#11726).
6051
6052 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6053
6054 * emacs-lisp/gv.el: New file.
6055 * subr.el (push, pop): Extend to generalized variables.
6056 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
6057 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
6058 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
6059 gv-define-simple-setter, and gv-define-expander.
6060 Remove setf-methods defined in gv. Rename cl-setf -> setf.
6061 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
6062 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
6063 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
6064 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
6065 gv-letplace.
6066 (cl-defstruct): Don't define setf-method any more.
6067 * emacs-lisp/cl.el (flet): Don't autoload.
6068 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
6069 (define-setf-expander, defsetf, define-modify-macro)
6070 (cl-struct-setf-expander): Move from cl-lib.el.
6071 * emacs-lisp/syntax.el:
6072 * emacs-lisp/ewoc.el:
6073 * emacs-lisp/smie.el:
6074 * emacs-lisp/cconv.el:
6075 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
6076 (timer--time): Use gv-define-simple-setter.
6077 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
6078 to avoid coding-system problems in subr.el. Adjust all users.
6079 (macroexp--maxsize, macroexp-small-p): New functions.
6080 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
6081 * scroll-bar.el (scroll-bar-mode):
6082 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6083 (normal-erase-is-backspace-mode): Don't use the `eq' place.
6084 * winner.el (winner-configuration, winner-make-point-alist)
6085 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
6086 * files.el (locate-file-completion-table): Avoid list*.
6087
6088 2012-06-22 Chong Yidong <cyd@gnu.org>
6089
6090 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
6091 (dired-create-files): Doc fix (Bug#11329).
6092 (dired-do-copy): Doc fix (Bug#11334).
6093 (dired-mark-read-string): Doc fix (Bug#11553).
6094
6095 * dired.el (dired-recursive-copies, dired-recursive-deletes):
6096 Doc fix (Bug#11326).
6097 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
6098 (dired-dwim-target): Doc fix.
6099
6100 * wdired.el (wdired-mode): Doc fix.
6101
6102 2012-06-22 Glenn Morris <rgm@gnu.org>
6103
6104 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
6105 (pcmpl-rpm-cache-stamp-file): New constant.
6106 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
6107 (pcmpl-rpm-packages): Optionally cache list of packages.
6108
6109 * pcmpl-rpm.el (pcmpl-rpm): New group.
6110 (pcmpl-rpm-query-options): New option.
6111 (pcmpl-rpm-packages): No need to inline it.
6112 Use pcmpl-rpm-query-options.
6113
6114 * calendar/calendar.el (calendar-in-read-only-buffer):
6115 Avoid some needless mode changes.
6116
6117 2012-06-21 Chong Yidong <cyd@gnu.org>
6118
6119 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
6120 (desktop-path): Remove . from the default value (Bug#10977).
6121 (desktop-read): Use user-emacs-directory if desktop-path is nil.
6122
6123 2012-06-20 Chong Yidong <cyd@gnu.org>
6124
6125 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
6126
6127 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
6128
6129 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
6130 (bug#11201).
6131
6132 2012-06-20 Chong Yidong <cyd@gnu.org>
6133
6134 * term.el (term-window-width): Handle the case of a missing right
6135 fringe (Bug#8837).
6136 (term-check-size): Use window-text-height (Bug#5445).
6137 (term-mode): Use define-derived-mode. Minor cleanups.
6138 Set font-lock-defaults (Bug#7692).
6139 (term-move-columns, term-insert-char, term-emulate-terminal)
6140 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
6141
6142 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
6143
6144 * net/ange-ftp.el (ange-ftp-get-passwd):
6145 Bind `enable-recursive-minibuffers'.
6146 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
6147
6148 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
6149
6150 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
6151
6152 2012-06-19 Glenn Morris <rgm@gnu.org>
6153
6154 * progmodes/python.el (python-mode): Derive from prog-mode.
6155
6156 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
6157
6158 * emulation/edt.el (edt-default-menu-bar-update-buffers)
6159 (edt-user-menu-bar-update-buffers): New functions.
6160 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
6161
6162 2012-06-19 Chong Yidong <cyd@gnu.org>
6163
6164 * subr.el (with-selected-window): Preserve the selected window's
6165 terminal's top-frame (Bug#4702).
6166
6167 * window.el (save-selected-window): Likewise.
6168
6169 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6170
6171 * progmodes/python.el (python-rx-constituents): Move backquote.
6172 (python-skeleton-define, python-define-auxiliary-skeleton):
6173 Use `declare'.
6174
6175 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
6176
6177 * minibuffer.el (read-file-name-default): Revert the patch from
6178 2012-06-17.
6179
6180 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6181
6182 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
6183 (pcase--u1, pcase--q1): Don't use apply-partially.
6184
6185 2012-06-18 Glenn Morris <rgm@gnu.org>
6186
6187 * progmodes/python.el (python-proc, python-buffer)
6188 (python-send-receive, python-send-string): Fix obsolete versions.
6189
6190 2012-06-18 Martin Rudalics <rudalics@gmx.at>
6191
6192 * window.el (special-display-p): Completely remove stringp
6193 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
6194
6195 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
6196
6197 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
6198
6199 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
6200
6201 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
6202 * net/tramp-sh.el (tramp-maybe-open-connection):
6203 Throw if `non-essential' is non-nil.
6204
6205 2012-06-17 Martin Rudalics <rudalics@gmx.at>
6206
6207 * window.el (special-display-p): Signal an error if BUFFER-NAME
6208 is not a string (Bug#11713).
6209
6210 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
6211
6212 * progmodes/python.el (python-info-beginning-of-backslash):
6213 Rename from python-info-beginning-of-backlash, as a spelling fix.
6214
6215 2012-06-17 Chong Yidong <cyd@gnu.org>
6216
6217 * term.el (term-emulate-terminal): If term-check-size is called,
6218 move point to the process mark without resetting point (Bug#4635).
6219
6220 2012-06-17 Glenn Morris <rgm@gnu.org>
6221
6222 * international/mule-cmds.el (mule-menu-keymap)
6223 (set-language-environment, set-locale-environment): Doc tweaks.
6224
6225 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
6226
6227 * cus-face.el (custom-face-attributes): Add wave-style underline
6228 attribute.
6229 * faces.el (set-face-attribute): Update docstring to describe
6230 wave-style underline attribute.
6231
6232 2012-06-16 Chong Yidong <cyd@gnu.org>
6233
6234 * term/xterm.el (terminal-init-xterm): Discard input before
6235 querying background mode (Bug#10959).
6236
6237 2012-06-16 Stefan Merten <smerten@oekonux.de>
6238
6239 * textmodes/rst.el: Added and corrected some comments.
6240 (rst-re-alist-def): Improve symbol syntax.
6241 (rst-mode-syntax-table): Correct syntax entries.
6242 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6243 (rst-official-version, rst-official-cvs-rev): Update version
6244 information.
6245
6246 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
6247
6248 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6249 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6250
6251 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
6252
6253 * progmodes/python.el: New python.el merge.
6254 (python-guess-indent): Obsolete var.
6255 (python-indent-guess-indent-offset): New defcustom.
6256 (python-indent): Obsolete var.
6257 (python-indent-offset): New defcustom.
6258 (python-python-command, python-jython-command): Delete var.
6259 (python-shell-interpreter): New defcustom.
6260 (python-pdbtrack-do-tracking-p): Delete var.
6261 (python-pdbtrack-activate): New defcustom.
6262 (python-use-skeletons): Obsolete var.
6263 (python-skeleton-autoinsert): New defcustom.
6264 (inferior-python-filter-regexp, python-continuation-offset)
6265 (python-honour-comment-indentation, python-indent-string-contents)
6266 (python-jython-packages, python-mode-hook)
6267 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6268 (python-shell-prompt-alist)
6269 (python-source-modes): Delete defcustoms.
6270 (python-check-buffer-name, python-eldoc-setup-code)
6271 (python-eldoc-string-code, python-ffap-setup-code)
6272 (python-ffap-string-code, python-fill-comment-function)
6273 (python-fill-decorator-function, python-fill-paren-function)
6274 (python-fill-string-function, python-imenu-include-defun-type)
6275 (python-imenu-make-tree, python-imenu-subtree-root-label)
6276 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
6277 (python-shell-compilation-regexp-alist)
6278 (python-shell-completion-module-string-code)
6279 (python-shell-completion-pdb-string-code)
6280 (python-shell-completion-setup-code)
6281 (python-shell-completion-string-code)
6282 (python-shell-enable-font-lock, python-shell-exec-path)
6283 (python-shell-extra-pythonpaths)
6284 (python-shell-internal-buffer-name, python-shell-interpreter-args)
6285 (python-shell-process-environment)
6286 (python-shell-prompt-block-regexp)
6287 (python-shell-prompt-output-regexp)
6288 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
6289 (python-shell-send-setup-max-wait, python-shell-setup-codes)
6290 (python-shell-virtualenv-path): New defcustoms.
6291 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6292 (inferior-python-mode-syntax-table, python--prompt-regexp)
6293 (python-buffer, python-command python-python-command)
6294 (python-default-template, python-imports, python-indent-index)
6295 (python-indent-list, python-indent-list-length)
6296 (python-mode-running, python-pdbtrack-is-tracking-p)
6297 (python-preoutput-continuation, python-preoutput-leftover)
6298 (python-preoutput-result, python-preoutput-skip-next-prompt)
6299 (python-prev-dir/file, python-recursing)
6300 (python-saved-check-command, python-version-checked)
6301 (python-which-func-length-limit)
6302 (view-return-to-alist): Delete vars.
6303 (python-check-custom-command, python-dotty-syntax-table)
6304 (python-imenu-index-alist, python-indent-current-level)
6305 (python-indent-dedenters, python-indent-levels)
6306 (python-nav-beginning-of-defun-regexp)
6307 (python-nav-list-defun-positions-cache)
6308 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6309 (python-shell-internal-buffer)
6310 (python-skeleton-available): New vars.
6311 (def-python-skeleton): Delete macro.
6312 (python-skeleton-define): New macro.
6313 (python-define-auxiliary-skeleton, python-rx): New macros.
6314 (python-insert-class): Delete command.
6315 (python-skeleton-class): New command.
6316 (python-insert-def): Delete command.
6317 (python-skeleton-def): New command.
6318 (python-insert-for): Delete command.
6319 (python-skeleton-for): New command.
6320 (python-insert-if): Delete command.
6321 (python-skeleton-if): New command.
6322 (python-insert-try/except, python-insert-try/finally): Delete commands.
6323 (python-skeleton-try): New command.
6324 (python-insert-while): Delete command.
6325 (python-skeleton-while): New command.
6326 (python-backspace): Delete command.
6327 (python-indent-dedent-line-backspace): New command.
6328 (python-electric-colon): Delete command.
6329 (python-indent-electric-colon): New command.
6330 (python-guess-indent): Delete command.
6331 (python-indent-guess-indent-offset): New command.
6332 (python-shift-left): Delete command.
6333 (python-indent-shift-left): New command.
6334 (python-shift-right): Delete command.
6335 (python-indent-shift-right): New command.
6336 (python-find-function): Delete command.
6337 (python-nav-jump-to-defun): New command.
6338 (python-next-statement): Delete command.
6339 (python-nav-forward-sentence): New command.
6340 (python-previous-statement): Delete command.
6341 (python-nav-backward-sentence): New command.
6342 (python-fill-paragraph): Delete command.
6343 (python-fill-paragraph-function): New command.
6344 (python-send-buffer): Delete command.
6345 (python-shell-send-buffer): New command.
6346 (python-send-defun): Delete command.
6347 (python-shell-send-defun): New command.
6348 (python-send-region, python-send-region-and-go): Delete commands.
6349 (python-shell-send-region)
6350 (python-shell-switch-to-shell): New commands.
6351 (python-send-string): Delete command.
6352 (python-shell-send-string): New command.
6353 (python-switch-to-python): Delete command.
6354 (python-shell-switch-to-shell): New command.
6355 (python-describe-symbol): Delete command.
6356 (python-eldoc-at-point): New command.
6357 (python--set-prompt-regexp, python-args-to-list)
6358 (python-after-info-look, python-check-version)
6359 (python-check-comint-prompt, python-find-imports)
6360 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6361 (python-unload-function, python-expand-template)
6362 (python-maybe-jython, python-preoutput-filter)
6363 (python-pdbtrack-get-source-buffer)
6364 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6365 (python-pdbtrack-toggle-stack-tracking)
6366 (python-pdbtrack-track-stack-file, python-initial-text)
6367 (python-first-word, python-comment-line-p, python-send-command)
6368 (python-setup-brm, python-sentinel, python-set-proc)
6369 (python-skip-out, python-input-filter, python-outdent-p)
6370 (python-outline-level, python-backslash-continuation-line-p)
6371 (python-end-of-block, python-end-of-statement, python-mark-block)
6372 (python-beginning-of-block, python-beginning-of-statement)
6373 (python-blank-line-p, python-beginning-of-string)
6374 (python-open-block-statement-p): Delete functions.
6375 (python-indent-line, python-indent-line-1): Delete functions.
6376 (python-indent-line): New function.
6377 (python-indentation-levels): Delete function.
6378 (python-indent-calculate-levels): New function.
6379 (python-proc): Delete function.
6380 (python-shell-get-process): New function.
6381 (python-send-receive): Delete function.
6382 (python-shell-send-string-no-output): New function.
6383 (python-module-path): Delete function.
6384 (python-ffap-module-path): New function.
6385 (python-completion-at-point)
6386 (python-symbol-completions): Delete functions.
6387 (python-completion-complete-at-point): New function.
6388 (python-load-file): Delete function.
6389 (python-shell-send-file): New function.
6390 (python-calculate-indentation): Delete function.
6391 (python-indent-calculate-indentation): New function.
6392 (python-skip-comments/blanks): Delete function.
6393 (python-util-forward-comment): New function.
6394 (python-continuation-line-p): Delete function.
6395 (python-info-continuation-line-p): New function.
6396 (python-which-func, python-current-defun): Delete function.
6397 (python-info-current-defun): New function.
6398 (python-beginning-of-defun): Delete function.
6399 (python-nav-beginning-of-defun): New function.
6400 (python-close-block-statement-p)
6401 (python-block-end-p): Delete function.
6402 (python-info-closing-block): New function.
6403 (python-comint-output-filter-function)
6404 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
6405 (python-fill-comment, python-fill-decorator, python-fill-paren)
6406 (python-fill-string, python-imenu-make-element-tree)
6407 (python-imenu-make-tree, python-imenu-tree-assoc)
6408 (python-indent-context, python-indent-dedent-line)
6409 (python-indent-line-function)
6410 (python-indent-post-self-insert-function)
6411 (python-indent-toggle-levels)
6412 (python-info-assignment-continuation-line-p)
6413 (python-info-beginning-of-backlash)
6414 (python-info-block-continuation-line-p)
6415 (python-info-closing-block-message)
6416 (python-info-line-ends-backslash-p)
6417 (python-info-looking-at-beginning-of-defun)
6418 (python-info-ppss-context, python-info-ppss-context-type)
6419 (python-nav-list-defun-positions, python-nav-read-defun)
6420 (python-nav-sentence-end, python-nav-sentence-start)
6421 (python-pdbtrack-comint-output-filter-function)
6422 (python-pdbtrack-set-tracked-buffer)
6423 (python-shell-calculate-exec-path)
6424 (python-shell-calculate-process-environment)
6425 (python-shell-completion--do-completion-at-point)
6426 (python-shell-completion--get-completions)
6427 (python-shell-completion-complete-at-point)
6428 (python-shell-completion-complete-or-indent)
6429 (python-shell-get-or-create-process)
6430 (python-shell-get-process-name)
6431 (python-shell-internal-get-or-create-process)
6432 (python-shell-internal-get-process-name)
6433 (python-shell-internal-send-string, python-shell-make-comint)
6434 (python-shell-parse-command, python-shell-send-setup-code)
6435 (python-skeleton-add-menu-items)
6436 (python-util-clone-local-variables, python-util-position)
6437 (run-python-internal, python-indentation-levels)
6438 (python-nav-beginning-of-defun)
6439 (python-completion-complete-at-point): New functions.
6440 (run-python): Change arguments. New API requirements.
6441
6442 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6443
6444 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6445 (bug#11649).
6446
6447 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6448 (macroexp--expand-all): Use it.
6449
6450 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6451 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6452 Use `cl-function' instead.
6453
6454 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
6455
6456 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6457 Suggested by Stefan Monnier while discussing bug#11657.
6458
6459 2012-06-14 Sam Steingold <sds@gnu.org>
6460
6461 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6462
6463 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
6464
6465 * play/doctor.el (doctor-doc): Remove parameter and use
6466 doctor-sent instead of sent.
6467 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
6468
6469 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6470
6471 * files.el: Require cl-lib.
6472 (file-name-non-special): Replace case -> cl-case.
6473
6474 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6475
6476 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6477 mapping from #' to function*.
6478
6479 2012-06-13 Chong Yidong <cyd@gnu.org>
6480
6481 * mouse.el (mouse-drag-track): Do not set the mark if the user
6482 releases the mouse without selecting anything (Bug#11588).
6483
6484 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6485
6486 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6487 as well (bug#11646).
6488
6489 * loadup.el: Count byte-code functions as well.
6490
6491 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6492 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6493
6494 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6495 (bug#11649). Add cl-defun and cl-defmacro.
6496
6497 2012-06-13 Drew Adams <drew.adams@oracle.com>
6498
6499 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6500 Fix last change.
6501
6502 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
6503
6504 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6505 Otherwise, it blocks in batch mode.
6506
6507 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
6508
6509 * help-mode.el (bookmark-make-record-default): Declare.
6510
6511 2012-06-13 Chong Yidong <cyd@gnu.org>
6512
6513 * emacs-lisp/package.el (list-packages): Compute a list of
6514 packages that are newly-available since the last list-packages
6515 invocation.
6516 (package-menu--new-package-list): New var.
6517 (package-menu--generate, package-menu--print-info)
6518 (package-menu--status-predicate, package-menu-mark-install):
6519 Handle new status label "new".
6520
6521 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6522
6523 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
6524 conversion to backquotes.
6525
6526 2012-06-12 Chong Yidong <cyd@gnu.org>
6527
6528 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
6529 Rename from gud-inhibit-global-bindings.
6530
6531 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
6532
6533 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
6534 hook from nxml-glyph-set-hook.
6535
6536 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6537 declaration.
6538
6539 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6540
6541 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
6542 Convert to defcustom.
6543
6544 2012-06-12 Drew Adams <drew.adams@oracle.com>
6545
6546 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6547 New functions.
6548 (help-mode): Use them.
6549
6550 2012-06-11 Glenn Morris <rgm@gnu.org>
6551
6552 * progmodes/fortran.el (fortran-font-lock-keywords-3):
6553 Use preprocessor face for directives.
6554 (fortran-directive-re): Doc fix.
6555
6556 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6557
6558 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
6559 conversion to backquotes (bug#11652).
6560
6561 Fix compiler-expansion of CL's cXXr functions (bug#11673).
6562 * emacs-lisp/cl-lib.el (cl--defalias): New function.
6563 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
6564 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
6565 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6566 (cl-ninth, cl-tenth): Mark them as inlinable.
6567 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
6568 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
6569 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
6570 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
6571 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
6572 (cl-list*, cl-adjoin): Don't put an autoload manually.
6573 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
6574 (cl--compiler-macro-list*): Add autoload cookie.
6575 (cl--compiler-macro-cXXr): New function.
6576
6577 * help-fns.el (help-fns--compiler-macro): New function extracted from
6578 describe-function-1; follow aliases and use `compiler-macro' property.
6579 (describe-function-1): Use it.
6580
6581 2012-06-11 Chong Yidong <cyd@gnu.org>
6582
6583 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
6584 is uninstalled, if imagemagick is installed.
6585
6586 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6587
6588 * emacs-lisp/cl-lib.el: Use lexical-binding.
6589 (cl-map-extents, cl-maclisp-member): Remove.
6590 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
6591 (cl--set-substring, cl--block-wrapper, cl--block-throw)
6592 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
6593 * emacs-lisp/cl-extra.el: Use lexical-binding.
6594 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
6595 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
6596 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
6597 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
6598 * emacs-lisp/cl-seq.el: Use lexical-binding.
6599 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
6600 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
6601 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
6602 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
6603 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
6604 CL's internals.
6605
6606 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
6607
6608 Sync with Tramp 2.2.6-pre.
6609
6610 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
6611 `print-length' and `print-level' to nil, in order to avoid
6612 truncation. Reported by Christopher Schmidt
6613 <christopher@ristopher.com>.
6614
6615 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
6616
6617 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
6618 New defmacro.
6619 (tramp-compat-copy-directory): Add optional argument
6620 COPY-CONTENTS. It is not handled yet.
6621
6622 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
6623 (tramp-ftp-file-name-p): Simplify.
6624
6625 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
6626 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
6627 connection vector.
6628
6629 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
6630 (tramp-methods): Do not use `tramp-password-end-of-line'.
6631 (tramp-completion-function-alist-putty): Handle UNIX case.
6632 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
6633 (tramp-do-file-attributes-with-stat)
6634 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
6635 gid as real numbers. They could run out of integer range on cygwin.
6636 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
6637 (tramp-sh-handle-expand-file-name): Handle hops.
6638 (tramp-open-connection-setup-interactive-shell):
6639 Use `tramp-cleanup'. Move check for busyboxes ...
6640 (tramp-find-shell): ... here. Simplify implementation.
6641 Set "remote-shell" property also for alternative shells.
6642 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
6643 If failing, a regular file would be written otherwise.
6644 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
6645 (tramp-find-inline-encoding): Cache the coding commands in the
6646 process cache. Apply test command on the remote side, if defined.
6647 (tramp-find-inline-compress): Cache the compress commands in the
6648 process cache.
6649 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
6650 when requested. Handle hops.
6651 (tramp-current-connection): New defvar.
6652 (tramp-maybe-open-connection): Use `tramp-cleanup'.
6653 Throw `suppress', if there was a failed connection shortly before.
6654 Handle user interrupt. (Bug#10187)
6655 (tramp-get-inline-compress, tramp-get-inline-coding):
6656 Read connection properties from the process cache.
6657
6658 * net/tramp-smb.el (tramp-smb-server-version)
6659 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
6660 New defconsts.
6661 (tramp-smb-prompt): Extend for powershell prompt.
6662 (tramp-smb-file-name-handler-alist): Add handlers for
6663 `process-file', `shell-command' and `start-file-process'.
6664 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
6665 (tramp-smb-winexe-shell-command-switch): New defcustoms.
6666 (tramp-smb-file-name-p): Simplify.
6667 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
6668 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
6669 (tramp-smb-shell-quote-argument): New defuns.
6670 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
6671 Implement using "tar". By this, time-stamps are preserved.
6672 (tramp-smb-handle-copy-file): Handle also the case of directories.
6673 (tramp-smb-do-file-attributes-with-stat)
6674 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
6675 Use `tramp-get-connection-buffer').
6676 (tramp-smb-handle-rename-file): Use "rename", when source and
6677 target are on the same share.
6678 (tramp-smb-maybe-open-connection): Handle wrong passwords.
6679 Use `tramp-smb-server-version'.
6680 (tramp-smb-wait-for-output): Remove prompt.
6681
6682 * net/tramp.el (top): Require 'cl.
6683 (tramp-methods, tramp-rsh-end-of-line):
6684 Remove `tramp-password-end-of-line' from docstring.
6685 (tramp-save-ad-hoc-proxies): New defcustom.
6686 (tramp-completion-function-alist): Adapt docstring.
6687 (tramp-default-password-end-of-line): Remove defcustom.
6688 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
6689 (tramp-user-regexp, tramp-file-name-regexp-unified)
6690 (tramp-file-name-regexp-url): Extend regexp by hop separator.
6691 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
6692 (tramp-remote-file-name-spec-regexp): New defconst.
6693 (tramp-file-name-structure): Extend structure for hops.
6694 (tramp-get-method-parameter): Move up.
6695 (tramp-file-name-p, tramp-dissect-file-name)
6696 (with-parsed-tramp-file-name): Handle hops.
6697 (tramp-file-name-hop): New defun.
6698 (tramp-make-tramp-file-name): New optional arg HOP.
6699 (tramp-message-show-progress-reporter-message): New defvar.
6700 (tramp-with-progress-reporter): Use it. We cannot use
6701 `tramp-message-show-message' here, because this suppresses also
6702 error buffers.
6703 (tramp-error-with-buffer): Suppress buffer view, if
6704 `tramp-message-show-message' is nil.
6705 Use `tramp-get-connection-buffer'.
6706 (tramp-cleanup): New defun.
6707 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
6708 (tramp-file-name-handler): If `debug-on-error' is set, propagate
6709 an error unchanged.
6710 (tramp-completion-handle-file-name-all-completions): Handle hops.
6711 Fix an error when called from ido.
6712 (tramp-completion-dissect-file-name): Use better local variable
6713 name. Add hop to the vector.
6714 (tramp-handle-insert-file-contents): Use progress-reporter for the
6715 whole scenario.
6716 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
6717 to `t'.
6718 (tramp-check-for-regexp): Simplify search.
6719 (tramp-enter-password): Remove it. Move implementation ...
6720 (tramp-action-password): ... here.
6721 (tramp-mode-string-to-int, tramp-local-host-p)
6722 (tramp-make-tramp-temp-file, tramp-read-passwd)
6723 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
6724 Set tramp-autoload cookie.
6725
6726 * net/trampver.el: Update release number.
6727
6728 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6729 Michael Albinus <michael.albinus@gmx.de>
6730
6731 * net/tramp.el (tramp-set-completion-function): Fix docstring.
6732 (tramp-parse-group, tramp-parse-file)
6733 (tramp-parse-shostkeys-sknownhosts): New defuns.
6734 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
6735 (tramp-parse-shosts-group, tramp-parse-sconfig)
6736 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
6737 (tramp-parse-sknownhosts, tramp-parse-hosts)
6738 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6739 Use them.
6740 (tramp-parse-passwd-group, tramp-parse-netrc-group)
6741 (tramp-parse-putty-group): Don't narrow.
6742 (tramp-parse-putty): Make a loop.
6743 (tramp-file-name-handler): Catch the `suppress' signal.
6744
6745 2012-06-11 Chong Yidong <cyd@gnu.org>
6746
6747 * image.el (imagemagick-register-types): Put the ImageMagick entry
6748 at the end of image-type-file-name-regexps.
6749
6750 2012-06-11 Johan Bockgård <bojohan@gnu.org>
6751
6752 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6753 (pcase, pcase-let*, pcase-dolist): Use them.
6754
6755 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6756
6757 * emacs-lisp/pcase.el (pcase--let*): New function.
6758 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
6759 (pcase--expand): Use macroexp-let².
6760
6761 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6762
6763 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6764 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6765 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6766 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6767 * emacs-lisp/derived.el: Use pcase instead of `cl'.
6768 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6769
6770 2012-06-10 Glenn Morris <rgm@gnu.org>
6771
6772 * mail/rmail.el (rmail-yank-current-message): Leave point at
6773 correct position. (Bug#11660)
6774
6775 2012-06-10 Chong Yidong <cyd@gnu.org>
6776
6777 * allout-widgets.el: Fix code header.
6778
6779 2012-06-10 Chong Yidong <cyd@gnu.org>
6780
6781 * cus-edit.el (customize-changed-options-previous-release):
6782 Bump to 24.1.
6783
6784 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
6785
6786 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6787
6788 2012-06-09 Chong Yidong <cyd@gnu.org>
6789
6790 * ebuff-menu.el (electric-buffer-list): Preserve header line.
6791
6792 2012-06-09 Martin Rudalics <rudalics@gmx.at>
6793
6794 * window.el (special-display-popup-frame): Don't use
6795 window--display-buffer (Bug#11651).
6796
6797 2012-06-09 Eli Zaretskii <eliz@gnu.org>
6798
6799 Fix parallel builds: make sure loaddefs.el is not being written
6800 while Lisp files are compiled.
6801 (compile): Don't depend on 'mh-autoloads'.
6802 (compile-CMD, compile-SH): Depend on 'autoloads'.
6803 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6804
6805 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
6806
6807 2012-06-09 Chong Yidong <cyd@gnu.org>
6808
6809 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6810 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6811 Doc fixes (Bug#11225).
6812
6813 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6814
6815 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6816 a function if there's a clear indication that it has a compiler-macro.
6817 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6818 (macro-declarations-alist): Add arglist to declaration functions.
6819 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6820 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6821 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6822 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6823 Also add autoload to find the compiler macro.
6824 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6825 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6826 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6827 (cl--compiler-macro-get): New functions, replacing calls to
6828 cl-define-compiler-macro.
6829 (cl-typep) [compiler-macro]: Use macroexp-let².
6830
6831 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
6832
6833 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6834 string properly, fixes Bug#11473.
6835
6836 2012-06-08 Chong Yidong <cyd@gnu.org>
6837
6838 * faces.el (set-face-attribute): Doc fix.
6839 (modify-face): Don't use :bold and :italic.
6840 (error, warning, success): Tweak definitions.
6841
6842 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6843 (custom-modified, custom-set, custom-changed, custom-themed)
6844 (custom-saved, custom-button, custom-button-mouse)
6845 (custom-button-pressed, custom-state, custom-comment-tag)
6846 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6847 (custom-group-subtitle): Use new-style face specs.
6848 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6849 (custom-set-face, custom-changed-face, custom-saved-face)
6850 (custom-button-face, custom-button-pressed-face)
6851 (custom-documentation-face, custom-state-face)
6852 (custom-comment-face, custom-comment-tag-face)
6853 (custom-variable-tag-face, custom-variable-button-face)
6854 (custom-face-tag-face, custom-group-tag-face-1)
6855 (custom-group-tag-face): Remove obsolete face alias.
6856
6857 * epa.el (epa-validity-high, epa-validity-medium)
6858 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6859 (epa-field-name, epa-field-body):
6860 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6861 (font-lock-keyword-face, font-lock-builtin-face)
6862 (font-lock-function-name-face, font-lock-variable-name-face)
6863 (font-lock-type-face, font-lock-constant-face):
6864 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6865 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6866 * speedbar.el (speedbar-button-face, speedbar-file-face)
6867 (speedbar-directory-face, speedbar-tag-face)
6868 (speedbar-selected-face, speedbar-highlight-face)
6869 (speedbar-separator-face):
6870 * whitespace.el (whitespace-newline, whitespace-space)
6871 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6872 (whitespace-line, whitespace-space-before-tab)
6873 (whitespace-space-after-tab, whitespace-indentation)
6874 (whitespace-empty):
6875 * emulation/cua-base.el (cua-global-mark):
6876 * eshell/em-prompt.el (eshell-prompt):
6877 * net/newst-plainview.el (newsticker-new-item-face)
6878 (newsticker-old-item-face, newsticker-immortal-item-face)
6879 (newsticker-obsolete-item-face, newsticker-date-face)
6880 (newsticker-statistics-face, newsticker-default-face):
6881 * net/newst-reader.el (newsticker-feed-face)
6882 (newsticker-extra-face, newsticker-enclosure-face):
6883 * net/newst-treeview.el (newsticker-treeview-face)
6884 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6885 (newsticker-treeview-immortal-face)
6886 (newsticker-treeview-obsolete-face)
6887 (newsticker-treeview-selection-face):
6888 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6889 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6890 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6891 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6892 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6893 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6894 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6895 (mpuz-text):
6896 * progmodes/vera-mode.el (vera-font-lock-number)
6897 (vera-font-lock-function, vera-font-lock-interface):
6898 * textmodes/table.el (table-cell): Use new-style face specs, and
6899 don't use the old :bold and :italic attributes.
6900
6901 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6902 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6903 (ebrowse-member-class, ebrowse-progress): Likewise.
6904 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6905 (ebrowse-file-name-face, ebrowse-default-face)
6906 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6907 (ebrowse-progress-face): Remove obsolete faces.
6908
6909 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6910 Inherit from error and warning faces respectively.
6911
6912 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6913 Likewise.
6914 (flyspell-incorrect-face, flyspell-duplicate-face):
6915 Remove obsolete aliases.
6916
6917 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
6918
6919 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6920 Avoid infloop.
6921
6922 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6923
6924 * startup.el (argv, argi): Make lexically scoped.
6925 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6926 * emacs-lisp/cl-macs.el: Use lexical-binding.
6927 Rename cl-bind-* to cl--bind-*.
6928 * files.el: Don't require `cl' since it doesn't use it.
6929 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6930
6931 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
6932
6933 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6934 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6935 instead of calling external sort utility.
6936 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6937
6938 2012-06-08 Eli Zaretskii <eliz@gnu.org>
6939
6940 * descr-text.el (describe-char): Mention how to insert the
6941 character, if the current input method doesn't support it.
6942 See the discussion in this thread for the details:
6943 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6944
6945 2012-06-08 Sam Steingold <sds@gnu.org>
6946
6947 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6948 XF86Back to previous-buffer.
6949 (minibuffer-local-map): Bind them to next-history-element and
6950 previous-history-element respectively.
6951 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6952 help-go-back respectively.
6953 * info.el (Info-mode-map): Bind them to Info-history-forward and
6954 Info-history-back respectively.
6955 These are the keys next to Up on the ThinkPad keyboard.
6956
6957 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6958
6959 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6960 * emacs-lisp/cl-macs.el: Provide itself.
6961 (cl--labels-convert-cache): New var.
6962 (cl--labels-convert): New function.
6963 (cl-flet, cl-labels): New implementation with new semantics, relying on
6964 lexical-binding.
6965 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6966 (cl-closure-vars, cl--function-convert-cache)
6967 (cl--function-convert): Move from cl-macs.el.
6968 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6969 rename by removing the "cl-" prefix.
6970 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6971
6972 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6973
6974 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6975 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6976 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6977 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6978 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6979 (cl-hash-table-count): Add old compatibility aliases.
6980
6981 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6982 Use macroexpand-all-environment instead.
6983 (cl--old-macroexpand): New var.
6984 (cl--sm-macroexpand): New function.
6985 (cl-symbol-macrolet): Use it during macro expansion.
6986 (cl--function-convert-cache): New var.
6987 (cl--function-convert): New function, extracted from
6988 cl-macroexpand-all.
6989 (cl-lexical-let): Use it.
6990
6991 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6992 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6993 (cl-member): Remove old alias.
6994
6995 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6996 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6997 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6998 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6999 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
7000 (cl-macroexpand-cmacs): Remove var.
7001 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
7002 Use macroexpand-all instead.
7003
7004 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7005
7006 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
7007 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
7008 (macroexp-copyable-p): New functions and macros.
7009 * emacs-lisp/edebug.el (edebug-unwrap):
7010 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
7011 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
7012 (pcase--let*): Remove.
7013 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
7014 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
7015 macroexp-const-p instead.
7016 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
7017
7018 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
7019 instead of "cl-" for internal definitions. Use macroexp-const-p.
7020 (cl-old-bc-file-form): Remove var.
7021 (cl-const-exprs-p): Remove fun.
7022 (cl-labels, cl-macrolet): Use backquote.
7023 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
7024 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
7025 (cl-define-setf-expander): Rename from cl-define-setf-method.
7026 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
7027
7028 * international/mule-cmds.el: Don't require CL.
7029 (view-hello-file): Don't use `letf'.
7030
7031 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7032
7033 * tmm.el (tmm-prompt): Use string-prefix-p.
7034 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
7035 (tmm-add-prompt): Use minibuffer-completion-help.
7036 (tmm-delete-map): Remove.
7037
7038 * subr.el (kbd): Make it its own function.
7039
7040 2012-06-07 Stefan Merten <smerten@oekonux.de>
7041
7042 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
7043 Silence compiler warnings. Fix versions.
7044 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7045 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
7046 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7047 (rst-package-emacs-version-alist): Correct Emacs version to
7048 represent major merge with upstream.
7049 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7050
7051 2012-06-06 Glenn Morris <rgm@gnu.org>
7052
7053 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
7054 Only print environment variables if set.
7055
7056 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7057
7058 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
7059 (macroexp--cons): Rename from maybe-cons.
7060 (macroexp--accumulate): Rename from macroexp-accumulate.
7061 (macroexp--all-forms): Rename from macroexpand-all-forms.
7062 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
7063 (macroexp--expand-all): Rename from macroexpand-all-1.
7064
7065 2012-06-06 Sam Steingold <sds@gnu.org>
7066
7067 * calendar/calendar.el (calendar-in-read-only-buffer):
7068 Call `special-mode' to enable the standard read-only keybindings.
7069
7070 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7071
7072 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
7073 with "loading" messages (bug#11635).
7074
7075 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
7076
7077 * files.el (enable-remote-dir-locals): New option.
7078 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
7079
7080 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7081 Ensure, that the temp directory is local.
7082
7083 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
7084 `temporary-file-directory'.
7085
7086 * progmodes/python.el (python-send-region): Ensure, that the
7087 temporary file is created also in the remote case.
7088
7089 2012-06-06 Glenn Morris <rgm@gnu.org>
7090
7091 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
7092 (vc-rcs-update-changelog): Use it.
7093
7094 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
7095
7096 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
7097 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
7098 (vc-sccs-diff): Replace use of the external vcdiff script.
7099
7100 2012-06-05 Glenn Morris <rgm@gnu.org>
7101
7102 * ledit.el: Move to obsolete/.
7103
7104 2012-06-05 Sam Steingold <sds@gnu.org>
7105
7106 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
7107 patch (Bug#11140).
7108
7109 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7110
7111 * emacs-lisp/cust-print.el: Move to obsolete.
7112
7113 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
7114 compiler-macro expansion.
7115
7116 Add native compiler-macro support.
7117 * emacs-lisp/macroexp.el (macroexpand-all-1):
7118 Support compiler-macros directly. Properly follow aliases and apply
7119 the compiler macros more thoroughly.
7120 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
7121 macroexpand now properly follows aliases.
7122 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
7123 (cl-compiler-macroexpand): Use new prop.
7124 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
7125
7126 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
7127
7128 2012-06-05 Martin Rudalics <rudalics@gmx.at>
7129
7130 * window.el (get-lru-window, get-mru-window, get-largest-window):
7131 New argument NOT-SELECTED to avoid picking the selected window.
7132 (window--display-buffer-1, window--display-buffer-2): Replace by
7133 new function window--display-buffer
7134 (display-buffer-same-window, display-buffer-reuse-window)
7135 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7136 Use window--display-buffer.
7137 (display-buffer-use-some-window): Remove temporary dedication
7138 hack by calling get-lru-window and get-largest-window with
7139 NOT-SELECTED argument non-nil. Call window--display-buffer.
7140
7141 2012-06-05 Glenn Morris <rgm@gnu.org>
7142
7143 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
7144 Replace external vcdiff script.
7145
7146 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7147
7148 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
7149
7150 2012-06-04 Chong Yidong <cyd@gnu.org>
7151
7152 * image.el (imagemagick-types-inhibit): Revert last change.
7153 Add INFO and M.
7154 (imagemagick-enabled-types): Remove CIN and EPS*.
7155
7156 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7157
7158 * emacs-lisp/cl-lib.el: Rename from cl.el.
7159 * emacs-lisp/cl.el: New compatibility file.
7160 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
7161 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
7162 to obey the "cl-" prefix.
7163 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
7164
7165 2012-06-03 Glenn Morris <rgm@gnu.org>
7166
7167 * emacs-lisp/authors.el (authors-aliases): Addition.
7168
7169 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
7170 Fix :version.
7171
7172 2012-06-03 Stefan Merten <smerten@oekonux.de>
7173
7174 * textmodes/rst.el: Add comments.
7175 (rst-transition, rst-adornment): New faces.
7176 (rst-adornment-faces-alist): Make default safe to reevaluate.
7177 Fixes
7178 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
7179 Improve customization tags.
7180 (rst-define-level-faces): Clarify meaning.
7181
7182 2012-06-03 Chong Yidong <cyd@gnu.org>
7183
7184 * progmodes/compile.el (compilation-mode-line-fail)
7185 (compilation-mode-line-run, compilation-mode-line-exit):
7186 New faces.
7187 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
7188
7189 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
7190
7191 * progmodes/which-func.el (which-func-update-ediff-windows):
7192 New function. Use it in ediff-select-hook (Bug#11478).
7193
7194 2012-06-03 Chong Yidong <cyd@gnu.org>
7195
7196 * bindings.el: Remove explicit help text from format-mode-line.
7197 It is now supplied by mode-line-default-help-echo.
7198 (mode-line-front-space, mode-line-end-spaces)
7199 (mode-line-misc-info): New variables.
7200 (mode-line-modes, mode-line-position): Move the default value to
7201 the variable definition.
7202 (mode-line-default-help-echo): New defcustom.
7203 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
7204 (mode-line-modified-help-echo): New functions.
7205 (mode-line-mule-info, mode-line-modified): Use them.
7206 (mode-line-eol-desc, propertized-buffer-identification):
7207 Consistency fixes for help text.
7208 (mode-line-coding-system-map): Allow using mouse-3 to invoke
7209 set-buffer-file-coding-system (Bug#289).
7210 (mode-line-mule-info-help-echo): Update help text.
7211
7212 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7213
7214 * simple.el (execute-extended-command): Set real-this-command
7215 (bug#11506).
7216
7217 2012-06-02 Chong Yidong <cyd@gnu.org>
7218
7219 Remove incorrect uses of "modeline" in comments, docstrings, and
7220 function/variable names (Bug#10329).
7221
7222 * cus-edit.el (mode-line):
7223 * dframe.el (dframe-mouse-hscroll):
7224 * emacs-lisp/re-builder.el:
7225 * emacs-lisp/easy-mmode.el (define-minor-mode):
7226 * frame.el (set-frame-name):
7227 * help.el (lookup-minor-mode-from-indicator):
7228 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7229 * progmodes/cc-cmds.el (c-toggle-auto-newline)
7230 (c-toggle-hungry-state):
7231 * progmodes/antlr-mode.el (antlr-language-alist):
7232 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7233 * progmodes/vhdl-mode.el (vhdl-mode):
7234 * progmodes/which-func.el (which-func, which-func-cleanup-function):
7235 * term/ns-win.el (ns-face-at-pos):
7236 * term/sup-mouse.el (sup-mouse-report):
7237 * textmodes/flyspell.el (flyspell-mode-line-string):
7238 * textmodes/ispell.el (ispell-highlight-face):
7239 * textmodes/reftex-global.el:
7240 * vc/vc-arch.el (vc-arch-mode-line-string):
7241 * vc/vc-cvs.el (vc-cvs-mode-line-string):
7242 * vc/vc-git.el (vc-git-mode-line-string):
7243 * vc/vc-hooks.el (vc-display-status)
7244 (vc-default-mode-line-string):
7245 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7246
7247 * ansi-color.el (ansi-color-faces-vector): Change default faces.
7248
7249 * dired.el (dired-sort-set-mode-line): Rename from
7250 dired-sort-set-modeline. All callers changed.
7251
7252 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7253 eshell-status-in-modeline.
7254
7255 * foldout.el (foldout-mode-line-string): Rename from
7256 foldout-modeline-string. All callers changed.
7257 (foldout-update-mode-line): Rename from foldout-update-modeline.
7258
7259 * subr.el (redraw-modeline): Make into obsolete alias.
7260
7261 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7262 timeclock-modeline-display. Make old name an alias.
7263 (timeclock-update-mode-line): Likewise. All callers changed.
7264 (timeclock-mode-line-display): No need to check before using
7265 add-hook.
7266 (timeclock-relative, timeclock-day-over-hook)
7267 (timeclock-use-elapsed, timeclock-mode-string)
7268 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7269
7270 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
7271 crisp-mode-modeline-string.
7272
7273 * play/solitaire.el (solitaire-build-mode-line): Rename from
7274 solitaire-build-modeline. All callers changed.
7275
7276 * play/zone.el (zone-hiding-mode-line): Rename from
7277 zone-hiding-modeline. All callers changed.
7278 (zone): Remove unusued `modeline-hidden-level' property.
7279
7280 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
7281 xscheme-modeline-initialize. All callers changed.
7282
7283 * strokes.el (strokes-lighter): Rename from
7284 strokes-modeline-string.
7285
7286 * textmodes/sgml-mode.el (html-face-tag-alist)
7287 (html-tag-face-alist): Use mode-line face instead of obsolete
7288 alias modeline.
7289
7290 2012-06-02 Stefan Merten <smerten@oekonux.de>
7291
7292 * textmodes/rst.el: Always require `cl'.
7293 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
7294
7295 2012-06-02 Chong Yidong <cyd@gnu.org>
7296
7297 * image.el (imagemagick-enabled-types): Rename from
7298 imagemagick-types-enable. Add many more types.
7299 (imagemagick-types-inhibit): Change default to nil.
7300 (imagemagick-filter-types): Caller changed.
7301
7302 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7303
7304 * emacs-lisp/cl-macs.el: Use backquotes.
7305 (cl-transform-function-property): Use eval-and-compile rather than
7306 abusing `require'.
7307 (defstruct): Use declare-function instead of with-no-warnings.
7308
7309 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7310 (byte-compile-output-docform): Re-add the print-circle bindings.
7311 (byte-compile-fix-header): Use #$ just because it's shorter.
7312 (byte-compile-output-file-form): Remove defun/defmacro.
7313
7314 2012-06-01 Martin Rudalics <rudalics@gmx.at>
7315
7316 * simple.el (choose-completion): Remove now obsolete binding for
7317 owindow.
7318
7319 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
7320
7321 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7322 in order to avoid "Stack overflow in regexp matcher".
7323
7324 2012-05-31 Glenn Morris <rgm@gnu.org>
7325
7326 * image.el: For clarity, call imagemagick-register-types at
7327 top-level, rather than relying on a custom :initialize.
7328 (imagemagick-types-enable): New option. (Bug#11557)
7329 (imagemagick-filter-types): New function. (Bug#7406)
7330 (imagemagick-register-types): Use imagemagick-filter-types.
7331 If disabling support, remove elements altogether rather
7332 than using an impossible regexp.
7333 (imagemagick-types-inhibit): Give it the default init function.
7334
7335 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7336
7337 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
7338 Handle arbitrary file name lengths (Bug#11585).
7339
7340 2012-05-31 Martin Rudalics <rudalics@gmx.at>
7341
7342 * desktop.el (desktop-read): Clear previous and next buffers for
7343 all windows and bury *Messages* buffer (bug#11556).
7344
7345 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7346
7347 Add `declare' for `defun'. Align `defmacro's with it.
7348 * emacs-lisp/easy-mmode.el (define-minor-mode)
7349 (define-globalized-minor-mode): Don't autoload the var definitions.
7350 * emacs-lisp/byte-run.el: Use lexical-binding.
7351 (defun-declarations-alist, macro-declarations-alist): New vars.
7352 (defmacro, defun): Use them.
7353 (make-obsolete, define-obsolete-function-alias)
7354 (make-obsolete-variable, define-obsolete-variable-alias):
7355 Use `declare'.
7356 (macro-declaration-function): Mark obsolete.
7357 * emacs-lisp/autoload.el: Use lexical-binding.
7358 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
7359
7360 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7361
7362 * textmodes/ispell.el (ispell-with-no-warnings):
7363 Define as a macro.
7364 (ispell-kill-ispell, ispell-change-dictionary):
7365 Use `called-interactively-p' for Emacs instead of obsolete
7366 `interactive-p'.
7367
7368 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7369
7370 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7371 (macro-declaration-function): Move var from C code.
7372 (macro-declaration-function): Define function with defalias.
7373 * emacs-lisp/macroexp.el (macroexpand-all-1):
7374 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7375 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7376 defun/defmacro any more.
7377 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7378 Provide fallback for unknown arglist.
7379 (byte-compile-arglist-warn): Change calling convention.
7380 (byte-compile-output-file-form): Move print-vars binding.
7381 (byte-compile-output-docform): Simplify accordingly.
7382 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7383 (byte-compile-defmacro-declaration): Remove.
7384 (byte-compile-file-form-defmumble): Generalize to defalias.
7385 (byte-compile-output-as-comment): Return byte-positions.
7386 Simplify callers accordingly.
7387 (byte-compile-lambda): Use `assert'.
7388 (byte-compile-defun, byte-compile-defmacro): Remove.
7389 (byte-compile-file-form-defalias):
7390 Use byte-compile-file-form-defmumble.
7391 (byte-compile-defalias-warn): Remove.
7392
7393 2012-05-29 Stefan Merten <smerten@oekonux.de>
7394
7395 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
7396 possible. Fix authors. Improve comments. Improve loading of `cl'.
7397
7398 (rst-mode-abbrev-table): Merge definition.
7399 (rst-mode): Make sure `font-lock-defaults' is buffer local.
7400 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
7401
7402 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
7403
7404 * calendar/icalendar.el
7405 (icalendar-export-region): Export UID properly.
7406
7407 2012-05-29 Leo Liu <sdl.web@gmail.com>
7408 * calendar/icalendar.el (icalendar-import-format):
7409 Add `icalendar-import-format-uid' (Bug#11525).
7410 (icalendar-import-format-uid): New.
7411 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
7412 Export UID.
7413
7414 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7415
7416 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
7417 different alternative patterns.
7418 (pcase-codegen): Be more careful to preserve identity.
7419 (pcase--u1): Don't forget to mark vars as used.
7420
7421 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
7422 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
7423 (byte-compile-from-buffer): ...rather than here.
7424
7425 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
7426 functions from byte-compile-function-environment.
7427
7428 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
7429
7430 * window.el (window-deletable-p): Avoid deleting the root window
7431 of a frame with an active minibuffer.
7432
7433 2012-05-29 Martin Rudalics <rudalics@gmx.at>
7434
7435 * simple.el (choose-completion): Use quit-window (Bug#11567).
7436
7437 2012-05-29 Chong Yidong <cyd@gnu.org>
7438
7439 * whitespace.el (whitespace-cleanup): Fix usage of
7440 whitespace-empty-at-bob-regexp (Bug#11492).
7441
7442 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7443
7444 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7445 revert (Bug#11488).
7446
7447 2012-05-29 Juri Linkov <juri@jurta.org>
7448
7449 * isearch.el (isearch-mode-map): Bind `M-s _' to
7450 `isearch-toggle-symbol'. Bind `M-s c' to
7451 `isearch-toggle-case-fold'.
7452 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7453 (isearch-forward): Add `M-s _' to the docstring.
7454 (isearch-forward-symbol, isearch-toggle-case-fold)
7455 (isearch-symbol-regexp): New functions. (Bug#11381)
7456
7457 2012-05-29 Juri Linkov <juri@jurta.org>
7458
7459 * isearch.el (isearch-word): Add docstring. (Bug#11381)
7460 (isearch-occur, isearch-search-and-update): If `isearch-word' is
7461 a function, call it to get the regexp.
7462 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7463 property `isearch-message-prefix' instead of the string "word ".
7464 (isearch-search-fun-default): For the case of `isearch-word',
7465 return a lambda that calls re-search-forward/re-search-backward
7466 with a regexp returned by `word-search-regexp' or by the function
7467 in `isearch-word'.
7468
7469 2012-05-29 Juri Linkov <juri@jurta.org>
7470
7471 * isearch.el (isearch-search-fun-default): New function.
7472 (isearch-search-fun): Move default part to the new function
7473 `isearch-search-fun-default'.
7474 (isearch-search-fun-function): Set the default value to
7475 `isearch-search-fun-default'. (Bug#11381)
7476
7477 * comint.el (comint-history-isearch-end):
7478 Use `isearch-search-fun-default'.
7479 (comint-history-isearch-search): Use `isearch-search-fun-default'
7480 and remove spacial case for `isearch-word'.
7481 (comint-history-isearch-wrap): Remove spacial case for
7482 `isearch-word'.
7483
7484 * hexl.el (hexl-isearch-search-function):
7485 Use `isearch-search-fun-default'.
7486
7487 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7488 Use `word-search-regexp' for `isearch-word'.
7489
7490 * misearch.el (multi-isearch-search-fun):
7491 Use `isearch-search-fun-default'.
7492
7493 * simple.el (minibuffer-history-isearch-search):
7494 Use `isearch-search-fun-default' and remove spacial case for
7495 `isearch-word'.
7496 (minibuffer-history-isearch-wrap): Remove spacial case for
7497 `isearch-word'.
7498
7499 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
7500 Remove spacial case for `isearch-word'.
7501 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
7502
7503 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7504
7505 Decrease XEmacs incompatibilities.
7506 * textmodes/flyspell.el (flyspell-check-pre-word-p):
7507 Use `string-match'.
7508 (flyspell-delete-region-overlays): Use alternative definition for
7509 XEmacs.
7510 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7511 (flyspell-word): Use `process-kill-without-query' if XEmacs.
7512 (flyspell-mode-on): Use `interactive-p' if XEmacs.
7513 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7514 `define-obsolete-face-alias' under XEmacs, but old method.
7515
7516 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
7517 `with-no-warnings' definition or Emacs alias.
7518 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
7519 (ispell-word): Do not use `region-p' if XEmacs.
7520
7521 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7522
7523 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7524 Check for `ispell-dictionary-base-alist' instead of full
7525 `ispell-dictionary-alist'.
7526 (ispell-init-process): Show spellchecker when starting new Ispell
7527 process.
7528
7529 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7530
7531 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
7532 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
7533
7534 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
7535
7536 * version.el (motif-version-string, gtk-version-string)
7537 (ns-version-string): Declare.
7538
7539 2012-05-27 Juri Linkov <juri@jurta.org>
7540
7541 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
7542 after the `eval-defun-1' specialcaseing
7543 like in `edebug-eval-defun' (bug#10181).
7544
7545 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
7546 like in `eval-defun-1'.
7547
7548 2012-05-27 Eli Zaretskii <eliz@gnu.org>
7549
7550 * mail/sendmail.el (mail-yank-region):
7551 Recognize rmail-yank-current-message in addition to insert-buffer.
7552 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
7553 a *mail* buffer created through rmail-start-mail with sendmail as
7554 mail-user-agent.
7555
7556 2012-05-27 Chong Yidong <cyd@gnu.org>
7557
7558 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
7559 Default to 256 (Bug#11267).
7560
7561 * help.el (describe-mode): Doc fix.
7562
7563 2012-05-26 Glenn Morris <rgm@gnu.org>
7564
7565 * w32-fns.el (w32-init-info): Remove.
7566 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
7567
7568 * info.el (info-initialize): For self-contained NS builds, put the
7569 included info/ directory at the front. (Bug#2791)
7570
7571 * paths.el (Info-default-directory-list): Make it a defcustom,
7572 mainly so that we can use custom-initialize-delay.
7573
7574 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7575
7576 * subr.el (buffer-has-markers-at): Mark obsolete.
7577
7578 * subr.el (lambda): Use declare.
7579
7580 * emacs-lisp/lisp-mode.el (lambda):
7581 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
7582
7583 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7584
7585 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
7586
7587 2012-05-26 Glenn Morris <rgm@gnu.org>
7588
7589 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
7590
7591 2012-05-25 Glenn Morris <rgm@gnu.org>
7592
7593 * paths.el: Remove no-byte-compile.
7594 * loadup.el: No need to load paths.el uncompiled.
7595
7596 * image.el (imagemagick-types-inhibit): Doc fix.
7597
7598 * version.el: Remove no-byte-compile and associated formatting.
7599 * loadup.el: No need to load version.el uncompiled. AFAICS, this
7600 is ancient code from when there was an "inc-vers.el".
7601
7602 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7603
7604 * progmodes/gdb-mi.el: Minor style changes.
7605 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
7606 Turn into minor modes.
7607 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
7608 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
7609 (gdb-shell): Remove unneeded let-binding.
7610 (gdb-get-many-fields): Eliminate O(n²) behavior.
7611
7612 2012-05-25 Eli Zaretskii <eliz@gnu.org>
7613
7614 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
7615 platforms that don't link in fontset.c.
7616
7617 2012-05-25 Juri Linkov <juri@jurta.org>
7618
7619 Use the same diff color scheme as in modern VCSes (bug#10181).
7620
7621 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
7622 to avoid confusion with `diff-added' that now uses green colors.
7623 (diff-removed): Use shades of red.
7624 (diff-added): Use shades of green.
7625 (diff-changed): Leave just the yellow color.
7626 (diff-use-changed-face): New variable.
7627 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
7628 how to highlight context diff changes.
7629 (diff-refine-change): Use shades of yellow.
7630 (diff-refine-removed): New face that uses shades of red.
7631 (diff-refine-added): New face that uses shades of green.
7632 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
7633 `diff-refine-removed' in the call to `smerge-refine-subst'
7634 depending on the value of `diff-use-changed-face'.
7635
7636 * vc/smerge-mode.el (smerge-mine): Use shades of red.
7637 (smerge-other): Use shades of green.
7638 (smerge-base): Use shades of yellow.
7639 (smerge-refined-change): Empty face.
7640 (smerge-refined-removed): New face that uses shades of red.
7641 (smerge-refined-added): New face that uses shades of green.
7642 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
7643 args `props-r' and `props-a', and use them. Doc fix.
7644 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
7645 on its value use different faces `smerge-refined-change',
7646 `smerge-refined-removed', `smerge-refined-added' in the call to
7647 `smerge-refine-subst'.
7648
7649 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
7650 Add face condition `min-colors 88' with shades of red.
7651 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
7652 `min-colors 88' with shades of green.
7653 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
7654 `min-colors 88' with shades of yellow.
7655
7656 2012-05-24 Glenn Morris <rgm@gnu.org>
7657
7658 * paths.el (prune-directory-list, remote-shell-program): Move to...
7659 * files.el (prune-directory-list, remote-shell-program): ...here.
7660 For the latter, delay initialization, prefer ssh, just search PATH.
7661
7662 * paths.el (term-file-prefix): Move to faces.el (the only user).
7663 * faces.el (term-file-prefix): Move here, make it a defcustom.
7664
7665 * paths.el (news-directory, news-path, news-inews-program):
7666 Move to gnus/nnspool.el.
7667
7668 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
7669
7670 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
7671 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
7672 Make the latter a defcustom, with a delayed initialization.
7673
7674 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
7675 These were deleted from Gnus itself late 2010.
7676
7677 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
7678
7679 * progmodes/which-func.el (which-func-ff-hook):
7680 Check against user-error, not error.
7681
7682 * emacs-lisp/edebug.el (top): Do not load or set up loading of
7683 cl-specs.el, which no longer exists.
7684
7685 2012-05-22 Glenn Morris <rgm@gnu.org>
7686
7687 * info.el (info-emacs-bug): New command.
7688 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
7689 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
7690
7691 2012-05-21 Glenn Morris <rgm@gnu.org>
7692
7693 * makefile.w32-in (update-subdirs-SH):
7694 * Makefile.in (update-subdirs): Update for moved update-subdirs.
7695
7696 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7697
7698 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
7699
7700 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7701 Simplify Maven regexp, and make sure the file can't start with a space
7702 (bug#11517).
7703
7704 2012-05-21 Glenn Morris <rgm@gnu.org>
7705
7706 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7707 Scrap superfluous subshells.
7708
7709 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7710
7711 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
7712 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
7713
7714 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
7715
7716 * calc/calc.el (calc-ensure-consistent-units): New variable.
7717
7718 * calc/calc-units.el (math-consistent-units-p)
7719 (math-check-unit-consistency): New functions.
7720 (calc-quick-units, calc-convert-units):
7721 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
7722 is non-nil.
7723 (calc-extract-units): Fix typo.
7724
7725 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7726
7727 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
7728
7729 * textmodes/flyspell.el: Commenting style, plus code simplifications.
7730 (flyspell-default-deplacement-commands): Don't spell check after
7731 repeated window/frame switches (e.g. triggered by mouse-movement).
7732 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
7733 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
7734 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
7735 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
7736 Remove unused vars.
7737 (flyspell-get-casechars, flyspell-get-not-casechars):
7738 Simplify; Don't bother removing a ] just to add it back.
7739 * textmodes/ispell.el (ispell-program-name): Use executable-find.
7740
7741 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7742
7743 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7744 New functions.
7745 (math-function-table): Add support for more C functions.
7746
7747 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7748
7749 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7750 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7751 Protect delay handling for otherchars against empty otherchars.
7752
7753 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7754
7755 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7756 their respective macro declarations.
7757 * skeleton.el (define-skeleton):
7758 * progmodes/compile.el (define-compilation-mode):
7759 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7760 (define-ibuffer-filter):
7761 * emacs-lisp/generic.el (define-generic-mode):
7762 * emacs-lisp/easy-mmode.el (define-minor-mode)
7763 (define-globalized-minor-mode):
7764 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7765 * emacs-lisp/byte-run.el (defsubst):
7766 * custom.el (deftheme): Add doc-string metadata.
7767
7768 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7769
7770 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7771
7772 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7773
7774 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7775
7776 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7777 * emacs-lisp/cl-macs.el: Idem.
7778 * emacs-lisp/cl-specs.el: Remove.
7779
7780 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7781
7782 Minor renaming of internal CL functions and variables.
7783 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7784 (cl--position): Rename from cl-position.
7785 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7786 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7787 (cl--random-state): Rename from *random-state*.
7788
7789 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7790
7791 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7792 parens around the arg list (bug#11499).
7793
7794 2012-05-17 Juri Linkov <juri@jurta.org>
7795
7796 * isearch.el (word-search-regexp, word-search-backward)
7797 (word-search-forward, word-search-backward-lax)
7798 (word-search-forward-lax): Move functions from search.c
7799 (bug#10145, bug#11381).
7800
7801 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7802
7803 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7804 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7805 Delay for otherchars as for normal word components.
7806
7807 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7808
7809 * minibuffer.el (completion--sifn-requote): Fix last change.
7810 (minibuffer-local-must-match-filename-map):
7811 Move define-obsolete-variable-alias before its var.
7812
7813 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7814
7815 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7816
7817 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7818 behavior.
7819 (completion--string-equal-p): New function.
7820 (completion--twq-all): Use it to get better assertion failure data.
7821
7822 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7823 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7824 (shell--requote-argument): New functions.
7825 (shell-completion-vars): Use them.
7826 (shell--parse-pcomplete-arguments): Rename from
7827 shell-parse-pcomplete-arguments.
7828 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7829 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7830 Obey comint-file-name-quote-list.
7831
7832 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7833 (smie-indent-keyword): Use it.
7834
7835 2012-05-14 Stefan Merten <smerten@oekonux.de>
7836
7837 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7838
7839 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7840
7841 * net/rlogin.el (rlogin-mode-map): Fix last change.
7842
7843 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
7844
7845 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7846 the following \r\n using a single `process-send-string', since the
7847 Lotus SMTP server refuses to accept any commands if they are sent
7848 with two `process-send-string's (Bug#11444).
7849
7850 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7851
7852 * shell.el (shell-parse-pcomplete-arguments):
7853 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
7854
7855 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7856
7857 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
7858 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7859 (image-transform-width, image-transform-fit-width): New functions.
7860 (image-transform-properties): Use them.
7861 (image-transform-check-size): New function.
7862 (image-toggle-display-image): Use it (for testing).
7863 (image-transform-set-rotation): Reduce angle mod 360.
7864 Delete obsolete comment.
7865
7866 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7867
7868 * image-mode.el: Fix scaling (bug#11399).
7869 (image-transform-resize): Doc fix.
7870 (image-transform-properties): Default scale is 1 and height should
7871 be an integer.
7872
7873 2012-05-13 Johan Bockgård <bojohan@gnu.org>
7874
7875 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7876 than hard-coding `car', to fix misbehavior when moving forward.
7877
7878 2012-05-13 Chong Yidong <cyd@gnu.org>
7879
7880 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7881 (tabulated-list-entries, tabulated-list-padding)
7882 (tabulated-list-sort-key): Make permanent-local.
7883
7884 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7885 (electric-buffer-list): Put electric buffer menu
7886 command descriptions in this docstring, instead of the docstring
7887 of electric-buffer-menu-mode. Code cleanups.
7888 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7889 Electric-buffer-menu-mode.
7890 (electric-buffer-update-highlight): Minor code cleanup.
7891
7892 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
7893
7894 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7895 (Bug#11447)
7896
7897 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7898
7899 Move define-obsolete-variable-alias before the var's definition.
7900 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7901 * tooltip.el (tooltip-hook):
7902 * textmodes/reftex-toc.el (reftex-toc-map):
7903 * textmodes/reftex-sel.el (reftex-select-label-map)
7904 (reftex-select-bib-map):
7905 * textmodes/reftex-index.el (reftex-index-map)
7906 (reftex-index-phrases-map):
7907 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7908 * progmodes/meta-mode.el (meta-mode-map):
7909 * novice.el (disabled-command-hook):
7910 * loadhist.el (unload-hook-features-list):
7911 * frame.el (blink-cursor):
7912 * files.el (find-file-not-found-hooks, write-file-hooks)
7913 (write-contents-hooks):
7914 * emulation/tpu-edt.el (GOLD-map):
7915 * emacs-lock.el (emacs-lock-from-exiting):
7916 * emacs-lisp/generic.el (generic-font-lock-defaults):
7917 * emacs-lisp/chart.el (chart-map):
7918 * dos-fns.el (register-name-alist):
7919 * dired-x.el (dired-omit-files-p):
7920 * desktop.el (desktop-enable):
7921 * cus-edit.el (custom-mode-hook):
7922 * buff-menu.el (buffer-menu-mode-hook):
7923 * bookmark.el (bookmark-read-annotation-text-func)
7924 (bookmark-exit-hooks):
7925 * allout.el (allout-mode-deactivate-hook)
7926 (allout-exposure-change-hook, allout-structure-added-hook)
7927 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7928 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7929 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7930 comes before the corresponding variable's definition.
7931
7932 2012-05-12 Chong Yidong <cyd@gnu.org>
7933
7934 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
7935 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7936 (Buffer-menu-mode-map): Bind it.
7937 (Buffer-menu--pretty-name): Add a mouse-face property.
7938
7939 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7940
7941 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7942 (prolog-upper-case-string, prolog-lower-case-string)
7943 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7944 (prolog-use-smie, prolog-smie-grammar): New vars.
7945 (prolog-smie-forward-token, prolog-smie-backward-token)
7946 (prolog-smie-rules): New funs.
7947 (prolog-comment-indent): Remove.
7948 (prolog-mode-variables): Use default comment indentation instead.
7949 Setup SMIE.
7950 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7951 (prolog-mode): Don't call them any more.
7952 (prolog-electric-colon, prolog-electric-dash)
7953 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7954
7955 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7956
7957 * minibuffer.el (completion--twq-all): Again, allow case differences.
7958
7959 * term.el: Move keymap initialization code to be more idiomatic.
7960 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7961 (term-terminal-menu): Move initialization into declaration.
7962 (term-escape-char): Let the user set it in her .emacs.
7963
7964 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7965 Provide SMIE-based indentation (not enabled by default yet).
7966 (sh-mode-map): Don't bind electric keys.
7967 Use electric-pair-mode instead of skeleton-pair.
7968 (sh-assignment-regexp): Fit within 80 columns.
7969 (sh-indent-supported): Specify actual shell name instead of boolean.
7970 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7971 (sh-maybe-here-document): Use it. Make obsolete.
7972 (sh-electric-here-document-mode) New minor mode.
7973 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7974 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7975 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7976 (sh-smie-rc-grammar, sh-use-smie): New vars.
7977 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7978 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7979 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7980 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7981 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7982 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7983 (sh-set-shell): Use smie-setup if requested.
7984
7985 * term.el (term-set-escape-char): Properly set term-escape-char.
7986 See http://stackoverflow.com/questions/10524656.
7987
7988 2012-05-10 Chong Yidong <cyd@gnu.org>
7989
7990 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7991 Use url-generic-parse-url, and handle host names and Windows
7992 filenames properly.
7993 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7994 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7995 URL schemes to work on.
7996 (ffap--toggle-read-only): New function.
7997 (ffap-read-only, ffap-read-only-other-window)
7998 (ffap-read-only-other-frame): Use it.
7999 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
8000 necessary for ffap-url-unwrap-remote.
8001
8002 2012-05-10 Dave Abrahams <dave@boostpro.com>
8003
8004 * cus-start.el (create-lockfiles): Add it.
8005
8006 2012-05-09 Chong Yidong <cyd@gnu.org>
8007
8008 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
8009 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
8010
8011 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8012
8013 * shell.el (shell-completion-vars): Fix last change (bug#11348).
8014
8015 2012-05-09 Chong Yidong <cyd@gnu.org>
8016
8017 * ansi-color.el (ansi-color-process-output): Check for validity of
8018 comint-last-output-start before using it. This avoids a bad
8019 interaction with gdb-mi's input/output buffer.
8020
8021 2012-05-09 Glenn Morris <rgm@gnu.org>
8022
8023 * files.el (dir-locals-read-from-file):
8024 Mention dir-locals in any error message.
8025
8026 2012-05-09 Chong Yidong <cyd@gnu.org>
8027
8028 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
8029 package (Bug#11410).
8030
8031 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
8032 variables into description.
8033
8034 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8035
8036 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
8037 shell-delimiter-argument-list (bug#11348).
8038 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
8039
8040 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
8041
8042 * textmodes/rst.el: Silence byte-compiler warnings.
8043 (rst-re-alist, rst-reset-section-caches): Move around.
8044 (rst-re): Use `characterp', not `char-valid-p'.
8045 (font-lock-beg, font-lock-end): Declare.
8046
8047 * progmodes/idlw-shell.el (specs): Remove reference to deleted
8048 variable `idlwave-shell-activate-alt-keybindings' and simplify.
8049
8050 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
8051
8052 2012-05-08 Glenn Morris <rgm@gnu.org>
8053
8054 * files.el (auto-mode-alist): Treat ".make" like ".mk".
8055
8056 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8057
8058 * vc/log-edit.el: Add GNU coding standards highlighting.
8059 (log-edit-font-lock-gnu-style)
8060 (log-edit-font-lock-gnu-keywords): New vars.
8061 (log-edit-font-lock-keywords): New fun.
8062 (log-edit-mode): Don't fold case in font-lock.
8063 (log-edit-font-lock-keywords): Do not assume case-folding.
8064
8065 * imenu.el: Misc cleanup. Make docstrings out of comments.
8066 Use lexical-binding.
8067 (imenu--index-alist, imenu--last-menubar-index-alist)
8068 (imenu-menubar-modified-tick): Use defvar-local.
8069 (imenu--split-menu): Remove unused var.
8070 (imenu--cleanup-seen): Declare as global.
8071 (imenu--cleanup): Use dolist.
8072
8073 * subr.el (defvar-local): Add debug spec and doc-string position.
8074
8075 2012-05-08 Glenn Morris <rgm@gnu.org>
8076
8077 * language/burmese.el, language/cham.el, language/czech.el:
8078 * language/english.el, language/georgian.el, language/greek.el:
8079 * language/japanese.el, language/khmer.el, language/korean.el:
8080 * language/lao.el, language/misc-lang.el, language/romanian.el:
8081 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
8082 * language/thai.el, language/utf-8-lang.el:
8083 Remove no-byte-compile setting.
8084
8085 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
8086
8087 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8088
8089 * progmodes/make-mode.el (makefile-browse):
8090 Remove unnecessary interactive. (Bug#11324)
8091
8092 2012-05-07 Glenn Morris <rgm@gnu.org>
8093
8094 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
8095
8096 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
8097
8098 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8099
8100 * loadup.el: Preload newcomment.el.
8101 * newcomment.el: Move autoload-only code to toplevel.
8102
8103 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
8104 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8105 Handle new :right-align column property.
8106 (tabulated-list-print-col): Idem, plus use `display' text-property to
8107 try and preserve alignment for variable pitch fonts.
8108
8109 2012-05-07 Chong Yidong <cyd@gnu.org>
8110
8111 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
8112 (tabulated-list-use-header-line): New var.
8113 (tabulated-list-init-header): Use it.
8114 (tabulated-list-print-fake-header): New function.
8115 (tabulated-list-print): Use it.
8116 (tabulated-list-sort-button-map): Add non-header-line commands.
8117 (tabulated-list-init-header): Add column name property to basic
8118 labels as well.
8119 (tabulated-list-col-sort): Handle non-header-line button case.
8120 (tabulated-list--sort-by-column-name): Fix a corner case.
8121
8122 * buff-menu.el (list-buffers--refresh):
8123 Handle Buffer-menu-use-header-line.
8124
8125 2012-05-06 Chong Yidong <cyd@gnu.org>
8126
8127 * buff-menu.el: Convert to Tabulated List mode.
8128 (Buffer-menu-buffer+size-width): Make obsolete.
8129 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
8130 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
8131 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
8132 documentation into docstring of buffer-menu.
8133 (Buffer-menu-toggle-files-only): Add an informative message.
8134 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
8135 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
8136 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
8137 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
8138 (Buffer-menu-execute, Buffer-menu-select)
8139 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
8140 (Buffer-menu-bury): Use Tabulated List machinery.
8141 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
8142 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
8143 Delete.
8144 (list-buffers--refresh): New function.
8145 (list-buffers-noselect): Use it.
8146 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
8147 (Buffer-menu--pretty-file-name): New helper functions.
8148
8149 * loadup.el: Preload tabulated-list.
8150
8151 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
8152 tabulated-list-sort-column.
8153 (tabulated-list-init-header): Add the initial aligning space even
8154 if tabulated-list-padding is zero.
8155
8156 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
8157
8158 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
8159 whose cdr is not a cons cell correctly (bug#11038).
8160
8161 2012-05-06 Chong Yidong <cyd@gnu.org>
8162
8163 * emacs-lisp/tabulated-list.el (tabulated-list-format):
8164 Accept additional plist in column descriptors.
8165 (tabulated-list-init-header): Obey it.
8166 (tabulated-list-get-entry): New function.
8167 (tabulated-list-put-tag): Use it. Use string-width instead of
8168 length.
8169 (tabulated-list--column-number): New function.
8170 (tabulated-list-print): Use it.
8171 (tabulated-list-print-col): New function.
8172 Set `tabulated-list-column-name' property on each column's text.
8173 (tabulated-list-print-entry): Use it.
8174 (tabulated-list-delete-entry, tabulated-list-set-col):
8175 New functions.
8176 (tabulated-list-sort-column): New command (Bug#11337).
8177
8178 * buff-menu.el (list-buffers): Move C-x C-b binding from
8179 buff-menu.el to bindings.el.
8180
8181 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
8182 :advertised-binding feature.
8183
8184 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
8185
8186 * progmodes/compile.el (compilation-internal-error-properties):
8187 Calculate start position correctly when end-col is set but
8188 end-line is not (Bug#11382).
8189
8190 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
8191
8192 * man.el (Man-unindent): Use text-property-default-nonsticky to
8193 prevent untabify from inheriting face properties (Bug#11408).
8194
8195 2012-05-05 Stefan Merten <smerten@oekonux.de>
8196
8197 * textmodes/rst.el: Major merge with upstream development up to
8198 Docutils SVN r7399 / rst.el V1.2.1.
8199
8200 Clarify maintainership and authors.
8201
8202 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
8203 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
8204 (rst-official-version, rst-official-cvs-rev, rst-version)
8205 (rst-package-emacs-version-alist): New functions and variables
8206 for version information.
8207
8208 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
8209 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
8210 (rst-mode-syntax-table, rst-mode): New and corrected functions
8211 and variables representing reStructuredText features.
8212
8213 (rst-re): New function for reStructuredText regexes. Use in
8214 many places.
8215
8216 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
8217 (rst-mode-map): Rebind keys.
8218
8219 (rst-mode-lazy, rst-font-lock-keywords)
8220 (rst-font-lock-extend-region)
8221 (rst-font-lock-extend-region-internal)
8222 (rst-font-lock-extend-region-extend)
8223 (rst-font-lock-find-unindented-line-limit)
8224 (rst-font-lock-find-unindented-line-match)
8225 (rst-adornment-level, rst-font-lock-adornment-level)
8226 (rst-font-lock-adornment-match)
8227 (rst-font-lock-handle-adornment-pre-match-form)
8228 (rst-font-lock-handle-adornment-matcher): Major revision of
8229 font-locking. Integrate with other code. Use `jit-lock-mode'.
8230
8231 (rst-preferred-adornments, rst-adjust-hook)
8232 (rst-new-adornment-down, rst-preferred-bullets)
8233 (rst-preferred-bullets, rst-indent, rst-indent-width)
8234 (rst-indent-field, rst-indent-literal-normal)
8235 (rst-indent-literal-minimized, rst-indent-comment): Change,
8236 extend and improve customization.
8237
8238 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8239 (rst-normalize-cursor-position, rst-get-decoration)
8240 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8241 (rst-rstrip, rst-toc-insert-find-delete-contents)
8242 (rst-shift-fill-region, rst-compute-bullet-tabs)
8243 (rst-debug-print-tabs, rst-debug-mark-found)
8244 (rst-shift-region-guts, rst-shift-region-right)
8245 (rst-shift-region-left, rst-use-char-classes)
8246 (rst-font-lock-keywords-function)
8247 (rst-font-lock-indentation-point)
8248 (rst-font-lock-find-unindented-line-begin)
8249 (rst-font-lock-find-unindented-line-end)
8250 (rst-font-lock-find-unindented-line)
8251 (rst-font-lock-adornment-point, rst-font-lock-level)
8252 (rst-adornment-level-alist): Remove functions and variables.
8253
8254 (rst-compare-adornments, rst-get-adornment-match)
8255 (rst-suggest-new-adornment, rst-get-adornments-around)
8256 (rst-adornment-complete-p, rst-get-next-adornment)
8257 (rst-adjust-adornment, rst-display-adornments-hierarchy)
8258 (rst-straighten-adornments): Standardize function names to
8259 use "adornment" instead of "decoration". Correct callers.
8260 Similar standardizing in many places.
8261
8262 (rst-update-section, rst-adjust, rst-promote-region)
8263 (rst-enumerate-region, rst-bullet-list-region)
8264 (rst-repeat-last-character): Correct use of `interactive'.
8265
8266 (rst-classify-adornment, rst-find-all-adornments)
8267 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8268 (rst-find-leftmost-column, rst-repeat-last-character):
8269 Refactor functions.
8270
8271 (rst-find-title-line, rst-reset-section-caches)
8272 (rst-get-adornments-around, rst-adjust-adornment-work)
8273 (rst-arabic-to-roman, rst-roman-to-arabic)
8274 (rst-insert-list-pos, rst-insert-list-new-item)
8275 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
8276 New functions.
8277
8278 (rst-all-sections, rst-section-hierarchy)
8279 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
8280 New variables.
8281
8282 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
8283 configuration instead of only buffer. Change where necessary.
8284
8285 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
8286 (rst-shift-region, rst-adaptive-fill): New functions for
8287 indentation and filling.
8288
8289 (rst-comment-line-break, rst-comment-indent)
8290 (rst-comment-insert-comment, rst-comment-region)
8291 (rst-uncomment-region): New functions for handling comments.
8292
8293 (rst-compile): Quote shell arguments.
8294
8295 (rst-compile-pdf-preview, rst-compile-slides-preview):
8296 Delete temporary files after use.
8297
8298 2012-05-05 Glenn Morris <rgm@gnu.org>
8299
8300 * calendar/cal-html.el: Optionally include holidays in the output.
8301 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8302 (cal-html-holidays): New option.
8303 (cal-html-css-default): Add holiday entry.
8304 (holiday-in-range): Autoload it.
8305 (cal-html-htmlify-entry): Add optional class argument.
8306 (cal-html-htmlify-list): Add optional holidays argument.
8307 (cal-html-insert-agenda-days): Include holidays in the output.
8308 (cal-html-one-month): Maybe include holidays.
8309
8310 * calendar/holidays.el (holiday-in-range):
8311 Move here from cal-tex-list-holidays.
8312 * calendar/cal-tex.el (cal-tex-list-holidays):
8313 Make it an obsolete alias for holiday-in-range. Update all callers.
8314
8315 2012-05-05 Chong Yidong <cyd@gnu.org>
8316
8317 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8318 Nextstep.
8319
8320 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
8321
8322 * files.el (file-auto-mode-skip): New var.
8323 (set-auto-mode-1): Use it.
8324
8325 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8326
8327 * repeat.el: Use lexical-binding.
8328 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
8329 (repeat-undo-count): Remove.
8330 (repeat):
8331 * progmodes/octave-mod.el (octave-abbrev-start):
8332 * progmodes/f90.el (f90-abbrev-start):
8333 * face-remap.el (text-scale-adjust):
8334 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
8335
8336 * emacs-lisp/pcase.el (pcase--let*): New function.
8337 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
8338 a bit more.
8339 (pcase--split-pred): Be more clever about ruling out overlap between
8340 a predicate and some constant pattern.
8341 (pcase--q1): Use `null' instead of (eq foo nil).
8342
8343 * subr.el (setq-local, defvar-local): New macros.
8344 (kbd): Redefine as an alias.
8345 (with-selected-window): Leave unrelated frames alone.
8346 (set-temporary-overlay-map): New function.
8347
8348 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8349
8350 * subr.el (user-error): New function.
8351 * window.el (switch-to-buffer):
8352 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
8353 (smerge-match-conflict):
8354 * simple.el (previous-matching-history-element)
8355 (next-matching-history-element, goto-history-element, undo-more)
8356 (undo-start):
8357 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
8358 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
8359 (next-file, tags-loop-scan, list-tags, complete-tag):
8360 * progmodes/compile.el (compilation-loop):
8361 * mouse.el (mouse-minibuffer-check):
8362 * man.el (Man-bgproc-sentinel, Man-goto-page):
8363 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8364 (Info-history-forward, Info-follow-reference, Info-menu)
8365 (Info-extract-menu-item, Info-extract-menu-counting)
8366 (Info-forward-node, Info-backward-node, Info-next-menu-item)
8367 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8368 (Info-next-reference, Info-prev-reference, Info-index)
8369 (Info-index-next, Info-follow-nearest-node)
8370 (Info-copy-current-node-name):
8371 * imenu.el (imenu--make-index-alist)
8372 (imenu-default-create-index-function, imenu-add-to-menubar):
8373 * files.el (basic-save-buffer, recover-file):
8374 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8375 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8376 (checkdoc-message-text, checkdoc-defun):
8377 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8378 * cus-edit.el (customize-changed-options, customize-rogue)
8379 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8380 (custom-variable-mark-to-reset-standard)
8381 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8382 (custom-file):
8383 * completion.el (check-completion-length):
8384 * comint.el (comint-search-arg)
8385 (comint-previous-matching-input-string-position)
8386 (comint-previous-matching-input)
8387 (comint-replace-by-expanded-history-before-point, comint-send-input)
8388 (comint-copy-old-input, comint-backward-matching-input)
8389 (comint-goto-process-mark, comint-set-process-mark):
8390 * calendar/calendar.el (calendar-cursor-to-date): Use it.
8391 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
8392
8393 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8394
8395 * dabbrev.el (dabbrev--ignore-case-p): New function.
8396 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
8397 Use it.
8398
8399 * files.el (automount-dir-prefix): Mark as obsolete.
8400
8401 2012-05-04 Glenn Morris <rgm@gnu.org>
8402
8403 * patcomp.el, play/bruce.el: Move to obsolete/.
8404
8405 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
8406
8407 Fix minor Y10k bugs.
8408 * arc-mode.el (archive-unixdate):
8409 * autoinsert.el (auto-insert-alist):
8410 * calc/calc-forms.el (math-this-year):
8411 * emacs-lisp/copyright.el (copyright-current-year)
8412 (copyright-update-year, copyright):
8413 * tar-mode.el (tar-clip-time-string):
8414 * time.el (display-time-update):
8415 Don't assume years have 4 digits.
8416
8417 2012-05-04 Chong Yidong <cyd@gnu.org>
8418
8419 * dos-w32.el (file-name-buffer-file-type-alist)
8420 (direct-print-region-use-command-dot-com):
8421 * ffap.el (ffap-menu-regexp):
8422 * find-file.el (ff-special-constructs):
8423 * follow.el (follow-debug):
8424 * forms.el (forms--debug):
8425 * iswitchb.el (iswitchb-all-frames):
8426 * ido.el (ido-all-frames):
8427 * emacs-lisp/timer.el (timer-max-repeats):
8428 * mail/feedmail.el (feedmail-mail-send-hook)
8429 (feedmail-mail-send-hook-queued):
8430 * mail/footnote.el (footnote-signature-separator):
8431 * mail/mailabbrev.el (mail-alias-separator-string)
8432 (mail-abbrev-mode-regexp):
8433 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8434 * progmodes/idlwave.el (idlwave-libinfo-file)
8435 (idlwave-default-completion-case-is-down)
8436 (idlwave-library-routines): Convert defvars to defcustoms.
8437
8438 * mail/rmail.el (rmail-decode-mime-charset):
8439 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8440 (idlwave-shell-fix-inserted-breaks)
8441 (idlwave-shell-activate-alt-keybindings)
8442 (idlwave-shell-use-breakpoint-glyph):
8443 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8444
8445 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8446
8447 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8448
8449 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
8450
8451 * progmodes/verilog-mode.el (font-lock-keywords):
8452 Fix mis-highligting auto. Reported by Craig Barner.
8453 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
8454 defines from global name space. Reported by Dan Dever.
8455 (verilog-auto-reset, verilog-auto-reset-widths)
8456 (verilog-auto-tieoff): Support using unbased numbers for
8457 AUTORESET and AUTOTIEOFF.
8458 (verilog-submit-bug-report): Update variable list.
8459 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
8460 parenthesis from not matching. Reported by Michael Rytting.
8461 (verilog-auto-template-lint): Fix hash error when linting modules
8462 with no used templates.
8463 (verilog-warn, verilog-warn-error)
8464 (verilog-warn-fatal): When non-interactive report multiple
8465 warnings before exiting. Suggested by Brad Dobbie.
8466 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8467 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8468 to report unused template errors. Reported by Brad Dobbie.
8469 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
8470 nets, bug438. Reported by Vns Blore.
8471 (verilog-auto-inout-module, verilog-auto-reg)
8472 (verilog-read-decls, verilog-read-sub-decls-sig)
8473 (verilog-signals-edit-wire-reg, verilog-signals-with):
8474 Fix passing of Verilog data types in ANSI input/output ports
8475 such as "output logic" into the AUTOs. Special case "wire" and
8476 "reg" for backwards compatibility presuming Verilog 2001.
8477 (verilog-auto-ascii-enum): Add "auto enum" as alias.
8478 (verilog-preprocess): Fix replication of preprocess output.
8479 Reported by Brad Dobbie.
8480 (verilog-auto-inst-interfaced-ports):
8481 Create verilog-auto-inst-interfaced-ports, bug429.
8482 Reported by Julian Gorfajn.
8483 (verilog-after-save-font-hook)
8484 (verilog-before-save-font-hook): New variable.
8485 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8486 (verilog-save-font-mods): Wrap disabling fontification, reported
8487 by David Rogoff.
8488 (verilog-do-indent, verilog-pretty-declarations-auto)
8489 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8490 Reported by Pierre-David Pfister.
8491 (verilog-set-auto-endcomments): Fix endtask auto comments outside
8492 of class declarations, bug292. Reported by Kevin Heilman.
8493 (verilog-read-decls): Fix 'parameter type' not appearing in
8494 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
8495 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
8496 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
8497 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
8498 Reported by David Kravitz.
8499
8500 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
8501
8502 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
8503 assignment with tests in ifs and for loops.
8504 (verilog-extended-complete-re, verilog-complete-reg): Change so
8505 that DPI inport functions don't look like fuction declarations.
8506 (verilog-pretty-expr): Don't line up assignment
8507 operations to the test and increment in if and for loops
8508 (verilog-extended-complete-re, verilog-complete-reg): Change so
8509 that DPI inport functions don't look like fuction declarations.
8510
8511 2012-05-03 Kenichi Handa <handa@m17n.org>
8512
8513 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
8514 decoding, and show a warning message without signaling an error
8515 (Bug#11282).
8516
8517 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8518
8519 * emacs-lisp/bytecomp.el
8520 (byte-compile-file-form-custom-declare-variable): Compile all elements,
8521 since cconv.el might have introduced :fun-body, internal-make-closure,
8522 and friends for bytecomp to handle (bug#11391).
8523 * custom.el (defcustom): Avoid ((λ ..) ..).
8524
8525 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8526
8527 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
8528
8529 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
8530
8531 * notifications.el (dbus-debug):
8532 * term/linux.el (gpm-mouse-enable):
8533 * term/screen.el (xterm-register-default-colors): Declare.
8534
8535 2012-05-02 Chong Yidong <cyd@gnu.org>
8536
8537 * cus-start.el (gc-cons-percentage, exec-suffixes)
8538 (dos-display-scancodes, dos-hyper-key, dos-super-key)
8539 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8540 (make-cursor-line-fully-visible, void-text-area-pointer)
8541 (font-list-limit): Add customization data.
8542
8543 * allout.el (allout-exposure-change-functions)
8544 (allout-structure-added-functions)
8545 (allout-structure-deleted-functions)
8546 (allout-structure-shifted-functions): Rename abnormal hooks from
8547 *-hook, and convert to defcustoms.
8548 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8549 Convert to defcustoms.
8550 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8551
8552 * allout-widgets.el: Hook callers changed.
8553
8554 2012-05-02 Eli Zaretskii <eliz@gnu.org>
8555
8556 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
8557 the yanked message in preference to the default value of
8558 buffer-file-coding-system.
8559
8560 2012-05-02 Martin Rudalics <rudalics@gmx.at>
8561
8562 * window.el (display-buffer--action-function-custom-type):
8563 Fix entry.
8564
8565 2012-05-02 Alan Mackenzie <acm@muc.de>
8566
8567 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
8568
8569 2012-05-01 Glenn Morris <rgm@gnu.org>
8570
8571 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
8572
8573 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
8574
8575 * cus-edit.el (custom-variable-documentation): Simplify with format.
8576
8577 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8578 Stefan Monnier <monnier@iro.umontreal.ca>
8579
8580 * simple.el (suggest-key-bindings, execute-extended-command):
8581 Move from keyboard.c.
8582
8583 2012-05-01 Chong Yidong <cyd@gnu.org>
8584
8585 * follow.el: Eliminate advice.
8586 (set-process-filter, process-filter, sit-for): Advice deleted.
8587 (follow-mode-off-hook): Obsolete hook removed.
8588 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
8589 Vars deleted.
8590 (follow-auto): Use a :set function.
8591 (follow-mode): Rewritten. Don't advise process filters.
8592 (follow-switch-to-current-buffer-all, follow-scroll-up)
8593 (follow-scroll-down): Assume follow-mode is bound.
8594 (follow-comint-scroll-to-bottom)
8595 (follow-align-compilation-windows): New functions.
8596 (follow--window-sorter): New function.
8597 (follow-all-followers): Use it to explicitly sort windows by their
8598 positions; don't make assumptions about next-window order.
8599 (follow-windows-start-end, follow-delete-other-windows-and-split)
8600 (follow-calc-win-start): Doc fix.
8601 (follow-windows-aligned-p, follow-select-if-visible): Don't call
8602 vertical-motion unnecessarily.
8603 (follow-adjust-window): New function.
8604 (follow-post-command-hook): Use it.
8605 (follow-call-set-process-filter, follow-call-process-filter)
8606 (follow-intercept-process-output, follow-tidy-process-filter-alist)
8607 (follow-stop-intercept-process-output, follow-generic-filter):
8608 Functions deleted.
8609 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
8610 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
8611 New functions, replacing advice on scroll-bar-* commands.
8612 (follow-mwheel-scroll): New function (Bug#4112).
8613
8614 * comint.el (comint-adjust-point): New function.
8615 (comint-postoutput-scroll-to-bottom): Use it.
8616 Call follow-comint-scroll-to-bottom for Follow mode buffers.
8617
8618 2012-05-01 Glenn Morris <rgm@gnu.org>
8619
8620 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
8621 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
8622 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
8623 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
8624 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
8625 Remove no-byte-compile setting.
8626
8627 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8628
8629 * minibuffer.el (completion-table-with-quoting): Fix compatibility
8630 all-completions code to not return a number in the last cdr.
8631
8632 2012-04-30 Leo Liu <sdl.web@gmail.com>
8633
8634 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
8635 read-only error.
8636
8637 2012-04-29 Chong Yidong <cyd@gnu.org>
8638
8639 * follow.el (follow-calc-win-end): Rewrite to handle partial
8640 screen lines correctly (Bug#8390).
8641 (follow-avoid-tail-recenter): Minor cleanup.
8642
8643 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8644
8645 Avoid the obsolete `assoc' package.
8646 * speedbar.el (speedbar-refresh): Avoid adelete.
8647 (speedbar-file-lists): Simplify and avoid aput.
8648 * man.el (Man--sections, Man--refpages): New vars, replacing
8649 Man-sections-alist and Man-refpages-alist.
8650 (Man-build-section-alist, Man-build-references-alist):
8651 Use them; avoid aput.
8652 (Man--last-section, Man--last-refpage): New vars.
8653 (Man-follow-manual-reference): Use them.
8654 Use the `default' arg of completing-read.
8655 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
8656
8657 2012-04-27 Chong Yidong <cyd@gnu.org>
8658
8659 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
8660
8661 * startup.el (x-apply-session-resources): New function.
8662
8663 * term/ns-win.el (ns-initialize-window-system):
8664 * term/w32-win.el (w32-initialize-window-system):
8665 * term/x-win.el (x-initialize-window-system): Use it to properly
8666 set menu-bar-mode and other vars from X resources, even if the
8667 initial frame is not a window-system frame (Bug#2299).
8668
8669 * subr.el (read-key): Avoid running filter function when setting
8670 up temporary tool bar entries (Bug#9922).
8671
8672 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8673
8674 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
8675 (Bug#11344)
8676
8677 2012-04-27 Chong Yidong <cyd@gnu.org>
8678
8679 * select.el (xselect--encode-string): New function, split from
8680 xselect-convert-to-string.
8681 (xselect-convert-to-string): Use it.
8682 (xselect-convert-to-filename, xselect-convert-to-os)
8683 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
8684 returned strings are properly encoded (Bug#11315).
8685
8686 2012-04-27 Chong Yidong <cyd@gnu.org>
8687
8688 * simple.el (delete-active-region): Move to killing custom group.
8689
8690 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8691
8692 * progmodes/which-func.el (which-func-current): Quote %
8693 characters for mode-line processing.
8694
8695 2012-04-27 Chong Yidong <cyd@gnu.org>
8696
8697 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
8698 reaching eob (Bug#11286).
8699
8700 2012-04-27 Eli Zaretskii <eliz@gnu.org>
8701
8702 * progmodes/gdb-mi.el (gdb-control-level): New variable.
8703 (gdb): Make it buffer-local and init to zero.
8704 (gdb-control-commands-regexp): New variable.
8705 (gdb-send): Don't wrap in "-interpreter-exec console" if
8706 gdb-control-level is positive. Increment gdb-control-level
8707 whenever the command matches gdb-control-commands-regexp, and
8708 decrement it each time the command is "end". (Bug#11279)
8709
8710 2012-04-27 Martin Rudalics <rudalics@gmx.at>
8711
8712 * window.el (adjust-window-trailing-edge, enlarge-window)
8713 (shrink-window, window-resize):
8714 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
8715 windows (Bug#11276).
8716
8717 2012-04-27 Chong Yidong <cyd@gnu.org>
8718
8719 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
8720 fix "missing prefix" warning. All callers changed.
8721
8722 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8723
8724 * emacs-lisp/assoc.el: Move to obsolete/.
8725
8726 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8727
8728 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
8729
8730 * term/ns-win.el (ns-define-service):
8731 * progmodes/pascal.el (pascal-goto-defun):
8732 * progmodes/js.el (js--read-tab):
8733 * progmodes/etags.el (tags-lazy-completion-table):
8734 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
8735 * emacs-lisp/ewoc.el (ewoc--wrap):
8736 * emacs-lisp/assoc.el (aput, adelete, amake):
8737 * doc-view.el (doc-view-convert-current-doc):
8738 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8739
8740 2012-04-26 Chong Yidong <cyd@gnu.org>
8741
8742 * image.el (image-type-from-buffer): Only return supported image
8743 type (Bug#9045).
8744
8745 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8746 value, for symmetry with diff-end-of-hunk.
8747 (diff-split-hunk, diff-find-source-location)
8748 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8749 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8750 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8751 compute the relevant hunk or file properly (Bug#6005).
8752 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8753
8754 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8755
8756 * vc/vc-mtn.el:
8757 * vc/vc-hg.el:
8758 * vc/vc-git.el:
8759 * vc/vc-dir.el:
8760 * vc/vc-cvs.el:
8761 * vc/vc-bzr.el:
8762 * vc/vc-arch.el:
8763 * vc/vc.el: Replace lexical-let by lexical-binding.
8764 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8765 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8766 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8767
8768 2012-04-26 Chong Yidong <cyd@gnu.org>
8769
8770 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8771 (diff-mode-shared-map): Bind it to / and [remap undo].
8772
8773 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8774 (ediff-window-setup-function): Use it as the default, to set up
8775 windows based on whether the current frame is graphical (Bug#2138).
8776 (ediff-choose-window-setup-function-automatically): Make obsolete.
8777
8778 * vc/ediff-init.el: Always define ediff-pixel-width/height.
8779
8780 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8781
8782 * ffap.el: Remove old code for obsolete package.
8783 (ffap-complete-as-file-p): Remove.
8784
8785 Use completion-table-with-quoting for comint and pcomplete.
8786 * comint.el (comint--unquote&requote-argument)
8787 (comint--unquote-argument, comint--requote-argument): New functions.
8788 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8789 (comint-quote-filename): Use regexp-opt-charset.
8790 (comint--common-suffix, comint--common-quoted-suffix)
8791 (comint--table-subvert): Remove.
8792 (comint-unquote-function, comint-requote-function): New vars.
8793 (comint--complete-file-name-data): Use them with
8794 completion-table-with-quoting.
8795 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8796 * pcomplete.el (pcomplete-arg-quote-list)
8797 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8798 (pcomplete-unquote-argument-function): Default to non-nil.
8799 (pcomplete-unquote-argument): Simplify.
8800 (pcomplete--common-quoted-suffix): Remove.
8801 (pcomplete-requote-argument-function): New var.
8802 (pcomplete--common-suffix): New function.
8803 (pcomplete-completions-at-point): Use completion-table-with-quoting
8804 and completion-table-subvert.
8805
8806 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8807 (minibuffer--double-dollars): Preserve properties.
8808 (completion--sifn-requote): New function.
8809 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8810
8811 * minibuffer.el: Add support for completion of quoted/escaped data.
8812 (completion-table-with-quoting, completion-table-subvert): New funs.
8813 (completion--twq-try, completion--twq-all): New functions.
8814 (completion--nth-completion): New function.
8815 (completion-try-completion, completion-all-completions): Use it.
8816
8817 2012-04-25 Leo Liu <sdl.web@gmail.com>
8818
8819 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8820 Use compilation-message if available to find real filename.
8821
8822 2012-04-25 Chong Yidong <cyd@gnu.org>
8823
8824 * vc/diff-mode.el (diff-setup-whitespace): New function.
8825 (diff-mode): Use it.
8826
8827 * vc/diff.el (diff-sentinel):
8828 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8829 Whitespace mode variables based on diff style (Bug#8612).
8830
8831 2012-04-25 Leo Liu <sdl.web@gmail.com>
8832
8833 * progmodes/python.el (python-send-region): Add suffix .py to the
8834 temp file.
8835
8836 * files.el (auto-mode-alist): Use javascript-mode instead.
8837
8838 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8839
8840 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
8841
8842 * net/soap-client.el (soap-resolve-references-for-sequence-type)
8843 (soap-resolve-references-for-array-type): Hack to prevent self
8844 references, see Bug#9.
8845 (soap-parse-envelope): Report the contents of the 'detail' node
8846 when receiving a fault reply.
8847 (soap-parse-envelope): Report the contents of the entire 'detail' node.
8848
8849 * net/soap-inspect.el (soap-sample-value-for-simple-type)
8850 (soap-inspect-simple-type): New function.
8851
8852 * net/soap-client.el (soap-simple-type): New struct.
8853 (soap-default-xsd-types, soap-default-soapenc-types)
8854 (soap-decode-basic-type, soap-encode-basic-type):
8855 support unsignedInt and double basic types.
8856 (soap-resolve-references-for-simple-type)
8857 (soap-parse-simple-type, soap-encode-simple-type): New function.
8858 (soap-parse-schema): Parse xsd:simpleType declarations.
8859
8860 * net/soap-client.el (soap-default-xsd-types)
8861 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8862 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8863 the local name of "soapenc:Array".
8864 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
8865 decoding integer, byte and anyURI xsd types.
8866
8867 2012-04-25 Chong Yidong <cyd@gnu.org>
8868
8869 * cus-edit.el (custom-buffer-create-internal): Update header text.
8870
8871 2012-04-25 Eli Zaretskii <eliz@gnu.org>
8872
8873 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8874 settings on 'system-type', not on 'window-system'. On MS-Windows,
8875 set interactive-mode on in GDB.
8876
8877 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8878
8879 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8880 (ruby-syntax-propertize-regexp): Remove.
8881 (ruby-syntax-propertize-function): Split regexp into chunks.
8882 Match following code directly.
8883
8884 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8885
8886 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8887 (ruby-syntax-propertize-regexp): New function.
8888 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8889 by a special keyword.
8890
8891 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8892 (ruby-syntax-general-delimiters-goto-beg)
8893 (ruby-syntax-propertize-general-delimiters): New functions.
8894 (ruby-syntax-propertize-function): Use them to handle GDL.
8895 (ruby-font-lock-keywords): Move old handling of GDL...
8896 (ruby-font-lock-syntactic-keywords): .. to here.
8897 (ruby-calculate-indent): Adjust indentation for GDL.
8898
8899 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
8900
8901 * notifications.el (top): Remove unneeded declarations.
8902 (notifications-specification-version): Change to "1.2".
8903 (notifications-interface, notifications-notify-method)
8904 (notifications-close-notification-method): Fix docstring.
8905 (notifications-get-capabilities-method): New defconst.
8906 (notifications-notify): Add :action-items, :resident and
8907 :transient hints. Change "image_data" to "image-data" and
8908 "image_path" to "image-path".
8909 (notifications-get-capabilities): New defun.
8910
8911 2012-04-24 Leo Liu <sdl.web@gmail.com>
8912
8913 * progmodes/python.el: Move hideshow setup to the end.
8914
8915 2012-04-24 Martin Rudalics <rudalics@gmx.at>
8916
8917 * window.el (handle-select-window): Clear echo area since this is
8918 no more done by read_char (Bug#11304).
8919
8920 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8921
8922 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8923 and `/ M' to filter-derived-mode.
8924 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8925 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8926 (ibuffer-mark-by-mode): Use default rather than initial-input.
8927 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8928
8929 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8930
8931 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8932 (ibuffer-filter-by-derived-mode): New filter.
8933 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8934
8935 2012-04-23 Andreas Politz <politza@fh-trier.de>
8936
8937 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8938
8939 2012-04-23 Chong Yidong <cyd@gnu.org>
8940
8941 * cus-edit.el (customize-apropos, customize-apropos-options):
8942 Disable matching of non-option variables (Bug#11176).
8943 (customize-option, customize-option-other-window)
8944 (customize-changed-options): Doc fix.
8945 (customize-apropos-options, customize-apropos-faces)
8946 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8947
8948 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
8949 Fix word list splitting (Bug#11132).
8950 (apropos-symbol, apropos-keybinding, apropos-label)
8951 (apropos-property, apropos-function-button)
8952 (apropos-variable-button, apropos-misc-button): New faces.
8953 (apropos-symbol-face, apropos-keybinding-face)
8954 (apropos-label-face, apropos-property-face, apropos-match-face):
8955 Variables removed (Bug#8396).
8956 (apropos-library-button, apropos-format-plist, apropos-print)
8957 (apropos-print-doc, apropos-describe-plist): Callers changed.
8958
8959 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
8960
8961 * net/xesam.el (xesam-mode-map): Use let-bound map in
8962 initialization. (Bug#11292)
8963
8964 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8965
8966 Preserve ispell session localwords when switching back to
8967 original buffer.
8968
8969 * textmodes/ispell.el (ispell-buffer-session-localwords):
8970 New buffer-local variable to hold buffer session localwords.
8971 (ispell-kill-ispell): Add option 'clear to delete session
8972 localwords.
8973 (ispell-command-loop, ispell-change-dictionary)
8974 (ispell-buffer-local-words): Preserve session localwords when
8975 needed.
8976
8977 * textmodes/flyspell.el (flyspell-process-localwords)
8978 (flyspell-do-correct): Preserve session localwords when needed.
8979
8980 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8981
8982 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8983 using obsolete `translation-table-for-input'.
8984 (ispell-word, ispell-process-line, ispell-complete-word):
8985 Use plain `insert' instead of removed `ispell-insert-word'.
8986
8987 2012-04-22 Chong Yidong <cyd@gnu.org>
8988
8989 * cus-edit.el (custom-variable-menu)
8990 (custom-variable-reset-saved, custom-face-menu)
8991 (custom-face-reset-saved): If there is no saved value, make the
8992 "reset-saved" operation bring back the default (Bug#9509).
8993 (custom-face-state): Properly detect themed faces.
8994
8995 * faces.el (face-spec-set): Stop supporting deprecated form of
8996 third arg.
8997
8998 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
8999
9000 Move functions from C to Lisp. Make non-blocking method calls
9001 the default. Implement further D-Bus standard interfaces.
9002
9003 * net/dbus.el (dbus-message-internal): Declare function.
9004 Remove unneeded function declarations.
9005 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
9006 (dbus-message-type-method-return, dbus-message-type-error)
9007 (dbus-message-type-signal): Declare variables. Remove local
9008 definitions.
9009 (dbus-interface-dbus, dbus-interface-peer)
9010 (dbus-interface-introspectable, dbus-interface-properties)
9011 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
9012 Adapt docstring.
9013 (dbus-interface-objectmanager): New defconst.
9014 (dbus-call-method, dbus-call-method-asynchronously)
9015 (dbus-send-signal, dbus-method-return-internal)
9016 (dbus-method-error-internal, dbus-register-service)
9017 (dbus-register-signal, dbus-register-method): New defuns, moved
9018 from dbusbind.c
9019 (dbus-call-method-handler, dbus-setenv)
9020 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
9021 New defuns.
9022 (dbus-call-method-non-blocking): Make it an obsolete function.
9023 (dbus-unregister-object, dbus-unregister-service)
9024 (dbus-handle-event, dbus-register-property)
9025 (dbus-property-handler): Obey the new structure of
9026 `bus-registered-objects'.
9027 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
9028 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
9029 Use `dbus-call-method'.
9030
9031 2012-04-22 Chong Yidong <cyd@gnu.org>
9032
9033 * cus-edit.el (custom-commands, custom-reset-menu)
9034 (Custom-reset-standard): Tweak labels.
9035 (custom-reset-button-menu): Change default to t.
9036 (custom-buffer-create-internal): For the custom-reset-button-menu
9037 case, put the revert button first.
9038 (custom-group-subtitle): New face.
9039 (custom-group-value-create): Align docstring to a specific column.
9040
9041 * wid-edit.el (widget-documentation-link-add): Don't handle
9042 indentation in this function.
9043 (widget-documentation-string-indent-to): New function.
9044 (widget-documentation-string-value-create): Use it.
9045
9046 * autorevert.el (auto-revert):
9047 * epg-config.el (epg):
9048 * ibuffer.el (ibuffer):
9049 * mpc.el (mpc):
9050 * ses.el (ses):
9051 * eshell/eshell.el (eshell):
9052 * net/ange-ftp.el (ange-ftp):
9053 * progmodes/ebnf2ps.el (postscript):
9054 * progmodes/flymake.el (flymake):
9055 * progmodes/prolog.el (prolog):
9056 * progmodes/verilog-mode.el (verilog-mode):
9057 * progmodes/which-func.el (which-func):
9058 * term/xterm.el (xterm):
9059 * textmodes/picture.el (picture):
9060 * textmodes/tildify.el (tildify):
9061 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
9062 customization buffers.
9063
9064 2012-04-22 Alan Mackenzie <acm@muc.de>
9065
9066 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9067 Adding a ) can hide the resulting (..) from searches. Fix it.
9068 Bound the backward search to the position of the existing (.
9069
9070 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
9071
9072 * progmodes/verilog-mode.el (verilog-mode): Check whether
9073 which-func-modes is t before adding verilog-mode.
9074 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9075
9076 2012-04-21 Leo Liu <sdl.web@gmail.com>
9077
9078 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
9079
9080 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
9081
9082 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
9083 filling of the last column of a table (Bug#5635).
9084 (woman-find-next-control-line): New arg, specifying an additional
9085 regexp component for the control line.
9086 (woman2-roff-buffer): Use it.
9087 (woman-break-table): New function.
9088 (woman2-TS): Use it.
9089
9090 2012-04-21 Chong Yidong <cyd@gnu.org>
9091
9092 * woman.el (woman-set-buffer-display-table, woman-decode-region)
9093 (woman-horizontal-escapes, woman-negative-vertical-space)
9094 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
9095 (WoMan-warn-ignored): Use ?\s instead of ?\ .
9096
9097 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9098
9099 * minibuffer.el (completion-file-name-table): Complete user names.
9100
9101 2012-04-20 Leo Liu <sdl.web@gmail.com>
9102
9103 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
9104 and pcase-let*.
9105
9106 2012-04-20 Chong Yidong <cyd@gnu.org>
9107
9108 * server.el (server-execute): Respect initial-buffer-choice if it
9109 is a string and there are no files to open (Bug#2825).
9110 (server-create-window-system-frame, server-create-tty-frame):
9111 Don't switch buffers here.
9112 (server-process-filter): Only try to open a window system frame if
9113 compiled with graphical support (Bug#8314).
9114
9115 2012-04-20 Dan Nicolaescu <dann@gnu.org>
9116
9117 * battery.el (battery-echo-area-format): Display remaining time
9118 for sysfs backend too (Bug#11269).
9119 (battery-linux-sysfs): Fix conditional for the charge.
9120
9121 2012-04-20 Chong Yidong <cyd@gnu.org>
9122
9123 * progmodes/gdb-mi.el (gdb): Revert previous change.
9124 (gdb-inferior-io--init-proc): New function.
9125 (gdb-init-1): Use it.
9126 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
9127 responsible for allocating a new pty and hooking it to gdb when
9128 the old pty gets an EIO due to process exit.
9129 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
9130 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
9131 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
9132
9133 2012-04-20 Eli Zaretskii <eliz@gnu.org>
9134
9135 * window.el (window-min-size, window-sizable, window-min-delta)
9136 (window-max-delta, window--resizable, window-resizable)
9137 (window-total-size, window-full-height-p, window-full-width-p)
9138 (window-in-direction, window--resize-mini-window, window-resize)
9139 (window--resize-child-windows-normal)
9140 (window--resize-child-windows, window--resize-siblings)
9141 (window--resize-this-window, adjust-window-trailing-edge)
9142 (enlarge-window, shrink-window): Doc fixes.
9143
9144 2012-04-20 Chong Yidong <cyd@gnu.org>
9145
9146 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
9147 New function to call delete-process on the gdb-inferior buffer's pty.
9148 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
9149 pty process (Bug#11273).
9150 (gdb-update): New arg to suppress talking to the gdb process.
9151 (gdb-done-or-error): Use it.
9152 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
9153 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
9154 sentinel not being called.
9155
9156 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
9157
9158 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
9159
9160 2012-04-20 Glenn Morris <rgm@gnu.org>
9161
9162 * net/network-stream.el (open-network-stream): Doc fix.
9163
9164 2012-04-20 Chong Yidong <cyd@gnu.org>
9165
9166 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
9167
9168 2012-04-20 Alan Mackenzie <acm@muc.de>
9169
9170 Ensure searching for keywords is case sensitive.
9171
9172 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
9173 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
9174 (c-defun-name, c-mark-function, c-cpp-define-name)
9175 (c-comment-indent, c-scan-conditionals, c-indent-defun)
9176 (c-context-line-break): Bind case-fold-search to nil.
9177
9178 * progmodes/cc-mode.el (c-font-lock-fontify-region):
9179 Bind case-fold-search to nil.
9180
9181 2012-04-20 Chong Yidong <cyd@gnu.org>
9182
9183 * mail/sendmail.el (mail-bury): Call return action with the right
9184 Rmail buffer (Bug#11242).
9185
9186 * server.el (server-process-filter): Handle corner case where both
9187 tty and nowait options are present (Bug#11102).
9188
9189 2012-04-20 Eli Zaretskii <eliz@gnu.org>
9190
9191 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
9192 (top level): Put into the executable the ident-style '$Id:' tag on
9193 windows-nt as well.
9194
9195 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9196
9197 * electric.el (electric-indent-post-self-insert-function): Check that
9198 electric-indent-mode is enabled in current buffer.
9199
9200 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
9201
9202 * imenu.el (imenu-progress-message): Restore; it is "used" in
9203 erc/erc-imenu.el and net/snmp-mode.el.
9204
9205 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
9206
9207 * avoid.el (mouse-avoidance-mode): Mark unused arg.
9208 (mouse-avoidance-nudge-mouse): Remove unused binding.
9209
9210 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
9211
9212 * descr-text.el (describe-char):
9213 * progmodes/python.el (python-describe-symbol):
9214 Don't call `toggle-read-only', set `buffer-read-only'.
9215
9216 * imenu.el (imenu-default-goto-function): Mark unused args.
9217 (imenu-progress-message): Remove obsolete macro; all callers changed.
9218
9219 * subr.el (keymap-canonicalize): Remove unused binding.
9220 (read-passwd): Mark unused arg.
9221
9222 * tutorial.el (tutorial--display-changes): Remove unused binding.
9223 (tutorial--save-tutorial-to): Remove unused variable.
9224
9225 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9226 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9227 (package-generate-autoloads, package-menu--generate)
9228 (package-menu--find-upgrades): Remove unused bindings.
9229
9230 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9231 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
9232 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9233 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9234 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9235 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9236 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9237 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9238 (cua-delete-char-rectangle): Mark unused args.
9239 (cua-align-rectangle): Remove unused binding.
9240
9241 * mail/rmail.el (compilation--message->loc)
9242 (epa--find-coding-system-for-mime-charset): Declare.
9243
9244 * net/dbus.el (dbus-register-service): Declare.
9245 (dbus-name-owner-changed-handler): Remove unused binding.
9246
9247 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9248 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9249 (nxml-scan-backward-within): Mark unused arg.
9250 (nxml-dynamic-markup-word): Remove unused binding.
9251
9252 * mouse.el (mouse-menu-major-mode-map):
9253 * emacs-lisp/authors.el (authors-scan-change-log)
9254 (authors-add-to-author-list):
9255 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9256 * emacs-lisp/smie.el (smie-auto-fill):
9257 * mail/sendmail.el (mail-bury):
9258 * mail/unrmail.el (unrmail):
9259 * net/tls.el (open-tls-stream):
9260 * textmodes/picture.el (picture-mouse-set-point):
9261 Remove unused bindings.
9262
9263 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
9264
9265 * net/tramp.el (tramp-action-password): Let-bind
9266 `enable-recursive-minibuffers' to t.
9267
9268 2012-04-18 Sam Steingold <sds@gnu.org>
9269
9270 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9271 instead of 'string to accommodate values like [f11].
9272 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
9273 * progmodes/gdb-mi.el: Likewise.
9274
9275 2012-04-18 Leo Liu <sdl.web@gmail.com>
9276
9277 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
9278 current buffer.
9279 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
9280 LOCAL is nil.
9281
9282 2012-04-18 Chong Yidong <cyd@gnu.org>
9283
9284 * simple.el (line-move): Use forward-line if in batch mode
9285 (Bug#11053).
9286
9287 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
9288
9289 * files.el (after-find-file): Do not try to add a final newline if
9290 the buffer is read-only (Bug#11156).
9291
9292 2012-04-17 Richard Stallman <rms@gnu.org>
9293
9294 * mail/rmail.el (rmail-start-mail):
9295 Pass (rmail-mail-return...) for the return-action.
9296 Pass (rmail-yank-current-message...) for the yank-action.
9297 (rmail-yank-current-message): New function.
9298 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9299 (rmail-reply): Likewise.
9300 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9301
9302 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
9303 buffer, not the last. Reject temp buffers. Use the rmail-mode
9304 buffer, not newbuf.
9305
9306 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
9307
9308 * server.el (server-ensure-safe-dir): Simplify.
9309
9310 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9311
9312 * emacs-lisp/smie.el: Provide smarter auto-filling.
9313 (smie-auto-fill): New function.
9314 (smie-setup): Use it.
9315
9316 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9317
9318 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
9319
9320 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9321 (comment-indent): Use it.
9322
9323 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
9324
9325 * ses.el: The overall change is to add cell renaming, that is
9326 setting fancy names for cell symbols other than name matching
9327 "\\`[A-Z]+[0-9]+\\'" regexp .
9328 (ses-localvars): Add ses--renamed-cell-symb-list.
9329 (ses-create-cell-variable): New defun.
9330 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
9331 (ses-relocate-formula): Relocate formulas only for cells the
9332 symbols of which are not renamed, i.e. symbols whose names do not
9333 match regexp "\\`[A-Z]+[0-9]+\\'".
9334 (ses-relocate-all): Relocate values only for cells the symbols of
9335 which are not renamed.
9336 (ses-load): Create cells variables as the (ses-cell ...) are read,
9337 in order to check row col consistency with cell symbol name only
9338 for cells that are not renamed.
9339 (ses-replace-name-in-formula): New defun.
9340 (ses-rename-cell): New defun.
9341
9342 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
9343
9344 * progmodes/perl-mode.el (perl-indent-parens-as-block):
9345 New option (bug#11118).
9346 (perl-calculate-indent): Respect it.
9347
9348 2012-04-17 Glenn Morris <rgm@gnu.org>
9349
9350 * dired-aux.el (dired-mark-read-string): Doc fix.
9351
9352 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
9353
9354 * dired-aux.el (dired-mark-read-string): Offer optional completion.
9355 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
9356
9357 2012-04-17 Glenn Morris <rgm@gnu.org>
9358
9359 * mouse.el (mouse-drag-track):
9360 * speedbar.el (speedbar-frame-mode):
9361 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9362
9363 2012-04-16 Leo Liu <sdl.web@gmail.com>
9364
9365 * progmodes/python.el: Trivial cleanup.
9366
9367 2012-04-16 Glenn Morris <rgm@gnu.org>
9368
9369 * vc/vc.el (vc-string-prefix-p):
9370 * vc/pcvs-util.el (cvs-string-prefix-p):
9371 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9372 * mpc.el (mpc-string-prefix-p):
9373 Make all of these into obsolete aliases for string-prefix-p.
9374 Update callers.
9375 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9376
9377 * textmodes/two-column.el: Move custom options to the start.
9378 (frame-width): Remove compat definition.
9379 (2C-associate-buffer, 2C-dissociate):
9380 Use with-current-buffer rather than save-excursion.
9381 (2C-dissociate): Force a mode-line update.
9382 (2C-autoscroll): Use ignore-errors.
9383
9384 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9385 Autoload trivia.
9386
9387 * emacs-lisp/cl-extra.el (*random-state*):
9388 Remove unnecessary declaration.
9389
9390 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
9391
9392 * play/cookie1.el (cookie-snarf):
9393 Give an explicit error if input file cannot be read.
9394
9395 * play/yow.el (yow-file): Use expand-file-name rather than concat.
9396
9397 * progmodes/perl-mode.el (c-macro-expand):
9398 Remove unnecessary autoload (it is in loaddefs.el).
9399
9400 * textmodes/picture.el (picture-desired-column)
9401 (picture-update-desired-column): Convert comments to doc-strings.
9402 (picture-substitute): Remove function.
9403 (picture-mode-map): Initialize in the defvar.
9404
9405 * woman.el: Remove eval-after-load for tar-mode.
9406 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
9407 (woman-tar-extract-file): Autoload it.
9408
9409 * frame.el (automatic-hscrolling): Make this alias obsolete.
9410
9411 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9412
9413 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
9414 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
9415 (ispell-dictionary-base-alist): Revert to original XEmacs
9416 friendly version for default. [:alpha:] will be added in
9417 `ispell-set-spellchecker-params' if needed.
9418
9419 2012-04-16 Chong Yidong <cyd@gnu.org>
9420
9421 * image.el (imagemagick--file-regexp): New variable.
9422 (imagemagick-register-types): Use it.
9423 (imagemagick-types-inhibit): Add :set function. Allow new value
9424 of t to inhibit all types.
9425
9426 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
9427 so we can preload it.
9428
9429 * loadup.el (fboundp): Preload regexp-opt, needed by
9430 imagemagick-register-types.
9431
9432 2012-04-15 Chong Yidong <cyd@gnu.org>
9433
9434 * frame.el (scrolling): Remove nearly unused customization group.
9435
9436 * scroll-all.el (scroll-all-mode): Move to windows group.
9437
9438 2012-04-15 Chong Yidong <cyd@gnu.org>
9439
9440 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9441
9442 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9443
9444 Avoid the use of ((lambda ...) ...) in lexical-binding code.
9445 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
9446
9447 2012-04-15 Glenn Morris <rgm@gnu.org>
9448
9449 * simple.el (process-file-side-effects): Doc fix.
9450
9451 2012-04-15 Glenn Morris <rgm@gnu.org>
9452
9453 * international/mule-cmds.el (set-language-environment): Doc fix.
9454
9455 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9456
9457 * server.el (server-auth-key, server-generate-key): Doc fixes.
9458 (server-get-auth-key): Doc fix. Use `string-match-p'.
9459 (server-start): Reflow docstring.
9460
9461 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
9462
9463 * server.el (server-generate-key): `called-interactively-p'
9464 requires a parameter.
9465
9466 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
9467
9468 * server.el (server-auth-key): New variable.
9469 (server-generate-key, server-get-auth-key): New function.
9470 (server-start): Use the new variable and functions to allow
9471 setting a permanent server key (bug#9423).
9472
9473 2012-04-14 Leo Liu <sdl.web@gmail.com>
9474
9475 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9476
9477 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
9478
9479 Spelling fixes.
9480 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9481 Emacs uses American spelling.
9482
9483 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9484
9485 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9486 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
9487 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9488 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
9489
9490 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9491
9492 * progmodes/which-func.el (which-func-modes): Change default.
9493
9494 2012-04-14 Kim F. Storm <storm@cua.dk>
9495
9496 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9497 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
9498
9499 2012-04-14 Chong Yidong <cyd@gnu.org>
9500
9501 * custom.el (custom-theme-set-variables): Doc fix.
9502
9503 2012-04-14 Glenn Morris <rgm@gnu.org>
9504
9505 * international/mule.el (set-auto-coding-for-load): Doc fix.
9506
9507 2012-04-14 Alan Mackenzie <acm@muc.de>
9508
9509 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9510 imenu work again for Objective C Mode. Correct the *-index values,
9511 these having been disturbed by a previous change in 2011-08.
9512
9513 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9514 Correct two search limits.
9515
9516 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9517
9518 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
9519
9520 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
9521
9522 * international/characters.el: Fix sorting.
9523
9524 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9525
9526 * international/characters.el: Add more missing Latin case pairs.
9527
9528 2012-04-14 Glenn Morris <rgm@gnu.org>
9529
9530 * files.el (dir-locals-set-class-variables): Doc fix.
9531
9532 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9533
9534 * international/characters.el: Add set-case-syntax-pair call for
9535 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
9536 counterpart. (Bug#11209)
9537
9538 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
9539
9540 2012-04-14 Glenn Morris <rgm@gnu.org>
9541
9542 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9543
9544 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9545
9546 * textmodes/ispell.el (ispell-dictionary-base-alist):
9547 Add data for Hebrew.
9548
9549 2012-04-14 Chong Yidong <cyd@gnu.org>
9550
9551 * net/rcirc.el (rcirc-cmd-quit):
9552 Revert 2012-03-18 change (Bug#11192).
9553
9554 2012-04-14 Glenn Morris <rgm@gnu.org>
9555
9556 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
9557
9558 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9559
9560 * minibuffer.el (completion-in-region-mode-map):
9561 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
9562
9563 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
9564
9565 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
9566
9567 2012-04-13 Masatake YAMATO <yamato@redhat.com>
9568
9569 * minibuffer.el (minibuffer-local-filename-syntax): New variable
9570 to allow `C-M-f' and `C-M-b' to move to the nearest path
9571 separator (bug#9511).
9572
9573 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
9574
9575 * avoid.el: Require cl when compiling. And also move the
9576 `provide' to the end.
9577
9578 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9579
9580 * avoid.el (mouse-avoidance-banish-position): New variable.
9581 (mouse-avoidance-banish-destination): Use it (bug#10165).
9582
9583 2012-04-13 Leo Liu <sdl.web@gmail.com>
9584
9585 * progmodes/which-func.el (which-func-modes): Add objc-mode.
9586
9587 2012-04-13 Ken Brown <kbrown@cornell.edu>
9588
9589 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
9590 this is no longer needed now that cygstart understands file:// URLs.
9591 (browse-url-filename-alist): For the same reason, don't modify
9592 file:// URLs on Cygwin.
9593
9594 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9595
9596 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
9597 the region on shift if the binding is already shifted (bug#11221).
9598
9599 2012-04-12 Glenn Morris <rgm@gnu.org>
9600
9601 * mail/mailpost.el: Move to obsolete/.
9602
9603 2012-04-12 Drew Adams <drew.adams@oracle.com>
9604
9605 * imenu.el (imenu--generic-function): Ignore invisible definitions
9606 (bug#10123).
9607
9608 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
9609
9610 * hexl.el (hexl-bits): New variable.
9611 (hexl-options): Mention the variable in the doc string.
9612 (hexl-rulerise, hexl-line-displen): New functions.
9613 (hexl-mode): Mention the new variable.
9614 (hexl-mode, hexl-current-address, hexl-current-address):
9615 Use the displen.
9616 (hexl-ascii-start-column): New function.
9617 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
9618 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
9619
9620 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9621
9622 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
9623 '("-i" ENCODING), in 2 separate command-line arguments, to specify
9624 the encoding, as expected by hunspell.
9625
9626 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9627
9628 * battery.el (battery--linux-sysfs-regexp): New const.
9629 (battery-status-function): Use it. Remove yeeloong special case.
9630 (battery-yeeloong-sysfs): Remove.
9631 (battery-echo-area-format): Remove yeeloong special case.
9632
9633 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9634
9635 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
9636 Reported by Noah Friedman.
9637
9638 * subr.el (read-passwd): Use read-string.
9639
9640 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9641
9642 * vcursor.el (vcursor-move): Increase the priority of the overlay
9643 (bug#9663).
9644
9645 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9646
9647 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
9648 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
9649
9650 2012-04-11 William Stevenson <yhvh2000@gmail.com>
9651
9652 * textmodes/artist.el (artist-mode): Convert artist-mode to use
9653 define-minor-mode (bug#10760).
9654
9655 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9656
9657 * progmodes/grep.el (rgrep): Tweak the find command line so
9658 that directories matching `grep-find-ignored-files' won't be
9659 pruned (bug#10351).
9660
9661 2012-04-11 Chong Yidong <cyd@gnu.org>
9662
9663 * startup.el (command-line): Remove support for long-obsolete
9664 variable font-lock-face-attributes.
9665
9666 2012-04-11 Glenn Morris <rgm@gnu.org>
9667
9668 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
9669
9670 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9671
9672 * window.el (window--state-get-1): Obey window-point-insertion-type.
9673
9674 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
9675
9676 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
9677 to previous function when point is on the first character of a
9678 function. Take care of that in `narrow-to-defun' (bug#6157).
9679
9680 2012-04-11 Glenn Morris <rgm@gnu.org>
9681
9682 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
9683 not just file-errors.
9684
9685 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
9686 (vc-bzr-sha1): Use internal sha1.
9687
9688 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9689
9690 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
9691
9692 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
9693
9694 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
9695 that start in the middle of the line (bug#10496).
9696
9697 2012-04-10 Dan Nicolaescu <dann@gnu.org>
9698
9699 * battery.el (battery-linux-proc-acpi): Only one battery is
9700 discharged at a time, but that seems to confuse battery.el when
9701 computing `rate-type' for the battery not being discharged
9702 (bug#10332).
9703
9704 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9705
9706 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
9707
9708 * international/quail.el: Use dolist and simplify.
9709 (quail-define-package, quail-update-keyboard-layout)
9710 (quail-define-rules): Use dolist.
9711 (quail-insert-kbd-layout, quail-get-translation): CSE.
9712
9713 * tmm.el: Use dolist, remove left over hook.
9714 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
9715 Use dolist.
9716 (calendar-load-hook): Don't mess with it.
9717
9718 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9719 Use derived-mode-p. Run the diff asynchronously.
9720
9721 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9722
9723 * obsolete/mouse-sel.el: Add an Obsolete-since header.
9724
9725 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
9726
9727 * misc.el: Display absolute path of loaded DLLs (bug#10424).
9728 (list-dynamic-libraries--loaded): New function.
9729 (list-dynamic-libraries--refresh): Use it.
9730
9731 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
9732
9733 * progmodes/python.el (python-fill-paragraph):
9734 Make python-fill-region in a multiline string work when font-lock is
9735 disabled (bug#7018).
9736
9737 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
9738
9739 * language/european.el (cp775): Add oem/legacy (en)coding on
9740 DOS/MS Windows for the Baltic languages. There are still plenty
9741 of texts written in this encoding/codepage (bug#6519).
9742
9743 2012-04-10 Glenn Morris <rgm@gnu.org>
9744
9745 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9746 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9747
9748 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
9749
9750 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
9751 next-line "n" and previous-line "p" in order to make recentf more
9752 consistent with ibuffer, dired or org-mode (bug#9387).
9753
9754 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9755
9756 * image.el (put-image): Return the overlay created instead of the
9757 optional input string (bug#7834). Note that this may break code
9758 that is (for some reason or other) depending on `put-image'
9759 returning the string.
9760
9761 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9762
9763 * simple.el (zap-to-char): Allow zapping using input methods
9764 (bug#1580).
9765
9766 * textmodes/fill.el (fill-region): Leave point and mark where they
9767 were before filling (bug#5399).
9768
9769 2012-04-09 Glenn Morris <rgm@gnu.org>
9770
9771 * version.el (emacs-bzr-get-version):
9772 Handle lightweight checkouts of local branches.
9773
9774 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
9775
9776 * international/characters.el: Recover lost case pairs. (Bug#11209)
9777
9778 2012-04-09 Chong Yidong <cyd@gnu.org>
9779
9780 * custom.el (custom-variable-p): Return nil for non-symbol
9781 arguments instead of signaling an error.
9782 (user-variable-p): Obsolete alias for custom-variable-p.
9783
9784 * apropos.el (apropos-variable):
9785 * files-x.el (read-file-local-variable):
9786 * simple.el (set-variable):
9787 * woman.el (woman-mini-help):
9788 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9789
9790 2012-04-09 Glenn Morris <rgm@gnu.org>
9791
9792 * startup.el (normal-top-level): Don't look for leim-list.el
9793 in places where it will not be found. (Bug#910)
9794
9795 * international/mule-cmds.el (set-default-coding-systems):
9796 * files.el (normal-mode):
9797 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
9798 This function was removed with ucs-tables.el in 2008.
9799
9800 2012-04-08 Eli Zaretskii <eliz@gnu.org>
9801
9802 * textmodes/ispell.el (ispell-check-version): For hunspell, set
9803 ispell-encoding8-command to "-i", without a trailing space.
9804 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9805 separate command-line arguments, to specify the encoding, since
9806 that's how hunspell expects it.
9807
9808 2012-04-08 Glenn Morris <rgm@gnu.org>
9809
9810 * loadup.el: Load bindings before cus-start.
9811 This reduces somewhat the number of "rogue" settings in emacs -Q.
9812
9813 2012-04-07 Glenn Morris <rgm@gnu.org>
9814
9815 * version.el (emacs-bzr-get-version): New function.
9816 (emacs-bzr-version): New variable.
9817 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9818 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9819
9820 2012-04-07 Eli Zaretskii <eliz@gnu.org>
9821
9822 * international/uni-bidi.el, international/uni-category.el:
9823 * international/uni-combining.el, international/uni-decimal.el:
9824 * international/uni-decomposition.el, international/uni-digit.el:
9825 * international/uni-lowercase.el, international/uni-mirrored.el:
9826 * international/uni-name.el, international/uni-numeric.el:
9827 * international/uni-titlecase.el, international/uni-uppercase.el:
9828 Update for Unicode 6.1.
9829
9830 2012-04-07 Eli Zaretskii <eliz@gnu.org>
9831
9832 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9833
9834 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9835
9836 * window.el (shrink-window): Mention the `window-min-height'
9837 variable in the doc string.
9838
9839 2012-04-05 Bastien Guerry <bzg@altern.org>
9840
9841 * color.el (color-lighten-name): Fix typo.
9842
9843 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9844
9845 * server.el (server--on-display-p): New function.
9846 (server--on-display-p): Use it.
9847
9848 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
9849
9850 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9851 (bug#11145).
9852
9853 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9854
9855 * comint.el (comint--common-quoted-suffix): Check string boundary
9856 before comparing (bug#11158).
9857 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9858
9859 2012-04-04 Chong Yidong <cyd@gnu.org>
9860
9861 * minibuffer.el (completion-extra-properties): Doc fix.
9862
9863 * subr.el (delayed-warnings-hook): Doc fix.
9864
9865 2012-04-04 Daiki Ueno <ueno@unixuser.org>
9866
9867 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9868 selection (Bug#11159).
9869 (epa-insert-keys): Inform that the default public key will be
9870 exported if no key is selected.
9871
9872 2012-04-04 Richard Stallman <rms@gnu.org>
9873
9874 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9875
9876 2012-04-03 Chong Yidong <cyd@gnu.org>
9877
9878 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9879 mail-insert-file, not its obsolete alias mail-attach-file.
9880
9881 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
9882
9883 * notifications.el (notifications-notify): Fix docstring.
9884
9885 2012-04-02 Glenn Morris <rgm@gnu.org>
9886
9887 * emacs-lisp/authors.el (authors-aliases): Another addition.
9888
9889 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
9890
9891 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9892 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9893 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9894
9895 2012-04-01 Chong Yidong <cyd@gnu.org>
9896
9897 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9898 Handle root directory properly.
9899 (copy-directory): Caller changed.
9900
9901 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9902 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9903
9904 2012-03-31 Glenn Morris <rgm@gnu.org>
9905
9906 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9907
9908 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9909
9910 * calendar/calendar.el (calendar-window-list)
9911 (calendar-hide-window): Restore. (Bug#11140)
9912 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9913
9914 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9915
9916 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9917
9918 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9919 Check if file is a symlink (Bug#10489).
9920
9921 * files.el (copy-directory): Likewise.
9922
9923 2012-03-30 Chong Yidong <cyd@gnu.org>
9924
9925 * image.el (imagemagick-types-inhibit)
9926 (imagemagick-register-types): Doc fix.
9927
9928 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9929
9930 * textmodes/ispell.el (ispell-get-extended-character-mode):
9931 Disable extended-char-mode for hunspell. hunspell does not support it
9932 and treats ~word as ordinary words in pipe mode.
9933
9934 2012-03-30 Glenn Morris <rgm@gnu.org>
9935
9936 * tutorial.el (help-with-tutorial): Ensure local variables don't
9937 happen to make the buffer read-only. (Bug#11127)
9938
9939 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9940
9941 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9942 (perl-calculate-indent): Return `noindent' in strings.
9943
9944 2012-03-28 Sam Steingold <sds@gnu.org>
9945
9946 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9947 instead of the broken adhockery which does not prevent calendar
9948 buffers from being displayed at random after exit.
9949 (calendar-window-list, calendar-hide-window): Remove the broken
9950 adhockery.
9951
9952 2012-03-28 Glenn Morris <rgm@gnu.org>
9953
9954 * replace.el (query-replace-map): Doc fix.
9955
9956 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9957
9958 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9959 contents. (Bug#11109)
9960
9961 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9962
9963 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9964 (bug#11077).
9965 (avl-tree--check, avl-tree--check-node): New funs.
9966
9967 2012-03-27 Martin Rudalics <rudalics@gmx.at>
9968
9969 * window.el (switch-to-visible-buffer): New option.
9970 (switch-to-prev-buffer, switch-to-next-buffer):
9971 Observe switch-to-visible-buffer. Make sure that checking for a window
9972 showing a buffer already is done on the same frame.
9973
9974 2012-03-27 Glenn Morris <rgm@gnu.org>
9975
9976 * startup.el (mail-host-address): Doc fix.
9977
9978 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9979
9980 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9981 than 197 variables.
9982
9983 2012-03-26 Ami Fischman <ami@fischman.org>
9984
9985 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9986
9987 2012-03-26 Glenn Morris <rgm@gnu.org>
9988
9989 * files.el (save-buffers-kill-emacs): Doc fix.
9990
9991 * startup.el (normal-top-level, command-line, command-line-1):
9992 Give them doc strings.
9993
9994 2012-03-25 Eli Zaretskii <eliz@gnu.org>
9995
9996 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
9997 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
9998
9999 2012-03-25 Chong Yidong <cyd@gnu.org>
10000
10001 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
10002 theme if it was previously enabled before (Bug#11031).
10003
10004 * cus-theme.el (custom-theme-write-faces): Retrieve current face
10005 spec with custom-face-get-current-spec if its :shown-value is not
10006 determined yet (Bug#9337).
10007 (customize-create-theme, custom-theme-revert): Doc fixes.
10008
10009 * button.el (button-at): Minor addition to docstring.
10010
10011 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
10012
10013 * vc/vc.el (vc-merge): Fix a prompt.
10014
10015 2012-03-24 Chong Yidong <cyd@gnu.org>
10016
10017 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
10018 point (Bug#9623).
10019
10020 * button.el (button-at): Minor addition to docstring.
10021
10022 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10023
10024 * newcomment.el (comment-choose-indent): No space after BOL.
10025
10026 2012-03-22 Sam Steingold <sds@gnu.org>
10027
10028 * window.el (switch-to-prev-buffer): Revert last patch because the
10029 bug turned out to be an advertised feature (Elisp manual 28.14).
10030
10031 2012-03-22 Glenn Morris <rgm@gnu.org>
10032
10033 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
10034 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
10035
10036 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10037
10038 * net/network-stream.el (network-stream-open-starttls): Make error
10039 message under Windows be less misleading.
10040
10041 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
10042
10043 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
10044 understands (bug#9942).
10045
10046 2012-03-22 Chong Yidong <cyd@gnu.org>
10047
10048 * simple.el (end-of-visible-line): Handle return value of
10049 next-single-property-change properly (Bug#9371).
10050
10051 2012-03-22 Kenichi Handa <handa@m17n.org>
10052
10053 * international/quail.el (quail-insert-kbd-layout): Fix previous
10054 change. To avoid unwanted bidi reordering, use
10055 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
10056
10057 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
10058
10059 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
10060 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
10061 (ruby-beginning-of-indent): Be more careful with the difference
10062 between word-boundary and symbol boundary.
10063 (ruby-mode-syntax-table): Make : a symbol constituent.
10064
10065 2012-03-21 Andreas Politz <politza@fh-trier.de>
10066
10067 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
10068
10069 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10070
10071 * progmodes/etags.el (tags-completion-at-point-function):
10072 Improve last fix.
10073
10074 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
10075
10076 2012-03-21 Sam Steingold <sds@gnu.org>
10077
10078 * progmodes/etags.el (tags-completion-at-point-function):
10079 Avoid the error when point is inside the pattern.
10080
10081 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
10082
10083 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
10084 line (Bug#10855).
10085
10086 2012-03-21 Drew Adams <drew.adams@oracle.com>
10087
10088 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
10089
10090 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
10091
10092 * ido.el (ido-set-current-directory, ido-read-internal)
10093 (ido-choose-completion-string, ido-completion-help): Handle nil
10094 value of ido-completion-buffer (Bug#11008).
10095
10096 2012-03-21 Sam Steingold <sds@gnu.org>
10097
10098 * window.el (switch-to-prev-buffer): Do not switch to a visible
10099 window previous buffer, just like with the frame previous buffers.
10100
10101 2012-03-21 Chong Yidong <cyd@gnu.org>
10102
10103 * faces.el (make-face, make-empty-face, copy-face):
10104 * face-remap.el (face-remap-add-relative, face-remap-set-base):
10105 Doc fixes.
10106
10107 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10108
10109 * wid-edit.el (widget-complete-field): Remove (bug#11051).
10110 (widget-complete): Remove broken use of it.
10111
10112 2012-03-20 Chong Yidong <cyd@gnu.org>
10113
10114 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10115 Use string-width and truncate-string-width to handle arbitrary
10116 characters.
10117
10118 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
10119
10120 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
10121 to draw rectangles, not squares. (Regression introduced by revno
10122 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
10123
10124 2012-03-18 Chong Yidong <cyd@gnu.org>
10125
10126 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
10127 it is not yet defined (for temacs).
10128
10129 2012-03-18 Leo Liu <sdl.web@gmail.com>
10130
10131 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
10132 prefix.
10133
10134 2012-03-17 Eli Zaretskii <eliz@gnu.org>
10135
10136 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
10137 (ispell-choices-win-default-height, ispell-silently-savep)
10138 (ispell-dictionary-alist, ispell-encoding8-command)
10139 (ispell-check-version, ispell-aspell-find-dictionary)
10140 (ispell-valid-dictionary-list, ispell-words-keyword)
10141 (ispell-get-word, ispell-internal-change-dictionary)
10142 (ispell-region, ispell-skip-region-list)
10143 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
10144 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
10145 (ispell-message-text-end, ispell-message)
10146 (ispell-buffer-local-parsing): Doc fix.
10147
10148 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
10149
10150 * htmlfontify.el: Add support for code block fontification for ODT
10151 export (Bug #9914).
10152 (hfy-optimisations): Define new option
10153 `body-text-only'
10154 (hfy-fontify-buffer): Honor above setting.
10155 (hfy-begin-span, hfy-end-span): New routines factored out form
10156 `hfy-fontify-buffer'.
10157 (hfy-begin-span-handler, hfy-end-span-handler): New variables
10158 that permit insertion of custom tags.
10159 (hfy-fontify-buffer): Use above handlers.
10160 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
10161 (hfy-face-to-css): Re-defined to be a variable.
10162 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
10163 over multiple runs. This is made possible by having the caller let
10164 bind a special variable `hfy-user-sheet-assoc'.
10165 (htmlfontify-string): New defun.
10166 (hfy-compile-face-map): Make sure that the last char in the
10167 buffer is correctly fontified.
10168 (hfy-face-resolve-face): Whitespace only change.
10169
10170 2012-03-17 Eli Zaretskii <eliz@gnu.org>
10171
10172 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
10173 message more clear.
10174
10175 2012-03-16 Leo Liu <sdl.web@gmail.com>
10176
10177 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
10178
10179 2012-03-16 Alan Mackenzie <acm@muc.de>
10180
10181 Further optimise the handling of large macros.
10182
10183 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
10184 limit to a call of `c-literal-limits'.
10185 (c-determine-+ve-limit): New function.
10186 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
10187 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
10188 In CASE 5B, restrict a search limit to 500.
10189 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
10190
10191 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
10192 Restrict macro bounds to +-500 from after-change's BEG END.
10193
10194 2012-03-16 Leo Liu <sdl.web@gmail.com>
10195
10196 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
10197
10198 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
10199
10200 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
10201 `special-mode' setting of `buffer-read-only'. (Bug#11010)
10202
10203 2012-03-16 Glenn Morris <rgm@gnu.org>
10204
10205 * view.el (view-buffer, view-buffer-other-window)
10206 (view-buffer-other-frame): Doc fixes re special mode-class.
10207
10208 * subr.el (eval-after-load): If named feature is provided not from
10209 a file, run after-load forms. (Bug#10946)
10210
10211 * calendar/calendar.el (calendar-insert-at-column):
10212 Handle non-unit-width characters a bit better. (Bug#10978)
10213
10214 2012-03-15 Chong Yidong <cyd@gnu.org>
10215
10216 * emacs-lisp/ring.el (ring-extend): New function.
10217 (ring-insert+extend): Extend the ring correctly (Bug#11019).
10218
10219 * comint.el (comint-read-input-ring)
10220 (comint-add-to-input-history): Grow comint-input-ring lazily.
10221
10222 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10223
10224 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10225 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10226
10227 * imenu.el: Fix multiple inheritance breakage (bug#9199).
10228 (imenu-add-to-menubar): Don't add a redundant index.
10229 (imenu-update-menubar): Handle a dynamically composed keymap.
10230
10231 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
10232
10233 * mail/sendmail.el (mail-encode-header):
10234 Bind rfc2047-encode-encoded-words to nil.
10235
10236 2012-03-13 Glenn Morris <rgm@gnu.org>
10237
10238 * calendar/calendar.el (calendar-string-spread):
10239 Handle non-unit-width characters a bit better. (Bug#10978)
10240
10241 2012-03-13 Leo Liu <sdl.web@gmail.com>
10242
10243 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10244 directory and file as argument (Bug#10822).
10245
10246 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10247
10248 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10249 For dynamically generated code, follow $PC.
10250 (gdb-disassembly-handler-custom): Handle no function name case.
10251
10252 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
10253
10254 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10255 * emulation/ws-mode.el (ws-query-replace):
10256 * sort.el (sort-regexp-fields):
10257 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
10258
10259 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10260
10261 * dabbrev.el: Fix cycle completion order (bug#10963).
10262 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10263 (dabbrev-completion): Don't use an obarray; provide
10264 a cycle-sort-function.
10265
10266 2012-03-12 Leo Liu <sdl.web@gmail.com>
10267
10268 * simple.el (kill-new): Use equal-including-properties for comparison.
10269 (kill-do-not-save-duplicates): Doc fix.
10270
10271 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10272
10273 * dabbrev.el: Fix cycle completion (bug#10963).
10274 Use lexical binding and wrap to 80 columns.
10275 (dabbrev-completion): Delay computing the list of completions.
10276
10277 2012-03-12 Kenichi Handa <handa@m17n.org>
10278
10279 * international/quail.el (quail-insert-kbd-layout): Surround each
10280 row by LRO and PDF instead of inserting many LRMs. Pad the left
10281 and right of each non-spacing marks. Insert invisible space
10282 between lower and upper characters to prevent composition.
10283
10284 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10285
10286 * minibuffer.el (minibuffer-complete): Don't get confused when the
10287 function is run twice via different commands (bug#10958).
10288 (complete-with-action): Fix docstring.
10289
10290 2012-03-12 Chong Yidong <cyd@gnu.org>
10291
10292 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10293 (nxml-completion-at-point-function): New function.
10294 (nxml-mode): Use it.
10295 (nxml-bind-meta-tab-to-complete-flag): Default to t.
10296
10297 * emacs-lisp/package.el (package-unpack, package-unpack-single):
10298 Load generated autoloads file before byte compiling (Bug#10970).
10299 (package--make-autoloads-and-compile): New helper fun.
10300
10301 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
10302
10303 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10304
10305 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
10306
10307 * autorevert.el (auto-revert-handler): Ensure, that
10308 file-readable-p is applied only for local files or in
10309 auto-revert-tail-mode.
10310
10311 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
10312
10313 * server.el (server-eval-at): Handle non-tcp connections.
10314 Decode result string.
10315
10316 * server.el (server-msg-size): New constant.
10317 (server-reply-print): New function.
10318 (server-eval-and-print): Use it.
10319 (server-eval-at): Use server-quote-arg and server-unquote-arg.
10320 Handle -print-nonl.
10321
10322 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
10323
10324 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
10325 (Bug#10987).
10326
10327 2012-03-11 Chong Yidong <cyd@gnu.org>
10328
10329 * simple.el (goto-line): Doc fix (Bug#9938).
10330
10331 * subr.el (save-window-excursion): Doc fix (Bug#9979).
10332
10333 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
10334 when finished (Bug#10963).
10335
10336 2012-03-11 Martin Rudalics <rudalics@gmx.at>
10337
10338 * window.el (split-window-below): Fix bug in case where
10339 split-window-keep-point is nil (Bug#10971).
10340
10341 2012-03-11 Juri Linkov <juri@jurta.org>
10342
10343 * replace.el (replace-highlight): Set isearch-word to nil
10344 unconditionally. (Bug#10887)
10345
10346 2012-03-10 Eli Zaretskii <eliz@gnu.org>
10347
10348 * net/mairix.el (mairix-replace-invalid-chars): Rename from
10349 mairix-replace-illegal-chars; all callers changed. Don't remove
10350 ^, ~, and = characters: they are meaningful in mairix search specs.
10351 (mairix-widget-create-query): Add usage information about mairix
10352 search forms: negating words, searching for substrings, etc.
10353
10354 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
10355
10356 * international/fontset.el (font-encoding-alist): Add an entry for
10357 ksx1001 (Bug#5667).
10358
10359 2012-03-10 Richard Stallman <rms@gnu.org>
10360
10361 * mail/sendmail.el (mail-encode-header):
10362 Set rfc2047-encode-encoded-words.
10363
10364 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10365
10366 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10367 view buffer means not swapped.
10368 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10369 (rmail-write-region-annotate): Error if real text has disappeared.
10370
10371 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10372
10373 2012-03-10 Chong Yidong <cyd@gnu.org>
10374
10375 * emulation/cua-rect.el (cua--init-rectangles):
10376 * emulation/cua-base.el (cua--init-keymaps):
10377 Add delete-forward-char to remappings (Bug#9666).
10378
10379 2012-03-10 Martin Rudalics <rudalics@gmx.at>
10380
10381 * speedbar.el (speedbar-unhighlight-one-tag-line):
10382 Avoid unhighlighting due to frame switching (Bug#10275).
10383
10384 2012-03-10 Chong Yidong <cyd@gnu.org>
10385
10386 * minibuffer.el (completion-in-region, completion-help-at-point):
10387 Give the completion field overlay a high priority (Bug#6830).
10388
10389 * dired.el (dired-goto-file): Recognize absolute file name
10390 listings (Bug#7126).
10391 (dired-goto-file-1): New helper function.
10392 (dired-toggle-read-only): Inhibit warnings.
10393
10394 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
10395
10396 * net/dbus.el (dbus-property-handler): Return empty array if
10397 there are no properties.
10398
10399 2012-03-09 Leo Liu <sdl.web@gmail.com>
10400
10401 * savehist.el (savehist-printable): Stricter check for string
10402 value (Bug#10937).
10403
10404 2012-03-09 Eli Zaretskii <eliz@gnu.org>
10405
10406 * mail/smtpmail.el (smtpmail-send-it):
10407 Bind coding-system-for-write to *-unix, so that FCC files are kept in
10408 valid mbox format.
10409
10410 2012-03-09 Glenn Morris <rgm@gnu.org>
10411
10412 * files.el (dir-locals-find-file):
10413 Don't check result is regular, readable.
10414 (dir-locals-read-from-file): Demote errors.
10415
10416 2012-03-08 Eli Zaretskii <eliz@gnu.org>
10417
10418 * international/quail.el (quail-insert-kbd-layout):
10419 Insert invisible LRM characters before each character in a keyboard
10420 layout cell, to prevent their reordering by bidi display engine.
10421 For details, see the discussion in
10422 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
10423
10424 2012-03-08 Alan Mackenzie <acm@muc.de>
10425
10426 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
10427 the starting position; make it extend the marked region when
10428 invoked repeatedly - all under appropriate circumstances.
10429 Fixes bugs #5525, #10906.
10430
10431 2012-03-08 Glenn Morris <rgm@gnu.org>
10432
10433 * files.el (locate-dominating-file, dir-locals-find-file):
10434 Undo 2012-03-06 change.
10435
10436 2012-03-07 Eli Zaretskii <eliz@gnu.org>
10437
10438 * international/quail.el (quail-help):
10439 Force bidi-paragraph-direction be left-to-right. See discussion in
10440 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10441 for the reason.
10442
10443 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
10444
10445 Avoid superfluous registering of signals. (Bug#10807)
10446
10447 * notifications.el (notifications-on-action-object)
10448 (notifications-on-close-object): New defvars.
10449 (notifications-on-action-signal, notifications-on-closed-signal):
10450 Unregister the signal if not needed any longer.
10451 (notifications-notify): Register `notifications-action-signal' or
10452 `notifications-closed-signal', if :on-action or :on-close has been
10453 passed as argument.
10454
10455 2012-03-07 Chong Yidong <cyd@gnu.org>
10456
10457 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10458 non-X platforms.
10459
10460 2012-03-06 Glenn Morris <rgm@gnu.org>
10461
10462 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10463 (x-disown-selection-internal, x-get-selection-internal):
10464 Doc fix (add arglist signatures). (Bug#10783)
10465
10466 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10467
10468 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10469 Handle breakpoints with no "type".
10470
10471 2012-03-06 Glenn Morris <rgm@gnu.org>
10472
10473 * files.el (locate-dominating-file): Add optional predicate argument.
10474 (dir-locals-find-file): Make use of above change.
10475
10476 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
10477
10478 * info.el (Info-insert-dir): Also try "dir.gz".
10479
10480 2012-03-06 Glenn Morris <rgm@gnu.org>
10481
10482 * files.el (dir-locals-find-file):
10483 Ignore non-readable or non-regular files. (Bug#10928)
10484
10485 * files.el (locate-dominating-file): Doc fix.
10486
10487 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
10488
10489 * calendar/calendar.el (calendar-set-mode-line):
10490 `getenv' returns a string. (Bug#10951)
10491
10492 2012-03-05 Leo Liu <sdl.web@gmail.com>
10493
10494 * simple.el (backward-delete-char-untabify): Constrain point to
10495 field (Bug#10939).
10496
10497 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
10498
10499 2012-03-05 Chong Yidong <cyd@gnu.org>
10500
10501 * simple.el (count-words): If called from Lisp, return the word
10502 count, for symmetry with `count-lines'. Arglist changed.
10503 (count-words--message): Args changed. Consolidate counting code
10504 from count-words and count-words-region.
10505 (count-words-region): Caller changed.
10506 (count-lines-region): Make it an obsolete alias.
10507
10508 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
10509
10510 * saveplace.el (save-place-to-alist)
10511 (save-place-ignore-files-regexp): Allow value nil to disable this
10512 feature.
10513
10514 2012-03-04 Chong Yidong <cyd@gnu.org>
10515
10516 * faces.el (face-spec-reset-face): For the default face, reset the
10517 attributes to default values (Bug#10748).
10518
10519 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10520
10521 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
10522 previous patch: Check `message-send-mail-function', and not the
10523 default function (bug#10897).
10524
10525 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
10526
10527 * notifications.el (notifications-on-action-signal)
10528 (notifications-on-closed-signal): Check for unique service name of
10529 incoming event. Fix error in removing entry.
10530 (top): Register for signals with wildcard service name.
10531 (notifications-notify): Use daemon unique service name for map entries.
10532
10533 2012-03-04 Chong Yidong <cyd@gnu.org>
10534
10535 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
10536
10537 2012-03-04 Glenn Morris <rgm@gnu.org>
10538
10539 * abbrev.el (copy-abbrev-table, abbrev-table-p)
10540 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
10541 (expand-abbrev, define-abbrev-table): Doc fixes.
10542
10543 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10544
10545 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
10546 `message-default-send-mail-function' and not `send-mail-function'
10547 when doing the prompting for `sendmail-query-once' before sending
10548 in Message buffers (bug#10897).
10549
10550 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10551 This is inconsistent with all the other stream functions, which leave
10552 the setting up to the higher levels (if so wanted) (bug#10931).
10553
10554 2012-03-02 Alan Mackenzie <acm@muc.de>
10555
10556 Depessimize the handling of very large macros.
10557
10558 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
10559 (c-macro-cache-syntactic): New variables to implement a one
10560 element macro cache.
10561 (c-invalidate-macro-cache): New function.
10562 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
10563 Adapt to use the new cache.
10564 (c-state-safe-place): Use better the cache of safe positions.
10565 (c-state-semi-nonlit-pos-cache)
10566 (c-state-semi-nonlit-pos-cache-limit):
10567 New variables for...
10568 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
10569 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
10570 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
10571 Use c-state-semi-safe-place.
10572
10573 * progmodes/cc-langs.el (c-get-state-before-change-functions):
10574 Add c-invalidate-macro-cache to the C, C++, Obj entries.
10575
10576 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
10577
10578 * jka-compr.el (jka-compr-call-process):
10579 Apply `file-accessible-directory-p' only when the default directory is
10580 not remote.
10581
10582 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
10583
10584 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
10585 access of FILE2, if FILE1 does not exist.
10586
10587 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
10588 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
10589
10590 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
10591 Add "PAGER=" to `process-environment'.
10592
10593 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
10594
10595 * progmodes/sql.el: Bug fix
10596 (sql-get-login-ext): Save login values in globals.
10597 (sql-get-login): Use new version of `sql-get-login-ext'.
10598 (sql-interactive-mode): Set global `sql-connection' to nil.
10599 (sql-connect): Set global values for connection.
10600 (sql-product-interactive): Save global values as buffer local.
10601
10602 2012-02-29 Leo Liu <sdl.web@gmail.com>
10603
10604 * abbrev.el (define-abbrevs): Reset sys to nil.
10605
10606 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10607
10608 * files.el (file-equal-p): Rename from `files-equal-p'.
10609 Return nil when one or both files don't exist.
10610 (file-subdir-of-p): Now only top directory must exists,
10611 return nil if it doesn't.
10612 (copy-directory): No need to test with `file-subdir-of-p' after
10613 creating dir.
10614 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
10615 to `file-equal-p'.
10616
10617 2012-02-28 Glenn Morris <rgm@gnu.org>
10618
10619 * shell.el (shell-mode):
10620 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
10621 * play/landmark.el (landmark-font-lock-face-O):
10622 * play/handwrite.el (handwrite):
10623 * play/gomoku.el (gomoku-O):
10624 * net/browse-url.el (browse-url-browser-display):
10625 * international/mule.el (define-charset):
10626 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
10627 * filesets.el (filesets-find-file-delay):
10628 * eshell/em-xtra.el (eshell-xtra):
10629 * eshell/em-unix.el (eshell-grep):
10630 * emulation/viper.el (viper-mode):
10631 * emacs-lisp/regexp-opt.el (regexp-opt-group):
10632 * emacs-lisp/easymenu.el (easy-menu-define):
10633 * calendar/timeclock.el (timeclock-use-display-time):
10634 * bs.el (bs-mode):
10635 * bookmark.el (bookmark-save-flag):
10636 Doc fix (standardize possessive apostrophe usage).
10637
10638 2012-02-27 Chong Yidong <cyd@gnu.org>
10639
10640 * emulation/viper-cmd.el (viper-intercept-ESC-key):
10641 Fix key-binding lookup for ESC key (Bug#9146).
10642
10643 * font-lock.el (font-lock-specified-p): Rename from
10644 font-lock-spec-present. Callers changed.
10645
10646 2012-02-27 Daniel Hackney <dan@haxney.org>
10647
10648 * emacs-lisp/package.el (package-compute-transaction):
10649 Handle holding a package version to t in package-load-list.
10650
10651 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
10652
10653 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
10654 (tramp-get-inode, tramp-get-device): Use cached values.
10655
10656 2012-02-26 Alan Mackenzie <acm@muc.de>
10657
10658 Check there is a font-lock specification before doing initial
10659 fontification.
10660
10661 * font-core.el (font-lock-mode): Move the conditional from
10662 :after-hook to font-lock-initial-fontify.
10663 (font-lock-default-function): Move the check for a specification
10664 to font-lock-spec-present.
10665
10666 * font-lock.el (font-lock-initial-fontify): Call ...
10667 (font-lock-spec-present): New function.
10668
10669 2012-02-26 Jim Blandy <jimb@red-bean.com>
10670
10671 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
10672 (gdb-send): Apply it to the operand of the '-interpreter-exec
10673 console' command, so that we can pass arguments with (say) quotes
10674 in them. Store exact string sent in gdb-debug-log (Bug#10765).
10675
10676 2012-02-26 Chong Yidong <cyd@gnu.org>
10677
10678 * help-fns.el (describe-function-1): Clarify description of
10679 remapping (Bug#10844).
10680
10681 * files.el (files-equal-p): Doc fix.
10682 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
10683 and quit the loop once a mismatch is found.
10684
10685 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
10686
10687 * bs.el (bs--show-with-configuration): Don't throw an error
10688 if the window cannot be split; otherwise, subsequent calls to
10689 bs-show fail, restoring a stale window config. (Bug#10882)
10690
10691 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
10692
10693 * term/ns-win.el (global-map): Bind ns-drag-file to
10694 ns-find-file (Bug#5855, Bug#10050).
10695
10696 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
10697
10698 * calendar/parse-time.el (parse-time-string): Allow extractor to
10699 return nil.
10700
10701 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
10702
10703 * net/tramp.el (tramp-file-name-for-operation):
10704 Add `files-equal-p' and `file-subdir-of-p'.
10705
10706 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
10707 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10708 Add COPY-CONTENTS argument.
10709
10710 2012-02-25 Chong Yidong <cyd@gnu.org>
10711
10712 Add custom groups for VC backends, for consistency with vc-bzr.
10713
10714 * vc/vc-arch.el (vc-arch):
10715 * vc/vc-cvs.el (vc-cvs):
10716 * vc/vc-git.el (vc-git):
10717 * vc/vc-hg.el (vc-hg):
10718 * vc/vc-mtn.el (vc-mtn):
10719 * vc/vc-rcs.el (vc-rcs):
10720 * vc/vc-sccs.el (vc-sccs):
10721 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
10722 All relevant defcustoms reassigned.
10723
10724 2012-02-25 Chong Yidong <cyd@gnu.org>
10725
10726 * newcomment.el (comment-styles): Add autoload (Bug#10868).
10727
10728 * term/x-win.el (x-initialize-window-system): Reduce default for
10729 x-selection-timeout to 5 seconds (Bug#8869).
10730
10731 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10732
10733 * files.el (files-equal-p, file-subdir-of-p): New functions.
10734 (copy-directory): Error when trying to copy a directory on itself.
10735 Add missing copy-contents arg to tramp handler.
10736 * dired-aux.el (dired-copy-file-recursive): Same.
10737 (dired-create-files): Modify destination when source is equal to
10738 dest when copying files.
10739 Return also when dest is a subdir of source. (Bug#10489)
10740
10741 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
10742
10743 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10744 (Bug#10874)
10745
10746 2012-02-23 Alan Mackenzie <acm@muc.de>
10747
10748 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10749 parameter "after-hook:" to allow the expansion to run code after
10750 the execution of the mode hooks.
10751
10752 * font-lock.el (font-lock-initial-fontify): New function extracted
10753 from font-lock-mode-internal.
10754
10755 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
10756 :after-hook.
10757
10758 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10759
10760 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10761 (completion--cache-all-sorted-completions): New function.
10762 (completion-all-sorted-completions): Use it.
10763 (completion--do-completion, minibuffer-force-complete):
10764 Use it to re-instate the flush hook.
10765
10766 * icomplete.el (icomplete-completions): Replace last fix with a better
10767 one (bug#10850).
10768
10769 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
10770
10771 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10772 when it might call us back infinitely (bug#10797).
10773
10774 2012-02-23 Glenn Morris <rgm@gnu.org>
10775
10776 * minibuffer.el (completion-category-overrides): Doc fix.
10777
10778 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10779
10780 * minibuffer.el (completion-table-with-context): Fix inf-loop.
10781 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10782
10783 2012-02-23 Glenn Morris <rgm@gnu.org>
10784
10785 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
10786 (authors-obsolete-files-regexps, authors-ignored-files)
10787 (authors-ambiguous-files, authors-renamed-files-alist):
10788 Add more entries.
10789
10790 2012-02-23 Juri Linkov <juri@jurta.org>
10791
10792 * isearch.el (isearch-occur): Sync interactive spec with occur's
10793 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
10794
10795 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10796
10797 2012-02-22 Juri Linkov <juri@jurta.org>
10798
10799 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10800 (ucs-insert): Doc fix. Check for hex digits in the string.
10801 Don't display `nil' in the error message. (Bug#10857)
10802
10803 2012-02-22 Alan Mackenzie <acm@muc.de>
10804
10805 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
10806
10807 2012-02-22 Glenn Morris <rgm@gnu.org>
10808
10809 * ffap.el (ffap-c-path):
10810 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10811
10812 2012-02-22 Chong Yidong <cyd@gnu.org>
10813
10814 * custom.el (load-theme): Doc fix.
10815
10816 2012-02-22 Glenn Morris <rgm@gnu.org>
10817
10818 * dired-x.el (dired-guess-shell-alist-default):
10819 Remove escape sequences from nroff output. (Bug#172)
10820
10821 2012-02-21 Glenn Morris <rgm@gnu.org>
10822
10823 * vc/emerge.el (emerge-defvar-local):
10824 Set `permanent-local' property rather than unused `preserved'.
10825
10826 * textmodes/picture.el (picture-delete-char): New alias.
10827 (picture-mode-map): Use it. (Bug#10860)
10828 (picture-mode): Doc fix.
10829
10830 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
10831
10832 * newcomment.el (uncomment-region-default): Remove unused binding.
10833
10834 2012-02-21 Glenn Morris <rgm@gnu.org>
10835
10836 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10837 (picture-self-insert, picture-tab-chars): Doc fix.
10838 (picture-mode-map): Fix C-a, C-e.
10839
10840 2012-02-20 Glenn Morris <rgm@gnu.org>
10841
10842 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10843
10844 2012-02-20 Leo Liu <sdl.web@gmail.com>
10845
10846 * icomplete.el (icomplete-completions): Check FROM arg before
10847 passing to substring (Bug#10850).
10848
10849 2012-02-19 Chong Yidong <cyd@gnu.org>
10850
10851 * comint.el: Require ansi-color.
10852 (comint-output-filter-functions): Add ansi-color-process-output.
10853
10854 * ansi-color.el: Don't set comint-output-filter-functions; it is
10855 now in the initial value defined in comint.el.
10856 (ansi-color-apply-face-function): New variable.
10857 (ansi-color-apply-on-region): Use it.
10858 (ansi-color-apply-overlay-face): New function.
10859
10860 * shell.el (shell): No need to require ansi-color.
10861 (shell-mode): Use ansi-color-apply-face-function to highlight
10862 color escapes using font-lock-face property (Bug#10835).
10863
10864 2012-02-19 Chong Yidong <cyd@gnu.org>
10865
10866 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10867 mode-line formats (Bug#10839).
10868
10869 2012-02-18 Glenn Morris <rgm@gnu.org>
10870
10871 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10872
10873 * mail/undigest.el (unforward-rmail-message): Doc fix.
10874
10875 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10876
10877 2012-02-18 Eli Zaretskii <eliz@gnu.org>
10878
10879 * international/characters.el (script-list): Sync with the latest
10880 Unicode Character Database.
10881
10882 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10883
10884 * international/titdic-cnv.el: Remove duplicate coding tag.
10885 * language/cham.el: Likewise.
10886 * language/tai-viet.el: Likewise.
10887
10888 2012-02-18 Glenn Morris <rgm@gnu.org>
10889
10890 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10891 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10892 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10893 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10894 * calendar/holidays.el (holiday-bahai-holidays)
10895 (calendar-holidays, list-holidays):
10896 Use utf-8 Bahá'í in doc-strings, menus, etc.
10897
10898 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10899
10900 * saveplace.el (save-place-ignore-files-regexp): New variable
10901 allowing for excluding files from saving their location of point.
10902 The default value matches the temporary commit message editing
10903 files from Git, SVN, Bazaar, and Mercurial.
10904 (save-place-to-alist): Use it.
10905
10906 2012-02-17 Lawrence Mitchell <wence@gmx.li>
10907 Stefan Monnier <monnier@iro.umontreal.ca>
10908
10909 * newcomment.el (uncomment-region-default): Don't leave extra space
10910 when an arg is provided (bug#8150).
10911
10912 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10913
10914 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
10915
10916 2012-02-17 Glenn Morris <rgm@gnu.org>
10917
10918 * net/socks.el: Require network-stream. (Bug#10599)
10919
10920 2012-02-17 Kenichi Handa <handa@m17n.org>
10921
10922 * international/charprop.el:
10923 * international/uni-name.el:
10924 * international/uni-old-name.el:
10925 * international/uni-comment.el: Regenerate.
10926
10927 2012-02-16 Glenn Morris <rgm@gnu.org>
10928
10929 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10930 Interactively in calendar buffer, give an error if not on a date.
10931
10932 2012-02-15 Glenn Morris <rgm@gnu.org>
10933
10934 * shell.el (shell-delimiter-argument-list):
10935 Revert 2011-02-17 change. (Bug#8027)
10936
10937 2012-02-15 Chong Yidong <cyd@gnu.org>
10938
10939 * minibuffer.el (completion-at-point-functions): Doc fix.
10940
10941 * custom.el (defcustom): Doc fix; note use of defvar.
10942
10943 2012-02-15 Glenn Morris <rgm@gnu.org>
10944
10945 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10946 Doc fixes.
10947
10948 2012-02-14 Glenn Morris <rgm@gnu.org>
10949
10950 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10951
10952 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10953
10954 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10955 way the ports list is computed.
10956 (smtpmail-query-smtp-server): Prompt the user for a port number if
10957 we can't connect to any of the standard ports (bug#10810).
10958
10959 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10960
10961 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10962
10963 2012-02-13 Glenn Morris <rgm@gnu.org>
10964
10965 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10966
10967 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10968
10969 * net/gnutls.el (gnutls-trustfiles): New variable.
10970 (gnutls-negotiate): Use it.
10971
10972 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10973
10974 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10975 does its stuff if Gnus is running.
10976
10977 2012-02-13 Alan Mackenzie <acm@muc.de>
10978
10979 Fix a loop in c-set-fl-decl-start.
10980
10981 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
10982 c-backward-syntactic-ws actually moves backwards.
10983
10984 2012-02-13 Leo Liu <sdl.web@gmail.com>
10985
10986 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10987 beginning so that all \C-o chars are removed.
10988
10989 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10990
10991 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
10992
10993 2012-02-12 Alan Mackenzie <acm@muc.de>
10994
10995 Fix infinite loop with long macros.
10996 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
10997
10998 2012-02-12 Chong Yidong <cyd@gnu.org>
10999
11000 * window.el (display-buffer): Doc fix (Bug#10785).
11001
11002 2012-02-12 Glenn Morris <rgm@gnu.org>
11003
11004 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11005 (x-disown-selection-internal, x-get-selection-internal):
11006 Sync docs with the xselect.c versions.
11007
11008 * allout-widgets.el: Add missing license notice.
11009
11010 2012-02-11 Glenn Morris <rgm@gnu.org>
11011
11012 * select.el (x-get-selection-internal, x-own-selection-internal)
11013 (x-disown-selection-internal):
11014 * x-dnd.el (x-get-selection-internal): Update declarations.
11015
11016 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
11017
11018 * window.el (window-sides-slots):
11019 * tool-bar.el (tool-bar-position):
11020 * term/xterm.el (xterm-extra-capabilities):
11021 * ses.el (ses-self-reference-early-detection):
11022 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
11023 (verilog-auto-wire-type)
11024 (verilog-auto-delete-trailing-whitespace)
11025 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
11026 (verilog-auto-tieoff-declaration):
11027 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
11028 (sql-oracle-statement-starters, sql-oracle-scan-on):
11029 * progmodes/prolog.el (prolog-align-comments-flag)
11030 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
11031 (prolog-left-indent-regexp, prolog-paren-indent-p)
11032 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
11033 (prolog-types, prolog-mode-specificators)
11034 (prolog-determinism-specificators, prolog-directives)
11035 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
11036 (prolog-electric-dot-flag)
11037 (prolog-electric-dot-full-predicate-template)
11038 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
11039 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
11040 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
11041 (prolog-program-switches, prolog-prompt-regexp)
11042 (prolog-debug-on-string, prolog-debug-off-string)
11043 (prolog-trace-on-string, prolog-trace-off-string)
11044 (prolog-zip-on-string, prolog-zip-off-string)
11045 (prolog-use-standard-consult-compile-method-flag)
11046 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
11047 (prolog-imenu-max-lines, prolog-info-predicate-index)
11048 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
11049 (prolog-char-quote-workaround):
11050 * progmodes/cc-vars.el (c-defun-tactic):
11051 * net/tramp.el (tramp-encoding-command-interactive)
11052 (tramp-local-end-of-line):
11053 * net/soap-client.el (soap-client):
11054 * net/netrc.el (netrc-file):
11055 * net/gnutls.el (gnutls):
11056 * minibuffer.el (completion-category-overrides)
11057 (completion-cycle-threshold)
11058 (completion-pcm-complete-word-inserts-delimiters):
11059 * man.el (Man-name-local-regexp):
11060 * mail/feedmail.el (feedmail-display-full-frame):
11061 * international/characters.el (glyphless-char-display-control):
11062 * eshell/em-ls.el (eshell-ls-date-format):
11063 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
11064 (lisp-lambda-list-keyword-parameter-indentation)
11065 (lisp-lambda-list-keyword-parameter-alignment):
11066 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
11067 * dired-x.el (dired-omit-verbose):
11068 * cus-theme.el (custom-theme-allow-multiple-selections):
11069 * calc/calc.el (calc-highlight-selections-with-faces)
11070 (calc-lu-field-reference, calc-lu-power-reference)
11071 (calc-note-threshold):
11072 * battery.el (battery-mode-line-limit):
11073 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11074 (archive-7z-update):
11075 * allout.el (allout-prefixed-keybindings)
11076 (allout-unprefixed-keybindings)
11077 (allout-inhibit-auto-fill-on-headline)
11078 (allout-flattened-numbering-abbreviation):
11079 * allout-widgets.el (allout-widgets-auto-activation)
11080 (allout-widgets-icons-dark-subdir)
11081 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
11082 (allout-widgets-theme-dark-background)
11083 (allout-widgets-theme-light-background)
11084 (allout-widgets-item-image-properties-emacs)
11085 (allout-widgets-item-image-properties-xemacs)
11086 (allout-widgets-run-unit-tests-on-load)
11087 (allout-widgets-time-decoration-activity)
11088 (allout-widgets-hook-error-post-time)
11089 (allout-widgets-track-decoration):
11090 Add missing :version tags to new defcustoms and defgroups.
11091
11092 * progmodes/sql.el (sql-ansi-statement-starters)
11093 (sql-oracle-statement-starters): Add custom type.
11094
11095 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
11096 (prolog-system-version): Give it a type.
11097
11098 2012-02-11 Eli Zaretskii <eliz@gnu.org>
11099
11100 * term/pc-win.el (x-select-text, x-selection-owner-p)
11101 (x-own-selection-internal, x-disown-selection-internal)
11102 (x-get-selection-internal): Sync doc strings and argument lists
11103 with xselect.c, common-win.el and x-win.el. (Bug#10783)
11104
11105 2012-02-11 Leo Liu <sdl.web@gmail.com>
11106
11107 * progmodes/python.el (python-end-of-statement): Fix infinite
11108 loop. (Bug#10788)
11109
11110 2012-02-10 Glenn Morris <rgm@gnu.org>
11111
11112 * international/mule-cmds.el (unify-8859-on-encoding-mode)
11113 (unify-8859-on-decoding-mode): Properly mark as obsolete.
11114
11115 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
11116
11117 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
11118 about SMTP before checking the From header.
11119
11120 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
11121 into own function for reuse by emacsbug.el.
11122
11123 2012-02-10 Leo Liu <sdl.web@gmail.com>
11124
11125 * subr.el (condition-case-unless-debug): Rename from
11126 condition-case-no-debug. All callers changed.
11127 (with-demoted-errors): Fix caller.
11128
11129 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
11130 * nxml/rng-valid.el (rng-do-some-validation):
11131 * emacs-lisp/package.el (package-refresh-contents)
11132 (package-menu-execute):
11133 * desktop.el (desktop-create-buffer):
11134 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
11135
11136 2012-02-10 Glenn Morris <rgm@gnu.org>
11137
11138 * textmodes/bibtex.el:
11139 Add missing :version tags for new/changed defcustoms.
11140
11141 * files.el (remote-file-name-inhibit-cache): Doc fixes.
11142
11143 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
11144
11145 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
11146 (smtpmail-via-smtp): Use it, or fall back on the From address.
11147 (smtpmail-send-it): Ditto.
11148
11149 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
11150
11151 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
11152 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
11153 (byte-compile-tmp-var): New const.
11154 (byte-compile-defvar): Use it to minimize .elc size.
11155 Just use `defvar' rather than simulate it (bug#10761).
11156
11157 2012-02-09 Glenn Morris <rgm@gnu.org>
11158
11159 * files.el (rename-uniquely): Doc fix. (Bug#3806)
11160
11161 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
11162 Add :version tags.
11163
11164 * progmodes/compile.el (compilation-error-screen-columns)
11165 (compilation-first-column, compilation-filter-start): Doc fixes.
11166
11167 * vc/log-view.el (log-view-toggle-entry-display):
11168 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
11169
11170 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
11171 (report-emacs-bug-can-use-xdg-email):
11172 (report-emacs-bug-insert-to-mailer): Doc fixes.
11173 (report-emacs-bug): Message fix.
11174
11175 * net/browse-url.el (browse-url-can-use-xdg-open)
11176 (browse-url-xdg-open): Doc fixes.
11177
11178 * electric.el (electric-indent-mode, electric-pair-mode)
11179 (electric-layout-rules, electric-layout-mode): Doc fixes.
11180 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
11181
11182 2012-02-08 Martin Rudalics <rudalics@gmx.at>
11183
11184 * server.el (server-unselect-display): Don't inadvertently kill
11185 the current buffer. (Bug#10729)
11186
11187 2012-02-08 Glenn Morris <rgm@gnu.org>
11188
11189 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
11190 (sql-list-table): Doc fixes.
11191
11192 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
11193 Comment out (does nothing).
11194
11195 * completion.el (dynamic-completion-mode):
11196 * dirtrack.el (dirtrack-debug-mode):
11197 * electric.el (electric-layout-mode):
11198 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
11199 * face-remap.el (text-scale-mode, buffer-face-mode):
11200 * iimage.el (iimage-mode):
11201 * image-mode.el (image-transform-mode):
11202 * minibuffer.el (completion-in-region-mode):
11203 * scroll-lock.el (scroll-lock-mode):
11204 * simple.el (next-error-follow-minor-mode):
11205 * tar-mode.el (tar-subfile-mode):
11206 * tooltip.el (tooltip-mode):
11207 * vcursor.el (vcursor-use-vcursor-map):
11208 * wid-browse.el (widget-minor-mode):
11209 * emulation/tpu-edt.el (tpu-edt-mode):
11210 * emulation/tpu-extras.el (tpu-cursor-free-mode):
11211 * international/iso-ascii.el (iso-ascii-mode):
11212 * language/thai-util.el (thai-word-mode):
11213 * mail/supercite.el (sc-minor-mode):
11214 * net/goto-addr.el (goto-address-mode):
11215 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
11216 * progmodes/cwarn.el (cwarn-mode):
11217 * progmodes/flymake.el (flymake-mode):
11218 * progmodes/glasses.el (glasses-mode):
11219 * progmodes/hideshow.el (hs-minor-mode):
11220 * progmodes/pascal.el (pascal-outline-mode):
11221 * textmodes/enriched.el (enriched-mode):
11222 * vc/smerge-mode.el (smerge-mode):
11223 Doc fixes (minor mode argument).
11224
11225 2012-02-07 Eli Zaretskii <eliz@gnu.org>
11226
11227 * ls-lisp.el (ls-lisp-sanitize): New function.
11228 (ls-lisp-insert-directory): Use it to fix or remove any elements
11229 in file-alist with missing attributes. (Bug#4673)
11230
11231 2012-02-07 Alan Mackenzie <acm@muc.de>
11232
11233 Fix spurious recognition of c-in-knr-argdecl.
11234
11235 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11236 putative K&R region.
11237
11238 2012-02-07 Alan Mackenzie <acm@muc.de>
11239
11240 * progmodes/cc-engine.el (c-forward-objc-directive):
11241 Prevent looping in "#pragma mark @implementation".
11242
11243 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
11244
11245 * notifications.el (notifications-on-closed-signal): Make `reason'
11246 optional. (Bug#10744)
11247
11248 2012-02-07 Glenn Morris <rgm@gnu.org>
11249
11250 * emacs-lisp/easy-mmode.el (define-minor-mode):
11251 Doc fixes for the macro and the mode it defines.
11252
11253 * image.el (imagemagick-types-inhibit): Doc fix.
11254
11255 * cus-start.el (imagemagick-render-type): Add it.
11256
11257 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
11258
11259 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11260 Set the default at load time, too, so that `font-lock-fontify-buffer'
11261 can be called without setting up the entire mode first. This fixes
11262 a bug in `mm-inline-text' with C MIME parts.
11263
11264 2012-02-06 Chong Yidong <cyd@gnu.org>
11265
11266 * simple.el (list-processes--refresh): Delete exited processes
11267 (Bug#8094).
11268
11269 * comint.el (comint-next-prompt): next-single-char-property-change
11270 and prev-single-char-property-change never return nil (Bug#8657).
11271
11272 * custom.el (defcustom): Doc fix (Bug#9711).
11273
11274 2012-02-05 Chong Yidong <cyd@gnu.org>
11275
11276 * cus-edit.el (custom-variable-reset-backup): Quote the value
11277 before storing it in the customized-value property (Bug#6712).
11278 (custom-display): Add a customization type tag.
11279 (custom-buffer-create-internal): Improve tooltip message.
11280
11281 * wid-edit.el (widget-field-value-get): New optional arg to
11282 suppress trailing whitespace truncation.
11283 (character): Use it (Bug#2689).
11284
11285 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
11286
11287 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
11288 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11289
11290 2012-02-05 Chong Yidong <cyd@gnu.org>
11291
11292 * cus-edit.el (custom-variable-value-create): For mismatched
11293 types, show the current value (Bug#7600).
11294
11295 * custom.el (defcustom): Doc fix.
11296
11297 2012-02-05 Glenn Morris <rgm@gnu.org>
11298
11299 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11300
11301 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
11302
11303 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11304 (pp-buffer): Use `ignore-errors', `looking-at-p'.
11305 (pp-last-sexp): Use `looking-at-p'.
11306
11307 2012-02-04 Glenn Morris <rgm@gnu.org>
11308
11309 * files.el (revert-buffer):
11310 Doc fix (mention revert-buffer-in-progress-p).
11311
11312 * emacs-lisp/ert-x.el (ert-simulate-command):
11313 Check deferred-action-list (which is obsolete) is bound.
11314
11315 * subr.el (with-wrapper-hook): Doc fixes.
11316
11317 * simple.el (filter-buffer-substring-functions)
11318 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11319
11320 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
11321
11322 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
11323 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
11324
11325 2012-02-04 Leo Liu <sdl.web@gmail.com>
11326
11327 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
11328
11329 2012-02-04 Glenn Morris <rgm@gnu.org>
11330
11331 * image.el (image-extension-data): Add obsolete alias.
11332
11333 * isearch.el (isearch-update): Doc fix.
11334
11335 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
11336
11337 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
11338
11339 2012-02-03 Glenn Morris <rgm@gnu.org>
11340
11341 * image.el (image-animated-p): Doc fix. Use image-animated-types.
11342 (image-animate-timeout): Doc fix.
11343
11344 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
11345
11346 2012-02-02 Glenn Morris <rgm@gnu.org>
11347
11348 * server.el (server-auth-dir): Doc fix.
11349 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
11350
11351 * subr.el (run-mode-hooks): Doc fix.
11352
11353 2012-02-02 Juri Linkov <juri@jurta.org>
11354
11355 * image-mode.el (image-toggle-display-image): Remove tautological
11356 `major-mode' from the `derived-mode-p' test.
11357
11358 2012-02-02 Kenichi Handa <handa@m17n.org>
11359
11360 * composite.el (compose-region): Cancel previous change.
11361
11362 2012-02-02 Kenichi Handa <handa@m17n.org>
11363
11364 * composite.el (compose-region, compose-string): Signal error for
11365 a null string component (Bug#6988).
11366
11367 2012-02-01 Chong Yidong <cyd@gnu.org>
11368
11369 * view.el (view-buffer-other-window, view-buffer-other-frame):
11370 Handle special modes like view-buffer (Bug#10650).
11371 (view-buffer): Simplify.
11372
11373 * frame.el (set-frame-font): Tweak meaning of third argument.
11374
11375 * dynamic-setting.el (font-setting-change-default-font):
11376 Use set-frame-font (Bug#9982).
11377
11378 2012-02-01 Glenn Morris <rgm@gnu.org>
11379
11380 * progmodes/compile.el (compilation-internal-error-properties):
11381 Respect compilation-first-column in the "*compilation*" buffer.
11382
11383 * emacs-lisp/easy-mmode.el (define-minor-mode):
11384 Relax :variable's test for a named function.
11385
11386 2012-01-31 Alan Mackenzie <acm@muc.de>
11387
11388 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11389 off by one error.
11390
11391 2012-01-31 Chong Yidong <cyd@gnu.org>
11392
11393 * frame.el (set-frame-font): New arg ALL-FRAMES.
11394
11395 * menu-bar.el (menu-set-font): Use set-frame-font.
11396
11397 * faces.el (face-spec-reset-face): Don't apply unspecified
11398 attribute values to the default face.
11399
11400 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
11401
11402 * progmodes/cwarn.el (cwarn): Remove dead link.
11403 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
11404 Remove * from defcustom docstrings.
11405 (turn-on-cwarn-mode): Make obsolete.
11406 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
11407 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
11408
11409 2012-01-31 Glenn Morris <rgm@gnu.org>
11410
11411 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
11412 Fix :variable handling of mode a symbol not equal to modefun.
11413 Allow named functions to be used as the cdr of :variable.
11414
11415 2012-01-30 Glenn Morris <rgm@gnu.org>
11416
11417 * emacs-lisp/authors.el (authors-fixed-entries):
11418 Remove reference to deleted file rnewspost.el.
11419
11420 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
11421
11422 * window.el (window-with-parameter): Remove unused variable `windows'.
11423 (window--side-check): Remove unused variable `code'.
11424 (window--resize-siblings): Remove unused variable `first'.
11425 (adjust-window-trailing-edge): Remove unused variable `failed'.
11426 (window-deletable-p, window--delete): Remove unused variable `buffer'.
11427 Use `let', not `let*'.
11428 (balance-windows-2): Remove unused variable `found'.
11429 (window--state-put-2): Remove unused variable `splits'.
11430 (window-state-put): Remove unused variable `selected'.
11431 (same-window-p): Use `string-match-p'.
11432 (display-buffer-assq-regexp): Remove unused variable `value'.
11433 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11434 Mark argument ALIST as ignored.
11435 (pop-to-buffer): Remove unused variable `old-window'.
11436
11437 2012-01-29 Eli Zaretskii <eliz@gnu.org>
11438
11439 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11440 and .lzma compressed files.
11441
11442 2012-01-29 Chong Yidong <cyd@gnu.org>
11443
11444 * frame.el (window-system-default-frame-alist): Doc fix.
11445
11446 * dynamic-setting.el (font-setting-change-default-font): Don't
11447 change the default face if SET-FONT argument is non-nil (Bug#9982).
11448
11449 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
11450
11451 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11452
11453 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
11454
11455 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11456 breakpoints in files outside current directory (Bug#6098).
11457
11458 2012-01-29 Chong Yidong <cyd@gnu.org>
11459
11460 * progmodes/python.el: Require ansi-color at top-level.
11461
11462 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11463 Define and use in Emacs Lisp mode (Bug#9360).
11464 (lisp-mode-abbrev-table): Add doc.
11465 (lisp-mode-variables): Don't set local-abbrev-table.
11466 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11467
11468 2012-01-28 Roland Winkler <winkler@gnu.org>
11469
11470 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11471
11472 2012-01-28 Roland Winkler <winkler@gnu.org>
11473
11474 * textmodes/bibtex.el (bibtex-entry-alist): New function.
11475 (bibtex-set-dialect): Use it. Either set global values of
11476 dialect-dependent variables or bind these variables buffer-locally
11477 (Bug#10254).
11478 (bibtex-mode): Call bibtex-set-dialect via
11479 hack-local-variables-hook.
11480 (bibtex-dialect): Update docstring.
11481 Add safe-local-variable predicate.
11482 (bibtex-entry-alist, bibtex-field-alist): Initialize via
11483 bibtex-set-dialect.
11484 (bibtex-mode-map): Define menu for each dialect.
11485 (bibtex-entry): Fix docstring.
11486
11487 2012-01-28 Chong Yidong <cyd@gnu.org>
11488
11489 * eshell/esh-arg.el (eshell-quote-argument): New function.
11490
11491 * eshell/esh-ext.el (eshell-invoke-batch-file):
11492 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11493 first arg to eshell-parse-command (Bug#10523).
11494
11495 2012-01-28 Drew Adams <drew.adams@oracle.com>
11496
11497 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
11498 `default-directory' is non-nil.
11499
11500 2012-01-28 Eli Zaretskii <eliz@gnu.org>
11501
11502 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
11503 line that displays system-configuration-options. (Bug#9924)
11504
11505 2012-01-28 Drew Adams <drew.adams@oracle.com>
11506
11507 * descr-text.el (describe-char): Show information about POS, in
11508 addition to information about the character at POS. Improve and
11509 update the doc string. Change "code point" to "code point in
11510 charset", to avoid confusion with the character's Unicode code
11511 point shown above that. (Bug#10129)
11512
11513 2012-01-28 Eli Zaretskii <eliz@gnu.org>
11514
11515 * descr-text.el (describe-char): Show the raw character, not only
11516 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
11517 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
11518 for the reasons.
11519
11520 2012-01-28 Phil Hagelberg <phil@hagelb.org>
11521
11522 * emacs-lisp/package.el (package-install):
11523 Run package-refresh-contents if there is no archive yet (Bug#9798).
11524
11525 2012-01-28 Chong Yidong <cyd@gnu.org>
11526
11527 * emacs-lisp/package.el (package-maybe-load-descriptor):
11528 New function, split from package-maybe-load-descriptor.
11529 (package-maybe-load-descriptor): Use it.
11530 (package-download-transaction): Fully load required packages
11531 inside the loop, so that `require' calls work (Bug#10593).
11532 (package-install): No need to call package-initialize now.
11533
11534 2012-01-28 Chong Yidong <cyd@gnu.org>
11535
11536 * simple.el (deactivate-mark): Doc fix (Bug#8614).
11537
11538 * tooltip.el (tooltip-mode): Doc fix.
11539 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11540
11541 * frame.el (set-cursor-color): Doc fix (Bug#352).
11542
11543 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
11544 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
11545
11546 * cus-edit.el (custom-buffer-create-internal): Fix search button
11547 action (Bug#10542).
11548 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
11549
11550 2012-01-27 Eduard Wiebe <usenet@pusto.de>
11551
11552 * dired.el (dired-mark-files-regexp):
11553 Include any subdirectory components. (Bug#10445)
11554
11555 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
11556
11557 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
11558 Handle [host]:port syntax. (Bug#10533)
11559
11560 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
11561
11562 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
11563
11564 2012-01-26 Glenn Morris <rgm@gnu.org>
11565
11566 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
11567 * term.el (term-raw-escape-map): Use Control-X-prefix.
11568 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
11569
11570 2012-01-25 Martin Rudalics <rudalics@gmx.at>
11571
11572 * window.el (window-state-get, window--state-get-1): Don't deal
11573 with fixed-sizeness of windows. Simplify code.
11574
11575 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
11576
11577 * window.el (window--state-get-1, window--state-put-2):
11578 Don't save and restore the mark.
11579
11580 2012-01-25 Chong Yidong <cyd@gnu.org>
11581
11582 * custom.el (custom-variable-p): Doc fix.
11583
11584 2012-01-25 Glenn Morris <rgm@gnu.org>
11585
11586 * dired.el (dired-goto-file): Handle some of the more common
11587 characters that `ls -b' escapes. (Bug#10596)
11588
11589 * progmodes/compile.el (compilation-next-error-function):
11590 Respect compilation-first-column in the "*compilation*" buffer.
11591 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
11592
11593 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
11594
11595 2012-01-24 Glenn Morris <rgm@gnu.org>
11596
11597 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
11598
11599 2012-01-24 Julien Danjou <julien@danjou.info>
11600
11601 * color.el (color-rgb-to-hsl): Fix value computing.
11602 (color-hue-to-rgb): New function.
11603 (color-hsl-to-rgb): New function.
11604 (color-clamp, color-saturate-hsl, color-saturate-name)
11605 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
11606 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
11607
11608 2012-01-24 Glenn Morris <rgm@gnu.org>
11609
11610 * vc/vc-rcs.el (vc-rcs-create-tag):
11611 * vc/vc-sccs.el (vc-sccs-create-tag):
11612 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
11613
11614 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
11615
11616 * eshell/esh-util.el (eshell-read-hosts-file):
11617 Skip comment lines. (Bug#10549)
11618
11619 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
11620
11621 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
11622
11623 * subr.el (display-delayed-warnings): Doc fix.
11624 (collapse-delayed-warnings): New function to collapse identical
11625 adjacent warnings.
11626 (delayed-warnings-hook): Add it.
11627
11628 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
11629
11630 * net/tramp.el (tramp-action-login): Set connection property "login-as".
11631
11632 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
11633 (tramp-default-user-alist): Don't add "pscp".
11634 (tramp-do-copy-or-rename-file-out-of-band): Use connection
11635 property "login-as", if set. (Bug#10530)
11636
11637 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
11638
11639 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
11640 "plink1" and "psftp". (Bug#10530)
11641
11642 2012-01-21 Kenichi Handa <handa@m17n.org>
11643
11644 * international/mule-cmds.el (prefer-coding-system): Show a
11645 warning message if the default value of file-name-coding-system
11646 was not changed.
11647
11648 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11649
11650 * windmove.el (windmove-reference-loc):
11651 Fix windmove-reference-loc miscalculation.
11652
11653 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
11654
11655 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
11656 default unit.
11657
11658 2012-01-21 Glenn Morris <rgm@gnu.org>
11659
11660 * international/mule.el (auto-coding-alist): Add .tbz.
11661
11662 * files.el (local-enable-local-variables): Doc fix.
11663 (inhibit-local-variables-regexps): Rename from
11664 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
11665 Doc fix. Add some extensions from auto-coding-alist.
11666 (inhibit-local-variables-suffixes):
11667 Rename from inhibit-first-line-modes-suffixes. Doc fix.
11668 (inhibit-local-variables-p):
11669 New function, extracted from set-auto-mode-1.
11670 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
11671 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
11672 (hack-local-variables): Doc fix. Make the mode-only case
11673 respect enable-local-variables and friends.
11674 Respect inhibit-local-variables-regexps for file-locals, but
11675 not for directory-locals.
11676 (set-visited-file-name):
11677 Take account of inhibit-local-variables-regexps.
11678 Whether it applies may change as the file name is changed.
11679 * jka-cmpr-hook.el (jka-compr-install):
11680 * jka-compr.el (jka-compr-uninstall):
11681 Update for inhibit-first-line-modes-suffixes name change.
11682
11683 2012-01-20 Martin Rudalics <rudalics@gmx.at>
11684
11685 * help-macro.el (make-help-screen): Temporarily restore original
11686 binding for minor-mode-map-alist (Bug#10454).
11687
11688 2012-01-19 Julien Danjou <julien@danjou.info>
11689
11690 * color.el (color-name-to-rgb): Use the white color to find the max
11691 color component value and return correctly computed values.
11692 (color-name-to-rgb): Add missing float conversion for max value.
11693
11694 2012-01-19 Martin Rudalics <rudalics@gmx.at>
11695
11696 * window.el (window--state-get-1, window-state-get): Do not use
11697 special state value for window-persistent-parameters.
11698 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
11699 (window--state-put-2): Reset all window parameters to nil before
11700 assigning values of persistent parameters.
11701
11702 2012-01-18 Alan Mackenzie <acm@muc.de>
11703
11704 Eliminate sluggishness and hangs in fontification of "semicolon
11705 deserts".
11706
11707 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
11708 Change value 10000 -> 3000.
11709 (c-state-safe-place): Reformulate so it doesn't stack up an
11710 infinite number of wrong entries in c-state-nonlit-pos-cache.
11711 (c-determine-limit-get-base, c-determine-limit): New functions to
11712 determine backward search limits disregarding literals.
11713 (c-find-decl-spots): Amend commenting.
11714 (c-cheap-inside-bracelist-p): New function which detects "={".
11715
11716 * progmodes/cc-fonts.el
11717 (c-make-font-lock-BO-decl-search-function): Give a limit to a
11718 backward search.
11719 (c-font-lock-declarations): Fix an occurrence of point being
11720 undefined. Check additionally for point being in a bracelist or
11721 near a macro invocation without a semicolon so as to avoid a
11722 fruitless time consuming search for a declarator. Give a more
11723 precise search limit for declarators using the new
11724 c-determine-limit.
11725
11726 2012-01-18 Glenn Morris <rgm@gnu.org>
11727
11728 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
11729 (set-auto-mode): Doc fixes.
11730
11731 2012-01-17 Glenn Morris <rgm@gnu.org>
11732
11733 * isearch.el (search-nonincremental-instead): Fix doc typo.
11734
11735 * dired.el (dired-insert-directory): Handle newlines in directory name.
11736 (dired-build-subdir-alist): Unescape newlines in directory name.
11737
11738 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
11739
11740 * net/tramp.el (tramp-local-end-of-line): New defcustom.
11741 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11742 (tramp-action-terminal): Use it. (Bug#10530)
11743
11744 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11745
11746 * minibuffer.el (completion--replace): Strip properties (bug#10062).
11747
11748 2012-01-16 Martin Rudalics <rudalics@gmx.at>
11749
11750 * window.el (window-state-ignored-parameters): Remove variable.
11751 (window--state-get-1): Rename argument MARKERS to IGNORE.
11752 Handle persistent window parameters. Make copy of clone-of
11753 parameter only if requested. (Bug#10348)
11754 (window--state-put-2): Install a window parameter only if it has
11755 a non-nil value or an existing parameter shall be overwritten.
11756
11757 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
11758
11759 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11760
11761 2012-01-14 Eli Zaretskii <eliz@gnu.org>
11762
11763 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11764 don't pass the (nil) value of `upnode' to string-match.
11765
11766 2012-01-14 Chong Yidong <cyd@gnu.org>
11767
11768 * startup.el (command-line): Fix X resource class for cursorColor.
11769 Fix values recognized by the cursorBlink resource.
11770
11771 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
11772
11773 * epg.el (epg--make-temp-file): Avoid permission race condition
11774 when running on old Emacs versions (bug#10403).
11775
11776 2012-01-14 Glenn Morris <rgm@gnu.org>
11777
11778 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11779
11780 2012-01-13 Alan Mackenzie <acm@muc.de>
11781
11782 Fix filling for when filladapt mode is enabled.
11783
11784 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11785 c-mask-paragraph, pass in `fill-paragraph' rather than
11786 `fill-region-as-paragraph'. (This is a reversion of a previous
11787 change.)
11788 * progmodes/cc-mode.el (c-basic-common-init):
11789 Make fill-paragraph-handle-comment buffer local and set it to nil.
11790
11791 2012-01-13 Glenn Morris <rgm@gnu.org>
11792
11793 * dired.el (dired-switches-escape-p): New function.
11794 (dired-insert-directory): Use dired-switches-escape-p.
11795 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
11796
11797 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
11798
11799 2012-01-12 Glenn Morris <rgm@gnu.org>
11800
11801 * mail/sendmail.el (mail-mode): Update paragraph-separate for
11802 changes in adaptive-fill-regexp. (Bug#10276)
11803
11804 2012-01-11 Alan Mackenzie <acm@muc.de>
11805
11806 Fix Emacs bug #10463 - put `widen's around the critical spots.
11807
11808 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
11809 widen around each invocation of c-state-pp-to-literal. Remove an
11810 unused let variable.
11811
11812 2012-01-11 Glenn Morris <rgm@gnu.org>
11813
11814 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
11815 Doc fix.
11816
11817 2012-01-10 Chong Yidong <cyd@gnu.org>
11818
11819 * net/network-stream.el (network-stream-open-starttls):
11820 Avoid emitting a confusing error message when the server gives a bad
11821 response to the capability command.
11822
11823 2012-01-10 Glenn Morris <rgm@gnu.org>
11824
11825 * mail/unrmail.el (unrmail): Tweak previous change.
11826
11827 2012-01-09 Chong Yidong <cyd@gnu.org>
11828
11829 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11830
11831 2012-01-08 Alan Mackenzie <acm@muc.de>
11832
11833 Optimise font locking in long enum definitions.
11834
11835 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11836 arm to a cond form to handle enums.
11837 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11838 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11839
11840 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
11841
11842 * files.el (move-file-to-trash): Preserve default file modes on error.
11843 (Bug#10401)
11844
11845 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11846
11847 * faces.el (set-face-attribute): Clarify the meaning of the nil
11848 frame (bug#10294).
11849
11850 * subr.el (with-selected-frame): Mention that the selected frame
11851 is restored (bug#9980).
11852
11853 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11854 (bug#9759).
11855
11856 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
11857 (password-read): Don't autoload unused function.
11858
11859 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
11860
11861 * progmodes/which-func.el (which-func-mode): Turn into a
11862 non-interactive function and mark as obsolete (bug#10428).
11863
11864 2012-01-06 Chong Yidong <cyd@gnu.org>
11865
11866 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11867 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11868 functions, along with 1 and -1.
11869
11870 2012-01-06 Eli Zaretskii <eliz@gnu.org>
11871
11872 * time.el (display-time-load-average)
11873 (display-time-default-load-average): Doc fixes. See the thread
11874 starting at
11875 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11876 for the details.
11877
11878 2012-01-06 Glenn Morris <rgm@gnu.org>
11879
11880 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11881 has no messages. (Bug#10377)
11882
11883 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11884 than Info-edit. (Bug#10385)
11885
11886 * time.el (display-time-load-average, display-time-next-load-average):
11887 Doc fixes.
11888
11889 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11890 local setting of buffer-read-only to the input buffer. (Bug#10419)
11891
11892 * calendar/calendar.el (calendar-mode):
11893 Locally set scroll-margin to 0. (Bug#10379)
11894
11895 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
11896
11897 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11898
11899 2012-01-05 Glenn Morris <rgm@gnu.org>
11900
11901 * eshell/em-unix.el (diff-no-select): Autoload it.
11902 (eshell/diff): Use diff-no-select. (Bug#10420)
11903
11904 2012-01-05 Chong Yidong <cyd@gnu.org>
11905
11906 * shell.el (shell-dynamic-complete-functions): Revert last change.
11907 (shell-command-completion-function): New function.
11908 (shell-completion-vars): Use it to implement
11909 shell-completion-execonly (Bug#10417).
11910
11911 * custom.el (enable-theme): Don't set custom-safe-themes.
11912
11913 * cus-theme.el (custom-theme-merge-theme):
11914 Ignore custom-enabled-themes and custom-safe-themes.
11915
11916 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11917
11918 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11919 first prompt in `sql-interacive-mode'.
11920 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
11921 keywords.
11922 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
11923 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11924 context of original buffer. Invoke `sql-login-hook'.
11925
11926 2012-01-04 Eli Zaretskii <eliz@gnu.org>
11927
11928 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11929 letters in cite-prefix.
11930
11931 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11932
11933 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11934
11935 2012-01-03 Chong Yidong <cyd@gnu.org>
11936
11937 * shell.el (shell-dynamic-complete-functions):
11938 Put pcomplete-completions-at-point, so as to try
11939 comint-filename-completion first (Bug#10417).
11940
11941 2012-01-02 Richard Stallman <rms@gnu.org>
11942
11943 * battery.el (battery-status-function):
11944 Detect when to use battery-yeeloong-sysfs.
11945 (battery-echo-area-format): Add string for Yeeloong.
11946 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11947 (battery-yeeloong-sysfs): New function.
11948
11949 2012-01-02 Chong Yidong <cyd@gnu.org>
11950
11951 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11952 (dirtrack): Merge code for handling relative filenames in prompt
11953 from shell-dir-cookie-watcher.
11954 (dirtrack-debug-message): New arg to avoid excess format calls.
11955
11956 * shell.el (shell-dir-cookie-re): Variable deleted.
11957 (shell-dir-cookie-watcher): Function deleted.
11958 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11959 with dirtrack-mode.
11960
11961 2012-01-01 Eli Zaretskii <eliz@gnu.org>
11962
11963 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11964 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
11965 libgnutls-26.dll.
11966
11967 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11968
11969 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11970
11971 2011-12-31 Eli Zaretskii <eliz@gnu.org>
11972
11973 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11974 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11975
11976 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
11977
11978 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11979 also for alternative shells.
11980 (tramp-open-connection-setup-interactive-shell): Check, whether
11981 the shell is a busybox.
11982 (tramp-send-command): Don't suppress multiple prompts for
11983 busyboxes, it hurts.
11984
11985 2011-12-28 Chong Yidong <cyd@gnu.org>
11986
11987 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11988 (gdb-get-source-file): Move mode line update to
11989 gdb-get-source-file (Bug#10087).
11990
11991 2011-12-25 Chong Yidong <cyd@gnu.org>
11992
11993 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11994 gud-gdb-marker-filter without taking it as an argument.
11995 (gud-gdb-run-command-fetch-lines): Caller changed.
11996 (gud-gdb-completion-function): New variable.
11997 (gud-gdb-completion-at-point): Use it.
11998 (gud-gdb-completions-1): Split from gud-gdb-completions.
11999
12000 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
12001 function as separate arguments.
12002 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
12003 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
12004 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
12005 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
12006 (gdb-stopped, def-gdb-auto-update-trigger)
12007 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
12008 (gdb-get-changed-registers, gdb-get-main-selected-frame):
12009 Callers changed.
12010 (gud-gdbmi-completions): New function.
12011 (gdb): Use it for generating the completion table.
12012
12013 2011-12-24 Alan Mackenzie <acm@muc.de>
12014
12015 Introduce a mechanism to widen the region used in context font
12016 locking. Use this to protect declarations from losing their contexts.
12017
12018 * progmodes/cc-langs.el (c-before-font-lock-functions):
12019 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
12020 (c-before-context-fontification-functions): New defvar, a list of
12021 functions to be run just before context (etc.) font locking.
12022
12023 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
12024 New, functionality extracted from
12025 c-neutralize-syntax-in-and-mark-CPP.
12026 (c-in-after-change-fontification): New variable.
12027 (c-after-change): Set c-in-after-change-fontification.
12028 (c-set-fl-decl-start): Rejig its interface, so it can be called
12029 from both after-change and context fontifying.
12030 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
12031 New functions.
12032 (c-standard-font-lock-fontify-region-function): New variable.
12033 (c-font-lock-fontify-region): New function.
12034
12035 2011-12-24 Juri Linkov <juri@jurta.org>
12036
12037 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
12038 (Bug#10348)
12039
12040 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
12041
12042 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
12043 existence of source file. (Bug#10325)
12044
12045 2011-12-23 Alan Mackenzie <acm@muc.de>
12046
12047 Fix unstable fontification inside templates.
12048
12049 * progmodes/cc-langs.el (c-before-font-lock-functions):
12050 Newly created from the singular version. The (c c++ objc) entry now
12051 additionally has c-set-fl-decl-start. The other languages (apart
12052 from AWK) have that as a single entry.
12053
12054 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12055 The functionality for "local" declarations has been extracted to
12056 c-set-fl-decl-start.
12057
12058 * progmodes/cc-mode.el (c-common-init, c-after-change):
12059 Changes due to pluralisation of c-before-font-lock-functions.
12060 (c-set-fl-decl-start): New function, extracted from
12061 c-font-lock-enclosing-decls and enhanced.
12062
12063 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
12064
12065 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
12066
12067 2011-12-22 Juri Linkov <juri@jurta.org>
12068
12069 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
12070
12071 2011-12-22 Chong Yidong <cyd@gnu.org>
12072
12073 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
12074
12075 2011-12-21 Drew Adams <drew.adams@oracle.com>
12076
12077 * files.el (file-remote-p): Fix docstring. (Bug#10319)
12078
12079 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12080
12081 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
12082
12083 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
12084
12085 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
12086 highlighting and support. Fix up comments for capitalization.
12087 (cfengine-mode-debug): New var.
12088 (cfengine3-mode): Change the modeline indicator to "CFE3".
12089 (cfengine3-font-lock-keywords): Improve defun highlighting.
12090 (cfengine2-actions): Rename from `cfengine-actions'.
12091 (cfengine2-font-lock-keywords): Rename from
12092 `cfengine-font-lock-keywords'.
12093 (cfengine2-imenu-expression): Rename from
12094 `cfengine-imenu-expression'.
12095 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
12096 (cfengine2-beginning-of-defun): Rename from
12097 `cfengine-beginning-of-defun'.
12098 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
12099 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
12100 (cfengine2-mode): Rename from `cfengine-mode'. Change the
12101 modeline indicator to "CFE2".
12102 (cfengine-mode): Defalias to `cfengine-auto-mode'.
12103 (cfengine-mode-abbrevs): Mark obsolete.
12104
12105 2011-12-21 Chong Yidong <cyd@gnu.org>
12106
12107 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
12108 filename argument.
12109
12110 2011-12-20 Martin Rudalics <rudalics@gmx.at>
12111
12112 * window.el (window-normalize-buffer-to-display): Remove.
12113 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
12114
12115 2011-12-19 Chong Yidong <cyd@gnu.org>
12116
12117 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
12118 Don't signal an error in a predicate function; return non-nil.
12119 (vc-dir-mark-file): Move the error here.
12120 (vc-dir-mark-unmark): If acting on the region, keep going if one
12121 of the entries cannot be marked/unmarked.
12122 (vc-dir-mark-all-files): If current entry is a directory, mark
12123 only child files, as documented.
12124
12125 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
12126
12127 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
12128 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
12129 addition.
12130
12131 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
12132
12133 * term/ns-win.el (ns-get-selection-internal)
12134 (ns-store-selection-internal): Declare.
12135 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
12136 Declare as obsolete.
12137 (ns-get-pasteboard, ns-paste-secondary):
12138 Use ns-get-selection-internal.
12139 (ns-set-pasteboard, ns-copy-including-secondary):
12140 Use ns-store-selection-internal.
12141
12142 2011-12-17 Chong Yidong <cyd@gnu.org>
12143
12144 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
12145 (vc-deduce-fileset): Doc fix.
12146
12147 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
12148
12149 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
12150
12151 2011-12-13 Sam Steingold <sds@gnu.org>
12152
12153 * man.el (Man-getpage-in-background): When running under a
12154 window-system, ignore $MANWIDTH and $COLUMNS.
12155
12156 2011-12-15 Kenichi Handa <handa@m17n.org>
12157
12158 * language/ethio-util.el: Change coding tag to utf-8-emacs.
12159 (setup-ethiopic-environment-internal): Comment out key-binding for
12160 ethio-toggle-punctuation.
12161
12162 2011-12-13 Alan Mackenzie <acm@muc.de>
12163
12164 Add the switch statement to AWK Mode.
12165
12166 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
12167 "default" to the keywords regexp.
12168
12169 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
12170 expression as the rest.
12171 (c-nonlabel-token-key): Allow string literals for AWK.
12172 Refactor for the other modes.
12173
12174 Large brace-block initialisation makes CC Mode slow: Fix.
12175 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
12176 routines. Limit backward searching in c-font-lock-enclosing.decl.
12177
12178 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
12179 pp-state and literal type in addition to the limits.
12180 (c-state-safe-place): New defun, extracted from c-state-literal-at.
12181 (c-state-literal-at): Use the above new defun.
12182 (c-slow-in-literal, c-fast-in-literal): Remove.
12183 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
12184
12185 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
12186 being in a literal. Add a limit for backward searching.
12187
12188 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
12189 c-slow-in-literal.
12190
12191 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
12192
12193 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
12194
12195 2011-12-13 Martin Rudalics <rudalics@gmx.at>
12196
12197 * window.el (delete-other-windows): Use correct frame in call to
12198 window-with-parameter.
12199
12200 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
12201
12202 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
12203 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
12204 (makefile-gmake-statements, makefile-makepp-statements):
12205 Use it and add new makepp keywords.
12206 (makefile-makepp-font-lock-keywords): Add new patterns.
12207 (makefile-match-function-end): Match new [...] and [[...]].
12208
12209 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
12210
12211 * ses.el (ses-call-printer-return, ses-cell-property-get)
12212 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
12213 (ses-create-cell-variable, ses-reset-header-string)
12214 (ses-cell-set-formula, ses-repair-cell-reference-all)
12215 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
12216 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
12217 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
12218 (ses-aset-with-undo, ses-load, ses-truncate-cell)
12219 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
12220 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
12221 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12222 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12223 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12224 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12225 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12226 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12227
12228 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
12229
12230 * ses.el: The overall change is to add cell renaming, that is
12231 setting fancy names for cell symbols other than name matching
12232 "\\`[A-Z]+[0-9]+\\'" regexp .
12233 (ses-create-cell-variable): New defun.
12234 (ses-relocate-formula): Relocate formulas only for cells the
12235 symbols of which are not renamed, i.e. symbols whose names do not
12236 match regexp "\\`[A-Z]+[0-9]+\\'".
12237 (ses-relocate-all): Relocate values only for cells the symbols of
12238 which are not renamed.
12239 (ses-load): Create cells variables as the (ses-cell ...) are read,
12240 in order to check row col consistency with cell symbol name only
12241 for cells that are not renamed.
12242 (ses-replace-name-in-formula): New defun.
12243 (ses-rename-cell): New defun.
12244
12245 2011-12-11 Chong Yidong <cyd@gnu.org>
12246
12247 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12248 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12249
12250 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
12251
12252 * window.el (other-window): Fix docstring.
12253
12254 2011-12-10 Eli Zaretskii <eliz@gnu.org>
12255
12256 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
12257 `from' or `to' address before taking its substring.
12258 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
12259 encoded name is chopped in the middle of the encoded string, and
12260 thus displayed encoded.
12261
12262 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
12263
12264 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12265
12266 2011-12-10 Eli Zaretskii <eliz@gnu.org>
12267
12268 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
12269 to use texinfo-update-node and commands that call it if the
12270 Texinfo file uses @node lines without next/prev/up pointers.
12271 Correct outdated description about texinfo-master-menu.
12272 (texinfo-all-menus-update, texinfo-master-menu)
12273 (texinfo-update-node, texinfo-every-node-update)
12274 (texinfo-multiple-files-update): Doc fix. Warn against updating
12275 all the @node lines.
12276 (texinfo-master-menu): Only call texinfo-update-node if the prefix
12277 argument is numeric. Explain better in the doc string what the
12278 function really does.
12279 (texinfo-insert-master-menu-list): Improve the error message
12280 displayed if there's no menu in the Top node.
12281 (Bug#2975) See also this thread:
12282 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
12283
12284 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
12285
12286 * speedbar.el (speedbar-supported-extension-expressions):
12287 Add .adb and .ads, commonly used for Ada source code (bug#10256).
12288
12289 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
12290
12291 * printing.el (pr-mode-alist):
12292 * simple.el (filter-buffer-substring-functions)
12293 (completion-list-insert-choice-function):
12294 * window.el (window-with-parameter, window-atom-root)
12295 (window-sides-slots, window-size-fixed, window-min-delta)
12296 (window-max-delta, window--resize-mini-window)
12297 (window--resize-child-windows-normal, window-tree)
12298 (delete-other-windows, quit-window, split-window)
12299 (display-buffer-record-window, special-display-buffer-names)
12300 (special-display-regexps, special-display-popup-frame)
12301 (same-window-p, split-window-sensibly)
12302 (display-buffer-overriding-action, display-buffer-alist)
12303 (display-buffer-base-action, display-buffer, switch-to-buffer)
12304 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12305 (fit-window-to-buffer, recenter-positions)
12306 (mouse-autoselect-window-state, mouse-autoselect-window-select):
12307 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12308 and remove unneeded backslashes in docstrings.
12309
12310 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12311
12312 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12313
12314 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12315 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12316 end in ".mk".
12317 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12318 when reading the makefile (bug#10116).
12319
12320 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12321
12322 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
12323 (bug#10116).
12324
12325 2011-12-06 Glenn Morris <rgm@gnu.org>
12326
12327 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
12328
12329 2011-12-06 Chong Yidong <cyd@gnu.org>
12330
12331 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
12332
12333 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
12334
12335 * textmodes/table.el (table-shorten-cell): Fix typo.
12336
12337 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
12338
12339 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
12340
12341 2011-12-05 Eli Zaretskii <eliz@gnu.org>
12342
12343 * descr-text.el (describe-char): Fix display of strong
12344 right-to-left characters and directional embeddings and overrides.
12345
12346 * simple.el (what-cursor-position): Fix display of codepoints of
12347 strong right-to-left characters.
12348
12349 2011-12-05 Chong Yidong <cyd@gnu.org>
12350
12351 * faces.el (read-color): Doc fix.
12352
12353 2011-12-05 Glenn Morris <rgm@gnu.org>
12354
12355 * align.el (align--set-marker): Add doc-string.
12356 Don't try to move something that is not a marker. (Bug#10216)
12357
12358 2011-12-04 Glenn Morris <rgm@gnu.org>
12359
12360 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12361 overly zealous deletion of trailing whitespace.
12362
12363 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
12364
12365 * server.el (server-delete-client): On Windows, do not try to delete
12366 the only terminal.
12367 (server-process-filter): On Windows, treat requests for a tty frame as
12368 if they were for a GUI frame if the running server is in GUI mode.
12369
12370 2011-12-03 Glenn Morris <rgm@gnu.org>
12371
12372 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
12373
12374 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12375
12376 * electric.el: Streamline electric-indent's hook.
12377 (electric-indent-chars): Revert to simple list.
12378 (electric-indent-functions): New var.
12379 (electric-indent-post-self-insert-function): Use it.
12380
12381 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12382 there's no inferior buffer (bug#10196).
12383 (prolog-consult-compile): Don't use toggle-read-only.
12384
12385 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
12386
12387 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12388 interrupt. (Bug#10187)
12389
12390 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12391
12392 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
12393 (bug#9160).
12394
12395 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
12396 (bug#10191).
12397
12398 2011-12-02 Juri Linkov <juri@jurta.org>
12399
12400 * info.el (Info-search): Display "end of manual" when Isearch
12401 reaches the end of single-file Info manual. (Bug#9918)
12402
12403 2011-12-02 Eli Zaretskii <eliz@gnu.org>
12404
12405 * isearch.el (isearch-message-prefix): Run the input method part
12406 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
12407
12408 2011-12-02 Juri Linkov <juri@jurta.org>
12409
12410 * isearch.el (isearch-occur): Use `word-search-regexp' for
12411 `isearch-word'.
12412 (isearch-search-and-update): Add condition for `isearch-word' and
12413 call `word-search-regexp'. (Bug#10145)
12414
12415 2011-12-01 Glenn Morris <rgm@gnu.org>
12416
12417 * eshell/em-hist.el (eshell-hist-initialize):
12418 Handle eshell-history-size nil and HISTSIZE set or unset.
12419 (eshell-history-file-name, eshell-history-size): Fix custom type.
12420
12421 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12422
12423 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
12424
12425 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
12426
12427 * progmodes/verilog-mode.el (verilog-pretty-expr):
12428 Rework verilog-pretty-expr to handle new assignment operators in system
12429 verilog, such as += *= and the like.
12430 (verilog-assignment-operator-re): Regular expression to find the
12431 assigment operator in a verilog assignment.
12432 (verilog-assignment-operation-re): Regular expression to find an
12433 assignment statement for pretty-expr.
12434 (verilog-in-attribute-p): Query returns true if point is in an
12435 attribute context; used to skip these for expression line up from
12436 pretty-expr.
12437 (verilog-in-parameter-p): Query returns true if point is in an
12438 parameter definition context; used to skip these for expression
12439 line up from pretty-expr.
12440 (verilog-in-parenthesis-p): Query returns true if point is in a
12441 parenthetical expression, specifically ( ) but not [ ] or { };
12442 used by pretty-expr.
12443 (verilog-just-one-space): If there is no space, don't add one.
12444 (verilog-get-lineup-indent-2): Specifically skip just attribute
12445 contexts for expression lineup, rather than skipping all
12446 parenthetical expressions.
12447 (verilog-calculate-indent): Fix comment, and fix indent.
12448 (verilog-do-indent): Indent declarations in lists (suggested by
12449 Joachim Lechner).
12450 (verilog-mode-abbrev-table): Populate abbrev mode with the various
12451 skeleton items.
12452 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12453 by Alain Mellan).
12454
12455 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
12456
12457 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12458 parameters with embedded comments. Reported by Ray Stevens.
12459 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12460 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12461 Reported by Tim Holt.
12462 (verilog-auto): Fix AUTOing a upper module then AUTOing module
12463 instantiated by upper module causing wrong expansion until AUTOed a
12464 second time. Reported by K C Buckenmaier.
12465 (verilog-diff-auto): Fix showing .* as a difference when
12466 `verilog-auto-star-save' off. Reported by Dan Dever.
12467 (verilog-auto-reset, verilog-read-always-signals)
12468 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12469 temporary signals in reset list if
12470 verilog-auto-reset-blocking-in-non is nil, and match assignment
12471 style to each signal's assignment type, bug381.
12472 Reported by Thomas Esposito.
12473 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12474 (verilog-uvm-statement-re): Support UVM indentation and
12475 highlighting, with old OVM keywords only.
12476 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
12477 Support AUTOTIEOFF creating non-wire data types.
12478 Suggested by Jonathan Greenlaw.
12479 (verilog-auto-insert-lisp, verilog-delete-to-paren)
12480 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12481 (verilog-inject-sense, verilog-read-inst-pins)
12482 (verilog-read-sub-decls, verilog-read-sub-decls-line):
12483 Fix mismatching parenthesis inside commented out code when deleting
12484 AUTOINST, bug383. Reported by Jonathan Greenlaw.
12485 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12486 non-numeric vector width. Reported by Alex Reed.
12487 (verilog-auto-ascii-enum): Add "onehot" option to work around not
12488 detecting signals with parameter widths. Reported by Alex Reed.
12489 (verilog-auto-delete-trailing-whitespace):
12490 With `verilog-auto-delete-trailing-whitespace' remove trailing
12491 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
12492 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12493 Fix verilog-scan-cache corruption when running user AUTO expansion
12494 hooks that call indentation routines.
12495 (verilog-simplify-range-expression): Fix typo ignoring lower case
12496 identifiers.
12497 (verilog-delete-auto): Fix delete-autos to also remove user created
12498 automatics, as long as they start with AUTO.
12499 (verilog-batch-diff-auto, verilog-diff-auto)
12500 (verilog-diff-function): Add `verilog-diff-auto' and bind to
12501 "C-c?" to report differences in AUTO expansion, ignoring spaces.
12502 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
12503 (verilog-in-paren-quick, verilog-re-search-backward-quick)
12504 (verilog-re-search-forward-quick, verilog-syntax-ppss):
12505 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
12506 is disabled and its cache will get corrupt, causing AUTOS not to
12507 expand. Instead use only -quick functions.
12508 (verilog-scan-region): Fix scanning over escaped quotes.
12509 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12510 (verilog-re-search-backward-quick)
12511 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12512 related functions now ignore strings, to fix misparsing of strings
12513 with magic comments embedded in them.
12514 (verilog-read-auto-template):
12515 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
12516 Reported by Brad Dobbie.
12517 (verilog-read-auto-template):
12518 Fix 'verilog-auto-inst-template-numbers' with comments.
12519 Reported by Brad Dobbie.
12520 (verilog-auto-inst, verilog-auto-inst-param)
12521 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
12522 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
12523 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
12524 debugging templates without merge conflicts, bug357.
12525 Reported by Brad Dobbie.
12526 (verilog-read-auto-template):
12527 Fix verilog-auto-inst-template-numbers with multiple templates.
12528 Reported by Brad Dobbie.
12529 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
12530 abbrevs so user won't be asked to save.
12531 (verilog-read-auto-lisp-present): Fix to start at beginning of
12532 buffer in case called outside of verilog-auto.
12533 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
12534 to "X-2". Reported by Matthew Myers.
12535 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
12536 all inputs from module templates. Reported by Leith Johnson.
12537 (verilog-module-inside-filename-p): Fix locating programs as with
12538 modules.
12539 (verilog-auto-inst-port): Fix vl-width expressions when using
12540 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
12541 (verilog-decls-get-regs, verilog-decls-get-signals,
12542 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
12543 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
12544 verilog-read-decls): Combine reg and wire structures into one var
12545 structure to represent SystemVerilog concepts.
12546 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
12547 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
12548 (verilog-auto-wire-type, verilog-insert-definition):
12549 Add verilog-auto-wire-type and AUTOLOGIC to support using
12550 SystemVerilog "logic" keyword instead of "wire"/"reg".
12551 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12552 to declares outputs that also have assignments (presumably in an
12553 ifdef or generate if so there's not a driver conflict).
12554 Reported by Matthew Myers.
12555 (verilog-auto-declare-nettype, verilog-insert-definition):
12556 Add verilog-auto-declare-nettype to fix declarations using
12557 `default_nettype none. Reported by Julian Gorfajn.
12558 (verilog-read-always-signals-recurse, verilog-read-decls)
12559 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
12560 malformed end statement, bug325. Reported by Joshua Wise and
12561 Andrew Drake.
12562 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
12563 (verilog-inst-comment-re): Fix not deleting Interfaced comment
12564 when expanding .* in interfaces, bug320.
12565 Reported by Pierre-David Pfister.
12566 (verilog-read-module-name): Fix import statements between module
12567 name and open parenthesis, bug317.
12568 Reported by Pierre-David Pfister.
12569 (verilog-simplify-range-expression): Fix simplification of
12570 multiplications inside AUTOWIRE connections, bug303.
12571 (verilog-auto-inst-port): Support parameter expansion in
12572 multidimensional arrays.
12573 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
12574 after "assert property". Reported by Julian Gorfajn.
12575 (verilog-simplify-range-expression): Fix "couldn't merge" errors
12576 with multiplication, bug303.
12577 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
12578 Reported by Jan Frode Lonnum.
12579
12580 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
12581
12582 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
12583 (hfy-shell-file-name, hfy-shell):
12584 * international/fontset.el (x-decompose-font-name): Fix typos.
12585
12586 2011-11-29 Ken Brown <kbrown@cornell.edu>
12587
12588 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
12589 (gdb-version): Remove defvar.
12590 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
12591 (gdb-gud-context-command, gdb-non-stop-handler)
12592 (gdb-current-context-command, gdb-stopped): Use it.
12593 (gdb-init-1): Enable pretty printing here.
12594 (gdb-non-stop-handler): Don't enable pretty-printing here.
12595 Check to see if the target supports non-stop mode; if not, turn off
12596 non-stop mode. Use the following.
12597 (gdb-check-target-async): New defun.
12598 (gud-watch, gdb-stopped): Fix whitespace.
12599 (gdb-get-source-file): Don't try to display the source file if
12600 `gdb-main-file' is nil.
12601
12602 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12603
12604 * align.el: Try to generate fewer markers (bug#10047).
12605 (align--set-marker): New macro.
12606 (align-region): Use it.
12607
12608 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12609
12610 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
12611
12612 2011-11-29 Chong Yidong <cyd@gnu.org>
12613
12614 * indent.el (indent-for-tab-command, indent-according-to-mode):
12615 Doc fix.
12616 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
12617
12618 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
12619
12620 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
12621 aware of remote file names. (Bug#10124)
12622
12623 2011-11-29 Chong Yidong <cyd@gnu.org>
12624
12625 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
12626
12627 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12628
12629 * files.el (find-file): Don't use force-same-window (bug#10144).
12630 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
12631 use pop-to-buffer if the selected window can't be used.
12632 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
12633
12634 2011-11-28 Eli Zaretskii <eliz@gnu.org>
12635
12636 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
12637 special-mode-map.
12638
12639 2011-11-28 Chong Yidong <cyd@gnu.org>
12640
12641 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
12642
12643 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
12644
12645 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
12646 gdb-get-source-file-list on gdb-create-source-file-list.
12647
12648 2011-11-26 Eli Zaretskii <eliz@gnu.org>
12649
12650 * whitespace.el (whitespace-newline): Use a different foreground
12651 color for 16-color light-background displays.
12652
12653 2011-11-24 Chong Yidong <cyd@gnu.org>
12654
12655 * window.el (display-buffer--special-action): Doc fix.
12656
12657 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
12658
12659 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
12660 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
12661 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
12662 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
12663 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
12664 (avl-tree-stack-first):
12665 * emacs-lisp/cconv.el (cconv--analyse-use):
12666 * net/gnutls.el (gnutls-negotiate): Fix typos.
12667
12668 2011-11-24 Glenn Morris <rgm@gnu.org>
12669
12670 * lpr.el (lpr-windows-system, lpr-lp-system):
12671 * mail/binhex.el (binhex-begin-line):
12672 * progmodes/grep.el (grep-history, grep-find-history):
12673 * textmodes/flyspell.el:
12674 * vc/pcvs-defs.el (cvs-global-menu):
12675 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
12676 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
12677 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
12678
12679 * net/tls.el: Fix case of "GnuTLS".
12680
12681 * paths.el (rmail-file-name): Format doc-string for make-docfile.
12682
12683 * version.el (emacs-build-system): Give it a doc-string.
12684
12685 2011-11-24 Juri Linkov <juri@jurta.org>
12686
12687 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
12688
12689 2011-11-24 Glenn Morris <rgm@gnu.org>
12690
12691 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
12692 if called on a non-mime message just toggle the headers. (Bug#8006)
12693
12694 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
12695
12696 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
12697 (allout-lead-with-comment-string, allout-structure-deleted-hook)
12698 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
12699 (allout-rebullet-heading, allout-open-sibtopic)
12700 (allout-toggle-current-subtree-encryption)
12701 (allout-toggle-subtree-encryption, allout-encrypt-string)
12702 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
12703 (allout-distinctive-bullets-string, allout-auto-activation):
12704 * window.el (window-normalize-buffer-to-display):
12705 * progmodes/verilog-mode.el (verilog-batch-indent):
12706 * textmodes/bibtex.el (bibtex-field-braces-opt)
12707 (bibtex-field-strings-opt):
12708 * vc/cvs-status.el (cvs-tree-merge):
12709 Fix typos.
12710
12711 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
12712
12713 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
12714 `non-essential' to t, in order to avoid remote connections.
12715
12716 2011-11-23 Eli Zaretskii <eliz@gnu.org>
12717
12718 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12719 On MS-DOS and MS-Windows, compare with loaddefs.el
12720 case-insensitively.
12721
12722 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12723
12724 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
12725
12726 2011-11-23 Glenn Morris <rgm@gnu.org>
12727
12728 * paths.el (rmail-file-name): Reformat the doc-string so that it
12729 is picked up.
12730
12731 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
12732 (rmail-auto-file): Ignore case in the "special" field names,
12733 as mail-fetch-field does for all others.
12734
12735 * mail/rmail.el (rmail-forward):
12736 * mail/rmailkwd.el (rmail-set-label):
12737 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12738 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
12739
12740 * mail/rmail.el (rmail-current-message): Doc fix.
12741
12742 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
12743
12744 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
12745
12746 * server.el (server-eval-and-print): Allow C-g (bug#6585).
12747
12748 2011-11-22 Glenn Morris <rgm@gnu.org>
12749
12750 * mail/rmailmm.el (test-rmail-mime-handler)
12751 (test-rmail-mime-bulk-handler)
12752 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12753
12754 2011-11-21 Juri Linkov <juri@jurta.org>
12755
12756 * calc/calc.el (calc-read-key-sequence):
12757 Let-bind `input-method-function' to nil. (Bug#10018)
12758
12759 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12760
12761 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12762 Tell the caller that the next line needs recomputation, even
12763 though it doesn't start a sexp (bug#10094).
12764
12765 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12766
12767 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12768
12769 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12770
12771 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12772 Use force-same-window.
12773
12774 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
12775
12776 * descr-text.el (describe-char-unicode-data):
12777 * json.el (json-string-escape):
12778 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12779 (Footnote-unicode, Footnote-style-p):
12780 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12781
12782 2011-11-20 Chong Yidong <cyd@gnu.org>
12783
12784 * window.el (replace-buffer-in-windows): Restore interactive spec.
12785
12786 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12787
12788 * electric.el (electric-indent-mode): Fix last change (too optimistic).
12789
12790 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12791 (byte-compile-global-not-obsolete-vars): New var.
12792 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12793 Use it.
12794 (byte-compile-warn-obsolete): Align text with the one in *Help*.
12795
12796 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
12797
12798 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12799 * progmodes/pascal.el (electric-pascal-equal):
12800 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12801 * xml.el (xml-substitute-special): Fix typos.
12802
12803 2011-11-20 Glenn Morris <rgm@gnu.org>
12804
12805 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12806 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12807 Doc fixes.
12808 (rmail-decode-mime-charset): Mark as obsolete.
12809
12810 * mail/rmailsum.el (rmail-message-regexp-p-1):
12811 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12812 Before using mime functions, check they are set. (Bug#10077)
12813
12814 2011-11-19 Juri Linkov <juri@jurta.org>
12815
12816 * info.el (Info-finder-find-node): Use `package--builtins' instead
12817 of `package-alist'. Use node names formed by the pattern "Keyword "
12818 and the keyword name.
12819
12820 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12821
12822 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
12823
12824 2011-11-19 Juri Linkov <juri@jurta.org>
12825
12826 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12827 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12828 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12829 `old-history', `old-history-forward'. Add let-binding
12830 `window-selected'. Remove calls to `kill-buffer',
12831 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12832 before calling `Info-find-node', so `Info-find-node-2' will reread
12833 the Info file. Restore window positions only when `window-selected'
12834 is non-nil.
12835
12836 2011-11-19 Juri Linkov <juri@jurta.org>
12837
12838 * isearch.el (isearch-lazy-highlight-new-loop):
12839 Remove condition `(not isearch-error)'. (Bug#9918)
12840
12841 * misearch.el (multi-isearch-search-fun): Add condition
12842 `(not bound)' to ignore lazy-highlighting search.
12843 Add the search-failed message "end of multi" when the end of
12844 multi-sequence is reached. Uncapitalize the search-failed
12845 message "Repeat for next buffer".
12846
12847 * info.el (Info-search): Add the search-failed message
12848 "end of the manual" when the end of the manual is reached
12849 in Isearch mode.
12850
12851 2011-11-19 Juri Linkov <juri@jurta.org>
12852
12853 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12854 Use non-destructive `remove' instead of `delete' because
12855 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12856 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12857
12858 2011-11-19 Juri Linkov <juri@jurta.org>
12859
12860 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12861 to nil instead of binding `search-ring' and `regexp-search-ring'.
12862 (Bug#9185)
12863
12864 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12865
12866 * simple.el (line-move): Force movement by logical lines for any
12867 hscrolled window, not only when auto-hscroll-mode is on.
12868 (line-move-visual): Update doc string to that effect. (Bug#10076)
12869
12870 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12871
12872 * language/european.el (macintosh): Define as alias for mac-roman.
12873
12874 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12875
12876 * mail/rmailmm.el (rmail-mime-display-header)
12877 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12878 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12879 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12880 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12881 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12882 of a raw aref.
12883 (rmail-mime-entity-segment): To get past the tagline, move forward
12884 2 more lines, to account for the 2 empty lines that precede and
12885 follow the line with the buttons.
12886 (rmail-mime-update-tagline): Move one more line, to get past the
12887 empty line that follows the buttons in the tagline. (Bug#9520)
12888
12889 2011-11-19 Martin Rudalics <rudalics@gmx.at>
12890
12891 * window.el (window-max-delta-1, window-min-delta-1)
12892 (window-min-size-1, window-state-get-1, window-state-put-1)
12893 (window-state-put-2): Use "window--" prefix.
12894
12895 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12896
12897 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12898 (smie-warning-count): New var.
12899 (smie-set-prec2tab): Use it.
12900 (smie-bnf->prec2): Improve warnings. Add docstring.
12901 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12902 (smie-bnf--set-class): New function.
12903 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12904 corner case.
12905
12906 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12907 (compilation-error-properties, compilation-move-to-column):
12908 Handle compilation-first-column while in the target buffer.
12909
12910 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12911 Don't hardcode point-min==1.
12912
12913 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12914 (eshell-rewrite-for-command): Remove workaround.
12915 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12916 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12917 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12918
12919 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12920
12921 2011-11-17 Glenn Morris <rgm@gnu.org>
12922
12923 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12924 Ignore buffer-local generated-autoload-file if it is the same
12925 as the global value. (Bug#10049)
12926
12927 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
12928
12929 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12930 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12931 (reftex-toc-previous-heading, reftex-toc-max-level)
12932 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12933 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12934 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12935 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12936 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12937 (reftex-toc-rename-label, reftex-toc-visit-location)
12938 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12939 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12940 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12941 leaving "*toc*" only for references to the buffer.
12942
12943 2011-11-17 Martin Rudalics <rudalics@gmx.at>
12944
12945 * window.el (window-resize, delete-window, split-window):
12946 Replace window-splits by window-combination-resize.
12947 * cus-start.el (window-splits): Replace by window-combination-resize.
12948
12949 2011-11-17 Glenn Morris <rgm@gnu.org>
12950
12951 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12952 Make bash entry derive from sh entry, not shell entry.
12953
12954 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
12955
12956 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12957 local file name.
12958
12959 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12960
12961 * menu-bar.el (menu-bar-file-menu):
12962 * printing.el (pr-ps-utility):
12963 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12964 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12965 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12966 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12967 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12968 (icalendar--convert-cyclic-to-ical)
12969 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12970 (icalendar--convert-ical-to-diary)
12971 (icalendar--convert-recurring-to-diary)
12972 (icalendar--convert-non-recurring-all-day-to-diary)
12973 (icalendar-import-format-sample):
12974 * progmodes/idlw-shell.el (idlwave-shell-mode):
12975 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12976 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12977 (vhdl-ps-print-init): Fix typos.
12978
12979 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12980
12981 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12982 FSF and collapse date sequence, obscure author/maintainer email address
12983 better, remove extra version line, track relocation of author's webpage.
12984
12985 * progmodes/python.el (python-pdbtrack-input-prompt)
12986 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12987 regular python pdb prompts. Adjustments shamelessly taken exactly as
12988 suggested in EmacsWiki page (tiny change):
12989 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
12990
12991 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12992
12993 * expand.el (expand-pos, expand-index, expand-point):
12994 Remove redundant info from docstring.
12995 (expand-add-abbrevs): Doc fix.
12996 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12997 (expand-sample-perl-mode-expand-list): Fix typos.
12998
12999 * net/dbus.el (dbus-event-member-name):
13000 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
13001 * term/pc-win.el (msdos-create-frame-with-faces):
13002 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
13003
13004 2011-11-16 Martin Rudalics <rudalics@gmx.at>
13005
13006 * window.el (split-window, window-state-get-1)
13007 (window-state-put-1, window-state-put-2): Rename occurrences of
13008 window-nest to window-combination-limit.
13009 * cus-start.el (window-nest): Rename to window-combination-limit.
13010
13011 2011-11-16 Chong Yidong <cyd@gnu.org>
13012
13013 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
13014 regexp (Bug#10033).
13015
13016 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13017
13018 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
13019 `completing-read' will remove *Completions* and will preserve
13020 current-buffer for us.
13021 (tmm-add-prompt): Users of *Completions* will always (re)set its
13022 major mode.
13023 (tmm-old-comp-map): Remove.
13024
13025 2011-11-16 Glenn Morris <rgm@gnu.org>
13026
13027 * mail/rmailedit.el: Require rmailmm when compiling.
13028 (rmail-old-mime-state): New declaration.
13029 (rmail-edit-current-message): If editing a mime message,
13030 edit the "raw" message from the mbox buffer.
13031 (rmail-cease-edit): Handle mime messages. (Bug#9840)
13032
13033 2011-11-15 Glenn Morris <rgm@gnu.org>
13034
13035 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
13036 which wasn't being used. Add optional arg to force given state.
13037 (rmail-mime): Add optional arg to force given state.
13038
13039 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
13040
13041 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13042 * frame.el (display-mm-dimensions-alist):
13043 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
13044 (outline-move-subtree-down):
13045 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
13046 (newsticker--treeview-do-get-node):
13047 * net/quickurl.el (quickurl-list-buffer-name):
13048 * progmodes/dcl-mode.el (dcl-mode):
13049 * progmodes/gdb-mi.el (gdb-mapcar*):
13050 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
13051
13052 2011-11-15 Glenn Morris <rgm@gnu.org>
13053
13054 * mail/rmail.el (rmail-file-coding-system): It's only ever used
13055 in a boolean sense, so just make it a boolean, and fix the doc.
13056 (rmail-show-mime-function, rmail-mime-feature)
13057 (rmail-require-mime-maybe): Doc fixes.
13058 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
13059
13060 * mail/rmailmm.el (rmail-show-mime): Doc fix.
13061
13062 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
13063
13064 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
13065 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
13066 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
13067 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
13068
13069 2011-11-15 Glenn Morris <rgm@gnu.org>
13070
13071 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
13072 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
13073 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
13074 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
13075 (rmail-mime, rmail-show-mime): Doc fixes.
13076
13077 * term/ns-win.el (mode-line-frame-identification):
13078 Leave it alone. (Bug#10051)
13079
13080 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
13081
13082 * mail/rmailout.el (rmail-output-to-rmail-buffer):
13083 Handle empty buffers. (Bug#9978)
13084
13085 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
13086
13087 * international/mule.el (define-charset):
13088 * mail/rmailmm.el (rmail-mime-find-header-encoding):
13089 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
13090 * progmodes/verilog-mode.el (verilog-backward-token):
13091 * textmodes/ispell.el (lookup-words):
13092 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
13093
13094 2011-11-14 Glenn Morris <rgm@gnu.org>
13095
13096 * progmodes/executable.el
13097 (executable-make-buffer-file-executable-if-script-p):
13098 Handle file-modes returning nil.
13099
13100 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
13101 message - not necessary, and causes problems. (Bug#9831)
13102
13103 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
13104
13105 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
13106
13107 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
13108 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
13109 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
13110
13111 2011-11-12 Martin Rudalics <rudalics@gmx.at>
13112
13113 * window.el (window-resize, delete-window): Use window-splits
13114 variable instead of function.
13115 (window-state-get-1, window-state-put-2, window-state-put):
13116 Don't deal with windows' splits status.
13117
13118 2011-11-12 Glenn Morris <rgm@gnu.org>
13119
13120 * apropos.el (apropos-do-all, apropos-library, apropos-value)
13121 (apropos-documentation): Doc fixes.
13122
13123 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
13124
13125 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
13126 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
13127
13128 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13129
13130 * electric.el (electric-indent-post-self-insert-function): Make it
13131 possible for a char to only indent in some circumstances.
13132 (electric-indent-mode): Simplify.
13133
13134 2011-11-11 Martin Rudalics <rudalics@gmx.at>
13135
13136 * window.el (windows-with-parameter): Remove unused function.
13137 (windows-at-side): Rename to window-at-side-list.
13138 (window-check, window-atom-check, window-atom-check-1)
13139 (window-side-check, window-size-ignore, window-size-fixed-1)
13140 (window-in-direction-2): Prefix with "window--".
13141 (window-tree-1): Rename to window--subtree, fix doc-string.
13142
13143 2011-11-11 Glenn Morris <rgm@gnu.org>
13144
13145 * subr.el (eval-after-load): If FILE is already loaded,
13146 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
13147
13148 2011-11-10 Glenn Morris <rgm@gnu.org>
13149
13150 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
13151 Call svn via vc-svn-command rather than vc-do-command.
13152 (vc-svn-command): Add --non-interactive. (Bug#9993)
13153 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
13154
13155 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13156 Add toggle-read-only. (Bug#7292)
13157 * files.el (toggle-read-only): Mention that it should only
13158 be used interactively. (Bug#10006)
13159
13160 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
13161
13162 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13163 Adjust regexp for OCaml warnings.
13164
13165 * electric.el (electric-pair-post-self-insert-function): Let user
13166 turn it off buffer-locally (bug#9932).
13167
13168 * progmodes/python.el (python-beginning-of-statement):
13169 Rewrite (bug#2703).
13170
13171 * progmodes/compile.el: Better handle TABs (bug#9749).
13172 (compilation-internal-error-properties)
13173 (compilation-next-error-function): Obey the target buffer's
13174 compilation-error-screen-columns.
13175
13176 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
13177
13178 * progmodes/meta-mode.el: Remove obsolete comments.
13179 (meta-right-comment-regexp, meta-ignore-comment-regexp):
13180 Fix typos in docstrings.
13181
13182 2011-11-09 Martin Rudalics <rudalics@gmx.at>
13183
13184 * window.el (window-size-fixed-p): Rewrite doc-string.
13185 (window-resizable-p): Rename to window--resizable-p. Update callers.
13186 (window--resizable): New function. Make all callers of
13187 window-resizable call window--resizable instead.
13188 (window-resizable): Rewrite in terms of window--resizable.
13189
13190 2011-11-08 Glenn Morris <rgm@gnu.org>
13191
13192 * progmodes/delphi.el (delphi-mode-syntax-table):
13193 Let define-derived-mode define a proper syntax table. (Bug#9994)
13194
13195 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13196
13197 * window.el: Stay away from defsubst.
13198 (window-list-no-nils): Remove.
13199 (window-state-get-1, window-state-get): Use backquote instead.
13200
13201 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13202
13203 * emacs-lisp/find-func.el (find-function-read):
13204 Fix incorrect use of default argument in `completing-read'.
13205
13206 2011-11-08 Martin Rudalics <rudalics@gmx.at>
13207
13208 * window.el (display-buffer-function, special-display-function):
13209 Mention display-buffer-record-window but do not mention
13210 help-setup parameter in doc-strings.
13211 (window-min-delta): Fix doc-string typo.
13212
13213 2011-11-08 Chong Yidong <cyd@gnu.org>
13214
13215 * window.el (window-total-height, window-total-width): Doc fix.
13216 (window-body-size): Move from C.
13217 (window-body-height, window-body-width): Move to C.
13218
13219 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13220
13221 * window.el: Make special-display like display-buffer-alist (bug#9532).
13222 (display-buffer--special-action): New function, morphed
13223 from display-buffer--special.
13224 (display-buffer): Use it to handle special-display-buffers at higher
13225 priority (just after display-buffer-alist).
13226 (display-buffer-fallback-action, display-buffer--other-frame-action)
13227 (pop-to-buffer-same-window): Remove display-buffer--special.
13228
13229 2011-11-07 Glenn Morris <rgm@gnu.org>
13230
13231 * calendar/cal-menu.el (cal-menu-set-date-title):
13232 Do nothing if not in a calendar. (Bug#9976)
13233
13234 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13235
13236 * files.el (find-file): Always use selected-window.
13237
13238 2011-11-07 Martin Rudalics <rudalics@gmx.at>
13239
13240 * window.el (window-combinations): Make WINDOW argument
13241 mandatory. Rewrite doc-string.
13242 (walk-window-subtree, window-atom-check, window-min-delta)
13243 (window-max-delta, window--resize-this-window)
13244 (window--resize-root-window-vertically, window-tree)
13245 (balance-windows, window-state-put): Rewrite doc-strings as to
13246 not mention the term "subwindow".
13247 (window--resize-subwindows-skip-p): Rename to
13248 window--resize-child-windows-skip-p.
13249 (window--resize-subwindows-normal): Rename to
13250 window--resize-child-windows-normal.
13251 (window--resize-subwindows): Rename to
13252 window--resize-child-windows.
13253 (window-or-subwindow-p): Rename to window--in-subtree-p.
13254
13255 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13256
13257 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13258 Ensure that mbox format messages end in two newlines (Bug#9974).
13259
13260 2011-11-06 Chong Yidong <cyd@gnu.org>
13261
13262 * window.el (window-combination-p): Function deleted; its
13263 side-effect is not used in any existing code.
13264 (window-combinations, window-combined-p): Call window-*-child
13265 directly.
13266
13267 2011-11-05 Chong Yidong <cyd@gnu.org>
13268
13269 * window.el (window-valid-p): Rename from window-any-p.
13270 (window-size-ignore, window-state-get): Callers changed.
13271 (window-normalize-window): Rename from window-normalize-any-window.
13272 New arg LIVE-ONLY, replacing window-normalize-live-window.
13273 (window-normalize-live-window): Delete.
13274 (window-combination-p, window-combined-p, window-combinations)
13275 (walk-window-subtree, window-atom-root, window-min-size)
13276 (window-sizable, window-sizable-p, window-size-fixed-p)
13277 (window-min-delta, window-max-delta, window-resizable)
13278 (window-resizable-p, window-full-height-p, window-full-width-p)
13279 (window-current-scroll-bars, window-point-1, set-window-point-1)
13280 (window-at-side-p, window-in-direction, window-resize)
13281 (adjust-window-trailing-edge, maximize-window, minimize-window)
13282 (window-deletable-p, delete-window, delete-other-windows)
13283 (record-window-buffer, unrecord-window-buffer)
13284 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
13285 (quit-window, split-window, window-state-put)
13286 (set-window-text-height, fit-window-to-buffer)
13287 (shrink-window-if-larger-than-buffer): Callers changed.
13288
13289 2011-11-04 Eli Zaretskii <eliz@gnu.org>
13290
13291 * mail/rmail.el (rmail-simplified-subject): Decode subject with
13292 rfc2047-decode-string.
13293 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13294 warnings.
13295
13296 * window.el (window-body-height, window-body-width): Mention in
13297 the doc string that the return values are in frame's canonical
13298 units. (Bug#9949)
13299
13300 2011-11-03 Alan Mackenzie <acm@muc.de>
13301
13302 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13303 change in cc-engine.el.
13304
13305 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
13306
13307 * window.el (switch-to-buffer): Use `force-same-window' interactively.
13308
13309 2011-11-02 Martin Rudalics <rudalics@gmx.at>
13310
13311 * window.el (quit-window): Call unrecord-window-buffer after
13312 showing another buffer in the window. (Bug#9937)
13313 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
13314
13315 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
13316
13317 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13318 Accept status with more than 9 shelves. (Bug#9935)
13319 Reported by Colin D Bennett <colin@gibibit.com>.
13320
13321 2011-11-01 Martin Rudalics <rudalics@gmx.at>
13322
13323 * help.el (with-help-window): Don't reference
13324 temp-buffer-show-specifiers in doc-string.
13325
13326 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
13327
13328 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
13329 menu-item.
13330
13331 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13332
13333 * whitespace.el: New version 13.2.2.
13334 (whitespace-newline-mode): Disable properly. Reported by Sarah
13335 <EmacsWiki>.
13336
13337 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
13338
13339 * net/newst-treeview.el: Remove "Time-stamp".
13340 (newsticker--group-manage-orphan-feeds): Do not call
13341 newsticker--treeview-tree-update.
13342 (newsticker-treeview-update, newsticker-treeview):
13343 Call newsticker--treeview-tree-update if necessary.
13344
13345 2011-10-30 Martin Rudalics <rudalics@gmx.at>
13346
13347 * window.el (window-iso-combination-p, window-iso-combined-p)
13348 (window-iso-combinations): Remove "iso-" infix.
13349 Suggested by Chong Yidong.
13350 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
13351 (window-max-delta-1, window-resize, window--resize-siblings)
13352 (window--resize-this-window, adjust-window-trailing-edge)
13353 (split-window, balance-windows-1)
13354 (shrink-window-if-larger-than-buffer):
13355 * calendar/calendar.el (calendar-generate-window):
13356 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
13357
13358 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13359
13360 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13361 in place (bug#9907).
13362 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13363 (eshell-rewrite-if-command, eshell-rewrite-for-command)
13364 (eshell-structure-basic-command, eshell-rewrite-while-command)
13365 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13366 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13367 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13368 (eshell-do-pipelines-synchronously, eshell-eval-command):
13369 Use backquotes and prefer setq to set.
13370 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13371 (eshell-macrop): Use functionp.
13372 (eshell-do-eval): Handle multiple expressions in `while' body.
13373
13374 2011-10-30 Chong Yidong <cyd@gnu.org>
13375
13376 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13377 instead of set-mark (Bug#9810).
13378
13379 2011-10-30 Chong Yidong <cyd@gnu.org>
13380
13381 * window.el (split-window-below, split-window-right): Rename from
13382 split-window-above-each-other and split-window-side-by-side
13383 respectively. All callers changed.
13384 (split-window-sensibly, split-window-sensibly): Use them.
13385 (split-window-keep-point): Doc fix.
13386
13387 * isearch.el: Add isearch-scroll property to split-window-below
13388 and split-window-right.
13389
13390 * follow.el (follow-mode):
13391 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13392 * progmodes/ada-xref.el (ada-gdb-application):
13393 * emulation/vip.el (vip-buffer-in-two-windows):
13394 * image-dired.el (image-dired-dired-with-window-configuration):
13395 * dired-x.el (dired-do-find-marked-files):
13396 * dired.el (dired-pop-to-buffer):
13397 * bs.el (bs--show-with-configuration):
13398 * vc/emerge.el (emerge-setup-windows):
13399 * textmodes/two-column.el (2C-two-columns):
13400 * textmodes/reftex-toc.el (reftex-toc):
13401 * progmodes/gdb-mi.el (gdb-setup-windows):
13402 * progmodes/fortran.el (fortran-window-create):
13403 * net/newst-treeview.el (newsticker--treeview-window-init):
13404 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
13405 * emulation/tpu-edt.el (tpu-gold-map):
13406 * emulation/crisp.el (crisp-mode-map):
13407 * calendar/calendar.el (calendar-basic-setup): Callers changed.
13408
13409 2011-10-29 Chong Yidong <cyd@gnu.org>
13410
13411 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
13412
13413 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
13414
13415 * textmodes/flyspell.el (flyspell-word): Fix char offset for
13416 forged Ispell output (Bug#7904).
13417
13418 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
13419
13420 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13421
13422 * doc-view.el: Avoid ugly errors about not finding nil.
13423 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
13424 (doc-view-dvipdf-program, doc-view-unoconv-program)
13425 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
13426 Avoid nil or absolute file name as default value.
13427 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
13428
13429 2011-10-28 Alan Mackenzie <acm@muc.de>
13430
13431 * progmodes/cc-defs.el (c-version): -> 5.32.2.
13432
13433 2011-10-28 Alan Mackenzie <acm@muc.de>
13434
13435 Amend the handling of c-beginning/end-of-defun in nested declaration
13436 scopes.
13437
13438 * progmodes/cc-vars.el (c-defun-tactic): Move here from
13439 cc-langs.el. Change it to a defcustom.
13440
13441 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13442 cc-vars.el.
13443
13444 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13445 Prevent "class foo : bar" being spuriously recognized as a label.
13446
13447 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
13448 Add parameter `inclusive' (to include enclosing braces in the region).
13449 (c-widen-to-enclosing-decl-scope): New function.
13450 (c-while-widening-to-decl-block): New macro.
13451 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13452 outward for defun boundaries, and correspondingly change symbol
13453 `respect-enclosure' to `go-outward'.
13454 (c-declaration-limits): Change algorithm to report only the "innermost"
13455 defun's boundaries.
13456
13457 2011-10-28 Deniz Dogan <deniz@dogan.se>
13458
13459 * net/rcirc.el (rcirc-mode): Use hard newlines.
13460
13461 2011-10-28 Alan Mackenzie <acm@muc.de>
13462
13463 Amend to indent and fontify macros "which include their own semicolon"
13464 correctly, using the "virtual semicolon" mechanism.
13465
13466 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
13467
13468 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
13469 Recode to scan one line at a time rather than having \n and \r
13470 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
13471 (c-forward-label): Amend for virtual semicolons.
13472 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
13473
13474 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13475 of the new C macros.
13476
13477 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
13478 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13479 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
13480 (c-opt-cpp-macro-define): Make into a full language variable.
13481 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13482 AWK Mode (including \n, \r) removed, no longer needed.
13483
13484 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13485 Invoke c-make-macro-with-semi-re.
13486
13487 * progmodes/cc-vars.el (c-macro-with-semi-re):
13488 (c-macro-names-with-semicolon): New variables.
13489 (c-make-macro-with-semi-re): New function.
13490
13491 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13492
13493 * vc/log-edit.el: Fill empty field rather than adding new one.
13494 (log-edit-add-field): New function.
13495 (log-edit-insert-changelog): Use it.
13496
13497 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13498
13499 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
13500
13501 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13502
13503 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
13504 (gdb--check-interpreter): New function.
13505 (gdb): Use it.
13506
13507 2011-10-27 Glenn Morris <rgm@gnu.org>
13508
13509 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13510 (least-positive-float, least-negative-float)
13511 (least-positive-normalized-float, least-negative-normalized-float)
13512 (float-epsilon, float-negative-epsilon):
13513 Remove unnecessary declarations.
13514
13515 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
13516 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
13517 (least-positive-float, least-negative-float)
13518 (least-positive-normalized-float, least-negative-normalized-float)
13519 (float-epsilon, float-negative-epsilon): Add doc-strings,
13520 based on those in cl.texi.
13521
13522 * files.el (set-visited-file-name): If the major-mode changed,
13523 reload the local variables. (Bug#9796)
13524
13525 2011-10-27 Chong Yidong <cyd@gnu.org>
13526
13527 * subr.el (change-major-mode-after-body-hook): New hook.
13528 (run-mode-hooks): Run it.
13529
13530 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13531 Use change-major-mode-before-body-hook.
13532
13533 * simple.el (fundamental-mode):
13534 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
13535 change introducing fundamental-mode-hook.
13536
13537 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
13538
13539 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
13540
13541 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
13542
13543 * ido.el (ido-file-name-all-completions-1): Do not require
13544 tramp.el explicitly. (Bug#7583)
13545
13546 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13547
13548 * progmodes/octave-mod.el:
13549 * progmodes/octave-inf.el: Update maintainer.
13550
13551 2011-10-26 Chong Yidong <cyd@gnu.org>
13552
13553 * subr.el (with-wrapper-hook): Rewrite doc.
13554
13555 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
13556
13557 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
13558 filenames "/method:foo:". (Bug#9793)
13559
13560 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13561
13562 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
13563 (bug#9865).
13564
13565 2011-10-24 Glenn Morris <rgm@gnu.org>
13566
13567 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
13568
13569 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
13570
13571 * notifications.el: Add the requirement of a running D-Bus session
13572 bus to the Commentary.
13573
13574 2011-10-24 Juri Linkov <juri@jurta.org>
13575
13576 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13577 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
13578 (Bug#9364)
13579
13580 2011-10-24 Juri Linkov <juri@jurta.org>
13581
13582 * info.el (Info-following-node-name-re): Add newline to the list
13583 of allowed characters for leading space. (Bug#9824)
13584
13585 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13586
13587 * progmodes/octave-inf.el (inferior-octave-mode-map):
13588 Fix C-c C-h binding.
13589 * progmodes/octave-mod.el (octave-help): Remove.
13590
13591 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
13592
13593 Sync with Tramp 2.2.3.
13594
13595 * net/tramp-cache.el (top): Pacify byte-compiler using
13596 `init-file-user' and `site-run-file'.
13597
13598 * net/trampver.el: Update release number.
13599
13600 2011-10-23 Chong Yidong <cyd@gnu.org>
13601
13602 * files.el (toggle-read-only): Remove obsolete comment about
13603 version control.
13604
13605 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
13606 for toggle-read-only. Note that this hasn't called vc-next-action
13607 since 2008-05-02, though it wasn't documented at the time.
13608
13609 * vc/ediff-init.el (ediff-toggle-read-only-function):
13610 Use toggle-read-only.
13611
13612 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
13613
13614 Fix bug #9560, sporadic wrong indentation; improve instrumentation
13615 of c-parse-state.
13616
13617 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13618 correct faulty logical expression.
13619 (c-parse-state-state, c-record-parse-state-state):
13620 (c-replay-parse-state-state): New defvar/defuns.
13621 (c-debug-parse-state): Use new functions.
13622
13623 2011-10-22 Martin Rudalics <rudalics@gmx.at>
13624
13625 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
13626 last fix. Use window-in-direction correctly.
13627
13628 2011-10-21 Chong Yidong <cyd@gnu.org>
13629
13630 * progmodes/idlwave.el (idlwave-mode):
13631 * progmodes/vera-mode.el (vera-mode): No need to set
13632 require-final-newline; that's done in prog-mode.
13633 Suggested by Stefan Monnier.
13634
13635 2011-10-21 Martin Rudalics <rudalics@gmx.at>
13636
13637 * mouse.el (mouse-drag-window-above)
13638 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
13639 (mouse-drag-mode-line-1, mouse-drag-header-line)
13640 (mouse-drag-vertical-line-rightward-window): Remove.
13641 (mouse-drag-line): New function.
13642 (mouse-drag-mode-line, mouse-drag-header-line)
13643 (mouse-drag-vertical-line): Call mouse-drag-line.
13644 * window.el (window-at-side-p, windows-at-side): New functions.
13645
13646 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
13647
13648 * tar-mode.el (tar-grind-file-mode):
13649 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
13650
13651 2011-10-21 Chong Yidong <cyd@gnu.org>
13652
13653 * progmodes/idlwave.el (idlwave-mode):
13654 * progmodes/vera-mode.el (vera-mode):
13655 Use mode-require-final-newline.
13656
13657 2011-10-20 Glenn Morris <rgm@gnu.org>
13658
13659 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
13660
13661 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
13662
13663 * emulation/cua-base.el (cua-set-mark): Fix case of string.
13664
13665 2011-10-20 Chong Yidong <cyd@gnu.org>
13666
13667 * emulation/cua-base.el (cua-mode):
13668 * mail/footnote.el (footnote-mode):
13669 * mail/mailabbrev.el (mail-abbrevs-mode):
13670 * net/xesam.el (xesam-minor-mode):
13671 * progmodes/bug-reference.el (bug-reference-mode):
13672 * progmodes/cap-words.el (capitalized-words-mode):
13673 * progmodes/compile.el (compilation-minor-mode)
13674 (compilation-shell-minor-mode):
13675 * progmodes/gud.el (gud-tooltip-mode):
13676 * progmodes/hideif.el (hide-ifdef-mode):
13677 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
13678 * progmodes/subword.el (subword-mode):
13679 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13680 * progmodes/which-func.el (which-function-mode):
13681 * term/tvi970.el (tvi970-set-keypad-mode):
13682 * term/vt100.el (vt100-wide-mode):
13683 * textmodes/flyspell.el (flyspell-mode):
13684 * textmodes/ispell.el (ispell-minor-mode):
13685 * textmodes/nroff-mode.el (nroff-electric-mode):
13686 * textmodes/paragraphs.el (use-hard-newlines):
13687 * textmodes/refill.el (refill-mode):
13688 * textmodes/reftex.el (reftex-mode):
13689 * textmodes/rst.el (rst-minor-mode):
13690 * textmodes/sgml-mode.el (html-autoview-mode)
13691 (sgml-electric-tag-pair-mode):
13692 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
13693 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
13694 * emulation/crisp.el (crisp-mode):
13695 * emacs-lisp/eldoc.el (eldoc-mode):
13696 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
13697 minor mode behavior.
13698
13699 2011-10-19 Juri Linkov <juri@jurta.org>
13700
13701 * descr-text.el (describe-char): Add #x2010 and #x2011 to
13702 the list of hard-coded chars with escape-glyph face.
13703
13704 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13705
13706 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
13707
13708 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
13709
13710 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
13711 running process.
13712
13713 2011-10-19 Glenn Morris <rgm@gnu.org>
13714
13715 * vc/vc-bzr.el (vc-bzr-after-dir-status):
13716 Ignore ignored files. (Bug#9726)
13717
13718 2011-10-19 Chong Yidong <cyd@gnu.org>
13719
13720 Doc fix for minor modes, stating that an omitted argument enables
13721 the mode unconditionally when called from Lisp.
13722
13723 * abbrev.el (abbrev-mode):
13724 * allout.el (allout-mode):
13725 * autoinsert.el (auto-insert-mode):
13726 * autoarg.el (autoarg-mode, autoarg-kp-mode):
13727 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13728 (global-auto-revert-mode):
13729 * battery.el (display-battery-mode):
13730 * composite.el (global-auto-composition-mode)
13731 (auto-composition-mode):
13732 * delsel.el (delete-selection-mode):
13733 * desktop.el (desktop-save-mode):
13734 * dired-x.el (dired-omit-mode):
13735 * dirtrack.el (dirtrack-mode):
13736 * doc-view.el (doc-view-minor-mode):
13737 * double.el (double-mode):
13738 * electric.el (electric-indent-mode, electric-pair-mode):
13739 * emacs-lock.el (emacs-lock-mode):
13740 * epa-hook.el (auto-encryption-mode):
13741 * follow.el (follow-mode):
13742 * font-core.el (font-lock-mode):
13743 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13744 * help.el (temp-buffer-resize-mode):
13745 * hilit-chg.el (highlight-changes-mode)
13746 (highlight-changes-visible-mode):
13747 * hi-lock.el (hi-lock-mode):
13748 * hl-line.el (hl-line-mode, global-hl-line-mode):
13749 * icomplete.el (icomplete-mode):
13750 * ido.el (ido-everywhere):
13751 * image-file.el (auto-image-file-mode):
13752 * image-mode.el (image-minor-mode):
13753 * iswitchb.el (iswitchb-mode):
13754 * jka-cmpr-hook.el (auto-compression-mode):
13755 * linum.el (linum-mode):
13756 * longlines.el (longlines-mode):
13757 * master.el (master-mode):
13758 * mb-depth.el (minibuffer-depth-indicate-mode):
13759 * menu-bar.el (menu-bar-mode):
13760 * minibuf-eldef.el (minibuffer-electric-default-mode):
13761 * mouse-sel.el (mouse-sel-mode):
13762 * msb.el (msb-mode):
13763 * mwheel.el (mouse-wheel-mode):
13764 * outline.el (outline-minor-mode):
13765 * paren.el (show-paren-mode):
13766 * recentf.el (recentf-mode):
13767 * reveal.el (reveal-mode, global-reveal-mode):
13768 * rfn-eshadow.el (file-name-shadow-mode):
13769 * ruler-mode.el (ruler-mode):
13770 * savehist.el (savehist-mode):
13771 * scroll-all.el (scroll-all-mode):
13772 * scroll-bar.el (scroll-bar-mode):
13773 * server.el (server-mode):
13774 * shell.el (shell-dirtrack-mode):
13775 * simple.el (auto-fill-mode, transient-mark-mode)
13776 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13777 (line-number-mode, column-number-mode, size-indication-mode)
13778 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13779 * strokes.el (strokes-mode):
13780 * time.el (display-time-mode):
13781 * t-mouse.el (gpm-mouse-mode):
13782 * tool-bar.el (tool-bar-mode):
13783 * tooltip.el (tooltip-mode):
13784 * type-break.el (type-break-mode-line-message-mode)
13785 (type-break-query-mode):
13786 * view.el (view-mode):
13787 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13788 (global-whitespace-mode, global-whitespace-newline-mode):
13789 * xt-mouse.el (xterm-mouse-mode): Doc fix.
13790
13791 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13792 Fix autogenerated docstring.
13793
13794 2011-10-19 Juri Linkov <juri@jurta.org>
13795
13796 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13797 by checking environment variables "DESKTOP_SESSION" and
13798 "XDG_CURRENT_DESKTOP". (Bug#9779)
13799
13800 2011-10-19 Juri Linkov <juri@jurta.org>
13801
13802 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13803 (browse-url-chromium-program, browse-url-chromium-arguments):
13804 New defcustoms.
13805 (browse-url-default-browser): Check for `browse-url-chromium' and
13806 call `browse-url-chromium-program'.
13807 (browse-url-chromium): New command. (Bug#9779)
13808
13809 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
13810
13811 * facemenu.el (list-colors-duplicates): On Windows, detect more
13812 duplicates by assuming that only colors matching "^System" are
13813 special "system colors". (Bug#9722)
13814
13815 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13816
13817 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13818 to distinguish the author from the committer.
13819
13820 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
13821
13822 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13823
13824 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13825
13826 * international/mule.el (sgml-html-meta-auto-coding-function):
13827 Add support for detecting encoding in HTML5 specified only as
13828 <meta charset="UTF-8">. Implementation just makes http-equiv and
13829 content-type parts from HTML4 encoding string optional. (Bug#9716)
13830
13831 2011-10-18 Glenn Morris <rgm@gnu.org>
13832
13833 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13834
13835 2011-10-18 Chong Yidong <cyd@gnu.org>
13836
13837 * faces.el (cursor): Doc fix.
13838
13839 2011-10-17 Chong Yidong <cyd@gnu.org>
13840
13841 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13842
13843 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
13844
13845 * dirtrack.el (dirtrack): Support shell buffers with path
13846 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13847
13848 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13849
13850 * json.el: Bump version to 1.3 and note change in History.
13851 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13852
13853 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13854
13855 * comint.el (comint-insert-input, comint-send-input)
13856 (comint-get-old-input-default, comint-backward-matching-input)
13857 (comint-next-prompt): Use nil instead of `input' for field property of
13858 past user input (bug#114).
13859
13860 * minibuffer.el (completion--replace): Inherit surrounding properties
13861 (bug#114).
13862 (minibuffer-complete-and-exit): Use it.
13863
13864 * comint.el (comint--table-subvert): Quote the all-completions output
13865 (bug#9160).
13866
13867 2011-10-17 Martin Rudalics <rudalics@gmx.at>
13868
13869 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
13870
13871 * menu-bar.el (menu-bar-file-menu): Add entry for making new
13872 window on right of selected. (Bug#9350) Reword other window
13873 entries and separate them from frame entries.
13874
13875 2011-10-15 Glenn Morris <rgm@gnu.org>
13876
13877 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13878 Doc fixes.
13879
13880 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
13881
13882 * net/network-stream.el (network-stream-open-starttls):
13883 Improve detection of failure due to lack of TLS support.
13884
13885 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13886 putting the input text in front and in bold.
13887
13888 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13889
13890 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13891
13892 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13893 empty buffer.
13894
13895 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13896 unread-command-events rather than pushing yet-another event.
13897
13898 2011-10-14 Eli Zaretskii <eliz@gnu.org>
13899
13900 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13901 the explanation of the possible choices. Make the options passed
13902 to completing-read shorter.
13903
13904 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13905
13906 * textmodes/flyspell.el (flyspell-large-region): Make sure
13907 extended character mode is used if defined (Bug#1339).
13908
13909 2011-10-13 Eli Zaretskii <eliz@gnu.org>
13910
13911 * simple.el (what-cursor-position): Fix the display of the
13912 character info for LRE, LRO, RLE, and RLO characters by appending
13913 an invisible PDF.
13914
13915 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13916
13917 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13918 even in case of error; add debug spec; simplify data flow.
13919 (with-timeout-handler): Remove.
13920
13921 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
13922
13923 Fix Bug#6019, Bug#9315.
13924
13925 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13926 complete `buffer-file-name', the local file name part could look
13927 remotely (for example on VMS).
13928
13929 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13930 `tramp-run-real-handler'.
13931 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13932 already quoted by '"'.
13933
13934 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13935 Let `file-name-handler-alist' be nil, the local file name part
13936 could look remotely (for example on VMS).
13937
13938 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13939
13940 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13941 from here...
13942 (flyspell-post-command-hook): ...to here.
13943
13944 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13945
13946 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13947 if not needed.
13948 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13949 using completion. Protect against "slow" callers.
13950 Remove the "message hack".
13951
13952 2011-10-11 Juri Linkov <juri@jurta.org>
13953
13954 * isearch.el (isearch-lazy-highlight-word): New variable.
13955 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13956 Use it. (Bug#9727)
13957
13958 2011-10-11 Glenn Morris <rgm@gnu.org>
13959
13960 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13961 like f90-previous-statement does.
13962
13963 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13964
13965 * eshell/eshell.el (eshell-command): History should be saved
13966 only in interactive use, to avoid error.
13967
13968 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13969
13970 * minibuffer.el (completion-file-name-table): Fix last change,
13971 i.e. ignore normal errors but not the other ones.
13972
13973 2011-10-10 Martin Rudalics <rudalics@gmx.at>
13974
13975 * window.el (special-display-buffer-names)
13976 (special-display-regexps): Remove some remnants of earlier
13977 changes from doc-strings.
13978 (quit-windows-on): New function.
13979
13980 * vc/vc.el (vc-revert, vc-rollback):
13981 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13982 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
13983 (Bug#6183) (Bug#7074) (Bug#7447)
13984
13985 2011-10-09 Martin Rudalics <rudalics@gmx.at>
13986
13987 * window.el (frame-auto-hide-function): Add version tag.
13988 (Bug#9699)
13989
13990 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
13991
13992 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13993 condition.
13994
13995 2011-10-09 Leo Liu <sdl.web@gmail.com>
13996
13997 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13998 (Bug#9701)
13999
14000 2011-10-08 Glenn Morris <rgm@gnu.org>
14001
14002 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
14003 before the first code statement zero indent. (Bug#9690)
14004
14005 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
14006
14007 * simple.el (count-words-region): Always count in the region.
14008 Report the number of lines and characters too.
14009 (count-words): New command, which counts in the buffer if the
14010 region is inactive, as count-words-region used to.
14011 (count-words--message): New function. Handle plurals.
14012 (count-lines-region): Make it an alias for count-words-region.
14013
14014 * bindings.el (esc-map): Replace count-lines-region with
14015 count-words-region.
14016
14017 2011-10-08 Martin Rudalics <rudalics@gmx.at>
14018
14019 * window.el (window--delete): Delete dedicated frame
14020 unconditionally when argument KILL is non-nil. (Bug#9699)
14021 (switch-to-buffer): Fix doc-string typo.
14022
14023 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14024
14025 * eshell/eshell.el (eshell-command): Avoid using hooks.
14026
14027 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
14028
14029 * bindings.el ([M-left],[M-right]): Bind to left-word and
14030 right-word respectively.
14031
14032 2011-10-07 Glenn Morris <rgm@gnu.org>
14033
14034 * cus-start.el (debug-on-quit): Fix custom type.
14035
14036 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14037
14038 * subr.el (define-key-after): Clarify that the function is not
14039 useful for non-menu keymaps.
14040
14041 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
14042
14043 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14044
14045 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
14046 in current minibuffer (Fix bug with recursive minibuffers).
14047
14048 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
14049
14050 * progmodes/gdb-mi.el (gdb): Doc fix.
14051
14052 2011-10-05 Martin Rudalics <rudalics@gmx.at>
14053
14054 * window.el (frame-auto-hide-function): New option replacing
14055 frame-auto-delete. Suggested by Stefan Monnier.
14056 (window--delete): Call frame-auto-hide-function instead of
14057 investigating frame-auto-delete.
14058 (window-point-1, set-window-point-1): New functions.
14059 (window-in-direction, record-window-buffer, window-state-get-1)
14060 (display-buffer-record-window): Use window-point-1 instead of
14061 window-point.
14062 (set-window-buffer-start-and-point): Use set-window-point-1.
14063
14064 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14065
14066 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
14067
14068 2011-10-05 Glenn Morris <rgm@gnu.org>
14069
14070 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
14071 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
14072
14073 2011-10-05 Leo Liu <sdl.web@gmail.com>
14074
14075 * subr.el (read-char-choice): Fix argument to buffer-live-p which
14076 works with buffer object.
14077
14078 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14079
14080 * mpc.el (mpc-tool-bar-map): Add labels.
14081
14082 2011-10-04 Glenn Morris <rgm@gnu.org>
14083
14084 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14085
14086 2011-10-04 Martin Rudalics <rudalics@gmx.at>
14087
14088 * window.el (window--delete): New function.
14089 (frame-auto-delete): Resuscitate option.
14090 (bury-buffer, replace-buffer-in-windows)
14091 (quit-window): Rewrite using window--delete.
14092 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14093 Pass display-buffer-mark-dedicated to window--display-buffer-2
14094 (Bug#9639).
14095
14096 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14097
14098 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
14099 returns a list (bug#9554). Add remote file name completion.
14100 * comint.el (comint--table-subvert): Curry and get quote&unquote
14101 functions as arguments.
14102 (comint--complete-file-name-data): Adjust call accordingly.
14103 * pcomplete.el (pcomplete--table-subvert): Remove.
14104 (pcomplete-completions-at-point): Use comint--table-subvert instead.
14105
14106 * minibuffer.el (completion-table-case-fold): Use currying.
14107 (completion--styles-type, completion--cycling-threshold-type):
14108 New constants.
14109 (completion-styles, completion-category-overrides)
14110 (completion-cycle-threshold): Use them.
14111 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
14112 completion-table-case-fold.
14113
14114 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
14115
14116 * minibuffer.el (completion-category-overrides): Fix type of styles
14117 and add more user friendly tags (bug#9660).
14118
14119 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14120
14121 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
14122 (mule-input-method-string): New widget.
14123 (default-input-method, language-info-custom-alist): Use it.
14124
14125 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14126
14127 * pcomplete.el: Require comint.
14128 (pcomplete--common-suffix): Remove.
14129 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
14130 (pcomplete--table-subvert): Sync with comint--table-subvert.
14131 (pcomplete--entries): Use comint-completion-file-name-table.
14132 * comint.el (comint-unquote-filename): Simplify.
14133 (comint-completion-file-name-table): New function (bug#9616).
14134 (comint--complete-file-name-data): Use it.
14135
14136 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
14137 (pcmpl-gnu-tar-buffer): Remove.
14138 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
14139 around. Make sure pcomplete-suffix-list is only changed temporarily.
14140 Don't look inside the tar's file if it's too large.
14141
14142 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
14143
14144 * cus-edit.el (custom-mode-map):
14145 * epa.el (epa-key-list-mode-map):
14146 * man.el (Man-mode-map):
14147 * startup.el (splash-screen-keymap):
14148 * simple.el (special-mode-map): Use scroll-up-command and
14149 scroll-down-command.
14150
14151 * progmodes/idlw-help.el (idlwave-help-mode-map):
14152 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
14153 * net/newst-plainview.el (newsticker-mode-map):
14154 * emulation/ws-mode.el (wordstar-mode-map):
14155 * emulation/vi.el (vi-com-map):
14156 * calc/calc-graph.el (calc-graph-show-dumb):
14157 * term/sun.el (terminal-init-sun):
14158 * term/ns-win.el (global-map):
14159 * progmodes/grep.el (grep-mode-map):
14160 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
14161 * mail/rmail.el (rmail-mode-map):
14162 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
14163
14164 * custom.el (custom-safe-themes, load-theme): Treat value of t for
14165 custom-safe-themes as special.
14166
14167 2011-10-01 Julien Danjou <julien@danjou.info>
14168
14169 * notifications.el (notifications-notify): Fix docstring.
14170
14171 2011-10-01 Per Starbäck <per@starback.se>
14172
14173 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
14174
14175 2011-09-30 Martin Rudalics <rudalics@gmx.at>
14176
14177 * startup.el (command-line-1): Fix last fix by inserting
14178 initial-scratch-message into *scratch* before displaying it.
14179 (Bug#9605) and (Bug#9636)
14180
14181 2011-09-29 Eli Zaretskii <eliz@gnu.org>
14182
14183 * simple.el (line-move): If auto-hscroll-mode is disabled and the
14184 window is hscrolled, move by logical lines. (Bug#9607)
14185 (line-move-visual): Update the doc string to the above effect.
14186
14187 2011-09-29 Martin Rudalics <rudalics@gmx.at>
14188
14189 * window.el (display-buffer-record-window): When WINDOW is the
14190 selected window use `point' instead of `window-point'. (Bug#9626)
14191
14192 * startup.el (command-line-1): Use insert-before-markers when
14193 inserting initial-scratch-message. (Bug#9605)
14194
14195 * help.el (help-window): Remove variable.
14196
14197 2011-09-29 Glenn Morris <rgm@gnu.org>
14198
14199 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
14200
14201 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
14202
14203 * descr-text.el (describe-char-categories): Accept category
14204 descriptions more than one line long.
14205
14206 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
14207
14208 * simple.el (delete-trailing-whitespace): Fix last change.
14209
14210 * progmodes/perl-mode.el (perl-syntax-propertize-function):
14211 Don't confuse "y => 3" as the beginning of a `y' operation.
14212
14213 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
14214 object has more than 4 slots (bug#9613).
14215
14216 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
14217
14218 * subr.el (with-output-to-temp-buffer):
14219 * net/quickurl.el (quickurl, quickurl-browse-url):
14220 Fix typos in docstrings.
14221
14222 2011-09-27 Eli Zaretskii <eliz@gnu.org>
14223
14224 * minibuffer.el (completion-styles)
14225 (completion-category-overrides): Cross reference each other in doc
14226 strings.
14227
14228 2011-09-27 Glenn Morris <rgm@gnu.org>
14229
14230 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14231 to split-string. (Bug#9606)
14232
14233 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14234
14235 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14236 (bug#9615).
14237
14238 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
14239
14240 * emacs-lisp/package.el (list-packages): Fix echo area message.
14241
14242 2011-09-27 Leo Liu <sdl.web@gmail.com>
14243
14244 * ido.el (ido-read-internal): Accept cons cell HIST arg.
14245
14246 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
14247
14248 * net/dbus.el (dbus-unregister-object): Don't release services for
14249 registered signals. (Bug#9581)
14250
14251 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
14252
14253 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14254 function that picks between cfengine 2 and 3 support
14255 automatically. Update docs accordingly.
14256
14257 2011-09-22 Kenichi Handa <handa@m17n.org>
14258
14259 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14260 ZERO.
14261 (indian-itrans-v5-table-for-tamil): New variable.
14262 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14263
14264 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
14265
14266 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14267 that's true if the current command involved collapsing of text.
14268 It's reset to false at the beginning of the next command.
14269 (allout-post-command-business): Move the cursor to the beginning
14270 of entry if the cursor is hidden and collapsing activity just
14271 happened.
14272
14273 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
14274
14275 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
14276 tracking (Bug#9541).
14277
14278 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
14279
14280 * net/newst-reader.el (newsticker-html-renderer)
14281 (newsticker-show-news): Automatically load html rendering package
14282 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
14283 because w3m-fill-column is let-bound" and the error "Symbol's value
14284 as variable is void: w3m-fill-column".
14285
14286 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
14287
14288 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
14289 Release services only if they are defined. (Bug#9581)
14290
14291 2011-09-23 Richard Stallman <rms@gnu.org>
14292
14293 * textmodes/paragraphs.el (forward-sentence): For backwards case,
14294 distinguish start of paragraph from start of its text.
14295
14296 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14297
14298 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14299 (rmail-generate-viewer-buffer): Put that hook on view buffer.
14300 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14301
14302 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
14303
14304 * international/mule-diag.el (mule-diag): Insert a newline after
14305 each fontset description.
14306
14307 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14308
14309 * simple.el (delete-trailing-whitespace):
14310 Document last change; simplify.
14311
14312 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
14313
14314 * simple.el (delete-trailing-whitespace): Also delete
14315 extra newlines at the end of the buffer.
14316
14317 * textmodes/picture.el: Make motion commands obey shift-select-mode.
14318 (picture-newline): Use forward-line so as to ignore fields.
14319
14320 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14321
14322 * subr.el (with-wrapper-hook): Fix edebug spec.
14323
14324 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14325
14326 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
14327 (bug#4538).
14328
14329 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
14330
14331 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
14332 Fix nasty bug using wrong cached values.
14333
14334 2011-09-23 Alan Mackenzie <acm@muc.de>
14335
14336 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
14337
14338 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
14339
14340 * window.el (pop-to-buffer): Ensure right window is selected if we
14341 chose another frame.
14342
14343 2011-09-22 Eli Zaretskii <eliz@gnu.org>
14344
14345 * simple.el (what-cursor-position): Use get-char-property-change
14346 and next-single-char-property-change, to be able to show display
14347 properties that come from overlays as well as text properties.
14348
14349 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
14350
14351 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
14352
14353 * cmuscheme.el (run-scheme, switch-to-scheme):
14354 * cus-edit.el (customize-group, custom-buffer-create)
14355 (customize-browse):
14356 * info.el (info):
14357 * shell.el (shell):
14358 * mail/sendmail.el (mail):
14359 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
14360
14361 2011-09-22 Richard Stallman <rms@gnu.org>
14362
14363 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14364 move back only to line beg, don't move back over blank lines.
14365
14366 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
14367
14368 * files.el (copy-directory): Set directory attributes only in case
14369 they could be retrieved from the source directory. (Bug#9565)
14370
14371 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
14372
14373 * progmodes/hideshow.el (hs-looking-at-block-start-p)
14374 (hs-find-block-beginning, hs-hide-level-recursive):
14375 Ignore strings as well as comments. (Bug#9502)
14376
14377 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
14378
14379 * progmodes/sql.el (sql-comint-postgres):
14380 Convert port number to a string. (Bug#9566)
14381
14382 2011-09-22 Martin Rudalics <rudalics@gmx.at>
14383
14384 * window.el (quit-window): Undedicate window when switching to
14385 previous buffer. Reported by Thierry Volpiatto
14386 <thierry.volpiatto@gmail.com>.
14387 (special-display-popup-frame): When popping up a new frame reset
14388 its previous buffers to nil. Simplify code.
14389
14390 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
14391
14392 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
14393 and process filter, as done also in `shell-command'.
14394
14395 2011-09-21 Martin Rudalics <rudalics@gmx.at>
14396
14397 * window.el (set-window-buffer-start-and-point):
14398 Call set-window-start with NOFORCE argument t.
14399 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14400 (quit-window): Reword doc-string. Handle new format of
14401 quit-restore parameter. Don't delete window if it has a
14402 previous buffer we can show instead of the present one.
14403 (display-buffer-record-window): Rewrite using a new format for
14404 the quit-restore window parameter
14405 (special-display-popup-frame, display-buffer-same-window)
14406 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14407 (display-buffer-pop-up-window, display-buffer-use-some-window):
14408 Adapt symbol passed to display-buffer-record-window.
14409 * help.el (help-window-setup): Handle new format of quit-restore
14410 parameter.
14411
14412 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14413
14414 * faces.el (face-list): Fix docstring (bug#9564).
14415
14416 * window.el (display-buffer--action-function-custom-type):
14417 Don't include internal functions in the Custom interface.
14418
14419 2011-09-20 Juri Linkov <juri@jurta.org>
14420
14421 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
14422 (Info-forward-node, Info-backward-node, Info-next-preorder)
14423 (Info-last-preorder): Use it. (Bug#9528)
14424
14425 2011-09-20 Juri Linkov <juri@jurta.org>
14426
14427 * info.el (Info-last-preorder): Visit last menu item only when
14428 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
14429
14430 2011-09-20 Julien Danjou <julien@danjou.info>
14431
14432 * password-cache.el (password-cache-remove): Remove entries even if the
14433 value is nil, so that password with a nil value (negative caching) is
14434 possible to invalidate.
14435
14436 2011-09-20 Lawrence Mitchell <wence@gmx.li>
14437
14438 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14439 all whitespace around breakpoint. (Bug#9553)
14440 (f90-find-breakpoint): Only break at whitespace inside a comment.
14441
14442 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14443
14444 * minibuffer.el (completion-file-name-table): Keep track of errors.
14445 (completion-table-with-predicate): Handle the case where pred1 is nil.
14446 * pcomplete.el (pcomplete-completions-at-point): Simplify.
14447
14448 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14449
14450 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14451 (debugger-return-value): Signal an error if the debugging context does
14452 not await any return value.
14453
14454 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14455 * image-mode.el (image-toggle-display-text)
14456 (image-toggle-display-image): Stay away from evil `intangible'.
14457
14458 2011-09-19 Leo Liu <sdl.web@gmail.com>
14459
14460 * replace.el (occur-revert-arguments): Make it permanent-local.
14461 (occur-mode): Don't call font-lock-defontify.
14462
14463 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
14464
14465 * net/ldap.el (ldap-search-internal): Don't push empty search
14466 result (Bug#9508).
14467
14468 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14469
14470 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14471
14472 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
14473
14474 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14475 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14476
14477 2011-09-18 Juri Linkov <juri@jurta.org>
14478
14479 * buff-menu.el (Buffer-menu-mode-map):
14480 * dired.el (dired-mode-map):
14481 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14482 (lisp-interaction-mode-map):
14483 * emacs-lisp/package.el (package-menu-mode-map):
14484 * epa.el (epa-key-list-mode-map):
14485 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14486 (menu-bar-options-menu):
14487 * outline.el (outline-mode-menu-bar-map):
14488 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14489 * vc/vc-dir.el (vc-dir-menu-map):
14490 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14491 Capitalize non-function content words in menu item strings.
14492
14493 * dired.el (dired-mode-map): Add menu item for
14494 `image-dired-dired-toggle-marked-thumbs'.
14495
14496 2011-09-18 Juri Linkov <juri@jurta.org>
14497
14498 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
14499 to `isearch-case-fold-search' and restore its original value
14500 after the `isearch-mode' call.
14501
14502 2011-09-18 Juri Linkov <juri@jurta.org>
14503
14504 * progmodes/grep.el (grep-process-setup): Don't check code for 1
14505 because `zgrep' returns 1 for successful matches (bug#9226).
14506
14507 2011-09-18 Juri Linkov <juri@jurta.org>
14508
14509 * info.el (Info-extract-menu-node-name): Check the second match
14510 for empty string (second test-case of bug#9528).
14511 (Info-last-preorder): Let-bind `Info-history' to nil to not add
14512 intermediate nodes to the history (first test-case of bug#9528).
14513
14514 2011-09-18 Juri Linkov <juri@jurta.org>
14515
14516 * info.el (Info-mode-syntax-table): New variable.
14517 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
14518
14519 2011-09-18 Juri Linkov <juri@jurta.org>
14520
14521 * info.el (Info-file-supports-index-cookies):
14522 Increment line-beginning-position's arg from 3 to 4 because makeinfo
14523 outputs one more line for long file names (bug#4142).
14524
14525 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
14526
14527 * newcomment.el (comment-normalize-vars): If prompting for
14528 comment-start, set comment-start-skip too (Bug#8424).
14529
14530 2011-09-18 Johan Bockgård <bojohan@gnu.org>
14531
14532 * icomplete.el: Fix previous fix of Bug#5849.
14533 (icomplete-mode): Don't set completion-show-inline-help.
14534 (icomplete-minibuffer-setup): Set completion-show-inline-help
14535 locally during icompletion.
14536
14537 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
14538
14539 * woman.el (woman2-process-escapes): Don't delete unrecognized
14540 escapes (Bug#7843).
14541
14542 * files.el (inhibit-first-line-modes-regexps): Add image files.
14543 (hack-local-variables-prop-line): Return nil for malformed
14544 prop-lines (Bug#9044).
14545
14546 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
14547
14548 * net/tramp.el (top): Don't require 'shell.
14549 (tramp-methods): Fix docstring.
14550 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
14551 Return complete remote file name. Handle "smb" case.
14552 Use `tramp-tmpdir', if defined for the respective method.
14553 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14554
14555 * net/tramp-compat.el (top): Require 'shell.
14556
14557 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14558 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
14559 `tramp-current-host'.
14560 (tramp-get-remote-tmpdir): Remove.
14561
14562 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
14563 `tramp-tmpdir' entries.
14564 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
14565 (tramp-smb-handle-file-attributes): Ignore errors.
14566 (tramp-smb-wait-for-output): Check also for process end.
14567
14568 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
14569
14570 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
14571 when sending QUIT (bug#9312).
14572
14573 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
14574
14575 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
14576 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
14577 occur-mode-display-occurrence.
14578 (occur-edit-mode): Add usage message.
14579 (occur-cease-edit): New command.
14580 (occur-after-change-function): Use text properties to find the
14581 position of the prefix text.
14582 (occur-engine): Set stickiness of prefix text properties.
14583
14584 2011-09-17 Glenn Morris <rgm@gnu.org>
14585
14586 * progmodes/etags.el (complete-tag):
14587 Fix call to completion-in-region. (Bug#9526)
14588
14589 2011-09-17 Juri Linkov <juri@jurta.org>
14590
14591 * textmodes/ispell.el (ispell-word): Add to the error message
14592 the word, ispell program name and current dictionary (bug#9121).
14593 (ispell-tex-arg-end): Capitalize "error" in the error message.
14594
14595 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
14596
14597 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
14598 check. (Bug#4251)
14599
14600 2011-09-17 Juri Linkov <juri@jurta.org>
14601
14602 * window.el (window-safe-min-height, window-safe-min-width):
14603 Fix typos (followup to bug#9522).
14604
14605 2011-09-17 Sven Joachim <svenjoac@gmx.de>
14606
14607 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
14608
14609 2011-09-16 Eli Zaretskii <eliz@gnu.org>
14610
14611 * simple.el (line-move): If goal-column is set, move by logical
14612 lines, not by display lines. (Bug#971)
14613 (next-line, previous-line, goal-column, line-move-visual): Doc fix
14614 to reflect the above change.
14615
14616 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14617
14618 * image.el (imagemagick-register-types): Use regexp-opt.
14619
14620 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14621
14622 * window.el (display-buffer-base-action): Rename from
14623 display-buffer-default-action. Make default value empty.
14624 (display-buffer-overriding-action): Convert to defvar.
14625 (display-buffer-fallback-action): New var.
14626
14627 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14628
14629 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
14630 declaration.
14631 (package--add-to-archive-contents): If there is a duplicate entry
14632 with an older version, remove it.
14633 (package-menu-mark-delete, package-menu-mark-install)
14634 (package-menu-mark-unmark): Make unused args optional.
14635 (package-menu-mark-obsolete-for-deletion):
14636 Use package-menu-get-status instead of a regexp search.
14637 (package-menu-get-status): Use tabulated-list-entry.
14638 (package-menu-mark-upgrades): New command.
14639 (package-menu-mode-map): Bind it to U. Add it to menu bar.
14640 (package-menu-execute): Do installation before deletion.
14641 (package-menu-refresh, package-menu-execute): Use derived-mode-p
14642 instead of checking major-mode.
14643 (package-menu--find-upgrades): New function.
14644
14645 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14646
14647 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
14648 passwords in the log buffer.
14649 (smtpmail-process-filter): Update the process marker so that the
14650 "broken by peer" status message is inserted in the right place.
14651
14652 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14653
14654 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
14655 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
14656 bibtex-completion-at-point-function.
14657 (bibtex-completion-at-point-function): Use them.
14658
14659 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
14660
14661 * mpc.el (mpc-constraints-tag-lookup): New function.
14662 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
14663 also to browser "album|playlist".
14664
14665 2011-09-14 Juri Linkov <juri@jurta.org>
14666
14667 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
14668 (isearch-edit-string): Use length of `isearch-string' when
14669 `isearch-fail-pos' returns nil.
14670 (isearch-message): Remove duplicate code and call
14671 `isearch-fail-pos' with arg `t'.
14672
14673 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
14674
14675 * replace.el (occur-mode-goto-occurrence): Don't force using other
14676 window (Bug#9499).
14677
14678 * dired-aux.el (dired-do-chmod): Don't provide initial input.
14679
14680 2011-09-14 Martin Rudalics <rudalics@gmx.at>
14681
14682 * window.el (display-buffer-window): Remove.
14683 (display-buffer-record-window): Use help-setup window parameter
14684 instead of variable display-buffer-window.
14685 (display-buffer-function, special-display-buffer-names)
14686 (special-display-function): Mention help-setup parameter instead
14687 of display-buffer-window in doc-string.
14688 * help.el (help-window-setup): New argument help-window.
14689 Use help-window-setup parameter instead of display-buffer-window.
14690 Reword some messages.
14691 (with-help-window): Pass window used for displaying the buffer
14692 to help-window-setup. Don't set display-buffer-window.
14693
14694 2011-09-13 Glenn Morris <rgm@gnu.org>
14695
14696 * emacs-lisp/debug.el (debugger-make-xrefs):
14697 Preserve point. (Bug#9462)
14698
14699 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14700
14701 * window.el (window-deletable-p): Use next-frame.
14702
14703 2011-09-13 Martin Rudalics <rudalics@gmx.at>
14704
14705 * window.el (window-auto-delete): Remove.
14706 (window-deletable-p): Remove argument FORCE. Don't deal with
14707 dedication and previous buffers.
14708 (switch-to-prev-buffer): Don't delete window.
14709 (delete-windows-on): Delete a window's frame if and only if the
14710 window is dedicated.
14711 (replace-buffer-in-windows): Delete buffer's window or frame if
14712 and only if window is dedicated.
14713 (quit-window): Handle quit-restore as before last change.
14714 (bury-buffer): Delete window only if window-deletable-p returns t.
14715
14716 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14717
14718 * window.el (window-deletable-p): Never delete the last frame on a
14719 given terminal.
14720
14721 2011-09-13 Glenn Morris <rgm@gnu.org>
14722
14723 * help.el (describe-key-briefly): Copy previous standard-output change.
14724
14725 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
14726
14727 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
14728
14729 2011-09-13 Glenn Morris <rgm@gnu.org>
14730
14731 * emacs-lisp/lisp-mode.el (lisp-indent-function):
14732 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
14733
14734 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
14735
14736 * dired-aux.el (dired-mark-read-string): Don't return default
14737 value on empty input (Bug#9361).
14738 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14739 Omit initial minibuffer contents.
14740 (dired-do-chmod): Signal an error on empty input.
14741 (dired-mark-read-string): Don't return default on empty input.
14742
14743 * files.el (file-modes-symbolic-to-number): Doc fix.
14744
14745 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14746
14747 * international/mule-cmds.el (ucs-completions): Remove.
14748 (read-char-by-name): Use complete-with-action instead; add metadata.
14749
14750 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
14751
14752 * window.el (display-buffer--action-function-custom-type)
14753 (display-buffer--action-custom-type): New vars.
14754 (display-buffer-alist, display-buffer-default-action)
14755 (display-buffer-overriding-action): Add defcustom types.
14756
14757 * frame.el (delete-other-frames): Doc fix (Bug#276).
14758
14759 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14760
14761 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14762
14763 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
14764
14765 Change modes that used same-window-* vars to use switch-to-buffer.
14766
14767 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14768 Use switch-to-buffer.
14769
14770 * cus-edit.el (customize-group, custom-buffer-create)
14771 (customize-browse, custom-buffer-create-other-window):
14772 Use switch-to-buffer or switch-to-buffer-other-window.
14773
14774 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14775 (Info-prev, Info-up, Info-speedbar-goto-node)
14776 (info-display-manual): Use switch-to-buffer.
14777 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14778
14779 * mail/sendmail.el (mail): Use switch-to-buffer.
14780 (mail-recover): Use switch-to-buffer-other-window.
14781
14782 * cmuscheme.el (run-scheme, switch-to-scheme):
14783 * ielm.el (ielm):
14784 * shell.el (shell):
14785 * net/rlogin.el (rlogin):
14786 * net/telnet.el (telnet, rsh):
14787 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14788
14789 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14790
14791 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14792
14793 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14794
14795 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14796 so don't mention it (bug#9301).
14797 (dired-sort-toggle-or-edit): Clarify string further.
14798
14799 * faces.el (face-spec-set-match-display): Make `(type graphic)'
14800 match `x', `w32' and `ns', like the manual says (bug#9029).
14801
14802 * subr.el (eval-after-load): Doc string clarification (bug#9125).
14803 (process-kill-buffer-query-function): Mention the buffer name in
14804 the query.
14805
14806 * image-mode.el (image-next-line): The line parameter is mandatory
14807 (bug#9258).
14808
14809 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14810 which can be useful (bug#9301).
14811
14812 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14813
14814 * subr.el (match-string): Mention that the current buffer should
14815 be the same as the search was done in (bug#9282).
14816
14817 * facemenu.el: Disable the remove-* commands if the mark isn't
14818 active (bug#9162).
14819
14820 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
14821
14822 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14823 of display-buffer.
14824 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14825
14826 * replace.el (occur-mode-goto-occurrence)
14827 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14828 and display-buffer.
14829
14830 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14831 display-buffer.
14832
14833 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14834 special-display and same-window variables.
14835 (mail-other-window): Use switch-to-buffer-other-window.
14836 (mail-other-frame): USe switch-to-buffer-other-frame.
14837
14838 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14839 Use display-buffer-other-frame.
14840 (gdb-display-gdb-buffer): Use pop-to-buffer.
14841
14842 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14843
14844 * progmodes/python.el: Don't set same-window-buffer-names.
14845
14846 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14847
14848 * window.el (display-buffer-alist): Add *Python*.
14849
14850 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
14851
14852 * window.el (display-buffer-alist): Add entry for buffers
14853 previously handled same-window-*.
14854 (display-buffer-alist, display-buffer-default-action)
14855 (display-buffer-overriding-action): Mark as risky.
14856 (display-buffer-alist): Document action function changes.
14857 (display-buffer--same-window-action)
14858 (display-buffer--other-frame-action): New variables.
14859 (switch-to-buffer, display-buffer-other-frame): Use them.
14860 (display-buffer): Rename reuse-frame entry to reusable-frames.
14861 (display-buffer-reuse-selected-window): Function deleted.
14862 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14863 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14864 (display-buffer-special): New function.
14865 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14866 display-buffer-reuse-or-pop-window. Split off special-display
14867 part into display-buffer-special.
14868 (display-buffer-use-some-window): Don't perform any special
14869 pop-up-frames handling.
14870 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
14871 (display-buffer--maybe-same-window): Rename from
14872 display-buffer-maybe-same-window.
14873
14874 * info.el: Don't set same-window-regexps.
14875 (info-setup): New function.
14876 (info-other-window, info): Call it.
14877
14878 * cus-edit.el: Don't set same-window-regexps.
14879 (customize-group): New argument.
14880 (customize-group-other-window): Use it.
14881 (customize-face, customize-face-other-window): Likewise.
14882 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14883
14884 * net/rlogin.el:
14885 * net/telnet.el:
14886 * progmodes/gud.el: Don't set same-window-regexps.
14887
14888 * cmuscheme.el:
14889 * ielm.el:
14890 * shell.el:
14891 * mail/sendmail.el:
14892 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14893
14894 2011-09-10 Juri Linkov <juri@jurta.org>
14895
14896 * isearch.el (isearch-edit-string): Remove obsolete mention of
14897 `C-w' (`isearch-yank-word-or-char') from docstring.
14898 (isearch-query-replace): Fix typo in docstring (bug#9466).
14899
14900 2011-09-10 Juri Linkov <juri@jurta.org>
14901
14902 * paren.el (show-paren-function): Don't show escaped parens.
14903 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14904
14905 2011-09-10 Eli Zaretskii <eliz@gnu.org>
14906
14907 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14908 (mm-default-file-encoding): Remove autoload forms, they are
14909 replaced with autoload cookies in mml.el and mm-encode.el.
14910 (mail-add-attachment): New command.
14911 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14912 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14913 the doc string.
14914 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14915
14916 2011-09-10 Reuben Thomas <rrt@sc3d.org>
14917
14918 * simple.el (count-words-region): Use buffer if there's no region
14919 (bug#9429).
14920
14921 2011-09-09 Juri Linkov <juri@jurta.org>
14922
14923 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14924 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14925 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14926
14927 2011-09-09 Alan Mackenzie <acm@muc.de>
14928
14929 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14930 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14931
14932 2011-09-09 Eli Zaretskii <eliz@gnu.org>
14933
14934 Fix for Savannah bug#9392.
14935 * simple.el (mail-encode-mml): New defvar.
14936
14937 * mail/rmail.el (mail-encode-mml): Add a defvar.
14938 (rmail-enable-mime-composing): Default to t.
14939 (rmail-forward): Use MIME method of forwarding only if both
14940 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14941 Set mail-encode-mml non-nil if the MIME method was used.
14942
14943 * mail/sendmail.el (mml-to-mime): Add autoload form.
14944 (mail-encode-mml): Add a defvar.
14945 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14946 to nil.
14947 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14948 message through mml-to-mime, and reset mail-encode-mml to nil.
14949
14950 2011-09-09 Glenn Morris <rgm@gnu.org>
14951
14952 * woman.el (woman-if-body): When processing an .el block,
14953 do not delete the next .el block as well. (Bug#9447)
14954 (woman-special-characters): Add oq, cq, and hy characters.
14955
14956 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14957
14958 * window.el (window-deletable-p): Make sure window is live before
14959 invoking window-prev-buffers.
14960
14961 2011-09-08 Leo Liu <sdl.web@gmail.com>
14962
14963 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14964
14965 2011-09-08 Juri Linkov <juri@jurta.org>
14966
14967 * progmodes/compile.el (compilation-environment): Make it
14968 a defcustom (bug#8340).
14969
14970 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14971
14972 * window.el (frame-auto-delete): Rename to window-auto-delete.
14973 Make it control auto-deletion of windows and/or frames.
14974 (window-deletable-p): New argument FORCE. Rewrite conditions
14975 for deleting window/frame. (Bug#9419)
14976 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14977 Rewrite handling of case when window/frame can be deleted.
14978 (delete-windows-on): Call window-deletable-p with new FORCE
14979 argument t. (Bug#9456)
14980
14981 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
14982
14983 * help-mode.el (help-mode): Restore autoload.
14984
14985 2011-09-07 Juri Linkov <juri@jurta.org>
14986
14987 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14988 `compilation-environment'. Set buffer-local
14989 `compilation-environment' to `thisenv' later after (funcall mode).
14990 (Bug#8340)
14991
14992 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14993 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14994 instead of replacing its value. (Bug#8340)
14995
14996 2011-09-07 Juri Linkov <juri@jurta.org>
14997
14998 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14999 based on text properties put by `grep-filter' instead of matching
15000 escape sequences.
15001 (grep-mode): Set buffer-local `compilation-error-screen-columns'
15002 to the value of `grep-error-screen-columns' (bug#9438).
15003
15004 2011-09-07 Juri Linkov <juri@jurta.org>
15005
15006 * simple.el (next-error-highlight, next-error-highlight-no-select):
15007 Doc fix (bug#9432).
15008
15009 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
15010
15011 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15012 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
15013
15014 2011-09-07 Leo Liu <sdl.web@gmail.com>
15015
15016 * net/rcirc.el (rcirc-mode): Conditionally initialize
15017 rcirc-input-ring.
15018
15019 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
15020
15021 * emacs-lisp/find-func.el (find-function-C-source): Only set
15022 find-function-C-source-directory after checking that we found a source
15023 file there (bug#9440).
15024
15025 2011-09-06 Alan Mackenzie <acm@muc.de>
15026
15027 * isearch.el (isearch-other-meta-char): Wherever a key list is
15028 unread, "unread" the prefix arg, too. This fixes bug #8901.
15029
15030 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
15031
15032 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
15033
15034 2011-09-05 Juri Linkov <juri@jurta.org>
15035
15036 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
15037
15038 2011-09-05 Juri Linkov <juri@jurta.org>
15039
15040 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
15041 keeping point where processing of grep matches begins, and
15042 continue to delete remaining escape sequences from the same point.
15043 (grep-filter): Make leading zero optional in "0?1;31m" because
15044 git-grep emits "\033[1;31m" escape sequences unlike expected
15045 "\033[01;31m" as GNU Grep does (bug#9408).
15046 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
15047
15048 2011-09-05 Juri Linkov <juri@jurta.org>
15049
15050 * subr.el (y-or-n-p): Capitalize "yes".
15051
15052 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
15053
15054 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
15055 `tramp-cache-unload-hook' where appropriate.
15056 (tramp-methods): Rename `tramp-remote-sh' to
15057 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
15058 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
15059
15060 * net/tramp-sh.el (top): Don't require 'shell.
15061 (tramp-methods): Add `tramp-remote-shell' and
15062 `tramp-remote-shell-args' entries.
15063 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
15064 (tramp-sh-handle-shell-command): Remove.
15065 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
15066 Use `tramp-remote-shell'.
15067
15068 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
15069
15070 * mail/sendmail.el (sendmail-query-once-function): Delete.
15071 (sendmail-query-once): Save directly to send-mail-function.
15072 Update message-send-mail-function too.
15073
15074 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
15075
15076 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15077
15078 * progmodes/python.el (python-mode-map): Use correct function to
15079 start python interpreter from menu-bar (as reported by Geert
15080 Kloosterman).
15081 (inferior-python-mode-map): Fix typo.
15082 (python-shell-map): Remove.
15083
15084 2011-09-03 Deniz Dogan <deniz@dogan.se>
15085
15086 * net/rcirc.el (rcirc-print): Simplify code for
15087 rcirc-scroll-show-maximum-output. There is no need to walk
15088 through all windows to find the right one.
15089
15090 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15091
15092 * help.el (help-return-method): Doc fix.
15093
15094 2011-09-03 Martin Rudalics <rudalics@gmx.at>
15095
15096 * window.el (window-deletable-p): Don't return a non-nil value
15097 when there's a buffer that was shown in the window before.
15098 (Bug#9419)
15099 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15100 Set window's previous buffers to nil.
15101
15102 2011-09-03 Eli Zaretskii <eliz@gnu.org>
15103
15104 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
15105 newline before and after the tag line, so it doesn't interfere
15106 with determining the paragraph direction of bidirectional text.
15107
15108 2011-09-03 Leo Liu <sdl.web@gmail.com>
15109
15110 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
15111
15112 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
15113
15114 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
15115 (pop-to-buffer): Change interactive spec. Pass second argument
15116 directly to display-buffer.
15117 (display-buffer): Fix interactive spec. Use functionp to
15118 distinguish between a function and a list of functions.
15119
15120 * abbrev.el (edit-abbrevs):
15121 * arc-mode.el (archive-extract):
15122 * autoinsert.el (auto-insert):
15123 * bookmark.el (bookmark-bmenu-list):
15124 * files.el (find-file):
15125 * view.el (view-buffer):
15126 * progmodes/compile.el (compilation-goto-locus):
15127 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
15128
15129 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
15130
15131 * window.el (display-buffer-alist): Doc fix.
15132 (display-buffer): Add docstring. Don't treat
15133 display-buffer-default specially.
15134 (display-buffer-reuse-selected-window)
15135 (display-buffer-same-window, display-buffer-maybe-same-window)
15136 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15137 (display-buffer-pop-up-window)
15138 (display-buffer-reuse-or-pop-window)
15139 (display-buffer-use-some-window): New functions.
15140 (display-buffer-default-action): Use them.
15141 (display-buffer-default): Delete.
15142 (pop-to-buffer-1): Fix choice of actions.
15143
15144 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
15145
15146 * minibuffer.el (completion--insert-strings): Don't get confused by
15147 completion entries that end with an LF char.
15148
15149 2011-09-01 Eli Zaretskii <eliz@gnu.org>
15150
15151 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
15152
15153 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
15154
15155 * window.el (display-buffer): Restore interactive spec.
15156 (display-buffer-same-window, display-buffer-other-window):
15157 New functions.
15158 (pop-to-buffer-1): New function. Use the above.
15159 (pop-to-buffer, pop-to-buffer-same-window): Use it.
15160 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
15161
15162 * view.el (view-buffer-other-window, view-buffer-other-frame):
15163 Just use pop-to-buffer.
15164
15165 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15166
15167 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
15168
15169 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
15170
15171 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
15172
15173 2011-08-31 Richard Stallman <rms@gnu.org>
15174
15175 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
15176 of the separation of rmail-view-buffer from rmail-buffer.
15177 If you say no to "replace original", the decrypt is in the
15178 view buffer. If you say yes, the decrypt goes into the
15179 rmail buffer also.
15180
15181 2011-08-31 Martin Rudalics <rudalics@gmx.at>
15182
15183 * window.el (display-buffer-window): Rewrite doc-string.
15184 (display-buffer-record-window): New function.
15185 (display-buffer-macro-specifiers)
15186 (display-buffer-even-window-sizes, display-buffer-set-height)
15187 (display-buffer-set-width, display-buffer-in-window)
15188 (display-buffer-reuse-window, display-buffer-split-specifiers)
15189 (display-buffer-side-specifiers, display-buffer-split-window-1)
15190 (display-buffer-split-window, display-buffer-split-atom-window)
15191 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15192 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
15193 (display-buffer-other-window-means-other-frame)
15194 (display-buffer-normalize-special)
15195 (display-buffer-normalize-default)
15196 (display-buffer-normalize-argument)
15197 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
15198 (display-buffer-normalize-specifiers, display-buffer-frame)
15199 (display-buffer-same-window, display-buffer-same-frame)
15200 (display-buffer-other-window)
15201 (display-buffer-same-frame-other-window)
15202 (display-buffer-other-frame, pop-to-buffer-same-window)
15203 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
15204 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
15205 (switch-to-buffer-same-frame)
15206 (switch-to-buffer-other-window-same-frame)
15207 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
15208 (display-buffer-alist-set-1, display-buffer-alist-set-2)
15209 (display-buffer-alist-set): Remove.
15210 (display-buffer-function, special-display-buffer-names)
15211 (special-display-regexps, special-display-function):
15212 In doc-string refer to display-buffer-window and quit-restore
15213 parameter.
15214 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
15215 (special-display-frame-alist, special-display-popup-frame)
15216 (same-window-buffer-names, same-window-regexps, same-window-p)
15217 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15218 (split-window-preferred-function, split-height-threshold)
15219 (split-width-threshold, window-splittable-p)
15220 (split-window-sensibly, window--try-to-split-window)
15221 (window--frame-usable-p, even-window-heights)
15222 (window--even-window-heights, window--display-buffer-1)
15223 (window--display-buffer-2, display-buffer-other-frame):
15224 Restore old Emacs 23 code, order and doc-strings where applicable.
15225 (display-buffer-default, display-buffer-assq-regexp): New functions.
15226 (display-buffer-alist): Rewrite doc-string.
15227 (display-buffer-default-action)
15228 (display-buffer-overriding-action): New variables.
15229 (display-buffer, switch-to-buffer): Rewrite.
15230 (pop-to-buffer): Restore Emacs 23 behavior but use
15231 window-normalize-buffer-to-display.
15232 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15233 Restore Emacs 23 behavior but use
15234 window-normalize-buffer-to-switch-to.
15235 (pop-to-buffer-same-window): Rewrite.
15236 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15237 Rewrite using Emacs 23 options.
15238
15239 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
15240
15241 * net/tramp.el (tramp-root-regexp): Remove.
15242 (tramp-completion-file-name-regexp-unified)
15243 (tramp-completion-file-name-regexp-separate)
15244 (tramp-completion-file-name-regexp-url): Don't use leading volume
15245 letter on w32 systems. (Bug#5303, Bug#9311)
15246 (tramp-drop-volume-letter): Simplify definition.
15247 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
15248
15249 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15250
15251 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15252 (bug#9356).
15253
15254 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
15255
15256 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
15257
15258 2011-08-29 Juri Linkov <juri@jurta.org>
15259
15260 * isearch.el (isearch-done): Don't display message "Mark saved"
15261 when arg `edit' is non-nil to prevent its flicker in the echo area.
15262
15263 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
15264
15265 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15266 obsolete packages for deletion.
15267
15268 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
15269
15270 * help-mode.el (help-mode-map): Add special-mode-map to parent.
15271 (help-mode): Derive help-mode from special-mode. Don't invoke
15272 view-mode from help-mode.
15273 (help-xref-override-view-map): Remove.
15274 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
15275 view-mode is not used anymore.
15276
15277 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
15278
15279 * server.el (server-port): Doc fix.
15280
15281 * cus-theme.el (custom-theme-choose-mode): Inherit from
15282 special-mode (Bug#9124).
15283 (custom-theme-choose-mode-map): Add special-mode to parent.
15284
15285 2011-08-28 Alan Mackenzie <acm@muc.de>
15286
15287 * progmodes/cc-fonts.el
15288 (c-make-font-lock-BO-decl-search-function): New function.
15289 (c-basic-matchers-after - "Fontify the clauses after various
15290 keywords"): Extract the three keyword lists for the 3 erroneous
15291 constructs from the list of four, and use the new function above
15292 in place of an old one.
15293
15294 2011-08-28 Deniz Dogan <deniz@dogan.se>
15295
15296 * net/rcirc.el (rcirc-insert-prev-input)
15297 (rcirc-insert-next-input): Remove unused argument.
15298
15299 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15300
15301 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15302
15303 2011-08-27 Alan Mackenzie <acm@muc.de>
15304
15305 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15306 handle function pointer parameters properly.
15307
15308 2011-08-27 Martin Rudalics <rudalics@gmx.at>
15309
15310 * window.el (display-buffer-reuse-window): Fix case where
15311 selected window was reused with non-nil OTHER-WINDOW argument.
15312 (Bug#9381)
15313
15314 2011-08-27 Deniz Dogan <deniz@dogan.se>
15315
15316 * net/rcirc.el (rcirc-check-auth-status): Adding support for
15317 oftc's NickServ messages.
15318
15319 2011-08-27 Glenn Morris <rgm@gnu.org>
15320
15321 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
15322
15323 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
15324
15325 * emacs-lisp/package.el (package-install): Call package-initialize
15326 if called interactively.
15327
15328 2011-08-26 Leo Liu <sdl.web@gmail.com>
15329
15330 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
15331
15332 2011-08-25 Juri Linkov <juri@jurta.org>
15333
15334 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15335 `search-whitespace-regexp' (bug#9364).
15336
15337 2011-08-25 Juri Linkov <juri@jurta.org>
15338
15339 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
15340 `regexp-search-ring' to their global values to protect from
15341 updating by `read-from-minibuffer' (bug#9185).
15342
15343 2011-08-25 Juri Linkov <juri@jurta.org>
15344
15345 * textmodes/ispell.el (ispell-command-loop): Add newline
15346 at the end of the "Use option `i'..." line.
15347
15348 2011-08-25 Juri Linkov <juri@jurta.org>
15349
15350 * battery.el (display-battery-mode): If `battery-status-function'
15351 or `battery-mode-line-format' is nil, display the message and set
15352 `display-battery-mode' to nil (bug#9363).
15353
15354 2011-08-25 Eli Zaretskii <eliz@gnu.org>
15355
15356 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15357 bidi-string-mark-left-to-right; they are unnecessary now.
15358
15359 2011-08-25 Deniz Dogan <deniz@dogan.se>
15360
15361 * net/quickurl.el: Documentation typo fixes.
15362
15363 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
15364
15365 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15366
15367 2011-08-25 Glenn Morris <rgm@gnu.org>
15368
15369 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15370
15371 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15372 (smtpmail-via-smtp): Handle nil response from smtp.
15373
15374 2011-08-24 Juri Linkov <juri@jurta.org>
15375
15376 * proced.el (proced-marked): Inherit from `error' instead of
15377 `font-lock-warning-face'.
15378
15379 * ibuffer.el (ibuffer-marked-face): Change default face from
15380 `font-lock-warning-face' to `warning'.
15381 (ibuffer-deletion-face): Change default face from
15382 `font-lock-type-face' to `error'.
15383
15384 * battery.el (battery-update): Use the face `error' instead of
15385 `font-lock-warning-face' (bug#6117).
15386
15387 2011-08-24 Juri Linkov <juri@jurta.org>
15388
15389 * faces.el (success): Change face color from "Green3" to
15390 "ForestGreen" on light background (bug#9353).
15391
15392 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
15393
15394 * window.el (quit-window): Rename from quit-restore-window.
15395 Use same arglist as old quit-window.
15396 (frame-auto-delete): Doc fix.
15397
15398 * view.el (view-mode-exit): Use quit-window.
15399
15400 2011-08-24 Juri Linkov <juri@jurta.org>
15401
15402 * isearch.el (isearch-ring-adjust1): Start visiting previous
15403 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
15404 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
15405 for empty search string (when the last search string is reused
15406 automatically) to adjust the isearch ring to the last element and
15407 prepare the correct index for further M-p commands (bug#9185).
15408
15409 2011-08-24 Kenichi Handa <handa@m17n.org>
15410
15411 * international/ucs-normalize.el: If decomposition property of
15412 CHAR is the default one (i.e. a list of CHAR itself), treat it as
15413 nil.
15414 (nfd, nfkd): Likewise.
15415
15416 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15417
15418 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
15419 from process filters aren't reliably transmitted to the surrounding
15420 accept-process-output.
15421 (mpc-proc-check): New function.
15422 (mpc-proc-sync): Use it (bug#8293)
15423
15424 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15425
15426 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
15427 Add compatibility functions (bug#9313).
15428
15429 2011-08-23 Eli Zaretskii <eliz@gnu.org>
15430
15431 * cus-start.el (all): Add entry for bidi-paragraph-direction.
15432
15433 * international/uni-bidi.el: Regenerate.
15434
15435 2011-08-23 Kenichi Handa <handa@m17n.org>
15436
15437 * international/charprop.el:
15438 * international/uni-bidi.el:
15439 * international/uni-category.el:
15440 * international/uni-combining.el:
15441 * international/uni-comment.el:
15442 * international/uni-decimal.el:
15443 * international/uni-decomposition.el:
15444 * international/uni-digit.el:
15445 * international/uni-lowercase.el:
15446 * international/uni-mirrored.el:
15447 * international/uni-name.el:
15448 * international/uni-numeric.el:
15449 * international/uni-old-name.el:
15450 * international/uni-titlecase.el:
15451 * international/uni-uppercase.el: Regenerate.
15452
15453 2011-08-23 Martin Rudalics <rudalics@gmx.at>
15454
15455 * help.el (help-window-setup): Fix message displayed when other
15456 window is reused. (Bug#9341)
15457
15458 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15459
15460 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15461 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15462
15463 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15464 Mark obsolete.
15465 * shell.el (shell-parse-pcomplete-arguments): New function.
15466 (shell-completion-vars): Use it instead (bug#9160).
15467
15468 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15469
15470 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15471 strings and comments (bug#9333).
15472
15473 * emacs-lisp/debug.el (debug-arglist): New function.
15474 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
15475 (debug-on-entry-1): Handle interpreted closures (bug#9120).
15476
15477 2011-08-22 Juri Linkov <juri@jurta.org>
15478
15479 * progmodes/compile.el (compilation-mode-font-lock-keywords):
15480 Revert regexp that highlights output switches to its old
15481 pre-2010-10-28 value and remove one `?' from it (bug#9319).
15482
15483 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15484 to check for empty output (bug#9226).
15485
15486 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
15487
15488 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15489 symbol-constituent as the default, as that stops font-lock from
15490 working properly (Bug#8843).
15491
15492 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15493
15494 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15495 `coding-system-for-*' around the process open call to avoid
15496 auth-source side effects.
15497 (smtpmail-try-auth-methods): Expand the secret password.
15498 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
15499 probe hangs.
15500
15501 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
15502
15503 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
15504
15505 * emacs-lisp/find-func.el (find-function-noselect): New arg
15506 lisp-only.
15507
15508 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15509 signal an error for built-in functions (Bug#6664).
15510
15511 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15512
15513 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15514 (smtpmail-try-auth-methods): Use it.
15515
15516 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
15517
15518 * font-lock.el (font-lock-fontify-region)
15519 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
15520 (font-lock-default-unfontify-buffer)
15521 (font-lock-default-fontify-region)
15522 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
15523
15524 * progmodes/compile.el (compilation-error-properties):
15525 Fix confusion between file struct and message struct (Bug#9319).
15526 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
15527 `ant' regexp.
15528
15529 * net/browse-url.el (browse-url-firefox): Don't call
15530 browse-url-firefox-sentinel unless using -remote (Bug#9328).
15531
15532 2011-08-20 Glenn Morris <rgm@gnu.org>
15533
15534 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
15535
15536 * tutorial.el (tutorial--default-keys): Update some default bindings.
15537
15538 * files.el (hack-local-variables): Fully ignore case for "mode:".
15539
15540 2011-08-20 Alan Mackenzie <acm@muc.de>
15541
15542 Resolve invalid use of a regexp in regexp-opt.
15543
15544 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
15545 detection for a java annotation.
15546
15547 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
15548 detection for a java annotation.
15549
15550 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15551 handling for java.
15552 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15553
15554 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
15555
15556 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
15557 (Bug#9274).
15558
15559 2011-08-20 Alan Mackenzie <acm@muc.de>
15560
15561 Fontify CPP expressions correctly when starting in the middle of
15562 such a construct. Mainly for when jit-lock etc. starts a chunk
15563 here.
15564
15565 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
15566 variable.
15567 (c-make-font-lock-search-form): New function, extracted from
15568 c-make-font-lock-search-function.
15569 (c-make-font-lock-search-function): Use the above function.
15570 (c-make-font-lock-context-search-function): New function.
15571 (c-cpp-matchers): Enhance the preprocessor expression case with
15572 the above function
15573 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
15574 which takes an expression.
15575
15576 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
15577
15578 2011-08-20 Martin Rudalics <rudalics@gmx.at>
15579
15580 * window.el (display-buffer-reuse-window)
15581 (display-buffer-pop-up-window): Don't reuse or split a side
15582 window.
15583
15584 2011-08-19 Glenn Morris <rgm@gnu.org>
15585
15586 * files.el (hack-local-variables-prop-line, hack-local-variables):
15587 Downcase "Mode:". (Bug#9331)
15588
15589 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
15590
15591 * international/characters.el: Add L and R categories.
15592
15593 * subr.el (bidi-string-mark-left-to-right): Rename from
15594 string-mark-left-to-right. Use category search.
15595
15596 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
15597
15598 2011-08-18 Juri Linkov <juri@jurta.org>
15599
15600 * faces.el (error, warning, success): New faces with definitions
15601 copied from old default values of `font-lock-warning-face',
15602 `compilation-warning', `compilation-info' (bug#6117).
15603
15604 * font-lock.el (font-lock-warning-face): Inherit from `error'.
15605
15606 * progmodes/compile.el (compilation-error): Inherit from `error'.
15607 (compilation-warning): Inherit from `warning'.
15608 (compilation-info): Inherit from `success'.
15609
15610 * dired.el (dired-marked): Inherit from `warning'.
15611 (dired-flagged): Inherit from `error'.
15612
15613 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15614
15615 * mail/smtpmail.el (auth-source): Require to avoid problems with
15616 binding variables (bug#9298). Also clean up some unused
15617 autoloads.
15618
15619 * net/network-stream.el (network-stream-open-starttls):
15620 Support using starttls.el without using gnutls-cli.
15621
15622 2011-08-17 Juri Linkov <juri@jurta.org>
15623
15624 * progmodes/grep.el (rgrep): Handle the case when
15625 `grep-find-command' is a cons cell (bug#9278).
15626
15627 2011-08-17 Martin Rudalics <rudalics@gmx.at>
15628
15629 * window.el (display-buffer-pop-up-frame): Run frame creation
15630 function with BUFFER current (as special-display-popup-frame
15631 does). Reported by Drew Adams.
15632
15633 2011-08-17 Daiki Ueno <ueno@unixuser.org>
15634
15635 * epa-mail.el: Simplify GnuPG group expansion using
15636 epg-expand-group.
15637 (epa-mail-group-alist, epa-mail-group-modtime)
15638 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
15639 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
15640 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
15641 Remove.
15642
15643 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
15644
15645 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
15646
15647 2011-08-16 Alan Mackenzie <acm@muc.de>
15648
15649 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
15650 Correct, to avoid the inside of macros.
15651
15652 2011-08-16 Richard Stallman <rms@gnu.org>
15653
15654 * epa-mail.el: Handle GnuPG group definitions.
15655 (epa-mail-group-alist, epa-mail-group-modtime)
15656 (epa-mail-gnupg-conf-file): New variables.
15657 (epa-mail-parse-groups, epa-mail-sync-groups)
15658 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
15659 (epa-mail-expand-recipients): New functions.
15660 (epa-mail-encrypt): Call epa-mail-expand-recipients.
15661
15662 * mail/rmail.el (rmail-epa-decrypt): New command.
15663
15664 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
15665 Don't bind buffer-read-only, just inhibit-read-only.
15666 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
15667 (epa-decrypt-armor-in-region): Make error message clearer.
15668
15669 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
15670
15671 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
15672 and "a2b" to "ab" for `prefix'.
15673
15674 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
15675
15676 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
15677 filter groups.
15678 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
15679 Fourquet (Bug#8804).
15680
15681 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
15682
15683 * startup.el (argi): Declare as global variable (bug#9275).
15684
15685 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
15686
15687 * subr.el (string-mark-left-to-right): Search the entire string
15688 for RTL script, not just the terminating character. Doc fix.
15689
15690 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
15691
15692 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
15693 New function.
15694 (js--regexp-literal, js-syntax-propertize-function): Remove.
15695 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
15696 (js-mode-map): Don't rebind electric keys.
15697 (js-insert-and-indent): Remove.
15698 (js-mode): Setup electric-layout and electric-indent instead.
15699
15700 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
15701
15702 2011-08-12 Daiki Ueno <ueno@unixuser.org>
15703
15704 * epa.el (epa-progress-callback-function): Fix the logic of
15705 displaying progress.
15706 * epa-file.el (epa-file-insert-file-contents): Make progress
15707 display more user-friendly.
15708 (epa-file-write-region): Ditto.
15709
15710 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
15711
15712 * subr.el (string-mark-left-to-right): New function.
15713
15714 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
15715 Use string-mark-left-to-right.
15716 (list-buffers-noselect): Caller changed.
15717
15718 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15719 Use string-mark-left-to-right.
15720 (tabulated-list-print): Recenter after moving point.
15721
15722 2011-08-10 Juri Linkov <juri@jurta.org>
15723
15724 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
15725 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
15726 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
15727
15728 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
15729
15730 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
15731 (Bug#7554).
15732
15733 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
15734
15735 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
15736 character. (Bug#6594)
15737
15738 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
15739
15740 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15741 (image-dired--with-db-file): New macro.
15742 (image-dired-write-tags, image-dired-remove-tag)
15743 (image-dired-create-gallery-lists, image-dired-write-comments)
15744 (image-dired-get-comment, image-dired-mark-tagged-files)
15745 (image-dired-list-tags, image-dired-gallery-generate): Use it.
15746 (image-dired-gallery-generate): Use insert-file-contents.
15747
15748 * time.el (display-time-world-list, display-time-world-display):
15749 * time-stamp.el (time-stamp-string):
15750 * vc/add-log.el (add-change-log-entry): Use setenv instead of
15751 set-time-zone-rule (Bug#7337).
15752
15753 2011-08-08 Daiki Ueno <ueno@unixuser.org>
15754
15755 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15756 (epg-error-to-string, epg-errors-to-string): New function.
15757 (epg-wait-for-completion): Reverse errors list.
15758 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15759 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15760 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15761 (epg-sign-keys, epg-generate-key-from-file)
15762 (epg-generate-key-from-string): Format errors by using
15763 epg-errors-to-string (bug#9255).
15764 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15765
15766 2011-08-07 Juri Linkov <juri@jurta.org>
15767
15768 * faces.el (list-faces-display): Remove extra angle bracket
15769 from `help-mode-map'.
15770
15771 * info.el (Info-history-toc-nodes): Doc fix.
15772
15773 * longlines.el (longlines-mode): Doc fix.
15774
15775 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15776
15777 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15778 of statements and in a few more cases (bug#9183).
15779
15780 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15781 New functions.
15782 (cl-transform-lambda): Use them (bug#9239).
15783
15784 2011-08-05 Martin Rudalics <rudalics@gmx.at>
15785
15786 * window.el (display-buffer-same-window)
15787 (display-buffer-same-frame, display-buffer-other-window)
15788 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15789 (pop-to-buffer-other-window)
15790 (pop-to-buffer-same-frame-other-window)
15791 (pop-to-buffer-other-frame): Make them defuns.
15792 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15793
15794 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15795
15796 * subr.el (make-composed-keymap): Move from C. Change calling
15797 convention, and improve docstring to bring attention to a subtle point.
15798 * minibuffer.el (completing-read-default): Adjust accordingly.
15799
15800 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
15801
15802 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15803 (tramp-open-shell): Use `tramp-shell-quote-argument'.
15804
15805 * net/trampver.el: Update release number.
15806
15807 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15808
15809 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15810 "in" (bug#9190).
15811
15812 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15813
15814 * mail/sendmail.el (sendmail-query-once): Restore the current
15815 buffer after querying (bug#9074).
15816
15817 * dired.el (dired-flagged): Use different faces for marked and
15818 flagged files (bug#6117).
15819
15820 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15821 (bug#4433).
15822
15823 * ido.el (ido-mode): Switch off the message if called
15824 non-interactively.
15825
15826 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15827 before 587, since it appears that that's more likely to work for
15828 more people.
15829
15830 * cus-edit.el (custom-file): When running under emacs -q, always
15831 refuse to save the customizations, even if the .emacs file doesn't
15832 exist.
15833
15834 * info.el: Remove the `Info-beginning-of-buffer' function
15835 (bug#8325).
15836
15837 * net/network-stream.el (network-stream-open-starttls):
15838 Use `starttls-available-p' to see whether starttls.el can be used.
15839
15840 2011-08-01 Martin Rudalics <rudalics@gmx.at>
15841
15842 * window.el (display-buffer-in-window): Don't set dedicated status
15843 of window here (Bug#9215).
15844 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15845 (display-buffer-pop-up-side-window)
15846 (display-buffer-in-side-window): Set dedicated status of window here.
15847
15848 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15849
15850 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15851 before binding generated-autoload-file.
15852
15853 2011-08-01 Deniz Dogan <deniz@dogan.se>
15854
15855 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15856
15857 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
15858
15859 Sync with Tramp 2.2.2.
15860
15861 * net/trampver.el: Update release number.
15862
15863 2011-07-30 Juri Linkov <juri@jurta.org>
15864
15865 * dired-aux.el (dired-touch-initial): Remove function.
15866 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15867 current time, and `default' to the last modification time of the
15868 current marked file (bug#6887).
15869
15870 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15871
15872 * simple.el (goto-line): Use string-to-number to provide a
15873 numeric argument to read-number (bug#9163).
15874
15875 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
15876
15877 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15878 connection process, it could be nil.
15879
15880 2011-07-27 Leo Liu <sdl.web@gmail.com>
15881
15882 Simplify url handling in rcirc-mode.
15883
15884 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15885 (rcirc-browse-url-at-mouse): Remove.
15886 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15887
15888 2011-07-26 Alan Mackenzie <acm@muc.de>
15889
15890 Fontify bitfield declarations properly.
15891
15892 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15893 (c-symbol-chars): Now exported as a lang variable.
15894 (c-not-primitive-type-keywords): New lang variable.
15895
15896 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15897 QT keyword "more" to prevent "more slots: ...." being spuriously
15898 parsed as a bitfield declaration.
15899
15900 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15901 Refactor and enhance to handle bitfield declarations.
15902 (c-punctuation-in): New function.
15903 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15904 declarations properly.
15905
15906 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
15907
15908 * calendar/icalendar.el (icalendar--all-events): Take care of
15909 multiple vcalendars in a single file.
15910 (icalendar--convert-float-to-ical): Checkdoc fixes.
15911
15912 2011-07-25 Deniz Dogan <deniz@dogan.se>
15913
15914 * image.el (insert-image): Clarifying docstring.
15915
15916 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
15917
15918 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15919 `tramp-send-command-and-check' if there is no error.
15920 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15921
15922 2011-07-22 Alan Mackenzie <acm@muc.de>
15923
15924 Prevent cc-langs.elc being loaded at run time.
15925
15926 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15927 cc-langs.
15928
15929 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
15930 "(require 'cc-langs)". Quote a form so it will evaluate at
15931 (cc-mode's) compilation time.
15932
15933 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
15934
15935 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15936 loading. (Bug#9114)
15937
15938 2011-07-21 Martin Rudalics <rudalics@gmx.at>
15939
15940 * window.el (display-buffer-pop-up-window)
15941 (display-buffer-pop-up-side-window)
15942 (display-buffer-in-side-window): Call display-buffer-set-height
15943 and display-buffer-set-width after setting the new window's
15944 buffer so `fit-window-to-buffer' and friends work on the right buffer.
15945
15946 2011-07-20 Sam Steingold <sds@gnu.org>
15947
15948 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15949 (etags-tags-included-tables): Call `convert-standard-filename' on
15950 the file names contained in TAGS so that windows Emacs can handle
15951 TAGS files created by cygwin ctags.
15952
15953 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15954
15955 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15956 which apparently didn't work.
15957
15958 2011-07-19 Roland Winkler <winkler@gnu.org>
15959
15960 * proced.el (proced-send-signal): For *Marked Processes* buffer
15961 put point at beginning of buffer.
15962
15963 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
15964
15965 * proced.el (proced-format): Make header lines align with the text
15966 (bug#1779).
15967
15968 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15969
15970 * view.el (view-buffer): Allow running in `special' modes if we're
15971 visiting a file (bug#8615).
15972
15973 2011-07-19 Martin Rudalics <rudalics@gmx.at>
15974
15975 * window.el (display-buffer-alist-of-strings-p)
15976 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15977 New functions.
15978 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15979 more accurately.
15980
15981 2011-07-18 Alan Mackenzie <acm@muc.de>
15982
15983 Fontify declarators properly when, e.g., a jit-lock chunk begins
15984 inside a declaration.
15985
15986 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15987
15988 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15989 New function.
15990 (c-complex-decl-matchers): Insert reference to
15991 c-font-lock-enclosing-decls.
15992
15993 * progmodes/cc-engine.el (c-backward-single-comment):
15994 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15995 to nil around calls to (forward-comment -1).
15996
15997 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15998
15999 * image.el (put-image): Doc typo fix.
16000
16001 * progmodes/etags.el (tags-search): Doc typo fix.
16002
16003 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
16004 password if we get errors 550 to 554.
16005
16006 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
16007
16008 * net/gnutls.el (gnutls-log-level): Remove.
16009
16010 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
16011 indentation character (bug#6380).
16012
16013 * files.el (buffer-offer-save): Made permanently local (bug#6241).
16014
16015 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
16016 to clarify what the problem is (bug#4291).
16017
16018 * simple.el (current-kill): Clarify what
16019 `interprogram-paste-function' does (bug#7500).
16020 (auto-fill-mode): Document `auto-fill-function' in relation to
16021 `auto-fill-mode' (bug#2470).
16022
16023 2011-07-16 Lawrence Mitchell <wence@gmx.li>
16024
16025 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
16026 method if slot is read-only (bug#9035).
16027
16028 2011-07-16 Martin Rudalics <rudalics@gmx.at>
16029
16030 * frame.el (select-frame-set-input-focus): New argument NORECORD.
16031 * window.el (pop-to-buffer): Select window used even if it was
16032 selected before, see discussion of (Bug#8615), (Bug#6954).
16033 Pass argument NORECORD on to select-frame-set-input-focus.
16034
16035 2011-07-15 Glenn Morris <rgm@gnu.org>
16036
16037 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
16038 Respect help-form.
16039
16040 2011-07-09 Lawrence Mitchell <wence@gmx.li>
16041
16042 * net/gnutls.el (gnutls-min-prime-bits): New variable.
16043 (gnutls-negotiate): Use it.
16044
16045 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16046
16047 * net/gnutls.el (gnutls-negotiate):
16048 Upcase `gnutls-algorithm-priority'.
16049
16050 2011-07-15 Glenn Morris <rgm@gnu.org>
16051
16052 * jka-compr.el (jka-compr-verbose): Move from here...
16053 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
16054 Add missing :version tag.
16055 * info.el: No need to require jka-compr when compiling.
16056
16057 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16058
16059 * net/gnutls.el (gnutls-algorithm-priority): New variable.
16060 (gnutls-negotiate): Use it.
16061
16062 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
16063
16064 * info.el (Info-beginning-of-buffer): New command.
16065 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
16066 announcing `b' as the key (bug#8325).
16067 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
16068
16069 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
16070
16071 * international/mule-cmds.el
16072 (describe-specified-language-support): Make the error message
16073 clearer (bug#8905).
16074
16075 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
16076
16077 * isearch.el (isearch-barrier): Add a doc string, since it's
16078 mentioned in a function doc string (bug#8678).
16079
16080 2011-07-15 Martin Rudalics <rudalics@gmx.at>
16081
16082 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
16083 buffer argument (Bug#9083) and self-identifying label argument.
16084
16085 2011-07-15 Glenn Morris <rgm@gnu.org>
16086
16087 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
16088
16089 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16090
16091 * man.el (Man-fontify-manpage): Fix message when formatting the
16092 man page (bug#7929).
16093
16094 2011-07-14 Eli Zaretskii <eliz@gnu.org>
16095
16096 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
16097 argument LRM; if non-nil, append an invisible LRM character to the
16098 buffer name.
16099 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
16100 last argument non-nil, when formatting buffer names.
16101 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
16102 paragraph direction.
16103
16104 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16105
16106 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
16107 the man page name (bug#7929).
16108
16109 * image.el (put-image): Mention the `put-image' overlay property
16110 (bug#7834).
16111
16112 * scroll-bar.el (set-scroll-bar-mode): Mention that
16113 `scroll-bar-mode' lists the values (bug#7772).
16114
16115 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
16116 command (bug#7729).
16117
16118 * rect.el (apply-on-rectangle): Return the point after the last
16119 operation.
16120 (string-rectangle): Go to the point after the last operation
16121 (bug#7522).
16122
16123 * printing.el (pr-toggle-region): Clarify the documentation
16124 slightly (bug#7493).
16125
16126 * time.el (display-time-update):
16127 Allow `display-time-mail-function' to return nil (bug#7158).
16128 Fix suggested by Detlev Zundel.
16129
16130 * vc/diff.el (diff): Clarify the order the file names are read
16131 (bug#7111).
16132
16133 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
16134 the doc string (bug#7015).
16135
16136 * font-lock.el (font-lock-maximum-decoration): Mention what
16137 numeric levels mean (bug#6935).
16138
16139 * startup.el (initial-buffer-choice): Don't mention the `none'
16140 selection, which is against policy.
16141
16142 2011-07-14 Martin Rudalics <rudalics@gmx.at>
16143
16144 * window.el (display-buffer-normalize-special):
16145 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
16146
16147 2011-07-14 Eli Zaretskii <eliz@gnu.org>
16148
16149 * subr.el (version<, version<=, version=): Mention "-CVS" and
16150 "-12345" alpha version numbers.
16151
16152 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
16153
16154 * bindings.el: Add advertised binding for set-mark-command
16155 (Bug#5772).
16156
16157 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
16158
16159 * bindings.el (mode-line-other-buffer):
16160 * bookmark.el (bookmark-bmenu-2-window):
16161 * bs.el (bs-cycle-next, bs-cycle-previous):
16162 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
16163 switch-to-buffer.
16164
16165 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16166 Delete.
16167
16168 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
16169
16170 * follow.el (follow-debug-message, follow-redisplay):
16171 * jka-cmpr-hook.el (with-auto-compression-mode):
16172 Fix typos in docstrings.
16173
16174 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16175
16176 * subr.el (with-silent-modifications): Clarify somewhat what the
16177 macro inhibits (bug#6525).
16178
16179 * simple.el (eval-expression): Note what it does if called
16180 interactively (bug#6495).
16181
16182 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
16183
16184 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
16185 Use pop-to-buffer buffer-or-name if it is nil.
16186
16187 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16188 Remove switch-to-buffer.
16189
16190 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16191
16192 * files.el (make-directory): Clarify that an error will be raised
16193 if there's an error (bug#6397).
16194
16195 * startup.el (initial-buffer-choice): Add `none' as a choice
16196 (bug#6234).
16197
16198 * subr.el (add-hook): Clarify section about buffer-local hooks
16199 (bug#6218).
16200
16201 * dired.el (dired-flagged): Clarify doc string (bug#6117).
16202
16203 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
16204
16205 * tabify.el (untabify): Preserve the current column so that point
16206 doesn't move (bug#6032).
16207
16208 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16209
16210 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
16211 Rewrite to avoid awkward possessive "s" (bug#5986).
16212
16213 2011-07-13 Glenn Morris <rgm@gnu.org>
16214
16215 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
16216 (dired-insert-directory): Give a message the first time
16217 if ls is found not to support --dired.
16218
16219 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16220
16221 * simple.el (toggle-truncate-lines): Clarify what is toggled
16222 (bug#5580). Text by Drew Adams.
16223
16224 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
16225
16226 * simple.el (blink-matching-open): Make the error message from the
16227 last change less verbose.
16228
16229 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
16230
16231 * font-lock.el (font-lock-comment-face): Use the high contrast
16232 "yellow" color for font-lock-comment-face on low color terminals
16233 using a dark background color (bug#4221).
16234
16235 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16236
16237 * dired.el (dired-insert-set-properties): Make the doc string
16238 reflect what it does now (bug#5325).
16239
16240 * simple.el (blink-matching-open): Say that we were unable to find
16241 the match within the limit, if we're limited (bug#5122).
16242
16243 * international/mule-cmds.el (prefer-coding-system): Add an
16244 example (bug#4869).
16245
16246 * progmodes/etags.el (tags-search): Document `file-list-form'
16247 (bug#4731).
16248
16249 2011-07-13 Lawrence Mitchell <wence@gmx.li>
16250
16251 * net/browse-url.el (browse-url-default-browser)
16252 (browse-url-browser-function): Make the default browser choice a
16253 bit more logical (bug#4300). Also clean up the doc string.
16254
16255 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
16256
16257 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16258 binary endings (bug#4440).
16259
16260 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16261
16262 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16263 which can be pretty annoying (bug#8971).
16264
16265 * jka-compr.el (jka-compr-verbose): New variable, and use
16266 throughout (bug#8971).
16267
16268 * info.el (Info-find-file): Fall back on the installation
16269 directory if we can't find the info node anywhere else.
16270
16271 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
16272
16273 * vc/vc.el (vc-revert-file):
16274 Don't set file time-stamp in the past. (Bug#5181)
16275
16276 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16277
16278 * files.el (after-find-file): Give a better error message when
16279 trying to find a symlink that points to a file that doesn't exist
16280 (bug#4398).
16281
16282 * progmodes/cc-vars.el: Remove (probably) misleading comment
16283 (bug#4396).
16284
16285 2011-07-12 Johan Bockgård <bojohan@gnu.org>
16286
16287 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
16288
16289 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
16290
16291 * mouse-sel.el: Hack restoring functionality, while keeping
16292 compatibility with 2010-07-03 changes to mouse selection.
16293 (mouse-sel-primary-overlay): New var.
16294 (mouse-sel-selection-alist): Use it.
16295 (mouse-sel-mode): Doc fix; remove points that are default features
16296 of mouse.el.
16297
16298 2011-07-12 Johan Bockgård <bojohan@gnu.org>
16299
16300 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16301 Fix previous fix (bug#2490).
16302
16303 2011-07-12 Roland Winkler <winkler@gnu.org>
16304
16305 * textmodes/bibtex.el (bibtex-initialize):
16306 Use pop-to-buffer-same-window.
16307 (bibtex-search-entries): Fix interactive call.
16308
16309 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16310
16311 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16312 Fontise bytecomp Error lines more correctly (bug#2490).
16313 Fix suggested by Johan Bockgård.
16314
16315 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16316
16317 * dired-x.el (dired-guess-default): Use `delete-dups'.
16318
16319 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
16320
16321 * dired.el (dired-mark-prompt):
16322 * dired-aux.el (dired-read-shell-command): Doc fix.
16323
16324 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16325
16326 * mail/sendmail.el (sendmail-query-once):
16327 Use `customize-save-variable' unconditionally, now that it works under
16328 emacs -Q.
16329
16330 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16331
16332 * cus-edit.el (custom-file): Take an optional no-error variable.
16333 (customize-save-variable): Set the variable, and give a warning if
16334 running under "emacs -q".
16335
16336 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
16337
16338 * loadhist.el (unload-feature-special-hooks):
16339 Add `auto-coding-functions', `fill-nobreak-predicate' and
16340 `find-directory-functions' (bug#5327).
16341
16342 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16343
16344 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
16345
16346 * cus-edit.el (custom-guess-name-alist): -alist variables should
16347 use the `alist' type (bug#3120). Suggested by Drew Adams.
16348
16349 * printing.el: Add documentation to all the `pr-toggle-' commands.
16350
16351 2011-07-11 Leo Liu <sdl.web@gmail.com>
16352
16353 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
16354 backends where it makes sense (bug#2623).
16355
16356 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16357
16358 * dired-x.el (dired-guess-default): Remove duplicate shell command
16359 entries (bug#2028).
16360 (dired-guess-default): Fix grammar in doc string (bug#2028).
16361 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
16362
16363 * subr.el (remove-duplicates): New conveniency function.
16364
16365 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16366
16367 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16368 (bug#1526).
16369
16370 2011-07-10 Martin Rudalics <rudalics@gmx.at>
16371
16372 * window.el (display-buffer-normalize-default): Don't invert
16373 meaning of even-window-heights. Reported by Eli Zaretskii
16374 <eliz@gnu.org>.
16375
16376 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
16377
16378 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16379
16380 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
16381
16382 * window.el (display-buffer): Fix arguments to
16383 display-buffer-reuse-window in last change.
16384
16385 * faces.el (link): Use a less saturated blue on light backgrounds.
16386
16387 * startup.el (fancy-startup-text, fancy-about-text)
16388 (fancy-startup-tail): Use font-lock faces, for background safety.
16389
16390 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
16391
16392 * emulation/viper-cmd.el (viper-change-state-to-vi):
16393 Limit triggering of abbrev expansion (Bug#9038).
16394
16395 2011-07-09 Martin Rudalics <rudalics@gmx.at>
16396
16397 * window.el (display-buffer-default-specifiers): Remove.
16398 (display-buffer-macro-specifiers): Remove default specifiers.
16399 (display-buffer-alist): Default to nil.
16400 (display-buffer-reuse-window): New optional argument other-window.
16401 (display-buffer-pop-up-window): Allow splitting internal
16402 windows. Check whether a live window was created.
16403 (display-buffer-other-window-means-other-frame)
16404 (display-buffer-normalize-arguments): Rename to
16405 display-buffer-normalize-argument and rewrite. Set the
16406 other-window specifier.
16407 (display-buffer-normalize-special): New function.
16408 (display-buffer-normalize-options): Rename to
16409 display-buffer-normalize-default and rewrite.
16410 (display-buffer-normalize-options-inhibit): Remove.
16411 (display-buffer-normalize-specifiers): Rewrite.
16412 (display-buffer): Process other-window specifier and call
16413 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
16414 more faithfully.
16415 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
16416 (display-buffer-alist-set): Don't handle 'unset default values.
16417 (display-buffer-in-window, display-buffer-alist-set):
16418 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
16419 <tassilo@member.fsf.org>.
16420
16421 2011-07-09 Leo Liu <sdl.web@gmail.com>
16422
16423 * register.el (insert-register): Restore accidental change on
16424 2011-06-26. (Bug#9028)
16425
16426 2011-07-09 Glenn Morris <rgm@gnu.org>
16427
16428 * subr.el (remq): Handle the empty list. (Bug#9024)
16429
16430 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
16431
16432 * mail/sendmail.el (send-mail-function): No longer delay custom
16433 initialization.
16434 * custom.el (custom-initialize-delay): Doc fix.
16435
16436 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16437
16438 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16439
16440 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
16441
16442 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16443 human-friendly prompt.
16444
16445 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16446
16447 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16448 provided by a particular plugin.
16449
16450 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16451
16452 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16453 save customizations (with "emacs -Q"), just set the variable
16454 instead of erroring out.
16455
16456 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16457
16458 2011-07-08 Juri Linkov <juri@jurta.org>
16459
16460 * arc-mode.el (archive-zip-expunge, archive-zip-update)
16461 (archive-zip-update-case): Use 7z if found by `executable-find'.
16462 The order of searching the available programs is the same as in
16463 `archive-zip-extract' (bug#8968).
16464
16465 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16466
16467 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16468 (menu-bar-options-menu): Tweak descriptions.
16469
16470 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16471
16472 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16473 menu items into verb phrases (bug#1421). Also refill to fit under
16474 80 columns.
16475
16476 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16477
16478 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16479 (Info-read-node-name): Doc fix (Bug#1084).
16480
16481 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16482 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16483 (end-of-sexp, beginning-of-sexp)
16484 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16485 (forward-symbol, forward-same-syntax, word-at-point)
16486 (sentence-at-point): Doc fix (Bug#1144).
16487
16488 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16489
16490 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16491 should cover it (bug#1281).
16492
16493 * cus-edit.el (custom-show): Mark as obsolete.
16494
16495 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
16496 negotiation fails, then possibly try again with a non-encrypted
16497 connection (bug#9017).
16498
16499 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
16500 be used.
16501
16502 2011-07-07 Richard Stallman <rms@gnu.org>
16503
16504 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16505 property, and handle its changed format.
16506 Look for the correct line number.
16507 Use file's line contents (but not past first =) to find
16508 correct line in message.
16509
16510 2011-07-07 Kenichi Handa <handa@m17n.org>
16511
16512 * international/characters.el (build-unicode-category-table):
16513 Delete it.
16514 (unicode-category-table): Set it by unicode-property-table-internal.
16515
16516 * international/mule-cmds.el (char-code-property-alist): Move to
16517 to src/chartab.c.
16518 (get-char-code-property): Call unicode-property-table-internal to
16519 load a file. Call get-unicode-property-internal where necessary.
16520 (put-char-code-property): Call unicode-property-table-internal to
16521 load a file. Call put-unicode-property-internal where necessary.
16522 put-unicode-property-internal where necessary.
16523 (char-code-property-description):
16524 Call unicode-property-table-internal to load a file.
16525
16526 * international/charprop.el:
16527 * international/uni-bidi.el:
16528 * international/uni-category.el:
16529 * international/uni-combining.el:
16530 * international/uni-comment.el:
16531 * international/uni-decimal.el:
16532 * international/uni-decomposition.el:
16533 * international/uni-digit.el:
16534 * international/uni-lowercase.el:
16535 * international/uni-mirrored.el:
16536 * international/uni-name.el:
16537 * international/uni-numeric.el:
16538 * international/uni-old-name.el:
16539 * international/uni-titlecase.el:
16540 * international/uni-uppercase.el: Regenerate.
16541
16542 * loadup.el: Load international/charprop.el before
16543 international/characters.
16544
16545 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16546
16547 * window.el (next-buffer, previous-buffer): Signal an error if
16548 called from a minibuffer window.
16549
16550 * bindings.el: Revert 2011-07-04 change.
16551
16552 2011-07-06 Richard Stallman <rms@gnu.org>
16553
16554 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16555 (rmail-mime-insert-bulk, rmail-mime-insert-text):
16556 Treat markers like ints.
16557 (rmail-mime-entity): Doc fix.
16558
16559 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16560
16561 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
16562 defcustom again for backwards compatibility.
16563
16564 * simple.el (shell-command-on-region): Fill.
16565
16566 * dired-aux.el (dired-kill-line): Add a doc string.
16567
16568 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
16569 to "\\sw\\|\\s_" (bug#358).
16570
16571 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
16572 (dired-unmark-backward): Ditto.
16573 (dired-flag-backup-files): Ditto.
16574
16575 * dired-x.el (dired-mark-sexp): Ditto.
16576
16577 2011-07-06 Richard Stallman <rms@gnu.org>
16578
16579 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
16580 (rmail-mime-entity): New arg TRUNCATED.
16581 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
16582 New functions.
16583 (rmail-mime-save): Warn if entity is truncated.
16584 (rmail-mime-toggle-hidden): Likewise, for showing.
16585 (rmail-mime-process-multipart): Record when an entity is truncated.
16586
16587 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
16588 if ENTITY is a string.
16589
16590 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16591
16592 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
16593 of faces when `M-C-x'-ing their definitions (bug#8378).
16594 Also clean up the code slightly.
16595
16596 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
16597 because that makes the colors go away.
16598
16599 * mail/sendmail.el (send-mail-function): Change the default to
16600 `sendmail-query-once'.
16601 (sendmail-query-once): Add an autoload cookie.
16602
16603 * net/network-stream.el (network-stream-open-starttls): Try using
16604 a plain connection even if the server offered STARTTLS, and we
16605 kinda wanted to use it, if Emacs doesn't have any STARTTLS
16606 capability. This should make smtpmail.el work in slightly more
16607 configurations.
16608
16609 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
16610
16611 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16612 New defun.
16613 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
16614
16615 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
16616
16617 * progmodes/sql.el: Version 3.0
16618 (sql-product-alist): Add product :completion-object,
16619 :completion-column, and :statement attributes.
16620 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
16621 (sql-mode-syntax-table): Mark all punctuation.
16622 (sql-font-lock-keywords-builder): Temporarily remove fallback on
16623 ansi keywords.
16624 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
16625 (sql-mode-oracle-font-lock-keywords): Improve.
16626 (sql-oracle-show-reserved-words): New function for development.
16627 (sql-product-font-lock): Simplify for source code buffers.
16628 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
16629 New functions.
16630 (sql-highlight-product): Set product specific syntax table.
16631 (sql-mode-map): Add statement movement functions.
16632 (sql-ansi-statement-starters, sql-oracle-statement-starters):
16633 New variable.
16634 (sql-statement-regexp, sql-beginning-of-statement)
16635 (sql-end-of-statement, sql-signum): New functions.
16636 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
16637 (sql-show-sqli-buffer): Bug fix.
16638 (sql-interactive-mode): Store connection data as buffer local.
16639 (sql-connect): Add NEW-NAME parameter. Redesign interaction
16640 with sql-interactive-mode.
16641 (sql-save-connection): Save buffer local settings.
16642 (sql-connection-menu-filter): Change menu entry name.
16643 (sql-product-interactive): Bug fix.
16644 (sql-preoutput-hold): New variable.
16645 (sql-interactive-remove-continuation-prompt): Bug fixes.
16646 (sql-debug-redirect): New variable.
16647 (sql-str-literal): New function.
16648 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
16649 Redesign.
16650 (sql-oracle-save-settings, sql-oracle-restore-settings)
16651 (sql-oracle-list-all, sql-oracle-list-table): New functions.
16652 (sql-completion-object, sql-completion-column)
16653 (sql-completion-sqlbuf): New variables.
16654 (sql-build-completions-1, sql-build-completions)
16655 (sql-try-completion): New functions.
16656 (sql-read-table-name): Use them.
16657 (sql-contains-names): New buffer local variable.
16658 (sql-list-all, sql-list-table): Use it.
16659 (sql-oracle-completion-types): New variable.
16660 (sql-oracle-completion-object, sql-sqlite-completion-object)
16661 (sql-postgres-completion-object): New functions.
16662
16663 2011-07-06 Glenn Morris <rgm@gnu.org>
16664
16665 * window.el (pop-to-buffer): Doc fix.
16666
16667 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
16668
16669 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
16670
16671 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
16672
16673 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
16674
16675 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
16676
16677 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
16678
16679 * button.el (button): Inherit from link face. Suggested by Dan
16680 Nicolaescu.
16681
16682 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16683
16684 * progmodes/gdb-mi.el: Fit in 80 columns.
16685 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
16686 switch-to-buffer.
16687
16688 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
16689 if imenu is simply not configured (bug#8941).
16690
16691 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
16692
16693 * allout.el (allout-post-undo-hook): New allout outline-change
16694 event hook to signal undo activity.
16695 (allout-post-command-business): Run allout-post-undo-hook if an
16696 undo just occurred.
16697 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
16698 * allout-widgets.el (allout-widgets-after-undo-function):
16699 Ensure the integrity of the current item's decoration after it has been
16700 in the vicinity of an undo.
16701 (allout-widgets-mode): Include allout-widgets-after-undo-function
16702 on the new allout-post-undo-hook.
16703
16704 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16705
16706 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
16707 Let define-derived-mode define it.
16708 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
16709 cycles of abbrev-table inheritance (bug#8998).
16710
16711 2011-07-05 Roland Winkler <winkler@gnu.org>
16712
16713 * textmodes/bibtex.el: Add support for biblatex.
16714 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
16715 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
16716 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
16717 (bibtex-entry-alist, bibtex-field-alist): New variables.
16718 (bibtex-entry-field-alist): Obsolete alias for
16719 bibtex-BibTeX-entry-alist.
16720 (bibtex-entry-alist, bibtex-field-alist): New widgets.
16721 (bibtex-set-dialect): New command.
16722 (bibtex-entry-type, bibtex-entry-head)
16723 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
16724 Bind via bibtex-set-dialect.
16725 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
16726 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
16727 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
16728 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
16729 Define via bibtex-set-dialect.
16730 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
16731 Obey bibtex-no-opt-remove-re.
16732 (bibtex-vec-push, bibtex-vec-incr): New functions.
16733 (bibtex-format-entry, bibtex-field-list)
16734 (bibtex-print-help-message, bibtex-validate)
16735 (bibtex-search-entries): Use new format of bibtex-entry-alist.
16736
16737 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16738
16739 * progmodes/compile.el (compilation-goto-locus):
16740 * net/tramp-cmds.el (tramp-append-tramp-buffers):
16741 * bs.el (bs-cycle-next, bs-cycle-previous):
16742 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16743 * bindings.el (mode-line-other-buffer):
16744 * autoinsert.el (auto-insert):
16745 * arc-mode.el (archive-extract):
16746 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16747
16748 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16749
16750 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16751 Fix check of `emacs-lock-unlockable-modes'.
16752 Coerce true values of `emacs-lock--try-unlocking' to t.
16753
16754 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16755
16756 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16757 * emacs-lock.el: New file.
16758
16759 2011-07-05 Julien Danjou <julien@danjou.info>
16760
16761 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16762 than `boundp' to check if face is set.
16763
16764 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16765
16766 * register.el (registerv-make):
16767 * window.el (window-min-height): Fix typos in docstrings.
16768
16769 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
16770
16771 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
16772 Update doc string.
16773
16774 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
16775
16776 * server.el (server-execute): Catch quit and call
16777 `server-return-error' to pass the error back to emacsclient and
16778 close the connection (bug#8942).
16779
16780 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
16781
16782 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16783 insecure exception for current topic. Also note that auto-saves
16784 are handled differently.
16785
16786 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
16787 State variables for tracking auto-save inhibition situation.
16788
16789 (allout-write-contents-hook-handler): Rename from
16790 'allout-write-file-hook-handler', and describe how it depends on
16791 write-contents-functions sensitivity to non-nil value to prevent
16792 file write.
16793
16794 (allout-auto-save-hook-handler): Remove. auto-save does not check
16795 this in individual buffers, only in the starting buffer, so this
16796 is not the right way for us to inhibit auto-save in a buffer
16797 according to its condition.
16798
16799 (allout-mode): Use new allout-write-contents-hook-handler, and
16800 only with write-contents-functions. Remove auto-save provisions -
16801 they're implemented elsewhere.
16802
16803 (allout-before-change-handler): If undo is in progress, note that
16804 for attention of allout-post-command-business.
16805
16806 (allout-post-command-business): If the command we're following was
16807 an undo, check for change in the status of encrypted items and
16808 adjust auto-save inhibitions accordingly.
16809
16810 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16811 according to whether there are or aren't any plain-text topics
16812 pending encryption.
16813
16814 (allout-inhibit-auto-save-info-for-decryption):
16815 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16816 if there are plain-text topics pending encryption.
16817
16818 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16819 buffer-saved-size and some allout state to not inhibit auto-saves
16820 if there are no longer any plain-text topics pending encryption.
16821
16822 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16823 No longer provide for exemption of the current topic.
16824
16825 2011-07-04 Juri Linkov <juri@jurta.org>
16826
16827 Add 7z operations to delete and save changed members (bug#8968).
16828 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16829 New defcustoms.
16830 (archive-7z-write-file-member): New function.
16831 (archive-7z-summarize): Fix the number of dashes in the
16832 listing output.
16833
16834 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16835
16836 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16837 (bug#8958).
16838
16839 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
16840
16841 * bindings.el: Ignore next-buffer and previous-buffer in
16842 minibuffer-local-map.
16843
16844 * font-lock.el (font-lock-builtin-face): Change light background
16845 color to dark slate blue (Bug#6693).
16846
16847 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16848
16849 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16850
16851 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16852
16853 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16854 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16855 Add switch-to-buffer.
16856
16857 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16858
16859 * isearch.el (isearch-search-fun-function): Clarify further the
16860 meaning of the function returned.
16861
16862 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
16863
16864 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16865
16866 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16867 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16868 Use it.
16869 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16870 `tramp-default-remote-path' does not exist.
16871 (tramp-send-command-and-read): New optional argument NOERROR.
16872 (tramp-open-connection-setup-interactive-shell)
16873 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16874 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16875 (tramp-process-sentinel): Flush also process' connection property.
16876 (tramp-sh-handle-start-file-process): Do not set process
16877 sentinel. It is done now ...
16878 (tramp-maybe-open-connection): ... here. (Bug#8929)
16879
16880 2011-07-04 MON KEY <monkey@sandpframing.com>
16881
16882 * play/animate.el (animate-string): Doc fixes and allow changing
16883 the buffer name (bug#5417).
16884
16885 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16886
16887 * play/animate.el (animation-buffer-name): Rename from *animate*.
16888
16889 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16890
16891 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16892 This is simpler and helps future-proof the code.
16893 (timer-until): Use time-subtract and float-time.
16894 (timer--time-less-p): Use time-less-p.
16895
16896 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
16897
16898 * type-break.el (timep): Use the value of `float-time' to avoid a
16899 byte-compiler warning.
16900
16901 * server.el (server-eval-and-print): Return any result, even nil.
16902
16903 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16904
16905 * type-break.el: Accept time formats that the builtins accept.
16906 (timep, type-break-time-difference): Accept any format that
16907 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16908 This is simpler and helps future-proof the code.
16909 (type-break-time-difference): Round rather than ignoring
16910 subseconds components.
16911
16912 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16913
16914 * info.el (Info-apropos-matches): Make non-interactive, since it
16915 doesn't seem to do anything useful as a command (bug#8829).
16916
16917 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
16918
16919 * frame.el (frame-background-mode, frame-set-background-mode):
16920 Move from faces.el.
16921 (frame-default-terminal-background): New function.
16922
16923 * custom.el (custom-push-theme): Don't record faces in `changed'
16924 theme; this doesn't work correctly for per-frame face settings.
16925 (disable-theme): Use face-set-after-frame-default to reset faces.
16926 (custom--frame-color-default): New function.
16927
16928 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16929
16930 * dired.el (dired-flagging-regexp): Remove unused variable
16931 (bug#8769).
16932
16933 2011-03-29 Kevin Ryde <user42@zip.com.au>
16934
16935 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16936 `perl-Test2' extend to match possible "fail #N" rep count
16937 (bug#8377).
16938
16939 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16940
16941 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16942 `smtpmail-via-smtp' now returns the error instead of nil.
16943
16944 * isearch.el (isearch-search-fun-function): Clarify the doc string
16945 (bug#8101).
16946
16947 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
16948
16949 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16950 unnecessary spaces (bug#8987).
16951
16952 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16953
16954 * net/network-stream.el (open-network-stream): Use the
16955 :end-of-capability command thoughout.
16956
16957 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16958
16959 * net/network-stream.el (open-network-stream): Add the
16960 :end-of-capability command parameter, used by pop3.el.
16961
16962 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16963
16964 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16965
16966 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16967 for list)" (bug#6475).
16968
16969 * files.el (file-expand-wildcards): Ignore non-readable
16970 sub-directories while trying to find matches instead of signaling
16971 an error (bug#6297).
16972
16973 * man.el (Man-reference-regexp): Allow matching possible
16974 word-wrapped references (bug#6289).
16975
16976 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16977 for consistency with the other vc buffers (bug#6197).
16978 (vc-checkin): Ditto.
16979
16980 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16981
16982 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16983
16984 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16985
16986 * custom.el (defcustom): Clarify that :set is only used in the
16987 Customize user interface (bug#6089).
16988
16989 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16990 associated with a file, refuse to run instead of erroring out
16991 (bug#6084).
16992
16993 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16994 the doc string, since it appears that using `fill-column' always
16995 controls the width (bug#7845).
16996
16997 * simple.el (shell-command-on-region): Say where the error output
16998 went if `shell-command-default-error-buffer' is set (bug#6857).
16999
17000 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
17001
17002 * allout.el (allout-yank-processing): Adjust cursor position for
17003 backwards-deleted space.
17004
17005 (allout-rebullet-heading): Register changes with
17006 allout-exposure-changed-hook, so the modified topic is properly
17007 decorated.
17008
17009 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17010
17011 * minibuffer.el (completion-in-region): Document PREDICATE
17012 (bug#7136).
17013
17014 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
17015 of keyword/argument pairs (bug#6904).
17016
17017 * replace.el (multi-occur):
17018 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
17019
17020 2011-07-02 Drew Adams <drew.adams@oracle.com>
17021
17022 * dired.el (dired-mark-if): Make the message about whether it's
17023 marking or unmarking clearer (bug#8523).
17024
17025 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17026
17027 * disp-table.el (display-table-print-array): New function.
17028 (describe-display-table): Use it to print the vectors more pretty
17029 (Bug#8859).
17030
17031 2011-07-02 Martin Rudalics <rudalics@gmx.at>
17032
17033 * window.el (window-state-get-1): Don't assign clone numbers.
17034 Add clone-of item to list of window parameters.
17035 (window-state-put-2): Don't process clone numbers.
17036 (display-buffer-alist): Fix doc-string.
17037
17038 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
17039
17040 * subr.el (remq): Don't allocate if it's not needed.
17041 (keymap--menu-item-binding, keymap--menu-item-with-binding)
17042 (keymap--merge-bindings): New functions.
17043 (keymap-canonicalize): Use them to refine the canonicalization.
17044 * minibuffer.el (minibuffer-local-completion-map)
17045 (minibuffer-local-must-match-map): Move initialization from C.
17046 (minibuffer-local-filename-completion-map): Move initialization from C;
17047 don't inherit from anything here.
17048 (minibuffer-local-filename-must-match-map): Make obsolete.
17049 (completing-read-default): Use make-composed-keymap to combine
17050 minibuffer-local-filename-completion-map with either
17051 minibuffer-local-must-match-map or
17052 minibuffer-local-filename-completion-map.
17053
17054 2011-07-01 Glenn Morris <rgm@gnu.org>
17055
17056 * type-break.el (type-break-time-sum): Use dolist.
17057
17058 * textmodes/flyspell.el (flyspell-word-search-backward):
17059 Replace CL function.
17060
17061 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17062
17063 * mouse.el (mouse--strip-first-event): New function.
17064 (function-key-map): Use it to map fringe clicks to normal clicks
17065 by default.
17066
17067 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
17068 (vc-bzr-revision-completion-table): Add support for annotate and date.
17069
17070 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
17071 inherit from parent.
17072
17073 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17074
17075 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
17076 (dired-show-file-type): Doc fixup (bug#8818).
17077
17078 * dired.el (dired-mode): Fix up the doc string as suggested by
17079 Drew Adams (bug#8817).
17080
17081 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
17082 cookie, since the manual says that it should be possible to add
17083 this function to `find-file-hook' (bug#8709).
17084
17085 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17086
17087 * progmodes/cfengine.el: Moved all cfengine3.el functionality
17088 here. Noted Ted Zlatanov as the maintainer.
17089 (cfengine-common-settings, cfengine-common-syntax): New functions
17090 to set up common things between `cfengine-mode' and
17091 `cfengine3-mode'.
17092 (cfengine3-mode): New mode.
17093 (cfengine3-defuns cfengine3-defuns-regex
17094 (cfengine3-class-selector-regex cfengine3-category-regex)
17095 (cfengine3-vartypes cfengine3-font-lock-keywords)
17096 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
17097 (cfengine3-indent-line): Add from cfengine3.el.
17098
17099 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
17100
17101 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
17102
17103 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
17104
17105 2011-07-01 Martin Rudalics <rudalics@gmx.at>
17106
17107 * window.el (same-window-buffer-names, same-window-regexps)
17108 (same-window-p, special-display-frame-alist)
17109 (special-display-popup-frame, special-display-function)
17110 (special-display-buffer-names, special-display-regexps)
17111 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
17112 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17113 (split-window-preferred-function, split-height-threshold)
17114 (split-width-threshold, even-window-heights)
17115 (display-buffer-mark-dedicated, window-splittable-p)
17116 (split-window-sensibly, window-safely-shrinkable-p):
17117 Un-obsolete.
17118 (display-buffer): Don't spread args with function specifier
17119 because special-display-popup-frame won't like it.
17120
17121 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
17122
17123 Time-stamp simplifications and fixes.
17124 These improve accuracy slightly, and future-proof the code
17125 against some potential changes to current-time format.
17126
17127 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
17128 by using time-since and float-time.
17129
17130 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
17131 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
17132 + NNN microseconds".
17133
17134 * type-break.el (type-break-time-sum): Rewrite using time-add.
17135
17136 * play/hanoi.el (hanoi-current-time-float): Remove.
17137 All uses replaced by float-time.
17138
17139 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
17140 This yields a more-accurate answer.
17141 (rng-time-to-float): Remove; no longer needed.
17142
17143 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
17144
17145 * calendar/timeclock.el (timeclock-seconds-to-time):
17146 Defalias to seconds-to-time, since they're the same thing.
17147
17148 * emacs-lisp/elp.el (elp-elapsed-time):
17149 * emacs-lisp/benchmark.el (benchmark-elapse):
17150 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
17151
17152 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17153
17154 * window.el (bury-buffer): Don't iconify the only frame.
17155 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
17156 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
17157
17158 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
17159
17160 * eshell/em-smart.el (eshell-smart-display-navigate-list):
17161 Add mouse-yank-primary.
17162
17163 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17164
17165 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
17166
17167 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17168
17169 * emacs-lisp/find-func.el (find-library--load-name): New fun.
17170 (find-library-name): Use it to find relative load names when provided
17171 absolute file name (bug#8803).
17172
17173 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17174
17175 * textmodes/flyspell.el (flyspell-word): Consider words that
17176 differ only in case as potential doublons (bug#5687).
17177
17178 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
17179 Remove two rather uninteresting debugging-like messages to make
17180 debbugs.el more silent.
17181
17182 * comint.el (comint-password-prompt-regexp): Accept "Response" as
17183 a password-like phrase.
17184
17185 2011-06-30 Masatake YAMATO <yamato@redhat.com>
17186
17187 * progmodes/cc-guess.el: New file.
17188
17189 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
17190
17191 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
17192 derived from `c-basic-common-init'.
17193
17194 * progmodes/cc-mode.el (top-level): Require cc-guess.
17195 (c-basic-common-init): Use `cc-choose-style-for-mode'.
17196
17197 2011-06-30 Lawrence Mitchell <wence@gmx.li>
17198
17199 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
17200
17201 2011-06-30 Alan Mackenzie <acm@muc.de>
17202
17203 * progmodes/cc-engine.el (c-guess-continued-construct):
17204 Correct the handling of template-args-cont, particularly for when font
17205 lock is disabled. Name this case as "CASE G".
17206
17207 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
17208
17209 * allout.el (allout-yank-processing): Fix injection of extra space
17210 between bullet and non-whitespace character in first topic when
17211 pasting, ensuring that the actual spacing in the pasted topic
17212 following the bullet char is preserved. This extra space was
17213 causing pasted encrypted topics to get a decrypted status even
17214 when the content was actually still encrypted. Now the decryption
17215 status from before the paste is preserved.
17216
17217 (allout-flag-region): Set all allout overlays so they evaporate
17218 when reduced to zero length (evanescent), to prevent overlay
17219 leakage.
17220
17221 2011-06-30 Glenn Morris <rgm@gnu.org>
17222
17223 * w32-fns.el (w32-charset-info-alist): Declare.
17224
17225 * find-dired.el (find-grep-options): Simplify.
17226
17227 * term/ns-win.el (ns-set-resource): Declare.
17228
17229 * ses.el (row, col): Declare dynamic variables honestly.
17230
17231 * textmodes/reftex-parse.el (index-tags): Declare.
17232
17233 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
17234
17235 * cus-edit.el (customize-push-and-save): New function.
17236
17237 * files.el (hack-local-variables-confirm): Use it.
17238
17239 * custom.el (load-theme): New arg NO-CONFIRM.
17240 Use customize-push-and-save (Bug#8720).
17241 (custom-enabled-themes): Doc fix.
17242
17243 * cus-theme.el (customize-create-theme)
17244 (custom-theme-merge-theme): Callers to load-theme changed.
17245
17246 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17247
17248 * thingatpt.el (thing-at-point-short-url-regexp): Require that
17249 short URLs have at least one dot in them (bug #7614).
17250
17251 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17252 nil, because using a pty is apparently too slow (bug #895).
17253
17254 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
17255
17256 * mail/sendmail.el (sendmail-query-once): New function.
17257 (sendmail-query-once-function): New variable.
17258
17259 2011-06-29 Glenn Morris <rgm@gnu.org>
17260
17261 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17262
17263 * ses.el (top-level): Require cl when compiling.
17264 (ses-set-localvars): Fix error statement.
17265 Call it at compile time to silence a storm of warnings.
17266
17267 2011-06-29 Martin Rudalics <rudalics@gmx.at>
17268
17269 * window.el (normalize-live-buffer): Rename to
17270 window-normalize-buffer.
17271 (normalize-live-frame): Rename to window-normalize-frame.
17272 (normalize-any-window): Rename to window-normalize-any-window.
17273 (normalize-live-window): Rename to window-normalize-live-window.
17274 (make-window-atom): Rename to window-make-atom.
17275 (window-resize-reset): Rename to window--resize-reset.
17276 (window-resize-reset-1): Rename to window--resize-reset-1.
17277 (resize-mini-window): Rename to window--resize-mini-window.
17278 (resize-subwindows-skip-p): Rename to
17279 window--resize-subwindows-skip-p.
17280 (resize-subwindows-normal): Rename to
17281 window--resize-subwindows-normal.
17282 (resize-subwindows): Rename to window--resize-subwindows.
17283 (resize-other-windows): Rename to window--resize-siblings.
17284 (resize-this-window): Rename to window--resize-this-window.
17285 (resize-root-window): Rename to window--resize-root-window.
17286 (resize-root-window-vertically): Rename to
17287 window--resize-root-window-vertically.
17288 (normalize-buffer-to-display): Rename to
17289 window-normalize-buffer-to-display.
17290 (normalize-buffer-to-switch-to): Rename to
17291 window-normalize-buffer-to-switch-to.
17292 Correspondingly update all callers of the functions listed
17293 above.
17294 (display-buffer-alist, display-buffer-normalize-arguments)
17295 (display-buffer-normalize-options, display-buffer)
17296 (display-buffer-alist-set): Use "function" instead of
17297 "fun-with-args".
17298
17299 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
17300
17301 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17302 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
17303 debbugs.gnu.org. Mention acknowledgment email.
17304
17305 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
17306
17307 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17308 buffer multibyteness, since it shouldn't matter.
17309
17310 2011-06-28 Martin Rudalics <rudalics@gmx.at>
17311
17312 * window.el (display-buffer-in-side-window): Handle dedicated
17313 windows as in display-buffer-reuse-window.
17314 (display-buffer-normalize-alist): Use value of override
17315 specifier.
17316 (display-buffer-normalize-specifiers): Use value of
17317 other-window-means-other-frame specifier.
17318 (display-buffer-alist): Rewrite some texts in widgets.
17319 (display-buffer): Spread arguments when calling function
17320 specified by fun-with-args.
17321
17322 2011-06-28 Deniz Dogan <deniz@dogan.se>
17323
17324 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17325 Unnest `let'.
17326
17327 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
17328 selectors (Bug#5732).
17329 (css-proprietary-nmstart-re): Use `regexp-opt'.
17330
17331 2011-06-27 Jari Aalto <jari.aalto@cante.net>
17332
17333 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
17334 (eshell-ls-date-format): New defcustom.
17335 (eshell-ls-file): Use it.
17336
17337 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17338
17339 * help-fns.el (describe-variable): Fix message for terminal-local vars.
17340
17341 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
17342
17343 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
17344 (ange-ftp-make-tmp-name): New arg.
17345 (ange-ftp-file-local-copy): Use it.
17346
17347 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
17348
17349 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
17350 no-conversion (Bug#8870).
17351
17352 2011-06-27 Martin Rudalics <rudalics@gmx.at>
17353
17354 * window.el (window-right, window-left, window-child)
17355 (window-child-count, window-last-child)
17356 (window-iso-combination-p, walk-window-tree-1)
17357 (window-atom-check-1, window-tree-1, delete-window)
17358 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
17359 new naming conventions - window-vchild, window-hchild,
17360 window-next and window-prev are now called window-top-child,
17361 window-left-child, window-next-sibling and window-prev-sibling
17362 respectively.
17363 (resize-window-reset): Rename to window-resize-reset.
17364 (resize-window-reset-1): Rename to window-resize-reset-1.
17365 (resize-window): Rename to window-resize.
17366 (window-min-height, window-min-width)
17367 (resize-mini-window, resize-this-window, resize-root-window)
17368 (resize-root-window-vertically, adjust-window-trailing-edge)
17369 (enlarge-window, shrink-window, maximize-window)
17370 (minimize-window, delete-window, quit-restore-window)
17371 (split-window, balance-windows, balance-windows-area-adjust)
17372 (balance-windows-area, window-state-put-2)
17373 (display-buffer-even-window-sizes, display-buffer-set-height)
17374 (display-buffer-set-width, set-window-text-height)
17375 (fit-window-to-buffer): Rename all "resize-window" prefixed
17376 calls to use the "window-resize" prefix convention.
17377 (display-buffer-alist): Fix symbol for label specifier.
17378 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17379 corresponding specifier.
17380 Reported by Juanma Barranquero <lekktu@gmail.com>.
17381
17382 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17383
17384 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17385 convention.
17386 (ses-call-printer): Does not pass an empty string to formatter when the
17387 cell is empty to keep from barking printer Calc math-format-value.
17388
17389 2011-06-27 Richard Stallman <rms@gnu.org>
17390
17391 * battery.el (battery-mode-line-limit): New variable.
17392 (battery-update): Handle it.
17393
17394 * mail/rmailmm.el (rmail-mime-process-multipart):
17395 Handle truncated messages.
17396
17397 2011-06-27 Glenn Morris <rgm@gnu.org>
17398
17399 * progmodes/flymake.el (flymake-err-line-patterns):
17400 Allow for column numbers in the ant/javac pattern. (Bug#8866)
17401
17402 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17403
17404 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
17405 (ses--clean-!, ses--clean-_): New functions.
17406 (ses-range): Add configurability of readout order, and conversion
17407 to Calc vector.
17408
17409 * ses.el (ses-repair-cell-reference-all): New function.
17410 (ses-cell-symbol): Set macro as safe, so that it can be used in
17411 formulas.
17412
17413 * ses.el: Update cycle detection algorithm.
17414 (ses-localvars): Add ses--Dijkstra-attempt-nb and
17415 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
17416 (ses-set-localvars): New function.
17417 (ses-make-cell): Add property-list as a cell element.
17418 (ses-cell-property-get-fun, ses-cell-property-get)
17419 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
17420 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
17421 New functions.
17422 (ses-cell-property-set, ses-cell-property-pop)
17423 (ses-cell-property-get-handle): New macro.
17424 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
17425 New aliases, used for code readability.
17426 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
17427 cycle detection.
17428 (ses-self-reference-early-detection): New defcustom.
17429 (ses-formula-references): Robustify against self-referring cells.
17430 (ses-mode): Use ses-set-localvars.
17431 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17432 before lauching the update processing.
17433 (ses-initialize-Dijkstra-attempt): New function.
17434 (ses-recalculate-cell): Update for cycle detection based on
17435 Dijkstra algorithm.
17436
17437 * ses.el: Fix commenting and indenting convention.
17438
17439 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17440
17441 * bs.el (bs-cycle-next): Complete last change.
17442
17443 2011-06-27 Drew Adams <drew.adams@oracle.com>
17444
17445 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17446
17447 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17448
17449 * net/network-stream.el (network-stream-open-starttls):
17450 Don't re-get capabilities unless we've reestablished connection.
17451 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17452
17453 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17454 to binary to possibly avoid line encoding issues on Windows (among
17455 other things).
17456
17457 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17458
17459 * net/network-stream.el (open-network-stream): Return an :error
17460 saying what the problem was, if possible.
17461
17462 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17463 server.
17464
17465 * net/network-stream.el (network-stream-open-starttls): If we
17466 wanted to use STARTTLS, and the server offered it, but we weren't
17467 able to because we had no STARTTLS support, then close the connection.
17468 (open-network-stream): Return an :error element, if present.
17469
17470 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
17471
17472 * hl-line.el (hl-line-sticky-flag): Doc fix.
17473 (global-hl-line-sticky-flag): New option (Bug#8323).
17474 (global-hl-line-highlight): Obey it.
17475
17476 * vc/vc.el (vc-revert-show-diff): Default to t.
17477
17478 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
17479
17480 * allout-widgets.el (allout-widgets-post-command-business):
17481 Stop decorating intermediate isearch matches. They're not being
17482 undecorated when an isearch is continued past, and isearch
17483 automatically collapses them. This leads to "widget leaks", where
17484 decorated items accumulate in collapsed areas. Lines with lots of
17485 hidden widgets can slow down cursor travel, substantially.
17486 Too much complicated machinery would be needed to ensure undecoration,
17487 so we're doing without this nicety.
17488
17489 (allout-widgets-tally-string): Don't try to do a hash-table-count
17490 of allout-widgets-tally when it's nil. This eliminates spurious "Error
17491 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17492 *Messages* when allout-widgets-maintain-tally is t.
17493
17494 2011-06-26 Martin Rudalics <rudalics@gmx.at>
17495
17496 * window.el (display-buffer-normalize-argument): Rename to
17497 display-buffer-normalize-arguments. Handle special meaning of
17498 LABEL argument. Respect special-display-function when popping up
17499 a new frame. Fix code searching for a window showing the buffer
17500 on another frame.
17501 (display-buffer-normalize-specifiers):
17502 Call display-buffer-normalize-arguments.
17503 (display-buffer-in-window): Don't undedicate the window if its
17504 buffer remains the same.
17505 Reported by Drew Adams <drew.adams@oracle.com>.
17506 (display-buffer-alist): Add choice for same-window macro
17507 specfier.
17508 (display-buffer): Mention special meaning of LABEL argument in
17509 doc-string. Fix quoting. Don't pop up a new frame even as
17510 fallback.
17511
17512 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
17513
17514 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17515 avoid deleting the current window in some cases (bug#8911).
17516
17517 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
17518
17519 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
17520 (Bug#8934)
17521
17522 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17523
17524 * net/network-stream.el (network-stream-open-starttls):
17525 Use built-in TLS support if `gnutls-available-p' is true.
17526 (network-stream-open-tls): Ditto.
17527
17528 2011-06-26 Leo Liu <sdl.web@gmail.com>
17529
17530 * register.el (registerv): New struct.
17531 (registerv-make): New function.
17532 (jump-to-register, describe-register-1, insert-register):
17533 Support the jump-func, print-func and insert-func slot of a registerv
17534 struct. (Bug#8415)
17535
17536 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
17537
17538 * vc/vc.el (vc-revert-show-diff): New defcustom.
17539 (vc-diff-internal): New arg specifying diff buffer.
17540 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
17541 reuse an existing *vc-diff* buffer (Bug#8927).
17542
17543 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
17544
17545 2011-06-26 Glenn Morris <rgm@gnu.org>
17546
17547 * progmodes/f90.el (f90-critical-indent): New option.
17548 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17549 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17550 (f90-mode): Doc fix.
17551 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17552 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17553 (f90-beginning-of-block, f90-next-block, f90-indent-region)
17554 (f90-match-end): Handle block, critical.
17555
17556 2011-06-25 Glenn Morris <rgm@gnu.org>
17557
17558 * calendar/diary-lib.el (diary-included-files): Doc fix.
17559 (diary-include-files): New function, extracted from
17560 diary-include-other-diary-files and diary-mark-included-diary-files.
17561 (diary-include-other-diary-files, diary-mark-included-diary-files):
17562 Just call diary-include-files.
17563 (diary-mark-entries): Reset diary-included-files on first call.
17564
17565 * calendar/diary-lib.el (diary-mark-entries)
17566 (diary-mark-included-diary-files):
17567 Visit included diary-files in temp buffers.
17568
17569 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
17570 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
17571 (f90-start-block-re, f90-imenu-generic-expression)
17572 (f90-looking-at-program-block-start, f90-no-block-limit):
17573 Add support for submodules.
17574
17575 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17576 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
17577
17578 2011-06-25 Eli Zaretskii <eliz@gnu.org>
17579
17580 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
17581 buffer-file-type before setting its value, to avoid disastrous
17582 global effects on decoding files for DOS/Windows systems. (Bug#8780)
17583
17584 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
17585
17586 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
17587
17588 * ses.el (ses-unload-function):
17589 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
17590
17591 * proced.el (proced-unload-function):
17592 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
17593
17594 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
17595
17596 * server.el (server-create-window-system-frame): Add parameters arg.
17597 (server-process-filter): Doc fix. Handle frame-parameters.
17598
17599 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
17600
17601 Fix bug#8730, bug#8781.
17602
17603 * loadhist.el (unload--set-major-mode): New function.
17604 (unload-feature): Use it.
17605
17606 * progmodes/python.el (python-after-info-look): Add autoload cookie.
17607 (python-unload-function): New function.
17608
17609 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
17610
17611 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
17612
17613 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
17614
17615 * net/browse-url.el (browse-url-firefox-program): Add icecat to
17616 the candidates list.
17617
17618 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
17619
17620 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
17621
17622 2011-06-23 Richard Stallman <rms@gnu.org>
17623
17624 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
17625 (rmail-variables): Set next-error-move-function.
17626 (rmail-what-message): Take argument POS.
17627 (rmail-next-error-move): New function.
17628
17629 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
17630
17631 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
17632 messages for adjacent non-terminals.
17633
17634 2011-06-23 Richard Stallman <rms@gnu.org>
17635
17636 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
17637 (rmail-show-message-1): Preserve buffer modified flag.
17638 (rmail-start-mail): Don't specify use of rmail-mail-return;
17639 that's done by mail-bury now.
17640 (rmail-mail-return): Handle arg NEWBUF.
17641
17642 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
17643
17644 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
17645 SIZE is a number.
17646
17647 2011-06-23 Martin Rudalics <rudalics@gmx.at>
17648
17649 * window.el (get-lru-window, get-mru-window)
17650 (get-largest-window): Never return a minibuffer window.
17651 (display-buffer-pop-up-window): Fix a bug that could lead to
17652 reusing the minibuffer window.
17653 (display-buffer): Pass original specifier argument to
17654 display-buffer-function instead of the normalized one.
17655 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17656
17657 2011-06-22 Leo Liu <sdl.web@gmail.com>
17658
17659 * minibuffer.el (completing-read-function)
17660 (completing-read-default): Move from minibuf.c.
17661
17662 2011-06-22 Richard Stallman <rms@gnu.org>
17663
17664 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
17665 to Rmail even if not started by a special Rmail command.
17666
17667 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
17668 Copy the buffer currently showing just one message.
17669
17670 2011-06-22 Roland Winkler <winkler@gnu.org>
17671
17672 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
17673 (bibtex-clean-entry): First delete the old key so that a
17674 customized algorithm for generating the new key does not get
17675 confused by the old key.
17676 (bibtex-url): Obey regexp of first step.
17677 (bibtex-search-entries): Do not use add-to-list with local
17678 list-var.
17679
17680 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17681
17682 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
17683 stored a user name, then query for the password first, instead of
17684 waiting for SMTP to give an error message and the trying again.
17685
17686 2011-06-22 Lawrence Mitchell <wence@gmx.li>
17687
17688 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
17689 BUFFER in call-process.
17690
17691 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17692
17693 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
17694 QUIT twice.
17695 (smtpmail-try-auth-methods): Require user name and password from
17696 auth-source.
17697
17698 2011-06-22 Martin Rudalics <rudalics@gmx.at>
17699
17700 * window.el (display-buffer-default-specifiers)
17701 (display-buffer-alist): Remove entries for pop-up-frame-alist.
17702 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
17703 (split-window): Normalize SIDE argument (Bug#8916).
17704
17705 * frame.el (pop-up-frame-alist, pop-up-frame-function)
17706 (special-display-frame-alist, special-display-popup-frame):
17707 Remove duplicate declarations. These are now in window.el.
17708
17709 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17710
17711 * mail/smtpmail.el (smtpmail-via-smtp):
17712 Set :use-starttls-if-possible so that we always use STARTTLS if the
17713 server supports it. SMTP servers that support STARTTLS commonly
17714 require it.
17715
17716 * net/network-stream.el (network-stream-open-starttls): Support
17717 upgrading to STARTTLS always, even if we don't have built-in support.
17718 (open-network-stream): Add the :always-query-capabilities keyword.
17719
17720 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
17721 upgrades with `open-network-stream', and rely solely on
17722 auth-source for all credentials. Big changes throughout the file,
17723 but in particular:
17724 (smtpmail-auth-credentials): Remove.
17725 (smtpmail-starttls-credentials): Remove.
17726 (smtpmail-via-smtp): Check for servers saying they want AUTH after
17727 MAIL FROM, too.
17728
17729 * net/network-stream.el (network-stream-open-starttls):
17730 Provide support for client certificates both for external and built-in
17731 STARTTLS.
17732 (auth-source): Require.
17733 (open-network-stream): Document the :client-certificate keyword.
17734 (network-stream-certificate): Change cert-cert to cert and
17735 cert-key to key.
17736
17737 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
17738
17739 * net/tramp-cache.el (top): Don't load the persistency file when
17740 "emacs -Q" has been called.
17741
17742 2011-06-21 Tim Harper <timcharper@gmail.com>
17743
17744 * term/ns-win.el (ns-initialize-window-system):
17745 Set application-specific `ApplePressAndHoldEnabled' system
17746 resource to NO as it is not yet supported by the NS port.
17747
17748 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
17749
17750 * misc.el (list-dynamic-libraries--refresh): Compute header here...
17751 (list-dynamic-libraries): ...not here.
17752
17753 2011-06-21 Leo Liu <sdl.web@gmail.com>
17754
17755 * subr.el (sha1): Implement sha1 using secure-hash.
17756
17757 2011-06-21 Martin Rudalics <rudalics@gmx.at>
17758
17759 * window.el (display-buffer-alist): In default value do not
17760 enforce searching a window on any but the selected frame.
17761 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17762 (display-buffer-select-window): Remove function.
17763 (display-buffer-in-window): When a window on another frame gets
17764 reused, do not select it any more but just raise its frame if
17765 necessary (Bug#8851) and (Bug#8856).
17766 (display-buffer-normalize-options): Handle pop-up-frames related
17767 options more faithfully.
17768 (pop-to-buffer): Don't rely on `display-buffer' selecting the
17769 window if it is on another frame.
17770 (display-buffer-alist, display-buffer-default-specifiers):
17771 Don't make new frame unsplittable by default.
17772 (display-buffer-normalize-argument): Fix doc-string typo and use
17773 'same-frame-other-window instead of 'other-window when associating
17774 with display-buffer-macro-specifiers.
17775
17776 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
17777
17778 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17779 New functions.
17780 (5x5-mode-map, 5x5-mode-menu): Bind them.
17781 (5x5-draw-grid): Tweak the solver's rendering.
17782
17783 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17784
17785 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17786 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17787
17788 2011-06-21 Drew Adams <drew.adams@oracle.com>
17789
17790 * menu-bar.el: Use function variable instead of switch-to-buffer.
17791 (menu-bar-select-buffer-function): New variable.
17792 (menu-bar-update-buffers): Use it (bug#8876).
17793
17794 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17795
17796 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17797 variable's status.
17798
17799 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
17800
17801 * x-dnd.el (x-dnd-version-from-flags)
17802 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17803 and long as number (Bug#8899).
17804 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17805
17806 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17807
17808 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
17809 (completion-try-completion, completion-all-completions): Compute the
17810 metadata argument if it's missing; make it optional (bug#8795).
17811
17812 * wid-edit.el: Use lex-bind and move towards completion-at-point.
17813 (widget-complete): Use new :completion-function property.
17814 (widget-completions-at-point): New function.
17815 (default): Use :completion-function instead of :complete.
17816 (widget-default-completions): Rename from widget-default-complete;
17817 Rewrite.
17818 (widget-string-complete, widget-file-complete, widget-color-complete):
17819 Remove functions.
17820 (file, symbol, function, variable, coding-system, color):
17821 * international/mule-cmds.el (default-input-method, charset)
17822 (language-info-custom-alist):
17823 * cus-edit.el (face): Use new property :completions.
17824
17825 * progmodes/pascal.el (pascal-completions-at-point): New function.
17826 (pascal-mode): Use it.
17827 (pascal-mode-map): Use completion-at-point.
17828 (pascal-toggle-completions): Make obsolete.
17829 (pascal-complete-word, pascal-show-completions):
17830 * progmodes/octave-mod.el (octave-complete-symbol):
17831 Redefine as obsolete alias.
17832 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17833 Signal absence of completion info for old Octave,
17834 (inferior-octave-complete): Redefine as obsolete alias.
17835 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17836 (meta-completions-at-point): Rename from meta-complete-symbol and
17837 adapt it for use on completion-at-point-functions.
17838 (meta-common-mode): Use it.
17839 (meta-looking-at-backward, meta-match-buffer): Remove.
17840 (meta-complete-symbol): Redefine as obsolete alias.
17841 (meta-common-mode-map): Use completion-at-point.
17842 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17843 (makefile-mode-map): Use completion-at-point.
17844 (makefile-completions-at-point): Rename from makefile-complete and
17845 adapt it for use on completion-at-point-functions.
17846 (makefile-mode): Use it.
17847 (makefile-complete): Redefine as obsolete alias.
17848
17849 2011-06-20 Deniz Dogan <deniz@dogan.se>
17850
17851 * net/rcirc.el: Delete trailing whitespaces once and for all.
17852
17853 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17854
17855 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17856
17857 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
17858
17859 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17860
17861 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17862
17863 2011-06-19 Martin Rudalics <rudalics@gmx.at>
17864
17865 * window.el (display-buffer-other-window-means-other-frame):
17866 Call display-buffer-normalize-alist.
17867 (display-buffer-normalize-specifiers-1): Rename to
17868 display-buffer-normalize-argument. New argument other-frame.
17869 Rewrite.
17870 (display-buffer-normalize-specifiers-2): Rename to
17871 display-buffer-normalize-options.
17872 (display-buffer-normalize-alist-1): New function.
17873 (display-buffer-normalize-specifiers-3): Rename to
17874 display-buffer-normalize-alist.
17875 Call display-buffer-normalize-alist-1.
17876 (display-buffer-normalize-options-inhibit): New variable.
17877 (display-buffer-normalize-specifiers): Rewrite calling
17878 display-buffer-normalize-alist,
17879 display-buffer-normalize-argument, and
17880 display-buffer-normalize-options. Don't call the latter if
17881 display-buffer-normalize-options-inhibit is non-nil.
17882 (frame-auto-delete): New option.
17883 (window-deletable-p): Use frame-auto-delete.
17884 (window-list-no-nils, window-state-ignored-parameters)
17885 (window-state-get-1, window-state-get, window-state-put-list)
17886 (window-state-put-1, window-state-put-2, window-state-put):
17887 New functions.
17888 (display-buffer-normalize-options): Move special-display-p group
17889 after pop-up-frame group (Bug#8851) and (Bug#8856).
17890
17891 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
17892
17893 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17894 groups (Bug#8776).
17895 (rx-submatch-n): New function.
17896 (rx): Document it.
17897
17898 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17899 (Bug#8768).
17900
17901 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17902
17903 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17904
17905 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17906 anytime existing face settings are present (Bug#8889).
17907
17908 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17909 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17910 Remove unused argument.
17911
17912 2011-06-18 Martin Rudalics <rudalics@gmx.at>
17913
17914 * window.el (display-buffer-default-specifiers):
17915 Remove pop-up-frame. Add pop-up-window-min-height,
17916 pop-up-window-min-width, and another reuse-window specifier
17917 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
17918 (display-buffer-normalize-specifiers-2):
17919 Handle split-height-threshold and split-width-threshold also when
17920 pop-up-windows is unset. Add a reuse-window specifier for the
17921 case popping up a new window fails.
17922 (special-display-popup-frame): Remove double quoting.
17923 (display-buffer-normalize-specifiers-1): Fix thinko.
17924
17925 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17926
17927 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17928 according to comint-completion-addsuffix.
17929
17930 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17931 (pcomplete-suffix-list): Mark as obsolete.
17932 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17933 pcomplete-seen in the closure.
17934 (pcomplete-comint-setup): Setup completion-at-point as well.
17935 (pcomplete--entries): New function.
17936 (pcomplete--env-regexp): New var.
17937 (pcomplete-entries): Rewrite to work with partial-completion and
17938 without relying on pcomplete-suffix-list.
17939 (pcomplete-pare-list): Remove, unused.
17940
17941 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17942
17943 * window.el (display-buffer-alist): Set pop-up-window-min-height
17944 and pop-up-window-min-width in default value. Reported by
17945 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17946 other-window-means-other-frame.
17947 (display-buffer-macro-specifiers): Comment out entry for
17948 other-window specifier.
17949 (display-buffer-other-window-means-other-frame): New function.
17950 (display-buffer-normalize-specifiers-1): New arguments
17951 buffer-name and label. Treat other-window case specially.
17952 (display-buffer-normalize-specifiers-2): Treat other-window case
17953 specially.
17954 (display-buffer-normalize-specifiers-3): New function.
17955 (display-buffer-normalize-specifiers):
17956 Call display-buffer-normalize-specifiers-3.
17957
17958 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17959
17960 * window.el (same-window-p): Fix two typos introduced when
17961 adding with-no-warnings.
17962 (display-buffer-normalize-specifiers-1): Don't check
17963 pop-up-frames for 'unset initialization.
17964 (display-buffer-normalize-specifiers-2): Major rewrite using
17965 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17966 (pop-up-frames, display-buffer-reuse-frames)
17967 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17968 Suggested by David Engster <deng@randomsample.de>.
17969 (even-window-heights): Initialize to 'unset.
17970 (display-buffer-alist-set): Handle new 'unset initializations.
17971 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17972 other window case.
17973
17974 2011-06-16 Martin Rudalics <rudalics@gmx.at>
17975
17976 * window.el (display-buffer-normalize-specifiers-1):
17977 Respect current value of pop-up-frames for most reasonable values of
17978 second argument of display-buffer (Bug#8865).
17979 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17980 (switch-to-buffer-other-window-same-frame)
17981 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17982 Adams (Bug#8875).
17983 (display-buffer): Don't check noninteractive when calling
17984 display-buffer-pop-up-frame.
17985 (display-buffer-pop-up-frame): Never pop up a frame in
17986 noninteractive mode (Bug#8857).
17987 (enlarge-window, shrink-window): Don't report an error when the
17988 window can't be resized as requested (Bug#8862).
17989
17990 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17991
17992 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17993
17994 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17995
17996 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17997
17998 2011-06-15 Alan Mackenzie <acm@muc.de>
17999
18000 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
18001 for declarators, disable knr checking to speed up for normal files.
18002 2: Refactor, replacing a sequence of nested if forms by a cond form.
18003
18004 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18005
18006 * net/network-stream.el (open-network-stream): Add the keyword
18007 :always-query-capabilities for the case where you want to force a
18008 `plain' network connection, but the protocol still requires the
18009 capabilitiy command (i.e., SMTP and EHLO).
18010
18011 * subr.el (process-live-p): Rename from `process-alive-p' for
18012 consistency with other `-live-p' functions.
18013
18014 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18015
18016 * window.el (same-window-buffer-names, same-window-regexps)
18017 (special-display-frame-alist, special-display-popup-frame)
18018 (special-display-function, special-display-buffer-names)
18019 (special-display-regexps, pop-up-frame-alist)
18020 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
18021 (pop-up-windows, split-window-preferred-function)
18022 (split-height-threshold, split-width-threshold, even-window-heights)
18023 (display-buffer-mark-dedicated): Don't encourage the use of
18024 display-buffer-alist from Elisp code.
18025
18026 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
18027
18028 * progmodes/python.el (python-mode): Derive from prog-mode.
18029 * progmodes/ps-mode.el (ps-mode):
18030 * progmodes/mixal-mode.el (mixal-mode):
18031 * progmodes/cfengine.el (cfengine-mode):
18032 * progmodes/ld-script.el (ld-script-mode): Likewise.
18033
18034 2011-06-15 Martin Rudalics <rudalics@gmx.at>
18035
18036 * window.el (display-buffer-alist): Trim default value to avoid
18037 popping up a new frame (Bug#8857) or reusing an arbitrary window
18038 on another frame.
18039 (display-buffer): Do not fall back on popping up a new frame in
18040 batch mode (Bug#8857).
18041
18042 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
18043
18044 * cus-theme.el (describe-theme-1): Use custom-theme-p.
18045 (custom-theme-summary): New function.
18046 (customize-themes): Use it.
18047
18048 2011-06-13 Glenn Morris <rgm@gnu.org>
18049
18050 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
18051
18052 2011-06-13 Martin Rudalics <rudalics@gmx.at>
18053
18054 * help.el (help-window): Remove variable.
18055 (help-window-point-marker, temp-buffer-max-height)
18056 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
18057 (help-print-return-message): Don't set help-window.
18058 (resize-temp-buffer-window): Rewrite cod eand doc-string.
18059 (help-window-setup-finish): Remove.
18060 (help-window-display-message, help-window-setup)
18061 (with-help-window): Major rewrite based on new
18062 display-buffer-window variable.
18063
18064 * help-mode.el (help-mode-finish): Remove help-window related
18065 code.
18066
18067 * view.el (view-exits-all-viewing-windows): Remove reference to
18068 view-return-to-alist in doc-string.
18069 (view-return-to-alist): Make obsolete.
18070 (view-buffer): Call pop-to-buffer-same-window and remove
18071 undo-window code.
18072 (view-buffer-other-window): Call pop-to-buffer-other-window and
18073 simplify code. Ignore second argument.
18074 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
18075 simplify code. Ignore second argument.
18076 (view-return-to-alist-update): Make obsolete.
18077 (view-mode-enter): Rename second argument to QUIT-RESTORE.
18078 Rewrite using quit-restore window parameters.
18079 (view-mode-exit): Rename second argument to EXIT-ONLY.
18080 Rewrite using quit-restore-window.
18081 (View-exit, View-exit-and-edit, View-leave, View-quit)
18082 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
18083 appropriate arguments.
18084 (view-end-message): Use quit-restore window parameter.
18085
18086 * window.el (display-buffer-function): Rewrite doc-string.
18087 (display-buffer-window, display-buffer-alist): New variables.
18088 (display-buffer-split-specifiers)
18089 (display-buffer-side-specifiers)
18090 (display-buffer-macro-specifiers): New constants.
18091 (display-buffer-even-window-sizes, display-buffer-set-height)
18092 (display-buffer-set-width, display-buffer-select-window)
18093 (display-buffer-in-window, display-buffer-reuse-window)
18094 (display-buffer-split-window-1, display-buffer-split-window)
18095 (display-buffer-split-atom-window, display-buffer-pop-up-window)
18096 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
18097 (display-buffer-in-side-window, normalize-buffer-to-display)
18098 (display-buffer-normalize-specifiers-1)
18099 (display-buffer-normalize-specifiers-2)
18100 (display-buffer-normalize-specifiers, display-buffer-frame):
18101 New functions.
18102 (display-buffer): Major rewrite.
18103 (display-buffer-other-window, display-buffer-other-frame)
18104 (pop-to-buffer, switch-to-buffer-other-window)
18105 (switch-to-buffer-other-frame): Rewrite.
18106 (display-buffer-same-window, display-buffer-same-frame)
18107 (display-buffer-same-frame-other-window)
18108 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18109 (pop-to-buffer-other-window)
18110 (pop-to-buffer-same-frame-other-window)
18111 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
18112 (switch-to-buffer-other-window-same-frame): New functions.
18113 (same-window-p, special-display-p): Rewrite disabling warnings.
18114 Make obsolete.
18115 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18116 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
18117 Make obsolete
18118 (same-window-buffer-names, same-window-regexps)
18119 (special-display-frame-alist, special-display-popup-frame)
18120 (special-display-function, special-display-buffer-names)
18121 (special-display-regexps, pop-up-frame-alist)
18122 (pop-up-frame-function, split-window-preferred-function)
18123 (split-height-threshold, split-width-threshold)
18124 (even-window-heights): Make obsolete.
18125
18126 2011-06-12 Glenn Morris <rgm@gnu.org>
18127
18128 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
18129 Misc simplifications.
18130
18131 2011-06-12 Martin Rudalics <rudalics@gmx.at>
18132
18133 * window.el (window-safely-shrinkable-p): Restore function which
18134 was inadvertently removed in change from 2011-06-11. Declare as
18135 obsolete.
18136
18137 * calendar/calendar.el (calendar-generate-window):
18138 Use window-iso-combined-p instead of combination of one-window-p and
18139 window-safely-shrinkable-p.
18140
18141 2011-06-12 Glenn Morris <rgm@gnu.org>
18142
18143 * progmodes/fortran.el (fortran-mode-syntax-table):
18144 * progmodes/f90.el (f90-mode-syntax-table):
18145 Set % to punctuation. (Bug#8820)
18146 (f90-find-tag-default): Remove, no longer needed.
18147
18148 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
18149
18150 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
18151
18152 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
18153
18154 * image.el (image-animated-p): Return animation delay in seconds.
18155 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
18156 (image-animate-timeout): Remove DELAY argument. Don't assume
18157 every subimage has the same delay; get it from image-animated-p.
18158 (image-animate): Caller changed.
18159
18160 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
18161
18162 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
18163 to ignored backtrace functions.
18164
18165 2011-06-11 Glenn Morris <rgm@gnu.org>
18166
18167 * calendar/appt.el (appt-disp-window-function): Doc fix.
18168 (appt-check): Handle overlapping appointments. (Bug#8337)
18169
18170 2011-06-11 Martin Rudalics <rudalics@gmx.at>
18171
18172 * window.el (window-tree-1, window-tree): New functions, moving
18173 the latter to window.el.
18174 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
18175 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
18176 (bw-refresh-edges): Remove.
18177 (balance-windows-1, balance-windows-2): New functions.
18178 (balance-windows): Rewrite in terms of window tree functions,
18179 balance-windows-1 and balance-windows-2.
18180 (bw-adjust-window): Remove.
18181 (balance-windows-area-adjust): New function with functionality of
18182 bw-adjust-window but using resize-window.
18183 (set-window-text-height): Rewrite doc-string.
18184 Use normalize-live-window and resize-window.
18185 (enlarge-window-horizontally, shrink-window-horizontally):
18186 Rename argument to DELTA.
18187 (window-buffer-height): New function.
18188 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
18189 Rewrite using new window resize routines.
18190 (kill-buffer-and-window, mouse-autoselect-window-select):
18191 Use ignore-errors instead of condition-case.
18192 (quit-window): Call delete-frame instead of delete-windows-on
18193 for the only buffer on frame.
18194
18195 2011-06-10 Martin Rudalics <rudalics@gmx.at>
18196
18197 * loadup.el (top-level): Load window before files for the sake
18198 of replace-buffer-in-windows.
18199
18200 * files.el (read-buffer-to-switch)
18201 (switch-to-buffer-other-window)
18202 (switch-to-buffer-other-frame, display-buffer-other-frame):
18203 Move to window.el.
18204
18205 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
18206 (previous-buffer): Move to window.el.
18207
18208 * bindings.el (unbury-buffer): Move to window.el.
18209
18210 * window.el (delete-other-windows-vertically): Move after
18211 definition of delete-other-windows.
18212 (other-window, delete-windows-on, replace-buffer-in-windows):
18213 Move here from window.c.
18214 (record-window-buffer, unrecord-window-buffer)
18215 (set-window-buffer-start-and-point, switch-to-prev-buffer)
18216 (switch-to-next-buffer): New functions.
18217 (get-next-valid-buffer, last-buffer, next-buffer): Move here
18218 from simple.el. Call switch-to-next-buffer.
18219 (previous-buffer): Move here from simple.el.
18220 Call switch-to-prev-buffer.
18221 (bury-buffer): Move here from buffer.c. Switch to previous
18222 buffer when window cannot be deleted.
18223 (unbury-buffer): Move here from bindings.el.
18224 (ctl-x-map): Move binding for other-window from window.c to
18225 here.
18226 (read-buffer-to-switch, switch-to-buffer-other-window)
18227 (switch-to-buffer-other-frame): Move here from files.el.
18228 (normalize-buffer-to-switch-to): New functions.
18229 (switch-to-buffer): Move here from buffer.c.
18230 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
18231
18232 2011-06-10 Martin Rudalics <rudalics@gmx.at>
18233
18234 * window.el (window-min-height, window-min-width): Move here
18235 from window.c. Add defcustoms and rewrite doc-strings.
18236 (resize-mini-window, resize-window): New functions.
18237 (adjust-window-trailing-edge, enlarge-window, shrink-window):
18238 Move here from window.c.
18239 (maximize-window, minimize-window): New functions.
18240 (delete-window, delete-other-windows, split-window): Move here
18241 from window.c.
18242 (window-split-min-size): New function.
18243 (split-window-keep-point): Mention split-window-above-each-other
18244 instead of split-window-vertically.
18245 (split-window-above-each-other, split-window-vertically):
18246 Rename split-window-vertically to split-window-above-each-other
18247 and provide defalias for old definition.
18248 (split-window-side-by-side, split-window-horizontally):
18249 Rename split-window-horizontally to split-window-side-by-side
18250 and provide defalias for the old definition.
18251 (ctl-x-map): Move bindings for delete-window,
18252 delete-other-windows and enlarge-window here from window.c.
18253 Replace bindings for split-window-vertically and
18254 split-window-horizontally by bindings for
18255 split-window-above-each-other and split-window-side-by-side.
18256
18257 * cus-start.el (all): Remove entries for window-min-height and
18258 window-min-width. Add entries for window-splits and
18259 window-nest.
18260
18261 2011-06-09 Glenn Morris <rgm@gnu.org>
18262
18263 * calendar/appt.el (appt-mode-line): New function.
18264 (appt-check, appt-disp-window): Use it.
18265
18266 * files.el (hack-one-local-variable-eval-safep):
18267 Allow minor-modes with explicit +/-1 arguments.
18268
18269 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
18270
18271 * term/xterm.el (xterm): Add defgroup.
18272 (xterm-extra-capabilities): Add defcustom to supply known xterm
18273 capabilities, skip querying them, or query them (default).
18274 (terminal-init-xterm): Use it.
18275 (terminal-init-xterm-modify-other-keys): New function to set up
18276 modifyOtherKeys support to simplify `terminal-init-xterm'.
18277
18278 2011-06-09 Martin Rudalics <rudalics@gmx.at>
18279
18280 * window.el (resize-window-reset, resize-window-reset-1)
18281 (resize-subwindows-skip-p, resize-subwindows-normal)
18282 (resize-subwindows, resize-other-windows, resize-this-window)
18283 (resize-root-window, resize-root-window-vertically)
18284 (window-deletable-p, window-or-subwindow-p)
18285 (frame-root-window-p): New functions.
18286
18287 2011-06-09 Glenn Morris <rgm@gnu.org>
18288
18289 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
18290 (ange-ftp-get-files): Use it.
18291
18292 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
18293
18294 * mail/sendmail.el (mail-recover-1, mail-recover):
18295 * files.el (recover-file, recover-session):
18296 Handle dired-listing-switches not being just a single short option.
18297
18298 2011-06-09 Glenn Morris <rgm@gnu.org>
18299
18300 * calendar/appt.el (appt-display-message, appt-disp-window):
18301 Handle lists of appointments.
18302
18303 2011-06-08 Martin Rudalics <rudalics@gmx.at>
18304
18305 * window.el (one-window-p): Move down in code.
18306 Rewrite doc-string.
18307 (window-current-scroll-bars): Rewrite doc-string.
18308 Normalize live window argument.
18309 (walk-windows, get-window-with-predicate, count-windows):
18310 Rewrite doc-string. Use window-list-1.
18311 (window-in-direction-2, window-in-direction, get-mru-window):
18312 New functions.
18313
18314 2011-06-08 Reuben Thomas <rrt@sc3d.org>
18315
18316 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18317 Doc fix (Bug#8713).
18318
18319 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
18320
18321 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
18322
18323 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
18324
18325 * loadhist.el (unload-feature-special-hooks):
18326 Add `comint-output-filter-functions'.
18327
18328 2011-06-08 Ivan Kanis <gnu@kanis.fr>
18329
18330 * calendar/appt.el (appt-check): Move some initializations into the let.
18331
18332 2011-06-08 Martin Rudalics <rudalics@gmx.at>
18333
18334 * window.el (window-height): Defalias to window-total-height.
18335 (window-width): Defalias to window-body-width.
18336
18337 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
18338
18339 * image-mode.el (image-toggle-animation): New command.
18340 (image-mode-map): Bind it to RET.
18341 (image-mode): Update message.
18342 (image-toggle-display-image): Avoid a spurious cache flush.
18343 (image-transform-rotation): Doc fix.
18344 (image-transform-properties): Return quickly in the normal case.
18345 (image-animate-loop): Rename from image-animate-max-time.
18346
18347 * image.el (image-animate-max-time): Move to image-mode.el.
18348 (create-animated-image): Remove unnecessary function.
18349 (image-animate): Rename from image-animate-start. New arg.
18350 (image-animate-stop): Remove; just use image-animate-timer.
18351 (image-animate-timer): Use car-safe.
18352 (image-animate-timeout): Rename argument.
18353
18354 2011-06-07 Martin Rudalics <rudalics@gmx.at>
18355
18356 * window.el (get-lru-window, get-largest-window): Move here from
18357 window.c. Rename first argument to ALL-FRAMES.
18358 Rephrase doc-strings.
18359 (get-buffer-window-list): Rewrite using window-list-1.
18360 Rephrase doc-string.
18361 (window-safe-min-height, window-safe-min-width): New constants.
18362 (window-size-ignore, window-min-size, window-min-size-1)
18363 (window-sizable, window-sizable-p, window-size-fixed-1)
18364 (window-size-fixed-p, window-min-delta-1, window-min-delta)
18365 (window-max-delta-1, window-max-delta, window-resizable)
18366 (window-resizable-p, window-total-height, window-total-width)
18367 (window-body-width): New functions.
18368 (window-full-height-p, window-full-width-p): Rewrite using
18369 window-total-size.
18370 (window-body-height): Rewrite using window-body-size.
18371
18372 2011-06-06 Martin Rudalics <rudalics@gmx.at>
18373
18374 * window.el (window-right, window-left, window-child)
18375 (window-child-count, window-last-child, window-any-p)
18376 (normalize-live-buffer, normalize-live-frame)
18377 (normalize-any-window, normalize-live-window)
18378 (window-iso-combination-p, window-iso-combined-p)
18379 (window-iso-combinations)
18380 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18381 (windows-with-parameter, window-with-parameter)
18382 (window-atom-root, make-window-atom, window-atom-check-1)
18383 (window-atom-check, window-side-check, window-check):
18384 New functions.
18385 (ignore-window-parameters, window-sides, window-sides-vertical)
18386 (window-sides-slots): New variables.
18387 (window-size-fixed): Move down in code. Minor doc-string fix.
18388
18389 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
18390
18391 * comint.el (comint-dynamic-complete-as-filename)
18392 (comint-dynamic-complete-filename): Correctly call
18393 completion-in-region.
18394
18395 2011-06-05 Deniz Dogan <deniz@dogan.se>
18396
18397 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
18398 in last change.
18399
18400 2011-06-05 Deniz Dogan <deniz@dogan.se>
18401
18402 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
18403 (rcirc): Use it to prompt for encryption.
18404
18405 2011-06-05 Roland Winkler <winkler@gnu.org>
18406
18407 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
18408 (bibtex-search-entries): New command bound to C-c C-a.
18409 (bibtex-display-entries): New function.
18410
18411 2011-06-05 Roland Winkler <winkler@gnu.org>
18412
18413 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
18414 (bibtex-insert-kill): After yanking insert newline if necessary.
18415 (bibtex-initialize): Call bibtex-string-files-init only once.
18416 (bibtex-mode): Do not call easy-menu-add.
18417 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
18418 (bibtex-yank): Set arg properly if nil.
18419
18420 2011-06-05 Roland Winkler <winkler@gnu.org>
18421
18422 * textmodes/bibtex.el (bibtex-search-entry-globally):
18423 New variable.
18424 (bibtex-search-entry): Use it.
18425
18426 2011-06-05 Roland Winkler <winkler@gnu.org>
18427
18428 * textmodes/bibtex.el (bibtex-entry-format): New option
18429 sort-fields.
18430 (bibtex-format-entry, bibtex-reformat): Honor this option.
18431 (bibtex-parse-entry): Return fields in proper order.
18432
18433 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
18434
18435 * doc-view.el (doc-view-remove-if): Move computation of result out
18436 of `dolist' to silence misleading lexical-binding warning.
18437
18438 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
18439
18440 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18441 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18442
18443 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
18444
18445 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18446 "SunOS 5.10".
18447
18448 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
18449
18450 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18451 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18452 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18453 (tramp-parse-putty):
18454 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18455 (tramp-completion-function-alist-ssh)
18456 (tramp-completion-function-alist-telnet)
18457 (tramp-completion-function-alist-su)
18458 (tramp-completion-function-alist-putty): Set `tramp-autoload'
18459 cookie.
18460
18461 * net/tramp-ftp.el:
18462 * net/tramp-sh.el:
18463 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18464 load "tramp.el" `tramp-set-completion-function'.
18465
18466 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
18467
18468 * shell.el: Require and use pcomplete.
18469 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18470 (shell-completion-vars): Set pcomplete-default-completion-function.
18471
18472 2011-06-04 Deniz Dogan <deniz@dogan.se>
18473
18474 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18475 `memq' (Bug#8799).
18476
18477 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18478
18479 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18480
18481 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
18482
18483 * bs.el (bs--mark-unmark, bs--nth-wrapper):
18484 * mpc.el (mpc-select-extend, mpc-songpointer-context):
18485 * vc/log-view.el (log-view-beginning-of-defun):
18486 * vc/smerge-mode.el (smerge-apply-resolution-patch)
18487 (smerge-refine-forward, smerge-refine-chopup-region):
18488 Silence warning for unused `dotimes' counter variables.
18489
18490 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18491
18492 * net/tramp.el (tramp-with-progress-reporter): Rename from
18493 with-progress-reporter. Use `declare'.
18494 * net/tramp-smb.el:
18495 * net/tramp-sh.el:
18496 * net/tramp-gvfs.el: Update all uses.
18497
18498 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
18499
18500 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
18501 buffer isn't killed before making it current.
18502
18503 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18504
18505 Silence various byte-compiler warnings.
18506 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18507 `access-type' and new obsolescence format.
18508 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18509 new format.
18510 (byte-compile-check-variable): New `access-type' argument.
18511 Only warn if the access-type is obsolete.
18512 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18513 (byte-compile-variable-set): Adjust callers.
18514 * help-fns.el (describe-variable): Adjust to new obsolescence format.
18515 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
18516 setting it as obsolete.
18517 * simple.el (minibuffer-completing-symbol):
18518 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
18519 access as obsolete.
18520 * minibuffer.el (minibuffer-completing-file-name): Don't make it
18521 obsolete yet.
18522 * international/quail.el (quail-mouse-choose-completion): Remove unused
18523 code referring to obsolete var.
18524 (quail-choose-completion-string): Remove.
18525 * server.el (server-clients-with, server-kill-buffer-query-function)
18526 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
18527 * proced.el (proced-send-signal):
18528 * emacs-lisp/lisp.el (lisp-complete-symbol):
18529 Replace completion-annotate-function with completion-extra-properties.
18530
18531 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18532
18533 * simple.el (goto-line): Use read-number.
18534 (overriding-map-is-bound): Remove.
18535 (saved-overriding-map): Change default.
18536 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
18537 Take the map as argument.
18538 (universal-argument, negative-argument, digit-argument): Use it.
18539 (restore-overriding-map): Adjust.
18540 (do-auto-fill): Use fill-forward-paragraph.
18541 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
18542
18543 * minibuffer.el (minibuffer-inactive-mode-map): New var.
18544 (minibuffer-inactive-mode): New major mode.
18545 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
18546 the *Messages* buffer" hack.
18547 (mouse-popup-menubar): Don't burp if the event is a normal key.
18548
18549 Miscellaneous tweaks.
18550 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18551 lexical scoping as in subr.el's dolist and dotimes.
18552 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18553 Silence compiler warning.
18554 * thingatpt.el (forward-whitespace): Trivial coding style fix.
18555 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18556 * international/ccl.el (ccl-compile): Trivial simplification.
18557 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
18558 * emacs-lisp/testcover.el (testcover-end): Remove spurious
18559 `printflag' argument.
18560 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18561 Purecopy the whole obsolescence data.
18562
18563 2011-06-01 Leo Liu <sdl.web@gmail.com>
18564
18565 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
18566 improve doc-string as suggested by Marco Pessotto
18567 <melmothx@gmail.com>.
18568 (rcirc-print): Fix last change.
18569
18570 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18571
18572 * minibuffer.el (complete-with-action): Return nil for the metadata and
18573 boundaries of non-functional tables.
18574 (completion-table-dynamic): Return nil for the metadata.
18575 (completion-table-with-terminator): Add default case, using
18576 complete-with-action.
18577 (completion--metadata): New function.
18578 (completion-all-sorted-completions, minibuffer-completion-help): Use it
18579 to try and avoid pathological performance problems.
18580 (completion--embedded-envvar-table): Return `category' metadata.
18581
18582 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
18583
18584 * subr.el (process-alive-p): New tiny convenience function.
18585
18586 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18587
18588 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
18589 content but also its previous major mode.
18590
18591 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
18592
18593 * emacs-lisp/debug.el (debug): Restore the previous content of the
18594 *Backtrace* buffer when we exit with C-M-c.
18595
18596 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18597
18598 * minibuffer.el: Add metadata method to completion tables.
18599 (completion-category-overrides): New defcustom.
18600 (completion-metadata, completion--field-metadata)
18601 (completion-metadata-get, completion--styles)
18602 (completion--cycle-threshold): New functions.
18603 (completion-try-completion, completion-all-completions):
18604 Add `metadata' argument to choose completion-styles.
18605 (completion--do-completion): Use metadata to choose cycling.
18606 (completion-all-sorted-completions): Use metadata for sorting.
18607 Remove :completion-cycle-penalty which is not needed any more.
18608 (completion--try-word-completion): Add `metadata' argument.
18609 (minibuffer-completion-help): Check metadata for annotation function
18610 and sorting.
18611 (completion-file-name-table): Return `category' metadata.
18612 (minibuffer-completing-file-name): Make obsolete.
18613 * simple.el (minibuffer-completing-symbol): Make obsolete.
18614 * icomplete.el (icomplete-completions): Pass new `metadata' param to
18615 completion-try-completion.
18616
18617 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18618
18619 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
18620
18621 2011-05-30 Leo Liu <sdl.web@gmail.com>
18622
18623 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
18624 (rcirc-print): Decode all incoming messages (bug#8744).
18625 (rcirc-decode-coding-system): Allow value nil for automatic coding
18626 system detection.
18627
18628 2011-06-01 Glenn Morris <rgm@gnu.org>
18629
18630 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
18631
18632 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18633
18634 * image.el (image-animate-max-time): Allow nil and t values.
18635 Default to nil.
18636 (create-animated-image): Doc fix.
18637 (image-animate-start): Remove second arg; just use
18638 image-animate-max-time.
18639 (image-animate-timeout): Doc fix. Args changed.
18640
18641 * image-mode.el (image-toggle-display-image): Ensure that the
18642 image spec passed to the animate timer is the same object as in
18643 the buffer's display property (Bug#6981).
18644 (image-transform-properties): Doc fix.
18645
18646 * image.el (image-animate-max-time): Default to nil.
18647
18648 2011-05-29 Martin Rudalics <rudalics@gmx.at>
18649
18650 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
18651 entire buffer list (Bug#8184).
18652
18653 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18654
18655 * image.el (imagemagick-types-inhibit)
18656 (imagemagick-register-types): Doc fix.
18657
18658 2011-05-29 Deniz Dogan <deniz@dogan.se>
18659
18660 * net/rcirc.el (rcirc): Use the user's stored encryption method by
18661 default.
18662
18663 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18664
18665 * select.el: Don't perform clipboard-manager saving in hooks;
18666 leave the hooks empty.
18667
18668 2011-05-28 Leo Liu <sdl.web@gmail.com>
18669
18670 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
18671 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
18672 (occur-edit-mode): New major mode (Bug#8463).
18673 (occur-after-change-function): New function.
18674 (occur-engine): Give Occur tags a read-only property.
18675
18676 2011-05-28 Kevin Ryde <user42@zip.com.au>
18677
18678 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
18679
18680 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18681
18682 * bindings.el (help-echo): Make the initial non-indicator dash
18683 empty on graphical terminals (Bug#7295).
18684
18685 * files.el (auto-mode-alist): Move config rule after the
18686 in-stripping one (Bug#8547).
18687
18688 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
18689
18690 * startup.el (normal-splash-screen): Remove gratuitous mode-line
18691 setting (Bug#8740).
18692
18693 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
18694
18695 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
18696 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
18697 (Bug#8539).
18698
18699 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18700
18701 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
18702
18703 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
18704
18705 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
18706 (hs-hide-block-at-point, hs-find-block-beginning)
18707 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
18708 (Bug#8279).
18709
18710 2011-05-28 Glenn Morris <rgm@gnu.org>
18711
18712 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
18713
18714 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18715
18716 * help-fns.el (describe-function-1): If the function is a derived
18717 major mode, print the parent mode.
18718
18719 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
18720 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
18721
18722 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
18723
18724 * minibuffer.el (completion--capf-wrapper): Check applicability before
18725 returning non-nil for non-exclusive completion data.
18726 * progmodes/etags.el (tags-completion-at-point-function):
18727 * info-look.el (info-lookup-completions-at-point): Mark as
18728 non-exclusive.
18729 (info-complete): Adjust accordingly.
18730
18731 * info-look.el: Convert to lexical-binding and completion-at-point.
18732 (info-lookup-completions-at-point): New function.
18733 (info-complete): Use it and completion-in-region.
18734
18735 2011-05-28 Drew Adams <drew.adams@oracle.com>
18736
18737 * isearch.el: Let M-e start with point at the first mismatched char.
18738 (isearch-fail-pos): New function.
18739 (isearch-edit-string): Use it.
18740
18741 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18742
18743 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18744
18745 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
18746
18747 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
18748 traversal functions for avl-trees.
18749 (avl-tree--stack): New struct.
18750 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18751 (avl-tree-enter): Add optional `updatefun' arg.
18752 (avl-tree--do-enter): Add optional `updatefun' arg.
18753 Change return value.
18754 (avl-tree-delete): Add optional `test' and `nilflag' args.
18755 (avl-tree--do-delete): Add `test' and `nilflag' args.
18756 Change return value.
18757 (avl-tree-member): Add optional `nilflag'
18758 (avl-tree-member-p): New function.
18759 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18760 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18761 (avl-tree-stack-empty-p): New functions.
18762
18763 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18764 avl-tree--del-balance1 and make it work both ways.
18765 (avl-tree--del-balance2): Remove.
18766 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18767 make it work both ways.
18768 (avl-tree--enter-balance2): Remove.
18769 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18770 New macros.
18771 (avl-tree--mapc, avl-tree-map): Add direction argument.
18772
18773 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
18774
18775 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18776
18777 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
18778
18779 * select.el: Support clipboard managers with built-in function
18780 x-clipboard-manager-save, via delete-frame-functions and
18781 kill-emacs-hook.
18782 (xselect-convert-to-targets): Add MULTIPLE target to list.
18783 (xselect-convert-to-save-targets): New function.
18784
18785 2011-05-27 Kenichi Handa <handa@m17n.org>
18786
18787 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18788 let-binding rfc2047-encode-encoded-words to nil.
18789
18790 2011-05-27 Glenn Morris <rgm@gnu.org>
18791
18792 * mail/emacsbug.el: Don't require url-util.
18793
18794 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
18795
18796 * files.el (set-auto-mode):
18797 Also respect mode: entries at the end of the file. (Bug#8586)
18798
18799 2011-05-26 Glenn Morris <rgm@gnu.org>
18800
18801 * files.el (hack-local-variables-prop-line, hack-local-variables):
18802 Downcase mode names, as seems to be traditional.
18803 (hack-local-variables, hack-local-variables-apply): Doc fixes.
18804
18805 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18806 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
18807
18808 2011-05-25 Julien Danjou <julien@danjou.info>
18809
18810 * textmodes/rst.el (rst-define-level-faces): Do not define face
18811 symbol if it is already defined.
18812
18813 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18814
18815 * play/5x5.el (5x5-new-game, 5x5-randomize):
18816 Reset 5x5-solver-output to nil when a new grid is cast.
18817 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18818 these debugging traces, as defmacro breaks the compiled code.
18819
18820 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18821
18822 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18823
18824 2011-05-24 Leo Liu <sdl.web@gmail.com>
18825
18826 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18827 (vc-bzr-sha1): Adapt.
18828
18829 * sha1.el: Remove. Function `sha1' is now builtin.
18830
18831 * bindings.el: Provide sha1 feature.
18832
18833 2011-05-24 Kenichi Handa <handa@m17n.org>
18834
18835 * mail/sendmail.el: Require `rfc2047'.
18836 (mail-insert-from-field): Do not perform RFC2047 encoding.
18837 (mail-encode-header): New function.
18838 (sendmail-send-it): Set buffer-file-coding-system of the work
18839 buffer to the return value of select-message-coding-system.
18840 Call mail-encode-header.
18841
18842 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18843
18844 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
18845
18846 * mail/supercite.el (sc-default-cite-frame):
18847 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
18848
18849 2011-05-24 Glenn Morris <rgm@gnu.org>
18850
18851 * progmodes/python.el (brm-menu): Declare.
18852
18853 * emulation/viper.el (viper-set-hooks): Declare.
18854
18855 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18856 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18857 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18858 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18859 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18860 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18861
18862 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18863
18864 Add an :exit-function for completion-at-point.
18865
18866 * minibuffer.el (completion--done): New fun.
18867 (completion--do-completion): Use it. New arg `expect-exact'.
18868 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18869 since completion--do-completion does it for us now.
18870 (minibuffer-force-complete): Use completion--done and
18871 completion--replace. Handle sole-completion case with more care.
18872 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18873 (completion-extra-properties): New var.
18874 (completion-annotate-function): Make obsolete.
18875 (minibuffer-completion-help): Adjust accordingly.
18876 Use completion-list-insert-choice-function.
18877 (completion-at-point, completion-help-at-point):
18878 Bind completion-extra-properties.
18879 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18880 * simple.el (completion-list-insert-choice-function): New var.
18881 (completion-setup-function): Preserve it.
18882 (choose-completion): Pay attention to it, shuffle the code a bit.
18883 (choose-completion-string): New arg `insert-function'.
18884
18885 * textmodes/bibtex.el: Convert to lexical binding.
18886 (bibtex-mode-map): Use completion-at-point.
18887 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18888 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18889 (bibtex-complete): Define as obsolete alias.
18890 (bibtex-complete-internal): Remove.
18891 (bibtex-format-entry): Remove unused sub-group in regexp.
18892 * shell.el (shell--command-completion-data)
18893 (shell-environment-variable-completion):
18894 * pcomplete.el (pcomplete-completions-at-point):
18895 * comint.el (comint--complete-file-name-data): Use :exit-function
18896 instead of completion-table-with-terminator so it also works for
18897 choose-completion.
18898
18899 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18900
18901 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18902
18903 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18904 (bug#8710).
18905
18906 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18907
18908 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18909
18910 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18911 customization variable and implement: If non-nil, auto-fill will
18912 be inhibited while on topic's header line.
18913
18914 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18915
18916 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
18917 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
18918 always have a solution in grid size = 5 cases.
18919 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18920 (5x5-solver-output, 5x5-log-buffer): New vars.
18921 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18922 Make these variables buffer local to achieve 5x5 multi-session-ness.
18923 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18924 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18925 (5x5-solve-suggest): New funs.
18926 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18927 randomize a grid so that we ensure that there is always a solution.
18928 (5x5-make-random-grid): Allow other movement than flipping.
18929
18930 2011-05-23 Kevin Ryde <user42@zip.com.au>
18931
18932 * emacs-lisp/advice.el (ad-read-advised-function):
18933 Use `function-called-at-point' as the default, if it has
18934 advice and passes PREDICATE.
18935
18936 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18937
18938 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18939 byte-compile-lambda if it's actually a lambda.
18940
18941 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18942 Fix function quoting. Use backquote better.
18943
18944 2011-05-22 Yuanle Song <sylecn@gmail.com>
18945
18946 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18947 matching (Bug#8516).
18948
18949 2011-05-22 Jari Aalto <jari.aalto@cante.net>
18950
18951 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18952 different face (Bug#8178).
18953
18954 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
18955
18956 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18957 defface (Bug#8144).
18958
18959 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18960
18961 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18962 funcall as well (bug#8712). Warn when performing those conversions.
18963 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18964
18965 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18966
18967 2011-05-22 Glenn Morris <rgm@gnu.org>
18968
18969 * files.el (hack-local-variables-prop-line): Small simplifications.
18970 (hack-local-variables, hack-local-variables-prop-line):
18971 If MODE-ONLY, return the mode, rather than just `t'.
18972
18973 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18974
18975 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18976
18977 2011-05-21 Glenn Morris <rgm@gnu.org>
18978
18979 * files.el (hack-local-variables-prop-line, hack-local-variables):
18980 If only interested in the mode, don't bother doing the other stuff.
18981
18982 * image-mode.el (image-after-revert-hook):
18983 Redraw all frames on which the image is visible. (Bug#8567)
18984
18985 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18986
18987 * wid-edit.el (widget-checklist-match-inline):
18988 Fix 2011-04-19 change. (Bug#8649)
18989
18990 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18991
18992 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18993 Also allow singlespace after single-letter capitals followed by a dot.
18994
18995 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18996 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18997
18998 2011-05-20 Nix <nix@esperi.org.uk>
18999
19000 * files.el (basic-save-buffer-2):
19001 Fix handling of break-hardlink-on-save with non-existent files.
19002
19003 2011-05-19 Deniz Dogan <deniz@dogan.se>
19004
19005 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
19006 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
19007
19008 2011-05-19 Glenn Morris <rgm@gnu.org>
19009
19010 * progmodes/f90.el (f90-type-def-re):
19011 Handle "type, bind(c)". (Bug#8691)
19012
19013 * emacs-lisp/autoload.el (batch-update-autoloads):
19014 Set autoload-excludes by parsing loadup.el rather than Makefiles.
19015
19016 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
19017
19018 * net/tramp.el (tramp-process-actions): Set "first-password-request"
19019 property for the correct connection in case of multihops.
19020
19021 2011-05-18 Glenn Morris <rgm@gnu.org>
19022
19023 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
19024 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
19025
19026 Rationalize calendar handling of day and month abbrev-arrays.
19027 * calendar/calendar.el (calendar-customized-p): New function.
19028 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
19029 (calendar-day-name-array, calendar-month-name-array): Doc fix.
19030 Add :set function.
19031 (calendar-abbrev-length, calendar-day-abbrev-array)
19032 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
19033 (calendar-day-abbrev-array, calendar-month-abbrev-array):
19034 Elements may no longer be nil.
19035 (calendar-day-name, calendar-month-name):
19036 Update for changed nature of abbrev arrays.
19037 * calendar/diary-lib.el (diary-name-pattern):
19038 Update for changed nature of abbrev arrays.
19039 (diary-mark-entries-1): Update calendar-make-alist calls.
19040 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
19041 * calendar/cal-html.el (cal-html-day-abbrev-array):
19042 Simply inherit from calendar-day-abbrev-array.
19043
19044 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
19045
19046 * progmodes/grep.el (grep-mode): Disable default
19047 compilation-directory-matcher setting (bug#8684).
19048
19049 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
19050
19051 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
19052 instead of "head" and "tail". There were problems with SunOS 5.9,
19053 and it performs better.
19054
19055 2011-05-17 Glenn Morris <rgm@gnu.org>
19056
19057 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
19058
19059 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
19060 Replace obsolete function.
19061
19062 * shell.el (pcomplete-parse-arguments-function): Declare.
19063
19064 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
19065 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
19066 (appt-check): Doc fixes.
19067 (appt-disp-window-function, appt-delete-window-function):
19068 Remove needless special case in custom :type.
19069 (appt-display-count): Default to 0, not nil.
19070 (appt-check): Reset appt-display-count to 0, not nil.
19071
19072 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
19073
19074 * progmodes/python.el (python-font-lock-keywords):
19075 Add the Python 3.X keyword "nonlocal" (bug#8639).
19076
19077 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
19078
19079 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
19080
19081 2011-05-16 Kevin Ryde <user42@zip.com.au>
19082
19083 * info-look.el (makefile-automake-mode): New setups, looking in
19084 automake manual, then makefile-mode.
19085 (makefile-mode): Remove automake manual, have it just in
19086 makefile-automake-mode since there's various things different or
19087 not relevant to plain make.
19088 (makefile-mode): Remove "other-modes" non-existent automake-mode,
19089 believe a hypothetical automake-mode would go to makefile-mode,
19090 not the other way around.
19091
19092 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
19093
19094 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
19095 hunk-end tags (Bug#8672).
19096
19097 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
19098 vc-annotate-show-diff-revision-at-line (Bug#8671).
19099
19100 2011-05-14 Glenn Morris <rgm@gnu.org>
19101
19102 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
19103 in the middle of an existing one with multiple authors. (Bug#8645)
19104 (change-log-font-lock-keywords): Also handle multiple author lines
19105 with leading tabs. (Bug#8644)
19106
19107 * calendar/appt.el (appt-check): Rename some local variables.
19108 Some simplification/reordering.
19109
19110 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
19111 (feedmail-sendmail-f-doesnt-sell-me-out)
19112 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19113 (feedmail-debug-sit-for, feedmail-queue-express-hook)
19114 (feedmail-queue-runner-message-sender): Set :version.
19115 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
19116 (bbdb-dwim-net-address, vm-mail): Declare.
19117 (feedmail-binmail-gnulinuxish-template):
19118 Rename from feedmail-binmail-linuxish-template.
19119 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
19120 Use insert-buffer-substring.
19121
19122 2011-05-14 Bill Carpenter <bill@carpenter.org>
19123
19124 * mail/feedmail.el (feedmail-patch-level): Increase.
19125 (feedmail-debug): New custom group.
19126 (feedmail-confirm-outgoing-timeout)
19127 (feedmail-sendmail-f-doesnt-sell-me-out)
19128 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19129 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
19130 (feedmail-sender-line, feedmail-from-line)
19131 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
19132 (feedmail-spray-this-address)
19133 (feedmail-spray-address-fiddle-plex-list)
19134 (feedmail-queue-use-send-time-for-date)
19135 (feedmail-queue-use-send-time-for-message-id)
19136 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
19137 (feedmail-buffer-eating-function):
19138 Doc fixes.
19139 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
19140 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
19141 (feedmail-message-action-scroll-down): New functions.
19142 (feedmail-queue-directory, feedmail-queue-draft-directory):
19143 Use expand-file-name.
19144 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
19145 Remove C-v help entry.
19146 (feedmail-queue-buffer-file-name): New variable.
19147 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
19148 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
19149 (feedmail-message-action-send-strong, feedmail-message-action-edit)
19150 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
19151 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
19152 (feedmail-message-action-toggle-spray)
19153 (feedmail-run-the-queue-no-prompts)
19154 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
19155 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
19156 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
19157 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
19158 (feedmail-envelope-deducer, feedmail-fiddle-from)
19159 (feedmail-fiddle-sender, feedmail-default-date-generator)
19160 (feedmail-fiddle-date, feedmail-fiddle-message-id)
19161 (feedmail-fiddle-spray-address)
19162 (feedmail-fiddle-list-of-spray-fiddle-plexes)
19163 (feedmail-fiddle-list-of-fiddle-plexes)
19164 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
19165 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
19166 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
19167 Change default. Doc fix.
19168 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
19169 (feedmail-binmail-linuxish-template): New constant.
19170 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
19171 Respect feedmail-sendmail-f-doesnt-sell-me-out.
19172 (feedmail-send-it): Add debug call.
19173 Use feedmail-queue-buffer-file-name, and
19174 feedmail-send-it-immediately-wrapper.
19175 (feedmail-message-action-send): Add debug call.
19176 Use feedmail-send-it-immediately-wrapper.
19177 (feedmail-queue-express-to-queue): Add debug call.
19178 Run feedmail-queue-express-hook.
19179 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
19180 (feedmail-message-action-help-blat):
19181 Rename from feedmail-queue-send-edit-prompt-help-first.
19182 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
19183 Check line-endings. Handle errors better.
19184 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
19185 Doc fix. Add debug call.
19186 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
19187 Use feedmail-queue-send-edit-prompt-inner.
19188 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
19189 (feedmail-queue-send-edit-prompt-inner): New function, extracted
19190 from feedmail-queue-send-edit-prompt.
19191 (feedmail-queue-send-edit-prompt-help)
19192 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
19193 (feedmail-tidy-up-slug): Add debug call.
19194 Respect feedmail-queue-slug-suspect-regexp.
19195 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
19196 (feedmail-dump-message-to-queue): Add debug call.
19197 Expand queue-directory.
19198 (feedmail-dump-message-to-queue): Change message slightly.
19199 Use feedmail-say-chatter.
19200 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
19201 (feedmail-send-it-immediately-wrapper): New function.
19202 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
19203 Insert empty string rather than newline. Handle full-frame case.
19204 Use catch/throw. Use feedmail-say-chatter.
19205 (feedmail-fiddle-from): Try mail-host-address.
19206 (feedmail-default-message-id-generator): Doc fix.
19207 Bind system-time-locale. Handle missing end.
19208 (feedmail-fiddle-x-mailer): Add debug call.
19209 Handle feedmail-x-mailer-line being nil.
19210 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
19211 Add debug call. Use buffer-substring-no-properties.
19212 (feedmail-say-debug, feedmail-say-chatter): New functions.
19213 (feedmail-find-eoh): Give an explicit error.
19214
19215 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
19216
19217 * net/newst-treeview.el (newsticker-treeview-face): Change default
19218 family from helvetica to sans.
19219 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
19220 etc/images/newsticker.
19221
19222 * net/newst-reader.el (newsticker-feed-face): Change default
19223 family from helvetica to sans.
19224
19225 * net/newst-plainview.el (newsticker-new-item-face)
19226 (newsticker-old-item-face, newsticker-immortal-item-face)
19227 (newsticker-obsolete-item-face, newsticker-date-face)
19228 (newsticker-statistics-face): Change default family from
19229 helvetica to sans.
19230 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
19231 etc/images/newsticker.
19232
19233 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19234 (newsticker--process-auto-mark-filter-match): Tell user about
19235 auto-marking.
19236
19237 2011-05-13 Didier Verna <didier@xemacs.org>
19238
19239 Common Lisp indentation improvements on defmethod and lambda-lists.
19240 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19241 TODO entries.
19242 (lisp-lambda-list-keyword-parameter-indentation)
19243 (lisp-lambda-list-keyword-parameter-alignment)
19244 (lisp-lambda-list-keyword-alignment): New customizable user options.
19245 (lisp-indent-defun-method): Improve docstring.
19246 (extended-loop-p): Fix comment.
19247 (lisp-indent-lambda-list-keywords-regexp): New variable.
19248 (lisp-indent-lambda-list): New function.
19249 (lisp-indent-259): Use it.
19250 (lisp-indent-defmethod): Support for more than one
19251 method qualifier and properly indent methods lambda-lists.
19252 (defgeneric): Provide a missing common-lisp-indent-function property.
19253
19254 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
19255
19256 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19257 bounds for the empty string (bug#8667).
19258
19259 2011-05-13 Glenn Morris <rgm@gnu.org>
19260
19261 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19262
19263 * mail/sendmail.el (sendmail-program): Try executable-find first.
19264 (sendmail-send-it): `sendmail-program' cannot be unbound.
19265
19266 * calendar/appt.el (appt-make-list): Simplify.
19267 (appt-time-msg-list): Doc fix.
19268 (appt-check): Change mode-line message at the time of the appointment.
19269
19270 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
19271
19272 * progmodes/ld-script.el (ld-script-keywords)
19273 (ld-script-builtins): Update keywords list.
19274
19275 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19276
19277 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
19278
19279 * shell.el (shell-completion-vars): New function.
19280 (shell-mode):
19281 * simple.el (read-shell-command): Use it.
19282 (blink-matching-open): No need for " [...]" in minibuffer-message.
19283
19284 2011-05-12 Glenn Morris <rgm@gnu.org>
19285
19286 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
19287 (appt-check): Simplify.
19288
19289 2011-05-12 Eli Zaretskii <eliz@gnu.org>
19290
19291 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
19292 literal "/dev/null".
19293
19294 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19295
19296 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19297 Fix typo.
19298
19299 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
19300
19301 * progmodes/which-func.el (which-function):
19302 Use add-log-current-defun instead of add-log-current-defun-function,
19303 which might not be defined (Bug#8260).
19304
19305 2011-05-12 Glenn Morris <rgm@gnu.org>
19306
19307 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19308 Let byte-compile-initial-macro-environment always take precedence.
19309
19310 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19311
19312 * net/rcirc.el: Add support for SSL/TLS connections.
19313 (rcirc-server-alist): New field `encryption'.
19314 (rcirc): Check `encryption' settings.
19315 (rcirc-connect): New arg `encryption'. Use open-network-stream.
19316 Merge make-local-variable into `set'.
19317 (rcirc--connection-open-p): New function.
19318 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19319 the process is not a network process (e.g. running gnutls-cli).
19320 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19321 Make rcirc-(en|de)code-coding-system local here.
19322 (rcirc-mode): Merge make-local-variable into `set'.
19323 (rcirc-parent-buffer): Make permanent buffer-local.
19324 (rcirc-multiline-minor-mode): Don't do it here.
19325 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
19326 there's no server buffer.
19327
19328 2011-05-11 Glenn Morris <rgm@gnu.org>
19329
19330 * newcomment.el (comment-kill): Prefix "unused" local.
19331
19332 * term/w32console.el (get-screen-color): Declare.
19333
19334 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
19335 Handle symbol elements of byte-compile-initial-macro-environment.
19336
19337 2011-05-10 Leo Liu <sdl.web@gmail.com>
19338
19339 * bookmark.el (bookmark-bmenu-mode-map):
19340 Bind bookmark-bmenu-search to `/'.
19341
19342 * mail/footnote.el: Convert to utf-8 encoding.
19343 (footnote-unicode-string, footnote-unicode-regexp): New variable.
19344 (Footnote-unicode): New function.
19345 (footnote-style-alist): Add unicode style to the list.
19346 (footnote-style): Doc fix.
19347
19348 2011-05-10 Jim Meyering <meyering@redhat.com>
19349
19350 Fix doubled-word typos.
19351 * international/quail.el (quail-insert-kbd-layout): and and -> and
19352 * kermit.el: and and -> and
19353 * net/ldap.el (ldap-search-internal): to to -> to
19354 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
19355 * progmodes/js.el (js-mode): and and -> and
19356 * textmodes/artist.el (artist-move-to-xy): at at -> at
19357 (artist-draw-region-trim-line-endings): if if -> if
19358 And Safetyc -> Safety.
19359 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
19360
19361 2011-05-10 Glenn Morris <rgm@gnu.org>
19362 Stefan Monnier <monnier@iro.umontreal.ca>
19363
19364 * files.el (hack-one-local-variable-eval-safep):
19365 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
19366
19367 2011-05-10 Glenn Morris <rgm@gnu.org>
19368
19369 * calendar/diary-lib.el (diary-list-entries-hook)
19370 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19371 (diary-nongregorian-marking-hook, diary-list-entries)
19372 (diary-include-other-diary-files, diary-mark-entries)
19373 (diary-mark-included-diary-files): Doc fixes.
19374
19375 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
19376
19377 * misc.el: Require tabulated-list.el during compilation.
19378
19379 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
19380
19381 * progmodes/compile.el (compilation-start):
19382 Run compilation-filter-hook for the async case too.
19383 (compilation-filter-hook): Doc fix.
19384
19385 2011-05-09 Deniz Dogan <deniz@dogan.se>
19386
19387 * wdired.el: Remove outdated installation comment. Fix usage
19388 comment.
19389
19390 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
19391
19392 * misc.el: Implement new command `list-dynamic-libraries'.
19393 (list-dynamic-libraries--loaded-only-p): New variable.
19394 (list-dynamic-libraries--refresh): New function.
19395 (list-dynamic-libraries): New command.
19396
19397 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
19398
19399 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19400 Fix the ant regexp to handle end-line and end-column info from jikes.
19401 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
19402 higher priority to avoid clobbering by gnu.
19403
19404 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
19405
19406 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
19407 if the face has existing theme settings (Bug#8454).
19408
19409 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
19410
19411 * progmodes/perl-mode.el (perl-imenu-generic-expression):
19412 Only match variables declared via `my' or `our' (Bug#8261).
19413
19414 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
19415 special file names `.' and `..' (Bug#8259).
19416
19417 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
19418
19419 * progmodes/grep.el (grep-mode-font-lock-keywords):
19420 Remove buffer-changing entries.
19421 (grep-filter): New function.
19422 (grep-mode): Add it to compilation-filter-hook.
19423
19424 * progmodes/compile.el (compilation-filter-hook)
19425 (compilation-filter-start): New defvars.
19426 (compilation-filter): Call compilation-filter-hook prior to
19427 updating the process mark.
19428
19429 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19430
19431 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19432
19433 2011-05-07 Eli Zaretskii <eliz@gnu.org>
19434
19435 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19436 mailclient-send-it even if window-system is nil. (Bug#8595)
19437
19438 * term/w32console.el (terminal-init-w32console):
19439 Call get-screen-color and use its output to set the frame
19440 background-mode. (Bug#8597)
19441
19442 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19443
19444 Make bytecomp.el understand that defmethod defines funs (bug#8631).
19445 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19446 New functions.
19447 (defgeneric, eieio--defmethod): Use them.
19448 (eieio-defgeneric): Remove.
19449 (defmethod): Call defgeneric in a way visible to the byte-compiler.
19450
19451 2011-05-07 Glenn Morris <rgm@gnu.org>
19452
19453 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19454 Use let rather than let*.
19455 (timeclock-find-discrep): Remove unused local.
19456
19457 * calendar/diary-lib.el (diary-comment-start): Doc fix.
19458
19459 * calendar/appt.el (appt-time-msg-list): Doc fix.
19460
19461 2011-05-06 Noah Friedman <friedman@splode.com>
19462
19463 * apropos.el (apropos-print-doc): Only use
19464 emacs-lisp-docstring-fill-column when it is bound to an integer,
19465 per that variable's documentation.
19466
19467 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19468
19469 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
19470 and warnings are not silently discarded (e.g. use -d instead of -P).
19471
19472 2011-05-06 Glenn Morris <rgm@gnu.org>
19473
19474 * calendar/appt.el (appt-message-warning-time): Doc fix.
19475 (appt-warning-time-regexp): New option.
19476 (appt-make-list): Respect appt-message-warning-time.
19477
19478 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19479 New options.
19480 (diary-add-to-list): Strip comments from the displayed string.
19481 (diary-mode): Set comment-start and comment-end.
19482
19483 * vc/diff-mode.el (smerge-refine-subst): Declare.
19484 (diff-refine-hunk): Don't require smerge-mode when compiling.
19485
19486 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
19487
19488 * simple.el (list-processes): Return nil as the docstring says.
19489
19490 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
19491
19492 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19493 to "".
19494 (ange-ftp-write-region, ange-ftp-insert-file-contents)
19495 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19496 determining of binary transfer. (Bug#7383)
19497
19498 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
19499
19500 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19501 Fix port computation bug. (Bug#8618)
19502
19503 2011-05-05 Glenn Morris <rgm@gnu.org>
19504
19505 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19506
19507 * simple.el (shell-dynamic-complete-functions)
19508 (comint-dynamic-complete-functions): Declare.
19509
19510 * net/network-stream.el (gnutls-negotiate):
19511 * simple.el (tabulated-list-print): Fix declarations.
19512
19513 * progmodes/gud.el (syntax-symbol, syntax-point):
19514 Remove unnecessary and incorrect declarations.
19515
19516 * emacs-lisp/check-declare.el (check-declare-scan):
19517 Handle byte-compile-initial-macro-environment in bytecomp.el.
19518
19519 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19520
19521 Fix earlier half-done eieio-defmethod change (bug#8338).
19522 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
19523 Streamline and change calling convention.
19524 (defmethod): Adjust accordingly and simplify.
19525 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
19526 new eieio--defmethod.
19527 (slot-boundp): Minor CSE simplification.
19528
19529 2011-05-05 Milan Zamazal <pdm@zamazal.org>
19530
19531 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
19532 (glasses-make-readable): Use glasses-separate-capital-groups.
19533
19534 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
19535
19536 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
19537 (warning-series): Doc fix.
19538 (display-warning): Don't try to create the buffer if we just found it.
19539
19540 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
19541
19542 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
19543 (autoload-find-generated-file): New function.
19544 (generate-file-autoloads): Bind generated-autoload-file to
19545 buffer-file-name.
19546 (update-file-autoloads, update-directory-autoloads):
19547 Use autoload-find-generated-file. If called interactively, prompt for
19548 output file (Bug#7989).
19549 (batch-update-autoloads): Doc fix.
19550
19551 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
19552
19553 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19554
19555 2011-05-04 Glenn Morris <rgm@gnu.org>
19556
19557 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19558 function, so it follows changes in calendar-date-style.
19559 (diary-fancy-date-matcher): New function.
19560 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
19561 (diary-fancy-font-lock-fontify-region-function):
19562 Use diary-fancy-date-pattern as a function.
19563
19564 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
19565 non-numbers for `year' etc pseudo-variables. (Bug#8583)
19566
19567 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
19568
19569 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
19570 instead of positional arguments. Allow :keylist and :crlfiles
19571 arguments.
19572 (open-gnutls-stream): Call it.
19573
19574 * net/network-stream.el (network-stream-open-starttls): Adjust to
19575 call `gnutls-negotiate' with :process and :hostname arguments.
19576
19577 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
19578
19579 * minibuffer.el (completion--message): New function.
19580 (completion--do-completion, minibuffer-complete)
19581 (minibuffer-force-complete, minibuffer-complete-word): Use it.
19582 (completion--do-completion): Don't ignore completion-auto-help when in
19583 icomplete-mode.
19584
19585 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
19586 internal encoding (e.g. tibetan zero is not whitespace).
19587 (global-whitespace-mode): Prefer save-current-buffer.
19588 (whitespace-trailing-regexp): Remove useless save-match-data.
19589 (whitespace-empty-at-bob-regexp): Minor simplification.
19590
19591 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
19592
19593 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
19594
19595 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19596
19597 * textmodes/ispell.el (ispell-add-per-file-word-list):
19598 Use `concat' to create string for insertion.
19599
19600 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19601
19602 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
19603 Avoid open-line which runs post-self-insert-hook.
19604 (bibtex-fill-entry): Remove unused `end' var.
19605
19606 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
19607
19608 * textmodes/ispell.el (ispell-add-per-file-word-list):
19609 Protect against `nil' value of `comment-start' (Bug#8579).
19610
19611 2011-05-03 Leo Liu <sdl.web@gmail.com>
19612
19613 * isearch.el (isearch-yank-pop): New command.
19614 (isearch-mode-map): Bind it to `M-y'.
19615 (isearch-forward): Mention it.
19616
19617 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19618
19619 * simple.el (minibuffer-complete-shell-command): Remove.
19620 (minibuffer-local-shell-command-map): Use completion-at-point.
19621 (read-shell-command): Setup completion vars here instead.
19622 (read-expression-map): Bind TAB to symbol completion.
19623
19624 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
19625 error directly rather via storing it into `results'.
19626
19627 2011-05-02 Leo Liu <sdl.web@gmail.com>
19628
19629 * vc/diff.el: Fix description.
19630
19631 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19632
19633 * server.el (server-eval-at): New function.
19634
19635 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19636
19637 * net/network-stream.el (open-network-stream): Take a :nowait
19638 parameter and pass it on to `make-network-process'.
19639 (network-stream-open-plain): Ditto.
19640
19641 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
19642
19643 * faces.el (face-spec-set-match-display): Don't match toolkit
19644 options on terminal frames.
19645
19646 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
19647
19648 * progmodes/pascal.el: Use lexical binding.
19649 (pascal-mode-map): Remove author preferences.
19650
19651 * pcomplete.el (pcomplete-std-complete): Don't abuse
19652 completion-at-point.
19653
19654 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19655
19656 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
19657 removing code that has been dead since 1991 or so.
19658
19659 * startup.el (command-line): When warning about "_emacs", use a
19660 delayed warning to allow the user to filter it out.
19661
19662 2011-04-28 Deniz Dogan <deniz@dogan.se>
19663
19664 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
19665 user has not joined.
19666
19667 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19668
19669 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
19670 aren't any completions at point.
19671
19672 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19673
19674 * subr.el (display-delayed-warnings): New function.
19675 (delayed-warnings-hook): New variable.
19676
19677 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19678
19679 * minibuffer.el (completion-at-point, completion-help-at-point):
19680 Don't presume that a given completion-at-point-function will always
19681 use the same calling convention.
19682
19683 * pcomplete.el (pcomplete-completions-at-point):
19684 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
19685 pcomplete-seen is non-nil.
19686 (pcomplete-comint-setup): Also recognize the new comint/shell
19687 completion functions.
19688 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
19689 pcomplete-seen is non-nil.
19690
19691 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
19692
19693 * calendar/icalendar.el (diary-lib): Add require statement.
19694 (icalendar--create-uid): Read out a uid from a text-property on
19695 the first character in the entry. This allows for code to add its
19696 own uid to the entry.
19697 (icalendar--convert-float-to-ical): Add export of
19698 `diary-float'-entries save for those with the optional DAY
19699 argument.
19700
19701 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
19702
19703 * subr.el (shell-quote-argument): Use alternate escaping strategy
19704 when we spot a variable reference in a string.
19705
19706 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19707
19708 * cus-start.el (all): Define customization for debug-on-event.
19709
19710 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19711
19712 * subr.el (shell-quote-argument): Escape correctly under Windows.
19713
19714 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19715
19716 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
19717
19718 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
19719
19720 * net/tramp.el (tramp-process-actions): Add POS argument.
19721 Delete region between POS and (pos).
19722
19723 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19724 Use `nil' position in `tramp-process-actions' call.
19725 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
19726
19727 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19728 position in `tramp-process-actions' call.
19729
19730 * net/trampver.el: Update release number.
19731
19732 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19733
19734 * custom.el (defcustom): Obey lexical-binding.
19735
19736 Fix octave-inf completion problems reported by Alexander Klimov.
19737 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19738 Inherit from octave-mode-syntax-table.
19739 (inferior-octave-mode): Set info-lookup-mode.
19740 (inferior-octave-completion-at-point): New function.
19741 (inferior-octave-complete): Use it and completion-in-region.
19742 (inferior-octave-dynamic-complete-functions): Use it as well, and use
19743 comint-filename-completion.
19744 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19745 symbol elements which shouldn't be word elements.
19746 (octave-font-lock-keywords, octave-beginning-of-defun)
19747 (octave-function-header-regexp): Adjust regexps accordingly.
19748 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19749
19750 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
19751
19752 * net/gnutls.el (gnutls-errorp): Declare before first use.
19753
19754 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
19755
19756 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19757 verify-error, and verify-hostname-error parameters. Check whether
19758 default trustfile exists before going to use it. Add missing
19759 argument to gnutls-message-maybe call. Return value.
19760 Reported by Claudio Bley <claudio.bley@gmail.com>.
19761 (open-gnutls-stream): Add usage example.
19762
19763 * net/network-stream.el (network-stream-open-starttls): Give host
19764 parameter to `gnutls-negotiate'.
19765 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
19766 * subr.el (shell-quote-argument): Escape correctly under Windows.
19767
19768 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
19769
19770 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19771 Use correct match group (bug#8438).
19772
19773 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
19774
19775 * emacs-lisp/package.el (package-built-in-p): Fix typo.
19776 (package-menu--generate): New arg specifying packages to show.
19777 (package-menu-refresh, package-menu-execute, list-packages):
19778 Callers changed.
19779 (package-show-package-list): New function, replacing deleted
19780 package--list-packages (renamed because it is non-internal).
19781
19782 * finder.el (finder-list-matches): Use package-show-package-list
19783 instead of deleted package--list-packages.
19784
19785 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19786 Based on a previous implementation by Juanma Barranquero (Bug#8366).
19787 (vc-annotate-mode-map): Bind it to RET.
19788
19789 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
19790
19791 * progmodes/etags.el (next-file): Don't use set-buffer to change
19792 buffers (Bug#8478).
19793
19794 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
19795
19796 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19797
19798 * apropos.el (apropos-label-face): Avoid variable-pitch face.
19799 (apropos-accumulator): Doc fix.
19800 (apropos-function, apropos-macro, apropos-command)
19801 (apropos-variable, apropos-face, apropos-group, apropos-widget)
19802 (apropos-plist): Add face property.
19803 (apropos-symbols-internal): Fix indentation.
19804 (apropos-print): Simplify help, and recognize apropos-multi-type.
19805 (apropos-print-doc): Use button-type-get to extract the button's
19806 face property. Fill docstring (Bug#8352).
19807
19808 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
19809
19810 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19811
19812 * play/mpuz.el (mpuz-silent): Doc fix.
19813 (mpuz-mode-map): Use mapc.
19814 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19815 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19816 Fix typos in docstrings.
19817
19818 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19819 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19820
19821 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19822
19823 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
19824
19825 * minibuffer.el (completion--do-completion): Avoid the "Next char
19826 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19827
19828 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19829 mouse-2 into unread-command-events, it is interpreted correctly.
19830
19831 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
19832 (image-toggle-display): Doc fix.
19833
19834 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
19835
19836 * textmodes/page.el (what-page): Use line-number-at-pos to
19837 calculate line number (Bug#6825).
19838
19839 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
19840
19841 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19842 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19843 Pass argument NO-DEFAULT to `find-tag-interactive'.
19844
19845 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
19846
19847 Lexical-binding cleanup.
19848
19849 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19850 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19851 * progmodes/ada-prj.el (ada-prj-initialize-values)
19852 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19853 (ada-prj-show-value):
19854 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19855 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19856 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19857 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19858 * progmodes/bug-reference.el (bug-reference-push-button):
19859 * progmodes/fortran.el (fortran-line-length):
19860 * progmodes/glasses.el (glasses-change):
19861 * progmodes/octave-mod.el (octave-fill-paragraph):
19862 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19863 (python-pdbtrack-grub-for-buffer, python-sentinel):
19864 * progmodes/sql.el (sql-save-connection):
19865 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19866 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19867 Mark unused parameters.
19868
19869 * progmodes/compile.el (compilation--flush-directory-cache)
19870 (compilation--flush-parse, compile-internal): Mark unused parameters.
19871 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19872 (compilation-next-error-function): Remove unused variable `timestamp'.
19873
19874 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19875 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19876
19877 * progmodes/dcl-mode.el (dcl-end-of-command):
19878 Remove unused variable `start'.
19879 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19880 (dcl-option-value-basic, dcl-option-value-offset)
19881 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19882 Mark unused parameters.
19883 (dcl-save-local-variable): Remove unused variable `val'.
19884 (mode): Declare.
19885
19886 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19887 Mark unused parameters.
19888 (delphi-ignore-changes): Move before first use.
19889 (delphi-charset-token-at): Remove unused variable `start'.
19890 (delphi-else-start): Remove unused variable `if-count'.
19891 (delphi-comment-block-start, delphi-comment-block-end):
19892 Remove unused variable `kind'.
19893 (delphi-indent-line): Remove unused variable `new-point'.
19894
19895 * progmodes/ebrowse.el (ebrowse-files-list)
19896 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19897 Mark unused parameters. Don't quote `lambda'.
19898 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19899 Don't quote `lambda'.
19900 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19901 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19902 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19903 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19904 Use `ignore-errors'.
19905 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19906 (ebrowse-view/find-file-and-search-pattern)
19907 (ebrowse-view/find-member-declaration/definition):
19908 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19909 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19910 Rename parameter PREFIX-ARG to PREFIX.
19911 (ebrowse-tags-read-name): Remove unused variables `start' and
19912 `member-info'.
19913 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19914 to `tags-file'.
19915
19916 * progmodes/etags.el (local-find-tag-hook): Declare.
19917 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19918 Mark unused parameters.
19919
19920 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19921 (executable-interpret): Mark unused parameter.
19922
19923 * progmodes/flymake.el (flymake-process-sentinel)
19924 (flymake-after-change-function)
19925 (flymake-create-temp-with-folder-structure)
19926 (flymake-get-include-dirs-dot): Mark unused parameters.
19927 (flymake-safe-delete-directory): Remove unused variable `err'.
19928
19929 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19930 (speedbar-timer-fn, speedbar-line-text)
19931 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19932 (speedbar-center-buffer-smartly): Declare functions.
19933 (gdb-find-watch-expression): Remove unused variable `array'.
19934 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19935 (gdb-starting): Mark unused parameters.
19936 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19937 (gdb-table-string): Remove unused variable `res'.
19938 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19939 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19940 (gdb-display-buffer): Remove unused variable `cur-size'.
19941
19942 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19943 allow lexical-binding compilation.
19944 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19945 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19946 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19947 Mark unused parameters.
19948 (gud-gdb-marker-filter): Remove unused variable `match'.
19949 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19950 lambda expressions and funcall them, instead of using `fset'.
19951
19952 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19953 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19954
19955 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19956 variable `header-beg'; use `let'.
19957
19958 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19959 `restart', `last-sexp' and `at-do'.
19960
19961 * progmodes/js.el (js--debug): Mark unused parameter.
19962 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19963 (js--splice-into-items): Remove unused variable `item'.
19964 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19965
19966 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19967 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19968 (makefile-complete): Remove unused variable `try'.
19969 (makefile-fill-paragraph, makefile-match-function-end):
19970 Mark unused parameters.
19971
19972 * progmodes/octave-inf.el (inferior-octave-complete):
19973 Remove unused variable `proc'.
19974 (inferior-octave-output-digest): Mark unused parameter.
19975
19976 * progmodes/perl-mode.el (perl-calculate-indent):
19977 Remove unused variable `err'.
19978
19979 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19980 (prolog-indent-line): Mark unused parameters.
19981 (prolog-indent-line): Remove unused variable `beg'.
19982
19983 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19984 (reporter-dont-compact-list): Declare.
19985
19986 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19987 Remove unused variable `char'.
19988 (sh-debug): Mark unused parameter.
19989 (sh-get-indent-info): Remove unused variable `start'.
19990 (sh-calculate-indent): Remove unused variable `var'.
19991
19992 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19993 (simula-electric-keyword): Remove unused variable `null'.
19994 (simula-search-backward, simula-search-forward): Remove unused
19995 variables `begin' and `end'.
19996
19997 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19998 Remove unused variable `pos'.
19999 (vera-electric-tab, vera-comment-uncomment-region):
20000 Mark unused parameters.
20001 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
20002
20003 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
20004
20005 * emacs-lisp/package.el (package--builtins, package-alist)
20006 (package-load-descriptor, package-built-in-p, package-activate)
20007 (define-package, package-installed-p)
20008 (package-compute-transaction, package-buffer-info)
20009 (package--push): Doc fix. Distinguish more clearly between
20010 version strings and version lists.
20011
20012 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
20013
20014 Lexical-binding cleanup.
20015
20016 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
20017 (5x5-make-mutate-best):
20018 * play/fortune.el (fortune-in-buffer):
20019 * play/gomoku.el (gomoku-init-display):
20020 * play/solitaire.el (solitaire, solitaire-do-check):
20021 * play/tetris.el (tetris-default-update-speed-function):
20022 Mark unused parameters.
20023
20024 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
20025 (bubbles--shift): Remove unused variable `char-org'.
20026 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
20027 (bubbles--show-images): Remove unused variable `char'.
20028
20029 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
20030 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
20031 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
20032 (decipher-analyze-buffer): Use ?\s.
20033 (decipher-make-checkpoint): Remove unused variable `mapping'.
20034
20035 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
20036
20037 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
20038 Remove unused variable `result'; use `let'.
20039
20040 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
20041 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
20042 (gametree-children-shown-p, gametree-compute-reduced-score):
20043 Use `ignore-errors'.
20044
20045 * play/handwrite.el (ps-lpr-switches): Declare.
20046 (handwrite): Remove unused variables `pmin' and `lastp'.
20047
20048 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
20049
20050 * play/landmark.el (landmark-init-display)
20051 (landmark-update-naught-weights): Mark unused parameters.
20052 (landmark-y): Remove unused variable `noise'. Simplify.
20053 (landmark-human-plays): Remove unused variable `score'.
20054
20055 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
20056 (mpuz-try-proposal): Remove unused variable `game'.
20057
20058 * play/zone.el (life-patterns): Declare.
20059
20060 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
20061
20062 * vc/vc.el (ediff-vc-internal): Declare function.
20063
20064 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20065
20066 * shell.el: Use lexical-binding and std completion UI.
20067 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
20068 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
20069 comint-preoutput-filter-functions rather than on
20070 comint-output-filter-functions.
20071 (shell-command-completion, shell--command-completion-data)
20072 (shell-filename-completion, shell-environment-variable-completion)
20073 (shell-c-a-p-replace-by-expanded-directory): New functions.
20074 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
20075 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
20076 (shell-dynamic-complete-environment-variable): Use them.
20077 (shell-dynamic-complete-as-environment-variable)
20078 (shell-dynamic-complete-as-command): Remove.
20079 (shell-match-partial-variable): Match past point.
20080 * comint.el: Clean up use of completion-at-point-functions.
20081 (comint-completion-at-point): New function.
20082 (comint-mode): Use it completion-at-point-functions.
20083 (comint-dynamic-complete): Make it obsolete.
20084 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
20085 (comint-c-a-p-replace-by-expanded-history): New function.
20086 (comint-dynamic-complete-functions)
20087 (comint-replace-by-expanded-history): Use it.
20088 * minibuffer.el (completion-table-with-terminator): Allow dynamic
20089 termination strings. Try harder to avoid second try-completion.
20090 (completion-in-region-mode-map): Disable bindings that don't work yet.
20091
20092 * comint.el: Use lexical-binding. Require CL.
20093 (comint-dynamic-complete-functions): Use comint-filename-completion.
20094 (comint-completion-addsuffix): Tweak custom type.
20095 (comint-filename-completion, comint--common-suffix)
20096 (comint--common-quoted-suffix, comint--table-subvert)
20097 (comint--complete-file-name-data): New functions.
20098 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
20099 (comint-dynamic-list-filename-completions): Use them.
20100 (comint-dynamic-simple-complete): Make obsolete.
20101
20102 * minibuffer.el (completion-in-region-mode):
20103 Keep completion-in-region-mode--predicate global.
20104 (completion-in-region--postch):
20105 Assume completion-in-region-mode--predicate is not null.
20106
20107 * progmodes/flymake.el (flymake-start-syntax-check-process):
20108 Obey `dir'. Simplify.
20109
20110 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
20111 we're in VC after all.
20112
20113 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
20114
20115 * vc/vc.el (vc-diff-build-argument-list-internal)
20116 (vc-version-ediff, vc-ediff): New commands.
20117 (vc-version-diff): Use vc-diff-build-argument-list-internal.
20118
20119 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20120
20121 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
20122 add sanity check.
20123
20124 * obsolete/erc-hecomplete.el: Make obsolete.
20125 * obsolete/: Standardize obsolescence info in the header.
20126
20127 2011-04-20 Glenn Morris <rgm@gnu.org>
20128
20129 * calendar/solar.el (solar-horizontal-coordinates):
20130 Use the longitude argument rather than `calendar-longitude'.
20131 (solar-date-next-longitude): Remove unused locals.
20132
20133 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20134
20135 * whitespace.el: New version 13.2.1.
20136
20137 2011-04-20 felix <EmacsWiki> (tiny change)
20138
20139 * whitespace.el (global-whitespace-mode): Keep highlight when
20140 switching between major modes on a file.
20141
20142 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
20143
20144 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
20145 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
20146 multi-line comments as well.
20147
20148 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
20149
20150 Lexical-binding cleanup.
20151
20152 * arc-mode.el (archive-mode-revert):
20153 * cmuscheme.el (scheme-interactively-start-process):
20154 * custom.el (custom-initialize-delay):
20155 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
20156 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
20157 * emacs-lock.el (emacs-lock-clear-sentinel):
20158 * ezimage.el (defezimage):
20159 * follow.el (follow-avoid-tail-recenter):
20160 * fringe.el (set-fringe-mode-1):
20161 * generic-x.el (bat-generic-mode-compile):
20162 * help-mode.el (help-info-variable, help-do-xref)
20163 (help-mode-revert-buffer):
20164 * help.el (view-emacs-todo):
20165 * iswitchb.el (iswitchb-completion-help):
20166 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
20167 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
20168 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
20169 * locate.el (locate-update):
20170 * longlines.el (longlines-encode-region)
20171 (longlines-after-change-function):
20172 * outline.el (outline-isearch-open-invisible):
20173 * ps-def.el (declare-function, charset-dimension, char-width)
20174 (encode-char):
20175 * ps-mule.el (ps-mule-plot-string):
20176 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
20177 (recentf-edit-list-select, recentf-edit-list-validate)
20178 (recentf-open-files-action):
20179 * rect.el (delete-whitespace-rectangle-line)
20180 (rectangle-number-line-callback):
20181 * register.el (window-configuration-to-register)
20182 (frame-configuration-to-register):
20183 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
20184 * select.el (xselect-convert-to-string, xselect-convert-to-length)
20185 (xselect-convert-to-targets, xselect-convert-to-delete)
20186 (xselect-convert-to-filename, xselect-convert-to-charpos)
20187 (xselect-convert-to-lineno, xselect-convert-to-colno)
20188 (xselect-convert-to-os, xselect-convert-to-host)
20189 (xselect-convert-to-user, xselect-convert-to-class)
20190 (xselect-convert-to-name, xselect-convert-to-integer)
20191 (xselect-convert-to-atom, xselect-convert-to-identity):
20192 * subr.el (declare, ignore, process-kill-without-query)
20193 (text-clone-maintain):
20194 * terminal.el (te-get-char, te-tic-sentinel):
20195 * tool-bar.el (tool-bar-make-keymap):
20196 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
20197 * type-break.el (type-break-mode, type-break-noninteractive-query):
20198 * view.el (View-back-to-mark):
20199 * wid-browse.el (widget-browse-action, widget-browse-widget)
20200 (widget-browse-widgets, widget-browse-sexp):
20201 * widget.el (define-widget-keywords):
20202 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
20203 Mark unused parameters.
20204
20205 * align.el (align-adjust-col-for-rule): Mark unused parameter.
20206 (align-areas): Remove unused variable `look'.
20207 (align-region): Remove unused variables `real-end' and `pos-list'.
20208
20209 * apropos.el (apropos-score-doc): Remove unused variable `i'.
20210
20211 * bindings.el (mode-line-modified, mode-line-remote):
20212 Mark unused parameters.
20213 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
20214
20215 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
20216 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
20217
20218 * comint.el (comint-history-isearch-pop-state)
20219 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
20220 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
20221 (comint-substitute-in-file-name): Doc fix.
20222
20223 * completion.el (cmpl-statistics-block): Mark unused parameter.
20224 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20225 (save-completions-to-file, load-completions-from-file):
20226 Remove unused local variable `e'.
20227
20228 * composite.el (compose-chars): Remove unused variable `len'.
20229 (lgstring-insert-glyph): Remove unused variable `g'.
20230 (compose-glyph-string): Remove unused variables `ascent',
20231 `descent', `lbearing' and `rbearing'.
20232 (compose-glyph-string-relative): Remove unused variables
20233 `lbearing', `rbearing' and `wadjust'.
20234 (compose-gstring-for-graphic): Remove unused variables `header',
20235 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
20236 (compose-gstring-for-terminal): Remove unused variables `header'
20237 and `nchars'. Use `let', not `let*'.
20238
20239 * cus-edit.el (Custom-set, Custom-save, custom-reset)
20240 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20241 (Custom-buffer-done, custom-buffer-create-internal)
20242 (custom-browse-visibility-action, custom-browse-group-tag-action)
20243 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20244 (widget-magic-mouse-down-action, custom-toggle-parent)
20245 (custom-add-parent-links, custom-toggle-hide-variable)
20246 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20247 (custom-toggle-hide-face, face, hook, custom-group-link-action)
20248 (custom-face-menu-create, custom-variable-menu-create, get)
20249 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20250 (custom-reset-standard-save-and-update): Remove unused variable `value'.
20251 (customize-apropos): Remove unused variable `tests'.
20252 (custom-group-value-create): Remove unused variable `hidden-p'.
20253 (sort-fold-case): Declare.
20254
20255 * cus-theme.el (custom-reset-standard-faces-list)
20256 (custom-reset-standard-variables-list): Declare.
20257 (customize-create-theme, custom-theme-revert, custom-theme-write)
20258 (custom-theme-choose-mode, customize-themes, custom-theme-save):
20259 Mark unused parameters.
20260
20261 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20262
20263 * delim-col.el (delimit-columns-max): Move defvar before first use.
20264
20265 * descr-text.el (describe-char-categories): Don't quote `lambda'.
20266 (describe-char): Don't quote `lambda'. Mark unused parameter.
20267
20268 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20269 (auto-insert): Declare.
20270 (desktop-restore-file-buffer): Rename desktop-* parameters;
20271 mark unused ones.
20272 (desktop-create-buffer): Rename desktop-* parameters and bind them.
20273 (desktop-buffer): Rename desktop-* parameters.
20274
20275 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
20276 (dframe-reposition-frame-xemacs, dframe-help-echo)
20277 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
20278 Mark unused parameters.
20279
20280 * dired-aux.el (backup-extract-version-start, overwrite-query)
20281 (overwrite-backup-query, rename-regexp-query)
20282 (rename-non-directory-query): Declare.
20283 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
20284 (dired-add-entry): Remove unused variable `orig-file-name'.
20285 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
20286 Use parameter PRESERVE-TIME instead of accessing dynamic variable
20287 `dired-copy-preserve-time' directly.
20288 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
20289 (dired-insert-subdir-newpos): Rename unused variable `pos'.
20290
20291 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20292 (dired-virtual-revert, dired-make-relative-symlink):
20293 Mark unused parameters.
20294 (manual-program): Declare.
20295 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20296 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20297 wrapped in `with-no-warnings' to avoid replacing one warning by another.
20298
20299 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20300
20301 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20302
20303 * echistory.el (electric-history-in-progress, Helper-return-blurb):
20304 Declare.
20305
20306 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20307
20308 * electric.el (Electric-command-loop): Rename parameter
20309 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20310
20311 * expand.el (expand-in-literal): Remove unused variable `here'.
20312
20313 * facemenu.el (facemenu-add-new-color):
20314 Remove unused variable `docstring'.
20315
20316 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20317 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20318 (face-attr-construct): Mark unused parameter. Doc fix.
20319 (read-color): Remove unused variable `hex-string'.
20320
20321 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20322 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
20323 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
20324 (display-buffer-other-frame): Remove unused variable `old-window'.
20325 (kill-buffer-hook): Declare.
20326 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
20327 Mark unused parameters.
20328 (after-find-file): Pass 1 to `auto-save-mode', not t.
20329
20330 * files-x.el (auto-insert): Declare.
20331 (modify-file-local-variable-prop-line): Remove unused variable `val'.
20332
20333 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
20334 variable `buf'. Mark unused parameter.
20335 (find-lisp-insert-directory): Mark unused parameter.
20336
20337 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
20338 (format-encode-region): Remove unused variables `cur-buf' and `result'.
20339 (format-common-tail): Remove, unused.
20340 (format-deannotate-region): Remove unused variable `loc'.
20341 (format-annotate-region): Remove unused variable `p'.
20342 (format-annotate-single-property-change): Remove unused variables
20343 `default' and `tail'.
20344
20345 * forms.el (read-file-filter): Declare.
20346 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
20347
20348 * frame.el (frame-creation-function-alist): Mark unused parameter.
20349 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
20350
20351 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
20352 Remove unused parameters.
20353 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
20354 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
20355
20356 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
20357 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
20358 (hfy-prepare-tag-map): Mark unused parameters.
20359 (htmlfontify-buffer): Use `called-interactively-p'.
20360
20361 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20362 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20363 (ibuffer-do-occur): Mark unused parameters.
20364 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20365 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20366
20367 * ibuffer.el: Don't quote `lambda'.
20368 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20369 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20370 Mark unused parameters.
20371
20372 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20373 (ido-completing-read): Mark unused parameters.
20374 (ido-copy-current-word): Mark unused parameters;
20375 remove unused variable `name'.
20376 (ido-sort-merged-list): Remove unused parameter `dirs'.
20377
20378 * ielm.el (ielm-input-sender): Mark unused parameter.
20379 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20380 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20381 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20382 `ielm-string' as a dynamic variable accessible from the IELM prompt.
20383 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
20384
20385 * image-dired.el (image-dired-display-thumbs): Remove unused
20386 variables `curr-file' and `count'.
20387 (image-dired-remove-tag): Remove unused variable `start'.
20388 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20389 variable `curr-file'
20390 (image-dired-rotate-original): Remove unused variable `temp-file'.
20391 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
20392 Remove unused variable `file'.
20393 (image-dired-gallery-generate): Remove unused variable `curr'.
20394 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
20395
20396 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
20397
20398 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
20399
20400 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
20401
20402 * isearch.el (minibuffer-history-symbol): Declare.
20403 (isearch-edit-string): Remove unused variable `err'.
20404 (isearch-message-prefix, isearch-message-suffix):
20405 Mark unused parameters.
20406
20407 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
20408
20409 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
20410
20411 * makesum.el (double-column): Remove unused variable `cnt'.
20412
20413 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
20414 (ido-ignore-item-temp-list): Declare.
20415
20416 * mouse-drag.el (mouse-drag-throw): Remove unused variables
20417 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
20418 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
20419 (mouse-drag-drag): Remove unused variables `mouse-delta' and
20420 `mouse-col-delta'.
20421
20422 * mouse-sel.el (mouse-extend-internal):
20423 Remove unused variable `orig-window-frame'.
20424
20425 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
20426 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
20427 Move declarations before first use.
20428 (pcomplete-opt): Mark unused parameters; doc fix.
20429
20430 * proced.el (proced-revert): Mark unused parameter.
20431 (proced-send-signal): Remove unused variable `err'.
20432
20433 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20434 Rename parameter PREFIX-ARG to ARG.
20435 (ps-basic-plot-string, ps-basic-plot-whitespace):
20436 Mark unused parameters.
20437
20438 * replace.el (replace-count): Define.
20439 (occur-revert-function): Mark unused parameters.
20440 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20441 (isearch-case-fold-search, isearch-string): Declare.
20442 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20443 bind `case-fold-search'. Remove unused variables `beg' and `end',
20444 and simplify.
20445 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20446 COUNT and bind `replace-count'.
20447 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20448 to COUNT.
20449
20450 * savehist.el (print-readably, print-string-length): Declare.
20451
20452 * shadowfile.el (shadow-expand-cluster-in-file-name):
20453 Remove unused variable `cluster'.
20454 (shadow-copy-file): Remove unused variable `i'.
20455 (shadow-noquery, shadow-clusters, shadow-site-cluster)
20456 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20457 (shadow-define-literal-group, shadow-define-regexp-group)
20458 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20459
20460 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20461 (shell): Use `called-interactively-p'.
20462 (shell-directory-tracker): Remove unused variable `chdir-failure'.
20463
20464 * simple.el (compilation-context-lines, comint-file-name-quote-list)
20465 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20466 (delete-backward-char): Remove unused variable `ocol'.
20467 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20468 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20469 (event-apply-hyper-modifier, event-apply-shift-modifier)
20470 (event-apply-control-modifier, event-apply-meta-modifier):
20471 Mark unused parameters.
20472 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20473 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20474
20475 * speedbar.el (speedbar-ignored-directory-expressions)
20476 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20477 (speedbar-find-file, speedbar-dir-follow)
20478 (speedbar-directory-buttons-follow, speedbar-tag-find)
20479 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20480 (speedbar-buffers-line-directory, speedbar-buffer-click):
20481 Mark unused parameters.
20482 (speedbar-tag-file): Remove unused variable `mode'.
20483 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20484
20485 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20486
20487 * talk.el (talk): Remove unused variable `display'.
20488
20489 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20490 (tar-write-region-annotate): Mark unused parameter.
20491
20492 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20493 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20494 Declare them, wrapped in `with-no-warnings' to avoid replacing one
20495 warning by another.
20496
20497 * time-stamp.el (time-stamp-string-preprocess):
20498 Remove unused variable `require-padding'.
20499
20500 * tree-widget.el (widget-glyph-enable): Declare.
20501 (tree-widget-action): Mark unused parameter.
20502
20503 * w32-fns.el (x-get-selection): Mark unused parameter.
20504 (autoload-make-program, generated-autoload-file): Declare.
20505
20506 * wdired.el (wdired-revert): Mark unused parameters.
20507 (wdired-xcase-word): Remove unused variable `err'.
20508
20509 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20510 (whitespace-help-scroll): Remove unused variable `data-help'.
20511
20512 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20513 (widget-image-insert, widget-after-change, default)
20514 (widget-default-format-handler, widget-default-notify)
20515 (widget-default-prompt-value, widget-info-link-action)
20516 (widget-url-link-action, widget-function-link-action)
20517 (widget-variable-link-action, widget-file-link-action)
20518 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
20519 (widget-field-prompt-internal, widget-field-action, widget-field-match)
20520 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
20521 (widget-insert-button-action, widget-delete-button-action, visibility)
20522 (widget-documentation-link-action, widget-documentation-string-action)
20523 (widget-const-prompt-value, widget-regexp-match, symbol)
20524 (widget-coding-system-prompt-value)
20525 (widget-key-sequence-value-to-external, sexp)
20526 (widget-sexp-value-to-internal, character, vector, cons)
20527 (widget-choice-prompt-value, widget-boolean-prompt-value)
20528 (widget-color--choose-action): Mark unused parameters.
20529 (widget-item-match-inline, widget-choice-match-inline)
20530 (widget-checklist-match, widget-checklist-match-inline)
20531 (widget-group-match): Rename parameter VALUES to VALS.
20532 (widget-field-value-set): Remove unused variable `size'.
20533 (widget-color-action): Remove unused variables `value' and `start'.
20534
20535 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
20536 variable `dir'. Doc fix.
20537 (windmove-find-other-window): Don't pass it.
20538
20539 * window.el (count-windows): Mark unused parameter.
20540 (bw-adjust-window): Remove unused variable `err'.
20541
20542 * woman.el (woman-file-name): Remove unused variable `default'.
20543 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
20544 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
20545 (global-font-lock-mode): Declare.
20546 (woman-decode-region): Mark unused parameter.
20547 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
20548
20549 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20550 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20551 (x-dnd-handle-moz-url): Remove unused variable `title'.
20552 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20553
20554 * xml.el (xml-parse-tag, xml-parse-attlist):
20555 Remove unused variable `pos'.
20556
20557 2011-04-19 Glenn Morris <rgm@gnu.org>
20558
20559 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
20560 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
20561 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
20562 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
20563 * calendar/cal-html.el (cal-html-insert-minical):
20564 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
20565 (calendar-mark-date-pattern):
20566 Prefix "unused" locals.
20567
20568 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
20569 optional argument `style'.
20570
20571 * calendar/appt.el (appt-make-list):
20572 * calendar/cal-china.el (calendar-chinese-date-string):
20573 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
20574 (diary-hebrew-yahrzeit):
20575 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
20576 * calendar/calendar.el (calendar-generate-window):
20577 * calendar/time-date.el (time-to-days):
20578 Remove unused local variables.
20579
20580 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
20581
20582 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
20583 glyphless-char-display table.
20584 (tabulated-list-glyphless-char-display): New var.
20585
20586 2011-04-18 Sam Steingold <sds@gnu.org>
20587
20588 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
20589 to acknowledgments.
20590
20591 2011-04-17 Glenn Morris <rgm@gnu.org>
20592
20593 * calendar/diary-lib.el (diary-sexp-entry):
20594 * calendar/holidays.el (holiday-sexp):
20595 Set debug-on-error rather than the removed stack-trace-on-error.
20596
20597 2011-04-16 Glenn Morris <rgm@gnu.org>
20598
20599 * progmodes/f90.el: Use lexical-binding.
20600 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
20601
20602 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20603
20604 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
20605 (mail-mode): Setup mailalias completion here instead.
20606 * mail/mailalias.el: Use lexical-binding.
20607 (pattern, mailalias-done): Declare dynamic.
20608 (mail-completion-at-point-function): New function, from mail-complete.
20609 (mail-complete): Use it.
20610 (mail-completion-expand): New function.
20611 (mail-get-names): Use it.
20612 (mail-directory, mail-directory-process, mail-directory-stream):
20613 Don't use `pattern' for lexically bound arg.
20614
20615 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
20616
20617 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
20618 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
20619 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
20620
20621 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
20622 (byte-save-window-excursion, byte-temp-output-buffer-setup)
20623 (byte-interactive-p): Define them again, for use when inlining
20624 old code.
20625
20626 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
20627
20628 * loadup.el: Use `string-to-number', not `string-to-int'.
20629
20630 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20631
20632 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
20633 gud-gdb-complete-command.
20634 (gud-gdb-completions): New function, from gud-gdb-complete-command.
20635 (gud-gdb-completion-at-point): New function.
20636 (gud-gdb-completions): Remove.
20637
20638 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
20639
20640 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
20641 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
20642 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
20643 whether `executable-find' is bound.
20644
20645 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
20646
20647 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20648
20649 * minibuffer.el (completion-in-region-mode-predicate)
20650 (completion-in-region-mode--predicate): New vars.
20651 (completion-in-region, completion-in-region--postch)
20652 (completion-in-region-mode): Use them.
20653 (completion--capf-wrapper): Also return the hook function.
20654 (completion-at-point, completion-help-at-point):
20655 Adjust and provide a predicate.
20656
20657 Preserve arg names for advice of subr and lexical functions (bug#8457).
20658 * help-fns.el (help-function-arglist): Consolidate the subr and
20659 new-byte-code cases. Add argument `preserve-names' to extract names
20660 from the docstring when needed.
20661 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
20662 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
20663 (ad-arglist): Use help-function-arglist's new arg.
20664 (ad-definition-type): Use cond.
20665
20666 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
20667
20668 * autorevert.el (auto-revert-handler):
20669 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
20670 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
20671 Don't quote lambda.
20672
20673 * image-mode.el (image-transform-set-scale):
20674 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
20675
20676 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20677
20678 * net/network-stream.el (network-stream-open-starttls): Only do
20679 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
20680 Upgrades via gnutls-cli are too slow to be done opportunistically.
20681
20682 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
20683
20684 * dframe.el (dframe-current-frame): Remove spurious quote.
20685
20686 2011-04-12 Glenn Morris <rgm@gnu.org>
20687
20688 * calendar/cal-tex.el (cal-tex-end-document):
20689 Try to automatically use latin1 input if needed.
20690
20691 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
20692 Don't try to cons a mark onto an empty element.
20693
20694 2011-04-11 Leo Liu <sdl.web@gmail.com>
20695
20696 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
20697 buffers.
20698 (ido-kill-buffer-at-head): Support killing virtual buffers.
20699
20700 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
20701
20702 * minibuffer.el (completion-show-inline-help): New var.
20703 (completion--do-completion, minibuffer-complete)
20704 (minibuffer-force-complete, minibuffer-complete-word):
20705 Inhibit minibuffer messages if completion-show-inline-help is nil.
20706
20707 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
20708 to avoid interference from inline help (Bug#5849).
20709
20710 2011-04-10 Leo Liu <sdl.web@gmail.com>
20711
20712 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20713 Fix typo.
20714
20715 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
20716
20717 * image-mode.el (image-toggle-display-image): Signal an error if
20718 not in Image mode.
20719 (image-transform-mode, image-transform-resize)
20720 (image-transform-set-rotation): Doc fix.
20721 (image-transform-set-resize): Delete.
20722 (image-transform-set-scale, image-transform-fit-to-height)
20723 (image-transform-fit-to-width): Handle image-toggle-display-image
20724 and image-transform-resize directly.
20725
20726 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
20727
20728 * doc-view.el (doc-view-fit-width-to-window)
20729 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
20730 New functions for fitting the shown image to the Emacs window size.
20731 (doc-view-mode-map): Add bindings for the new functions.
20732
20733 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
20734
20735 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
20736 Fix typo in docstring.
20737
20738 2011-04-08 Eli Zaretskii <eliz@gnu.org>
20739
20740 * files.el (file-size-human-readable): Produce one digit after
20741 decimal, like "ls -lh" does.
20742
20743 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20744 the file size representation.
20745
20746 * simple.el (list-processes): If async subprocesses are not
20747 available, error out with a clear error message.
20748
20749 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
20750
20751 * help.el (help-form-show): New function, to be called from C.
20752 Put help-form output in a buffer named differently than *Help*.
20753
20754 2011-04-08 Eli Zaretskii <eliz@gnu.org>
20755
20756 * files.el (file-size-human-readable): New function.
20757
20758 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20759 computing the representation inline. Don't require `cl'.
20760
20761 2011-04-08 Glenn Morris <rgm@gnu.org>
20762
20763 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20764
20765 * net/browse-url.el (browse-url-firefox):
20766 Test system-type, not system-configuration.
20767
20768 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20769 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20770 Use log-edit-empty-buffer-p. (Bug#7598)
20771
20772 * net/rlogin.el (rlogin-process-connection-type): Simplify.
20773 (rlogin-mode-map): Initialize in the defvar.
20774 (rlogin): Use ignore-errors.
20775
20776 * replace.el (occur-mode-map): Some fixes for menu items.
20777
20778 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20779
20780 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
20781
20782 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
20783
20784 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20785 issuing unused warnings.
20786
20787 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20788 macro directly.
20789
20790 * simple.el: Lisp reimplement of list-processes. Based on an
20791 earlier reimplementation by Leo Liu, but using tabulated-list.el.
20792 (process-menu-mode): New major mode.
20793 (list-processes--refresh, list-processes):
20794 (process-menu-visit-buffer): New functions.
20795
20796 * files.el (save-buffers-kill-emacs): Don't assume any return
20797 value of list-processes, which is undocumented anyway.
20798
20799 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
20800
20801 * emacs-lisp/tabulated-list.el: New file.
20802
20803 * emacs-lisp/package.el: Use Tabulated List mode.
20804 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20805 (package-menu-mode): Derive from tabulated-list-mode. Set up the
20806 table format using Tabulated List mode variables.
20807 (package--push): New macro, replacing package-list-maybe-add.
20808 (package-menu--generate): Use package--push. Renamed from
20809 package--generate-package-list.
20810 (package-menu-refresh, list-packages): Use it.
20811 (package-menu--print-info): Rename from package-print-package.
20812 Return insertion data instead of inserting it directly.
20813 (package-menu-describe-package, package-menu-execute):
20814 Use tabulated-list-get-id.
20815 (package-menu-mark-delete, package-menu-mark-install)
20816 (package-menu-mark-unmark, package-menu-backup-unmark)
20817 (package-menu-mark-obsolete-for-deletion):
20818 Use tabulated-list-put-tag.
20819 (package--list-packages, package-menu-revert)
20820 (package-menu-get-package, package-menu-get-version)
20821 (package-menu-sort-by-column): Functions deleted.
20822 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20823 (package-menu--status-predicate, package-menu--version-predicate)
20824 (package-menu--name-predicate)
20825 (package-menu--description-predicate): Handle arguments in the
20826 Tabulated List format.
20827 (package-list-packages-no-fetch): Call list-packages.
20828
20829 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
20830
20831 * files.el (after-find-file-from-revert-buffer): Remove variable.
20832 (after-find-file): Don't bind it.
20833 (revert-buffer-in-progress-p): New variable.
20834 (revert-buffer): Bind it.
20835 Pass nil for `after-find-file-from-revert-buffer'.
20836
20837 * saveplace.el (save-place-find-file-hook): Use new variable
20838 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20839
20840 2011-04-06 Glenn Morris <rgm@gnu.org>
20841
20842 * Makefile.in (AUTOGEN_VCS): New variable.
20843 (autoloads): Use $AUTOGEN_VCS.
20844
20845 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20846 * calendar/calendar.el (calendar-mode-map):
20847 Check for toolkit scroll bars. (Bug#8305)
20848
20849 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
20850
20851 * minibuffer.el (completion-in-region--postch)
20852 (completion-in-region-mode): Remove unnecessary messages.
20853
20854 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
20855
20856 * font-lock.el (font-lock-refresh-defaults):
20857 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20858 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20859
20860 * info.el (Info-directory-list, Info-read-node-name-2)
20861 (Info-split-parameter-string): Doc fixes.
20862 (Info-virtual-nodes): Reflow docstring.
20863 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20864 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20865 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20866 Fix typos in docstrings.
20867 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20868 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20869 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20870 (Info-restore-desktop-buffer): Mark unused parameters.
20871 (Info-directory-find-file, Info-directory-find-node)
20872 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20873 (Info-virtual-index-find-node, Info-apropos-find-file)
20874 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
20875 Mark unused parameters; fix typos in docstrings.
20876 (Info-virtual-index): Remove unused local variable `nodename'.
20877
20878 2011-04-05 Deniz Dogan <deniz@dogan.se>
20879
20880 * net/rcirc.el: Update my e-mail address.
20881 (rcirc-mode-map): Remove M-o binding.
20882
20883 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
20884
20885 * startup.el (command-line): Save the cursor's theme-face
20886 directly, instead of using face-override-spec.
20887
20888 * custom.el (load-theme): Minor optimization in assigning faces.
20889
20890 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20891
20892 * help-fns.el (describe-variable): Complete all variables having
20893 documentation, including keywords.
20894 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20895
20896 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20897
20898 Convert to lexical-binding.
20899
20900 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20901 (bs--get-marked-string, bs--get-modified-string)
20902 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20903 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20904 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20905
20906 * ehelp.el (electric-help-execute-extended)
20907 (electric-help-ctrl-x-prefix):
20908 * hexl.el (hexl-revert-buffer-function):
20909 * linum.el (linum-after-change, linum-after-scroll):
20910 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20911
20912 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20913
20914 2011-04-04 Daiki Ueno <ueno@unixuser.org>
20915
20916 * epa-dired.el:
20917 * epa-mail.el:
20918 * epa-hook.el:
20919 * epa-file.el:
20920 * epa.el:
20921 * epg.el: Use lexical binding.
20922
20923 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
20924
20925 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20926
20927 * textmodes/flyspell.el (flyspell-word): Recognize default
20928 dictionary case for flyspell-mark-duplications-exceptions.
20929 Use regexp matching for languages.
20930 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20931 default dictionary (Bug#7926).
20932
20933 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
20934
20935 * emacs-lisp/package.el (package--with-work-buffer):
20936 Recognize https URLs.
20937
20938 * net/network-stream.el: Move from gnus/proto-stream.el.
20939 Change prefix to network-stream throughout.
20940 (open-protocol-stream): Merge into open-network-stream, leaving
20941 open-protocol-stream as an alias. Handle nil BUFFER args.
20942
20943 * subr.el (open-network-stream): Move to net/network-stream.el.
20944
20945 2011-04-02 Glenn Morris <rgm@gnu.org>
20946
20947 * find-dired.el (find-exec-terminator): New option.
20948 (find-ls-option): Test for -ls support.
20949 (find-ls-subdir-switches): Test for -b in find-ls-option.
20950 (find-dired, find-grep-dired): Doc fixes.
20951 (find-dired): Use find-exec-terminator.
20952
20953 * find-dired.el (find-ls-option, find-ls-subdir-switches)
20954 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20955 (find-name-arg): Remove purecopy.
20956
20957 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20958 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20959 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20960 accordingly. Don't add the null-device if not needed.
20961
20962 * files.el (save-some-buffers): Doc fix.
20963
20964 2011-04-02 Eli Zaretskii <eliz@gnu.org>
20965
20966 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20967
20968 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
20969
20970 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20971 Use `dolist' rather than `mapcar'.
20972
20973 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20974
20975 Add lexical binding.
20976
20977 * subr.el (apply-partially): Use new closures rather than CL.
20978 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20979 (dolist, dotimes): Use slightly different expansion for lexical code.
20980 (functionp): Move to C.
20981 (letrec): New macro.
20982 (with-wrapper-hook): Use it and apply-partially instead of CL.
20983 (eval-after-load): Preserve lexical-binding.
20984 (save-window-excursion, with-output-to-temp-buffer): Turn them
20985 into macros.
20986
20987 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20988
20989 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20990 than the arglist.
20991 (help-add-fundoc-usage): Don't add `Not documented'.
20992 (help-function-arglist): Handle closures, subroutines, and new
20993 byte-code-functions.
20994 (help-make-usage): Remove leading underscores.
20995 (describe-function-1): Handle closures.
20996 (describe-variable): Use special-variable-p for completion.
20997
20998 * files.el (lexical-binding): Declare safe.
20999
21000 * emacs-lisp/pcase.el: Don't use destructuring-bind.
21001 (pcase--memoize): Rename from pcase-memoize. Change weakness.
21002 (pcase): Add `let' pattern.
21003 Change memoization so it actually works.
21004 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
21005 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
21006 <let>: New case.
21007
21008 * emacs-lisp/macroexp.el: Use lexical binding.
21009 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
21010 Don't convert ' to #' without checking that it's indeed quoting
21011 a lambda.
21012
21013 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
21014 Use eval-sexp-add-defvars.
21015 (eval-sexp-add-defvars): New fun.
21016
21017 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
21018
21019 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
21020 Don't autoload.
21021 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
21022 than the internal `byte-compile-lambda'.
21023 (defmethod): Don't hide code under quotes.
21024 (eieio-defmethod): New `code' argument.
21025
21026 * emacs-lisp/eieio-comp.el: Remove.
21027
21028 * emacs-lisp/edebug.el (edebug-eval-defun)
21029 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
21030 (edebug-toggle): Avoid `eval'.
21031
21032 * emacs-lisp/disass.el (disassemble-internal): Handle new
21033 `closure' objects.
21034 (disassemble-1): Handle new byte codes.
21035
21036 * emacs-lisp/cl.el (pushnew): Silence warning.
21037
21038 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
21039 (cl-byte-compile-throw): Remove.
21040 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
21041
21042 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
21043 closures.
21044
21045 * emacs-lisp/cconv.el: New file.
21046
21047 * emacs-lisp/bytecomp.el: Use lexical binding instead of
21048 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
21049 (byte-compile-initial-macro-environment):
21050 Handle declare-function here.
21051 (byte-compile--lexical-environment): New var.
21052 (byte-stack-ref, byte-stack-set, byte-discardN)
21053 (byte-discardN-preserve-tos): New lap codes.
21054 (byte-interactive-p): Don't use any more.
21055 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
21056 New macros.
21057 (byte-compile-lapcode): Use them and handle new lap codes.
21058 (byte-compile-obsolete): Remove.
21059 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
21060 (byte-compile-arglist-warn): Check late def of inlinable funs.
21061 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
21062 since they should have been expanded by now.
21063 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
21064 (byte-compile-from-buffer): Remove unused second arg.
21065 (byte-compile-preprocess): New function.
21066 (byte-compile-toplevel-file-form): New function to distinguish
21067 file-form calls from outside from file-form calls from hunk-handlers.
21068 (byte-compile-file-form): Simplify.
21069 (byte-compile-file-form-defsubst): Remove.
21070 (byte-compile-file-form-defmumble): Simplify now that
21071 byte-compile-lambda always returns a byte-code-function.
21072 (byte-compile): Preprocess.
21073 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
21074 Remove, not used any more.
21075 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
21076 (byte-compile-make-args-desc): New funs.
21077 (byte-compile-lambda): Handle lexical functions. Always return
21078 a byte-code-function.
21079 (byte-compile-reserved-constants): New var, to make up room for
21080 closed-over variables.
21081 (byte-compile-constants-vector): Obey it.
21082 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
21083 (byte-compile-macroexpand-declare-function): New function.
21084 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
21085 byte-code-functions.
21086 (byte-compile-form): Check obsolescence here.
21087 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
21088 (byte-compile-variable-ref): Remove.
21089 (byte-compile-dynamic-variable-op): New fun.
21090 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21091 (byte-compile-variable-set): New funs.
21092 (byte-compile-discard): Add 2 args.
21093 (byte-compile-stack-ref, byte-compile-stack-set)
21094 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
21095 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
21096 macroexpand-all instead.
21097 (byte-compile-quote-form): Remove.
21098 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
21099 (byte-compile-bind, byte-compile-unbind): New funs.
21100 (byte-compile-let): Handle let* and lexical binding.
21101 (byte-compile-let*): Remove.
21102 (byte-compile-catch, byte-compile-unwind-protect)
21103 (byte-compile-track-mouse, byte-compile-condition-case):
21104 Handle a new :fun-body form, used for lexical scoping.
21105 (byte-compile-save-window-excursion)
21106 (byte-compile-with-output-to-temp-buffer): Remove.
21107 (byte-compile-defun): Simplify.
21108 (byte-compile-stack-adjustment): New fun.
21109 (byte-compile-out): Use it.
21110 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
21111
21112 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
21113 handler any more.
21114
21115 * emacs-lisp/byte-opt.el: Use lexical binding.
21116 (byte-inline-lapcode): Remove (to bytecomp).
21117 (byte-compile-inline-expand): Pay attention to inlining to/from
21118 lexically bound code.
21119 (byte-compile-unfold-lambda): Don't handle byte-code-functions
21120 any more.
21121 (byte-optimize-form-code-walker): Don't handle save-window-excursion
21122 any more and don't call compiler-macros.
21123 (byte-compile-splice-in-already-compiled-code): Remove.
21124 (byte-code): Don't inline any more.
21125 (disassemble-offset): Receive `bytes' as argument rather than via
21126 dynamic scoping.
21127 (byte-compile-tag-number): Declare before first use.
21128 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
21129 `return' even if make-spliceable.
21130 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
21131 obsolete interactive-p.
21132 (byte-optimize-lapcode): Optimize new lap-codes.
21133 Don't trip up on new form of `byte-constant' lap code.
21134
21135 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
21136
21137 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
21138
21139 * custom.el (custom-initialize-default, custom-declare-variable):
21140 Use `defvar'.
21141
21142 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
21143 New variables.
21144 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
21145 (COMPILE_FIRST): Add macroexp and cconv.
21146 * makefile.w32-in: Mirror changes in Makefile.in.
21147
21148 * vc/cvs-status.el:
21149 * vc/diff-mode.el:
21150 * vc/log-edit.el:
21151 * vc/log-view.el:
21152 * vc/smerge-mode.el:
21153 * textmodes/bibtex-style.el:
21154 * textmodes/css-mode.el:
21155 * startup.el:
21156 * uniquify.el:
21157 * minibuffer.el:
21158 * newcomment.el:
21159 * reveal.el:
21160 * server.el:
21161 * mpc.el:
21162 * emacs-lisp/smie.el:
21163 * doc-view.el:
21164 * dired.el:
21165 * abbrev.el: Use lexical binding.
21166
21167 2011-04-01 Eli Zaretskii <eliz@gnu.org>
21168
21169 * info.el (info-display-manual): New function.
21170
21171 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
21172
21173 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
21174
21175 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
21176
21177 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
21178 an entry for that server in rcirc-authinfo. (Bug#8385)
21179
21180 2011-03-31 Glenn Morris <rgm@gnu.org>
21181
21182 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
21183
21184 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
21185
21186 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
21187
21188 * progmodes/python.el (python-default-interpreter)
21189 (python-python-command-args, python-jython-command-args)
21190 (python-which-shell, python-which-args, python-which-bufname)
21191 (python-file-queue, python-comint-output-filter-function)
21192 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
21193 variables and functions.
21194
21195 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
21196
21197 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
21198 (completion-in-region-mode): New minor mode.
21199 (completion-in-region): Use it.
21200 (completion-in-region--data, completion-in-region-mode-map): New vars.
21201 (completion-in-region--postch): New function.
21202 (completion--capf-misbehave-funs, completion--capf-safe-funs):
21203 New vars.
21204 (completion--capf-wrapper): New function.
21205 (completion-at-point): Use it to track well-behavedness of
21206 hook functions.
21207 (completion-help-at-point): New command.
21208
21209 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
21210
21211 * vc/add-log.el (add-change-log-entry): Don't use whitespace
21212 syntax class to search for whitespace on a single line
21213 (Message-ID: <4D938140.4030905@redhat.com>).
21214
21215 2011-03-30 Leo Liu <sdl.web@gmail.com>
21216
21217 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
21218 New commands.
21219 (edit-abbrevs-map): Bind them here.
21220 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
21221
21222 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
21223
21224 * allout.el (allout-hide-by-annotation, allout-flag-region):
21225 Reduce possibility of overlay leakage by making them volatile.
21226
21227 * allout-widgets.el (allout-widgets-tally): Define as nil so the
21228 hash is not shared between buffers. Mode initialization is
21229 responsible for giving it a useful starting value.
21230 (allout-item-span): Reduce possibility of overlay leakage by
21231 making them volatile.
21232 (allout-widgets-count-buttons-in-region): Add diagnostic function
21233 for tracking down button overlay leaks.
21234
21235 2011-03-29 Leo Liu <sdl.web@gmail.com>
21236
21237 * ido.el (ido-read-internal): Use the default history var
21238 minibuffer-history if no HISTORY is specified.
21239
21240 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
21241
21242 * net/imap.el (imap-shell-open, imap-process-connection-type):
21243 Use imap-process-connection-type for 'shell' streams as well as
21244 Kerberos, SSL, other subprocesses.
21245
21246 2011-03-28 Leo Liu <sdl.web@gmail.com>
21247
21248 * abbrev.el (abbrev-table-empty-p): New function.
21249 (prepare-abbrev-list-buffer): Place empty abbrev tables after
21250 nonempty ones. (Bug#5937)
21251
21252 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
21253
21254 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21255
21256 2011-03-27 Leo Liu <sdl.web@gmail.com>
21257
21258 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21259 for foreground and background colors.
21260 (ansi-color-make-color-map): Adapt.
21261
21262 2011-03-25 Leo Liu <sdl.web@gmail.com>
21263
21264 * midnight.el (midnight-time-float): Remove. Note it calculates
21265 the microsecond component incorrectly and seconds-to-time does the
21266 same job.
21267 Remove redundant (require 'timer).
21268
21269 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21270 (ido-completions): Remove unused arguments. (Bug#8329)
21271
21272 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
21273
21274 * minibuffer.el (completion--flush-all-sorted-completions):
21275 Remove itself from hook.
21276 (completion-at-point): Let the functions perform the completion
21277 immediately and return nil or t.
21278 * comint.el (comint-dynamic-complete-functions): Now identical to
21279 completion-at-point-functions.
21280 (comint-dynamic-list-input-ring): Remove unused var `index'.
21281 (comint--match-partial-filename, comint--unquote&expand-filename):
21282 New funs, split from comint-match-partial-filename.
21283 (comint-dynamic-complete): Use completion-at-point.
21284 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
21285
21286 2011-03-24 Drew Adams <drew.adams@oracle.com>
21287
21288 * thingatpt.el: Support `defun'.
21289
21290 2011-03-23 Leo Liu <sdl.web@gmail.com>
21291
21292 * abbrevlist.el: Move to obsolete/abbrevlist.el.
21293
21294 * help-mode.el (help-mode-finish): Tweak regexp.
21295
21296 2011-03-23 Glenn Morris <rgm@gnu.org>
21297
21298 * eshell/esh-opt.el (eshell-eval-using-options):
21299 Do not bind unused local variable `eshell-option-stub'.
21300
21301 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21302
21303 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
21304
21305 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21306 keymap variable in `with-no-warnings' to avoid a warning when the
21307 keymap has been already `defconst'ed.
21308
21309 2011-03-22 Leo Liu <sdl.web@gmail.com>
21310
21311 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21312 encode all chars in abbrevs; otherwise use emacs-mule or
21313 utf-8-emacs. (Bug#8308)
21314
21315 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
21316
21317 * simple.el (backward-delete-char-untabify):
21318 Avoid warning about using `delete-backward-char'.
21319
21320 * image.el (image-type-file-name-regexps): Make it variable.
21321 `imagemagick-register-types' modifies it, and the user may want
21322 to add new extensions for known image types.
21323 (imagemagick-register-types): Throw error if not using ImageMagick.
21324
21325 2011-03-22 Leo Liu <sdl.web@gmail.com>
21326
21327 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
21328 located before rcirc-prompt-end-marker.
21329 (rcirc-complete): Error if point is not after rcirc prompt.
21330 Handle the case when table is nil.
21331 (rcirc-user-authenticated): Define to fix compiler warning.
21332
21333 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
21334
21335 * custom.el (custom--inhibit-theme-enable): Make it affect only
21336 custom-theme-set-variables and custom-theme-set-faces.
21337 (provide-theme): Ignore custom--inhibit-theme-enable.
21338 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
21339 (custom-enabling-themes): Delete variable.
21340 (enable-theme): Accept only loaded themes as arguments.
21341 Ignore the special custom-enabled-themes variable.
21342 (custom-enabled-themes): Forbid themes from setting this.
21343 Eliminate use of custom-enabling-themes.
21344 (custom-push-theme): Quote "changed" custom var entry.
21345
21346 2011-03-21 Leo Liu <sdl.web@gmail.com>
21347
21348 * ido.el (ido-read-internal): Add ido-selected to history instead
21349 of user input.
21350
21351 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
21352
21353 * subr.el (deferred-action-list, deferred-action-function):
21354 Mark obsolete.
21355
21356 2011-03-21 Leo Liu <sdl.web@gmail.com>
21357
21358 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
21359 change on 2011-02-13 (bug#8309).
21360
21361 * minibuffer.el (read-file-name-function): Change default value.
21362 (read-file-name--defaults): Rename from read-file-name-defaults.
21363 (read-file-name-default): Rename from read-file-name.
21364 (read-file-name): Call read-file-name-function.
21365
21366 2011-03-21 Glenn Morris <rgm@gnu.org>
21367
21368 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21369 Doc fixes.
21370
21371 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
21372
21373 * cus-theme.el: Add missing provide statement.
21374 (customize-create-theme): Extract theme value correctly.
21375 (custom-theme-visit-theme): Autoload.
21376 (customize-create-theme): Prompt before inserting default faces.
21377
21378 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
21379
21380 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21381 units and musical notes.
21382
21383 2011-03-20 Leo Liu <sdl.web@gmail.com>
21384
21385 * ido.el (ido-read-internal): Use completing-read-default.
21386 (ido-completing-read): Fix compatibility with completing-read.
21387
21388 2011-03-20 Christian Ohler <ohler@gnu.org>
21389
21390 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
21391 (ert-delete-all-tests): Use `called-interactively-p' rather than
21392 `interactive-p'.
21393 (ert--make-xrefs-region): Respect END.
21394
21395 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
21396
21397 * dired-aux.el (dired-create-directory): Signal an error if the
21398 directory already exists (Bug#8246).
21399
21400 * facemenu.el (list-colors-display): Call list-faces-display
21401 inside with-help-window.
21402 (list-colors-print): Use display property to align the final
21403 column, instead of checking window-width.
21404
21405 2011-03-19 Eli Zaretskii <eliz@gnu.org>
21406
21407 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
21408 windows-nt systems.
21409 (emerge-protect-metachars): Quote correctly for ms-dos and
21410 windows-nt systems.
21411
21412 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
21413
21414 * info.el (info-initialize): Replace all uses of `:' with
21415 path-separator for compatibility with non-Unix systems.
21416 Cache quoting of path-separator. (Bug#8258)
21417
21418 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
21419
21420 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
21421 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
21422 (mouse-avoidance-mode): Fix typos in docstrings.
21423
21424 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
21425
21426 * startup.el (package-subdirectory-regexp): Move from package.el.
21427 Omit \\` and \\', and let callers add them.
21428
21429 * emacs-lisp/package.el (package-strip-version)
21430 (package-load-all-descriptors): Add \\` and \\' to
21431 package-subdirectory-regexp before using it.
21432 (package-untar-buffer): New arg DIR; ensure that file untars only
21433 into this expected directory. Remove superfluous delete-region.
21434 (package-unpack): Caller changed.
21435 (package-tar-file-info): Use package-subdirectory-regexp.
21436
21437 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
21438
21439 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21440 diff-mode-shared-map (bug#8284).
21441 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
21442
21443 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21444
21445 * calendar/time-date.el (format-seconds): Use assoc instead of
21446 assoc-string, since assoc-string doesn't exist in XEmacs.
21447
21448 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
21449
21450 * custom.el (custom-known-themes): Reflow docstring.
21451 (custom-theme-load-path): Fix typo in docstring.
21452 (load-theme): Fix typo in error message.
21453 (custom-available-themes, custom-variable-theme-value):
21454 Use `let', not `let*'.
21455
21456 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21457
21458 * calc/README: Mention inclusion of musical notes.
21459
21460 * calc/calc-units.el (calc-lu-quant): Rename from
21461 `calc-logunits-quantity'.
21462 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21463 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21464 (calc-db): Rename from `calc-dblevel'.
21465 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21466 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21467 (calc-np): Rename from `calc-nplevel'.
21468 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21469 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21470 (calc-lu-plus): Rename from `calc-logunits-add'.
21471 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21472 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21473 (calc-lu-minus): Rename from `calc-logunits-sub'.
21474 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21475 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21476 (calc-lu-times): Rename from `calc-logunits-mul'.
21477 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21478 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21479 (calc-lu-divide): Rename from `calc-logunits-div'.
21480 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21481 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21482
21483 * calc/calc-ext.el (calc-init-extensions): Update the names of the
21484 functions being autoloaded.
21485
21486 * calc/calc.el (calc-lu-power-reference): Rename from
21487 `calc-logunits-power-reference'.
21488 (calc-lu-field-reference): Rename from
21489 `calc-logunits-field-reference'.
21490
21491 * calc/calc-help.el (calc-l-prefix-help):
21492 Mention musical note functions.
21493
21494 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
21495
21496 * minibuffer.el (completion-all-sorted-completions):
21497 Use :completion-cycle-penalty text property if present.
21498
21499 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
21500
21501 * allout.el (allout-yank-processing): Adjust for new rebulleting
21502 regime so bullet being yanked is used without prompting the user
21503 for a choice.
21504
21505 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
21506
21507 * startup.el (command-line): Warn the user that _emacs is deprecated.
21508
21509 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
21510
21511 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21512 (delphi-verbose, delphi-comment-face, delphi-string-face)
21513 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21514 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21515 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
21516 (delphi-new-comment-line, delphi-font-lock-defaults)
21517 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
21518 Fix typos in docstrings.
21519
21520 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
21521
21522 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
21523 Invert the roles of character and string values for INSTEAD, so a
21524 string is used for the more common case of a defaulting prompt.
21525
21526 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21527
21528 * progmodes/ruby-mode.el (ruby-backward-sexp):
21529 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
21530 * play/gamegrid.el (gamegrid-make-face):
21531 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
21532 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
21533 * notifications.el (notifications-notify):
21534 * net/xesam.el (xesam-search-engines):
21535 * net/quickurl.el (quickurl-list-insert):
21536 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
21537
21538 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
21539
21540 * startup.el (command-line): Update package subdirectory regexp.
21541
21542 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21543
21544 * allout.el (allout-abbreviate-flattened-numbering)
21545 (allout-mode-deactivate-hook): Fix up obsolescence "date".
21546
21547 * subr.el (read-char-choice): Only show the cursor after the prompt,
21548 not after the answer.
21549
21550 2011-03-15 Kevin Ryde <user42@zip.com.au>
21551
21552 * help-fns.el (variable-at-point): Skip leading quotes, if any
21553 (bug#8253).
21554
21555 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21556
21557 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
21558 warning message.
21559
21560 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
21561
21562 * shell.el (shell): When called interactively, offer to change the
21563 shell file name on remote hosts.
21564
21565 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
21566
21567 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
21568 integration for LDAP parameters. The host, base, user or binddn,
21569 and secret tokens can be specified in a netrc file, for instance.
21570 This is optional because an `auth-source' parameter must be
21571 specified in the search attributes.
21572
21573 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
21574
21575 * help.el (describe-mode): Link to the mode's definition (bug#8185).
21576
21577 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21578
21579 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
21580 into declaration. Remove redundant and harmful binding.
21581
21582 2011-03-12 Eli Zaretskii <eliz@gnu.org>
21583
21584 * files.el (file-ownership-preserved-p): Pass `integer' as an
21585 explicit 2nd argument to `file-attributes'. If the file's owner
21586 is the Administrators group on Windows, and the current user is
21587 Administrator, consider that a match.
21588
21589 * server.el (server-ensure-safe-dir): Consider server directory
21590 safe on MS-Windows if its owner is the Administrators group while
21591 the current Emacs user is Administrator. Use `=' to compare
21592 numerical UIDs, since they could be integers or floats.
21593
21594 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
21595
21596 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
21597
21598 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
21599
21600 Sync with Tramp 2.2.1.
21601
21602 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
21603
21604 * net/trampver.el: Update release number.
21605
21606 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21607
21608 * progmodes/compile.el (compilation--previous-directory): Fix up
21609 various nil/dead-marker mismatches (bug#8014).
21610 (compilation-directory-properties, compilation-error-properties):
21611 Don't call it at a position past the one we're about to change.
21612
21613 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
21614 Disable obsolescence warnings in the file that declares it.
21615
21616 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
21617
21618 * allout-widgets.el (allout-widgets-tally):
21619 Initialize allout-widgets-tally as a hash table rather than nil to
21620 prevent mode-line redisplay warnings. Also, clarify the module
21621 description and fix a comment typo.
21622
21623 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
21624
21625 * help-fns.el (describe-variable): Don't complete keywords.
21626 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
21627
21628 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
21629
21630 * emacs-lisp/package.el (package-version-join): Impose a standard
21631 string representation for pre/alpha/beta version lists.
21632 (package-unpack-single): Standardize the directory name by passing
21633 it through package-version-join.
21634 (package-strip-rcs-id): Accept any version string that does not
21635 signal an error in version-to-list.
21636
21637 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
21638
21639 * simple.el (delete-trailing-whitespace): Return nil for the
21640 benefit of `write-file-functions'.
21641
21642 2011-03-10 Glenn Morris <rgm@gnu.org>
21643
21644 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
21645
21646 * vc/vc-git.el (vc-git-program): New option.
21647 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
21648 (vc-git--call): Use it.
21649
21650 * eshell/esh-util.el (eshell-condition-case): Doc fix.
21651
21652 * cus-edit.el (Custom-newline): If no button at point, look
21653 for a subgroup button at start-of-line. (Bug#2298)
21654
21655 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
21656
21657 2011-03-10 Julien Danjou <julien@danjou.info>
21658
21659 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
21660 `cursor-type' is nil.
21661
21662 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
21663
21664 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
21665
21666 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
21667
21668 * allout.el: Change so yank of distinctive-bullet items
21669 preserves the existing header prefix, rebulleting it if necessary,
21670 rather than replacing it. This is necessary for proper operation
21671 of cooperative addons like allout-widgets.
21672 (allout-make-topic-prefix, allout-rebullet-heading):
21673 Change SOLICIT arg to INSTEAD, and interpret additionally a string
21674 value as alternate bullet to be used, instead of prompting the user
21675 for a bullet character.
21676
21677 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
21678
21679 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21680 Do not use `tramp-file-name-port', because this returns also
21681 `tramp-default-port'.
21682
21683 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
21684
21685 * net/rcirc.el (rcirc-handler-001): Remove useless
21686 with-rcirc-process-buffer.
21687 (rcirc-check-auth-status): Swap arguments to string-match.
21688
21689 2011-03-09 Glenn Morris <rgm@gnu.org>
21690
21691 * shell.el (shell-mode):
21692 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
21693
21694 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
21695 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
21696
21697 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21698
21699 * emacs-lisp/package.el (package-refresh-contents)
21700 (package-menu-execute): Use condition-case-no-debug.
21701
21702 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
21703
21704 * simple.el (shell-command-to-string): Use `process-file'.
21705
21706 * emacs-lisp/package.el (package-tar-file-info): Handle also
21707 remote files.
21708
21709 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21710 Use `equal' for upload base check.
21711
21712 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
21713
21714 * textmodes/texinfo.el (texinfo-environments):
21715 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
21716
21717 2011-03-08 Glenn Morris <rgm@gnu.org>
21718
21719 * cus-start.el (cursor-in-non-selected-windows):
21720 Fix :set quoting oddness. (Bug#8192)
21721
21722 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
21723 in some setf expressions. (Bug#2159)
21724
21725 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21726
21727 * custom.el (custom-available-themes): Return themes in
21728 alphabetical order.
21729
21730 See ChangeLog.15 for earlier changes.
21731
21732 ;; Local Variables:
21733 ;; coding: utf-8
21734 ;; End:
21735
21736 Copyright (C) 2011-2013 Free Software Foundation, Inc.
21737
21738 This file is part of GNU Emacs.
21739
21740 GNU Emacs is free software: you can redistribute it and/or modify
21741 it under the terms of the GNU General Public License as published by
21742 the Free Software Foundation, either version 3 of the License, or
21743 (at your option) any later version.
21744
21745 GNU Emacs is distributed in the hope that it will be useful,
21746 but WITHOUT ANY WARRANTY; without even the implied warranty of
21747 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21748 GNU General Public License for more details.
21749
21750 You should have received a copy of the GNU General Public License
21751 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.