* progmodes/python.el (python-info-current-defun): Enhance
[bpt/emacs.git] / lisp / ChangeLog
1 2013-02-20 Fabián Ezequiel Gallina <fgallina@cuca>
2
3 * progmodes/python.el (python-info-current-defun): Enhance
4 match-data cluttering prevention.
5
6 2013-02-19 Glenn Morris <rgm@gnu.org>
7
8 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
9 loaded while outline-regexp is let bound. (Bug#9584)
10
11 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
12
13 * progmodes/python.el (python-info-current-defun): Fix failed
14 defun name retrieval because of unwanted match-data cluttering.
15
16 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
17
18 * progmodes/python.el (python-indent-context): Fix
19 python-info-line-ends-backslash-p call.
20 (python-info-line-ends-backslash-p)
21 (python-info-beginning-of-backslash): Respect line-number
22 argument.
23 (python-info-current-line-comment-p): Fix behavior when not at
24 beginning-of-line.
25 (python-util-position): Remove function.
26 (python-util-goto-line): New function.
27
28 2013-02-18 Michael Albinus <michael.albinus@gmx.de>
29
30 * eshell/em-unix.el (eshell/su): Require tramp.
31 (eshell/sudo): Require tramp. Remove now unnecessary check.
32
33 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
34 `tramp-current-connection' in order to avoid an error when several
35 commands are invoked in a short time in eshell and friends.
36
37 2013-02-16 Didier Verna <didier@didierverna.net>
38
39 * net/network-stream.el (network-stream-open-starttls):
40 Check that response to the starttls-command is non-nil. (Bug#13706)
41
42 2013-02-14 Glenn Morris <rgm@gnu.org>
43
44 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
45
46 2013-02-14 Stefan Monnier <monnier@iro.umontreal.ca>
47
48 * net/goto-addr.el (goto-address-fontify): Add start and end args.
49 (goto-address-fontify-region): Use them instead of narrowing, so
50 syntax-ppss has access to the whole buffer.
51
52 2013-02-14 Fabián Ezequiel Gallina <fgallina@cuca>
53
54 * progmodes/python.el: Explain how to restore "cc-mode"-like
55 forward-sexp movement in header documentation (Bug#13642).
56 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
57 comments and strings (GH bug 114).
58
59 2013-02-13 Fabián Ezequiel Gallina <fgallina@cuca>
60
61 * progmodes/python.el (python-info-current-defun): Fix current
62 defun detection (Bug#13618).
63
64 2013-02-13 Chong Yidong <cyd@gnu.org>
65
66 * xml.el (xml-parse-string): Fix typo in handling of bad character
67 references.
68
69 2013-02-10 Michael Albinus <michael.albinus@gmx.de>
70
71 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
72 if DIR exists and PARENTS is non-nil.
73
74 2013-02-09 Chong Yidong <cyd@gnu.org>
75
76 * mail/emacsbug.el (report-emacs-bug): Change binding of
77 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
78
79 2013-02-02 Alan Mackenzie <acm@muc.de>
80
81 Fix bug in the state cache mechanism. Remove 'BOD "strategy". Refactor.
82 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
83 (c-parse-state-get-strategy): Don't return 'BOD any more.
84 (c-append-lower-brace-pair-to-state-cache): Extra parameter HERE
85 instead of narrowing. Widen to top of buffer before searching
86 backwards for a brace pair.
87 (c-state-push-any-brace-pair): Add HERE parameter to function
88 call.
89 (c-append-to-state-cache): Extra parameter HERE in place of
90 narrowing. Narrow to parameter HERE, in place of being called
91 narrowed.
92 (c-remove-stale-state-cache): Extra parameter HERE in place of
93 narrowing. Check there's an open brace in the cache before
94 searching for its match.
95 (c-invalidate-state-cache-1): Add HERE parameter to function call.
96 (c-parse-state-1): Don't narrow here for 'forward strategy,
97 instead passing extra parameter HERE to several functions. Remove
98 'BOD strategy.
99
100 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
101
102 * mouse.el (mouse-drag-track): Always deactivate the mark before
103 running the final event's command since that command is in charge of
104 activating the mark if needed (bug#13523).
105
106 2013-02-01 Juri Linkov <juri@jurta.org>
107
108 * replace.el (perform-replace): Move let-bindings of isearch-*
109 variables deeper to the loop that searches for the next match.
110 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
111 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
112 (Bug#13579)
113
114 * isearch.el (isearch-search-fun-default): Check for null
115 first element of isearch-cmds as a precaution when it's used
116 with inactive isearch.
117
118 2013-02-01 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
119
120 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
121 error when buffer in question is narrowed so position 1 is out of
122 visible part.
123
124 2013-01-31 Glenn Morris <rgm@gnu.org>
125
126 * textmodes/remember.el (remember-clipboard): Doc fix.
127
128 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
129
130 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
131 properties (bug#13179).
132
133 2013-01-30 Glenn Morris <rgm@gnu.org>
134
135 * mouse.el (mouse-drag-line): Avoid pushing same event onto
136 unread-command-events twice in some cases. This tries to implement
137 the 2012-07-26 changes in a different way. (Bug#13560)
138
139 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
140
141 * progmodes/python.el
142 (python-pdbtrack-comint-output-filter-function): Enhancements on
143 stacktrace detection. (thanks @gnovak)
144
145 2013-01-30 Glenn Morris <rgm@gnu.org>
146
147 * imenu.el (imenu-default-create-index-function):
148 Put back a version of the infinite loop test removed 2013-01-23.
149
150 2013-01-28 Fabián Ezequiel Gallina <fgallina@cuca>
151
152 * progmodes/python.el (python-shell-parse-command):
153 Find python-shell-interpreter with modified environment.
154
155 2013-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
156
157 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
158
159 2013-01-24 Fabián Ezequiel Gallina <fgallina@cuca>
160
161 * progmodes/python.el: Enhancements to header documentation about
162 skeletons. (Bug#5716)
163
164 2013-01-23 Fabián Ezequiel Gallina <fgallina@cuca>
165
166 * imenu.el (imenu-default-create-index-function): Remove useless
167 infinite loop check. (Bug#13438)
168
169 2013-01-23 Alan Mackenzie <acm@muc.de>
170
171 Fix a bug in the state cache mechanism. Refactor this a bit.
172
173 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
174 `cache-pos' element from the return value.
175 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
176 buffer to enable proper searching from beyond HERE. Amend the
177 test for detecting the sought brace pair. Amend the value written
178 to the "brace desert cache" when the brace isn't found.
179 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
180 and several other variables analogously.
181 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
182 parameter to a locally calculated variable.
183 (c-parse-state-1): Change the calling conventions to the two
184 defuns involving `cache-pos'.
185
186 2013-01-23 Chong Yidong <cyd@gnu.org>
187
188 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
189
190 2013-01-18 Leo Liu <sdl.web@gmail.com>
191
192 * dired.el (dired-get-marked-files): Prune erroneous values due to
193 last change. (Bug#13152)
194
195 2013-01-17 Glenn Morris <rgm@gnu.org>
196
197 * progmodes/etags.el (tags-table-check-computed-list):
198 Preserve point in tags buffer. (Bug#13412)
199
200 2013-01-16 Glenn Morris <rgm@gnu.org>
201
202 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
203
204 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
205 Revert 2012-12-29 change. Ref:
206 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00360.html>
207
208 2013-01-10 Fabián Ezequiel Gallina <fgallina@cuca>
209
210 * progmodes/python.el (python-nav-end-of-statement):
211 Fix cornercase when handling multiline strings.
212
213 2013-01-10 Glenn Morris <rgm@gnu.org>
214
215 * emacs-lisp/authors.el (authors-ignored-files)
216 (authors-valid-file-names, authors-renamed-files-alist):
217 Add some more entries.
218
219 2013-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
220
221 * image-mode.el (image-mode-winprops): Don't throw away the fallback
222 `t' pseudo-window entry.
223
224 2013-01-09 Alan Mackenzie <acm@muc.de>
225
226 Fix bugs in the c-parse-state mechanism. Reuse some markers
227 instead of continually generating new ones.
228
229 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
230 (c-state-old-cpp-end-marker): New variables.
231 (c-append-lower-brace-pair-to-state-cache): Start a backward
232 search for "}" definitively outside CPP constructs.
233 (c-remove-stale-state-cache): Inform the caller of a need to
234 search back for a brace pair in certain circumstances.
235 (c-state-maybe-marker): New macro.
236 (c-parse-state): Reuse markers when appropriate.
237
238 2013-01-09 Glenn Morris <rgm@gnu.org>
239
240 * simple.el (execute-extended-command): Doc fix.
241 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
242
243 2013-01-09 Chong Yidong <cyd@gnu.org>
244
245 * faces.el (read-face-name): Doc fix.
246
247 2013-01-09 Glenn Morris <rgm@gnu.org>
248
249 * emacs-lisp/trace.el (trace-function, trace-function-background):
250 Doc fix.
251
252 2013-01-09 Juri Linkov <juri@jurta.org>
253
254 * international/mule-cmds.el (read-char-by-name): Move let-binding
255 of completion-ignore-case around completing-read to fix regression
256 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
257 `string-match-p' using the nil value of `case-fold-search' and
258 `completion-ignore-case' in `completion-pcm--all-completions'.
259 (Bug#12615).
260
261 2013-01-07 Glenn Morris <rgm@gnu.org>
262
263 * progmodes/compile.el (compilation-parse-errors):
264 Fix typo. (Bug#13369)
265
266 2013-01-07 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
267
268 * comint.el (comint-send-input): Check size of buffer before
269 waiting for process output, in case already accepted. (Bug#13290)
270
271 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
272
273 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
274 non-negative integers. Otherwise, the default values are used.
275 (tramp-convert-file-attributes): Convert uid and gid to integers.
276
277 2013-01-03 Glenn Morris <rgm@gnu.org>
278
279 * term.el (term-handle-colors-array): Ensure face attributes
280 are fully specified, not nil. (Bug#13337)
281
282 * term.el (term-default-fg-color, term-default-bg-color):
283 Fix custom type.
284
285 * progmodes/etags.el (tags-compression-info-list): Doc fix.
286 (tag-find-file-of-tag-noselect): Check auto-compression-mode
287 rather than 'jka-compr being loaded. (Bug#13338)
288
289 * subr.el (eval-after-load): Don't purecopy the form, so that it
290 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
291
292 * emacs-lisp/byte-run.el (defun): Place cl declarations
293 after any interactive spec. (Bug#13265)
294
295 2012-12-31 Andreas Schwab <schwab@linux-m68k.org>
296
297 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
298 defun. Don't check for DECL if DOCSTRING isn't a string.
299 (defun): Likewise.
300
301 2012-12-31 Glenn Morris <rgm@gnu.org>
302
303 * eshell/em-cmpl.el (eshell-pcomplete):
304 More thoroughly imitate pcomplete. (Bug#13293)
305
306 * files.el (parse-colon-path): Doc fix. (Bug#12351)
307 Return nil for empty path elements. (Bug#13296)
308
309 2012-12-31 Fabián Ezequiel Gallina <fgallina@cuca>
310
311 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
312 order to improve efficiency (Based on Daniel Colascione's
313 <dancol@dancol.org> patch). (Bug#13182)
314
315 2012-12-31 Glenn Morris <rgm@gnu.org>
316
317 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
318
319 2012-12-31 Fabián Ezequiel Gallina <fgallina@cuca>
320
321 * progmodes/python.el: Support other commands triggering
322 python-indent-line so indentation cycling continues to work.
323 (python-indent-trigger-commands): New defcustom.
324 (python-indent-line): Use it.
325
326 2012-12-31 Fabián Ezequiel Gallina <fgallina@cuca>
327
328 * progmodes/python.el (python-shell-send-region): Add blank lines
329 for non sent code so backtraces remain correct.
330
331 2012-12-31 Andreas Schwab <schwab@linux-m68k.org>
332
333 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
334 neither DOCSTRING nor DECL was given. (Bug#13316)
335
336 2012-12-30 Glenn Morris <rgm@gnu.org>
337
338 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
339 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
340 (rmail-summary-displayed, rmail-summary): Declare.
341 (mairix-rmail-display): Just require rmail.
342
343 2012-12-29 Chong Yidong <cyd@gnu.org>
344
345 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
346 check for the tarball contents.
347
348 2012-12-29 Matt Fidler <matt.fidler@alcon.com> (tiny change)
349
350 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
351 tarfile content listings (Bug#13136).
352
353 2012-12-29 Mark Lillibridge <mark.lillibridge@hp.com>
354
355 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
356 Insert the undecoded text of the message being forwarded. (Bug#9521)
357
358 2012-12-28 Michael Albinus <michael.albinus@gmx.de>
359
360 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
361 integers, if they are real numbers. (Bug#13282)
362
363 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
364
365 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
366 "module" and "def" to have indentation before them.
367 Regression from 109911 (see the new test).
368
369 2012-12-24 Dmitry Gutov <dgutov@yandex.ru>
370
371 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
372
373 2012-12-23 Alan Mackenzie <acm@muc.de>
374
375 Speed up fontification where there's large brace blocks.
376 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
377 to a call of c-beginning-of-decl-1.
378
379 2012-12-21 Chong Yidong <cyd@gnu.org>
380
381 * sort.el (sort-subr): Doc fix (Bug#13056).
382
383 2012-12-20 Bastien Guerry <bzg@gnu.org>
384
385 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
386
387 2012-12-11 Alan Mackenzie <acm@muc.de>
388
389 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
390 * progmodes/cc-engine.el (c-backward-comments): Add code to work
391 around `forward-comment' not recognizing ^M as whitespace.
392
393 2012-12-11 Fabián Ezequiel Gallina <fgallina@cuca>
394
395 * progmodes/python.el (python-skeleton-class)
396 (python-skeleton-def): Do not add space after defun name.
397
398 2012-12-09 Chong Yidong <cyd@gnu.org>
399
400 * simple.el (set-mark-default-inactive): Mark as obsolete, for
401 removal after 24.3.
402
403 2012-12-08 Dani Moncayo <dmoncayo@gmail.com>
404
405 * simple.el (just-one-space): Doc fix.
406
407 2012-12-07 Eli Zaretskii <eliz@gnu.org>
408
409 * textmodes/texinfo.el (texinfo-enable-quote-envs):
410 Add "smallexample".
411
412 2012-12-07 Le Wang <l26wang@gmail.com>
413
414 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
415 narrowed buffer (bug#12361).
416
417 2012-12-07 Michael Heerdegen <michael_heerdegen@web.de>
418
419 * emacs-lisp/debug.el (debug): Fix hard-coded frame counts (bug#10025).
420 Virtually backported from trunk.
421
422 2012-12-07 Juanma Barranquero <lekktu@gmail.com>
423
424 * vc/vc-hooks.el (vc-state): Doc fix.
425
426 2012-12-06 Glenn Morris <rgm@gnu.org>
427
428 * mail/rmail.el (rmail-maybe-display-summary):
429 Preserve buffer, in case select-window changes it. (Bug#13066)
430
431 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
432
433 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
434 cl-load-hook where they belong.
435
436 2012-12-06 Chong Yidong <cyd@gnu.org>
437
438 * ffap.el (ffap-replace-file-component): Fix typo.
439
440 2012-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
441
442 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
443 fix open-paren-like token test (bug#12785).
444
445 2012-12-04 Glenn Morris <rgm@gnu.org>
446
447 * mail/rmailsum.el (rmail-new-summary): Tweak for
448 rmail-maybe-display-summary changing buffer. (Bug#13066)
449
450 2012-12-03 Juri Linkov <juri@jurta.org>
451
452 * info.el (Info-fontify-node): Don't hide the last newline.
453 (Bug#12272)
454
455 2012-12-01 Leo Liu <sdl.web@gmail.com>
456
457 * files.el (dir-locals-read-from-file): Check file non-empty
458 before reading. (Bug#13038)
459
460 2012-11-28 Glenn Morris <rgm@gnu.org>
461
462 * jka-cmpr-hook.el (jka-compr-get-compression-info):
463 Remove any version extension before checking filename. (Bug#13006)
464 (jka-compr-compression-info-list): Belated :version bump.
465
466 2012-11-28 Chong Yidong <cyd@gnu.org>
467
468 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
469
470 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
471 (buffer-menu): Doc fix (Bug#12294).
472
473 2012-11-27 Roland Winkler <winkler@gnu.org>
474
475 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
476 of diary-show-all-entries in the diary buffer (Bug#12994).
477
478 2012-11-27 Michael Albinus <michael.albinus@gmx.de>
479
480 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
481 "<STDIN>". This is binary safe.
482
483 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
484
485 * textmodes/table.el (table-insert): Don't use `symbol-name' on
486 lexically scoped variables (bug#13005).
487
488 2012-11-26 Glenn Morris <rgm@gnu.org>
489
490 * vc/vc-hooks.el (vc-mistrust-permissions):
491 Default to t, to avoid data-loss. (Bug#11490)
492
493 2012-11-26 Fabián Ezequiel Gallina <fgallina@cuca>
494
495 * progmodes/python.el (python-indent-guess-indent-offset):
496 If indentation is guessed make python-indent-offset buffer-local.
497
498 Fix Imenu regression.
499 * progmodes/python.el (python-nav-beginning-of-defun):
500 Fix forward movement when statement(s) separates point from defun.
501 (python-imenu-prev-index-position): New function.
502
503 2012-11-26 Eli Zaretskii <eliz@gnu.org>
504
505 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
506
507 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
508 Don't set buffer-file-type. Return nil. (Bug#12989)
509
510 2012-11-26 Glenn Morris <rgm@gnu.org>
511
512 * hippie-exp.el (hippie-expand-try-functions-list):
513 Re-autoload it. (Bug#12982)
514
515 2012-11-25 Eli Zaretskii <eliz@gnu.org>
516
517 * descr-text.el (describe-char-padded-string):
518 Call internal-char-font only on GUI frames. (Bug#11964)
519
520 2012-11-24 Andreas Schwab <schwab@linux-m68k.org>
521
522 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
523 and obsoletion message.
524
525 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
526
527 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
528 the constructs to keep outside of the `cl-block' (bug#12977).
529
530 2012-11-24 Chong Yidong <cyd@gnu.org>
531
532 * mouse.el (mouse-drag-line): Even if the line is not draggable,
533 keep reading until we get the up-event anyway, in order to process
534 the up-event for mouse-1-click-follows-link (Bug#12971).
535
536 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
537
538 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
539 lexical-binding (bug#12938).
540
541 2012-11-23 Wolfgang Jenkner <wjenkner@inode.at>
542
543 * image-mode.el (image-transform-check-size): Use assertions only
544 for images of type imagemagick.
545
546 Otherwise no error, image-transform-fit-to-{width,height} is
547 silently ignored, as before. Doc fix.
548
549 2012-11-23 Chong Yidong <cyd@gnu.org>
550
551 * faces.el (color-defined-p): Doc fix (Bug#12853).
552
553 2012-11-23 Juri Linkov <juri@jurta.org>
554
555 * dired.el (dired-mark): Add optional arg `interactive'.
556 Check for `use-region-p' if `interactive' is non-nil.
557 (dired-unmark, dired-flag-file-deletion): Add optional arg
558 `interactive'. Call `dired-mark' with the arg `interactive'.
559 (Bug#10624)
560
561 2012-11-23 Juri Linkov <juri@jurta.org>
562
563 * wdired.el: Revert 2012-10-17 change partly and replace it with
564 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
565 (wdired-finish-edit): Add marks for new file names to
566 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
567 after `revert-buffer'.
568 (wdired-do-renames): Remove calls to `dired-remove-file',
569 `dired-add-file', `dired-add-entry'. (Bug#11795)
570
571 2012-11-21 Alan Mackenzie <acm@muc.de>
572
573 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
574
575 Fix bugs in the state cache. Enhance a debugging mechanism.
576 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
577 "brace at column zero" strategy for C++.
578 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
579 (c-parse-state-point): New variable.
580 (c-record-parse-state-state): Record old parse state with
581 `copy-tree'. Record previous value of point.
582 (c-debug-parse-state-double-cons): New debugging function.
583 (c-debug-parse-state): Call the above new function.
584 (c-toggle-parse-state-debug): Output a confirmatory message.
585
586 * progmodes/cc-mode.el (c-before-change, c-after-change):
587 Call c-invalidate-state-cache from `c-before-change' instead of
588 `c-after-change'.
589
590 2012-11-20 Daniel Colascione <dancol@dancol.org>
591
592 * term/w32-win.el (cygwin-convert-path-from-windows):
593 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
594 This change is a backport from trunk.
595
596 2012-11-20 Eli Zaretskii <eliz@gnu.org>
597
598 * simple.el (line-move): Don't call line-move-partial if
599 scroll-conservatively is in effect. (Bug#12927)
600
601 2012-11-20 Michael Albinus <michael.albinus@gmx.de>
602
603 * net/trampver.el (tramp-version): Downgrade to 2.2.6-24.3, in
604 order to distinguish from trunk.
605
606 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
607
608 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't accept
609 non-symbols for compiler macros (yet).
610
611 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
612 Fallback on completion-at-point rather than
613 pcomplete-expand-and-complete, and only if pcomplete actually failed.
614 (eshell-cmpl-initialize): Setup completion-at-point.
615
616 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
617
618 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
619
620 2012-11-19 Michael Albinus <michael.albinus@gmx.de>
621
622 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
623 are remote, check out-of-band property for both.
624
625 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
626
627 * window.el (switch-to-buffer): Re-add the warning that was lost in the
628 code rewrite.
629
630 2012-11-18 Paul Eggert <eggert@cs.ucla.edu>
631
632 More minor time fixes.
633 * calendar/time-date.el: Commentary fix.
634 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
635 too much other code depends on (0 0) time stamps.
636 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
637 Add a couple of FIXME comments.
638
639 Minor cleanup for times as lists of four integers.
640 * files.el (dir-locals-directory-cache):
641 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
642 Doc fixes.
643 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
644 * ps-bdf.el (bdf-file-newer-than-time):
645 Process four-integers time stamps, not two. Doc fixes.
646
647 2012-11-18 Glenn Morris <rgm@gnu.org>
648
649 * image.el (insert-image, insert-sliced-image): Doc fix.
650
651 2012-11-17 Chong Yidong <cyd@gnu.org>
652
653 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
654 (Bug#12810).
655
656 2012-11-17 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
657
658 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
659 response when the target file is in a subdirectory (Bug#12757).
660
661 2012-11-17 Chong Yidong <cyd@gnu.org>
662
663 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
664
665 2012-11-17 Glenn Morris <rgm@gnu.org>
666
667 * woman.el (woman-non-underline-faces):
668 * emacs-lisp/cl-lib.el (face-underline-p):
669 Use set-face-underline rather than the alias set-face-underline-p.
670
671 * window.el (with-temp-buffer-window): Doc fix.
672 * subr.el (with-output-to-temp-buffer):
673 Add doc xref to with-temp-buffer-window.
674
675 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
676
677 * emacs-lisp/cl-lib.el: Set more meaningful version number.
678
679 2012-11-16 Martin Rudalics <rudalics@gmx.at>
680
681 * window.el (enlarge-window, shrink-window): Don't mention return
682 value in doc-string (Bug#12896).
683 (window--display-buffer): Don't resize frames - it won't work
684 with all window managers and defeat pop-up-frame-alist.
685 (display-buffer-alist): In doc-string explain that CONDITION can
686 be a function and which arguments are passed to it (Bug#12854).
687 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
688 expressions (Bug#12854).
689 (display-buffer): Pass ACTION argument to
690 display-buffer-assq-regexp.
691
692 2012-11-16 Glenn Morris <rgm@gnu.org>
693
694 * window.el (fit-frame-to-buffer-bottom-margin)
695 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
696
697 * faces.el (face-underline-p): Use face-attribute-specified-or.
698
699 2012-11-15 Juanma Barranquero <lekktu@gmail.com>
700
701 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
702
703 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
704
705 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
706
707 2012-11-15 Glenn Morris <rgm@gnu.org>
708
709 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
710 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
711
712 * faces.el (face-underline-p): Doc fix. Handle :underline being
713 things other than `t' (a string, a list).
714 (face-inverse-video-p): Doc fix.
715 (set-face-underline): Rename it back from set-face-underline-p.
716 Doc fix. Allow interactive input of values other than t.
717 (read-face-attribute): Apply formatting to :underline,
718 since like :box and :stipple it can take list values.
719
720 * term.el (ansi-term): Don't let C-x escape-char binding
721 clobber the more standard C-c binding. (Bug#12842)
722
723 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
724
725 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
726 (bug#12879).
727
728 2012-11-14 Glenn Morris <rgm@gnu.org>
729
730 * subr.el (set-temporary-overlay-map): Doc fix.
731
732 2012-11-13 Martin Rudalics <rudalics@gmx.at>
733
734 * window.el (record-window-buffer)
735 (display-buffer-record-window): When copying the markers to
736 window-point preserve window-point-insertion-type. (Bug#12588)
737
738 2012-11-13 Glenn Morris <rgm@gnu.org>
739
740 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
741 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
742 Use new names for hooks rather than obsolete aliases.
743
744 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
745
746 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
747
748 2012-11-12 Wolfgang Jenkner <wjenkner@inode.at>
749
750 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
751 39 and 49. This fixes bug#12792. Also, treat unimplemented
752 parameters as 0, thereby restoring the behavior of revisions prior
753 to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
754
755 2012-11-12 Fabián Ezequiel Gallina <fgallina@cuca>
756
757 Fix end-of-defun misbehavior.
758 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
759 python-beginning-of-defun-function. Handle nested defuns
760 correctly.
761 (python-nav-end-of-defun): Rename from
762 python-end-of-defun-function. Ensure forward movement.
763 (python-info-current-defun): Reimplement to work as intended
764 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
765 parent defuns as soon as possible.
766
767 2012-11-12 Glenn Morris <rgm@gnu.org>
768
769 * progmodes/flymake.el (flymake-error-bitmap)
770 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
771 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
772
773 2012-11-12 Dmitry Gutov <dgutov@yandex.ru>
774
775 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
776 backward, always stop at indentation. Reverts the change from
777 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
778
779 2012-11-11 Glenn Morris <rgm@gnu.org>
780
781 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
782 Add ibuffer-filter-by-derived-mode.
783
784 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
785 the same name shadowing each other.
786
787 * window.el (with-temp-buffer-window): Doc tweak.
788
789 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
790
791 * help.el (temp-buffer-max-height):
792 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
793 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
794
795 2012-11-10 Leo Liu <sdl.web@gmail.com>
796
797 * ido.el (ido-set-matches-1): Fix split-string args to avoid
798 performance issue. (Bug#12796)
799
800 2012-11-10 Glenn Morris <rgm@gnu.org>
801
802 * term.el (term-default-fg-color, term-default-bg-color):
803 Make obsolete, rather than just saying "deprecated" in the doc.
804
805 * term.el (term): Rename from `term-face'.
806 (term-current-face, ansi-term-color-vector)
807 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
808 Update all users.
809
810 2012-11-09 Jan Djärv <jan.h.d@swipnet.se>
811
812 * server.el (server-create-window-system-frame): Improve comment.
813
814 2012-11-08 Jan Djärv <jan.h.d@swipnet.se>
815
816 * server.el (server-create-window-system-frame): Handle Nextstep
817 specially (Bug#12780).
818
819 2012-11-08 Glenn Morris <rgm@gnu.org>
820
821 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
822 Unautoload, and make obsolete. (Bug#7449)
823
824 2012-11-08 Chong Yidong <cyd@gnu.org>
825
826 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
827 rename from diff-remove-trailing-whitespace (Bug#12831).
828
829 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
830
831 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
832 miscompilation of trace.el.
833
834 2012-11-08 Glenn Morris <rgm@gnu.org>
835
836 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
837
838 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
839
840 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
841 (bug#12812).
842
843 2012-11-07 Chong Yidong <cyd@gnu.org>
844
845 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
846 a defcustom with an appropriate :set function.
847 (minibuffer-default--in-prompt-regexps): New function.
848
849 2012-11-07 Glenn Morris <rgm@gnu.org>
850
851 * emacs-lisp/cl.el (define-setf-expander, defsetf)
852 (define-modify-macro): Doc fixes.
853
854 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
855 (gv-define-simple-setter): Update doc of `fix-return'.
856
857 2012-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
858
859 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
860 twice when `fix-return' is set (bug#12813).
861
862 * emacs-lisp/cl.el (defsetf): Pass the third arg to
863 gv-define-simple-setter (bug#12812).
864
865 2012-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
866
867 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
868 (bug#12756).
869
870 2012-11-06 Glenn Morris <rgm@gnu.org>
871
872 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
873
874 2012-11-05 Glenn Morris <rgm@gnu.org>
875
876 * emacs-lisp/cl-extra.el (cl-prettyexpand):
877 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
878 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
879 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
880
881 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
882
883 2012-11-03 Glenn Morris <rgm@gnu.org>
884
885 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
886 Rename handler properties back from cl-- to cl-. (Bug#12788)
887
888 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
889
890 2012-11-03 Eli Zaretskii <eliz@gnu.org>
891
892 * term/pc-win.el: Don't load term/internal from here.
893
894 * loadup.el: Load term/internal from here.
895
896 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
897
898 * progmodes/python.el (inferior-python-mode): Fix hang in
899 jit-lock (Bug#12645).
900
901 2012-11-03 Martin Rudalics <rudalics@gmx.at>
902
903 * window.el (switch-to-visible-buffer)
904 (switch-to-buffer-preserve-window-point): Fix doc-strings.
905
906 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
907
908 * play/gomoku.el (gomoku-display-statistics): Update mode line
909 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
910
911 2012-10-31 Martin Rudalics <rudalics@gmx.at>
912
913 * window.el (quit-restore-window): If the window has been
914 created on an existing frame and ended up as the sole window on
915 that frame, do not delete it (Bug#12764).
916
917 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
918
919 * progmodes/sh-script.el (sh--inside-noncommand-expression):
920 Rename from sh--inside-arithmetic-expression, handle more cases
921 (bug#11263).
922
923 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
924 (sh-font-lock-open-heredoc): Use it (bug#12770).
925
926 2012-10-30 Glenn Morris <rgm@gnu.org>
927
928 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
929
930 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
931
932 2012-10-29 Chong Yidong <cyd@gnu.org>
933
934 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
935 function key is stored in a keyboard macro (Bug#4894).
936
937 * thingatpt.el (number-at-point): Apply a thing-at-point property.
938
939 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
940
941 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
942 header comments".
943 (diff-unified->context, diff-context->unified)
944 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
945
946 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
947
948 * files.el (find-alternate-file): Only ask one question (bug#12487).
949
950 2012-10-29 Chong Yidong <cyd@gnu.org>
951
952 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
953 Suggested by Dan Nicolaescu (Bug#6326).
954
955 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
956
957 * startup.el (fancy-about-screen): Don't message (Bug#12680).
958
959 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
960
961 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
962
963 * face-remap.el (face-remap-add-relative): Handle the case where a
964 face-remapping-alist entry is a cons cell (Bug#12762).
965
966 2012-10-29 Kevin Ryde <user42@zip.com.au>
967
968 * woman.el (woman-parse-numeric-value): Handle picas correctly
969 (Bug#12639).
970
971 2012-10-29 Glenn Morris <rgm@gnu.org>
972
973 * emacs-lisp/cl.el (defsetf): Doc fix.
974
975 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
976
977 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
978 syntax to the matching opener, if any (bug#12547).
979 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
980 matching open as a "case-(".
981 (sh-smie-rc-grammar): Add a corresponding rule for it.
982
983 2012-10-28 Daniel Hackney <dan@haxney.org>
984
985 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
986 "PKGNAME-autoloads.el" in case we created it.
987
988 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
989
990 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
991 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
992 (completion--twq-all): Disable too-strict assertions.
993
994 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
995
996 2012-10-27 Eli Zaretskii <eliz@gnu.org>
997
998 * profiler.el (profiler-report-make-entry-part): Fix help-echo
999 text to match the real keybindings.
1000
1001 2012-10-27 Juri Linkov <juri@jurta.org>
1002
1003 * wdired.el (wdired-keep-marker-rename): New defcustom.
1004 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
1005 (Bug#11795)
1006
1007 * dired.el (dired-keep-marker-rename): Add reference to
1008 `wdired-keep-marker-rename' in the docstring.
1009 Add default character value ?R to display initially in
1010 Customization UI instead of ?@.
1011
1012 2012-10-27 Martin Rudalics <rudalics@gmx.at>
1013
1014 * window.el (display-buffer): In doc-string describe
1015 window-height and window-width alist entries.
1016
1017 * time.el (display-time-world): Restore fit-window-to-buffer
1018 behavior.
1019
1020 2012-10-27 Chong Yidong <cyd@gnu.org>
1021
1022 * subr.el (insert-buffer-substring-as-yank): Doc fix.
1023
1024 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
1025
1026 * minibuffer.el (completion-category-overrides): New completion
1027 category `bookmark' (bug#11131).
1028
1029 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1030
1031 * emacs-lisp/advice.el (ad-assemble-advised-definition):
1032 Silence bogus compiler warnings for ad-do-it.
1033
1034 * bookmark.el (bookmark-completing-read): Set the completion category
1035 to `bookmark' (bug#11131).
1036
1037 2012-10-26 Bastien <bzg@altern.org>
1038 Stefan Monnier <monnier@iro.umontreal.ca>
1039
1040 * face-remap.el: Use lexical-binding.
1041 (text-scale-adjust): Improve docstring. Use itself for the temporary
1042 overlay-map bindings, so as to repeat the "Use..." message each time.
1043
1044 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1045
1046 * emacs-lisp/macroexp.el (macroexp--expand-all):
1047 Obey byte-compile-warning-enabled-p (bug#12486).
1048
1049 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
1050 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
1051
1052 2012-10-26 Martin Rudalics <rudalics@gmx.at>
1053
1054 * mouse.el (mouse-drag-line): Move last form into preceding when
1055 clause (Bug#12731).
1056
1057 * help.el (resize-temp-buffer-window): Fix doc-string.
1058
1059 2012-10-25 David Engster <deng@randomsample.de>
1060
1061 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
1062 Remove. This feature is already integrated in imenu.
1063
1064 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
1065 always loaded. Require `speedbar' unconditionally.
1066
1067 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1068
1069 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
1070
1071 * minibuffer.el (minibuffer-force-complete): Fix thinko.
1072
1073 * net/ldap.el (ldap-search-internal): The official ldif format starts
1074 with a "version: 1" header (bug#12724).
1075
1076 * emacs-lisp/package.el (package-installed-p): Warn if not ready
1077 (bug#12721).
1078
1079 2012-10-25 Glenn Morris <rgm@gnu.org>
1080
1081 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
1082
1083 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1084
1085 * minibuffer.el (minibuffer-force-complete): Use one more marker
1086 for the temporary-overlay-map command (bug#12619).
1087
1088 2012-10-24 Chong Yidong <cyd@gnu.org>
1089
1090 * time.el (display-time-world-mode): Derive from special-mode.
1091 (display-time-world): Use display-buffer (Bug#12708).
1092 (display-time-world-mode-map): Variable deleted.
1093 (display-time-world-display): Wrap the final delete-char inside
1094 inhibit-read-only.
1095
1096 2012-10-24 Chong Yidong <cyd@gnu.org>
1097
1098 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
1099 Doc fix.
1100
1101 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
1102
1103 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1104
1105 * minibuffer.el (completion--all-sorted-completions-location): New var.
1106 (completion--cache-all-sorted-completions)
1107 (completion--flush-all-sorted-completions): Use it.
1108 (completion-in-region, completion-in-region--postch)
1109 (completion-at-point, completion-help-at-point): Use markers in
1110 completion-in-region--data (bug#12619).
1111
1112 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1113
1114 * progmodes/compile.el (compilation-start): Try to handle common
1115 quoting of `cd' argument (bug#12640).
1116
1117 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
1118 (bug#12671).
1119
1120 2012-10-23 Glenn Morris <rgm@gnu.org>
1121
1122 * progmodes/gud.el (gud-menu-map):
1123 Check gdb-active-process is bound. (Bug#12358)
1124
1125 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1126
1127 * repeat.el (repeat): Set real-this-command (bug#12232).
1128
1129 * htmlfontify.el (hfy-post-html-hook):
1130 * filesets.el (filesets-cache-fill-content-hook):
1131 * arc-mode.el (archive-extract-hook):
1132 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
1133 * net/rcirc.el (rcirc-sentinel-functions)
1134 (rcirc-receive-message-functions, rcirc-activity-functions)
1135 (rcirc-print-functions):
1136 * net/dbus.el (dbus-event-error-functions):
1137 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
1138 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
1139 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
1140 * term/sun.el (sun-raw-prefix-hooks):
1141 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
1142
1143 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
1144
1145 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1146 Set `tramp-chunksize' to 1. This improves the performance.
1147 (tramp-smb-wait-for-output): Add timeout to
1148 `tramp-accept-process-output' calls.
1149
1150 2012-10-23 Chong Yidong <cyd@gnu.org>
1151
1152 * faces.el (font-list-limit): Define as an obsolete variable.
1153
1154 * startup.el (command-line):
1155 * cus-start.el: Don't refer to font-list-limit.
1156
1157 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
1158
1159 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1160
1161 * subr.el (internal-temp-output-buffer-show): Rename from
1162 temp-output-buffer-show, since previously compiled files expect this name.
1163
1164 2012-10-23 Glenn Morris <rgm@gnu.org>
1165
1166 * image.el (image-type-from-file-name): If multiple types match,
1167 return the first one that is supported. (Bug#9045)
1168
1169 2012-10-22 Glenn Morris <rgm@gnu.org>
1170
1171 * image.el (imagemagick-enabled-types): Doc fix.
1172
1173 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
1174
1175 * progmodes/which-func.el (which-func-current): The hash-table may have
1176 an explicit nil (bug#12338).
1177
1178 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1179
1180 * electric.el (electric-pair-delete-selection-self-insert-function):
1181 Rename to electric-pair-will-use-region, return a boolean.
1182 (electric-pair-mode): Adjust accordingly. Don't require delsel.
1183
1184 * delsel.el (delete-selection-helper): Use a function instead of a hook.
1185 (delete-selection-pre-hook): Use use-region-p.
1186 (delete-selection-self-insert-function): Remove.
1187 (self-insert-command): Obey self-insert-uses-region-functions.
1188 (self-insert-iso): Revert to previous setting, since we don't actually
1189 know what that command does.
1190 (delete-selection-self-insert-hooks): Remove.
1191
1192 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
1193
1194 * delsel.el (delete-selection-helper): New function, extracted from
1195 delete-selection-pre-hook.
1196 (delete-selection-pre-hook): Use it.
1197 (delete-selection-self-insert-function): New function.
1198 (delete-selection-self-insert-hooks): New hook.
1199 (self-insert-command, self-insert-iso): Use it.
1200 * electric.el (electric-pair-syntax): New function, extracted from
1201 electric-pair-post-self-insert-function.
1202 (electric-pair-post-self-insert-function): Use it.
1203 (electric-pair-delete-selection-self-insert-function): New function.
1204 (electric-pair-mode): Require delsel and setup
1205 delete-selection-self-insert-hooks (bug#11520).
1206
1207 2012-10-20 Chong Yidong <cyd@gnu.org>
1208
1209 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1210 no changes to show (Bug#12586).
1211
1212 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1213 list explicitly (Bug#12571).
1214
1215 2012-10-20 Arne Jørgensen <arne@arnested.dk>
1216
1217 * progmodes/flymake.el (flymake-create-temp-inplace):
1218 Use file-truename.
1219
1220 2012-10-20 Eli Zaretskii <eliz@gnu.org>
1221
1222 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
1223
1224 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
1225
1226 * calc/calc-units.el (math-extract-units): Properly extract powers
1227 of units.
1228
1229 2012-10-20 Daniel Colascione <dancol@dancol.org>
1230
1231 * frame.el (make-frame): Set x-display-name as we used to in order
1232 to unbreak creating an X11 frame from an Emacs daemon started
1233 without a display.
1234
1235 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1236
1237 * minibuffer.el (minibuffer-force-complete): Make the next completion use
1238 the same completion-field (bug@12221).
1239
1240 2012-10-19 Martin Rudalics <rudalics@gmx.at>
1241
1242 * emacs-lisp/debug.el (debug): Record height of debugger window
1243 also when debugger will be back (Bug#8789).
1244
1245 2012-10-18 Chong Yidong <cyd@gnu.org>
1246
1247 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1248 Convert to defcustom.
1249 (gdb-get-source-file): Don't bind pop-up-windows.
1250
1251 * progmodes/gud.el (gud-display-line): Don't specially re-use
1252 other frames for the gdb-mi case (Bug#12648).
1253
1254 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1255
1256 * emacs-lisp/advice.el: Clean up commentary a bit.
1257 (ad-do-advised-functions, ad-with-originals): Use `declare'.
1258 (byte-code-function-p): Never redefine.
1259
1260 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1261
1262 2012-10-18 Glenn Morris <rgm@gnu.org>
1263
1264 * dired.el (dired-sort-toggle): Some ls implementations only allow
1265 a single option string. (Bug#12666)
1266
1267 * minibuffer.el (completion-cycle-threshold): Doc fix.
1268
1269 2012-10-17 Kenichi Handa <handa@gnu.org>
1270
1271 * international/mule.el (set-keyboard-coding-system):
1272 Recover input meta mode when the new coding system doesn not use 8-bit.
1273 Supply TERMINAL arg to set-input-meta-mode.
1274
1275 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
1276
1277 * wdired.el (wdired-old-marks): New variable.
1278 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
1279 (wdired-do-renames): Move point with renamed file and don't lose
1280 mark status (Bug#11795).
1281
1282 2012-10-16 Juri Linkov <juri@jurta.org>
1283
1284 * replace.el (query-replace-help): Mention multi-buffer replacement
1285 keys in the Help message. (Bug#12655)
1286
1287 2012-10-15 Chong Yidong <cyd@gnu.org>
1288
1289 * emacs-lisp/byte-run.el (defsubst): Doc fix.
1290
1291 2012-10-14 Eli Zaretskii <eliz@gnu.org>
1292
1293 * window.el (display-buffer): Doc fix.
1294
1295 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1296 Adjust the msft regexp to the output of Studio 2010, and move msft
1297 before edg-1. See the discussion on emacs-devel,
1298 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
1299 for the details.
1300
1301 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1302
1303 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
1304 (oset): Move uses of object-class-fast macro after its definition.
1305
1306 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
1307
1308 2012-10-13 Chong Yidong <cyd@gnu.org>
1309
1310 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
1311 enabled, re-enable it (Bug#11963).
1312
1313 2012-10-13 Martin Rudalics <rudalics@gmx.at>
1314
1315 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1316 non-nil, restore window configuration (Bug#12623).
1317
1318 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1319
1320 * help-fns.el (describe-variable, describe-function-1):
1321 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1322
1323 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1324
1325 2012-10-12 Glenn Morris <rgm@gnu.org>
1326
1327 * mail/rmailsum.el (rmail-header-summary):
1328 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
1329
1330 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
1331
1332 * progmodes/python.el (python-mode-map):
1333 Replace subtitute-key-definition with proper command remapping.
1334 (python-nav--up-list): Fix behavior for blocks on the same level.
1335
1336 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1337
1338 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
1339
1340 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
1341 changes to the format of load-history.
1342
1343 * international/mule-cmds.el (read-char-by-name): Move let-binding of
1344 completion-ignore-case in case that var is buffer-local (bug#12615).
1345
1346 2012-10-11 Kenichi Handa <handa@gnu.org>
1347
1348 * international/eucjp-ms.el: Re-generated.
1349
1350 2012-10-10 Kenichi Handa <handa@gnu.org>
1351
1352 * select.el (xselect--encode-string): If a coding is specified for
1353 selection, and that is compatible with COMPOUND_TEXT, use it.
1354
1355 2012-10-10 Martin Rudalics <rudalics@gmx.at>
1356
1357 * window.el (switch-to-buffer-preserve-window-point): New option.
1358 (switch-to-buffer):
1359 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
1360
1361 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1362
1363 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
1364 Don't document nil as a useful value (bug#12583).
1365
1366 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
1367
1368 * net/tramp.el (tramp-debug-message):
1369 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1370 (with-tramp-progress-reporter): Rename from
1371 `tramp-with-progress-reporter'.
1372 (with-tramp-file-property, with-tramp-connection-property):
1373 Move from tramp-cache.el, rename from `with-file-property' and
1374 `with-connection-property', respectively.
1375
1376 * net/tramp-cache.el: Remove `with-file-property' and
1377 `with-connection-property'.
1378
1379 * net/tramp.el:
1380 * net/tramp-gvfs.el:
1381 * net/tramp-sh.el:
1382 * net/tramp-smb.el: Adapt callees.
1383
1384 * net/trampver.el: Update release number.
1385
1386 2012-10-09 Glenn Morris <rgm@gnu.org>
1387
1388 * w32-fns.el (set-message-beep):
1389 * term/w32-win.el (set-message-beep): Update declarations.
1390
1391 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1392
1393 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1394 (mode-line-widen, mode-line-input-method-map)
1395 (mode-line-coding-system-map, mode-line-remote)
1396 (mode-line-unbury-buffer, mode-line-bury-buffer)
1397 (mode-line-next-buffer, mode-line-previous-buffer):
1398 Replace save-selected-window+select-window => with-selected-window.
1399
1400 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1401 * progmodes/cc-vars.el (bq-process): Remove, unused.
1402
1403 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1404
1405 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
1406
1407 Implemented `backward-up-list'-like navigation.
1408 * progmodes/python.el (python-nav-up-list)
1409 (python-nav-backward-up-list): New functions.
1410 (python-mode-map): Define substitute key for backward-up-list to
1411 python-nav-backward-up-list.
1412
1413 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1414
1415 * progmodes/python.el (python-fill-paragraph): Rename from
1416 python-fill-paragraph-function. Fixed fill-paragraph for
1417 decorators (Bug#12605).
1418
1419 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1420
1421 * progmodes/python.el (python-shell-output-filter): Handle extra
1422 carriage return in OSX (Bug#12409).
1423
1424 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1425
1426 Fix shell handling of unbalanced quotes and parens in output.
1427 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
1428 (python-syntax-propertize-function): Use it.
1429 (python-shell-output-syntax-table): New var.
1430 (inferior-python-mode): Prevent unbalanced parens/quotes from
1431 previous output mess with current input context.
1432
1433 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
1434
1435 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1436 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1437
1438 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
1439
1440 * ffap.el (ffap-replace-file-component): Support Tramp file name
1441 syntax, not only ange-ftp's one.
1442
1443 2012-10-08 Glenn Morris <rgm@gnu.org>
1444
1445 * cus-start.el (message-log-max): Set :version.
1446
1447 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1448
1449 2012-10-08 Martin Rudalics <rudalics@gmx.at>
1450
1451 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
1452 the minibuffer window (Bug#10851).
1453
1454 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1455
1456 Enhancements on forward-sexp movement.
1457 * progmodes/python.el (python-nav-beginning-of-statement)
1458 (python-nav-end-of-statement): Return point-marker.
1459 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1460 (python-info-current-symbol)
1461 (python-info-statement-starts-block-p): Rename from
1462 python-info-beginning-of-block-p.
1463 (python-info-statement-ends-block-p): Rename from
1464 python-info-end-of-block-p.
1465 (python-info-beginning-of-statement-p)
1466 (python-info-end-of-statement-p)
1467 (python-info-beginning-of-block-p, python-info-end-of-block-p):
1468 New functions.
1469
1470 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1471
1472 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
1473 frame-selected-windows.
1474
1475 2012-10-08 Daniel Colascione <dancol@dancol.org>
1476
1477 * battery.el (battery-status-function): Check for
1478 w32-battery-status itself, not system-time windows-nt.
1479
1480 * frame.el: Require cl-lib.
1481 (display-format-alist): New variable mapping frame types to
1482 functions that initialize them.
1483 (window-system-for-display): New function: interprets
1484 display-format-alist.
1485 (make-frame-on-display): Remove existing display-selection logic
1486 and just forward to make-frame, which will now DTRT.
1487 (make-frame): Restructure to use window-system-for-display to
1488 figure out how to create a frame on a given display.
1489 (display-mouse-p): Look for frame-type w32, not a particular
1490 system-type.
1491
1492 * loadup.el: Load w32 lisp code when we have the w32 feature.
1493
1494 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1495 system-type windows-nt.
1496
1497 * server.el (server-create-window-system-frame): Look for window
1498 type.
1499 (server-proces-filter): Only force a window system when windows-nt
1500 _and_ w32. Explain why.
1501
1502 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
1503 of window systems we configure for the mode.
1504
1505 * startup.el (command-line): Mark window system is initialized
1506 after we've done it.
1507
1508 * common-win.el (x-select-text): Look for w32, not windows-nt.
1509
1510 * ns-win.el: Require cl-lib. Add ourselves to
1511 display-format-alist.
1512 (ns-initialize-window-system): Assert we're not initialized twice.
1513
1514 * w32-win.el: Enable lexical binding; require cl-lib; add
1515 ourselves to display-format-alist.
1516 (w32-handle-dropped-file): Convert incoming dropped files from
1517 Windows paths to Cygwin ones before passing them on to the rest of
1518 Emacs.
1519 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
1520 (w32-initialize-window-system): Assert we're not initialized twice.
1521
1522 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
1523 (x-initialize-window-system): Assert we're not initialized twice.
1524
1525 * w32-common-fns.el: New File.
1526 (w32-version, w32-using-nt, w32-get-clipboard-data)
1527 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1528 (w32-charset-info-alist, x-last-selected, text)
1529 (x-get-selection-value, x-selection-value): Move here.
1530
1531 * w32-fns.el: Require w32-common-fns.
1532 (w32-version, w32-using-nt, w32-get-clipboard-data)
1533 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1534 (w32-charset-info-alist, x-last-selected, text)
1535 (x-get-selection-value, x-selection-value): Move to
1536 w32-common-fns.
1537
1538 * w32-vars.el:
1539 (w32-allow-system-shell, w32-system-shells): Define only in
1540 non-cygwin case.
1541
1542 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1543
1544 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
1545 (read-passwd): Remove a few more potential sources of leaks.
1546
1547 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1548
1549 * progmodes/python.el (inferior-python-mode)
1550 (python-shell-make-comint): Fix initialization of local
1551 variables copied from parent buffer.
1552
1553 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
1554
1555 * term/ns-win.el (ns-read-file-name): Update declaration to match
1556 nsfns.m.
1557 (ns-respond-to-change-font): Change fontsize separatly so we are sure
1558 it is set when font is acted upon.
1559
1560 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1561
1562 Enhancements to indentation.
1563 * progmodes/python.el (python-indent-context): Give priority to
1564 inside-string context. Make comments indentation markers.
1565 (python-indent-region): Do not mess with strings, unless it's the
1566 enclosing set of quotes.
1567
1568 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1569
1570 * window.el (internal--before-save-selected-window)
1571 (internal--after-save-selected-window): New functions extracted from
1572 save-selected-window. Make sure we return the `alist' we construct.
1573 (save-selected-window): Use them.
1574
1575 * textmodes/tex-mode.el (tex-recenter-output-buffer):
1576 Use with-selected-window.
1577
1578 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
1579 forms that define macros (bug#12593).
1580
1581 2012-10-07 Kenichi Handa <handa@gnu.org>
1582
1583 * international/mule-conf.el (compound-text-with-extensions):
1584 Add :mime-charset property as x-ctext.
1585
1586 2012-10-07 Stefan Merten <smerten@oekonux.de>
1587
1588 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1589 (rst-indent-literal-normal, rst-indent-literal-minimized)
1590 (rst-indent-comment): Correct :version tag.
1591 (rst-official-cvs-rev): Correct version string.
1592
1593 2012-10-07 Glenn Morris <rgm@gnu.org>
1594
1595 * mail/rmailmm.el (rmail-mime-process-multipart):
1596 Do not confuse a multipart message with an epilogue
1597 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
1598
1599 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1600
1601 Fix shell output retrieval and comint-prompt-regexp init.
1602 * progmodes/python.el (inferior-python-mode):
1603 (python-shell-make-comint): Fix initialization of
1604 comint-prompt-regexp from copied file local variables.
1605 (python-shell-fetched-lines): Remove var.
1606 (python-shell-output-filter-in-progress): Rename from
1607 python-shell-fetch-lines-in-progress.
1608 (python-shell-output-filter-buffer): Rename from
1609 python-shell-fetch-lines-string.
1610 (python-shell-fetch-lines-filter): Delete function.
1611 (python-shell-output-filter): New function.
1612 (python-shell-send-string-no-output): Use them.
1613
1614 2012-10-07 Glenn Morris <rgm@gnu.org>
1615
1616 * hi-lock.el (hi-lock-process-phrase):
1617 Try to make it less fragile. (Bug#7161)
1618
1619 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
1620
1621 2012-10-06 Glenn Morris <rgm@gnu.org>
1622
1623 * ehelp.el (electric-help-mode): Use help-mode rather than
1624 non-existent mode `help'.
1625 (electric-help-map): Use button-buffer-map. (Bug#10917)
1626
1627 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
1628 (reftex-create-bibtex-footer): Fix custom types.
1629
1630 * progmodes/sh-script.el (sh-indent-after-continuation):
1631 Add explicit :group.
1632
1633 * textmodes/rst.el (rst-preferred-decorations)
1634 (rst-shift-basic-offset): Clarify obsolescence versions.
1635
1636 * profiler.el (profiler): Add missing group :version tag.
1637 * avoid.el (mouse-avoidance-banish-position):
1638 * proced.el (proced-renice-command):
1639 * calc/calc.el (calc-ensure-consistent-units):
1640 * calendar/icalendar.el (icalendar-import-format-uid):
1641 * net/tramp.el (tramp-save-ad-hoc-proxies):
1642 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1643 * progmodes/flymake.el (flymake-error-bitmap)
1644 (flymake-warning-bitmap, flymake-fringe-indicator-position):
1645 * progmodes/sh-script.el (sh-indent-after-continuation):
1646 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
1647 (verilog-before-save-font-hook, verilog-after-save-font-hook):
1648 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
1649 (vhdl-array-index-record-field-in-sensitivity-list)
1650 (vhdl-indent-comment-like-next-code-line):
1651 * textmodes/reftex-vars.el (reftex-ref-style-alist)
1652 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
1653 (reftex-cite-key-separator, reftex-create-bibtex-header)
1654 (reftex-create-bibtex-footer):
1655 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1656 (rst-indent-literal-normal, rst-indent-literal-minimized)
1657 (rst-indent-comment): Add missing custom :version tags.
1658
1659 * calendar/timeclock.el (timeclock-modeline-display):
1660 Add missing obsolete alias for renamed user option.
1661
1662 * strokes.el (strokes-modeline-string):
1663 * emulation/crisp.el (crisp-mode-modeline-string):
1664 * eshell/esh-mode.el (eshell-status-in-modeline):
1665 Aliases to defcustoms must come before the defcustom.
1666
1667 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
1668 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1669 (cal-tex-cursor-week-monday): Doc fixes.
1670 (cal-tex-cursor-week2-summary): Doc fix.
1671 Rename from cal-tex-cursor-week-at-a-glance.
1672
1673 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
1674 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
1675
1676 * calendar/calendar.el (calendar-mode-map):
1677 Add cal-tex-cursor-week2-summary.
1678
1679 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1680
1681 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
1682
1683 * subr.el (read-passwd-map): New var.
1684 (read-passwd): Use `read-string' again.
1685 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
1686
1687 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
1688
1689 * register.el (append-to-register, prepend-to-register):
1690 Deactivate mark, as does `copy-to-register' (bug#12389).
1691
1692 2012-10-06 Chong Yidong <cyd@gnu.org>
1693
1694 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1695
1696 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
1697
1698 * international/characters.el: Fix simple mistake ((car chars) ->
1699 elt), delete duplicated code.
1700
1701 2012-10-06 Glenn Morris <rgm@gnu.org>
1702
1703 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
1704
1705 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
1706
1707 * color.el (color-hsl-to-rgb): Fix incorrect results for
1708 small and large hue values. (Bug#12559)
1709
1710 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
1711
1712 Enhancements to docstring formatting when filling paragraphs.
1713 * progmodes/python.el (python-fill-docstring-style): Rename from
1714 python-fill-string-style. Added new style.
1715 (python-fill-string): Use new style. Better checks for
1716 docstrings.
1717
1718 2012-10-05 Glenn Morris <rgm@gnu.org>
1719
1720 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1721
1722 * color.el (color-name-to-rgb, color-rgb-to-hex)
1723 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1724 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1725 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1726 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1727
1728 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
1729
1730 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
1731
1732 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1733 to get the correct size across symlinks.
1734
1735 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1736
1737 2012-10-04 Juri Linkov <juri@jurta.org>
1738
1739 * replace.el (query-replace-interactive): Declare obsolete.
1740 (query-replace-read-from): Add the last incremental search string
1741 to the list of default values accessible via M-n.
1742 (map-query-replace-regexp): Use `read-regexp'.
1743 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1744 (map-query-replace-regexp, replace-string, replace-regexp):
1745 Fix docstrings to replace mentions of `query-replace-interactive'
1746 with alternatives. (Bug#12526)
1747
1748 2012-10-04 Juri Linkov <juri@jurta.org>
1749
1750 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
1751 (dired-pop-to-buffer): Declare obsolete.
1752 (dired-mark-pop-up): Doc fix.
1753
1754 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
1755
1756 Allow user to set docstring style for fill-paragraph.
1757 * progmodes/python.el
1758 (python-fill-comment-function, python-fill-string-function)
1759 (python-fill-decorator-function, python-fill-paren-function):
1760 Remove :safe for defcustoms.
1761 (python-fill-string-style): New defcustom
1762 (python-fill-paragraph-function): Enhance context detection.
1763 (python-fill-string): Honor python-fill-string-style settings.
1764
1765 2012-10-04 Martin Rudalics <rudalics@gmx.at>
1766
1767 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1768 after setting its buffer (Bug#10805).
1769
1770 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1771
1772 Fix cornercase for string syntax.
1773 * progmodes/python.el (python-syntax-propertize-function):
1774 Simplify and enhance the regexp for unescaped quotes. Now it also
1775 matches quotes in weird situations like the single quote in
1776 "something\"'".
1777 (python-syntax-stringify): Simplify num-quotes detecting code.
1778
1779 2012-10-03 Glenn Morris <rgm@gnu.org>
1780
1781 * help-macro.el (three-step-help):
1782 Revert 2012-09-29 change. (Bug#12567)
1783
1784 2012-10-03 Martin Rudalics <rudalics@gmx.at>
1785
1786 * menu-bar.el (kill-this-buffer): Don't do anything when
1787 `menu-frame' is not alive or visible (Bug#8184).
1788
1789 * emacs-lisp/debug.el (debug): When quitting the debugger window
1790 restore current buffer (Bug#12502).
1791
1792 2012-10-02 Chong Yidong <cyd@gnu.org>
1793
1794 * progmodes/hideif.el (hif-lookup, hif-defined):
1795 Handle semantic-c-takeover-hideif.
1796
1797 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1798
1799 Change sampling interval units from ms to ns.
1800 * profiler.el (profiler-sampling-interval): Change units
1801 from ms to ns, multiplying the default by 1000000 so that
1802 it remains 1 ms.
1803 (profiler-report-cpu-line-format): Give enough room for
1804 the maximum counters on 64-bit hosts.
1805 (profiler-report-render-calltree-1): Call them "CPU samples",
1806 not "Time (ms)", since they are not milliseconds now (and
1807 never really were).
1808
1809 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
1810
1811 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1812 Fix querying BBDB for entries without a last name (Bug#11580).
1813
1814 2012-10-02 Chong Yidong <cyd@gnu.org>
1815
1816 * emacs-lisp/eieio.el: Restore Version header.
1817
1818 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1819
1820 * vc/diff-mode.el (diff--auto-refine-data): New var.
1821 (diff-hunk): Use it to delay refinement.
1822 (diff-mode): Remove overlays when we turn off font-lock.
1823
1824 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1825 (table-initialize-table-fixed-width-mode)
1826 (table-set-table-fixed-width-mode): Remove functions.
1827 (table-command-list): Move initialization into declaration.
1828 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1829 (table-with-cache-buffer): Use `declare'.
1830 (table-span-cell): Simplify via CSE.
1831 (table-fixed-width-mode): Use define-minor-mode.
1832 (table-call-interactively, table-funcall, table-apply): Remove.
1833 (table-function): New function, to replace them.
1834
1835 * bookmark.el (bookmark-search-pattern): Remove var.
1836 (bookmark-read-search-input): Remove function.
1837 (bookmark-bmenu-search): Reimplement using a minibuffer.
1838
1839 * faces.el (modeline): Remove obsolete face name.
1840
1841 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1842 and give a non-nil default value.
1843 (add-change-log-entry): Simplify accordingly.
1844
1845 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1846
1847 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1848 (vc-git-log-edit-toggle-amend): New function.
1849 (vc-git-log-edit-toggle-signoff): New function.
1850 (vc-git-log-edit-mode): New major mode.
1851 (vc-git-log-edit-mode-map): Keymap for it.
1852 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1853
1854 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1855 header names.
1856 (log-edit-toggle-header): New function.
1857 (log-edit-extract-headers): Accept function values in HEADERS alist.
1858
1859 2012-10-01 David Engster <deng@randomsample.de>
1860
1861 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1862 from symbol property and change message to be more consistent with
1863 Emacs proper.
1864 (eieio-describe-generic): Add filename for each implementation.
1865 Fix indices for generic and normal methods.
1866 (eieio-method-def, eieio-class-def): New buttons.
1867 (eieio-help-find-method-definition)
1868 (eieio-help-find-class-definition): New functions.
1869 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1870 class, constructor and method definitions.
1871
1872 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1873 information in symbol property.
1874 (scoped-class): Remove.
1875 (eieio-slot-name-index, call-next-method): Check if it is bound.
1876
1877 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
1878
1879 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1880 (eieio-custom-mode): New major mode.
1881 (eieio-customize-object): Use it.
1882
1883 2012-10-01 Eric Ludlam <zappo@gnu.org>
1884
1885 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1886 specifying the expected class, and whether subclassing is allowed.
1887 (eieio-persistent-convert-list-to-object):
1888 (eieio-persistent-validate/fix-slot-value)
1889 (eieio-persistent-slot-type-is-class-p): New functions.
1890 (eieio-named::slot-missing): Doc fix.
1891
1892 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1893 Stop using unused publd variable.
1894
1895 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1896 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1897 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1898 (eieio-speedbar-handle-click): Do not specify a class for the
1899 method. Fixes method invocation order problems with EDE.
1900
1901 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1902
1903 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1904 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1905
1906 2012-10-01 Karl Fogel <kfogel@red-bean.com>
1907
1908 * bookmark.el (bookmark-version-control): Give tags in the
1909 :type choices (Bug#12309), and improve doc string.
1910 (bookmark-write-file): Bind `print-circle' to `t' to allow
1911 circular custom bookmark types. (Bug#12503)
1912
1913 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1914
1915 Revert the FOLLOW-SYMLINKS change for file-attributes.
1916 * files.el (remote-file-name-inhibit-cache, after-find-file):
1917 * time.el (display-time-file-nonempty-p): Undo last change.
1918
1919 * profiler.el (profiler-sampling-interval): Change default back to 1.
1920 See Stefan Monnier in
1921 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1922
1923 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1924
1925 Shell output catching a la gud-gdb.
1926 * progmodes/python.el (python-shell-fetch-lines-in-progress)
1927 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1928 New Vars.
1929 (python-shell-fetch-lines-filter): New function.
1930 (python-shell-send-string-no-output): Use them.
1931
1932 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1933
1934 * profiler.el (profiler-sampling-interval): Rename from
1935 profiler-sample-interval.
1936 (profiler-sampling-interval): Default to 10.
1937 (profiler-find-profile): New command (was profiler-find-log).
1938 (profiler-find-profile-other-window): New command.
1939 (profiler-find-profile-other-frame): New command.
1940 (profiler-profile): Introduce API-level data structure.
1941
1942 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1943
1944 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1945 * files.el (remote-file-name-inhibit-cache):
1946 * time.el (display-time-file-nonempty-p): Use it.
1947 * files.el (after-find-file): Don't chase links before calling
1948 file-exists-p, as file-exists-p already does the right thing.
1949
1950 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
1951
1952 Merge from standalone RefTeX repository.
1953
1954 The following ChangeLog entries are shortened versions of the
1955 original ones with file paths adapted. A not so strongly edited
1956 version of the original ChangeLog can be found in the commit log.
1957
1958 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
1959 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1960 Correctly handle new value type returned by `reftex-citation'.
1961
1962 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
1963 that entries with whitespace at various places are found.
1964 Doc fix. Include entries that are cross-referenced from cited entries.
1965 Include @String definitions in the resulting bib file. Add header
1966 and footer defined in `reftex-create-bibtex-header' and
1967 `reftex-create-bibtex-footer'.
1968 (reftex-do-citation): Make it possible again to insert
1969 non-existent entries. Save match data when asking for optional
1970 arguments. Return all keys, not just the first one.
1971 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1972 all citations in the same line.
1973 (reftex-parse-bibtex-entry): Accept additional optional argument
1974 `raw' and keep quotes or braces if it is non-nil. Match fields
1975 containing hyphens besides word constituents.
1976 (reftex-get-string-refs): New function.
1977 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1978 and ask if it should be reread in case it did.
1979 (reftex-pop-to-bibtex-entry)
1980 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1981 entries with spaces or tabs in front of arguments.
1982 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
1983 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1984 Match entries containing numbers and symbol constituents.
1985 (reftex-do-citation, reftex-figure-out-cite-format):
1986 Use `reftex-cite-key-separator'.
1987
1988 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1989 (reftex-mouse-view-crossref): Explain why point is set.
1990
1991 * textmodes/reftex-global.el: Whitespace changes.
1992
1993 * textmodes/reftex-index.el: Move provide statement to end of
1994 file.
1995 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1996 (reftex-index-visit-phrases-buffer): Set marker when visiting
1997 buffer. This allows for returning from the phrases file to the
1998 file one was just editing instead of the file where the last
1999 phrases was added from.
2000 (reftex-index-phrases-syntax-table): New variable. Give ?\"
2001 punctuation syntax as it usually is not used as string quote in
2002 TeX-related modes and may occur unmatched. The change also
2003 prevents fontification of quoted content.
2004 (reftex-index-phrases-mode): Use it.
2005
2006 * textmodes/reftex-parse.el (reftex-parse-from-file):
2007 Move backward one char if a `\' was matched after a section macro.
2008 (reftex-parse-from-file): Use beginning of match instead of end as
2009 bound.
2010
2011 * textmodes/reftex-ref.el: Adapt creation of
2012 `reftex-<package>-<macro>' functions to new structure of
2013 `reftex-ref-style-alist'.
2014 (reftex-reference): Use `reftex-ref-style-list' function.
2015 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
2016 reference macro if `reftex-ref-macro-prompt' is non-nil.
2017 (reftex-reference): Pass refstyle to `reftex-format-special'.
2018 Determine reference macro by looking at
2019 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
2020 Use only one special format function.
2021 (reftex-varioref-vref, reftex-fancyref-fref)
2022 (reftex-fancyref-Fref): Remove definitions. The functions are now
2023 generated from `reftex-ref-style-alist'.
2024 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
2025 Remove.
2026 (reftex-format-special): New function.
2027
2028 * textmodes/reftex-sel.el
2029 (reftex-select-cycle-ref-style-internal): Adapt to new structure
2030 of `reftex-ref-style-alist'. Remove code for testing macro type.
2031 (reftex-select-toggle-varioref)
2032 (reftex-select-toggle-fancyref): Remove.
2033 (reftex-select-cycle-ref-style-internal)
2034 (reftex-select-cycle-ref-style-forward)
2035 (reftex-select-cycle-ref-style-backward): New functions.
2036 (reftex-select-label-map): Use `v' and `V' for general cycling
2037 through reference styles. Add `p' for switching between number
2038 and page reference types.
2039
2040 * textmodes/reftex-toc.el (reftex-re-enlarge):
2041 Call `enlarge-window' only if there is something to do because in Emacs
2042 the horizontal version throws an error even if the parameter is 0.
2043
2044 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
2045 (reftex-plug-into-AUCTeX): Doc fix.
2046 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
2047 string. Adapt to new name.
2048 (reftex-ref-style-alist): Change structure so that it is not
2049 possible to use multiple different package names within a style.
2050 Remove the symbols for symbols for macro type distinction.
2051 Add characters for macro selection.
2052 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
2053 (reftex-create-bibtex-footer): New variables.
2054 (reftex-format-ref-function): Mention third argument of special
2055 format function.
2056 (reftex-ref-style-alist, reftex-ref-style-default-list):
2057 New variables.
2058 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
2059 to new implementation. Mark as obsolete. Add compatibility code
2060 for honoring the variable values in case they are set.
2061 (reftex-cite-format-builtin, reftex-bibliography-commands):
2062 Add support for ConTeXt.
2063 (reftex-format-ref-function, reftex-format-cite-function):
2064 Fix custom type.
2065 (reftex-cite-key-separator): New variable.
2066
2067 * textmodes/reftex.el (reftex-syntax-table-for-bib)
2068 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
2069 `reftex-syntax-table' because parens have to retain their paren
2070 syntax in order for parsing of BibTeX entries like @book(...) to
2071 work.
2072 (reftex-in-comment): Do not error out if `comment-start-skip' is
2073 not set. Deal correctly with escaped comment characters.
2074 (reftex-tie-multifile-symbols): Add doc string.
2075 Initialize `reftex-ref-style-list'.
2076 (reftex-untie-multifile-symbols): Add doc string.
2077 (reftex-add-index-macros): Doc fix.
2078 (reftex-ref-style-activate, reftex-ref-style-toggle)
2079 (reftex-ref-style-list): New functions.
2080 (reftex-mode-menu): Use them. Adapt to new structure of
2081 `reftex-ref-style-alist'.
2082 (reftex-select-with-char): Kill the RefTeX Select buffer when
2083 done.
2084 (reftex-remove-if): New function.
2085 (reftex-erase-all-selection-and-index-buffers)
2086 (reftex-mode-menu): Reference styles are now computed from
2087 `reftex-ref-style-alist'. Fix typo.
2088 (reftex-report-bug): New function.
2089 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
2090 algorithms with O(n log n). Introduce optional argument SORT (not
2091 yet used).
2092
2093 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
2094
2095 Enhancements for triple-quote string syntax.
2096 * progmodes/python.el (python-syntax-propertize-function):
2097 Match both quote cases in one regexp.
2098 (python-syntax-stringify): Handle matches properly.
2099
2100 2012-09-30 Juri Linkov <juri@jurta.org>
2101
2102 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
2103 to nil around the call to `insert' to prevent
2104 directory time modification by lock_file. (Bug#2295)
2105 * tar-mode.el (tar-summarize-buffer): Idem.
2106
2107 2012-09-30 Juri Linkov <juri@jurta.org>
2108
2109 * facemenu.el (list-colors-sort): Add option "Luminance".
2110 (list-colors-sort-key): Implement it.
2111
2112 * vc/diff-mode.el (diff-refine-removed):
2113 * vc/ediff-init.el (ediff-fine-diff-A):
2114 * vc/smerge-mode.el (smerge-refined-removed):
2115 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
2116
2117 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
2118
2119 * term/ns-win.el (x-file-dialog): New function.
2120
2121 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
2122
2123 * ido.el (ido-max-directory-size): Default to nil; the current
2124 default is small for POSIX systems, and impractical on Windows 7
2125 now that lstat returns directory sizes for NTFS.
2126
2127 2012-09-30 Martin Rudalics <rudalics@gmx.at>
2128
2129 In buffer display functions handle window-height/window-width
2130 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
2131 * window.el (window--display-buffer): New argument ALIST.
2132 Obey window-height and window-width alist entries.
2133 (window--try-to-split-window): New argument ALIST.
2134 Bind window-combination-limit to t when the window's size shall be
2135 changed and window-combination-limit equals `window-size'.
2136 (display-buffer-in-atom-window)
2137 (display-buffer-in-major-side-window)
2138 (display-buffer-in-side-window, display-buffer-same-window)
2139 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2140 (display-buffer-pop-up-window, display-buffer-below-selected)
2141 (display-buffer-at-bottom, display-buffer-in-previous-window)
2142 (display-buffer-use-some-window): Adjust all callers of
2143 window--display-buffer and window--try-to-split-window.
2144 (fit-frame-to-buffer): New option.
2145 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
2146 is non-nil.
2147 (display-buffer-in-major-side-window): Evaluate window-height /
2148 window-width alist entries.
2149
2150 * help.el (temp-buffer-resize-frames)
2151 (temp-buffer-resize-regexps): Remove options.
2152 (temp-buffer-resize-mode): Adjust doc-string.
2153 (resize-temp-buffer-window): Don't consult
2154 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
2155 temp-buffer-resize-frames.
2156
2157 * dired.el (dired-mark-pop-up):
2158 Call display-buffer-below-selected with a fit-window-to-buffer alist
2159 entry.
2160
2161 2012-09-30 Chong Yidong <cyd@gnu.org>
2162
2163 * server.el (server-host): Document the security implications.
2164 (server-auth-key): Doc fix.
2165
2166 * startup.el (initial-buffer-choice): Doc fix.
2167
2168 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
2169
2170 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
2171 restriction change.
2172
2173 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
2174
2175 * help-fns.el (help-fns--obsolete): Fix last change.
2176
2177 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2178
2179 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2180 (minor-mode-map-alist): Remove redundant code.
2181
2182 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2183 visited in a buffer.
2184 (cvs-insert-visited-file): New function.
2185 (find-file-hook): Use it.
2186
2187 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2188
2189 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2190 chose face.
2191 (log-edit-empty-buffer-p): Don't require a space after a header.
2192
2193 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2194
2195 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2196
2197 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2198 a proper minor-mode.
2199
2200 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2201
2202 2012-09-29 Glenn Morris <rgm@gnu.org>
2203
2204 * winner.el (winner-mode): Remove variable (let define-minor-mode
2205 handle it).
2206 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2207 Doc fixes.
2208 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2209 (winner-mode): Use define-minor-mode.
2210
2211 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2212 the full definition in loaddefs, rather than duplicating it.
2213
2214 * help-macro.el (three-step-help): No need to autoload defcustom.
2215
2216 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2217 (inferior-lisp-program, inferior-lisp-load-command)
2218 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2219 No need to autoload defcustoms.
2220
2221 * hippie-exp.el (hippie-expand-try-functions-list)
2222 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2223 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2224 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2225 (hippie-expand-only-buffers): No need to autoload defcustoms.
2226 * progmodes/vhdl-mode.el (vhdl-line-expand):
2227 Explicitly load hippie-exp, so it does not get autoloaded
2228 while hippie-expand-try-functions-list is let-bound.
2229
2230 2012-09-28 Glenn Morris <rgm@gnu.org>
2231
2232 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
2233
2234 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
2235 Only "cl.el" counts as cl these days.
2236
2237 2012-09-28 Juri Linkov <juri@jurta.org>
2238
2239 Display archive errors in the echo area instead of inserting
2240 to the file buffer.
2241
2242 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
2243 to STDERR-TEST that can be a regexp matching a successful output.
2244 Create a temporary file and redirect stderr to it. Search for
2245 STDERR-TEST in the stderr output and display it in the echo area
2246 if no match is found.
2247 (archive-extract-by-file): New function like
2248 `archive-extract-by-stdout' but extracting archives to files
2249 and looking for successful matches in stdout. Function body is
2250 mostly copied from `archive-rar-extract'.
2251 (archive-rar-extract): Use `archive-extract-by-file'.
2252 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
2253
2254 2012-09-28 Leo Liu <sdl.web@gmail.com>
2255
2256 * pcomplete.el (pcomplete-show-completions):
2257 Use minibuffer-message to make pcomplete usable in minibuffer.
2258
2259 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2260
2261 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2262
2263 * type-break.el: Use lexical-binding.
2264 (type-break-mode): Use define-minor-mode.
2265
2266 * emacs-lisp/pcase.el (pcase--mark-used): New.
2267 (pcase--u1): Use it (bug#12512).
2268
2269 * custom.el (load-theme): Set buffer-file-name so the load is recorded
2270 in load-history with the right file name.
2271
2272 2012-09-28 Tassilo Horn <tsdh@gnu.org>
2273
2274 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2275 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2276 (doc-view-get-bounding-box): Make bounding box slicing work for
2277 ODF and DVI documents.
2278
2279 2012-09-28 Glenn Morris <rgm@gnu.org>
2280
2281 * type-break.el (type-break-mode, type-break-interval)
2282 (type-break-good-rest-interval, type-break-keystroke-threshold):
2283 No need to autoload.
2284 (type-break-good-rest-interval, type-break-keystroke-threshold):
2285 Add :set-after.
2286
2287 2012-09-28 Chong Yidong <cyd@gnu.org>
2288
2289 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
2290 Add :version tag.
2291
2292 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2293
2294 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
2295
2296 2012-09-27 Glenn Morris <rgm@gnu.org>
2297
2298 * faces.el (x-display-name): Declare (for without-x builds).
2299
2300 * linum.el (linum-format): Don't autoload it. Improve :type.
2301
2302 * progmodes/tcl.el: Don't require outline when compiling.
2303 (outline-regexp, outline-level): Declare.
2304 * textmodes/sgml-mode.el: Don't require outline when compiling.
2305 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2306
2307 * term.el (term-ansi-reset):
2308 Try setting term-ansi-face-already-done to nil. (Bug#11785)
2309
2310 * vc/vc.el (vc-next-action): Only gripe about committing read-only
2311 files for RCS and SCCS. (Bug#9781)
2312
2313 2012-09-27 Chong Yidong <cyd@gnu.org>
2314
2315 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2316 change; value should be t.
2317
2318 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2319
2320 * image-mode.el: Use lexical-binding.
2321 (image-mode-winprops): Use t to stand for the window of
2322 a buffer that's not displayed.
2323 * doc-view.el (doc-view-new-window-function): Handle the new
2324 t in winprops.
2325 (doc-view-enlarge): Make it a real nop if the size is not changed.
2326 (doc-view-display): Handle the case where the buffer is not (yet?)
2327 displayed in any window.
2328 (doc-view-saved-settings): New var.
2329 (doc-view-mode): Use it.
2330 (doc-view-fallback-mode): Set it.
2331
2332 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2333 Set lexical-binding.
2334 (minibuffer-eldef-shorten-default): New var.
2335 (minibuffer-default-in-prompt-regexps): Use it for new default.
2336 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2337
2338 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
2339
2340 * international/uni-bidi.el:
2341 * international/uni-category.el:
2342 * international/uni-name.el:
2343 * international/uni-numeric.el: Regenerate.
2344
2345 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
2346 Stefan Monnier <monnier@iro.umontreal.ca>
2347
2348 * profiler.el: New file.
2349
2350 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2351
2352 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
2353 (testcover-reinstrument): Simplify with CSE.
2354
2355 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
2356
2357 * window.el (temp-buffer-window-setup): Fix typo in docstring.
2358
2359 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
2360
2361 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
2362 (verilog-auto-input, verilog-auto-insert-lisp)
2363 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2364 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
2365 (verilog-auto-unused, verilog-auto-wire)
2366 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
2367 newline. Reported by Andrew Jones.
2368 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
2369 Reported by Brad Dobbie.
2370 (verilog-batch-delete-trailing-whitespace):
2371 Create verilog-batch-delete-trailing-whitespace.
2372 Reported by Brad Dobbie.
2373 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
2374 parameters from another module. Reported by Dan Katz.
2375 (verilog-auto, verilog-auto-assign-modport)
2376 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
2377 AUTOINOUTMODPORT for UVM interface module shell generation.
2378 Reported by Brad Dobbie.
2379 (verilog-auto-inst-interfaced-ports): Make default nil, as more
2380 standard behavior.
2381 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
2382 Reported by Matt Martin.
2383
2384 2012-09-25 Martin Rudalics <rudalics@gmx.at>
2385
2386 * window.el (window--resize-child-windows): When resizing child
2387 windows proportionally, process them in reverse order to
2388 preserve the "when splitting a window the new one gets the odd
2389 line" behavior.
2390 (window--resize-root-window-vertically): When resizing the
2391 minibuffer window try to affect only windows at the bottom of the
2392 frame. (Bug#12419)
2393
2394 2012-09-25 Chong Yidong <cyd@gnu.org>
2395
2396 * subr.el (declare): Doc fix.
2397
2398 * help-fns.el (help-fns--obsolete): Handle macros properly.
2399
2400 2012-09-25 Chong Yidong <cyd@gnu.org>
2401
2402 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2403 this function obsolete.
2404
2405 * calendar/cal-x.el (calendar-two-frame-setup)
2406 (calendar-only-one-frame-setup, calendar-one-frame-setup):
2407 * calendar/calendar.el (american-calendar, european-calendar)
2408 (calendar-for-loop):
2409 * comint.el (comint-dynamic-simple-complete)
2410 (comint-dynamic-complete-as-filename, comint-unquote-filename):
2411 * desktop.el (desktop-load-default):
2412 * dired-x.el (dired-omit-here-always)
2413 (dired-hack-local-variables, dired-default-directory):
2414 * emacs-lisp/derived.el (derived-mode-class):
2415 * emacs-lisp/timer.el (timer-set-time-with-usecs):
2416 * emacs-lock.el (toggle-emacs-lock):
2417 * epa.el (epa-display-verify-result):
2418 * epg.el (epg-sign-keys, epg-start-sign-keys)
2419 (epg-passphrase-callback-function):
2420 * eshell/esh-util.el (eshell-for):
2421 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2422 (eshell-add-to-window-buffer-names):
2423 * files.el (locate-file-completion):
2424 * imenu.el (imenu-example--create-c-index)
2425 (imenu-example--create-lisp-index)
2426 (imenu-example--lisp-extract-index-name)
2427 (imenu-example--name-and-position):
2428 * international/mule-cmds.el (princ-list):
2429 * international/mule-diag.el (decode-codepage-char):
2430 * international/mule-util.el (detect-coding-with-priority):
2431 * iswitchb.el (iswitchb-read-buffer):
2432 * mail/mailalias.el (mail-complete):
2433 * mail/sendmail.el (mail-sent-via):
2434 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2435 (mouse-major-mode-menu):
2436 * password-cache.el (password-read-and-add):
2437 * pcomplete.el (pcomplete-parse-comint-arguments):
2438 * progmodes/sh-script.el (sh-maybe-here-document):
2439 * replace.el (query-replace-regexp-eval):
2440 * savehist.el (savehist-load):
2441 * simple.el (choose-completion-delete-max-match):
2442 * term.el (term-dynamic-simple-complete):
2443 * vc/ediff-init.el (ediff-check-version):
2444 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2445 * vc/vc.el (vc-diff-switches-list):
2446 * view.el (view-return-to-alist-update): Likewise.
2447
2448 * subr.el (eval-next-after-load, makehash, insert-string)
2449 (assoc-ignore-representation, assoc-ignore-case): Use declare to
2450 mark obsolete.
2451 (mode-line-inverse-video): Variable deleted.
2452
2453 * international/mule-util.el (string-to-sequence): Remove.
2454
2455 * calendar/calendar.el (calendar-version):
2456 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
2457 (icalendar-convert-diary-to-ical):
2458 * cus-edit.el (custom-mode):
2459 * ansi-color.el (ansi-color-unfontify-region):
2460 * international/latin1-disp.el (latin1-char-displayable-p):
2461 * progmodes/cwarn.el (turn-on-cwarn-mode):
2462 * progmodes/which-func.el (which-func-update-1):
2463 Use define-obsolete-function-alias.
2464
2465 * net/newst-backend.el (newsticker-cache-filename):
2466 * net/newst-treeview.el (newsticker-groups-filename):
2467 Fix incorrect obsolescence declaration.
2468
2469 * allout.el (allout-passphrase-hint-string): Likewise.
2470 (allout-init): Use a declare form to mark obsolete.
2471
2472 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
2473 this applies to functions.
2474
2475 * iswitchb.el (iswitchb-read-buffer): Move code of
2476 iswitchb-define-mode-map here, and delete that obsolete function.
2477
2478 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
2479 font-lock-reference-face.
2480
2481 2012-09-25 Glenn Morris <rgm@gnu.org>
2482
2483 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
2484 Doc fixes.
2485
2486 * eshell/em-term.el (eshell-term-name):
2487 Default to term-term-name. (Bug#12485)
2488
2489 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2490
2491 * progmodes/python.el (python-shell-send-buffer): Better handling
2492 of "if __name__ == '__main__':" conditionals when sending the buffer.
2493
2494 2012-09-24 Glenn Morris <rgm@gnu.org>
2495
2496 * eshell/esh-cmd.el (eshell-find-alias-function):
2497 Tighten up file-name regexp. (Bug#12499)
2498
2499 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2500
2501 Enhancements for triple-quote string syntax.
2502 * progmodes/python.el (python-quote-syntax): Remove.
2503 (python-syntax-propertize-function): New value.
2504 (python-syntax-count-quotes, python-syntax-stringify):
2505 New functions.
2506
2507 2012-09-24 Chong Yidong <cyd@gnu.org>
2508
2509 * mail/supercite.el (sc-version): Remove obsolete function.
2510 (sc-describe): Don't mark as obsolete, since it is bound.
2511 (sc-submit-bug-report): Remove.
2512
2513 * vc/log-edit.el (cvs-changelog-full-paragraphs)
2514 (cvs-commit-buffer-require-final-newline): Remove.
2515 (log-edit-require-final-newline)
2516 (log-edit-changelog-full-paragraphs): Default to t.
2517
2518 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
2519 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2520 * vc/vc.el (vc-checkout-carefully): Likewise.
2521
2522 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
2523 (emerge-version): Remove.
2524
2525 * progmodes/compile.el (compile-internal): Remove.
2526 (compilation-parse-errors-function): Fix typo.
2527
2528 * international/mule.el (set-char-table-default): Remove.
2529 (set-coding-priority, make-coding-system, generic-char-p)
2530 (charset-list, charset-bytes, charset-id): Use declare to mark
2531 functions as obsolete.
2532
2533 * vc/pcvs-defs.el (cvs-buffer-name-alist)
2534 (cvs-invert-ignore-marks): Remove references to obsolete vars.
2535 * vc/vc-hooks.el (vc-default-registered): Don't use
2536 vc-master-templates.
2537
2538 * font-lock.el (font-lock-reference-face):
2539 Use define-obsolete-variable-alias.
2540
2541 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
2542 * calendar/calendar.el (calendar-font-lock-keywords):
2543 * calendar/diary-lib.el (diary-font-lock-keywords)
2544 (diary-fancy-font-lock-keywords):
2545 * textmodes/reftex-sel.el (reftex-insert-docstruct):
2546 * textmodes/reftex-index.el (reftex-insert-index):
2547 * textmodes/reftex-cite.el (reftex-format-bib-entry):
2548 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2549 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
2550 * progmodes/prolog.el (prolog-font-lock-keywords):
2551 * progmodes/idlwave.el (idlwave-idl-keywords):
2552 * progmodes/ada-mode.el (ada-font-lock-keywords):
2553 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
2554
2555 2012-09-24 Glenn Morris <rgm@gnu.org>
2556
2557 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
2558
2559 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
2560
2561 * progmodes/python.el (python-indent-line): More consistent cursor
2562 movement behavior.
2563
2564 2012-09-23 Stefan Merten <smerten@oekonux.de>
2565
2566 * textmodes/rst.el: Fix compiler warning.
2567
2568 2012-09-23 Roland Winkler <winkler@gnu.org>
2569
2570 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
2571 Transcribe also LaTeX hyphenation.
2572 (bibtex-reformat): Bug fix. Do not quote twice the elements of
2573 bibtex-reformat-previous-options.
2574
2575 2012-09-23 Roland Winkler <winkler@gnu.org>
2576
2577 * proced.el (proced-renice-command): New variable.
2578 (proced-marked-processes): New function.
2579 (proced-with-processes-buffer): New macro.
2580 (proced-send-signal): Use them.
2581 (proced-renice): New command bound to r.
2582
2583 2012-09-23 Roland Winkler <winkler@gnu.org>
2584
2585 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
2586 ibuffer-saved-filter-groups has one element, shortcut the call of
2587 completing-read. (Bug#12331)
2588
2589 2012-09-23 Chong Yidong <cyd@gnu.org>
2590
2591 * bindings.el (mode-line-toggle-read-only):
2592 * bs.el (bs-toggle-readonly):
2593 * buff-menu.el (Buffer-menu-toggle-read-only):
2594 * dired.el (dired-toggle-read-only):
2595 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
2596
2597 2012-09-23 Chong Yidong <cyd@gnu.org>
2598
2599 * image.el (image-type-available-p): Adapt to init-image-library
2600 argument changes.
2601
2602 2012-09-22 Juri Linkov <juri@jurta.org>
2603
2604 * dired.el (dired-mode-map): Add [remap read-only-mode] for
2605 `dired-toggle-read-only'. (Bug#12462)
2606
2607 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2608
2609 * subr.el (temp-output-buffer-show): New function.
2610 (with-output-to-temp-buffer): Call temp-output-buffer-show
2611 instead of internal-temp-output-buffer-show.
2612
2613 2012-09-22 Chong Yidong <cyd@gnu.org>
2614
2615 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
2616 (Bug#12462).
2617
2618 * repeat.el (repeat): Doc fix (Bug#12348).
2619
2620 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
2621 (Bug#10909).
2622
2623 * simple.el (shell-command-on-region): Doc fix.
2624 (read-only-mode): Doc fix.
2625
2626 2012-09-22 Eli Zaretskii <eliz@gnu.org>
2627
2628 * emacs-lisp/timer.el (run-with-idle-timer)
2629 (timer-activate-when-idle): Warn against reinvoking an idle timer
2630 from within its own timer action. (Bug#12447)
2631
2632 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2633
2634 * cus-start.el (window-combination-limit): Add new optional
2635 values.
2636 * window.el (temp-buffer-window-show)
2637 (window--try-to-split-window): Handle new values of
2638 window-combination-limit (Bug#1806).
2639 (split-window): Test window-combination-limit for t instead of
2640 non-nil.
2641 (display-buffer-at-bottom): New buffer display action function.
2642 * help.el (temp-buffer-resize-regexps): New option.
2643 (temp-buffer-resize-mode): Rewrite doc-string.
2644 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
2645 Don't resize reused window. Suggested by Glenn Morris.
2646
2647 2012-09-22 Stefan Merten <smerten@oekonux.de>
2648
2649 * textmodes/rst.el: Revamp section title faces.
2650 (rst-official-version)
2651 (rst-package-emacs-version-alist): Sync with official version
2652 V1.4.0.
2653 (rst-faces-defaults, rst-set-level-default)
2654 (rst-level-face-max, rst-level-face-base-color)
2655 (rst-level-face-base-light, rst-level-face-format-light)
2656 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
2657 (rst-adornment-faces-alist): Match new setup.
2658 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
2659 (rst-level-5, rst-level-6): New faces.
2660
2661 2012-09-22 Chong Yidong <cyd@gnu.org>
2662
2663 * simple.el (undo): Handle indirect buffers (Bug#8207).
2664
2665 2012-09-21 Leo Liu <sdl.web@gmail.com>
2666
2667 IDO: Disable match re-ordering for buffer switching.
2668 * ido.el (ido-buffer-disable-smart-matches): New variable.
2669 (ido-set-matches-1): Use it. (Bug#2042)
2670
2671 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
2672
2673 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2674 Fix 2011-05-17 change. (Bug#12418)
2675
2676 2012-09-21 Leo Liu <sdl.web@gmail.com>
2677
2678 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
2679
2680 2012-09-21 Glenn Morris <rgm@gnu.org>
2681
2682 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
2683 Be more robust about locating simple.el.
2684
2685 2012-09-21 Glenn Morris <rgm@gnu.org>
2686
2687 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2688
2689 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
2690
2691 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
2692
2693 2012-09-20 Juri Linkov <juri@jurta.org>
2694
2695 * replace.el (query-replace-read-from): Use `read-regexp' instead
2696 of `read-from-minibuffer' when `regexp-flag' is non-nil.
2697 (occur-read-primary-args): Use `read-regexp' instead of
2698 `read-string'.
2699 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2700 `read-from-minibuffer'.
2701 * isearch.el (isearch-occur): Use `read-regexp' instead of
2702 `read-string'.
2703 * dired.el (dired-read-regexp): Use `read-regexp' instead of
2704 `read-from-minibuffer'.
2705 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2706 of `read-string'. (Bug#7567)
2707
2708 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2709 and allow accepting a list of strings prepended to a list of
2710 standard default values. Doc fix. (Bug#12321)
2711
2712 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
2713
2714 * replace.el (read-regexp): Don't add ": " when PROMPT already
2715 ends with a colon and space. (Bug#12321)
2716
2717 2012-09-20 Tassilo Horn <tsdh@gnu.org>
2718
2719 * doc-view.el (doc-view-display): Better fix for the cl-assertion
2720 error.
2721
2722 2012-09-20 Stefan Merten <smerten@oekonux.de>
2723
2724 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
2725 Fixes feature request bug#11711.
2726 (rst-mode): Create `imenu-create-index-function'.
2727 (rst-get-stripped-line): Delete after refactoring.
2728 (rst-section-tree, rst-section-tree-rec)
2729 (rst-section-tree-point): Refactor and document properly.
2730 (rst-imenu-find-adornments-for-position)
2731 (rst-imenu-convert-cell, rst-imenu-create-index):
2732 New function.
2733
2734 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2735
2736 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2737 (macroexp--expand-all): Use it.
2738 (macroexp--funcall-and-return): Remove by folding it into its sole
2739 caller (macroexp--warn-and-return).
2740 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2741 Use macroexp--obsolete-warning.
2742
2743 * calc/calc.el: Fix last change by removing the whole chunk, since it
2744 was only needed back when Calc was not bundled.
2745
2746 2012-09-20 Martin Rudalics <rudalics@gmx.at>
2747
2748 * emacs-lisp/debug.el (debug): Restore assignment to
2749 debugger-old-buffer removed on 2012-09-08.
2750
2751 2012-09-20 Juri Linkov <juri@jurta.org>
2752
2753 * dired-aux.el (dired-diff): Remove (require 'diff) since
2754 `diff-latest-backup-file' is now autoloaded.
2755
2756 2012-09-20 Chong Yidong <cyd@gnu.org>
2757
2758 * vc/diff.el (diff-latest-backup-file): Autoload.
2759
2760 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2761
2762 * calc/calc.el: Remove redundant autoload shape check.
2763 (sel-mode): Don't defvar.
2764 (calc-get-stack-element): Add `sel-mode' arg instead.
2765 (calc-top, calc-top-list): Pass it this additional argument.
2766 * calc/calc-store.el (calc-store-map):
2767 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2768 (calc-map-equation, calc-outer-product, calc-inner-product):
2769 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2770
2771 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2772
2773 2012-09-19 Juri Linkov <juri@jurta.org>
2774
2775 * dired-aux.el (dired-diff): Add (require 'diff) because
2776 `diff-latest-backup-file' is not autoloaded.
2777 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2778 of `dired-get-filename' to t to not report error when there is
2779 no default file on the current line.
2780
2781 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2782
2783 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2784 macroexp--eval-if-compile.
2785 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2786 (macroexp--expand-all): Use them (bug#12371).
2787
2788 * doc-view.el (doc-view-guess-paper-size)
2789 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2790
2791 2012-09-19 Tassilo Horn <tsdh@gnu.org>
2792
2793 New feature: set optimal slice from BoundingBox information.
2794 * doc-view.el (doc-view-mode-map): Add keybinding.
2795 (doc-view-menu): Add menu entry.
2796 (doc-view-set-slice): Adapt docstring.
2797 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2798 (doc-view-scale-bounding-box)
2799 (doc-view-set-slice-from-bounding-box): New functions.
2800 (doc-view-paper-sizes): New defvar.
2801
2802 2012-09-19 Glenn Morris <rgm@gnu.org>
2803
2804 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2805 (byte-compile-log-warning): Autoload. (Bug#12371)
2806
2807 * calendar/calendar.el (calendar-american-month-header)
2808 (calendar-european-month-header, calendar-iso-month-header)
2809 (calendar-month-header): New options.
2810 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2811 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2812
2813 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2814
2815 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2816
2817 2012-09-18 Juri Linkov <juri@jurta.org>
2818
2819 * dired-aux.el (dired-diff): Restore original functionality of
2820 getting the default value, but keep new feature of using the
2821 latest existing backup file (`diff-latest-backup-file').
2822
2823 2012-09-18 Juri Linkov <juri@jurta.org>
2824
2825 * dired.el (dired-mark): If the region is active in Transient Mark
2826 mode, mark all files in the active region. Doc fix.
2827 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2828 Doc fix. (Bug#10624)
2829
2830 2012-09-18 Juri Linkov <juri@jurta.org>
2831
2832 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2833 attributes for M-n are pulled from the file at point.
2834 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2835 Suggested by Drew Adams. (Bug#10624)
2836
2837 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2838
2839 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2840 whitespace after "end".
2841 (ruby-do-end-to-brace): Collapse block to one line if it fits
2842 within fill-column.
2843
2844 2012-09-18 Martin Rudalics <rudalics@gmx.at>
2845
2846 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2847 value.
2848 (debug): Don't remove debugger window when debugger is expected
2849 to be back.
2850
2851 2012-09-18 Chong Yidong <cyd@gnu.org>
2852
2853 * custom.el (defface): Doc fix.
2854
2855 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2856
2857 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2858
2859 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2860 to initialize query-on-exit; then test that instead (bug#12288).
2861
2862 2012-09-17 Stefan Merten <smerten@oekonux.de>
2863
2864 * textmodes/rst.el: Add support for `testcover'.
2865 (rst-defcustom-testcover, rst-testcover-add-compose)
2866 (rst-testcover-add-1value): New functions.
2867 (rst-portable-mark-active-p): Replace by `use-region-p'.
2868 (rst-update-section, rst-classify-adornment)
2869 (rst-find-title-line): Mark `1value' forms.
2870 (rst-classify-adornment): Remove superfluous form.
2871 (rst-update-section, rst-get-adornments-around)
2872 (rst-adornment-complete-p, rst-get-next-adornment)
2873 (rst-adjust, rst-promote-region)
2874 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2875 (rst-find-pfx-in-region, rst-section-tree-rec)
2876 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2877 (rst-toc-node, rst-toc, rst-forward-section)
2878 (rst-iterate-leftmost-paragraphs)
2879 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2880 (rst-bullet-list-region)
2881 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2882 (rst-compile-find-conf, rst-compile)
2883 (rst-repeat-last-character): Fix style.
2884
2885 2012-09-17 Chong Yidong <cyd@gnu.org>
2886
2887 * comint.el (comint--complete-file-name-data): Don't add a space
2888 if the status is `sole'; that adds a gratuitous space in the
2889 completion-cycling case (Bug#12092).
2890
2891 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2892
2893 2012-09-17 Richard Stallman <rms@gnu.org>
2894
2895 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2896 only in the mime-shown mode, not in raw mode.
2897 (rmail-mime): Toggle off mime by displaying the message without
2898 mime processing. (Bug#12305)
2899
2900 * mail/rmail.el (rmail-retry-failure):
2901 Turn off mime processing first. (Bug#12037)
2902
2903 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2904
2905 2012-09-17 Chong Yidong <cyd@gnu.org>
2906
2907 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2908 (shell-dynamic-complete-functions): Convert to defcustom.
2909 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2910
2911 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2912 * comint.el (comint-prompt-read-only):
2913 * custom.el (defcustom):
2914 * hi-lock.el (hi-lock-mode):
2915 * ibuffer.el (ibuffer-formats):
2916 * ielm.el (ielm-prompt-read-only):
2917 * novice.el (disable-command):
2918 * saveplace.el (toggle-save-place):
2919 * speedbar.el (speedbar-supported-extension-expressions):
2920 * startup.el (auto-save-list-file-prefix, init-file-user)
2921 (after-init-hook, inhibit-startup-echo-area-message):
2922 * strokes.el (strokes-help):
2923 * time-stamp.el (time-stamp):
2924 * calendar/calendar.el (calendar, diary-file):
2925 * calendar/diary-lib.el (diary-mail-entries, diary)
2926 (diary-list-entries-hook):
2927 * calendar/holidays.el (holidays, calendar-holidays):
2928 * calendar/lunar.el (lunar-phases):
2929 * calendar/solar.el (sunrise-sunset):
2930 * emulation/edt.el (edt-load-keys):
2931 * emulation/viper.el (viper-mode):
2932 * eshell/em-alias.el (eshell-command-aliases-list):
2933 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2934 * international/ogonek.el (ogonek-information):
2935 * net/tramp-cmds.el (tramp-bug):
2936 * net/quickurl.el (quickurl-reread-hook-postfix):
2937 * play/decipher.el (decipher-font-lock-keywords):
2938 * progmodes/cc-styles.el (c-set-style):
2939 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2940 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2941 * progmodes/octave-mod.el (octave-mode):
2942 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2943 * progmodes/verilog-mode.el (verilog-read-defines):
2944 * textmodes/two-column.el (2C-mode): Likewise.
2945
2946 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2947
2948 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2949 that holds many addresses.
2950
2951 2012-09-16 Chong Yidong <cyd@gnu.org>
2952
2953 * align.el (align-areas): Call the indication function with
2954 positions instead of markers for arguments (Bug#12343).
2955
2956 * files.el (parse-colon-path): Use split-string (Bug#12351).
2957
2958 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
2959 (display-buffer-function): Mark as obsolete.
2960
2961 * progmodes/compile.el (compilation-parse-errors): Accept list
2962 values similar to font-lock-keywords (Bug#12136).
2963 Suggested by Oleksandr Manzyuk.
2964 (compilation-error-regexp-alist): Doc fix.
2965
2966 2012-09-15 Glenn Morris <rgm@gnu.org>
2967
2968 * version.el (emacs-bzr-version-bzr): New function.
2969 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2970
2971 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2972 checkouts, check the parent dirstate matches the branch.
2973 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2974 empty string.
2975
2976 * version.el (emacs-bzr-version): Doc fix.
2977 (emacs-bzr-version-dirstate): New function.
2978 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2979 is local try and check that it matches the branch. If not, just
2980 use dirstate information. (Bug#12441)
2981
2982 2012-09-14 Juri Linkov <juri@jurta.org>
2983
2984 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2985 (Bug#12399)
2986
2987 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2988
2989 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2990
2991 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2992 Remove obsolete byte-compiler hack that tried to silence some warnings.
2993 (edebug-submit-bug-report): Remove.
2994 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2995 Remove aliases, use the un-prefixed name instead.
2996 (edebug-pop-to-buffer): Consider other frames.
2997 (edebug-original-read):: Make it more obvious that it's always defined.
2998 (edebug--make-form-data-entry, edebug--form-data-name)
2999 (edebug--form-data-begin, edebug--form-data-end): Rename from the
3000 single-dashed name, and implement with cl-defstruct.
3001 (edebug-set-form-data-entry): Use the standard accessors.
3002 (edebug-make-top-form-data-entry): Use push.
3003 (edebug-no-match): Drop useless `funcall'.
3004 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
3005 to functions.
3006 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
3007 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
3008 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
3009 (easy-menu-define, with-custom-print): Remove redundant specs.
3010 (edebug-outside-overriding-local-map)
3011 (edebug-outside-overriding-terminal-local-map): Remove, unused.
3012 (edebug--display): Bind unread-command-events directly to nil rather
3013 than binding it to unread-command-events and later setting it to nil.
3014 (edebug--display): Kill edebug-eval-buffer here...
3015 (edebug--recursive-edit): ...rather than here.
3016 Bind standard-output and standard-input.
3017 (edebug-eval): Check cl-macroexpand-all is fboundp.
3018 (edebug-temp-display-freq-count): Fix last change.
3019
3020 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
3021 * subr.el (noreturn, 1value): Add `debug' spec.
3022 * emacs-lisp/advice.el: Require cl-lib.
3023 (ad-copy-tree): Remove, use copy-tree instead.
3024 (ad-dolist): Remove use dolist or cl-dolist instead.
3025 (ad-do-return): Remove, use cl-return instead.
3026 (defadvice): Add `debug' spec.
3027
3028 2012-09-13 Juri Linkov <juri@jurta.org>
3029
3030 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
3031 (Bug#12399)
3032
3033 2012-09-13 Glenn Morris <rgm@gnu.org>
3034
3035 * calc/calc.el (math-compose-expr):
3036 * calc/calc-ext.el (math-compose-expr):
3037 * progmodes/cc-defs.el (cl-macroexpand-all):
3038 * progmodes/cc-langs.el (delete-duplicates, mapcan)
3039 (cl-macroexpand-all): Update declarations.
3040
3041 * vc/vc.el: No need to require ediff.
3042 (ediff-load-version-control): Declare.
3043 (ediff-vc-internal): Fix declaration.
3044 (vc-version-ediff): Require ediff.
3045
3046 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3047
3048 Use a more backwards-compatible timer format (Bug#12430).
3049 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
3050 being right after USECS, as that better supports old code that
3051 inadvisedly looked directly at the timer vector.
3052
3053 2012-09-13 Kenichi Handa <handa@gnu.org>
3054
3055 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3056 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
3057 `coding-priority' property of these language environment.
3058
3059 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3060
3061 Fix glitches caused by addition of psec to timers (Bug#12430).
3062 * image.el (image-animate-timer):
3063 * time.el (display-time-world-timer):
3064 Use timer--function and timer--args rather than raw access to
3065 timer vector.
3066
3067 2012-09-13 Glenn Morris <rgm@gnu.org>
3068
3069 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
3070 If not compiling a file, try using load-file-name.
3071
3072 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3073
3074 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
3075 Fix last change.
3076 (edebug-update-eval-list): Use `push'.
3077
3078 * emacs-lisp/edebug.el: Use lexical-binding.
3079 Remove the "edebug-" prefix from non-dynamically-scoped variables.
3080 Mark unused args with underscore.
3081 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
3082 (edebug-form-data): Use defvar-local.
3083 (edebug-make-before-and-after-form, edebug-make-after-form):
3084 Use backquote.
3085 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
3086 Not dynamically scoped any more.
3087 (edebug--enter-trace): Add arguments `function' and `args'.
3088 Rename from edebug-enter-trace.
3089 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
3090 (edebug--update-coverage): Add `after-index' and `value' args.
3091 Rename from edebug-update-coverage.
3092 (edebug-slow-after): Call it accordingly.
3093 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
3094 edebug-recursive-edit.
3095 (edebug--display): Call it accordingly. Add args `value',
3096 `offset-index', and `arg-mode'. Rename from edebug-display.
3097 (edebug-debugger, edebug): Call it accordingly.
3098 (edebug-eval-display-list): Use dolist.
3099
3100 2012-09-12 Juri Linkov <juri@jurta.org>
3101
3102 * info.el (Info-search): Don't check for isearch-mode and
3103 isearch-regexp before let-binding search-spaces-regexp to
3104 Info-search-whitespace-regexp.
3105 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
3106 search-whitespace-regexp if isearch-lax-whitespace or
3107 isearch-regexp-lax-whitespace is non-nil.
3108 (Info-mode): Don't set local variable search-whitespace-regexp.
3109 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
3110
3111 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3112
3113 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
3114 (debugger-env-macro): Remove support for unread-command-char.
3115
3116 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
3117 the temporary map re-appearing on emulation-mode-map-alists.
3118
3119 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
3120 since 22.1.
3121
3122 * ehelp.el (with-electric-help): Accept functions in
3123 electric-help-form-to-execute.
3124 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
3125 And replace unread-command-char -> unread-command-events.
3126
3127 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
3128
3129 Sync with Tramp 2.2.6.
3130
3131 * net/tramp.el (tramp-accept-process-output): Don't use
3132 JUST-THIS-ONE in the XEmacs case.
3133
3134 * net/trampver.el: Update release number.
3135
3136 2012-09-12 Martin Rudalics <rudalics@gmx.at>
3137
3138 * emacs-lisp/debug.el (debugger-previous-window-height):
3139 New variable.
3140 (debug): When debugger-jumping-flag is non-nil try to restore
3141 height of debugger window. (Bug#8789)
3142
3143 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3144
3145 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
3146 overriding-local-map and pre/post-command-hook here.
3147 (edebug-recursive-edit): Do it here instead (bug#12345).
3148 (edebug-outside-unread-command-char): Remove all uses of
3149 unread-command-char.
3150
3151 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
3152 inhibit-debugger is bound instead.
3153
3154 2012-09-11 Bastien Guerry <bzg@gnu.org>
3155
3156 * subr.el (set-temporary-overlay-map): Add a docstring.
3157 (Bug#12346)
3158
3159 2012-09-11 Bastien Guerry <bzg@gnu.org>
3160
3161 * minibuffer.el (completion-table-subvert): Fix docstring.
3162 (Bug#12347)
3163
3164 2012-09-11 Bastien Guerry <bzg@gnu.org>
3165
3166 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
3167
3168 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
3169
3170 * progmodes/sql.el: Version 3.1
3171 (sql-db2-escape-newlines): New variable.
3172 (sql-escape-newlines-filter): Use it.
3173
3174 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
3175
3176 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3177
3178 2012-09-10 Dan Nicolaescu <dann@gnu.org>
3179
3180 * vc/diff-mode.el (diff-mode-menu):
3181 Bind diff-remove-trailing-whitespace.
3182
3183 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3184
3185 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
3186 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3187 (emacs-lisp-byte-code-mode): New functions.
3188 (eval-sexp-add-defvars): Don't skip defvars in column >0.
3189 (eval-defun-2): Remove bogus interactive spec.
3190 (lisp-indent-line): Remove redundant whole-exp code, now done in
3191 indent-according-to-mode.
3192 (save-match-data): Remove redundant indent data.
3193
3194 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3195 Use `declare'.
3196
3197 2012-09-09 Juri Linkov <juri@jurta.org>
3198
3199 * replace.el (replace-regexp-lax-whitespace): New defcustom.
3200 (replace-lax-whitespace, query-replace-regexp)
3201 (query-replace-regexp-eval, replace-regexp): Doc fix.
3202 (perform-replace, replace-highlight): Let-bind
3203 isearch-lax-whitespace to replace-lax-whitespace and
3204 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3205
3206 * isearch.el (isearch-query-replace): Let-bind
3207 replace-lax-whitespace to isearch-lax-whitespace and
3208 replace-regexp-lax-whitespace to
3209 isearch-regexp-lax-whitespace. (Bug#10885)
3210
3211 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
3212
3213 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3214
3215 2012-09-09 Alan Mackenzie <acm@muc.de>
3216
3217 * progmodes/cc-engine.el (c-state-cache-init):
3218 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3219 (c-record-parse-state-state):
3220 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
3221
3222 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
3223
3224 * register.el (register-separator): Rename from
3225 separator-register. All uses changed. Doc fix.
3226 (register): Fix version.
3227
3228 2012-09-09 Chong Yidong <cyd@gnu.org>
3229
3230 * replace.el (query-replace-map): Bind four new symbols for
3231 requesting window scrolling.
3232
3233 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
3234 query-replace-map (Bug#8948).
3235
3236 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
3237
3238 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
3239 since they are now in query-replace-map.
3240
3241 * window.el (scroll-other-window-down): Make the arg optional.
3242
3243 2012-09-09 Chong Yidong <cyd@gnu.org>
3244
3245 * files.el (hack-local-variables-confirm): Use quit-window to kill
3246 the *Local Variables* buffer.
3247
3248 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3249
3250 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3251 not just expect to be at its beginning. Adjust callees.
3252 Succeed when do-end block has no space before the pipe character.
3253 (ruby-brace-to-do-end): When the original block is one-liner,
3254 convert to multiline. Reindent the result.
3255
3256 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
3257
3258 * register.el (register): New group.
3259 (separator-register): New user option.
3260 (increment-register): Route it to `append-to-register', if
3261 register contains text. Implication is that `C-x r +' can now be
3262 used for appending to a text register (bug#12217).
3263 (append-to-register, prepend-to-register): Add separator based on
3264 `separator-register'.
3265
3266 2012-09-08 Alan Mackenzie <acm@muc.de>
3267
3268 AWK Mode: make auto-newline work when there's "==" in the pattern.
3269 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3270 correctly.
3271 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3272 Test more rigorously for "=" token.
3273
3274 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3275
3276 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3277 Only fail when reached LIMIT.
3278
3279 2012-09-08 Chong Yidong <cyd@gnu.org>
3280
3281 * dired.el (dired-mode-map): Don't bind M-=.
3282
3283 * dired-aux.el (dired-diff): Use backup file as default.
3284
3285 2012-09-08 Drew Adams <drew.adams@oracle.com>
3286
3287 * subr.el (add-to-history): Fix delete usage (Bug#12314).
3288
3289 2012-09-08 Chong Yidong <cyd@gnu.org>
3290
3291 * subr.el (syntax-after, syntax-class): Doc fix.
3292
3293 2012-09-08 Martin Rudalics <rudalics@gmx.at>
3294
3295 * window.el (display-buffer-in-previous-window): New buffer
3296 display action function.
3297
3298 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
3299 (debugger-previous-window): New variable.
3300 (debug): Rewrite using display-buffer-in-previous-window,
3301 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
3302
3303 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3304
3305 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
3306
3307 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
3308
3309 * progmodes/python.el (python-shell-send-string):
3310 When default-directory is remote, create temp file on remote
3311 filesystem.
3312 (python-shell-send-file): When file is remote, pass local view of
3313 file paths to remote Python interpreter. (Bug#12340)
3314
3315 2012-09-07 Chong Yidong <cyd@gnu.org>
3316
3317 * window.el (switch-to-buffer): Doc fix (Bug#12181).
3318
3319 * files.el (after-find-file): Don't fail on a read-only buffer if
3320 require-final-newline is `visit' or `visit-save' (Bug#11156).
3321
3322 * subr.el (read-char-choice): Allow quitting via ESC ESC.
3323
3324 * userlock.el (ask-user-about-supersession-threat):
3325 Use read-char-choice (Bug#12093).
3326
3327 2012-09-07 Chong Yidong <cyd@gnu.org>
3328
3329 * subr.el (buffer-narrowed-p): New function.
3330
3331 * ses.el (ses-widen):
3332 * simple.el (count-words--buffer-message):
3333 * net/browse-url.el (browse-url-of-buffer): Use it.
3334
3335 * simple.el (count-words-region): Don't signal an error if there
3336 is a non-nil prefix arg and the mark is not set.
3337
3338 * help.el (describe-key-briefly): Allow the message to be seen
3339 when invoked from the minibuffer (Bug#7014).
3340
3341 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3342
3343 * progmodes/ruby-mode.el (ruby-end-of-defun)
3344 (ruby-beginning-of-defun): Simplify, allow indentation before
3345 block beginning and end keywords.
3346 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
3347 (ruby-end-of-defun): Expect that the point is at the beginning of
3348 the defun.
3349
3350 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3351
3352 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
3353 (bug#12367).
3354 (cl--make-usage-args): Strip _ from argument names.
3355
3356 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3357
3358 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
3359 obsolete alias speedbar-key-map.
3360 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
3361 (vhdl-index-menu-init): Don't use obsolete variable
3362 font-lock-maximum-size.
3363
3364 2012-09-06 Chong Yidong <cyd@gnu.org>
3365
3366 * frame.el (window-system-version): Mark as obsolete.
3367
3368 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
3369 of obsolete variable speedbar-key-map.
3370
3371 2012-09-06 Juri Linkov <juri@jurta.org>
3372
3373 * replace.el (replace-lax-whitespace): New defcustom.
3374 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3375 (replace-string, replace-regexp): Mention it in docstrings.
3376 (perform-replace, replace-highlight): Let-bind
3377 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
3378 to the values of replace-lax-whitespace and regexp-flag.
3379 Don't let-bind search-whitespace-regexp. (Bug#10885)
3380
3381 * isearch.el (isearch-query-replace): Let-bind
3382 replace-lax-whitespace instead of let-binding
3383 replace-search-function and replace-re-search-function.
3384 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
3385 and isearch-regexp-lax-whitespace to lazy-highlight variables.
3386 (isearch-toggle-symbol): Set isearch-regexp to nil
3387 in isearch-word mode (like in isearch-toggle-word).
3388
3389 2012-09-06 Juri Linkov <juri@jurta.org>
3390
3391 * replace.el (replace-search-function)
3392 (replace-re-search-function): Set default values to nil.
3393 (perform-replace): Let-bind isearch-related variables based on
3394 replace-related values, call `isearch-search-fun' and let-bind
3395 the result to `search-function'. Remove code that sets
3396 `search-function' and `search-string' separately for
3397 `delimited-flag'.
3398 (replace-highlight): Add new argument `delimited-flag' and
3399 rename other arguments to the names used in `perform-replace'.
3400 Let-bind `isearch-word' to the argument `delimited-flag'.
3401 (Bug#10885, bug#10887)
3402
3403 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3404
3405 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3406 ruby-beginning-of-indent, simplify, allow all keywords to have
3407 indentation before them.
3408 (ruby-beginning-of-indent): Adjust for above. Search until the
3409 found point is not inside a string or comment.
3410 (ruby-font-lock-keywords): Allow symbols to start with "@"
3411 character, give them higher priority than variables.
3412 (ruby-syntax-propertize-function)
3413 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3414 matchers. Expression expansions are not comments when inside a
3415 string, and there comment syntax status is irrelevant.
3416 (ruby-match-expression-expansion): New function. Check that
3417 expression expansion is inside a string, and it's not escaped.
3418 (ruby-font-lock-keywords): Use it.
3419
3420 2012-09-05 Martin Rudalics <rudalics@gmx.at>
3421
3422 * help.el (temp-buffer-max-height): New default value.
3423 (temp-buffer-resize-frames): New option.
3424 (resize-temp-buffer-window): Optionally resize frame.
3425
3426 * window.el (fit-frame-to-buffer-bottom-margin): New option.
3427 (fit-frame-to-buffer): New function.
3428
3429 2012-09-05 Glenn Morris <rgm@gnu.org>
3430
3431 * emulation/cua-rect.el (cua--init-rectangles):
3432 * textmodes/picture.el (picture-mode-map):
3433 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3434 like forward-char and backward-char. (Bug#12317)
3435
3436 2012-09-05 Leo Liu <sdl.web@gmail.com>
3437
3438 * progmodes/flymake.el (flymake-warning-re): New variable.
3439 (flymake-parse-line): Use it.
3440
3441 2012-09-05 Glenn Morris <rgm@gnu.org>
3442
3443 * calendar/holidays.el (holiday-christian-holidays):
3444 Rename an entry. (Bug#12289)
3445
3446 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3447
3448 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3449 (bug#12222).
3450
3451 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3452
3453 * loadup.el: Load macroexp. Remove hack.
3454 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
3455 (macroexp--expand-all): Use it to get better warnings.
3456 (macroexp--backtrace, macroexp--trim-backtrace-frame)
3457 (internal-macroexpand-for-load): New functions.
3458 (macroexp--pending-eager-loads): New var.
3459 (emacs-startup-hook): New hack to replace one in loadup.el.
3460 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3461 (cl--compiler-macro-cXXr): Move to top, before they can be used.
3462 (cl-psetf): Simplify.
3463 (cl-defstruct): Add indent rule.
3464
3465 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
3466
3467 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3468 over `user-mail-address' for the SMTP MAIL FROM envelope.
3469 (smtpmail-via-smtp): Ditto.
3470
3471 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
3472
3473 * progmodes/ruby-mode.el: Clean up keybindings.
3474 (ruby-mode-map): Don't bind ruby-electric-brace,
3475 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
3476 backward-kill-word, reindent-then-newline-and-indent.
3477 (ruby-mark-defun): Remove.
3478 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
3479 (ruby-mode): Set local beginning-of-defun-function and
3480 end-of-defun-function values.
3481
3482 2012-09-03 Martin Rudalics <rudalics@gmx.at>
3483
3484 * window.el (temp-buffer-window-setup-hook)
3485 (temp-buffer-window-show-hook): New hooks.
3486 (temp-buffer-window-setup, temp-buffer-window-show)
3487 (with-temp-buffer-window): New functions.
3488 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
3489 (special-display-popup-frame): Make sure the window used shows BUFFER.
3490
3491 * help.el (temp-buffer-resize-mode): Fix doc-string.
3492 (resize-temp-buffer-window): New optional argument WINDOW.
3493
3494 * files.el (recover-file, save-buffers-kill-emacs):
3495 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
3496
3497 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
3498
3499 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
3500 remote definition of `default-directory', ensure we can connect.
3501
3502 2012-09-02 Juri Linkov <juri@jurta.org>
3503
3504 Toggle whitespace matching mode with M-s SPC.
3505 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3506
3507 * isearch.el (search-whitespace-regexp): Doc fix.
3508 Remove cons cell customization.
3509 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3510 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3511 New variables.
3512 (isearch-forward, isearch-forward-regexp): Doc fix.
3513 (isearch-toggle-lax-whitespace): New command.
3514 (search-forward-lax-whitespace, search-backward-lax-whitespace)
3515 (re-search-forward-lax-whitespace)
3516 (re-search-backward-lax-whitespace): New functions.
3517 (isearch-whitespace-regexp): Remove function.
3518 (isearch-query-replace): Let-bind replace-search-function and
3519 replace-re-search-function.
3520 (isearch-occur): Let-bind search-spaces-regexp according to the
3521 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
3522 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
3523 condition for C-q SPC.
3524 (isearch-search-fun-default): Use new functions mentioned above.
3525 (isearch-search-forward, isearch-search-backward): Remove functions.
3526 (isearch-search): Don't let-bind search-spaces-regexp.
3527 (isearch-lazy-highlight-space-regexp): Remove variable.
3528 (isearch-lazy-highlight-lax-whitespace)
3529 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
3530 (isearch-lazy-highlight-new-loop): Use them.
3531 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
3532
3533 2012-09-02 Chong Yidong <cyd@gnu.org>
3534
3535 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
3536
3537 2012-09-02 Glenn Morris <rgm@gnu.org>
3538
3539 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
3540
3541 2012-09-01 Glenn Morris <rgm@gnu.org>
3542
3543 * term.el: Tidy up menu definitions.
3544 (term-mode-map): Use easymenu for In/Out, Complete menus.
3545 (term-pager-break-map): Initialize in the defvar.
3546 (term-terminal-menu, term-signals-menu): Define with easymenu.
3547 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
3548 (term-pager-menu): New, extracted from term-process-pager.
3549 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
3550 (term-update-mode-line): Propertize line/char and page items.
3551 (term-process-pager): Move keymap initialization elsewhere.
3552
3553 2012-09-01 Martin Rudalics <rudalics@gmx.at>
3554
3555 * window.el (switch-to-prev-buffer): Handle additional values of
3556 BURY-OR-KILL argument. Don't switch in minibuffer window.
3557 (switch-to-next-buffer): Don't switch in minibuffer window.
3558 (quit-restore-window): New function based on quit-window.
3559 Handle additional values of former KILL argument.
3560 (quit-window): Call quit-restore-window with appropriate
3561 interpretation of KILL argument.
3562 (display-buffer-below-selected): New buffer display action
3563 function.
3564
3565 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3566
3567 * minibuffer.el (completion-at-point-functions): Complete docstring
3568 (bug#12254).
3569
3570 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
3571
3572 Better seed support for (random).
3573 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
3574 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
3575 * play/mpuz.el, play/tetris.el, play/zone.el:
3576 * calc/calc-comb.el (math-init-random-base):
3577 * play/blackbox.el (bb-init-board):
3578 * play/life.el (life):
3579 * server.el (server-use-tcp):
3580 * type-break.el (type-break):
3581 Remove unnecessary call to (random t).
3582 * net/sasl.el (sasl-unique-id-function):
3583 Change (random t) to (random), now that the latter is more random.
3584 * play/life.el (life-initialized): Remove no-longer-needed var.
3585
3586 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
3587
3588 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3589 Consider frame's buffer predicate when choosing the buffer.
3590 (Bug#12081)
3591
3592 2012-08-30 Richard Stallman <rms@gnu.org>
3593
3594 * simple.el (special-mode-map): Delete binding for `z'.
3595
3596 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
3597
3598 * progmodes/compile.el (compilation-always-kill): Doc fix.
3599
3600 2012-08-30 Chong Yidong <cyd@gnu.org>
3601
3602 * window.el (display-buffer-reuse-frames): Make the obsolescence
3603 message more informative.
3604
3605 2012-08-30 Glenn Morris <rgm@gnu.org>
3606
3607 * paren.el (show-paren-delay):
3608 Add a :set function. Doc fix. (Bug#12297)
3609
3610 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
3611
3612 * progmodes/compile.el (compilation-always-kill): New var.
3613 (compilation-start): Use it.
3614
3615 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3616
3617 * simple.el (read-only-mode): Move from files.el for bootstrapping.
3618 * files.el (read-only-mode): Move to simple.el.
3619
3620 * files.el (read-only-mode): New minor mode.
3621 (toggle-read-only): Use it and mark obsolete.
3622 (find-file--read-only):
3623 * vc/vc.el (vc-next-action, vc-checkout):
3624 * vc/vc-cvs.el (vc-cvs-checkout):
3625 * obsolete/vc-mcvs.el (vc-mcvs-update):
3626 * ffap.el (ffap--toggle-read-only): Update callers.
3627
3628 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
3629
3630 * eshell/esh-ext.el (eshell-external-command): Do not examine
3631 remote shell scripts.
3632 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
3633
3634 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
3635 "/usr/local/sbin".
3636
3637 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3638
3639 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
3640
3641 2012-08-28 Leo Liu <sdl.web@gmail.com>
3642
3643 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
3644 completion-at-point. (Bug#12220)
3645
3646 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
3647
3648 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
3649
3650 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3651
3652 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
3653 be buffer-local; add delete-trailing-whitespace (bug#12259).
3654
3655 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
3656
3657 * progmodes/hideif.el (hif-compress-define-list):
3658 Fix typo. (Bug#11951)
3659
3660 2012-08-28 Dan Nicolaescu <dann@gnu.org>
3661
3662 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
3663 buffer local setting.
3664
3665 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
3666 rcirc-encode-coding-system.
3667
3668 2012-08-28 Leo Liu <sdl.web@gmail.com>
3669
3670 * net/rcirc.el (rcirc-split-message): New function.
3671 (rcirc-send-message): Use it. (Bug#12051)
3672
3673 2012-08-28 Juri Linkov <juri@jurta.org>
3674
3675 * info.el (Info-fontify-node): Hide empty lines at the end of
3676 the node. (Bug#12272)
3677
3678 2012-08-27 Drew Adams <drew.adams@oracle.com>
3679
3680 * dired.el (dired-pop-to-buffer): Make window start at beginning
3681 of buffer (Bug#12281).
3682
3683 2012-08-26 Chong Yidong <cyd@gnu.org>
3684
3685 * window.el (special-display-regexps, special-display-frame-alist)
3686 (special-display-buffer-names, special-display-function)
3687 (display-buffer-reuse-frames): Mark as obsolete.
3688
3689 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
3690
3691 * help.el (help-print-return-message): Don't treat
3692 display-buffer-reuse-frames specially.
3693
3694 2012-08-26 Chong Yidong <cyd@gnu.org>
3695
3696 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3697 New variable, replacing gdb-frame-parameters.
3698 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3699 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3700 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3701 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3702 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
3703 the functions directly with gdb-display-buffer-other-frame-action.
3704 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3705 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3706 (gdb-display-stack-buffer, gdb-display-locals-buffer)
3707 (gdb-display-registers-buffer): Define directly.
3708 (def-gdb-display-buffer): Macro deleted.
3709 (gdb-display-buffer): Remove second and third args, callers don't
3710 use them. Defer to the default display-buffer behavior, apart
3711 from making windows dedicated.
3712 (gdb-setup-windows): Don't call display-buffer unnecessarily.
3713
3714 * progmodes/gud.el (gud-display-line): Just use display-buffer.
3715
3716 * window.el (display-buffer-pop-up-frame): Handle a
3717 pop-up-frame-parameters alist entry.
3718 (display-buffer): Document it.
3719
3720 2012-08-26 Chong Yidong <cyd@gnu.org>
3721
3722 * isearch.el (search-whitespace-regexp): Make string and nil
3723 values apply to both ordinary and regexp search. Allow a cons
3724 cell value to distinguish between the two.
3725 (isearch-whitespace-regexp, isearch-search-forward)
3726 (isearch-search-backward): New functions.
3727 (isearch-occur, isearch-search-fun-default, isearch-search)
3728 (isearch-lazy-highlight-new-loop): Use them.
3729 (isearch-forward, isearch-forward-regexp): Doc fix.
3730
3731 2012-08-26 Chong Yidong <cyd@gnu.org>
3732
3733 * faces.el (help-argument-name): Always inherit from italic
3734 (Bug#12213).
3735
3736 2012-08-25 Martin Rudalics <rudalics@gmx.at>
3737
3738 * window.el (window--even-window-heights): Even heights when
3739 WINDOW and the selected window form a vertical combination.
3740 (display-buffer-use-some-window): Provide that window used gets
3741 sized back by quit-window. (Bug#11880) and (Bug#12091)
3742
3743 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3744
3745 Fix file time stamp problem with bzr and CVS (Bug#12001).
3746 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3747 in the file's time stamp, since the version control system loses
3748 that information.
3749
3750 2012-08-22 Juri Linkov <juri@jurta.org>
3751
3752 * info.el (Info-fontify-node): Hide the suffix of the
3753 Info file name in the header line. (Bug#12187)
3754
3755 2012-08-22 Glenn Morris <rgm@gnu.org>
3756
3757 * calendar/cal-tex.el (cal-tex-weekly-common):
3758 Restore leading blank page.
3759
3760 2012-08-22 Le Wang <l26wang@gmail.com>
3761
3762 * misc.el (forward-to-word, backward-to-word): Activate or extend
3763 the region under `shift-select-mode'. (Bug#12231)
3764
3765 2012-08-22 Bastien Guerry <bzg@gnu.org>
3766
3767 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3768 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3769 gives details on why the space is never needed.
3770
3771 2012-08-22 Martin Rudalics <rudalics@gmx.at>
3772
3773 * window.el (walk-window-tree, window-with-parameter):
3774 New optional argument MINIBUF to control whether these functions
3775 should run on the minibuffer window.
3776 (window-at-side-list): Don't operate on minibuffer window.
3777 (window-in-direction): Simplify and rewrite doc-string.
3778 (window--size-ignore): Rename to window--size-ignore-p.
3779 Update callers.
3780 (display-buffer-in-atom-window, window--major-non-side-window)
3781 (window--major-side-window, display-buffer-in-major-side-window)
3782 (delete-side-window, display-buffer-in-side-window):
3783 New functions.
3784 (window--side-check, window-deletable-p, delete-window)
3785 (delete-other-windows, split-window): Handle side windows and
3786 atomic windows appropriately.
3787 (window--display-buffer): Call display-buffer-record-window also
3788 when the window buffer did not change.
3789
3790 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3791
3792 * help-fns.el (help-fns--key-bindings):
3793 Abbreviate non-symbol remap targets. (Bug#12174)
3794
3795 2012-08-22 Martin Rudalics <rudalics@gmx.at>
3796
3797 * dired.el (dired-mark-remembered): Don't clobber point.
3798 (Bug#11795)
3799
3800 2012-08-22 Glenn Morris <rgm@gnu.org>
3801
3802 * progmodes/bug-reference.el (bug-reference): New custom group.
3803 (bug-reference-bug-regexp): Make it a defcustom.
3804
3805 2012-08-22 Daiki Ueno <ueno@unixuser.org>
3806
3807 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3808 (js-paren-indent-offset, js-square-indent-offset)
3809 (js-curly-indent-offset): Add :safe (Bug#12257).
3810
3811 2012-08-22 Edward O'Connor <hober0@gmail.com>
3812
3813 * json.el (json-key-format): Add error properties.
3814 (json-encode-key): New function.
3815 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3816 Use json-encode-key.
3817
3818 2012-08-22 Glenn Morris <rgm@gnu.org>
3819
3820 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3821 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3822 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3823 Update for above change.
3824
3825 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3826
3827 * cus-face.el (custom-face-attributes): Fix customize type for the
3828 :underline attribute. (Bug#11805)
3829
3830 2012-08-21 Martin Rudalics <rudalics@gmx.at>
3831
3832 * window.el (window-point-1, set-window-point-1): Remove.
3833 (window-in-direction, record-window-buffer)
3834 (set-window-buffer-start-and-point, split-window-below)
3835 (window--state-get-1, display-buffer-record-window):
3836 Replace calls to window-point-1 and set-window-point-1 by calls to
3837 window-point and set-window-point respectively.
3838
3839 2012-08-21 Glenn Morris <rgm@gnu.org>
3840
3841 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3842 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3843 Use it.
3844
3845 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3846 (cal-tex-shortday): New function.
3847 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3848 (cal-tex-cursor-filofax-daily): Use the above.
3849
3850 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3851 New functions.
3852 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3853 (cal-tex-cursor-filofax-week): Use them.
3854
3855 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3856 New constants.
3857 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3858 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3859
3860 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3861 (cal-tex-end-document): Don't rely on buffer name.
3862
3863 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3864 Use cal-tex-vspace.
3865 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3866 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
3867 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3868 Use cal-tex-arg.
3869
3870 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3871 (cal-tex-cursor-week, cal-tex-cursor-week2)
3872 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3873 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3874 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3875 (cal-tex-insert-preamble, cal-tex-b-document)
3876 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3877 Improve cal-tex-cmd usage.
3878
3879 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3880 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3881 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3882 (cal-tex-weekly-paper): New function.
3883 (cal-tex-cursor-week, cal-tex-cursor-week2)
3884 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3885 (cal-tex-cursor-day): Use it.
3886
3887 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3888 (cal-tex-cursor-filofax-week): Remove leading blank page.
3889
3890 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3891 Add autoload cookie. For now at least, don't use color, since
3892 no other cal-tex function does.
3893
3894 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3895 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3896 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3897
3898 2012-08-21 Juri Linkov <juri@jurta.org>
3899
3900 * info.el (Info-file-attributes): New variable.
3901 (info-insert-file-contents): Add file attributes to
3902 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3903 `Info-toc-nodes' when previous modtime of the Info file is less
3904 than new modtime.
3905 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3906 of info.el. (Bug#12230)
3907
3908 2012-08-20 Glenn Morris <rgm@gnu.org>
3909
3910 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3911 * calendar/holidays.el (calendar-holiday-list):
3912 Report errors with display-warning rather than beep'n'sleep.
3913
3914 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
3915
3916 * net/tramp.el (tramp-accept-process-output): Accept only output
3917 from PROC. Otherwise, process filters and sentinels might be
3918 confused. (Bug#12145)
3919
3920 2012-08-20 Chong Yidong <cyd@gnu.org>
3921
3922 * descr-text.el (describe-text-properties-1): Use overlays-in to
3923 report on empty overlays (Bug#3322).
3924
3925 2012-08-20 Glenn Morris <rgm@gnu.org>
3926
3927 * mail/rmailout.el (rmail-output-read-file-name):
3928 Trap and report errors in rmail-output-file-alist elements.
3929
3930 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3931 since most non-font-lock faces are not also variables).
3932
3933 2012-08-20 Edward Reingold <reingold@iit.edu>
3934
3935 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3936 New function. (Bug12160)
3937
3938 2012-08-19 Glenn Morris <rgm@gnu.org>
3939
3940 * mail/rmailout.el (rmail-output-read-file-name):
3941 Fix previous change (when the alist is nil or does not match).
3942
3943 2012-08-19 Chong Yidong <cyd@gnu.org>
3944
3945 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3946 (Bug#12228).
3947
3948 2012-08-18 Chong Yidong <cyd@gnu.org>
3949
3950 * simple.el (yank-handled-properties): New defcustom.
3951 (yank-excluded-properties): Add font-lock-face and category.
3952 (yank): Doc fix.
3953
3954 * subr.el (remove-yank-excluded-properties):
3955 Obey yank-handled-properties. The special handling of font-lock-face
3956 and category is now done this way, instead of being hard-coded.
3957 (insert-for-yank-1): Remove font-lock-face handling.
3958 (yank-handle-font-lock-face-property)
3959 (yank-handle-category-property): New function.
3960
3961 2012-08-17 Glenn Morris <rgm@gnu.org>
3962
3963 * mail/rmailout.el (rmail-output-read-file-name):
3964 Check rmail-output-file-alist against the full message body
3965 in the correct rmail buffer. (Bug#12214)
3966
3967 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
3968
3969 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3970 Eliminate superfluous prompt. (Bug#12203)
3971
3972 2012-08-17 Chong Yidong <cyd@gnu.org>
3973
3974 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3975 font spec, set the font directly (Bug#3228).
3976
3977 2012-08-17 Martin Rudalics <rudalics@gmx.at>
3978
3979 * window.el (delete-window): Fix last fix.
3980
3981 2012-08-16 Martin Rudalics <rudalics@gmx.at>
3982
3983 * window.el (window-valid-p): Move to window.c.
3984 (window-child, window-child-count, window-last-child)
3985 (window-normalize-window, window-combined-p)
3986 (window-combinations, window-atom-root, window-min-size)
3987 (window-sizable, window-sizable-p, window-size-fixed-p)
3988 (window-min-delta, window-max-delta, window--resizable)
3989 (window--resizable-p, window-resizable, window-total-size)
3990 (window-full-height-p, window-full-width-p, window-body-size)
3991 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3992 (minimize-window, window-deletable-p, delete-window)
3993 (delete-other-windows, set-window-buffer-start-and-point)
3994 (next-buffer, previous-buffer, split-window, balance-windows-2)
3995 (set-window-text-height, window-buffer-height)
3996 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
3997 (truncated-partial-width-window-p): Minor code adjustments.
3998 In doc-strings state whether the argument window has to denote a
3999 live, valid or any window.
4000
4001 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
4002
4003 * progmodes/subword.el (subword-forward-function)
4004 (subword-backward-function, subword-forward-regexp)
4005 (subword-backward-regexp): New variables.
4006 (subword-forward, subword-forward-internal, subword-backward-internal):
4007 Use new variables, eg so that different "word" definitions
4008 can be easily used. (Bug#11411)
4009
4010 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4011
4012 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
4013 for composite selectors.
4014 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
4015 operation just because we can't find a previous revision.
4016
4017 2012-08-15 Chong Yidong <cyd@gnu.org>
4018
4019 * frame.el (set-frame-font): Accept font objects.
4020
4021 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4022
4023 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
4024
4025 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
4026
4027 * man.el (Man-overstrike-face, Man-underline-face)
4028 (Man-reverse-face): Remove variables.
4029 (Man-overstrike, Man-underline, Man-reverse): New faces.
4030 (Man-fontify-manpage): Use them instead of the variables.
4031 (Man-cleanup-manpage): Comment change.
4032 (Man-ansi-color-map): New variable.
4033 (Man-fontify-manpage): Use it.
4034 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
4035
4036 Implement ANSI SGR parameters 22-27 (bug#12146).
4037 * ansi-color.el (ansi-colors): Doc fix.
4038 (ansi-color-context, ansi-color-context-region): Doc fix.
4039 (ansi-color--find-face): New function.
4040 (ansi-color-apply, ansi-color-apply-on-region): Use it.
4041 Rename the local variable `face' to `codes' since it is now a list of
4042 ansi codes. Doc fix.
4043 (ansi-color-get-face): Remove.
4044 (ansi-color-parse-sequence): New function, derived from
4045 ansi-color-get-face.
4046 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
4047 codes 22-27.
4048
4049 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
4050
4051 * subr.el (read-passwd): Allow use from a minibuffer.
4052
4053 2012-08-14 Eli Zaretskii <eliz@gnu.org>
4054
4055 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
4056 inside comments and strings as identifiers.
4057
4058 * progmodes/gud.el (gud-tooltip-print-command): Quote the
4059 expression to evaluate. This allows to evaluate expressions with
4060 embedded whitespace.
4061 (gud-tooltip-tips): Add a blank before the newline in the
4062 message-box text, for the benefit of message-box emulation on
4063 MS-Windows.
4064
4065 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
4066 messages from GDB, pop them up in a tooltip to give feedback to
4067 user.
4068 (gdb-tooltip-print-1): Quote the expression to evaluate.
4069 This allows to evaluate expressions with embedded whitespace.
4070 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
4071 if the TTY name is nil or empty (which happens when communicating
4072 with the inferior via pipes, e.g. on MS-Windows).
4073 (gdb-internals): If GDB sends a "&\n" empty debugging message,
4074 don't send that to the GUD buffer.
4075
4076 2012-08-14 Glenn Morris <rgm@gnu.org>
4077
4078 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
4079 Optimize away setq-default with no args, as for setq. (Bug#12195)
4080
4081 2012-08-14 Chong Yidong <cyd@gnu.org>
4082
4083 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
4084
4085 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
4086 (Bug#12085).
4087
4088 2012-08-14 Glenn Morris <rgm@gnu.org>
4089
4090 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
4091
4092 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
4093
4094 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
4095 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4096 Use cached shell name.
4097
4098 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4099
4100 * progmodes/python.el (python-shell-send-string):
4101 (python-shell-send-setup-code): Do not use `format' with `message'.
4102
4103 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
4104
4105 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
4106 (ruby-percent-literal-beg-re): New constant.
4107 (ruby-syntax-general-delimiters-goto-beg): Rename to
4108 `ruby-syntax-enclosing-percent-literal', improve literal type check.
4109 (ruby-syntax-propertize-general-delimiters): Rename to
4110 `ruby-syntax-propertize-percent-literal', it's a shorter and more
4111 popular term. Adjust comments everywhere.
4112 (ruby-syntax-propertize-percent-literal): Only propertize when not
4113 inside a simple string or comment. When the literal is unclosed,
4114 leave the text after it unpropertized.
4115 (ruby-syntax-methods-before-regexp): New constant.
4116 (ruby-syntax-propertize-function): Use it to recognize regexps.
4117 Don't look at the text after regexp, just use the whitelist.
4118
4119 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
4120
4121 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
4122 non-nil always load the compiled file if it exists. (Bug#12197)
4123
4124 2012-08-14 Chong Yidong <cyd@gnu.org>
4125
4126 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
4127 (hi-lock-set-pattern): When deciding whether to use font lock or
4128 overlays, look at font-lock-mode instead of font-lock-fontified
4129 (Bug#12168).
4130 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
4131 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
4132
4133 2012-08-14 Daiki Ueno <ueno@unixuser.org>
4134
4135 * subr.el (internal--after-with-selected-window): Fix typo
4136 (Bug#12193).
4137
4138 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4139
4140 Use `completion-table-dynamic' for completion functions.
4141 * progmodes/python.el
4142 (python-shell-completion--do-completion-at-point)
4143 (python-shell-completion--get-completions):
4144 Remove functions.
4145 (python-shell-completion-complete-at-point): New function.
4146 (python-completion-complete-at-point): Use it.
4147
4148 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
4149
4150 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
4151 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
4152
4153 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4154
4155 * subr.el (function-get): Refine `autoload' arg so it can also
4156 autoload functions for gv.el (bug#12191).
4157 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
4158 autoloads macros.
4159
4160 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
4161 Prefer pcase-let over destructuring-bind.
4162 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
4163 Also, remove whitespace as we go, rather than after accumulating the
4164 various places.
4165
4166 * subr.el (internal--before-with-selected-window)
4167 (internal--after-with-selected-window): Fix typo seleted->selected.
4168 (with-selected-window): Adjust callers.
4169 Reported by Dmitry Gutov <dgutov@yandex.ru>.
4170
4171 2012-08-13 Bastien Guerry <bzg@gnu.org>
4172
4173 * window.el (special-display-popup-frame): Minor docstring
4174 enhancement. (Bug#12172)
4175
4176 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
4177
4178 * tar-mode.el (tar-header-data-end): Only ignore size for files of
4179 type 1-6.
4180 (tar-header-block-summarize, tar-get-descriptor): Handle pax
4181 extended headers.
4182
4183 * files.el (hack-local-variables-filter): Remove useless eval.
4184
4185 2012-08-13 Martin Rudalics <rudalics@gmx.at>
4186
4187 * subr.el (with-selected-window): Fix last change.
4188
4189 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4190
4191 * subr.el (internal--before-with-seleted-window)
4192 (internal--after-with-seleted-window): New functions.
4193 (with-selected-window): Use them, to replace dependency on
4194 tty-top-frame.
4195
4196 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
4197
4198 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4199 binding for `newline'.
4200 (ruby-move-to-block): When moving backward, stop at block opening,
4201 not indentation.
4202 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4203 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4204 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4205 `ruby-toggle-block'.
4206
4207 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4208
4209 * ibuffer.el (ibuffer-do-toggle-read-only):
4210 * dired.el (dired-toggle-read-only):
4211 * buff-menu.el (Buffer-menu-toggle-read-only):
4212 * bindings.el (mode-line-toggle-read-only):
4213 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4214
4215 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
4216
4217 * descr-text.el (describe-char): Put the overlays over the
4218 "displayed as" character.
4219
4220 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
4221
4222 * calc/calc-units.el (math-default-units-table): Give an
4223 initial value.
4224 (math-put-default-units): Add options to put composite units and
4225 unit systems in the default units table.
4226 (calc-convert-units): Send composite units to
4227 `math-put-default-units' when appropriate.
4228
4229 2012-08-11 Glenn Morris <rgm@gnu.org>
4230
4231 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
4232
4233 * tutorial.el (help-with-tutorial):
4234 * emacs-lisp/copyright.el (copyright-update-directory):
4235 * emacs-lisp/autoload.el (autoload-find-generated-file)
4236 (autoload-find-file): Disable local eval: (for insurance).
4237
4238 * files.el (hack-local-variables-filter): If an eval: form is not
4239 known to be safe, and enable-local-variables is :safe, then ignore
4240 the form totally, as is done for non-eval forms. (Bug#12155)
4241 This is CVE-2012-3479.
4242
4243 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4244
4245 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4246 (rx-form): Simplify.
4247
4248 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
4249
4250 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4251 ?, _, and : are symbol constituents, ! is not (but kinda should be).
4252 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4253 (ruby-syntax-propertize-function): Adjust for changes in
4254 `ruby-syntax-propertize-heredoc'.
4255
4256 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
4257
4258 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4259 binding (use `M-;' instead).
4260 (ruby-singleton-class-p): New function.
4261 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
4262
4263 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4264
4265 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4266
4267 2012-08-10 Chong Yidong <cyd@gnu.org>
4268
4269 * progmodes/python.el (python-shell-get-process-name): Don't mess
4270 with same-window-buffer-names.
4271
4272 * eshell/eshell.el (eshell-add-to-window-buffer-names)
4273 (eshell-remove-from-window-buffer-names): Make obsolete.
4274 (eshell-buffer-name, eshell-unload-hook): Don't use them.
4275 (eshell): Just use pop-to-buffer-same-window instead.
4276
4277 2012-08-10 Chong Yidong <cyd@gnu.org>
4278
4279 * bindings.el: Bind M-= back to count-words-region.
4280
4281 * simple.el (count-words-region): Accept a prefix arg for acting
4282 on the entire buffer.
4283 (count-words--buffer-message): New helper function.
4284
4285 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4286
4287 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
4288 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
4289 (event-start, event-end): Use posn-at-point to return a more
4290 informative posn.
4291 (posnp): New function.
4292 * mouse.el (popup-menu-normalize-position): Use it.
4293
4294 2012-08-10 Masatake YAMATO <yamato@redhat.com>
4295
4296 * mouse.el (popup-menu-normalize-position): New function.
4297 (popup-menu): Use `popup-menu-normalize-position' to normalize
4298 the form for POSITION argument.
4299
4300 * term/x-win.el (x-menu-bar-open):
4301 Use the value returend from (posn-at-point) as position
4302 passed to `popup-menu'.
4303
4304 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4305
4306 * calc/calccomp.el (math-compose-expr): Add extra argument
4307 indicating that parentheses should be put around products in
4308 denominators. Give multiplication precedence over division during
4309 composition.
4310
4311 2012-08-09 Chong Yidong <cyd@gnu.org>
4312
4313 * man.el (Man-switches, Man-sed-command, Man-awk-command)
4314 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
4315 (Man-untabify-command, manual-program): Convert to defcustom
4316 (Bug#10429).
4317
4318 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4319
4320 * descr-text.el (describe-char): Don't insert extra newlines
4321 (Bug#10127).
4322
4323 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4324 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4325
4326 * align.el (align-region): Delete temporary markers (Bug#10047).
4327 Plus some code cleanups.
4328
4329 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4330
4331 * progmodes/python.el (python-pdbtrack-tracked-buffer)
4332 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4333 (python-shell-internal-last-output): Use make-local-variable
4334 instead of make-variable-buffer-local.
4335
4336 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4337
4338 * progmodes/python.el: Enhancements to forward-sexp.
4339 (python-nav-forward-sexp): Rename from
4340 python-nav-forward-sexp-function.
4341 (python-nav--forward-sexp, python-nav--backward-sexp):
4342 New functions.
4343
4344 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4345
4346 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
4347 modes and simplification modes.
4348
4349 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4350
4351 * delsel.el (delete-selection-pre-hook): Don't propagate the
4352 file-supersession signals (bug#12161).
4353
4354 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4355
4356 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
4357 (cl-map-extents): Add compatibility aliases (bug#12135).
4358
4359 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
4360
4361 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
4362 tests by `ignore-error'.
4363 (tramp-find-shell): Open also a new shell, when cache is already
4364 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
4365
4366 2012-08-08 Juri Linkov <juri@jurta.org>
4367
4368 * bookmark.el: Add `defaults' property to the bookmark record.
4369 (bookmark-current-buffer): Doc fix.
4370 (bookmark-make-record): Add `defaults' property with default values
4371 to the bookmark record.
4372 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
4373 with `bookmark-insert-current-bookmark'.
4374 (bookmark-set): Get `defaults' property from the bookmark record
4375 and use it in `read-from-minibuffer'.
4376 (bookmark-insert-current-bookmark): Remove function.
4377
4378 * info.el (Info-bookmark-make-record): Add `defaults' property
4379 with values of canonical Info node name, the current Info file
4380 name and the current Info node name. (Bug#12107)
4381
4382 2012-08-08 Juri Linkov <juri@jurta.org>
4383
4384 * files.el (basic-save-buffer): Use `buffer-name' as the default
4385 of `read-file-name' when buffer is not visiting a file (bug#12128).
4386
4387 2012-08-08 Juri Linkov <juri@jurta.org>
4388
4389 * info.el (Info-isearch-search): Doc fix.
4390 (Info-search): Change search-failed message from "initial node" to
4391 "end of node" (bug#12078).
4392 (Info-isearch-search): Change `isearch-string-state' to
4393 `isearch--state-string'.
4394
4395 2012-08-08 Glenn Morris <rgm@gnu.org>
4396
4397 * language/persian.el: Remove file.
4398 * language/misc-lang.el: Move unique part of persian.el here.
4399 * loadup.el: Remove language/persian.
4400
4401 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
4402
4403 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4404
4405 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
4406
4407 * progmodes/python.el: Fix defsubst warning.
4408 (python-syntax-context) Rename from python-info-ppss-context.
4409 (python-syntax-context-type): Rename from
4410 python-info-ppss-context-type.
4411 (python-syntax-comment-or-string-p): Rename from
4412 python-info-ppss-comment-or-string-p.
4413
4414 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4415
4416 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4417
4418 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
4419
4420 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4421 a defcustom that is quoted with backquote.
4422
4423 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4424 Fix handling of interactive spec when the body uses return.
4425 (math-do-arg-check, math-define-function-body): Use backquote forms.
4426 * calc/calc-ext.el (math-defcache): Likewise.
4427 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4428 * allout.el (allout-new-exposure): Likewise.
4429 * calc/calcalg2.el (math-tracing-integral): Likewise.
4430 * info.el (Info-last-menu-item): Likewise.
4431 * emulation/vip.el (vip-loop): Likewise.
4432 * textmodes/artist.el (artist-funcall): Likewise.
4433 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4434 Construct menu-item directly.
4435
4436 * progmodes/autoconf.el (font-lock-syntactic-keywords):
4437 Don't declare.
4438
4439 2012-08-07 Chong Yidong <cyd@gnu.org>
4440
4441 * simple.el (deactivate-mark): Preserve text properties when
4442 saving the primary selection (Bug#8384).
4443
4444 2012-08-07 Kevin Ryde <user42@zip.com.au>
4445
4446 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4447 (woman-parse-numeric-value): On a bad .IP line, issue a warning
4448 and continue processing (Bug#12110).
4449
4450 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4451
4452 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4453 syntax-propertize-function (bug#10095).
4454
4455 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4456
4457 * help-fns.el (help-fns--key-bindings, help-fns--signature)
4458 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
4459 describe-function-1.
4460 (describe-function-1): Use them. Move compiler macro after sig.
4461 (help-fns--compiler-macro): Use function-get. Assume we're already in
4462 standard-output. Adjust layout to new call order.
4463
4464 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4465 re-binding a symbol that has a symbol-macro (bug#12119).
4466
4467 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
4468
4469 * language/persian.el: New file. (Bug#11812)
4470 * loadup.el: Add language/persian.el.
4471
4472 2012-08-06 Chong Yidong <cyd@gnu.org>
4473
4474 * window.el (window--maybe-raise-frame): New function.
4475 (window--display-buffer): Split off from here.
4476 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4477 (display-buffer-pop-up-window, display-buffer-use-some-window):
4478 Obey an inhibit-switch-frame action alist entry.
4479 (display-buffer): Update doc.
4480
4481 * replace.el (occur-after-change-function): Avoid losing focus by
4482 using the inhibit-switch-frame display parameter (Bug#12139).
4483
4484 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
4485
4486 Make internal shell process buffer names start with space.
4487 * progmodes/python.el (python-shell-make-comint): Add optional
4488 argument INTERNAL.
4489 (run-python-internal): Use it.
4490 (python-shell-internal-get-or-create-process): Check for new
4491 internal buffer names.
4492
4493 2012-08-06 Glenn Morris <rgm@gnu.org>
4494
4495 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
4496 Do less getting and setting of environment variables.
4497
4498 2012-08-05 Chong Yidong <cyd@gnu.org>
4499
4500 * proced.el (proced): Add substitution string to docstring to
4501 trigger autoloading of the proced library on C-h f (Bug#1768).
4502
4503 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4504 Don't show defvars which have no second argument (Bug#8638).
4505
4506 * imenu.el (imenu-generic-expression): Move documentation here
4507 from imenu--generic-function.
4508 (imenu--generic-function): Refer to imenu-generic-expression.
4509
4510 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
4511
4512 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4513 indentation declaration.
4514 (viper-loop): Add indentation declaration (Bug#7025).
4515
4516 2012-08-05 Chong Yidong <cyd@gnu.org>
4517
4518 * help-fns.el (describe-variable): Add hyperlink for
4519 directory-local variables files. Improve buffer-local and
4520 permanent-local reporting; suggested by MON KEY (Bug#6644).
4521
4522 * help-mode.el (help-dir-local-var-def): New button type.
4523
4524 * files.el (kill-buffer-hook): Provide a defvar.
4525
4526 2012-08-05 Glenn Morris <rgm@gnu.org>
4527
4528 * eshell/esh-ext.el (eshell/addpath):
4529 Also update eshell-path-env. (Bug#12013)
4530
4531 2012-08-05 Chong Yidong <cyd@gnu.org>
4532
4533 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
4534
4535 * fringe.el (fringe-styles): Add docstring.
4536 (fringe--check-mode): New function.
4537 (set-fringe-mode, set-fringe-style): Use it.
4538 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
4539
4540 * files.el (set-auto-mode): Fix invalid setq call.
4541
4542 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4543
4544 * isearch.el: Misc simplification; use defstruct.
4545 (isearch-mode-map): Dense maps now work like sparse ones.
4546 (isearch--state): New defstruct.
4547 (isearch-string-state, isearch-message-state, isearch-point-state)
4548 (isearch-success-state, isearch-forward-state)
4549 (isearch-other-end-state, isearch-word-state, isearch-error-state)
4550 (isearch-wrapped-state, isearch-barrier-state)
4551 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
4552 replaced by defstruct's accessors.
4553 (isearch--set-state): Rename from isearch-top-state and change
4554 calling convention.
4555 (isearch-push-state): Use new isearch--get-state.
4556 (isearch-toggle-word): Disable regexp when enabling word.
4557 (isearch-message-prefix): Remove unused arg _c-q-hack.
4558 (isearch-message-suffix): Remove unused arg _ellipsis.
4559
4560 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
4561
4562 * simple.el (list-processes--refresh): For a server use :host or
4563 :local as the address.
4564 (list-processes): Doc fix.
4565
4566 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
4567
4568 * lisp/mpc.el: Support password in host argument.
4569 (mpc--proc-connect): Parse and use new password element.
4570 Set mpc-proc variable instead of returning process.
4571 (mpc-proc): Adjust accordingly.
4572
4573 2012-08-03 Eli Zaretskii <eliz@gnu.org>
4574
4575 * whitespace.el (whitespace-display-mappings): Use Unicode
4576 codepoints, instead of emacs-mule codepoints. See
4577 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
4578 for the details.
4579
4580 * files.el (file-truename): Don't skip symlink-chasing part on
4581 windows-nt. Incorporate the resolution of 8+3 short aliases on
4582 Windows into the loop that recursively chases symlinks.
4583 Compare directory and its parent case-insensitively on MS-Windows and
4584 MS-DOS.
4585
4586 2012-08-03 Chong Yidong <cyd@gnu.org>
4587
4588 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
4589
4590 * sort.el (sort-regexp-fields): Doc fix.
4591
4592 2012-08-03 Tassilo Horn <tsdh@gnu.org>
4593
4594 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
4595 labels regex position point at the expected place.
4596
4597 2012-08-03 MON KEY <monkey@sandpframing.com>
4598
4599 * net/imap.el (imap-interactive-login, imap-authenticate)
4600 (imap-mailbox-lsub, imap-mailbox-list)
4601 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
4602 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
4603 (imap-parse-response): Doc fix.
4604
4605 2012-08-03 João Távora <joaotavora@gmail.com>
4606
4607 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
4608 if sexp scanning does not move point (Bug#5734).
4609
4610 2012-08-02 Tassilo Horn <tsdh@gnu.org>
4611
4612 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
4613 Add listings, minted, and ctable packages.
4614 (reftex-label-alist-builtin): Move listings, minted, and ctable
4615 entries before LaTeX.
4616 (reftex-label-alist): Docfix.
4617
4618 2012-08-02 Bastien Guerry <bzg@gnu.org>
4619
4620 * replace.el (occur): Fix docstring (bug#12122).
4621
4622 2012-08-02 Glenn Morris <rgm@gnu.org>
4623
4624 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
4625
4626 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
4627
4628 Obsolete alias inactivate-current-input-method-function (Bug#10150).
4629 * international/mule-cmds.el: Create
4630 inactivate-current-input-method-function as an obsolete alias for
4631 deactivate-current-input-method-function. See Katsumi Yamaoka in
4632 <http://bugs.gnu.org/10150#46>.
4633
4634 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
4635
4636 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
4637 of nested `if's.
4638
4639 2012-08-01 Glenn Morris <rgm@gnu.org>
4640
4641 * progmodes/autoconf.el (autoconf-definition-regexp):
4642 Add AH_TEMPLATE, adjust submatch numbering.
4643 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
4644 (autoconf-current-defun-function): Update for above change.
4645 (autoconf-current-defun-function): First skip to end of current word.
4646
4647 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
4648
4649 * calendar/cal-html.el (cal-html-insert-agenda-days):
4650 Fix typo. (Bug#12018)
4651
4652 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4653
4654 Shell processes: enhancements to startup and CEDET compatibility.
4655 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
4656 (python-shell-make-comint): accept-process-output at startup.
4657 (run-python-internal): Set inferior-python-mode-hook to nil.
4658 (python-shell-internal-get-or-create-process): call sit-for.
4659 (python-preoutput-result): Add obsolete alias.
4660 (python-shell-internal-send-string): Use it.
4661 (python-shell-send-setup-code): Remove call to
4662 accept-process-output.
4663
4664 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
4665
4666 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
4667 (Bug#12108)
4668
4669 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
4670
4671 * calc-mode.el (calc-basic-simplification-mode): Rename from
4672 `calc-limited-simplification-mode'.
4673 (calc-alg-simplification-mode): New function.
4674 (calc-set-simplify-mode): Adjust message.
4675
4676 * calc.el (calc-set-mode-line): Adjust mode line display for
4677 basic simplification mode.
4678
4679 * calc-help.el (calc-m-prefix-help): Update help message.
4680
4681 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
4682 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
4683
4684 2012-07-31 Bastien Guerry <bzg@gnu.org>
4685
4686 * man.el (man): Fix comment. (bug#12101)
4687
4688 2012-07-31 Martin Rudalics <rudalics@gmx.at>
4689
4690 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4691 Don't return a non-nil value when no suitable buffer was found.
4692
4693 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4694
4695 * progmodes/python.el (run-python-internal): Disable font lock for
4696 internal shells.
4697
4698 2012-07-30 Stefan Merten <smerten@oekonux.de>
4699
4700 * textmodes/rst.el: Silence `checkdoc-ispell'.
4701 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4702 (rst-official-version, rst-official-cvs-rev)
4703 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4704 (rst-mode-map): New key binding.
4705
4706 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
4707
4708 Update .PHONY listings in makefiles.
4709 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4710 autoloads, update-subdirs, updates, bzr-update, update-authors,
4711 compile-onefile, compile-calc, backup-compiled-files,
4712 compile-after-backup, compile-one-process, mh-autoloads,
4713 bootstrap-clean, distclean, maintainer-clean.
4714
4715 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
4716
4717 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4718 (calc-set-mode-line): Don't display "AlgSimp ".
4719
4720 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4721 (calc-lim-simplify-mode): New function.
4722 (calc-set-simplify-mode): Default to 'alg.
4723 (calc-default-simplify-mode): Make algebraic simplifications
4724 the default.
4725
4726 * calc/calc-ext.el (calc-init-extensions): Remove binding for
4727 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
4728
4729 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4730 indicate new simplification modes.
4731
4732 * calc/README: Mention new default simplification mode.
4733
4734 * calc/calc.el (math-normalize-error): New variable.
4735 (math-normalize): Set `math-normalize-error' to t
4736 when there's an error.
4737
4738 * calc/calc-alg.el (math-simplify): Don't simplify when
4739 `math-normalize' returns an error.
4740
4741 2012-07-29 Eli Zaretskii <eliz@gnu.org>
4742
4743 * international/mule-cmds.el (set-locale-environment): Revert last
4744 change, since display-graphic-p returns nil when this function is
4745 called during startup. Instead...
4746
4747 * term/w32console.el (terminal-init-w32console): ...setup the
4748 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
4749
4750 2012-07-29 Juri Linkov <juri@jurta.org>
4751
4752 * simple.el (goto-line): Don't display default line number in the
4753 prompt because it should be displayed by `read-number' (bug#9952).
4754 Add the current line number to the defaults of `goto-line' to
4755 allow its easier modification by users with `M-n' (bug#9201).
4756
4757 * subr.el (read-number): Support multiple default values like in
4758 other minibuffer reading functions. Replace `read' with
4759 `string-to-number' for consistency with `number-to-string'.
4760
4761 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
4762
4763 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4764 * emulation/viper-init.el (viper-deactivate-input-method-action):
4765 Rename from viper-inactivate-input-method-action.
4766 (viper-deactivate-input-method):
4767 Rename from viper-inactivate-input-method.
4768 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4769 * international/mule-cmds.el (deactivate-input-method):
4770 Rename from inactivate-input-method.
4771 Also run input-method-deactivate-hook.
4772 (deactivate-current-input-method-function):
4773 Rename from inactivate-current-input-method-function.
4774 (input-method-deactivate-hook): New hook.
4775 (input-method-inactivate-hook): Mark obsolete.
4776 (inactivate-input-method): Mark obsolete.
4777
4778 * international/quail.el (quail-activate):
4779 Also run quail-deactivate-hook.
4780 (quail-deactivate): Rename from quail-inactivate.
4781 * international/robin.el (robin-activate):
4782 Also run robin-deactivate-hook.
4783 (robin-deactivate): Rename from robin-inactivate.
4784
4785 2012-07-29 Chong Yidong <cyd@gnu.org>
4786
4787 * simple.el (indicate-copied-region): New function.
4788 (kill-ring-save): Split off from here.
4789
4790 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4791 (kill-rectangle): Set deactivate-mark to t on read-only error.
4792
4793 * register.el (copy-to-register, copy-rectangle-to-register):
4794 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4795 (append-to-register, prepend-to-register): Call indicate-copied-region.
4796
4797 2012-07-29 Juri Linkov <juri@jurta.org>
4798
4799 * simple.el (async-shell-command-buffer): New defcustom.
4800 (shell-command): Use it. (Bug#4719)
4801
4802 2012-07-28 Eli Zaretskii <eliz@gnu.org>
4803
4804 * international/mule-cmds.el (set-locale-environment): In a
4805 console session on MS-Windows, set up keyboard and terminal
4806 encoding from the OEM codepage, not the ANSI codepage.
4807 (Bug#12055)
4808
4809 2012-07-28 Chong Yidong <cyd@gnu.org>
4810
4811 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4812 gdb-get-location.
4813
4814 2012-07-28 Leo Liu <sdl.web@gmail.com>
4815
4816 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4817 the alist (bug#12029).
4818
4819 2012-07-28 Eli Zaretskii <eliz@gnu.org>
4820
4821 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4822 (compile-always, compile-first)
4823 ($(lisp)/calendar/cal-loaddefs.el)
4824 ($(lisp)/calendar/diary-loaddefs.el)
4825 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4826 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4827 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4828 instead of on update-subdirs.
4829 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4830
4831 2012-07-28 Chong Yidong <cyd@gnu.org>
4832
4833 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4834 directory if vc-deduce-backend returns nil (Bug#7350).
4835
4836 * simple.el (delete-trailing-lines): New option.
4837 (delete-trailing-whitespace): Obey it (Bug#11879).
4838
4839 2012-07-28 David Engster <deng@randomsample.de>
4840
4841 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4842 Explanation of new 'symbol-qnames feature in doc-strings.
4843 (xml-maybe-do-ns): Return expanded names as plain symbols if
4844 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4845 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4846
4847 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4848
4849 Consistent completion in inferior python with emacs -nw.
4850 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4851 binding in inferior-python-mode-map with "\t".
4852 (python-shell-completion-complete-at-point)
4853 (python-completion-complete-at-point): Remove interactive spec.
4854
4855 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4856
4857 * calc/calccomp.el (math-compose-expr): Undo previous change.
4858
4859 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4860
4861 * progmodes/python.el (python-mode-map): Add keybinding for
4862 run-python.
4863 (python-shell-make-comint): Fix pop-to-buffer call.
4864 (run-python): Autoload. New arg SHOW.
4865 (python-shell-get-or-create-process): Do not pop python process
4866 buffer.
4867
4868 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
4869
4870 * notifications.el (notifications-on-action-signal)
4871 (notifications-on-closed-signal): Use also the bus address for the map.
4872 (notifications-notify, notifications-close-notification)
4873 (notifications-get-capabilities): Add optional argument BUS.
4874
4875 2012-07-27 Tassilo Horn <tsdh@gnu.org>
4876
4877 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4878 Add support for the lstlisting and minted environments, and for the
4879 ctable macro.
4880 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4881 labels written in keyvals syntax.
4882
4883 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4884
4885 * calc/calccomp.el (math-compose-expr): Use parentheses when
4886 there is a product in the denominator of a fraction.
4887
4888 2012-07-26 Eli Zaretskii <eliz@gnu.org>
4889
4890 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4891 ($(lisp)/calendar/diary-loaddefs.el)
4892 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4893 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4894 Fixes failures in parallel bootstrap because subdirs.el is being
4895 rewritten while the autoload files are built at the same time,
4896 which needs to load subdirs.el.
4897
4898 2012-07-26 Martin Rudalics <rudalics@gmx.at>
4899
4900 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4901 (mouse-drag-line): Don't exit tracking when a switch-frame or
4902 switch-window event occurs (Bug#12006).
4903
4904 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4905
4906 * mouse.el (popup-menu): Fix last change.
4907
4908 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4909
4910 Autoload from Lisp with more care. Follow aliases when looking for
4911 function properties.
4912 * subr.el (autoloadp): New function.
4913 (symbol-file): Use it.
4914 (function-get): New function.
4915 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4916 autoload-do-load.
4917 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4918 (lisp-indent-function):
4919 * emacs-lisp/gv.el (gv-get):
4920 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4921 * emacs-lisp/byte-opt.el (byte-optimize-form):
4922 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4923 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4924 Use function-get.
4925 * emacs-lisp/cl.el: Don't propagate function properties any more.
4926
4927 * speedbar.el (speedbar-add-localized-speedbar-support):
4928 * emacs-lisp/disass.el (disassemble-internal):
4929 * desktop.el (desktop-load-file):
4930 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4931 (describe-function-1):
4932 * emacs-lisp/find-func.el (find-function-noselect):
4933 * emacs-lisp/elp.el (elp-instrument-function):
4934 * emacs-lisp/advice.el (ad-has-proper-definition):
4935 * apropos.el (apropos-safe-documentation, apropos-macrop):
4936 * emacs-lisp/debug.el (debug-on-entry):
4937 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4938 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4939 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4940
4941 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4942
4943 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4944 function, not an obsolete variable (Bug#12046).
4945
4946 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4947
4948 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4949
4950 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4951
4952 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4953 window only if it is still live (Bug#12034).
4954
4955 2012-07-25 Martin Rudalics <rudalics@gmx.at>
4956
4957 * subr.el (redirect-frame-focus): Add advertised calling
4958 convention (Bug#12030).
4959
4960 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4961
4962 Prefer typical American spelling for "acknowledgment".
4963 * vc/add-log.el (change-log-acknowledgment): Rename from
4964 change-log-acknowledgement, with an alias for the old name.
4965
4966 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4967
4968 * calc-alg.el (math-simplify-divide): Don't cross multiply
4969 in an equation when the lhs is a variable.
4970
4971 2012-07-24 Julien Danjou <julien@danjou.info>
4972
4973 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4974 Remove, unused.
4975
4976 2012-07-23 Eli Zaretskii <eliz@gnu.org>
4977
4978 * startup.el (command-line): Don't display an empty user name in
4979 the error message about non-existent home directory, when
4980 init-file-user was set to an empty string. See
4981 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4982 for the details and context.
4983
4984 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4985
4986 * ses.el (ses-cell-formula-aset): New macro.
4987 (ses-cell-references-aset): New macro.
4988 (ses-cell-p): New function.
4989 (ses-rename-cell): Do no longer rely on complex operations like
4990 ses-cell-set-formula or ses-set-cell to change the cell and handle
4991 the undo at the same time, but rather use lower level new macros
4992 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
4993 the undo directly. Refresh the mode line.
4994
4995 2012-07-21 Leo Liu <sdl.web@gmail.com>
4996
4997 * progmodes/cc-cmds.el (c-defun-name):
4998 Use match-string-no-properties instead for consistency.
4999
5000 2012-07-20 Leo Liu <sdl.web@gmail.com>
5001
5002 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
5003 (Bug#7879)
5004
5005 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
5006
5007 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
5008
5009 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
5010 * progmodes/bug-reference.el, misearch.el: Provide themselves
5011 (bug#11915).
5012
5013 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
5014 of narrowed buffer (bug#11966).
5015
5016 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
5017
5018 * ses.el (ses-rename-cell): Set new name also in reference list of
5019 cells of which the renamed cell depends.
5020
5021 2012-07-20 Masatake YAMATO <yamato@redhat.com>
5022
5023 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
5024 to check whether menu-bar is shown or not. If not shown,
5025 show the menu-bar as a popup menu instead of using tmm.
5026 * mouse.el (popup-menu): Accept `point' as `position' argument.
5027
5028 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
5029
5030 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
5031 up inside string symbol literal (bug#11923).
5032
5033 2012-07-20 Eli Zaretskii <eliz@gnu.org>
5034
5035 * startup.el (fancy-startup-text): Read the whole tutorial, not
5036 just its first 256 bytes. Prevents gibberish in display of the
5037 tutorial title.
5038
5039 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
5040
5041 Drop idle buffer compaction due to an absence of the
5042 proved efficiency.
5043 * compact.el: Remove.
5044
5045 2012-07-19 Sam Steingold <sds@gnu.org>
5046
5047 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
5048 vc-bzr-pull & vc-bzr-merge-branch.
5049 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
5050 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
5051 for consistency with compilation-error-regexp-alist.
5052 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
5053 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
5054 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
5055 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
5056
5057 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5058
5059 * emacs-lisp/chart.el: Use lexical-binding.
5060 (chart-emacs-storage): Don't hardcode the list of entries.
5061
5062 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5063
5064 Next round of tweaks caused by Fgarbage_collect changes.
5065 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
5066
5067 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5068
5069 Compact buffers when idle.
5070 * compact.el: New file.
5071
5072 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5073
5074 * subr.el (eventp): Presume that if it looks vaguely like an event,
5075 it's an event (bug#10190).
5076
5077 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
5078
5079 Enhancements to ppss related code (thanks Stefan).
5080 * progmodes/python.el (python-indent-context)
5081 (python-indent-calculate-indentation, python-indent-dedent-line)
5082 (python-indent-electric-colon, python-nav-forward-block)
5083 (python-mode-abbrev-table)
5084 (python-info-assignment-continuation-line-p): Simplify checks
5085 for ppss context.
5086 (python-info-continuation-line-p): Cleanup.
5087 (python-info-ppss-context): Do not catch 'quote.
5088 (python-info-ppss-context-type)
5089 (python-info-ppss-comment-or-string-p): Simplify.
5090
5091 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
5092
5093 * progmodes/python.el: Enhancements to eldoc support.
5094 (python-info-current-symbol): New function.
5095 (python-eldoc-at-point): Use python-info-current-symbol.
5096 (python-info-current-defun): Fix cornercase on first defun scan.
5097 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
5098 and signal error when no inferior python process is available.
5099
5100 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
5101
5102 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
5103 assume it's always t.
5104 (vc-git-registered): Remove caching, the function is only called
5105 once.
5106 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
5107
5108 2012-07-18 Chong Yidong <cyd@gnu.org>
5109
5110 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
5111
5112 * simple.el (count-words): Report on narrowing (Bug#9959).
5113
5114 * bindings.el: Bind M-= to count-words.
5115
5116 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
5117
5118 2012-07-18 Masatake YAMATO <yamato@redhat.com>
5119
5120 * progmodes/sh-script.el (sh-imenu-generic-expression):
5121 Capture a function with `function' keyword and without parentheses
5122 like "function FOO" (bug#11856).
5123
5124 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
5125
5126 * window.el (split-window-sensibly): Make WINDOW argument
5127 optional.
5128
5129 2012-07-18 Chong Yidong <cyd@gnu.org>
5130
5131 * subr.el (keyboard-translate): Doc fix (Bug#7261).
5132
5133 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
5134 and make C-x 8 RET exit isearch (Bug#11439).
5135
5136 * international/iso-transl.el: Move isearch-mode-map key
5137 definitions to isearch.el.
5138
5139 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
5140
5141 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
5142 (eieio-defclass): Use gv-define-setter when possible.
5143
5144 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
5145
5146 Reflect recent changes in Fgarbage_collect.
5147 * emacs-lisp/chart.el (chart-emacs-storage): Change to
5148 reflect new format of data returned by Fgarbage_collect.
5149
5150 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5151
5152 New utility functions + python-info-ppss-context fix (Bug#11910).
5153 * progmodes/python.el (python-info-beginning-of-block-statement-p)
5154 (python-info-ppss-comment-or-string-p): New functions.
5155 (python-info-ppss-context): Small fix for string check.
5156
5157 2012-07-17 Juri Linkov <juri@jurta.org>
5158
5159 * dired-aux.el (dired-do-async-shell-command): Doc fix.
5160 (dired-do-async-shell-command): Don't add `*' at the end of the
5161 command (Bug#11815).
5162 (dired-do-shell-command): Doc fix.
5163 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
5164 Join the individual commands using either "&" or ";" as the
5165 separator depending on the values of these trailing characters.
5166 At the end re-add the trailing "&". (Bug#10598)
5167
5168 * simple.el (async-shell-command): Sync the interactive spec with
5169 `shell-command'. Doc fix.
5170 (shell-command): Doc fix.
5171
5172 2012-07-17 Juri Linkov <juri@jurta.org>
5173
5174 * descr-text.el (describe-char): Fix format args. (Bug#10129)
5175
5176 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5177
5178 Final renames and doc fixes for movement commands (bug#11899).
5179 * progmodes/python.el (python-nav-beginning-of-statement):
5180 Rename from python-nav-statement-start.
5181 (python-nav-end-of-statement): Rename from
5182 python-nav-statement-end.
5183 (python-nav-beginning-of-block): Rename from
5184 python-nav-block-start.
5185 (python-nav-end-of-block): Rename from python-nav-block-end.
5186
5187 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5188
5189 * progmodes/python.el (python-shell-send-string-no-output):
5190 Allow accept-process-output to quit, keeping shell process ready for
5191 future interactions (Bug#11868).
5192
5193 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5194
5195 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5196
5197 * emacs-lisp/elint.el (elint-find-args-in-code):
5198 Use help-function-arglist, so as to handle lexical byte-code.
5199
5200 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5201 change (bug#11826).
5202
5203 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5204
5205 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5206 Avoid spuriously marking the buffer as modified because of c-is-sws.
5207
5208 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5209 as not-a-comment (bug#11946).
5210
5211 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5212 for uninterned vars.
5213
5214 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5215 Use read-event since we don't really want to read chars but bytes.
5216
5217 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5218 $$..$$ but also $..$ using regexps (bug#11953).
5219 Use tex-verbatim for \url and \path.
5220 (tex-font-lock-keywords): Define as defconst like the others.
5221 (tex-common-initialization): Don't use font-lock-syntax-table any more.
5222
5223 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
5224
5225 * international/mule-cmds.el (ucs-insert): Make it an obsolete
5226 alias for insert-char.
5227
5228 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5229
5230 * progmodes/python.el: Simplified imenu implementation.
5231 (python-nav-jump-to-defun): Remove command.
5232 (python-mode-map): Use `imenu' instead.
5233 (python-nav-list-defun-positions-cache)
5234 (python-imenu-include-defun-type, python-imenu-make-tree)
5235 (python-imenu-subtree-root-label, python-imenu-index-alist):
5236 Remove vars.
5237 (python-nav-list-defun-positions, python-nav-read-defun)
5238 (python-imenu-tree-assoc, python-imenu-make-element-tree)
5239 (python-imenu-make-tree, python-imenu-create-index):
5240 Remove functions.
5241 (python-mode): Update to interact with imenu by setting
5242 `imenu-extract-index-name-function' only.
5243
5244 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5245
5246 * progmodes/python.el: Enhancements to navigation commands.
5247 (python-nav-backward-sentence)
5248 (python-nav-forward-sentence): Remove.
5249 (python-nav-backward-statement, python-nav-forward-statement)
5250 (python-nav-statement-start, python-nav-statement-end)
5251 (python-nav-backward-block, python-nav-forward-block)
5252 (python-nav-block-start, python-nav-block-end)
5253 (python-nav-forward-sexp-function)
5254 (python-info-current-line-comment-p)
5255 (python-info-current-line-empty-p): New functions.
5256 (python-indent-context): Use `python-nav-statement-start'.
5257
5258 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
5259
5260 * eshell/em-ls.el (eshell/ls): Use `apply'.
5261
5262 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5263 multi-hops, instead of Tramp internals.
5264
5265 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5266
5267 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5268 when F1 and F2 are located on different hosts.
5269
5270 2012-07-14 Chong Yidong <cyd@gnu.org>
5271
5272 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5273 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5274 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5275 (xterm-mouse--read-event-sequence-1000)
5276 (xterm-mouse--read-event-sequence-1006): New functions. For old
5277 mouse protocol, handle M-mouse-X events correctly.
5278 (xterm-mouse-event): New arg specifying mouse protocol.
5279 (turn-on-xterm-mouse-tracking-on-terminal)
5280 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
5281 sequence to toggle extended coordinates on newer XTerms.
5282 This appears to be harmless on terminals which do not support this.
5283
5284 2012-07-14 Leo Liu <sdl.web@gmail.com>
5285
5286 Add fringe bitmap indicators for flymake. (Bug#11253)
5287 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
5288 (flymake-make-overlay): New arg BITMAP.
5289 (flymake-error-bitmap, flymake-warning-bitmap)
5290 (flymake-fringe-indicator-position): New user variables.
5291
5292 * fringe.el: New bitmap exclamation-mark.
5293
5294 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
5295
5296 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
5297 also (Bug#7879).
5298
5299 2012-07-14 Chong Yidong <cyd@gnu.org>
5300
5301 * electric.el (electric-pair-post-self-insert-function): Fix pair
5302 insertion in empty-region case (Bug#11520).
5303
5304 2012-07-14 Chong Yidong <cyd@gnu.org>
5305
5306 * bindings.el: Consolidate ctl-x-r-map bindings.
5307 Bind copy-rectangle-as-kill to C-x r w.
5308
5309 * rect.el, register.el: Move bindings to bindings.el.
5310
5311 2012-07-14 Reuben Thomas <rrt@sc3d.org>
5312
5313 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
5314
5315 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
5316
5317 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
5318
5319 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
5320
5321 * bindings.el (top): Use `mapc' instead of `mapcar'.
5322
5323 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5324
5325 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
5326
5327 * progmodes/sql.el (sql-comint): Suppress the check for program on
5328 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
5329 (Bug#11908)
5330
5331 2012-07-13 Chong Yidong <cyd@gnu.org>
5332
5333 * bindings.el: Assign a non-nil permanent-local property to
5334 per-buffer variables which lack a default value (Bug#11930).
5335
5336 * help-fns.el (describe-variable): In the "automatically becomes
5337 local" notice, take note of permanent-local variables.
5338
5339 2012-07-13 Chong Yidong <cyd@gnu.org>
5340
5341 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
5342 to allow printing the message when called from Lisp.
5343
5344 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5345 Remove toggle-read-only.
5346
5347 * bs.el (bs-toggle-readonly):
5348 * buff-menu.el (Buffer-menu-toggle-read-only):
5349 Remove with-no-warnings around toggle-read-only.
5350
5351 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
5352 Remove with-no-warnings around toggle-read-only.
5353 (ffap-read-only, ffap-read-only-other-window)
5354 (ffap-read-only-other-frame): Callers changed.
5355
5356 * help-mode.el: Don't require view package.
5357 (help-mode-finish): Set buffer-read-only instead of calling
5358 toggle-read-only.
5359
5360 * bindings.el (mode-line-toggle-read-only):
5361 * dired.el (dired-toggle-read-only):
5362 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
5363 with non-nil second arg.
5364
5365 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5366 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
5367 directly.
5368
5369 2012-07-12 Eli Zaretskii <eliz@gnu.org>
5370
5371 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
5372 not incf.
5373
5374 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
5375
5376 More CL cleanups and reduction of use of cl.el.
5377 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5378 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
5379 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
5380 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
5381 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
5382 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
5383 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
5384 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
5385 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5386 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5387 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5388 * eshell/em-cmpl.el, eshell/em-banner.el:
5389 * calendar/parse-time.el: Use cl-lib.
5390 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5391 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5392 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5393 * term/ns-win.el, term.el, shell.el, ps-samp.el:
5394 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5395 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5396 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5397 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5398 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5399 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5400 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5401 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5402 `lambda' rather than with `quote'.
5403 (eshell-do-opt): Adjust accordingly.
5404 (eshell-process-option): Simplify.
5405 * eshell/esh-var.el:
5406 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5407 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5408 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5409 to `pcase--dontcare'.
5410 * emacs-lisp/cl.el (labels): Mark obsolete.
5411 (cl--letf, letf): Move to cl-lib.
5412 (cl--letf*, letf*): Remove.
5413 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5414 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5415 (cl-progv): Rewrite.
5416 (cl--letf, cl-letf): Move from cl.el.
5417 (cl-letf*): New macro.
5418 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5419
5420 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
5421
5422 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5423
5424 2012-07-11 Chong Yidong <cyd@gnu.org>
5425
5426 * vc/log-edit.el (log-edit-vc-backend): New variable.
5427 (log-edit): Doc fix.
5428
5429 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
5430 argument of log-edit to set up all local variables.
5431 (vc-start-logentry): New optional arg specifying VC backend.
5432
5433 * vc/vc.el (vc-checkin): Use it.
5434 (vc-deduce-fileset): Handle Log Edit buffers.
5435 (vc-diff): Make first argument optional too.
5436
5437 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5438
5439 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
5440
5441 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5442 command, just in case. The function is not needed anymore.
5443 (eshell-external-command): Do not call `eshell-remote-command'.
5444
5445 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5446
5447 Reduce use of (require 'cl).
5448 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5449 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5450 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5451 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
5452 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
5453 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
5454 * battery.el, avoid.el, abbrev.el: Use cl-lib.
5455 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
5456 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
5457 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
5458 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
5459 * calculator.el, autorevert.el, apropos.el: Don't require CL.
5460 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5461 (byte-compile-unfold-bcf, byte-compile-check-variable):
5462 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5463 (byte-compile-nilconstp):
5464 * emacs-lisp/autoload.el (make-autoload): Use pcase.
5465 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5466
5467 * emacs-lisp/gv.el (cond): Make it a valid place.
5468 (if): Simplify slightly.
5469
5470 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
5471 (pcase--self-quoting-p): New function.
5472 (pcase--u1): Use it.
5473
5474 2012-07-10 Glenn Morris <rgm@gnu.org>
5475
5476 * emacs-lisp/authors.el (authors-fixed-entries):
5477 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
5478
5479 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
5480
5481 Rename configure.in to configure.ac (Bug#11603).
5482 * emacs-lisp/authors.el (authors-canonical-file-name):
5483 * progmodes/autoconf.el (autoconf-mode):
5484 Prefer configure.ac to configure.in.
5485
5486 2012-07-08 Chong Yidong <cyd@gnu.org>
5487
5488 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
5489 Implement the mouse-1-click-follows-link handling properly.
5490
5491 * info.el (Info-link-keymap): Use follow-link mechanism for
5492 header-line links (Bug#374).
5493
5494 * simple.el (deactivate-mark): Do not set the primary selection
5495 if another program has acquired it (Bug#11772).
5496
5497 2012-07-07 Kevin Ryde <user42@zip.com.au>
5498
5499 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
5500 (woman-decode-region): Replace escaped-escapes without destroying
5501 bold or underline (Bug#11552).
5502 (woman2-process-escapes): Handle nofill regions (Bug#11591).
5503
5504 2012-07-07 Chong Yidong <cyd@gnu.org>
5505
5506 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
5507 (interprogram-cut-function, interprogram-paste-function):
5508 Mention that we typically mean the clipboard.
5509
5510 2012-07-06 Glenn Morris <rgm@gnu.org>
5511
5512 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
5513
5514 * files.el (toggle-read-only): Restrict message to interactive use.
5515
5516 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
5517
5518 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
5519
5520 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
5521
5522 2012-07-06 Glenn Morris <rgm@gnu.org>
5523
5524 * Makefile.in (compile-one-process): Rename from "recompile".
5525
5526 * Makefile.in (bzr-update): "compile" is the same as "recompile
5527 autoloads", but parallelizable, so use that instead.
5528
5529 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
5530
5531 * window.el (quit-window): Always restore window height when
5532 it's saved in quit-restore parameter (Bug#11810).
5533
5534 2012-07-06 Glenn Morris <rgm@gnu.org>
5535
5536 * simple.el (kill-whole-line): Doc tweak.
5537
5538 2012-07-06 Eli Zaretskii <eliz@gnu.org>
5539
5540 * files.el (file-relative-name): Compare file names
5541 case-insensitively if on MS-Windows or MS-DOS, or if
5542 read-file-name-completion-ignore-case is non-nil. Don't use
5543 case-fold-search for this purpose. (Bug#11827)
5544
5545 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
5546
5547 * calendar/cal-dst.el (calendar-current-time-zone):
5548 Return calendar-current-time-zone-cache if non-nil.
5549
5550 2012-07-17 Masatake YAMATO <yamato@redhat.com>
5551 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5552
5553 * calendar/cal-dst.el (calendar-current-time-zone):
5554 Return calendar-current-time-zone-cache if non-nil.
5555
5556 2012-07-06 Glenn Morris <rgm@gnu.org>
5557
5558 * Makefile.in (cvs-update): Remove old alias.
5559
5560 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
5561
5562 Sync with Tramp 2.2.6-pre.
5563
5564 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
5565 compatible declaration.
5566
5567 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5568 Protect `list-load-path-shadows' call.
5569
5570 * net/tramp-compat.el (top): Require packages, which aren't
5571 autoloaded anymore for XEmacs. Protect call of
5572 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
5573 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
5574 it hurts at least for SXEmacs.
5575 (tramp-compat-temporary-file-directory): In XEmacs, there is no
5576 standard-value for `temporary-file-directory'.
5577
5578 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
5579 Redirect stderr to /dev/null.
5580 (tramp-sh-handle-write-region): uid and gid can be floats.
5581 Reported by Russell Sim <russell.sim@gmail.com>.
5582 (tramp-sh-handle-vc-registered): Hide errors.
5583 (tramp-vc-file-name-handler): Use dummy results for `process-file'
5584 and `start-file-process'.
5585 (tramp-maybe-open-connection): Check also whether `non-essential'
5586 is bound.
5587
5588 2012-07-04 Chong Yidong <cyd@gnu.org>
5589
5590 * xml.el (xml--parse-buffer): Use xml-syntax-table.
5591 (xml-parse-tag): Likewise, and avoid changing entity tables.
5592 (xml-syntax-table): Define from scratch, making sure not to give
5593 x2000 and other Unicode spaces whitespace syntax, since those are
5594 not spaces in XML.
5595 (xml-parse-fragment): Delete unused function.
5596 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
5597 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
5598 (xml-entity-ref, xml-pe-reference-re)
5599 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
5600 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
5601 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
5602 (xml-entity-value-re): Use syntax references in regexps where
5603 possible; no need to define inside a let-binding.
5604 (xml-parse-dtd): Use xml-pe-reference-re.
5605 (xml-entity-or-char-ref-re): New defconst.
5606 (xml-parse-string, xml-substitute-special): Use it.
5607
5608 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5609
5610 * files.el (locate-dominating-file): Allow `name' to be a predicate.
5611 (find-file--read-only): New function.
5612 (find-file-read-only, find-file-read-only-other-window)
5613 (find-file-read-only-other-frame): Use it.
5614 (insert-file-contents-literally): Don't `fset'.
5615 (get-free-disk-space): Use locate-dominating-file.
5616
5617 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
5618 function is already compiled.
5619
5620 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
5621
5622 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
5623
5624 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
5625 files on the same host.
5626
5627 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
5628
5629 * help-fns.el (describe-function-1): Only call
5630 help-fns--autoloaded-p when we have a file name. (Bug#11848)
5631
5632 2012-07-03 Chong Yidong <cyd@gnu.org>
5633
5634 * xml.el: Protect parser against XML bombs.
5635 (xml-entity-expansion-limit): New variable.
5636 (xml-parse-string, xml-substitute-special): Use it.
5637 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
5638
5639 2012-07-03 Glenn Morris <rgm@gnu.org>
5640
5641 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5642 Allow linking to specific messages in debbugs reports (eg 123#5).
5643
5644 2012-07-02 Chong Yidong <cyd@gnu.org>
5645
5646 * xml.el: Fix entity and character reference expansion, allowing
5647 them to expand into markup as per XML spec.
5648 (xml-default-ns): New variable.
5649 (xml-entity-alist): Use XML spec definitions for lt and amp.
5650 (xml-parse-region): Make first two arguments optional.
5651 Discard text properties.
5652 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
5653 All callers changed.
5654 (xml-parse-tag): Call xml-parse-tag-1. For backward
5655 compatibility, this function should not modify buffer contents.
5656 (xml-parse-tag-1): Fix opening-tag regexp.
5657 (xml-parse-string): Rewrite, handling entity and character
5658 references properly.
5659 (xml--entity-replacement-text): Signal an error if a parameter
5660 entity is undefined.
5661
5662 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5663
5664 * comint.el (comint-output-filter): Filter out repeated prompts.
5665
5666 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
5667 and file-name-absolute-p.
5668 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
5669 internal calls.
5670
5671 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
5672
5673 Spelling fixes.
5674 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
5675 Rename from byte-compile--refiy-function. All uses changed.
5676
5677 2012-07-01 Chong Yidong <cyd@gnu.org>
5678
5679 * xml.el (xml--parse-buffer): New function. Move most of
5680 xml-parse-region here.
5681 (xml-parse-region): Copy region into a temporary buffer, since
5682 parameter entity substitution requires changing buffer contents.
5683 Use xml--parse-buffer.
5684 (xml-parse-file): Use xml--parse-buffer.
5685 (xml-parse-dtd): Make parameter entity substitution work right.
5686 Use proper regexps for ELEMENT declarations (Bug#7172).
5687
5688 2012-06-30 Glenn Morris <rgm@gnu.org>
5689
5690 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
5691
5692 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5693 Remove outdated and unnecessary dbus declarations.
5694
5695 2012-06-30 Eli Zaretskii <eliz@gnu.org>
5696
5697 * emacs-lisp/timer.el (timer-until): Subtract results of
5698 float-time, instead of taking float-time of the result of
5699 time-subtract, since float-time signals an error for negative time
5700 arguments.
5701
5702 2012-06-30 Chong Yidong <cyd@gnu.org>
5703
5704 * xml.el (xml-*-re): Convert defvars into defconsts, and
5705 eval-and-compile them so eval-and-compile works on derivatives.
5706 (xml--entity-replacement-text): Use eval-and-comple.
5707
5708 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
5709
5710 * vc/vc-git.el (vc-git-registered): Use cache property
5711 `git-registered'.
5712 (vc-git-mode-line-string): Call `vc-working-revision' instead of
5713 `vc-git-working-revision' in order to benefit from the cache.
5714 (vc-git-root): Use cache property `git-root'. (Bug#11757)
5715
5716 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
5717
5718 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
5719 removed (likely outside Emacs). (Bug#11757)
5720
5721 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5722
5723 * emacs-lisp/cl-lib.el: Require macroexp.
5724
5725 2012-06-30 Chong Yidong <cyd@gnu.org>
5726
5727 * xml.el: Implement XML parameter entities.
5728 (xml-parameter-entity-alist): New variable.
5729 (xml-parse-region, xml-parse-fragment): Preserve previous values
5730 of xml-entity-alist and xml-parameter-entity-alist, so that
5731 repeated calls on different documents do not change them.
5732 (xml-parse-tag): Fix doctype regexp.
5733 (xml--entity-replacement-text): New function.
5734 (xml-parse-dtd): Use it. Don't handle system entities; doing that
5735 properly requires url retrieval which is unimplemented.
5736 (xml-escape-string): Doc fix.
5737
5738 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5739
5740 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5741
5742 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
5743
5744 * fringe.el (fringe-mode): Doc fix.
5745
5746 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
5747
5748 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5749 is non-nil.
5750 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5751 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
5752
5753 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
5754
5755 * calendar/cal-dst.el (calendar-current-time-zone):
5756 Return calendar-current-time-zone-cache if non-nil.
5757
5758 2012-06-29 Masatake YAMATO <yamato@redhat.com>
5759
5760 * progmodes/which-func.el (which-func-format):
5761 Add mouse-face. (Bug#11698)
5762
5763 2012-06-29 Leo Liu <sdl.web@gmail.com>
5764
5765 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5766
5767 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5768
5769 * minibuffer.el (minibuffer-confirm-exit-commands):
5770 Add completion-at-point (bug#11725).
5771
5772 2012-06-29 Glenn Morris <rgm@gnu.org>
5773
5774 * progmodes/f90.el (f90-font-lock-keywords-2):
5775 Add some preprocessor elements. (Bug#10499)
5776
5777 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5778
5779 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5780 Use syntax-propertize (bug#11739).
5781
5782 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
5783
5784 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5785
5786 2012-06-28 Julien Danjou <julien@danjou.info>
5787
5788 * term.el (term-handle-colors-array): Use a set of new faces to
5789 color the terminal. Also uses :inverse-video property.
5790 (term-default-fg-color): Set to nil by default, deprecate in favor
5791 of `term-face'.
5792 (term-default-bg-color): Set to nil by default, deprecate in favor
5793 of `term-face'.
5794 (term-current-face): Use `term-face' by default.
5795 (term-bold-attribute): Variable deleted.
5796
5797 2012-06-28 Glenn Morris <rgm@gnu.org>
5798
5799 * simple.el (completion-list-mode-finish):
5800 Don't use toggle-read-only. (Since completion-list-mode has
5801 a special mode-class, it wasn't doing anything extra anyway.)
5802
5803 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5804
5805 Make inlining of other-mode interpreted functions work (bug#11799).
5806 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5807 (byte-compile): Use it to fix compilation of lexical-binding closures.
5808 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5809 function, if needed.
5810
5811 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5812
5813 * help-mode.el (help-make-xrefs): Don't just withstand
5814 cyclic-variable-indirection but any error in documentation-property.
5815
5816 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5817 memory use.
5818 * bindings.el (bindings--define-key): New function.
5819 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5820 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5821 * bindings.el: Use it to purecopy define-key bindings.
5822
5823 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5824
5825 * emacs-lisp/cl.el (flet): Mark obsolete.
5826 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5827 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5828 * progmodes/js.el (js-c-fill-paragraph):
5829 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5830 (ebrowse-switch-member-buffer-to-derived-class):
5831 * play/5x5.el (5x5-solver): Use cl-flet.
5832
5833 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5834 (cl--symbol-function): New macro.
5835 (cl--letf, cl--letf*): Use it.
5836
5837 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5838 Strip "toggle-" if any.
5839
5840 2012-06-27 Glenn Morris <rgm@gnu.org>
5841
5842 * info.el (Info-default-directory-list): Move here from paths.el.
5843 * paths.el: Remove file, which is now empty.
5844 * loadup.el: No longer load "paths".
5845
5846 * custom.el (custom-initialize-delay): Doc fix.
5847
5848 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5849 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5850 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5851 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5852 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5853 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5854 * eshell/eshell.el (eshell-defgroup): Remove alias.
5855
5856 2012-06-27 Chong Yidong <cyd@gnu.org>
5857
5858 * help.el (help-enable-auto-load): New variable.
5859
5860 * help-fns.el (help-fns--autoloaded-p): New function.
5861 (describe-function-1): Refer to a function as "autoloaded" if it
5862 was autoloaded at any time in the past. Perform autoloading if
5863 help-enable-auto-load is non-nil.
5864
5865 2012-06-26 Eli Zaretskii <eliz@gnu.org>
5866
5867 * makefile.w32-in (compile, compile-always): Depend on
5868 update-subdirs, not on subdirs.el. Otherwise, several different
5869 sub-targets of 'bootstrap' running in parallel could
5870 simultaneously write to subdirs.el, producing a garbled file.
5871
5872 2012-06-26 Sam Steingold <sds@gnu.org>
5873
5874 * files.el (file-name-base): New convenience function.
5875 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5876 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5877 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5878 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5879 * textmodes/ispell.el, textmodes/reftex-ref.el:
5880 * textmodes/tex-mode.el: Use it.
5881 Did not touch cedet and org because they are maintained elsewhere.
5882
5883 2012-06-26 Martin Rudalics <rudalics@gmx.at>
5884
5885 * calendar/calendar.el (calendar-exit): Don't try to delete or
5886 iconify last frame. See:
5887 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5888
5889 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5890
5891 * server.el (server-process-filter): Remember dir in the
5892 process's `server-client-directory' properties.
5893
5894 2012-06-24 Chong Yidong <cyd@gnu.org>
5895
5896 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5897 non-tag text.
5898
5899 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
5900
5901 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5902
5903 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5904
5905 * help-fns.el (describe-variable): Don't croak when doc is not found.
5906 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5907 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5908 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5909 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5910 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5911 ((lambda ..) ..).
5912 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5913
5914 2012-06-23 Chong Yidong <cyd@gnu.org>
5915
5916 * info.el (Info-mouse-follow-link): Accept symbol values of
5917 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
5918 (Info-fontify-node): Use Info-link-keymap for all navigation
5919 buttons, with link-args property to perform the desired action.
5920 (Info-link-keymap): Doc fix.
5921 (Info-next-link-keymap, Info-prev-link-keymap)
5922 (Info-up-link-keymap): Delete now-unused keymaps.
5923
5924 2012-06-23 Chong Yidong <cyd@gnu.org>
5925
5926 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5927
5928 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5929 system abbrevs.
5930
5931 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5932
5933 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5934
5935 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5936 (bug#11719).
5937
5938 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5939 the requote function doesn't work properly (bug#11714).
5940
5941 2012-06-23 Glenn Morris <rgm@gnu.org>
5942
5943 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5944
5945 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5946
5947 Further GV/CL cleanups.
5948 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5949 gv-expander.
5950 (gv--defun-declaration): New function.
5951 (defun-declarations-alist): Use it.
5952 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5953 (gv-place): Autoload.
5954 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5955 original definition of dotimes and dolist.
5956 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5957 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5958 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5959 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5960 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5961 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5962 to the function's definition.
5963 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5964 * window.el:
5965 * files.el:
5966 * faces.el:
5967 * env.el: Don't use CL.
5968
5969 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5970
5971 Support higher-resolution time stamps (Bug#9000).
5972
5973 * calendar/time-date.el (with-decoded-time-value): New arg
5974 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5975 (encode-time-value): New optional arg PICO. New type 3.
5976 (time-to-seconds) [!float-time]: Support the new picoseconds
5977 component if it's used.
5978 (seconds-to-time, time-subtract, time-add):
5979 Support ps-resolution time stamps as well.
5980
5981 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5982 (timerp): Timer vectors now have length 9, not 8.
5983 (timer--time): Support new-style (4-part) time stamps.
5984 (timer-next-integral-multiple-of-time): Time stamps now have
5985 picosecond resolution, so take a bit more care about rounding.
5986 (timer-relative-time, timer-inc-time): New optional arg psecs.
5987 (timer-set-time-with-usecs): Set psecs to 0.
5988 (timer--activate): Check psecs component, too.
5989
5990 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5991
5992 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5993
5994 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5995 Move the non-essential binding to the post/pre-command-hook where it is
5996 more obviously correct.
5997
5998 * subr.el (read-passwd): Don't use a history at all.
5999 * savehist.el (savehist-save): Remove password saved accidentally
6000 because of the above bug.
6001
6002 2012-06-22 Bastien Guerry <bzg@gnu.org>
6003
6004 * files.el (toggle-read-only): Display a message telling whether
6005 the buffer is read-only or not (bug#11726).
6006
6007 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6008
6009 * emacs-lisp/gv.el: New file.
6010 * subr.el (push, pop): Extend to generalized variables.
6011 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
6012 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
6013 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
6014 gv-define-simple-setter, and gv-define-expander.
6015 Remove setf-methods defined in gv. Rename cl-setf -> setf.
6016 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
6017 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
6018 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
6019 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
6020 gv-letplace.
6021 (cl-defstruct): Don't define setf-method any more.
6022 * emacs-lisp/cl.el (flet): Don't autoload.
6023 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
6024 (define-setf-expander, defsetf, define-modify-macro)
6025 (cl-struct-setf-expander): Move from cl-lib.el.
6026 * emacs-lisp/syntax.el:
6027 * emacs-lisp/ewoc.el:
6028 * emacs-lisp/smie.el:
6029 * emacs-lisp/cconv.el:
6030 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
6031 (timer--time): Use gv-define-simple-setter.
6032 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
6033 to avoid coding-system problems in subr.el. Adjust all users.
6034 (macroexp--maxsize, macroexp-small-p): New functions.
6035 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
6036 * scroll-bar.el (scroll-bar-mode):
6037 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6038 (normal-erase-is-backspace-mode): Don't use the `eq' place.
6039 * winner.el (winner-configuration, winner-make-point-alist)
6040 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
6041 * files.el (locate-file-completion-table): Avoid list*.
6042
6043 2012-06-22 Chong Yidong <cyd@gnu.org>
6044
6045 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
6046 (dired-create-files): Doc fix (Bug#11329).
6047 (dired-do-copy): Doc fix (Bug#11334).
6048 (dired-mark-read-string): Doc fix (Bug#11553).
6049
6050 * dired.el (dired-recursive-copies, dired-recursive-deletes):
6051 Doc fix (Bug#11326).
6052 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
6053 (dired-dwim-target): Doc fix.
6054
6055 * wdired.el (wdired-mode): Doc fix.
6056
6057 2012-06-22 Glenn Morris <rgm@gnu.org>
6058
6059 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
6060 (pcmpl-rpm-cache-stamp-file): New constant.
6061 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
6062 (pcmpl-rpm-packages): Optionally cache list of packages.
6063
6064 * pcmpl-rpm.el (pcmpl-rpm): New group.
6065 (pcmpl-rpm-query-options): New option.
6066 (pcmpl-rpm-packages): No need to inline it.
6067 Use pcmpl-rpm-query-options.
6068
6069 * calendar/calendar.el (calendar-in-read-only-buffer):
6070 Avoid some needless mode changes.
6071
6072 2012-06-21 Chong Yidong <cyd@gnu.org>
6073
6074 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
6075 (desktop-path): Remove . from the default value (Bug#10977).
6076 (desktop-read): Use user-emacs-directory if desktop-path is nil.
6077
6078 2012-06-20 Chong Yidong <cyd@gnu.org>
6079
6080 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
6081
6082 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
6083
6084 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
6085 (bug#11201).
6086
6087 2012-06-20 Chong Yidong <cyd@gnu.org>
6088
6089 * term.el (term-window-width): Handle the case of a missing right
6090 fringe (Bug#8837).
6091 (term-check-size): Use window-text-height (Bug#5445).
6092 (term-mode): Use define-derived-mode. Minor cleanups.
6093 Set font-lock-defaults (Bug#7692).
6094 (term-move-columns, term-insert-char, term-emulate-terminal)
6095 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
6096
6097 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
6098
6099 * net/ange-ftp.el (ange-ftp-get-passwd):
6100 Bind `enable-recursive-minibuffers'.
6101 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
6102
6103 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
6104
6105 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
6106
6107 2012-06-19 Glenn Morris <rgm@gnu.org>
6108
6109 * progmodes/python.el (python-mode): Derive from prog-mode.
6110
6111 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
6112
6113 * emulation/edt.el (edt-default-menu-bar-update-buffers)
6114 (edt-user-menu-bar-update-buffers): New functions.
6115 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
6116
6117 2012-06-19 Chong Yidong <cyd@gnu.org>
6118
6119 * subr.el (with-selected-window): Preserve the selected window's
6120 terminal's top-frame (Bug#4702).
6121
6122 * window.el (save-selected-window): Likewise.
6123
6124 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6125
6126 * progmodes/python.el (python-rx-constituents): Move backquote.
6127 (python-skeleton-define, python-define-auxiliary-skeleton):
6128 Use `declare'.
6129
6130 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
6131
6132 * minibuffer.el (read-file-name-default): Revert the patch from
6133 2012-06-17.
6134
6135 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6136
6137 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
6138 (pcase--u1, pcase--q1): Don't use apply-partially.
6139
6140 2012-06-18 Glenn Morris <rgm@gnu.org>
6141
6142 * progmodes/python.el (python-proc, python-buffer)
6143 (python-send-receive, python-send-string): Fix obsolete versions.
6144
6145 2012-06-18 Martin Rudalics <rudalics@gmx.at>
6146
6147 * window.el (special-display-p): Completely remove stringp
6148 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
6149
6150 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
6151
6152 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
6153
6154 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
6155
6156 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
6157 * net/tramp-sh.el (tramp-maybe-open-connection):
6158 Throw if `non-essential' is non-nil.
6159
6160 2012-06-17 Martin Rudalics <rudalics@gmx.at>
6161
6162 * window.el (special-display-p): Signal an error if BUFFER-NAME
6163 is not a string (Bug#11713).
6164
6165 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
6166
6167 * progmodes/python.el (python-info-beginning-of-backslash):
6168 Rename from python-info-beginning-of-backlash, as a spelling fix.
6169
6170 2012-06-17 Chong Yidong <cyd@gnu.org>
6171
6172 * term.el (term-emulate-terminal): If term-check-size is called,
6173 move point to the process mark without resetting point (Bug#4635).
6174
6175 2012-06-17 Glenn Morris <rgm@gnu.org>
6176
6177 * international/mule-cmds.el (mule-menu-keymap)
6178 (set-language-environment, set-locale-environment): Doc tweaks.
6179
6180 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
6181
6182 * cus-face.el (custom-face-attributes): Add wave-style underline
6183 attribute.
6184 * faces.el (set-face-attribute): Update docstring to describe
6185 wave-style underline attribute.
6186
6187 2012-06-16 Chong Yidong <cyd@gnu.org>
6188
6189 * term/xterm.el (terminal-init-xterm): Discard input before
6190 querying background mode (Bug#10959).
6191
6192 2012-06-16 Stefan Merten <smerten@oekonux.de>
6193
6194 * textmodes/rst.el: Added and corrected some comments.
6195 (rst-re-alist-def): Improve symbol syntax.
6196 (rst-mode-syntax-table): Correct syntax entries.
6197 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6198 (rst-official-version, rst-official-cvs-rev): Update version
6199 information.
6200
6201 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
6202
6203 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6204 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6205
6206 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
6207
6208 * progmodes/python.el: New python.el merge.
6209 (python-guess-indent): Obsolete var.
6210 (python-indent-guess-indent-offset): New defcustom.
6211 (python-indent): Obsolete var.
6212 (python-indent-offset): New defcustom.
6213 (python-python-command, python-jython-command): Delete var.
6214 (python-shell-interpreter): New defcustom.
6215 (python-pdbtrack-do-tracking-p): Delete var.
6216 (python-pdbtrack-activate): New defcustom.
6217 (python-use-skeletons): Obsolete var.
6218 (python-skeleton-autoinsert): New defcustom.
6219 (inferior-python-filter-regexp, python-continuation-offset)
6220 (python-honour-comment-indentation, python-indent-string-contents)
6221 (python-jython-packages, python-mode-hook)
6222 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6223 (python-shell-prompt-alist)
6224 (python-source-modes): Delete defcustoms.
6225 (python-check-buffer-name, python-eldoc-setup-code)
6226 (python-eldoc-string-code, python-ffap-setup-code)
6227 (python-ffap-string-code, python-fill-comment-function)
6228 (python-fill-decorator-function, python-fill-paren-function)
6229 (python-fill-string-function, python-imenu-include-defun-type)
6230 (python-imenu-make-tree, python-imenu-subtree-root-label)
6231 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
6232 (python-shell-compilation-regexp-alist)
6233 (python-shell-completion-module-string-code)
6234 (python-shell-completion-pdb-string-code)
6235 (python-shell-completion-setup-code)
6236 (python-shell-completion-string-code)
6237 (python-shell-enable-font-lock, python-shell-exec-path)
6238 (python-shell-extra-pythonpaths)
6239 (python-shell-internal-buffer-name, python-shell-interpreter-args)
6240 (python-shell-process-environment)
6241 (python-shell-prompt-block-regexp)
6242 (python-shell-prompt-output-regexp)
6243 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
6244 (python-shell-send-setup-max-wait, python-shell-setup-codes)
6245 (python-shell-virtualenv-path): New defcustoms.
6246 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6247 (inferior-python-mode-syntax-table, python--prompt-regexp)
6248 (python-buffer, python-command python-python-command)
6249 (python-default-template, python-imports, python-indent-index)
6250 (python-indent-list, python-indent-list-length)
6251 (python-mode-running, python-pdbtrack-is-tracking-p)
6252 (python-preoutput-continuation, python-preoutput-leftover)
6253 (python-preoutput-result, python-preoutput-skip-next-prompt)
6254 (python-prev-dir/file, python-recursing)
6255 (python-saved-check-command, python-version-checked)
6256 (python-which-func-length-limit)
6257 (view-return-to-alist): Delete vars.
6258 (python-check-custom-command, python-dotty-syntax-table)
6259 (python-imenu-index-alist, python-indent-current-level)
6260 (python-indent-dedenters, python-indent-levels)
6261 (python-nav-beginning-of-defun-regexp)
6262 (python-nav-list-defun-positions-cache)
6263 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6264 (python-shell-internal-buffer)
6265 (python-skeleton-available): New vars.
6266 (def-python-skeleton): Delete macro.
6267 (python-skeleton-define): New macro.
6268 (python-define-auxiliary-skeleton, python-rx): New macros.
6269 (python-insert-class): Delete command.
6270 (python-skeleton-class): New command.
6271 (python-insert-def): Delete command.
6272 (python-skeleton-def): New command.
6273 (python-insert-for): Delete command.
6274 (python-skeleton-for): New command.
6275 (python-insert-if): Delete command.
6276 (python-skeleton-if): New command.
6277 (python-insert-try/except, python-insert-try/finally): Delete commands.
6278 (python-skeleton-try): New command.
6279 (python-insert-while): Delete command.
6280 (python-skeleton-while): New command.
6281 (python-backspace): Delete command.
6282 (python-indent-dedent-line-backspace): New command.
6283 (python-electric-colon): Delete command.
6284 (python-indent-electric-colon): New command.
6285 (python-guess-indent): Delete command.
6286 (python-indent-guess-indent-offset): New command.
6287 (python-shift-left): Delete command.
6288 (python-indent-shift-left): New command.
6289 (python-shift-right): Delete command.
6290 (python-indent-shift-right): New command.
6291 (python-find-function): Delete command.
6292 (python-nav-jump-to-defun): New command.
6293 (python-next-statement): Delete command.
6294 (python-nav-forward-sentence): New command.
6295 (python-previous-statement): Delete command.
6296 (python-nav-backward-sentence): New command.
6297 (python-fill-paragraph): Delete command.
6298 (python-fill-paragraph-function): New command.
6299 (python-send-buffer): Delete command.
6300 (python-shell-send-buffer): New command.
6301 (python-send-defun): Delete command.
6302 (python-shell-send-defun): New command.
6303 (python-send-region, python-send-region-and-go): Delete commands.
6304 (python-shell-send-region)
6305 (python-shell-switch-to-shell): New commands.
6306 (python-send-string): Delete command.
6307 (python-shell-send-string): New command.
6308 (python-switch-to-python): Delete command.
6309 (python-shell-switch-to-shell): New command.
6310 (python-describe-symbol): Delete command.
6311 (python-eldoc-at-point): New command.
6312 (python--set-prompt-regexp, python-args-to-list)
6313 (python-after-info-look, python-check-version)
6314 (python-check-comint-prompt, python-find-imports)
6315 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6316 (python-unload-function, python-expand-template)
6317 (python-maybe-jython, python-preoutput-filter)
6318 (python-pdbtrack-get-source-buffer)
6319 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6320 (python-pdbtrack-toggle-stack-tracking)
6321 (python-pdbtrack-track-stack-file, python-initial-text)
6322 (python-first-word, python-comment-line-p, python-send-command)
6323 (python-setup-brm, python-sentinel, python-set-proc)
6324 (python-skip-out, python-input-filter, python-outdent-p)
6325 (python-outline-level, python-backslash-continuation-line-p)
6326 (python-end-of-block, python-end-of-statement, python-mark-block)
6327 (python-beginning-of-block, python-beginning-of-statement)
6328 (python-blank-line-p, python-beginning-of-string)
6329 (python-open-block-statement-p): Delete functions.
6330 (python-indent-line, python-indent-line-1): Delete functions.
6331 (python-indent-line): New function.
6332 (python-indentation-levels): Delete function.
6333 (python-indent-calculate-levels): New function.
6334 (python-proc): Delete function.
6335 (python-shell-get-process): New function.
6336 (python-send-receive): Delete function.
6337 (python-shell-send-string-no-output): New function.
6338 (python-module-path): Delete function.
6339 (python-ffap-module-path): New function.
6340 (python-completion-at-point)
6341 (python-symbol-completions): Delete functions.
6342 (python-completion-complete-at-point): New function.
6343 (python-load-file): Delete function.
6344 (python-shell-send-file): New function.
6345 (python-calculate-indentation): Delete function.
6346 (python-indent-calculate-indentation): New function.
6347 (python-skip-comments/blanks): Delete function.
6348 (python-util-forward-comment): New function.
6349 (python-continuation-line-p): Delete function.
6350 (python-info-continuation-line-p): New function.
6351 (python-which-func, python-current-defun): Delete function.
6352 (python-info-current-defun): New function.
6353 (python-beginning-of-defun): Delete function.
6354 (python-nav-beginning-of-defun): New function.
6355 (python-close-block-statement-p)
6356 (python-block-end-p): Delete function.
6357 (python-info-closing-block): New function.
6358 (python-comint-output-filter-function)
6359 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
6360 (python-fill-comment, python-fill-decorator, python-fill-paren)
6361 (python-fill-string, python-imenu-make-element-tree)
6362 (python-imenu-make-tree, python-imenu-tree-assoc)
6363 (python-indent-context, python-indent-dedent-line)
6364 (python-indent-line-function)
6365 (python-indent-post-self-insert-function)
6366 (python-indent-toggle-levels)
6367 (python-info-assignment-continuation-line-p)
6368 (python-info-beginning-of-backlash)
6369 (python-info-block-continuation-line-p)
6370 (python-info-closing-block-message)
6371 (python-info-line-ends-backslash-p)
6372 (python-info-looking-at-beginning-of-defun)
6373 (python-info-ppss-context, python-info-ppss-context-type)
6374 (python-nav-list-defun-positions, python-nav-read-defun)
6375 (python-nav-sentence-end, python-nav-sentence-start)
6376 (python-pdbtrack-comint-output-filter-function)
6377 (python-pdbtrack-set-tracked-buffer)
6378 (python-shell-calculate-exec-path)
6379 (python-shell-calculate-process-environment)
6380 (python-shell-completion--do-completion-at-point)
6381 (python-shell-completion--get-completions)
6382 (python-shell-completion-complete-at-point)
6383 (python-shell-completion-complete-or-indent)
6384 (python-shell-get-or-create-process)
6385 (python-shell-get-process-name)
6386 (python-shell-internal-get-or-create-process)
6387 (python-shell-internal-get-process-name)
6388 (python-shell-internal-send-string, python-shell-make-comint)
6389 (python-shell-parse-command, python-shell-send-setup-code)
6390 (python-skeleton-add-menu-items)
6391 (python-util-clone-local-variables, python-util-position)
6392 (run-python-internal, python-indentation-levels)
6393 (python-nav-beginning-of-defun)
6394 (python-completion-complete-at-point): New functions.
6395 (run-python): Change arguments. New API requirements.
6396
6397 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6398
6399 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6400 (bug#11649).
6401
6402 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6403 (macroexp--expand-all): Use it.
6404
6405 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6406 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6407 Use `cl-function' instead.
6408
6409 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
6410
6411 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6412 Suggested by Stefan Monnier while discussing bug#11657.
6413
6414 2012-06-14 Sam Steingold <sds@gnu.org>
6415
6416 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6417
6418 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
6419
6420 * play/doctor.el (doctor-doc): Remove parameter and use
6421 doctor-sent instead of sent.
6422 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
6423
6424 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6425
6426 * files.el: Require cl-lib.
6427 (file-name-non-special): Replace case -> cl-case.
6428
6429 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6430
6431 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6432 mapping from #' to function*.
6433
6434 2012-06-13 Chong Yidong <cyd@gnu.org>
6435
6436 * mouse.el (mouse-drag-track): Do not set the mark if the user
6437 releases the mouse without selecting anything (Bug#11588).
6438
6439 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6440
6441 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6442 as well (bug#11646).
6443
6444 * loadup.el: Count byte-code functions as well.
6445
6446 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6447 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6448
6449 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6450 (bug#11649). Add cl-defun and cl-defmacro.
6451
6452 2012-06-13 Drew Adams <drew.adams@oracle.com>
6453
6454 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6455 Fix last change.
6456
6457 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
6458
6459 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6460 Otherwise, it blocks in batch mode.
6461
6462 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
6463
6464 * help-mode.el (bookmark-make-record-default): Declare.
6465
6466 2012-06-13 Chong Yidong <cyd@gnu.org>
6467
6468 * emacs-lisp/package.el (list-packages): Compute a list of
6469 packages that are newly-available since the last list-packages
6470 invocation.
6471 (package-menu--new-package-list): New var.
6472 (package-menu--generate, package-menu--print-info)
6473 (package-menu--status-predicate, package-menu-mark-install):
6474 Handle new status label "new".
6475
6476 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6477
6478 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
6479 conversion to backquotes.
6480
6481 2012-06-12 Chong Yidong <cyd@gnu.org>
6482
6483 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
6484 Rename from gud-inhibit-global-bindings.
6485
6486 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
6487
6488 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
6489 hook from nxml-glyph-set-hook.
6490
6491 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6492 declaration.
6493
6494 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6495
6496 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
6497 Convert to defcustom.
6498
6499 2012-06-12 Drew Adams <drew.adams@oracle.com>
6500
6501 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6502 New functions.
6503 (help-mode): Use them.
6504
6505 2012-06-11 Glenn Morris <rgm@gnu.org>
6506
6507 * progmodes/fortran.el (fortran-font-lock-keywords-3):
6508 Use preprocessor face for directives.
6509 (fortran-directive-re): Doc fix.
6510
6511 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6512
6513 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
6514 conversion to backquotes (bug#11652).
6515
6516 Fix compiler-expansion of CL's cXXr functions (bug#11673).
6517 * emacs-lisp/cl-lib.el (cl--defalias): New function.
6518 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
6519 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
6520 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6521 (cl-ninth, cl-tenth): Mark them as inlinable.
6522 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
6523 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
6524 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
6525 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
6526 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
6527 (cl-list*, cl-adjoin): Don't put an autoload manually.
6528 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
6529 (cl--compiler-macro-list*): Add autoload cookie.
6530 (cl--compiler-macro-cXXr): New function.
6531
6532 * help-fns.el (help-fns--compiler-macro): New function extracted from
6533 describe-function-1; follow aliases and use `compiler-macro' property.
6534 (describe-function-1): Use it.
6535
6536 2012-06-11 Chong Yidong <cyd@gnu.org>
6537
6538 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
6539 is uninstalled, if imagemagick is installed.
6540
6541 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6542
6543 * emacs-lisp/cl-lib.el: Use lexical-binding.
6544 (cl-map-extents, cl-maclisp-member): Remove.
6545 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
6546 (cl--set-substring, cl--block-wrapper, cl--block-throw)
6547 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
6548 * emacs-lisp/cl-extra.el: Use lexical-binding.
6549 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
6550 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
6551 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
6552 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
6553 * emacs-lisp/cl-seq.el: Use lexical-binding.
6554 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
6555 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
6556 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
6557 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
6558 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
6559 CL's internals.
6560
6561 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
6562
6563 Sync with Tramp 2.2.6-pre.
6564
6565 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
6566 `print-length' and `print-level' to nil, in order to avoid
6567 truncation. Reported by Christopher Schmidt
6568 <christopher@ristopher.com>.
6569
6570 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
6571
6572 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
6573 New defmacro.
6574 (tramp-compat-copy-directory): Add optional argument
6575 COPY-CONTENTS. It is not handled yet.
6576
6577 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
6578 (tramp-ftp-file-name-p): Simplify.
6579
6580 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
6581 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
6582 connection vector.
6583
6584 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
6585 (tramp-methods): Do not use `tramp-password-end-of-line'.
6586 (tramp-completion-function-alist-putty): Handle UNIX case.
6587 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
6588 (tramp-do-file-attributes-with-stat)
6589 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
6590 gid as real numbers. They could run out of integer range on cygwin.
6591 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
6592 (tramp-sh-handle-expand-file-name): Handle hops.
6593 (tramp-open-connection-setup-interactive-shell):
6594 Use `tramp-cleanup'. Move check for busyboxes ...
6595 (tramp-find-shell): ... here. Simplify implementation.
6596 Set "remote-shell" property also for alternative shells.
6597 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
6598 If failing, a regular file would be written otherwise.
6599 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
6600 (tramp-find-inline-encoding): Cache the coding commands in the
6601 process cache. Apply test command on the remote side, if defined.
6602 (tramp-find-inline-compress): Cache the compress commands in the
6603 process cache.
6604 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
6605 when requested. Handle hops.
6606 (tramp-current-connection): New defvar.
6607 (tramp-maybe-open-connection): Use `tramp-cleanup'.
6608 Throw `suppress', if there was a failed connection shortly before.
6609 Handle user interrupt. (Bug#10187)
6610 (tramp-get-inline-compress, tramp-get-inline-coding):
6611 Read connection properties from the process cache.
6612
6613 * net/tramp-smb.el (tramp-smb-server-version)
6614 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
6615 New defconsts.
6616 (tramp-smb-prompt): Extend for powershell prompt.
6617 (tramp-smb-file-name-handler-alist): Add handlers for
6618 `process-file', `shell-command' and `start-file-process'.
6619 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
6620 (tramp-smb-winexe-shell-command-switch): New defcustoms.
6621 (tramp-smb-file-name-p): Simplify.
6622 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
6623 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
6624 (tramp-smb-shell-quote-argument): New defuns.
6625 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
6626 Implement using "tar". By this, time-stamps are preserved.
6627 (tramp-smb-handle-copy-file): Handle also the case of directories.
6628 (tramp-smb-do-file-attributes-with-stat)
6629 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
6630 Use `tramp-get-connection-buffer').
6631 (tramp-smb-handle-rename-file): Use "rename", when source and
6632 target are on the same share.
6633 (tramp-smb-maybe-open-connection): Handle wrong passwords.
6634 Use `tramp-smb-server-version'.
6635 (tramp-smb-wait-for-output): Remove prompt.
6636
6637 * net/tramp.el (top): Require 'cl.
6638 (tramp-methods, tramp-rsh-end-of-line):
6639 Remove `tramp-password-end-of-line' from docstring.
6640 (tramp-save-ad-hoc-proxies): New defcustom.
6641 (tramp-completion-function-alist): Adapt docstring.
6642 (tramp-default-password-end-of-line): Remove defcustom.
6643 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
6644 (tramp-user-regexp, tramp-file-name-regexp-unified)
6645 (tramp-file-name-regexp-url): Extend regexp by hop separator.
6646 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
6647 (tramp-remote-file-name-spec-regexp): New defconst.
6648 (tramp-file-name-structure): Extend structure for hops.
6649 (tramp-get-method-parameter): Move up.
6650 (tramp-file-name-p, tramp-dissect-file-name)
6651 (with-parsed-tramp-file-name): Handle hops.
6652 (tramp-file-name-hop): New defun.
6653 (tramp-make-tramp-file-name): New optional arg HOP.
6654 (tramp-message-show-progress-reporter-message): New defvar.
6655 (tramp-with-progress-reporter): Use it. We cannot use
6656 `tramp-message-show-message' here, because this suppresses also
6657 error buffers.
6658 (tramp-error-with-buffer): Suppress buffer view, if
6659 `tramp-message-show-message' is nil.
6660 Use `tramp-get-connection-buffer'.
6661 (tramp-cleanup): New defun.
6662 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
6663 (tramp-file-name-handler): If `debug-on-error' is set, propagate
6664 an error unchanged.
6665 (tramp-completion-handle-file-name-all-completions): Handle hops.
6666 Fix an error when called from ido.
6667 (tramp-completion-dissect-file-name): Use better local variable
6668 name. Add hop to the vector.
6669 (tramp-handle-insert-file-contents): Use progress-reporter for the
6670 whole scenario.
6671 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
6672 to `t'.
6673 (tramp-check-for-regexp): Simplify search.
6674 (tramp-enter-password): Remove it. Move implementation ...
6675 (tramp-action-password): ... here.
6676 (tramp-mode-string-to-int, tramp-local-host-p)
6677 (tramp-make-tramp-temp-file, tramp-read-passwd)
6678 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
6679 Set tramp-autoload cookie.
6680
6681 * net/trampver.el: Update release number.
6682
6683 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6684 Michael Albinus <michael.albinus@gmx.de>
6685
6686 * net/tramp.el (tramp-set-completion-function): Fix docstring.
6687 (tramp-parse-group, tramp-parse-file)
6688 (tramp-parse-shostkeys-sknownhosts): New defuns.
6689 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
6690 (tramp-parse-shosts-group, tramp-parse-sconfig)
6691 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
6692 (tramp-parse-sknownhosts, tramp-parse-hosts)
6693 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6694 Use them.
6695 (tramp-parse-passwd-group, tramp-parse-netrc-group)
6696 (tramp-parse-putty-group): Don't narrow.
6697 (tramp-parse-putty): Make a loop.
6698 (tramp-file-name-handler): Catch the `suppress' signal.
6699
6700 2012-06-11 Chong Yidong <cyd@gnu.org>
6701
6702 * image.el (imagemagick-register-types): Put the ImageMagick entry
6703 at the end of image-type-file-name-regexps.
6704
6705 2012-06-11 Johan Bockgård <bojohan@gnu.org>
6706
6707 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6708 (pcase, pcase-let*, pcase-dolist): Use them.
6709
6710 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6711
6712 * emacs-lisp/pcase.el (pcase--let*): New function.
6713 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
6714 (pcase--expand): Use macroexp-let².
6715
6716 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6717
6718 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6719 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6720 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6721 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6722 * emacs-lisp/derived.el: Use pcase instead of `cl'.
6723 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6724
6725 2012-06-10 Glenn Morris <rgm@gnu.org>
6726
6727 * mail/rmail.el (rmail-yank-current-message): Leave point at
6728 correct position. (Bug#11660)
6729
6730 2012-06-10 Chong Yidong <cyd@gnu.org>
6731
6732 * allout-widgets.el: Fix code header.
6733
6734 2012-06-10 Chong Yidong <cyd@gnu.org>
6735
6736 * cus-edit.el (customize-changed-options-previous-release):
6737 Bump to 24.1.
6738
6739 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
6740
6741 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6742
6743 2012-06-09 Chong Yidong <cyd@gnu.org>
6744
6745 * ebuff-menu.el (electric-buffer-list): Preserve header line.
6746
6747 2012-06-09 Martin Rudalics <rudalics@gmx.at>
6748
6749 * window.el (special-display-popup-frame): Don't use
6750 window--display-buffer (Bug#11651).
6751
6752 2012-06-09 Eli Zaretskii <eliz@gnu.org>
6753
6754 Fix parallel builds: make sure loaddefs.el is not being written
6755 while Lisp files are compiled.
6756 (compile): Don't depend on 'mh-autoloads'.
6757 (compile-CMD, compile-SH): Depend on 'autoloads'.
6758 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6759
6760 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
6761
6762 2012-06-09 Chong Yidong <cyd@gnu.org>
6763
6764 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6765 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6766 Doc fixes (Bug#11225).
6767
6768 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6769
6770 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6771 a function if there's a clear indication that it has a compiler-macro.
6772 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6773 (macro-declarations-alist): Add arglist to declaration functions.
6774 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6775 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6776 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6777 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6778 Also add autoload to find the compiler macro.
6779 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6780 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6781 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6782 (cl--compiler-macro-get): New functions, replacing calls to
6783 cl-define-compiler-macro.
6784 (cl-typep) [compiler-macro]: Use macroexp-let².
6785
6786 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
6787
6788 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6789 string properly, fixes Bug#11473.
6790
6791 2012-06-08 Chong Yidong <cyd@gnu.org>
6792
6793 * faces.el (set-face-attribute): Doc fix.
6794 (modify-face): Don't use :bold and :italic.
6795 (error, warning, success): Tweak definitions.
6796
6797 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6798 (custom-modified, custom-set, custom-changed, custom-themed)
6799 (custom-saved, custom-button, custom-button-mouse)
6800 (custom-button-pressed, custom-state, custom-comment-tag)
6801 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6802 (custom-group-subtitle): Use new-style face specs.
6803 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6804 (custom-set-face, custom-changed-face, custom-saved-face)
6805 (custom-button-face, custom-button-pressed-face)
6806 (custom-documentation-face, custom-state-face)
6807 (custom-comment-face, custom-comment-tag-face)
6808 (custom-variable-tag-face, custom-variable-button-face)
6809 (custom-face-tag-face, custom-group-tag-face-1)
6810 (custom-group-tag-face): Remove obsolete face alias.
6811
6812 * epa.el (epa-validity-high, epa-validity-medium)
6813 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6814 (epa-field-name, epa-field-body):
6815 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6816 (font-lock-keyword-face, font-lock-builtin-face)
6817 (font-lock-function-name-face, font-lock-variable-name-face)
6818 (font-lock-type-face, font-lock-constant-face):
6819 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6820 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6821 * speedbar.el (speedbar-button-face, speedbar-file-face)
6822 (speedbar-directory-face, speedbar-tag-face)
6823 (speedbar-selected-face, speedbar-highlight-face)
6824 (speedbar-separator-face):
6825 * whitespace.el (whitespace-newline, whitespace-space)
6826 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6827 (whitespace-line, whitespace-space-before-tab)
6828 (whitespace-space-after-tab, whitespace-indentation)
6829 (whitespace-empty):
6830 * emulation/cua-base.el (cua-global-mark):
6831 * eshell/em-prompt.el (eshell-prompt):
6832 * net/newst-plainview.el (newsticker-new-item-face)
6833 (newsticker-old-item-face, newsticker-immortal-item-face)
6834 (newsticker-obsolete-item-face, newsticker-date-face)
6835 (newsticker-statistics-face, newsticker-default-face):
6836 * net/newst-reader.el (newsticker-feed-face)
6837 (newsticker-extra-face, newsticker-enclosure-face):
6838 * net/newst-treeview.el (newsticker-treeview-face)
6839 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6840 (newsticker-treeview-immortal-face)
6841 (newsticker-treeview-obsolete-face)
6842 (newsticker-treeview-selection-face):
6843 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6844 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6845 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6846 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6847 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6848 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6849 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6850 (mpuz-text):
6851 * progmodes/vera-mode.el (vera-font-lock-number)
6852 (vera-font-lock-function, vera-font-lock-interface):
6853 * textmodes/table.el (table-cell): Use new-style face specs, and
6854 don't use the old :bold and :italic attributes.
6855
6856 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6857 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6858 (ebrowse-member-class, ebrowse-progress): Likewise.
6859 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6860 (ebrowse-file-name-face, ebrowse-default-face)
6861 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6862 (ebrowse-progress-face): Remove obsolete faces.
6863
6864 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6865 Inherit from error and warning faces respectively.
6866
6867 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6868 Likewise.
6869 (flyspell-incorrect-face, flyspell-duplicate-face):
6870 Remove obsolete aliases.
6871
6872 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
6873
6874 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6875 Avoid infloop.
6876
6877 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6878
6879 * startup.el (argv, argi): Make lexically scoped.
6880 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6881 * emacs-lisp/cl-macs.el: Use lexical-binding.
6882 Rename cl-bind-* to cl--bind-*.
6883 * files.el: Don't require `cl' since it doesn't use it.
6884 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6885
6886 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
6887
6888 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6889 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6890 instead of calling external sort utility.
6891 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6892
6893 2012-06-08 Eli Zaretskii <eliz@gnu.org>
6894
6895 * descr-text.el (describe-char): Mention how to insert the
6896 character, if the current input method doesn't support it.
6897 See the discussion in this thread for the details:
6898 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6899
6900 2012-06-08 Sam Steingold <sds@gnu.org>
6901
6902 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6903 XF86Back to previous-buffer.
6904 (minibuffer-local-map): Bind them to next-history-element and
6905 previous-history-element respectively.
6906 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6907 help-go-back respectively.
6908 * info.el (Info-mode-map): Bind them to Info-history-forward and
6909 Info-history-back respectively.
6910 These are the keys next to Up on the ThinkPad keyboard.
6911
6912 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6913
6914 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6915 * emacs-lisp/cl-macs.el: Provide itself.
6916 (cl--labels-convert-cache): New var.
6917 (cl--labels-convert): New function.
6918 (cl-flet, cl-labels): New implementation with new semantics, relying on
6919 lexical-binding.
6920 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6921 (cl-closure-vars, cl--function-convert-cache)
6922 (cl--function-convert): Move from cl-macs.el.
6923 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6924 rename by removing the "cl-" prefix.
6925 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6926
6927 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6928
6929 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6930 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6931 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6932 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6933 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6934 (cl-hash-table-count): Add old compatibility aliases.
6935
6936 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6937 Use macroexpand-all-environment instead.
6938 (cl--old-macroexpand): New var.
6939 (cl--sm-macroexpand): New function.
6940 (cl-symbol-macrolet): Use it during macro expansion.
6941 (cl--function-convert-cache): New var.
6942 (cl--function-convert): New function, extracted from
6943 cl-macroexpand-all.
6944 (cl-lexical-let): Use it.
6945
6946 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6947 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6948 (cl-member): Remove old alias.
6949
6950 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6951 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6952 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6953 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6954 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6955 (cl-macroexpand-cmacs): Remove var.
6956 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6957 Use macroexpand-all instead.
6958
6959 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6960
6961 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6962 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6963 (macroexp-copyable-p): New functions and macros.
6964 * emacs-lisp/edebug.el (edebug-unwrap):
6965 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6966 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6967 (pcase--let*): Remove.
6968 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6969 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6970 macroexp-const-p instead.
6971 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6972
6973 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6974 instead of "cl-" for internal definitions. Use macroexp-const-p.
6975 (cl-old-bc-file-form): Remove var.
6976 (cl-const-exprs-p): Remove fun.
6977 (cl-labels, cl-macrolet): Use backquote.
6978 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6979 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6980 (cl-define-setf-expander): Rename from cl-define-setf-method.
6981 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6982
6983 * international/mule-cmds.el: Don't require CL.
6984 (view-hello-file): Don't use `letf'.
6985
6986 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6987
6988 * tmm.el (tmm-prompt): Use string-prefix-p.
6989 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6990 (tmm-add-prompt): Use minibuffer-completion-help.
6991 (tmm-delete-map): Remove.
6992
6993 * subr.el (kbd): Make it its own function.
6994
6995 2012-06-07 Stefan Merten <smerten@oekonux.de>
6996
6997 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6998 Silence compiler warnings. Fix versions.
6999 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7000 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
7001 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7002 (rst-package-emacs-version-alist): Correct Emacs version to
7003 represent major merge with upstream.
7004 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7005
7006 2012-06-06 Glenn Morris <rgm@gnu.org>
7007
7008 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
7009 Only print environment variables if set.
7010
7011 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7012
7013 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
7014 (macroexp--cons): Rename from maybe-cons.
7015 (macroexp--accumulate): Rename from macroexp-accumulate.
7016 (macroexp--all-forms): Rename from macroexpand-all-forms.
7017 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
7018 (macroexp--expand-all): Rename from macroexpand-all-1.
7019
7020 2012-06-06 Sam Steingold <sds@gnu.org>
7021
7022 * calendar/calendar.el (calendar-in-read-only-buffer):
7023 Call `special-mode' to enable the standard read-only keybindings.
7024
7025 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7026
7027 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
7028 with "loading" messages (bug#11635).
7029
7030 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
7031
7032 * files.el (enable-remote-dir-locals): New option.
7033 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
7034
7035 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7036 Ensure, that the temp directory is local.
7037
7038 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
7039 `temporary-file-directory'.
7040
7041 * progmodes/python.el (python-send-region): Ensure, that the
7042 temporary file is created also in the remote case.
7043
7044 2012-06-06 Glenn Morris <rgm@gnu.org>
7045
7046 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
7047 (vc-rcs-update-changelog): Use it.
7048
7049 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
7050
7051 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
7052 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
7053 (vc-sccs-diff): Replace use of the external vcdiff script.
7054
7055 2012-06-05 Glenn Morris <rgm@gnu.org>
7056
7057 * ledit.el: Move to obsolete/.
7058
7059 2012-06-05 Sam Steingold <sds@gnu.org>
7060
7061 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
7062 patch (Bug#11140).
7063
7064 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7065
7066 * emacs-lisp/cust-print.el: Move to obsolete.
7067
7068 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
7069 compiler-macro expansion.
7070
7071 Add native compiler-macro support.
7072 * emacs-lisp/macroexp.el (macroexpand-all-1):
7073 Support compiler-macros directly. Properly follow aliases and apply
7074 the compiler macros more thoroughly.
7075 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
7076 macroexpand now properly follows aliases.
7077 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
7078 (cl-compiler-macroexpand): Use new prop.
7079 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
7080
7081 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
7082
7083 2012-06-05 Martin Rudalics <rudalics@gmx.at>
7084
7085 * window.el (get-lru-window, get-mru-window, get-largest-window):
7086 New argument NOT-SELECTED to avoid picking the selected window.
7087 (window--display-buffer-1, window--display-buffer-2): Replace by
7088 new function window--display-buffer
7089 (display-buffer-same-window, display-buffer-reuse-window)
7090 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7091 Use window--display-buffer.
7092 (display-buffer-use-some-window): Remove temporary dedication
7093 hack by calling get-lru-window and get-largest-window with
7094 NOT-SELECTED argument non-nil. Call window--display-buffer.
7095
7096 2012-06-05 Glenn Morris <rgm@gnu.org>
7097
7098 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
7099 Replace external vcdiff script.
7100
7101 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7102
7103 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
7104
7105 2012-06-04 Chong Yidong <cyd@gnu.org>
7106
7107 * image.el (imagemagick-types-inhibit): Revert last change.
7108 Add INFO and M.
7109 (imagemagick-enabled-types): Remove CIN and EPS*.
7110
7111 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7112
7113 * emacs-lisp/cl-lib.el: Rename from cl.el.
7114 * emacs-lisp/cl.el: New compatibility file.
7115 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
7116 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
7117 to obey the "cl-" prefix.
7118 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
7119
7120 2012-06-03 Glenn Morris <rgm@gnu.org>
7121
7122 * emacs-lisp/authors.el (authors-aliases): Addition.
7123
7124 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
7125 Fix :version.
7126
7127 2012-06-03 Stefan Merten <smerten@oekonux.de>
7128
7129 * textmodes/rst.el: Add comments.
7130 (rst-transition, rst-adornment): New faces.
7131 (rst-adornment-faces-alist): Make default safe to reevaluate.
7132 Fixes
7133 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
7134 Improve customization tags.
7135 (rst-define-level-faces): Clarify meaning.
7136
7137 2012-06-03 Chong Yidong <cyd@gnu.org>
7138
7139 * progmodes/compile.el (compilation-mode-line-fail)
7140 (compilation-mode-line-run, compilation-mode-line-exit):
7141 New faces.
7142 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
7143
7144 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
7145
7146 * progmodes/which-func.el (which-func-update-ediff-windows):
7147 New function. Use it in ediff-select-hook (Bug#11478).
7148
7149 2012-06-03 Chong Yidong <cyd@gnu.org>
7150
7151 * bindings.el: Remove explicit help text from format-mode-line.
7152 It is now supplied by mode-line-default-help-echo.
7153 (mode-line-front-space, mode-line-end-spaces)
7154 (mode-line-misc-info): New variables.
7155 (mode-line-modes, mode-line-position): Move the default value to
7156 the variable definition.
7157 (mode-line-default-help-echo): New defcustom.
7158 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
7159 (mode-line-modified-help-echo): New functions.
7160 (mode-line-mule-info, mode-line-modified): Use them.
7161 (mode-line-eol-desc, propertized-buffer-identification):
7162 Consistency fixes for help text.
7163 (mode-line-coding-system-map): Allow using mouse-3 to invoke
7164 set-buffer-file-coding-system (Bug#289).
7165 (mode-line-mule-info-help-echo): Update help text.
7166
7167 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7168
7169 * simple.el (execute-extended-command): Set real-this-command
7170 (bug#11506).
7171
7172 2012-06-02 Chong Yidong <cyd@gnu.org>
7173
7174 Remove incorrect uses of "modeline" in comments, docstrings, and
7175 function/variable names (Bug#10329).
7176
7177 * cus-edit.el (mode-line):
7178 * dframe.el (dframe-mouse-hscroll):
7179 * emacs-lisp/re-builder.el:
7180 * emacs-lisp/easy-mmode.el (define-minor-mode):
7181 * frame.el (set-frame-name):
7182 * help.el (lookup-minor-mode-from-indicator):
7183 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7184 * progmodes/cc-cmds.el (c-toggle-auto-newline)
7185 (c-toggle-hungry-state):
7186 * progmodes/antlr-mode.el (antlr-language-alist):
7187 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7188 * progmodes/vhdl-mode.el (vhdl-mode):
7189 * progmodes/which-func.el (which-func, which-func-cleanup-function):
7190 * term/ns-win.el (ns-face-at-pos):
7191 * term/sup-mouse.el (sup-mouse-report):
7192 * textmodes/flyspell.el (flyspell-mode-line-string):
7193 * textmodes/ispell.el (ispell-highlight-face):
7194 * textmodes/reftex-global.el:
7195 * vc/vc-arch.el (vc-arch-mode-line-string):
7196 * vc/vc-cvs.el (vc-cvs-mode-line-string):
7197 * vc/vc-git.el (vc-git-mode-line-string):
7198 * vc/vc-hooks.el (vc-display-status)
7199 (vc-default-mode-line-string):
7200 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7201
7202 * ansi-color.el (ansi-color-faces-vector): Change default faces.
7203
7204 * dired.el (dired-sort-set-mode-line): Rename from
7205 dired-sort-set-modeline. All callers changed.
7206
7207 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7208 eshell-status-in-modeline.
7209
7210 * foldout.el (foldout-mode-line-string): Rename from
7211 foldout-modeline-string. All callers changed.
7212 (foldout-update-mode-line): Rename from foldout-update-modeline.
7213
7214 * subr.el (redraw-modeline): Make into obsolete alias.
7215
7216 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7217 timeclock-modeline-display. Make old name an alias.
7218 (timeclock-update-mode-line): Likewise. All callers changed.
7219 (timeclock-mode-line-display): No need to check before using
7220 add-hook.
7221 (timeclock-relative, timeclock-day-over-hook)
7222 (timeclock-use-elapsed, timeclock-mode-string)
7223 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7224
7225 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
7226 crisp-mode-modeline-string.
7227
7228 * play/solitaire.el (solitaire-build-mode-line): Rename from
7229 solitaire-build-modeline. All callers changed.
7230
7231 * play/zone.el (zone-hiding-mode-line): Rename from
7232 zone-hiding-modeline. All callers changed.
7233 (zone): Remove unusued `modeline-hidden-level' property.
7234
7235 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
7236 xscheme-modeline-initialize. All callers changed.
7237
7238 * strokes.el (strokes-lighter): Rename from
7239 strokes-modeline-string.
7240
7241 * textmodes/sgml-mode.el (html-face-tag-alist)
7242 (html-tag-face-alist): Use mode-line face instead of obsolete
7243 alias modeline.
7244
7245 2012-06-02 Stefan Merten <smerten@oekonux.de>
7246
7247 * textmodes/rst.el: Always require `cl'.
7248 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
7249
7250 2012-06-02 Chong Yidong <cyd@gnu.org>
7251
7252 * image.el (imagemagick-enabled-types): Rename from
7253 imagemagick-types-enable. Add many more types.
7254 (imagemagick-types-inhibit): Change default to nil.
7255 (imagemagick-filter-types): Caller changed.
7256
7257 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7258
7259 * emacs-lisp/cl-macs.el: Use backquotes.
7260 (cl-transform-function-property): Use eval-and-compile rather than
7261 abusing `require'.
7262 (defstruct): Use declare-function instead of with-no-warnings.
7263
7264 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7265 (byte-compile-output-docform): Re-add the print-circle bindings.
7266 (byte-compile-fix-header): Use #$ just because it's shorter.
7267 (byte-compile-output-file-form): Remove defun/defmacro.
7268
7269 2012-06-01 Martin Rudalics <rudalics@gmx.at>
7270
7271 * simple.el (choose-completion): Remove now obsolete binding for
7272 owindow.
7273
7274 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
7275
7276 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7277 in order to avoid "Stack overflow in regexp matcher".
7278
7279 2012-05-31 Glenn Morris <rgm@gnu.org>
7280
7281 * image.el: For clarity, call imagemagick-register-types at
7282 top-level, rather than relying on a custom :initialize.
7283 (imagemagick-types-enable): New option. (Bug#11557)
7284 (imagemagick-filter-types): New function. (Bug#7406)
7285 (imagemagick-register-types): Use imagemagick-filter-types.
7286 If disabling support, remove elements altogether rather
7287 than using an impossible regexp.
7288 (imagemagick-types-inhibit): Give it the default init function.
7289
7290 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7291
7292 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
7293 Handle arbitrary file name lengths (Bug#11585).
7294
7295 2012-05-31 Martin Rudalics <rudalics@gmx.at>
7296
7297 * desktop.el (desktop-read): Clear previous and next buffers for
7298 all windows and bury *Messages* buffer (bug#11556).
7299
7300 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7301
7302 Add `declare' for `defun'. Align `defmacro's with it.
7303 * emacs-lisp/easy-mmode.el (define-minor-mode)
7304 (define-globalized-minor-mode): Don't autoload the var definitions.
7305 * emacs-lisp/byte-run.el: Use lexical-binding.
7306 (defun-declarations-alist, macro-declarations-alist): New vars.
7307 (defmacro, defun): Use them.
7308 (make-obsolete, define-obsolete-function-alias)
7309 (make-obsolete-variable, define-obsolete-variable-alias):
7310 Use `declare'.
7311 (macro-declaration-function): Mark obsolete.
7312 * emacs-lisp/autoload.el: Use lexical-binding.
7313 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
7314
7315 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7316
7317 * textmodes/ispell.el (ispell-with-no-warnings):
7318 Define as a macro.
7319 (ispell-kill-ispell, ispell-change-dictionary):
7320 Use `called-interactively-p' for Emacs instead of obsolete
7321 `interactive-p'.
7322
7323 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7324
7325 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7326 (macro-declaration-function): Move var from C code.
7327 (macro-declaration-function): Define function with defalias.
7328 * emacs-lisp/macroexp.el (macroexpand-all-1):
7329 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7330 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7331 defun/defmacro any more.
7332 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7333 Provide fallback for unknown arglist.
7334 (byte-compile-arglist-warn): Change calling convention.
7335 (byte-compile-output-file-form): Move print-vars binding.
7336 (byte-compile-output-docform): Simplify accordingly.
7337 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7338 (byte-compile-defmacro-declaration): Remove.
7339 (byte-compile-file-form-defmumble): Generalize to defalias.
7340 (byte-compile-output-as-comment): Return byte-positions.
7341 Simplify callers accordingly.
7342 (byte-compile-lambda): Use `assert'.
7343 (byte-compile-defun, byte-compile-defmacro): Remove.
7344 (byte-compile-file-form-defalias):
7345 Use byte-compile-file-form-defmumble.
7346 (byte-compile-defalias-warn): Remove.
7347
7348 2012-05-29 Stefan Merten <smerten@oekonux.de>
7349
7350 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
7351 possible. Fix authors. Improve comments. Improve loading of `cl'.
7352
7353 (rst-mode-abbrev-table): Merge definition.
7354 (rst-mode): Make sure `font-lock-defaults' is buffer local.
7355 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
7356
7357 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
7358
7359 * calendar/icalendar.el
7360 (icalendar-export-region): Export UID properly.
7361
7362 2012-05-29 Leo Liu <sdl.web@gmail.com>
7363 * calendar/icalendar.el (icalendar-import-format):
7364 Add `icalendar-import-format-uid' (Bug#11525).
7365 (icalendar-import-format-uid): New.
7366 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
7367 Export UID.
7368
7369 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7370
7371 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
7372 different alternative patterns.
7373 (pcase-codegen): Be more careful to preserve identity.
7374 (pcase--u1): Don't forget to mark vars as used.
7375
7376 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
7377 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
7378 (byte-compile-from-buffer): ...rather than here.
7379
7380 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
7381 functions from byte-compile-function-environment.
7382
7383 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
7384
7385 * window.el (window-deletable-p): Avoid deleting the root window
7386 of a frame with an active minibuffer.
7387
7388 2012-05-29 Martin Rudalics <rudalics@gmx.at>
7389
7390 * simple.el (choose-completion): Use quit-window (Bug#11567).
7391
7392 2012-05-29 Chong Yidong <cyd@gnu.org>
7393
7394 * whitespace.el (whitespace-cleanup): Fix usage of
7395 whitespace-empty-at-bob-regexp (Bug#11492).
7396
7397 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7398
7399 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7400 revert (Bug#11488).
7401
7402 2012-05-29 Juri Linkov <juri@jurta.org>
7403
7404 * isearch.el (isearch-mode-map): Bind `M-s _' to
7405 `isearch-toggle-symbol'. Bind `M-s c' to
7406 `isearch-toggle-case-fold'.
7407 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7408 (isearch-forward): Add `M-s _' to the docstring.
7409 (isearch-forward-symbol, isearch-toggle-case-fold)
7410 (isearch-symbol-regexp): New functions. (Bug#11381)
7411
7412 2012-05-29 Juri Linkov <juri@jurta.org>
7413
7414 * isearch.el (isearch-word): Add docstring. (Bug#11381)
7415 (isearch-occur, isearch-search-and-update): If `isearch-word' is
7416 a function, call it to get the regexp.
7417 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7418 property `isearch-message-prefix' instead of the string "word ".
7419 (isearch-search-fun-default): For the case of `isearch-word',
7420 return a lambda that calls re-search-forward/re-search-backward
7421 with a regexp returned by `word-search-regexp' or by the function
7422 in `isearch-word'.
7423
7424 2012-05-29 Juri Linkov <juri@jurta.org>
7425
7426 * isearch.el (isearch-search-fun-default): New function.
7427 (isearch-search-fun): Move default part to the new function
7428 `isearch-search-fun-default'.
7429 (isearch-search-fun-function): Set the default value to
7430 `isearch-search-fun-default'. (Bug#11381)
7431
7432 * comint.el (comint-history-isearch-end):
7433 Use `isearch-search-fun-default'.
7434 (comint-history-isearch-search): Use `isearch-search-fun-default'
7435 and remove spacial case for `isearch-word'.
7436 (comint-history-isearch-wrap): Remove spacial case for
7437 `isearch-word'.
7438
7439 * hexl.el (hexl-isearch-search-function):
7440 Use `isearch-search-fun-default'.
7441
7442 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7443 Use `word-search-regexp' for `isearch-word'.
7444
7445 * misearch.el (multi-isearch-search-fun):
7446 Use `isearch-search-fun-default'.
7447
7448 * simple.el (minibuffer-history-isearch-search):
7449 Use `isearch-search-fun-default' and remove spacial case for
7450 `isearch-word'.
7451 (minibuffer-history-isearch-wrap): Remove spacial case for
7452 `isearch-word'.
7453
7454 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
7455 Remove spacial case for `isearch-word'.
7456 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
7457
7458 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7459
7460 Decrease XEmacs incompatibilities.
7461 * textmodes/flyspell.el (flyspell-check-pre-word-p):
7462 Use `string-match'.
7463 (flyspell-delete-region-overlays): Use alternative definition for
7464 XEmacs.
7465 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7466 (flyspell-word): Use `process-kill-without-query' if XEmacs.
7467 (flyspell-mode-on): Use `interactive-p' if XEmacs.
7468 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7469 `define-obsolete-face-alias' under XEmacs, but old method.
7470
7471 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
7472 `with-no-warnings' definition or Emacs alias.
7473 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
7474 (ispell-word): Do not use `region-p' if XEmacs.
7475
7476 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7477
7478 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7479 Check for `ispell-dictionary-base-alist' instead of full
7480 `ispell-dictionary-alist'.
7481 (ispell-init-process): Show spellchecker when starting new Ispell
7482 process.
7483
7484 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7485
7486 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
7487 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
7488
7489 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
7490
7491 * version.el (motif-version-string, gtk-version-string)
7492 (ns-version-string): Declare.
7493
7494 2012-05-27 Juri Linkov <juri@jurta.org>
7495
7496 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
7497 after the `eval-defun-1' specialcaseing
7498 like in `edebug-eval-defun' (bug#10181).
7499
7500 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
7501 like in `eval-defun-1'.
7502
7503 2012-05-27 Eli Zaretskii <eliz@gnu.org>
7504
7505 * mail/sendmail.el (mail-yank-region):
7506 Recognize rmail-yank-current-message in addition to insert-buffer.
7507 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
7508 a *mail* buffer created through rmail-start-mail with sendmail as
7509 mail-user-agent.
7510
7511 2012-05-27 Chong Yidong <cyd@gnu.org>
7512
7513 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
7514 Default to 256 (Bug#11267).
7515
7516 * help.el (describe-mode): Doc fix.
7517
7518 2012-05-26 Glenn Morris <rgm@gnu.org>
7519
7520 * w32-fns.el (w32-init-info): Remove.
7521 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
7522
7523 * info.el (info-initialize): For self-contained NS builds, put the
7524 included info/ directory at the front. (Bug#2791)
7525
7526 * paths.el (Info-default-directory-list): Make it a defcustom,
7527 mainly so that we can use custom-initialize-delay.
7528
7529 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7530
7531 * subr.el (buffer-has-markers-at): Mark obsolete.
7532
7533 * subr.el (lambda): Use declare.
7534
7535 * emacs-lisp/lisp-mode.el (lambda):
7536 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
7537
7538 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7539
7540 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
7541
7542 2012-05-26 Glenn Morris <rgm@gnu.org>
7543
7544 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
7545
7546 2012-05-25 Glenn Morris <rgm@gnu.org>
7547
7548 * paths.el: Remove no-byte-compile.
7549 * loadup.el: No need to load paths.el uncompiled.
7550
7551 * image.el (imagemagick-types-inhibit): Doc fix.
7552
7553 * version.el: Remove no-byte-compile and associated formatting.
7554 * loadup.el: No need to load version.el uncompiled. AFAICS, this
7555 is ancient code from when there was an "inc-vers.el".
7556
7557 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7558
7559 * progmodes/gdb-mi.el: Minor style changes.
7560 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
7561 Turn into minor modes.
7562 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
7563 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
7564 (gdb-shell): Remove unneeded let-binding.
7565 (gdb-get-many-fields): Eliminate O(n²) behavior.
7566
7567 2012-05-25 Eli Zaretskii <eliz@gnu.org>
7568
7569 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
7570 platforms that don't link in fontset.c.
7571
7572 2012-05-25 Juri Linkov <juri@jurta.org>
7573
7574 Use the same diff color scheme as in modern VCSes (bug#10181).
7575
7576 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
7577 to avoid confusion with `diff-added' that now uses green colors.
7578 (diff-removed): Use shades of red.
7579 (diff-added): Use shades of green.
7580 (diff-changed): Leave just the yellow color.
7581 (diff-use-changed-face): New variable.
7582 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
7583 how to highlight context diff changes.
7584 (diff-refine-change): Use shades of yellow.
7585 (diff-refine-removed): New face that uses shades of red.
7586 (diff-refine-added): New face that uses shades of green.
7587 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
7588 `diff-refine-removed' in the call to `smerge-refine-subst'
7589 depending on the value of `diff-use-changed-face'.
7590
7591 * vc/smerge-mode.el (smerge-mine): Use shades of red.
7592 (smerge-other): Use shades of green.
7593 (smerge-base): Use shades of yellow.
7594 (smerge-refined-change): Empty face.
7595 (smerge-refined-removed): New face that uses shades of red.
7596 (smerge-refined-added): New face that uses shades of green.
7597 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
7598 args `props-r' and `props-a', and use them. Doc fix.
7599 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
7600 on its value use different faces `smerge-refined-change',
7601 `smerge-refined-removed', `smerge-refined-added' in the call to
7602 `smerge-refine-subst'.
7603
7604 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
7605 Add face condition `min-colors 88' with shades of red.
7606 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
7607 `min-colors 88' with shades of green.
7608 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
7609 `min-colors 88' with shades of yellow.
7610
7611 2012-05-24 Glenn Morris <rgm@gnu.org>
7612
7613 * paths.el (prune-directory-list, remote-shell-program): Move to...
7614 * files.el (prune-directory-list, remote-shell-program): ...here.
7615 For the latter, delay initialization, prefer ssh, just search PATH.
7616
7617 * paths.el (term-file-prefix): Move to faces.el (the only user).
7618 * faces.el (term-file-prefix): Move here, make it a defcustom.
7619
7620 * paths.el (news-directory, news-path, news-inews-program):
7621 Move to gnus/nnspool.el.
7622
7623 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
7624
7625 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
7626 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
7627 Make the latter a defcustom, with a delayed initialization.
7628
7629 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
7630 These were deleted from Gnus itself late 2010.
7631
7632 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
7633
7634 * progmodes/which-func.el (which-func-ff-hook):
7635 Check against user-error, not error.
7636
7637 * emacs-lisp/edebug.el (top): Do not load or set up loading of
7638 cl-specs.el, which no longer exists.
7639
7640 2012-05-22 Glenn Morris <rgm@gnu.org>
7641
7642 * info.el (info-emacs-bug): New command.
7643 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
7644 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
7645
7646 2012-05-21 Glenn Morris <rgm@gnu.org>
7647
7648 * makefile.w32-in (update-subdirs-SH):
7649 * Makefile.in (update-subdirs): Update for moved update-subdirs.
7650
7651 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7652
7653 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
7654
7655 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7656 Simplify Maven regexp, and make sure the file can't start with a space
7657 (bug#11517).
7658
7659 2012-05-21 Glenn Morris <rgm@gnu.org>
7660
7661 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7662 Scrap superfluous subshells.
7663
7664 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7665
7666 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
7667 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
7668
7669 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
7670
7671 * calc/calc.el (calc-ensure-consistent-units): New variable.
7672
7673 * calc/calc-units.el (math-consistent-units-p)
7674 (math-check-unit-consistency): New functions.
7675 (calc-quick-units, calc-convert-units):
7676 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
7677 is non-nil.
7678 (calc-extract-units): Fix typo.
7679
7680 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7681
7682 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
7683
7684 * textmodes/flyspell.el: Commenting style, plus code simplifications.
7685 (flyspell-default-deplacement-commands): Don't spell check after
7686 repeated window/frame switches (e.g. triggered by mouse-movement).
7687 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
7688 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
7689 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
7690 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
7691 Remove unused vars.
7692 (flyspell-get-casechars, flyspell-get-not-casechars):
7693 Simplify; Don't bother removing a ] just to add it back.
7694 * textmodes/ispell.el (ispell-program-name): Use executable-find.
7695
7696 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7697
7698 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7699 New functions.
7700 (math-function-table): Add support for more C functions.
7701
7702 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7703
7704 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7705 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7706 Protect delay handling for otherchars against empty otherchars.
7707
7708 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7709
7710 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7711 their respective macro declarations.
7712 * skeleton.el (define-skeleton):
7713 * progmodes/compile.el (define-compilation-mode):
7714 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7715 (define-ibuffer-filter):
7716 * emacs-lisp/generic.el (define-generic-mode):
7717 * emacs-lisp/easy-mmode.el (define-minor-mode)
7718 (define-globalized-minor-mode):
7719 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7720 * emacs-lisp/byte-run.el (defsubst):
7721 * custom.el (deftheme): Add doc-string metadata.
7722
7723 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7724
7725 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7726
7727 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7728
7729 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7730
7731 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7732 * emacs-lisp/cl-macs.el: Idem.
7733 * emacs-lisp/cl-specs.el: Remove.
7734
7735 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7736
7737 Minor renaming of internal CL functions and variables.
7738 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7739 (cl--position): Rename from cl-position.
7740 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7741 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7742 (cl--random-state): Rename from *random-state*.
7743
7744 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7745
7746 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7747 parens around the arg list (bug#11499).
7748
7749 2012-05-17 Juri Linkov <juri@jurta.org>
7750
7751 * isearch.el (word-search-regexp, word-search-backward)
7752 (word-search-forward, word-search-backward-lax)
7753 (word-search-forward-lax): Move functions from search.c
7754 (bug#10145, bug#11381).
7755
7756 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7757
7758 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7759 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7760 Delay for otherchars as for normal word components.
7761
7762 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7763
7764 * minibuffer.el (completion--sifn-requote): Fix last change.
7765 (minibuffer-local-must-match-filename-map):
7766 Move define-obsolete-variable-alias before its var.
7767
7768 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7769
7770 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7771
7772 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7773 behavior.
7774 (completion--string-equal-p): New function.
7775 (completion--twq-all): Use it to get better assertion failure data.
7776
7777 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7778 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7779 (shell--requote-argument): New functions.
7780 (shell-completion-vars): Use them.
7781 (shell--parse-pcomplete-arguments): Rename from
7782 shell-parse-pcomplete-arguments.
7783 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7784 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7785 Obey comint-file-name-quote-list.
7786
7787 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7788 (smie-indent-keyword): Use it.
7789
7790 2012-05-14 Stefan Merten <smerten@oekonux.de>
7791
7792 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7793
7794 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7795
7796 * net/rlogin.el (rlogin-mode-map): Fix last change.
7797
7798 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
7799
7800 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7801 the following \r\n using a single `process-send-string', since the
7802 Lotus SMTP server refuses to accept any commands if they are sent
7803 with two `process-send-string's (Bug#11444).
7804
7805 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7806
7807 * shell.el (shell-parse-pcomplete-arguments):
7808 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
7809
7810 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7811
7812 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
7813 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7814 (image-transform-width, image-transform-fit-width): New functions.
7815 (image-transform-properties): Use them.
7816 (image-transform-check-size): New function.
7817 (image-toggle-display-image): Use it (for testing).
7818 (image-transform-set-rotation): Reduce angle mod 360.
7819 Delete obsolete comment.
7820
7821 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7822
7823 * image-mode.el: Fix scaling (bug#11399).
7824 (image-transform-resize): Doc fix.
7825 (image-transform-properties): Default scale is 1 and height should
7826 be an integer.
7827
7828 2012-05-13 Johan Bockgård <bojohan@gnu.org>
7829
7830 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7831 than hard-coding `car', to fix misbehavior when moving forward.
7832
7833 2012-05-13 Chong Yidong <cyd@gnu.org>
7834
7835 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7836 (tabulated-list-entries, tabulated-list-padding)
7837 (tabulated-list-sort-key): Make permanent-local.
7838
7839 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7840 (electric-buffer-list): Put electric buffer menu
7841 command descriptions in this docstring, instead of the docstring
7842 of electric-buffer-menu-mode. Code cleanups.
7843 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7844 Electric-buffer-menu-mode.
7845 (electric-buffer-update-highlight): Minor code cleanup.
7846
7847 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
7848
7849 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7850 (Bug#11447)
7851
7852 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7853
7854 Move define-obsolete-variable-alias before the var's definition.
7855 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7856 * tooltip.el (tooltip-hook):
7857 * textmodes/reftex-toc.el (reftex-toc-map):
7858 * textmodes/reftex-sel.el (reftex-select-label-map)
7859 (reftex-select-bib-map):
7860 * textmodes/reftex-index.el (reftex-index-map)
7861 (reftex-index-phrases-map):
7862 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7863 * progmodes/meta-mode.el (meta-mode-map):
7864 * novice.el (disabled-command-hook):
7865 * loadhist.el (unload-hook-features-list):
7866 * frame.el (blink-cursor):
7867 * files.el (find-file-not-found-hooks, write-file-hooks)
7868 (write-contents-hooks):
7869 * emulation/tpu-edt.el (GOLD-map):
7870 * emacs-lock.el (emacs-lock-from-exiting):
7871 * emacs-lisp/generic.el (generic-font-lock-defaults):
7872 * emacs-lisp/chart.el (chart-map):
7873 * dos-fns.el (register-name-alist):
7874 * dired-x.el (dired-omit-files-p):
7875 * desktop.el (desktop-enable):
7876 * cus-edit.el (custom-mode-hook):
7877 * buff-menu.el (buffer-menu-mode-hook):
7878 * bookmark.el (bookmark-read-annotation-text-func)
7879 (bookmark-exit-hooks):
7880 * allout.el (allout-mode-deactivate-hook)
7881 (allout-exposure-change-hook, allout-structure-added-hook)
7882 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7883 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7884 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7885 comes before the corresponding variable's definition.
7886
7887 2012-05-12 Chong Yidong <cyd@gnu.org>
7888
7889 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
7890 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7891 (Buffer-menu-mode-map): Bind it.
7892 (Buffer-menu--pretty-name): Add a mouse-face property.
7893
7894 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7895
7896 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7897 (prolog-upper-case-string, prolog-lower-case-string)
7898 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7899 (prolog-use-smie, prolog-smie-grammar): New vars.
7900 (prolog-smie-forward-token, prolog-smie-backward-token)
7901 (prolog-smie-rules): New funs.
7902 (prolog-comment-indent): Remove.
7903 (prolog-mode-variables): Use default comment indentation instead.
7904 Setup SMIE.
7905 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7906 (prolog-mode): Don't call them any more.
7907 (prolog-electric-colon, prolog-electric-dash)
7908 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7909
7910 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7911
7912 * minibuffer.el (completion--twq-all): Again, allow case differences.
7913
7914 * term.el: Move keymap initialization code to be more idiomatic.
7915 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7916 (term-terminal-menu): Move initialization into declaration.
7917 (term-escape-char): Let the user set it in her .emacs.
7918
7919 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7920 Provide SMIE-based indentation (not enabled by default yet).
7921 (sh-mode-map): Don't bind electric keys.
7922 Use electric-pair-mode instead of skeleton-pair.
7923 (sh-assignment-regexp): Fit within 80 columns.
7924 (sh-indent-supported): Specify actual shell name instead of boolean.
7925 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7926 (sh-maybe-here-document): Use it. Make obsolete.
7927 (sh-electric-here-document-mode) New minor mode.
7928 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7929 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7930 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7931 (sh-smie-rc-grammar, sh-use-smie): New vars.
7932 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7933 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7934 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7935 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7936 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7937 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7938 (sh-set-shell): Use smie-setup if requested.
7939
7940 * term.el (term-set-escape-char): Properly set term-escape-char.
7941 See http://stackoverflow.com/questions/10524656.
7942
7943 2012-05-10 Chong Yidong <cyd@gnu.org>
7944
7945 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7946 Use url-generic-parse-url, and handle host names and Windows
7947 filenames properly.
7948 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7949 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7950 URL schemes to work on.
7951 (ffap--toggle-read-only): New function.
7952 (ffap-read-only, ffap-read-only-other-window)
7953 (ffap-read-only-other-frame): Use it.
7954 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7955 necessary for ffap-url-unwrap-remote.
7956
7957 2012-05-10 Dave Abrahams <dave@boostpro.com>
7958
7959 * cus-start.el (create-lockfiles): Add it.
7960
7961 2012-05-09 Chong Yidong <cyd@gnu.org>
7962
7963 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7964 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7965
7966 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7967
7968 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7969
7970 2012-05-09 Chong Yidong <cyd@gnu.org>
7971
7972 * ansi-color.el (ansi-color-process-output): Check for validity of
7973 comint-last-output-start before using it. This avoids a bad
7974 interaction with gdb-mi's input/output buffer.
7975
7976 2012-05-09 Glenn Morris <rgm@gnu.org>
7977
7978 * files.el (dir-locals-read-from-file):
7979 Mention dir-locals in any error message.
7980
7981 2012-05-09 Chong Yidong <cyd@gnu.org>
7982
7983 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7984 package (Bug#11410).
7985
7986 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7987 variables into description.
7988
7989 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7990
7991 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7992 shell-delimiter-argument-list (bug#11348).
7993 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7994
7995 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
7996
7997 * textmodes/rst.el: Silence byte-compiler warnings.
7998 (rst-re-alist, rst-reset-section-caches): Move around.
7999 (rst-re): Use `characterp', not `char-valid-p'.
8000 (font-lock-beg, font-lock-end): Declare.
8001
8002 * progmodes/idlw-shell.el (specs): Remove reference to deleted
8003 variable `idlwave-shell-activate-alt-keybindings' and simplify.
8004
8005 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
8006
8007 2012-05-08 Glenn Morris <rgm@gnu.org>
8008
8009 * files.el (auto-mode-alist): Treat ".make" like ".mk".
8010
8011 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8012
8013 * vc/log-edit.el: Add GNU coding standards highlighting.
8014 (log-edit-font-lock-gnu-style)
8015 (log-edit-font-lock-gnu-keywords): New vars.
8016 (log-edit-font-lock-keywords): New fun.
8017 (log-edit-mode): Don't fold case in font-lock.
8018 (log-edit-font-lock-keywords): Do not assume case-folding.
8019
8020 * imenu.el: Misc cleanup. Make docstrings out of comments.
8021 Use lexical-binding.
8022 (imenu--index-alist, imenu--last-menubar-index-alist)
8023 (imenu-menubar-modified-tick): Use defvar-local.
8024 (imenu--split-menu): Remove unused var.
8025 (imenu--cleanup-seen): Declare as global.
8026 (imenu--cleanup): Use dolist.
8027
8028 * subr.el (defvar-local): Add debug spec and doc-string position.
8029
8030 2012-05-08 Glenn Morris <rgm@gnu.org>
8031
8032 * language/burmese.el, language/cham.el, language/czech.el:
8033 * language/english.el, language/georgian.el, language/greek.el:
8034 * language/japanese.el, language/khmer.el, language/korean.el:
8035 * language/lao.el, language/misc-lang.el, language/romanian.el:
8036 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
8037 * language/thai.el, language/utf-8-lang.el:
8038 Remove no-byte-compile setting.
8039
8040 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
8041
8042 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8043
8044 * progmodes/make-mode.el (makefile-browse):
8045 Remove unnecessary interactive. (Bug#11324)
8046
8047 2012-05-07 Glenn Morris <rgm@gnu.org>
8048
8049 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
8050
8051 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
8052
8053 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8054
8055 * loadup.el: Preload newcomment.el.
8056 * newcomment.el: Move autoload-only code to toplevel.
8057
8058 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
8059 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8060 Handle new :right-align column property.
8061 (tabulated-list-print-col): Idem, plus use `display' text-property to
8062 try and preserve alignment for variable pitch fonts.
8063
8064 2012-05-07 Chong Yidong <cyd@gnu.org>
8065
8066 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
8067 (tabulated-list-use-header-line): New var.
8068 (tabulated-list-init-header): Use it.
8069 (tabulated-list-print-fake-header): New function.
8070 (tabulated-list-print): Use it.
8071 (tabulated-list-sort-button-map): Add non-header-line commands.
8072 (tabulated-list-init-header): Add column name property to basic
8073 labels as well.
8074 (tabulated-list-col-sort): Handle non-header-line button case.
8075 (tabulated-list--sort-by-column-name): Fix a corner case.
8076
8077 * buff-menu.el (list-buffers--refresh):
8078 Handle Buffer-menu-use-header-line.
8079
8080 2012-05-06 Chong Yidong <cyd@gnu.org>
8081
8082 * buff-menu.el: Convert to Tabulated List mode.
8083 (Buffer-menu-buffer+size-width): Make obsolete.
8084 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
8085 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
8086 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
8087 documentation into docstring of buffer-menu.
8088 (Buffer-menu-toggle-files-only): Add an informative message.
8089 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
8090 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
8091 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
8092 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
8093 (Buffer-menu-execute, Buffer-menu-select)
8094 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
8095 (Buffer-menu-bury): Use Tabulated List machinery.
8096 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
8097 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
8098 Delete.
8099 (list-buffers--refresh): New function.
8100 (list-buffers-noselect): Use it.
8101 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
8102 (Buffer-menu--pretty-file-name): New helper functions.
8103
8104 * loadup.el: Preload tabulated-list.
8105
8106 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
8107 tabulated-list-sort-column.
8108 (tabulated-list-init-header): Add the initial aligning space even
8109 if tabulated-list-padding is zero.
8110
8111 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
8112
8113 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
8114 whose cdr is not a cons cell correctly (bug#11038).
8115
8116 2012-05-06 Chong Yidong <cyd@gnu.org>
8117
8118 * emacs-lisp/tabulated-list.el (tabulated-list-format):
8119 Accept additional plist in column descriptors.
8120 (tabulated-list-init-header): Obey it.
8121 (tabulated-list-get-entry): New function.
8122 (tabulated-list-put-tag): Use it. Use string-width instead of
8123 length.
8124 (tabulated-list--column-number): New function.
8125 (tabulated-list-print): Use it.
8126 (tabulated-list-print-col): New function.
8127 Set `tabulated-list-column-name' property on each column's text.
8128 (tabulated-list-print-entry): Use it.
8129 (tabulated-list-delete-entry, tabulated-list-set-col):
8130 New functions.
8131 (tabulated-list-sort-column): New command (Bug#11337).
8132
8133 * buff-menu.el (list-buffers): Move C-x C-b binding from
8134 buff-menu.el to bindings.el.
8135
8136 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
8137 :advertised-binding feature.
8138
8139 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
8140
8141 * progmodes/compile.el (compilation-internal-error-properties):
8142 Calculate start position correctly when end-col is set but
8143 end-line is not (Bug#11382).
8144
8145 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
8146
8147 * man.el (Man-unindent): Use text-property-default-nonsticky to
8148 prevent untabify from inheriting face properties (Bug#11408).
8149
8150 2012-05-05 Stefan Merten <smerten@oekonux.de>
8151
8152 * textmodes/rst.el: Major merge with upstream development up to
8153 Docutils SVN r7399 / rst.el V1.2.1.
8154
8155 Clarify maintainership and authors.
8156
8157 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
8158 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
8159 (rst-official-version, rst-official-cvs-rev, rst-version)
8160 (rst-package-emacs-version-alist): New functions and variables
8161 for version information.
8162
8163 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
8164 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
8165 (rst-mode-syntax-table, rst-mode): New and corrected functions
8166 and variables representing reStructuredText features.
8167
8168 (rst-re): New function for reStructuredText regexes. Use in
8169 many places.
8170
8171 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
8172 (rst-mode-map): Rebind keys.
8173
8174 (rst-mode-lazy, rst-font-lock-keywords)
8175 (rst-font-lock-extend-region)
8176 (rst-font-lock-extend-region-internal)
8177 (rst-font-lock-extend-region-extend)
8178 (rst-font-lock-find-unindented-line-limit)
8179 (rst-font-lock-find-unindented-line-match)
8180 (rst-adornment-level, rst-font-lock-adornment-level)
8181 (rst-font-lock-adornment-match)
8182 (rst-font-lock-handle-adornment-pre-match-form)
8183 (rst-font-lock-handle-adornment-matcher): Major revision of
8184 font-locking. Integrate with other code. Use `jit-lock-mode'.
8185
8186 (rst-preferred-adornments, rst-adjust-hook)
8187 (rst-new-adornment-down, rst-preferred-bullets)
8188 (rst-preferred-bullets, rst-indent, rst-indent-width)
8189 (rst-indent-field, rst-indent-literal-normal)
8190 (rst-indent-literal-minimized, rst-indent-comment): Change,
8191 extend and improve customization.
8192
8193 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8194 (rst-normalize-cursor-position, rst-get-decoration)
8195 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8196 (rst-rstrip, rst-toc-insert-find-delete-contents)
8197 (rst-shift-fill-region, rst-compute-bullet-tabs)
8198 (rst-debug-print-tabs, rst-debug-mark-found)
8199 (rst-shift-region-guts, rst-shift-region-right)
8200 (rst-shift-region-left, rst-use-char-classes)
8201 (rst-font-lock-keywords-function)
8202 (rst-font-lock-indentation-point)
8203 (rst-font-lock-find-unindented-line-begin)
8204 (rst-font-lock-find-unindented-line-end)
8205 (rst-font-lock-find-unindented-line)
8206 (rst-font-lock-adornment-point, rst-font-lock-level)
8207 (rst-adornment-level-alist): Remove functions and variables.
8208
8209 (rst-compare-adornments, rst-get-adornment-match)
8210 (rst-suggest-new-adornment, rst-get-adornments-around)
8211 (rst-adornment-complete-p, rst-get-next-adornment)
8212 (rst-adjust-adornment, rst-display-adornments-hierarchy)
8213 (rst-straighten-adornments): Standardize function names to
8214 use "adornment" instead of "decoration". Correct callers.
8215 Similar standardizing in many places.
8216
8217 (rst-update-section, rst-adjust, rst-promote-region)
8218 (rst-enumerate-region, rst-bullet-list-region)
8219 (rst-repeat-last-character): Correct use of `interactive'.
8220
8221 (rst-classify-adornment, rst-find-all-adornments)
8222 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8223 (rst-find-leftmost-column, rst-repeat-last-character):
8224 Refactor functions.
8225
8226 (rst-find-title-line, rst-reset-section-caches)
8227 (rst-get-adornments-around, rst-adjust-adornment-work)
8228 (rst-arabic-to-roman, rst-roman-to-arabic)
8229 (rst-insert-list-pos, rst-insert-list-new-item)
8230 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
8231 New functions.
8232
8233 (rst-all-sections, rst-section-hierarchy)
8234 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
8235 New variables.
8236
8237 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
8238 configuration instead of only buffer. Change where necessary.
8239
8240 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
8241 (rst-shift-region, rst-adaptive-fill): New functions for
8242 indentation and filling.
8243
8244 (rst-comment-line-break, rst-comment-indent)
8245 (rst-comment-insert-comment, rst-comment-region)
8246 (rst-uncomment-region): New functions for handling comments.
8247
8248 (rst-compile): Quote shell arguments.
8249
8250 (rst-compile-pdf-preview, rst-compile-slides-preview):
8251 Delete temporary files after use.
8252
8253 2012-05-05 Glenn Morris <rgm@gnu.org>
8254
8255 * calendar/cal-html.el: Optionally include holidays in the output.
8256 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8257 (cal-html-holidays): New option.
8258 (cal-html-css-default): Add holiday entry.
8259 (holiday-in-range): Autoload it.
8260 (cal-html-htmlify-entry): Add optional class argument.
8261 (cal-html-htmlify-list): Add optional holidays argument.
8262 (cal-html-insert-agenda-days): Include holidays in the output.
8263 (cal-html-one-month): Maybe include holidays.
8264
8265 * calendar/holidays.el (holiday-in-range):
8266 Move here from cal-tex-list-holidays.
8267 * calendar/cal-tex.el (cal-tex-list-holidays):
8268 Make it an obsolete alias for holiday-in-range. Update all callers.
8269
8270 2012-05-05 Chong Yidong <cyd@gnu.org>
8271
8272 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8273 Nextstep.
8274
8275 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
8276
8277 * files.el (file-auto-mode-skip): New var.
8278 (set-auto-mode-1): Use it.
8279
8280 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8281
8282 * repeat.el: Use lexical-binding.
8283 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
8284 (repeat-undo-count): Remove.
8285 (repeat):
8286 * progmodes/octave-mod.el (octave-abbrev-start):
8287 * progmodes/f90.el (f90-abbrev-start):
8288 * face-remap.el (text-scale-adjust):
8289 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
8290
8291 * emacs-lisp/pcase.el (pcase--let*): New function.
8292 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
8293 a bit more.
8294 (pcase--split-pred): Be more clever about ruling out overlap between
8295 a predicate and some constant pattern.
8296 (pcase--q1): Use `null' instead of (eq foo nil).
8297
8298 * subr.el (setq-local, defvar-local): New macros.
8299 (kbd): Redefine as an alias.
8300 (with-selected-window): Leave unrelated frames alone.
8301 (set-temporary-overlay-map): New function.
8302
8303 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8304
8305 * subr.el (user-error): New function.
8306 * window.el (switch-to-buffer):
8307 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
8308 (smerge-match-conflict):
8309 * simple.el (previous-matching-history-element)
8310 (next-matching-history-element, goto-history-element, undo-more)
8311 (undo-start):
8312 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
8313 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
8314 (next-file, tags-loop-scan, list-tags, complete-tag):
8315 * progmodes/compile.el (compilation-loop):
8316 * mouse.el (mouse-minibuffer-check):
8317 * man.el (Man-bgproc-sentinel, Man-goto-page):
8318 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8319 (Info-history-forward, Info-follow-reference, Info-menu)
8320 (Info-extract-menu-item, Info-extract-menu-counting)
8321 (Info-forward-node, Info-backward-node, Info-next-menu-item)
8322 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8323 (Info-next-reference, Info-prev-reference, Info-index)
8324 (Info-index-next, Info-follow-nearest-node)
8325 (Info-copy-current-node-name):
8326 * imenu.el (imenu--make-index-alist)
8327 (imenu-default-create-index-function, imenu-add-to-menubar):
8328 * files.el (basic-save-buffer, recover-file):
8329 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8330 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8331 (checkdoc-message-text, checkdoc-defun):
8332 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8333 * cus-edit.el (customize-changed-options, customize-rogue)
8334 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8335 (custom-variable-mark-to-reset-standard)
8336 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8337 (custom-file):
8338 * completion.el (check-completion-length):
8339 * comint.el (comint-search-arg)
8340 (comint-previous-matching-input-string-position)
8341 (comint-previous-matching-input)
8342 (comint-replace-by-expanded-history-before-point, comint-send-input)
8343 (comint-copy-old-input, comint-backward-matching-input)
8344 (comint-goto-process-mark, comint-set-process-mark):
8345 * calendar/calendar.el (calendar-cursor-to-date): Use it.
8346 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
8347
8348 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8349
8350 * dabbrev.el (dabbrev--ignore-case-p): New function.
8351 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
8352 Use it.
8353
8354 * files.el (automount-dir-prefix): Mark as obsolete.
8355
8356 2012-05-04 Glenn Morris <rgm@gnu.org>
8357
8358 * patcomp.el, play/bruce.el: Move to obsolete/.
8359
8360 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
8361
8362 Fix minor Y10k bugs.
8363 * arc-mode.el (archive-unixdate):
8364 * autoinsert.el (auto-insert-alist):
8365 * calc/calc-forms.el (math-this-year):
8366 * emacs-lisp/copyright.el (copyright-current-year)
8367 (copyright-update-year, copyright):
8368 * tar-mode.el (tar-clip-time-string):
8369 * time.el (display-time-update):
8370 Don't assume years have 4 digits.
8371
8372 2012-05-04 Chong Yidong <cyd@gnu.org>
8373
8374 * dos-w32.el (file-name-buffer-file-type-alist)
8375 (direct-print-region-use-command-dot-com):
8376 * ffap.el (ffap-menu-regexp):
8377 * find-file.el (ff-special-constructs):
8378 * follow.el (follow-debug):
8379 * forms.el (forms--debug):
8380 * iswitchb.el (iswitchb-all-frames):
8381 * ido.el (ido-all-frames):
8382 * emacs-lisp/timer.el (timer-max-repeats):
8383 * mail/feedmail.el (feedmail-mail-send-hook)
8384 (feedmail-mail-send-hook-queued):
8385 * mail/footnote.el (footnote-signature-separator):
8386 * mail/mailabbrev.el (mail-alias-separator-string)
8387 (mail-abbrev-mode-regexp):
8388 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8389 * progmodes/idlwave.el (idlwave-libinfo-file)
8390 (idlwave-default-completion-case-is-down)
8391 (idlwave-library-routines): Convert defvars to defcustoms.
8392
8393 * mail/rmail.el (rmail-decode-mime-charset):
8394 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8395 (idlwave-shell-fix-inserted-breaks)
8396 (idlwave-shell-activate-alt-keybindings)
8397 (idlwave-shell-use-breakpoint-glyph):
8398 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8399
8400 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8401
8402 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8403
8404 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
8405
8406 * progmodes/verilog-mode.el (font-lock-keywords):
8407 Fix mis-highligting auto. Reported by Craig Barner.
8408 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
8409 defines from global name space. Reported by Dan Dever.
8410 (verilog-auto-reset, verilog-auto-reset-widths)
8411 (verilog-auto-tieoff): Support using unbased numbers for
8412 AUTORESET and AUTOTIEOFF.
8413 (verilog-submit-bug-report): Update variable list.
8414 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
8415 parenthesis from not matching. Reported by Michael Rytting.
8416 (verilog-auto-template-lint): Fix hash error when linting modules
8417 with no used templates.
8418 (verilog-warn, verilog-warn-error)
8419 (verilog-warn-fatal): When non-interactive report multiple
8420 warnings before exiting. Suggested by Brad Dobbie.
8421 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8422 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8423 to report unused template errors. Reported by Brad Dobbie.
8424 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
8425 nets, bug438. Reported by Vns Blore.
8426 (verilog-auto-inout-module, verilog-auto-reg)
8427 (verilog-read-decls, verilog-read-sub-decls-sig)
8428 (verilog-signals-edit-wire-reg, verilog-signals-with):
8429 Fix passing of Verilog data types in ANSI input/output ports
8430 such as "output logic" into the AUTOs. Special case "wire" and
8431 "reg" for backwards compatibility presuming Verilog 2001.
8432 (verilog-auto-ascii-enum): Add "auto enum" as alias.
8433 (verilog-preprocess): Fix replication of preprocess output.
8434 Reported by Brad Dobbie.
8435 (verilog-auto-inst-interfaced-ports):
8436 Create verilog-auto-inst-interfaced-ports, bug429.
8437 Reported by Julian Gorfajn.
8438 (verilog-after-save-font-hook)
8439 (verilog-before-save-font-hook): New variable.
8440 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8441 (verilog-save-font-mods): Wrap disabling fontification, reported
8442 by David Rogoff.
8443 (verilog-do-indent, verilog-pretty-declarations-auto)
8444 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8445 Reported by Pierre-David Pfister.
8446 (verilog-set-auto-endcomments): Fix endtask auto comments outside
8447 of class declarations, bug292. Reported by Kevin Heilman.
8448 (verilog-read-decls): Fix 'parameter type' not appearing in
8449 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
8450 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
8451 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
8452 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
8453 Reported by David Kravitz.
8454
8455 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
8456
8457 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
8458 assignment with tests in ifs and for loops.
8459 (verilog-extended-complete-re, verilog-complete-reg): Change so
8460 that DPI inport functions don't look like fuction declarations.
8461 (verilog-pretty-expr): Don't line up assignment
8462 operations to the test and increment in if and for loops
8463 (verilog-extended-complete-re, verilog-complete-reg): Change so
8464 that DPI inport functions don't look like fuction declarations.
8465
8466 2012-05-03 Kenichi Handa <handa@m17n.org>
8467
8468 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
8469 decoding, and show a warning message without signaling an error
8470 (Bug#11282).
8471
8472 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8473
8474 * emacs-lisp/bytecomp.el
8475 (byte-compile-file-form-custom-declare-variable): Compile all elements,
8476 since cconv.el might have introduced :fun-body, internal-make-closure,
8477 and friends for bytecomp to handle (bug#11391).
8478 * custom.el (defcustom): Avoid ((λ ..) ..).
8479
8480 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8481
8482 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
8483
8484 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
8485
8486 * notifications.el (dbus-debug):
8487 * term/linux.el (gpm-mouse-enable):
8488 * term/screen.el (xterm-register-default-colors): Declare.
8489
8490 2012-05-02 Chong Yidong <cyd@gnu.org>
8491
8492 * cus-start.el (gc-cons-percentage, exec-suffixes)
8493 (dos-display-scancodes, dos-hyper-key, dos-super-key)
8494 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8495 (make-cursor-line-fully-visible, void-text-area-pointer)
8496 (font-list-limit): Add customization data.
8497
8498 * allout.el (allout-exposure-change-functions)
8499 (allout-structure-added-functions)
8500 (allout-structure-deleted-functions)
8501 (allout-structure-shifted-functions): Rename abnormal hooks from
8502 *-hook, and convert to defcustoms.
8503 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8504 Convert to defcustoms.
8505 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8506
8507 * allout-widgets.el: Hook callers changed.
8508
8509 2012-05-02 Eli Zaretskii <eliz@gnu.org>
8510
8511 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
8512 the yanked message in preference to the default value of
8513 buffer-file-coding-system.
8514
8515 2012-05-02 Martin Rudalics <rudalics@gmx.at>
8516
8517 * window.el (display-buffer--action-function-custom-type):
8518 Fix entry.
8519
8520 2012-05-02 Alan Mackenzie <acm@muc.de>
8521
8522 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
8523
8524 2012-05-01 Glenn Morris <rgm@gnu.org>
8525
8526 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
8527
8528 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
8529
8530 * cus-edit.el (custom-variable-documentation): Simplify with format.
8531
8532 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8533 Stefan Monnier <monnier@iro.umontreal.ca>
8534
8535 * simple.el (suggest-key-bindings, execute-extended-command):
8536 Move from keyboard.c.
8537
8538 2012-05-01 Chong Yidong <cyd@gnu.org>
8539
8540 * follow.el: Eliminate advice.
8541 (set-process-filter, process-filter, sit-for): Advice deleted.
8542 (follow-mode-off-hook): Obsolete hook removed.
8543 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
8544 Vars deleted.
8545 (follow-auto): Use a :set function.
8546 (follow-mode): Rewritten. Don't advise process filters.
8547 (follow-switch-to-current-buffer-all, follow-scroll-up)
8548 (follow-scroll-down): Assume follow-mode is bound.
8549 (follow-comint-scroll-to-bottom)
8550 (follow-align-compilation-windows): New functions.
8551 (follow--window-sorter): New function.
8552 (follow-all-followers): Use it to explicitly sort windows by their
8553 positions; don't make assumptions about next-window order.
8554 (follow-windows-start-end, follow-delete-other-windows-and-split)
8555 (follow-calc-win-start): Doc fix.
8556 (follow-windows-aligned-p, follow-select-if-visible): Don't call
8557 vertical-motion unnecessarily.
8558 (follow-adjust-window): New function.
8559 (follow-post-command-hook): Use it.
8560 (follow-call-set-process-filter, follow-call-process-filter)
8561 (follow-intercept-process-output, follow-tidy-process-filter-alist)
8562 (follow-stop-intercept-process-output, follow-generic-filter):
8563 Functions deleted.
8564 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
8565 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
8566 New functions, replacing advice on scroll-bar-* commands.
8567 (follow-mwheel-scroll): New function (Bug#4112).
8568
8569 * comint.el (comint-adjust-point): New function.
8570 (comint-postoutput-scroll-to-bottom): Use it.
8571 Call follow-comint-scroll-to-bottom for Follow mode buffers.
8572
8573 2012-05-01 Glenn Morris <rgm@gnu.org>
8574
8575 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
8576 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
8577 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
8578 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
8579 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
8580 Remove no-byte-compile setting.
8581
8582 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8583
8584 * minibuffer.el (completion-table-with-quoting): Fix compatibility
8585 all-completions code to not return a number in the last cdr.
8586
8587 2012-04-30 Leo Liu <sdl.web@gmail.com>
8588
8589 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
8590 read-only error.
8591
8592 2012-04-29 Chong Yidong <cyd@gnu.org>
8593
8594 * follow.el (follow-calc-win-end): Rewrite to handle partial
8595 screen lines correctly (Bug#8390).
8596 (follow-avoid-tail-recenter): Minor cleanup.
8597
8598 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8599
8600 Avoid the obsolete `assoc' package.
8601 * speedbar.el (speedbar-refresh): Avoid adelete.
8602 (speedbar-file-lists): Simplify and avoid aput.
8603 * man.el (Man--sections, Man--refpages): New vars, replacing
8604 Man-sections-alist and Man-refpages-alist.
8605 (Man-build-section-alist, Man-build-references-alist):
8606 Use them; avoid aput.
8607 (Man--last-section, Man--last-refpage): New vars.
8608 (Man-follow-manual-reference): Use them.
8609 Use the `default' arg of completing-read.
8610 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
8611
8612 2012-04-27 Chong Yidong <cyd@gnu.org>
8613
8614 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
8615
8616 * startup.el (x-apply-session-resources): New function.
8617
8618 * term/ns-win.el (ns-initialize-window-system):
8619 * term/w32-win.el (w32-initialize-window-system):
8620 * term/x-win.el (x-initialize-window-system): Use it to properly
8621 set menu-bar-mode and other vars from X resources, even if the
8622 initial frame is not a window-system frame (Bug#2299).
8623
8624 * subr.el (read-key): Avoid running filter function when setting
8625 up temporary tool bar entries (Bug#9922).
8626
8627 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8628
8629 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
8630 (Bug#11344)
8631
8632 2012-04-27 Chong Yidong <cyd@gnu.org>
8633
8634 * select.el (xselect--encode-string): New function, split from
8635 xselect-convert-to-string.
8636 (xselect-convert-to-string): Use it.
8637 (xselect-convert-to-filename, xselect-convert-to-os)
8638 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
8639 returned strings are properly encoded (Bug#11315).
8640
8641 2012-04-27 Chong Yidong <cyd@gnu.org>
8642
8643 * simple.el (delete-active-region): Move to killing custom group.
8644
8645 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8646
8647 * progmodes/which-func.el (which-func-current): Quote %
8648 characters for mode-line processing.
8649
8650 2012-04-27 Chong Yidong <cyd@gnu.org>
8651
8652 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
8653 reaching eob (Bug#11286).
8654
8655 2012-04-27 Eli Zaretskii <eliz@gnu.org>
8656
8657 * progmodes/gdb-mi.el (gdb-control-level): New variable.
8658 (gdb): Make it buffer-local and init to zero.
8659 (gdb-control-commands-regexp): New variable.
8660 (gdb-send): Don't wrap in "-interpreter-exec console" if
8661 gdb-control-level is positive. Increment gdb-control-level
8662 whenever the command matches gdb-control-commands-regexp, and
8663 decrement it each time the command is "end". (Bug#11279)
8664
8665 2012-04-27 Martin Rudalics <rudalics@gmx.at>
8666
8667 * window.el (adjust-window-trailing-edge, enlarge-window)
8668 (shrink-window, window-resize):
8669 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
8670 windows (Bug#11276).
8671
8672 2012-04-27 Chong Yidong <cyd@gnu.org>
8673
8674 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
8675 fix "missing prefix" warning. All callers changed.
8676
8677 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8678
8679 * emacs-lisp/assoc.el: Move to obsolete/.
8680
8681 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8682
8683 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
8684
8685 * term/ns-win.el (ns-define-service):
8686 * progmodes/pascal.el (pascal-goto-defun):
8687 * progmodes/js.el (js--read-tab):
8688 * progmodes/etags.el (tags-lazy-completion-table):
8689 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
8690 * emacs-lisp/ewoc.el (ewoc--wrap):
8691 * emacs-lisp/assoc.el (aput, adelete, amake):
8692 * doc-view.el (doc-view-convert-current-doc):
8693 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8694
8695 2012-04-26 Chong Yidong <cyd@gnu.org>
8696
8697 * image.el (image-type-from-buffer): Only return supported image
8698 type (Bug#9045).
8699
8700 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8701 value, for symmetry with diff-end-of-hunk.
8702 (diff-split-hunk, diff-find-source-location)
8703 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8704 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8705 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8706 compute the relevant hunk or file properly (Bug#6005).
8707 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8708
8709 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8710
8711 * vc/vc-mtn.el:
8712 * vc/vc-hg.el:
8713 * vc/vc-git.el:
8714 * vc/vc-dir.el:
8715 * vc/vc-cvs.el:
8716 * vc/vc-bzr.el:
8717 * vc/vc-arch.el:
8718 * vc/vc.el: Replace lexical-let by lexical-binding.
8719 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8720 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8721 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8722
8723 2012-04-26 Chong Yidong <cyd@gnu.org>
8724
8725 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8726 (diff-mode-shared-map): Bind it to / and [remap undo].
8727
8728 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8729 (ediff-window-setup-function): Use it as the default, to set up
8730 windows based on whether the current frame is graphical (Bug#2138).
8731 (ediff-choose-window-setup-function-automatically): Make obsolete.
8732
8733 * vc/ediff-init.el: Always define ediff-pixel-width/height.
8734
8735 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8736
8737 * ffap.el: Remove old code for obsolete package.
8738 (ffap-complete-as-file-p): Remove.
8739
8740 Use completion-table-with-quoting for comint and pcomplete.
8741 * comint.el (comint--unquote&requote-argument)
8742 (comint--unquote-argument, comint--requote-argument): New functions.
8743 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8744 (comint-quote-filename): Use regexp-opt-charset.
8745 (comint--common-suffix, comint--common-quoted-suffix)
8746 (comint--table-subvert): Remove.
8747 (comint-unquote-function, comint-requote-function): New vars.
8748 (comint--complete-file-name-data): Use them with
8749 completion-table-with-quoting.
8750 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8751 * pcomplete.el (pcomplete-arg-quote-list)
8752 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8753 (pcomplete-unquote-argument-function): Default to non-nil.
8754 (pcomplete-unquote-argument): Simplify.
8755 (pcomplete--common-quoted-suffix): Remove.
8756 (pcomplete-requote-argument-function): New var.
8757 (pcomplete--common-suffix): New function.
8758 (pcomplete-completions-at-point): Use completion-table-with-quoting
8759 and completion-table-subvert.
8760
8761 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8762 (minibuffer--double-dollars): Preserve properties.
8763 (completion--sifn-requote): New function.
8764 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8765
8766 * minibuffer.el: Add support for completion of quoted/escaped data.
8767 (completion-table-with-quoting, completion-table-subvert): New funs.
8768 (completion--twq-try, completion--twq-all): New functions.
8769 (completion--nth-completion): New function.
8770 (completion-try-completion, completion-all-completions): Use it.
8771
8772 2012-04-25 Leo Liu <sdl.web@gmail.com>
8773
8774 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8775 Use compilation-message if available to find real filename.
8776
8777 2012-04-25 Chong Yidong <cyd@gnu.org>
8778
8779 * vc/diff-mode.el (diff-setup-whitespace): New function.
8780 (diff-mode): Use it.
8781
8782 * vc/diff.el (diff-sentinel):
8783 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8784 Whitespace mode variables based on diff style (Bug#8612).
8785
8786 2012-04-25 Leo Liu <sdl.web@gmail.com>
8787
8788 * progmodes/python.el (python-send-region): Add suffix .py to the
8789 temp file.
8790
8791 * files.el (auto-mode-alist): Use javascript-mode instead.
8792
8793 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8794
8795 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
8796
8797 * net/soap-client.el (soap-resolve-references-for-sequence-type)
8798 (soap-resolve-references-for-array-type): Hack to prevent self
8799 references, see Bug#9.
8800 (soap-parse-envelope): Report the contents of the 'detail' node
8801 when receiving a fault reply.
8802 (soap-parse-envelope): Report the contents of the entire 'detail' node.
8803
8804 * net/soap-inspect.el (soap-sample-value-for-simple-type)
8805 (soap-inspect-simple-type): New function.
8806
8807 * net/soap-client.el (soap-simple-type): New struct.
8808 (soap-default-xsd-types, soap-default-soapenc-types)
8809 (soap-decode-basic-type, soap-encode-basic-type):
8810 support unsignedInt and double basic types.
8811 (soap-resolve-references-for-simple-type)
8812 (soap-parse-simple-type, soap-encode-simple-type): New function.
8813 (soap-parse-schema): Parse xsd:simpleType declarations.
8814
8815 * net/soap-client.el (soap-default-xsd-types)
8816 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8817 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8818 the local name of "soapenc:Array".
8819 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
8820 decoding integer, byte and anyURI xsd types.
8821
8822 2012-04-25 Chong Yidong <cyd@gnu.org>
8823
8824 * cus-edit.el (custom-buffer-create-internal): Update header text.
8825
8826 2012-04-25 Eli Zaretskii <eliz@gnu.org>
8827
8828 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8829 settings on 'system-type', not on 'window-system'. On MS-Windows,
8830 set interactive-mode on in GDB.
8831
8832 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8833
8834 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8835 (ruby-syntax-propertize-regexp): Remove.
8836 (ruby-syntax-propertize-function): Split regexp into chunks.
8837 Match following code directly.
8838
8839 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8840
8841 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8842 (ruby-syntax-propertize-regexp): New function.
8843 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8844 by a special keyword.
8845
8846 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8847 (ruby-syntax-general-delimiters-goto-beg)
8848 (ruby-syntax-propertize-general-delimiters): New functions.
8849 (ruby-syntax-propertize-function): Use them to handle GDL.
8850 (ruby-font-lock-keywords): Move old handling of GDL...
8851 (ruby-font-lock-syntactic-keywords): .. to here.
8852 (ruby-calculate-indent): Adjust indentation for GDL.
8853
8854 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
8855
8856 * notifications.el (top): Remove unneeded declarations.
8857 (notifications-specification-version): Change to "1.2".
8858 (notifications-interface, notifications-notify-method)
8859 (notifications-close-notification-method): Fix docstring.
8860 (notifications-get-capabilities-method): New defconst.
8861 (notifications-notify): Add :action-items, :resident and
8862 :transient hints. Change "image_data" to "image-data" and
8863 "image_path" to "image-path".
8864 (notifications-get-capabilities): New defun.
8865
8866 2012-04-24 Leo Liu <sdl.web@gmail.com>
8867
8868 * progmodes/python.el: Move hideshow setup to the end.
8869
8870 2012-04-24 Martin Rudalics <rudalics@gmx.at>
8871
8872 * window.el (handle-select-window): Clear echo area since this is
8873 no more done by read_char (Bug#11304).
8874
8875 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8876
8877 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8878 and `/ M' to filter-derived-mode.
8879 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8880 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8881 (ibuffer-mark-by-mode): Use default rather than initial-input.
8882 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8883
8884 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8885
8886 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8887 (ibuffer-filter-by-derived-mode): New filter.
8888 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8889
8890 2012-04-23 Andreas Politz <politza@fh-trier.de>
8891
8892 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8893
8894 2012-04-23 Chong Yidong <cyd@gnu.org>
8895
8896 * cus-edit.el (customize-apropos, customize-apropos-options):
8897 Disable matching of non-option variables (Bug#11176).
8898 (customize-option, customize-option-other-window)
8899 (customize-changed-options): Doc fix.
8900 (customize-apropos-options, customize-apropos-faces)
8901 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8902
8903 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
8904 Fix word list splitting (Bug#11132).
8905 (apropos-symbol, apropos-keybinding, apropos-label)
8906 (apropos-property, apropos-function-button)
8907 (apropos-variable-button, apropos-misc-button): New faces.
8908 (apropos-symbol-face, apropos-keybinding-face)
8909 (apropos-label-face, apropos-property-face, apropos-match-face):
8910 Variables removed (Bug#8396).
8911 (apropos-library-button, apropos-format-plist, apropos-print)
8912 (apropos-print-doc, apropos-describe-plist): Callers changed.
8913
8914 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
8915
8916 * net/xesam.el (xesam-mode-map): Use let-bound map in
8917 initialization. (Bug#11292)
8918
8919 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8920
8921 Preserve ispell session localwords when switching back to
8922 original buffer.
8923
8924 * textmodes/ispell.el (ispell-buffer-session-localwords):
8925 New buffer-local variable to hold buffer session localwords.
8926 (ispell-kill-ispell): Add option 'clear to delete session
8927 localwords.
8928 (ispell-command-loop, ispell-change-dictionary)
8929 (ispell-buffer-local-words): Preserve session localwords when
8930 needed.
8931
8932 * textmodes/flyspell.el (flyspell-process-localwords)
8933 (flyspell-do-correct): Preserve session localwords when needed.
8934
8935 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8936
8937 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8938 using obsolete `translation-table-for-input'.
8939 (ispell-word, ispell-process-line, ispell-complete-word):
8940 Use plain `insert' instead of removed `ispell-insert-word'.
8941
8942 2012-04-22 Chong Yidong <cyd@gnu.org>
8943
8944 * cus-edit.el (custom-variable-menu)
8945 (custom-variable-reset-saved, custom-face-menu)
8946 (custom-face-reset-saved): If there is no saved value, make the
8947 "reset-saved" operation bring back the default (Bug#9509).
8948 (custom-face-state): Properly detect themed faces.
8949
8950 * faces.el (face-spec-set): Stop supporting deprecated form of
8951 third arg.
8952
8953 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
8954
8955 Move functions from C to Lisp. Make non-blocking method calls
8956 the default. Implement further D-Bus standard interfaces.
8957
8958 * net/dbus.el (dbus-message-internal): Declare function.
8959 Remove unneeded function declarations.
8960 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8961 (dbus-message-type-method-return, dbus-message-type-error)
8962 (dbus-message-type-signal): Declare variables. Remove local
8963 definitions.
8964 (dbus-interface-dbus, dbus-interface-peer)
8965 (dbus-interface-introspectable, dbus-interface-properties)
8966 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8967 Adapt docstring.
8968 (dbus-interface-objectmanager): New defconst.
8969 (dbus-call-method, dbus-call-method-asynchronously)
8970 (dbus-send-signal, dbus-method-return-internal)
8971 (dbus-method-error-internal, dbus-register-service)
8972 (dbus-register-signal, dbus-register-method): New defuns, moved
8973 from dbusbind.c
8974 (dbus-call-method-handler, dbus-setenv)
8975 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8976 New defuns.
8977 (dbus-call-method-non-blocking): Make it an obsolete function.
8978 (dbus-unregister-object, dbus-unregister-service)
8979 (dbus-handle-event, dbus-register-property)
8980 (dbus-property-handler): Obey the new structure of
8981 `bus-registered-objects'.
8982 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8983 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8984 Use `dbus-call-method'.
8985
8986 2012-04-22 Chong Yidong <cyd@gnu.org>
8987
8988 * cus-edit.el (custom-commands, custom-reset-menu)
8989 (Custom-reset-standard): Tweak labels.
8990 (custom-reset-button-menu): Change default to t.
8991 (custom-buffer-create-internal): For the custom-reset-button-menu
8992 case, put the revert button first.
8993 (custom-group-subtitle): New face.
8994 (custom-group-value-create): Align docstring to a specific column.
8995
8996 * wid-edit.el (widget-documentation-link-add): Don't handle
8997 indentation in this function.
8998 (widget-documentation-string-indent-to): New function.
8999 (widget-documentation-string-value-create): Use it.
9000
9001 * autorevert.el (auto-revert):
9002 * epg-config.el (epg):
9003 * ibuffer.el (ibuffer):
9004 * mpc.el (mpc):
9005 * ses.el (ses):
9006 * eshell/eshell.el (eshell):
9007 * net/ange-ftp.el (ange-ftp):
9008 * progmodes/ebnf2ps.el (postscript):
9009 * progmodes/flymake.el (flymake):
9010 * progmodes/prolog.el (prolog):
9011 * progmodes/verilog-mode.el (verilog-mode):
9012 * progmodes/which-func.el (which-func):
9013 * term/xterm.el (xterm):
9014 * textmodes/picture.el (picture):
9015 * textmodes/tildify.el (tildify):
9016 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
9017 customization buffers.
9018
9019 2012-04-22 Alan Mackenzie <acm@muc.de>
9020
9021 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9022 Adding a ) can hide the resulting (..) from searches. Fix it.
9023 Bound the backward search to the position of the existing (.
9024
9025 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
9026
9027 * progmodes/verilog-mode.el (verilog-mode): Check whether
9028 which-func-modes is t before adding verilog-mode.
9029 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9030
9031 2012-04-21 Leo Liu <sdl.web@gmail.com>
9032
9033 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
9034
9035 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
9036
9037 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
9038 filling of the last column of a table (Bug#5635).
9039 (woman-find-next-control-line): New arg, specifying an additional
9040 regexp component for the control line.
9041 (woman2-roff-buffer): Use it.
9042 (woman-break-table): New function.
9043 (woman2-TS): Use it.
9044
9045 2012-04-21 Chong Yidong <cyd@gnu.org>
9046
9047 * woman.el (woman-set-buffer-display-table, woman-decode-region)
9048 (woman-horizontal-escapes, woman-negative-vertical-space)
9049 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
9050 (WoMan-warn-ignored): Use ?\s instead of ?\ .
9051
9052 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9053
9054 * minibuffer.el (completion-file-name-table): Complete user names.
9055
9056 2012-04-20 Leo Liu <sdl.web@gmail.com>
9057
9058 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
9059 and pcase-let*.
9060
9061 2012-04-20 Chong Yidong <cyd@gnu.org>
9062
9063 * server.el (server-execute): Respect initial-buffer-choice if it
9064 is a string and there are no files to open (Bug#2825).
9065 (server-create-window-system-frame, server-create-tty-frame):
9066 Don't switch buffers here.
9067 (server-process-filter): Only try to open a window system frame if
9068 compiled with graphical support (Bug#8314).
9069
9070 2012-04-20 Dan Nicolaescu <dann@gnu.org>
9071
9072 * battery.el (battery-echo-area-format): Display remaining time
9073 for sysfs backend too (Bug#11269).
9074 (battery-linux-sysfs): Fix conditional for the charge.
9075
9076 2012-04-20 Chong Yidong <cyd@gnu.org>
9077
9078 * progmodes/gdb-mi.el (gdb): Revert previous change.
9079 (gdb-inferior-io--init-proc): New function.
9080 (gdb-init-1): Use it.
9081 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
9082 responsible for allocating a new pty and hooking it to gdb when
9083 the old pty gets an EIO due to process exit.
9084 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
9085 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
9086 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
9087
9088 2012-04-20 Eli Zaretskii <eliz@gnu.org>
9089
9090 * window.el (window-min-size, window-sizable, window-min-delta)
9091 (window-max-delta, window--resizable, window-resizable)
9092 (window-total-size, window-full-height-p, window-full-width-p)
9093 (window-in-direction, window--resize-mini-window, window-resize)
9094 (window--resize-child-windows-normal)
9095 (window--resize-child-windows, window--resize-siblings)
9096 (window--resize-this-window, adjust-window-trailing-edge)
9097 (enlarge-window, shrink-window): Doc fixes.
9098
9099 2012-04-20 Chong Yidong <cyd@gnu.org>
9100
9101 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
9102 New function to call delete-process on the gdb-inferior buffer's pty.
9103 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
9104 pty process (Bug#11273).
9105 (gdb-update): New arg to suppress talking to the gdb process.
9106 (gdb-done-or-error): Use it.
9107 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
9108 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
9109 sentinel not being called.
9110
9111 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
9112
9113 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
9114
9115 2012-04-20 Glenn Morris <rgm@gnu.org>
9116
9117 * net/network-stream.el (open-network-stream): Doc fix.
9118
9119 2012-04-20 Chong Yidong <cyd@gnu.org>
9120
9121 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
9122
9123 2012-04-20 Alan Mackenzie <acm@muc.de>
9124
9125 Ensure searching for keywords is case sensitive.
9126
9127 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
9128 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
9129 (c-defun-name, c-mark-function, c-cpp-define-name)
9130 (c-comment-indent, c-scan-conditionals, c-indent-defun)
9131 (c-context-line-break): Bind case-fold-search to nil.
9132
9133 * progmodes/cc-mode.el (c-font-lock-fontify-region):
9134 Bind case-fold-search to nil.
9135
9136 2012-04-20 Chong Yidong <cyd@gnu.org>
9137
9138 * mail/sendmail.el (mail-bury): Call return action with the right
9139 Rmail buffer (Bug#11242).
9140
9141 * server.el (server-process-filter): Handle corner case where both
9142 tty and nowait options are present (Bug#11102).
9143
9144 2012-04-20 Eli Zaretskii <eliz@gnu.org>
9145
9146 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
9147 (top level): Put into the executable the ident-style '$Id:' tag on
9148 windows-nt as well.
9149
9150 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9151
9152 * electric.el (electric-indent-post-self-insert-function): Check that
9153 electric-indent-mode is enabled in current buffer.
9154
9155 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
9156
9157 * imenu.el (imenu-progress-message): Restore; it is "used" in
9158 erc/erc-imenu.el and net/snmp-mode.el.
9159
9160 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
9161
9162 * avoid.el (mouse-avoidance-mode): Mark unused arg.
9163 (mouse-avoidance-nudge-mouse): Remove unused binding.
9164
9165 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
9166
9167 * descr-text.el (describe-char):
9168 * progmodes/python.el (python-describe-symbol):
9169 Don't call `toggle-read-only', set `buffer-read-only'.
9170
9171 * imenu.el (imenu-default-goto-function): Mark unused args.
9172 (imenu-progress-message): Remove obsolete macro; all callers changed.
9173
9174 * subr.el (keymap-canonicalize): Remove unused binding.
9175 (read-passwd): Mark unused arg.
9176
9177 * tutorial.el (tutorial--display-changes): Remove unused binding.
9178 (tutorial--save-tutorial-to): Remove unused variable.
9179
9180 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9181 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9182 (package-generate-autoloads, package-menu--generate)
9183 (package-menu--find-upgrades): Remove unused bindings.
9184
9185 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9186 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
9187 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9188 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9189 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9190 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9191 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9192 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9193 (cua-delete-char-rectangle): Mark unused args.
9194 (cua-align-rectangle): Remove unused binding.
9195
9196 * mail/rmail.el (compilation--message->loc)
9197 (epa--find-coding-system-for-mime-charset): Declare.
9198
9199 * net/dbus.el (dbus-register-service): Declare.
9200 (dbus-name-owner-changed-handler): Remove unused binding.
9201
9202 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9203 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9204 (nxml-scan-backward-within): Mark unused arg.
9205 (nxml-dynamic-markup-word): Remove unused binding.
9206
9207 * mouse.el (mouse-menu-major-mode-map):
9208 * emacs-lisp/authors.el (authors-scan-change-log)
9209 (authors-add-to-author-list):
9210 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9211 * emacs-lisp/smie.el (smie-auto-fill):
9212 * mail/sendmail.el (mail-bury):
9213 * mail/unrmail.el (unrmail):
9214 * net/tls.el (open-tls-stream):
9215 * textmodes/picture.el (picture-mouse-set-point):
9216 Remove unused bindings.
9217
9218 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
9219
9220 * net/tramp.el (tramp-action-password): Let-bind
9221 `enable-recursive-minibuffers' to t.
9222
9223 2012-04-18 Sam Steingold <sds@gnu.org>
9224
9225 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9226 instead of 'string to accommodate values like [f11].
9227 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
9228 * progmodes/gdb-mi.el: Likewise.
9229
9230 2012-04-18 Leo Liu <sdl.web@gmail.com>
9231
9232 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
9233 current buffer.
9234 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
9235 LOCAL is nil.
9236
9237 2012-04-18 Chong Yidong <cyd@gnu.org>
9238
9239 * simple.el (line-move): Use forward-line if in batch mode
9240 (Bug#11053).
9241
9242 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
9243
9244 * files.el (after-find-file): Do not try to add a final newline if
9245 the buffer is read-only (Bug#11156).
9246
9247 2012-04-17 Richard Stallman <rms@gnu.org>
9248
9249 * mail/rmail.el (rmail-start-mail):
9250 Pass (rmail-mail-return...) for the return-action.
9251 Pass (rmail-yank-current-message...) for the yank-action.
9252 (rmail-yank-current-message): New function.
9253 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9254 (rmail-reply): Likewise.
9255 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9256
9257 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
9258 buffer, not the last. Reject temp buffers. Use the rmail-mode
9259 buffer, not newbuf.
9260
9261 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
9262
9263 * server.el (server-ensure-safe-dir): Simplify.
9264
9265 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9266
9267 * emacs-lisp/smie.el: Provide smarter auto-filling.
9268 (smie-auto-fill): New function.
9269 (smie-setup): Use it.
9270
9271 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9272
9273 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
9274
9275 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9276 (comment-indent): Use it.
9277
9278 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
9279
9280 * ses.el: The overall change is to add cell renaming, that is
9281 setting fancy names for cell symbols other than name matching
9282 "\\`[A-Z]+[0-9]+\\'" regexp .
9283 (ses-localvars): Add ses--renamed-cell-symb-list.
9284 (ses-create-cell-variable): New defun.
9285 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
9286 (ses-relocate-formula): Relocate formulas only for cells the
9287 symbols of which are not renamed, i.e. symbols whose names do not
9288 match regexp "\\`[A-Z]+[0-9]+\\'".
9289 (ses-relocate-all): Relocate values only for cells the symbols of
9290 which are not renamed.
9291 (ses-load): Create cells variables as the (ses-cell ...) are read,
9292 in order to check row col consistency with cell symbol name only
9293 for cells that are not renamed.
9294 (ses-replace-name-in-formula): New defun.
9295 (ses-rename-cell): New defun.
9296
9297 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
9298
9299 * progmodes/perl-mode.el (perl-indent-parens-as-block):
9300 New option (bug#11118).
9301 (perl-calculate-indent): Respect it.
9302
9303 2012-04-17 Glenn Morris <rgm@gnu.org>
9304
9305 * dired-aux.el (dired-mark-read-string): Doc fix.
9306
9307 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
9308
9309 * dired-aux.el (dired-mark-read-string): Offer optional completion.
9310 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
9311
9312 2012-04-17 Glenn Morris <rgm@gnu.org>
9313
9314 * mouse.el (mouse-drag-track):
9315 * speedbar.el (speedbar-frame-mode):
9316 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9317
9318 2012-04-16 Leo Liu <sdl.web@gmail.com>
9319
9320 * progmodes/python.el: Trivial cleanup.
9321
9322 2012-04-16 Glenn Morris <rgm@gnu.org>
9323
9324 * vc/vc.el (vc-string-prefix-p):
9325 * vc/pcvs-util.el (cvs-string-prefix-p):
9326 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9327 * mpc.el (mpc-string-prefix-p):
9328 Make all of these into obsolete aliases for string-prefix-p.
9329 Update callers.
9330 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9331
9332 * textmodes/two-column.el: Move custom options to the start.
9333 (frame-width): Remove compat definition.
9334 (2C-associate-buffer, 2C-dissociate):
9335 Use with-current-buffer rather than save-excursion.
9336 (2C-dissociate): Force a mode-line update.
9337 (2C-autoscroll): Use ignore-errors.
9338
9339 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9340 Autoload trivia.
9341
9342 * emacs-lisp/cl-extra.el (*random-state*):
9343 Remove unnecessary declaration.
9344
9345 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
9346
9347 * play/cookie1.el (cookie-snarf):
9348 Give an explicit error if input file cannot be read.
9349
9350 * play/yow.el (yow-file): Use expand-file-name rather than concat.
9351
9352 * progmodes/perl-mode.el (c-macro-expand):
9353 Remove unnecessary autoload (it is in loaddefs.el).
9354
9355 * textmodes/picture.el (picture-desired-column)
9356 (picture-update-desired-column): Convert comments to doc-strings.
9357 (picture-substitute): Remove function.
9358 (picture-mode-map): Initialize in the defvar.
9359
9360 * woman.el: Remove eval-after-load for tar-mode.
9361 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
9362 (woman-tar-extract-file): Autoload it.
9363
9364 * frame.el (automatic-hscrolling): Make this alias obsolete.
9365
9366 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9367
9368 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
9369 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
9370 (ispell-dictionary-base-alist): Revert to original XEmacs
9371 friendly version for default. [:alpha:] will be added in
9372 `ispell-set-spellchecker-params' if needed.
9373
9374 2012-04-16 Chong Yidong <cyd@gnu.org>
9375
9376 * image.el (imagemagick--file-regexp): New variable.
9377 (imagemagick-register-types): Use it.
9378 (imagemagick-types-inhibit): Add :set function. Allow new value
9379 of t to inhibit all types.
9380
9381 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
9382 so we can preload it.
9383
9384 * loadup.el (fboundp): Preload regexp-opt, needed by
9385 imagemagick-register-types.
9386
9387 2012-04-15 Chong Yidong <cyd@gnu.org>
9388
9389 * frame.el (scrolling): Remove nearly unused customization group.
9390
9391 * scroll-all.el (scroll-all-mode): Move to windows group.
9392
9393 2012-04-15 Chong Yidong <cyd@gnu.org>
9394
9395 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9396
9397 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9398
9399 Avoid the use of ((lambda ...) ...) in lexical-binding code.
9400 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
9401
9402 2012-04-15 Glenn Morris <rgm@gnu.org>
9403
9404 * simple.el (process-file-side-effects): Doc fix.
9405
9406 2012-04-15 Glenn Morris <rgm@gnu.org>
9407
9408 * international/mule-cmds.el (set-language-environment): Doc fix.
9409
9410 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9411
9412 * server.el (server-auth-key, server-generate-key): Doc fixes.
9413 (server-get-auth-key): Doc fix. Use `string-match-p'.
9414 (server-start): Reflow docstring.
9415
9416 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
9417
9418 * server.el (server-generate-key): `called-interactively-p'
9419 requires a parameter.
9420
9421 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
9422
9423 * server.el (server-auth-key): New variable.
9424 (server-generate-key, server-get-auth-key): New function.
9425 (server-start): Use the new variable and functions to allow
9426 setting a permanent server key (bug#9423).
9427
9428 2012-04-14 Leo Liu <sdl.web@gmail.com>
9429
9430 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9431
9432 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
9433
9434 Spelling fixes.
9435 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9436 Emacs uses American spelling.
9437
9438 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9439
9440 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9441 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
9442 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9443 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
9444
9445 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9446
9447 * progmodes/which-func.el (which-func-modes): Change default.
9448
9449 2012-04-14 Kim F. Storm <storm@cua.dk>
9450
9451 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9452 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
9453
9454 2012-04-14 Chong Yidong <cyd@gnu.org>
9455
9456 * custom.el (custom-theme-set-variables): Doc fix.
9457
9458 2012-04-14 Glenn Morris <rgm@gnu.org>
9459
9460 * international/mule.el (set-auto-coding-for-load): Doc fix.
9461
9462 2012-04-14 Alan Mackenzie <acm@muc.de>
9463
9464 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9465 imenu work again for Objective C Mode. Correct the *-index values,
9466 these having been disturbed by a previous change in 2011-08.
9467
9468 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9469 Correct two search limits.
9470
9471 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9472
9473 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
9474
9475 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
9476
9477 * international/characters.el: Fix sorting.
9478
9479 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9480
9481 * international/characters.el: Add more missing Latin case pairs.
9482
9483 2012-04-14 Glenn Morris <rgm@gnu.org>
9484
9485 * files.el (dir-locals-set-class-variables): Doc fix.
9486
9487 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9488
9489 * international/characters.el: Add set-case-syntax-pair call for
9490 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
9491 counterpart. (Bug#11209)
9492
9493 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
9494
9495 2012-04-14 Glenn Morris <rgm@gnu.org>
9496
9497 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9498
9499 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9500
9501 * textmodes/ispell.el (ispell-dictionary-base-alist):
9502 Add data for Hebrew.
9503
9504 2012-04-14 Chong Yidong <cyd@gnu.org>
9505
9506 * net/rcirc.el (rcirc-cmd-quit):
9507 Revert 2012-03-18 change (Bug#11192).
9508
9509 2012-04-14 Glenn Morris <rgm@gnu.org>
9510
9511 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
9512
9513 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9514
9515 * minibuffer.el (completion-in-region-mode-map):
9516 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
9517
9518 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
9519
9520 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
9521
9522 2012-04-13 Masatake YAMATO <yamato@redhat.com>
9523
9524 * minibuffer.el (minibuffer-local-filename-syntax): New variable
9525 to allow `C-M-f' and `C-M-b' to move to the nearest path
9526 separator (bug#9511).
9527
9528 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
9529
9530 * avoid.el: Require cl when compiling. And also move the
9531 `provide' to the end.
9532
9533 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9534
9535 * avoid.el (mouse-avoidance-banish-position): New variable.
9536 (mouse-avoidance-banish-destination): Use it (bug#10165).
9537
9538 2012-04-13 Leo Liu <sdl.web@gmail.com>
9539
9540 * progmodes/which-func.el (which-func-modes): Add objc-mode.
9541
9542 2012-04-13 Ken Brown <kbrown@cornell.edu>
9543
9544 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
9545 this is no longer needed now that cygstart understands file:// URLs.
9546 (browse-url-filename-alist): For the same reason, don't modify
9547 file:// URLs on Cygwin.
9548
9549 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9550
9551 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
9552 the region on shift if the binding is already shifted (bug#11221).
9553
9554 2012-04-12 Glenn Morris <rgm@gnu.org>
9555
9556 * mail/mailpost.el: Move to obsolete/.
9557
9558 2012-04-12 Drew Adams <drew.adams@oracle.com>
9559
9560 * imenu.el (imenu--generic-function): Ignore invisible definitions
9561 (bug#10123).
9562
9563 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
9564
9565 * hexl.el (hexl-bits): New variable.
9566 (hexl-options): Mention the variable in the doc string.
9567 (hexl-rulerise, hexl-line-displen): New functions.
9568 (hexl-mode): Mention the new variable.
9569 (hexl-mode, hexl-current-address, hexl-current-address):
9570 Use the displen.
9571 (hexl-ascii-start-column): New function.
9572 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
9573 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
9574
9575 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9576
9577 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
9578 '("-i" ENCODING), in 2 separate command-line arguments, to specify
9579 the encoding, as expected by hunspell.
9580
9581 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9582
9583 * battery.el (battery--linux-sysfs-regexp): New const.
9584 (battery-status-function): Use it. Remove yeeloong special case.
9585 (battery-yeeloong-sysfs): Remove.
9586 (battery-echo-area-format): Remove yeeloong special case.
9587
9588 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9589
9590 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
9591 Reported by Noah Friedman.
9592
9593 * subr.el (read-passwd): Use read-string.
9594
9595 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9596
9597 * vcursor.el (vcursor-move): Increase the priority of the overlay
9598 (bug#9663).
9599
9600 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9601
9602 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
9603 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
9604
9605 2012-04-11 William Stevenson <yhvh2000@gmail.com>
9606
9607 * textmodes/artist.el (artist-mode): Convert artist-mode to use
9608 define-minor-mode (bug#10760).
9609
9610 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9611
9612 * progmodes/grep.el (rgrep): Tweak the find command line so
9613 that directories matching `grep-find-ignored-files' won't be
9614 pruned (bug#10351).
9615
9616 2012-04-11 Chong Yidong <cyd@gnu.org>
9617
9618 * startup.el (command-line): Remove support for long-obsolete
9619 variable font-lock-face-attributes.
9620
9621 2012-04-11 Glenn Morris <rgm@gnu.org>
9622
9623 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
9624
9625 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9626
9627 * window.el (window--state-get-1): Obey window-point-insertion-type.
9628
9629 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
9630
9631 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
9632 to previous function when point is on the first character of a
9633 function. Take care of that in `narrow-to-defun' (bug#6157).
9634
9635 2012-04-11 Glenn Morris <rgm@gnu.org>
9636
9637 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
9638 not just file-errors.
9639
9640 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
9641 (vc-bzr-sha1): Use internal sha1.
9642
9643 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9644
9645 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
9646
9647 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
9648
9649 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
9650 that start in the middle of the line (bug#10496).
9651
9652 2012-04-10 Dan Nicolaescu <dann@gnu.org>
9653
9654 * battery.el (battery-linux-proc-acpi): Only one battery is
9655 discharged at a time, but that seems to confuse battery.el when
9656 computing `rate-type' for the battery not being discharged
9657 (bug#10332).
9658
9659 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9660
9661 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
9662
9663 * international/quail.el: Use dolist and simplify.
9664 (quail-define-package, quail-update-keyboard-layout)
9665 (quail-define-rules): Use dolist.
9666 (quail-insert-kbd-layout, quail-get-translation): CSE.
9667
9668 * tmm.el: Use dolist, remove left over hook.
9669 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
9670 Use dolist.
9671 (calendar-load-hook): Don't mess with it.
9672
9673 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9674 Use derived-mode-p. Run the diff asynchronously.
9675
9676 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9677
9678 * obsolete/mouse-sel.el: Add an Obsolete-since header.
9679
9680 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
9681
9682 * misc.el: Display absolute path of loaded DLLs (bug#10424).
9683 (list-dynamic-libraries--loaded): New function.
9684 (list-dynamic-libraries--refresh): Use it.
9685
9686 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
9687
9688 * progmodes/python.el (python-fill-paragraph):
9689 Make python-fill-region in a multiline string work when font-lock is
9690 disabled (bug#7018).
9691
9692 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
9693
9694 * language/european.el (cp775): Add oem/legacy (en)coding on
9695 DOS/MS Windows for the Baltic languages. There are still plenty
9696 of texts written in this encoding/codepage (bug#6519).
9697
9698 2012-04-10 Glenn Morris <rgm@gnu.org>
9699
9700 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9701 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9702
9703 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
9704
9705 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
9706 next-line "n" and previous-line "p" in order to make recentf more
9707 consistent with ibuffer, dired or org-mode (bug#9387).
9708
9709 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9710
9711 * image.el (put-image): Return the overlay created instead of the
9712 optional input string (bug#7834). Note that this may break code
9713 that is (for some reason or other) depending on `put-image'
9714 returning the string.
9715
9716 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9717
9718 * simple.el (zap-to-char): Allow zapping using input methods
9719 (bug#1580).
9720
9721 * textmodes/fill.el (fill-region): Leave point and mark where they
9722 were before filling (bug#5399).
9723
9724 2012-04-09 Glenn Morris <rgm@gnu.org>
9725
9726 * version.el (emacs-bzr-get-version):
9727 Handle lightweight checkouts of local branches.
9728
9729 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
9730
9731 * international/characters.el: Recover lost case pairs. (Bug#11209)
9732
9733 2012-04-09 Chong Yidong <cyd@gnu.org>
9734
9735 * custom.el (custom-variable-p): Return nil for non-symbol
9736 arguments instead of signaling an error.
9737 (user-variable-p): Obsolete alias for custom-variable-p.
9738
9739 * apropos.el (apropos-variable):
9740 * files-x.el (read-file-local-variable):
9741 * simple.el (set-variable):
9742 * woman.el (woman-mini-help):
9743 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9744
9745 2012-04-09 Glenn Morris <rgm@gnu.org>
9746
9747 * startup.el (normal-top-level): Don't look for leim-list.el
9748 in places where it will not be found. (Bug#910)
9749
9750 * international/mule-cmds.el (set-default-coding-systems):
9751 * files.el (normal-mode):
9752 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
9753 This function was removed with ucs-tables.el in 2008.
9754
9755 2012-04-08 Eli Zaretskii <eliz@gnu.org>
9756
9757 * textmodes/ispell.el (ispell-check-version): For hunspell, set
9758 ispell-encoding8-command to "-i", without a trailing space.
9759 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9760 separate command-line arguments, to specify the encoding, since
9761 that's how hunspell expects it.
9762
9763 2012-04-08 Glenn Morris <rgm@gnu.org>
9764
9765 * loadup.el: Load bindings before cus-start.
9766 This reduces somewhat the number of "rogue" settings in emacs -Q.
9767
9768 2012-04-07 Glenn Morris <rgm@gnu.org>
9769
9770 * version.el (emacs-bzr-get-version): New function.
9771 (emacs-bzr-version): New variable.
9772 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9773 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9774
9775 2012-04-07 Eli Zaretskii <eliz@gnu.org>
9776
9777 * international/uni-bidi.el, international/uni-category.el:
9778 * international/uni-combining.el, international/uni-decimal.el:
9779 * international/uni-decomposition.el, international/uni-digit.el:
9780 * international/uni-lowercase.el, international/uni-mirrored.el:
9781 * international/uni-name.el, international/uni-numeric.el:
9782 * international/uni-titlecase.el, international/uni-uppercase.el:
9783 Update for Unicode 6.1.
9784
9785 2012-04-07 Eli Zaretskii <eliz@gnu.org>
9786
9787 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9788
9789 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9790
9791 * window.el (shrink-window): Mention the `window-min-height'
9792 variable in the doc string.
9793
9794 2012-04-05 Bastien Guerry <bzg@altern.org>
9795
9796 * color.el (color-lighten-name): Fix typo.
9797
9798 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9799
9800 * server.el (server--on-display-p): New function.
9801 (server--on-display-p): Use it.
9802
9803 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
9804
9805 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9806 (bug#11145).
9807
9808 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9809
9810 * comint.el (comint--common-quoted-suffix): Check string boundary
9811 before comparing (bug#11158).
9812 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9813
9814 2012-04-04 Chong Yidong <cyd@gnu.org>
9815
9816 * minibuffer.el (completion-extra-properties): Doc fix.
9817
9818 * subr.el (delayed-warnings-hook): Doc fix.
9819
9820 2012-04-04 Daiki Ueno <ueno@unixuser.org>
9821
9822 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9823 selection (Bug#11159).
9824 (epa-insert-keys): Inform that the default public key will be
9825 exported if no key is selected.
9826
9827 2012-04-04 Richard Stallman <rms@gnu.org>
9828
9829 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9830
9831 2012-04-03 Chong Yidong <cyd@gnu.org>
9832
9833 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9834 mail-insert-file, not its obsolete alias mail-attach-file.
9835
9836 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
9837
9838 * notifications.el (notifications-notify): Fix docstring.
9839
9840 2012-04-02 Glenn Morris <rgm@gnu.org>
9841
9842 * emacs-lisp/authors.el (authors-aliases): Another addition.
9843
9844 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
9845
9846 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9847 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9848 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9849
9850 2012-04-01 Chong Yidong <cyd@gnu.org>
9851
9852 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9853 Handle root directory properly.
9854 (copy-directory): Caller changed.
9855
9856 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9857 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9858
9859 2012-03-31 Glenn Morris <rgm@gnu.org>
9860
9861 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9862
9863 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9864
9865 * calendar/calendar.el (calendar-window-list)
9866 (calendar-hide-window): Restore. (Bug#11140)
9867 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9868
9869 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9870
9871 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9872
9873 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9874 Check if file is a symlink (Bug#10489).
9875
9876 * files.el (copy-directory): Likewise.
9877
9878 2012-03-30 Chong Yidong <cyd@gnu.org>
9879
9880 * image.el (imagemagick-types-inhibit)
9881 (imagemagick-register-types): Doc fix.
9882
9883 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9884
9885 * textmodes/ispell.el (ispell-get-extended-character-mode):
9886 Disable extended-char-mode for hunspell. hunspell does not support it
9887 and treats ~word as ordinary words in pipe mode.
9888
9889 2012-03-30 Glenn Morris <rgm@gnu.org>
9890
9891 * tutorial.el (help-with-tutorial): Ensure local variables don't
9892 happen to make the buffer read-only. (Bug#11127)
9893
9894 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9895
9896 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9897 (perl-calculate-indent): Return `noindent' in strings.
9898
9899 2012-03-28 Sam Steingold <sds@gnu.org>
9900
9901 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9902 instead of the broken adhockery which does not prevent calendar
9903 buffers from being displayed at random after exit.
9904 (calendar-window-list, calendar-hide-window): Remove the broken
9905 adhockery.
9906
9907 2012-03-28 Glenn Morris <rgm@gnu.org>
9908
9909 * replace.el (query-replace-map): Doc fix.
9910
9911 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9912
9913 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9914 contents. (Bug#11109)
9915
9916 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9917
9918 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9919 (bug#11077).
9920 (avl-tree--check, avl-tree--check-node): New funs.
9921
9922 2012-03-27 Martin Rudalics <rudalics@gmx.at>
9923
9924 * window.el (switch-to-visible-buffer): New option.
9925 (switch-to-prev-buffer, switch-to-next-buffer):
9926 Observe switch-to-visible-buffer. Make sure that checking for a window
9927 showing a buffer already is done on the same frame.
9928
9929 2012-03-27 Glenn Morris <rgm@gnu.org>
9930
9931 * startup.el (mail-host-address): Doc fix.
9932
9933 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9934
9935 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9936 than 197 variables.
9937
9938 2012-03-26 Ami Fischman <ami@fischman.org>
9939
9940 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9941
9942 2012-03-26 Glenn Morris <rgm@gnu.org>
9943
9944 * files.el (save-buffers-kill-emacs): Doc fix.
9945
9946 * startup.el (normal-top-level, command-line, command-line-1):
9947 Give them doc strings.
9948
9949 2012-03-25 Eli Zaretskii <eliz@gnu.org>
9950
9951 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
9952 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
9953
9954 2012-03-25 Chong Yidong <cyd@gnu.org>
9955
9956 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9957 theme if it was previously enabled before (Bug#11031).
9958
9959 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9960 spec with custom-face-get-current-spec if its :shown-value is not
9961 determined yet (Bug#9337).
9962 (customize-create-theme, custom-theme-revert): Doc fixes.
9963
9964 * button.el (button-at): Minor addition to docstring.
9965
9966 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
9967
9968 * vc/vc.el (vc-merge): Fix a prompt.
9969
9970 2012-03-24 Chong Yidong <cyd@gnu.org>
9971
9972 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9973 point (Bug#9623).
9974
9975 * button.el (button-at): Minor addition to docstring.
9976
9977 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9978
9979 * newcomment.el (comment-choose-indent): No space after BOL.
9980
9981 2012-03-22 Sam Steingold <sds@gnu.org>
9982
9983 * window.el (switch-to-prev-buffer): Revert last patch because the
9984 bug turned out to be an advertised feature (Elisp manual 28.14).
9985
9986 2012-03-22 Glenn Morris <rgm@gnu.org>
9987
9988 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9989 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9990
9991 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9992
9993 * net/network-stream.el (network-stream-open-starttls): Make error
9994 message under Windows be less misleading.
9995
9996 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9997
9998 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9999 understands (bug#9942).
10000
10001 2012-03-22 Chong Yidong <cyd@gnu.org>
10002
10003 * simple.el (end-of-visible-line): Handle return value of
10004 next-single-property-change properly (Bug#9371).
10005
10006 2012-03-22 Kenichi Handa <handa@m17n.org>
10007
10008 * international/quail.el (quail-insert-kbd-layout): Fix previous
10009 change. To avoid unwanted bidi reordering, use
10010 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
10011
10012 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
10013
10014 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
10015 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
10016 (ruby-beginning-of-indent): Be more careful with the difference
10017 between word-boundary and symbol boundary.
10018 (ruby-mode-syntax-table): Make : a symbol constituent.
10019
10020 2012-03-21 Andreas Politz <politza@fh-trier.de>
10021
10022 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
10023
10024 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10025
10026 * progmodes/etags.el (tags-completion-at-point-function):
10027 Improve last fix.
10028
10029 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
10030
10031 2012-03-21 Sam Steingold <sds@gnu.org>
10032
10033 * progmodes/etags.el (tags-completion-at-point-function):
10034 Avoid the error when point is inside the pattern.
10035
10036 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
10037
10038 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
10039 line (Bug#10855).
10040
10041 2012-03-21 Drew Adams <drew.adams@oracle.com>
10042
10043 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
10044
10045 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
10046
10047 * ido.el (ido-set-current-directory, ido-read-internal)
10048 (ido-choose-completion-string, ido-completion-help): Handle nil
10049 value of ido-completion-buffer (Bug#11008).
10050
10051 2012-03-21 Sam Steingold <sds@gnu.org>
10052
10053 * window.el (switch-to-prev-buffer): Do not switch to a visible
10054 window previous buffer, just like with the frame previous buffers.
10055
10056 2012-03-21 Chong Yidong <cyd@gnu.org>
10057
10058 * faces.el (make-face, make-empty-face, copy-face):
10059 * face-remap.el (face-remap-add-relative, face-remap-set-base):
10060 Doc fixes.
10061
10062 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10063
10064 * wid-edit.el (widget-complete-field): Remove (bug#11051).
10065 (widget-complete): Remove broken use of it.
10066
10067 2012-03-20 Chong Yidong <cyd@gnu.org>
10068
10069 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10070 Use string-width and truncate-string-width to handle arbitrary
10071 characters.
10072
10073 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
10074
10075 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
10076 to draw rectangles, not squares. (Regression introduced by revno
10077 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
10078
10079 2012-03-18 Chong Yidong <cyd@gnu.org>
10080
10081 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
10082 it is not yet defined (for temacs).
10083
10084 2012-03-18 Leo Liu <sdl.web@gmail.com>
10085
10086 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
10087 prefix.
10088
10089 2012-03-17 Eli Zaretskii <eliz@gnu.org>
10090
10091 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
10092 (ispell-choices-win-default-height, ispell-silently-savep)
10093 (ispell-dictionary-alist, ispell-encoding8-command)
10094 (ispell-check-version, ispell-aspell-find-dictionary)
10095 (ispell-valid-dictionary-list, ispell-words-keyword)
10096 (ispell-get-word, ispell-internal-change-dictionary)
10097 (ispell-region, ispell-skip-region-list)
10098 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
10099 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
10100 (ispell-message-text-end, ispell-message)
10101 (ispell-buffer-local-parsing): Doc fix.
10102
10103 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
10104
10105 * htmlfontify.el: Add support for code block fontification for ODT
10106 export (Bug #9914).
10107 (hfy-optimisations): Define new option
10108 `body-text-only'
10109 (hfy-fontify-buffer): Honor above setting.
10110 (hfy-begin-span, hfy-end-span): New routines factored out form
10111 `hfy-fontify-buffer'.
10112 (hfy-begin-span-handler, hfy-end-span-handler): New variables
10113 that permit insertion of custom tags.
10114 (hfy-fontify-buffer): Use above handlers.
10115 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
10116 (hfy-face-to-css): Re-defined to be a variable.
10117 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
10118 over multiple runs. This is made possible by having the caller let
10119 bind a special variable `hfy-user-sheet-assoc'.
10120 (htmlfontify-string): New defun.
10121 (hfy-compile-face-map): Make sure that the last char in the
10122 buffer is correctly fontified.
10123 (hfy-face-resolve-face): Whitespace only change.
10124
10125 2012-03-17 Eli Zaretskii <eliz@gnu.org>
10126
10127 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
10128 message more clear.
10129
10130 2012-03-16 Leo Liu <sdl.web@gmail.com>
10131
10132 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
10133
10134 2012-03-16 Alan Mackenzie <acm@muc.de>
10135
10136 Further optimise the handling of large macros.
10137
10138 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
10139 limit to a call of `c-literal-limits'.
10140 (c-determine-+ve-limit): New function.
10141 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
10142 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
10143 In CASE 5B, restrict a search limit to 500.
10144 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
10145
10146 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
10147 Restrict macro bounds to +-500 from after-change's BEG END.
10148
10149 2012-03-16 Leo Liu <sdl.web@gmail.com>
10150
10151 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
10152
10153 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
10154
10155 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
10156 `special-mode' setting of `buffer-read-only'. (Bug#11010)
10157
10158 2012-03-16 Glenn Morris <rgm@gnu.org>
10159
10160 * view.el (view-buffer, view-buffer-other-window)
10161 (view-buffer-other-frame): Doc fixes re special mode-class.
10162
10163 * subr.el (eval-after-load): If named feature is provided not from
10164 a file, run after-load forms. (Bug#10946)
10165
10166 * calendar/calendar.el (calendar-insert-at-column):
10167 Handle non-unit-width characters a bit better. (Bug#10978)
10168
10169 2012-03-15 Chong Yidong <cyd@gnu.org>
10170
10171 * emacs-lisp/ring.el (ring-extend): New function.
10172 (ring-insert+extend): Extend the ring correctly (Bug#11019).
10173
10174 * comint.el (comint-read-input-ring)
10175 (comint-add-to-input-history): Grow comint-input-ring lazily.
10176
10177 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10178
10179 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10180 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10181
10182 * imenu.el: Fix multiple inheritance breakage (bug#9199).
10183 (imenu-add-to-menubar): Don't add a redundant index.
10184 (imenu-update-menubar): Handle a dynamically composed keymap.
10185
10186 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
10187
10188 * mail/sendmail.el (mail-encode-header):
10189 Bind rfc2047-encode-encoded-words to nil.
10190
10191 2012-03-13 Glenn Morris <rgm@gnu.org>
10192
10193 * calendar/calendar.el (calendar-string-spread):
10194 Handle non-unit-width characters a bit better. (Bug#10978)
10195
10196 2012-03-13 Leo Liu <sdl.web@gmail.com>
10197
10198 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10199 directory and file as argument (Bug#10822).
10200
10201 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10202
10203 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10204 For dynamically generated code, follow $PC.
10205 (gdb-disassembly-handler-custom): Handle no function name case.
10206
10207 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
10208
10209 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10210 * emulation/ws-mode.el (ws-query-replace):
10211 * sort.el (sort-regexp-fields):
10212 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
10213
10214 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10215
10216 * dabbrev.el: Fix cycle completion order (bug#10963).
10217 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10218 (dabbrev-completion): Don't use an obarray; provide
10219 a cycle-sort-function.
10220
10221 2012-03-12 Leo Liu <sdl.web@gmail.com>
10222
10223 * simple.el (kill-new): Use equal-including-properties for comparison.
10224 (kill-do-not-save-duplicates): Doc fix.
10225
10226 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10227
10228 * dabbrev.el: Fix cycle completion (bug#10963).
10229 Use lexical binding and wrap to 80 columns.
10230 (dabbrev-completion): Delay computing the list of completions.
10231
10232 2012-03-12 Kenichi Handa <handa@m17n.org>
10233
10234 * international/quail.el (quail-insert-kbd-layout): Surround each
10235 row by LRO and PDF instead of inserting many LRMs. Pad the left
10236 and right of each non-spacing marks. Insert invisible space
10237 between lower and upper characters to prevent composition.
10238
10239 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10240
10241 * minibuffer.el (minibuffer-complete): Don't get confused when the
10242 function is run twice via different commands (bug#10958).
10243 (complete-with-action): Fix docstring.
10244
10245 2012-03-12 Chong Yidong <cyd@gnu.org>
10246
10247 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10248 (nxml-completion-at-point-function): New function.
10249 (nxml-mode): Use it.
10250 (nxml-bind-meta-tab-to-complete-flag): Default to t.
10251
10252 * emacs-lisp/package.el (package-unpack, package-unpack-single):
10253 Load generated autoloads file before byte compiling (Bug#10970).
10254 (package--make-autoloads-and-compile): New helper fun.
10255
10256 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
10257
10258 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10259
10260 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
10261
10262 * autorevert.el (auto-revert-handler): Ensure, that
10263 file-readable-p is applied only for local files or in
10264 auto-revert-tail-mode.
10265
10266 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
10267
10268 * server.el (server-eval-at): Handle non-tcp connections.
10269 Decode result string.
10270
10271 * server.el (server-msg-size): New constant.
10272 (server-reply-print): New function.
10273 (server-eval-and-print): Use it.
10274 (server-eval-at): Use server-quote-arg and server-unquote-arg.
10275 Handle -print-nonl.
10276
10277 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
10278
10279 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
10280 (Bug#10987).
10281
10282 2012-03-11 Chong Yidong <cyd@gnu.org>
10283
10284 * simple.el (goto-line): Doc fix (Bug#9938).
10285
10286 * subr.el (save-window-excursion): Doc fix (Bug#9979).
10287
10288 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
10289 when finished (Bug#10963).
10290
10291 2012-03-11 Martin Rudalics <rudalics@gmx.at>
10292
10293 * window.el (split-window-below): Fix bug in case where
10294 split-window-keep-point is nil (Bug#10971).
10295
10296 2012-03-11 Juri Linkov <juri@jurta.org>
10297
10298 * replace.el (replace-highlight): Set isearch-word to nil
10299 unconditionally. (Bug#10887)
10300
10301 2012-03-10 Eli Zaretskii <eliz@gnu.org>
10302
10303 * net/mairix.el (mairix-replace-invalid-chars): Rename from
10304 mairix-replace-illegal-chars; all callers changed. Don't remove
10305 ^, ~, and = characters: they are meaningful in mairix search specs.
10306 (mairix-widget-create-query): Add usage information about mairix
10307 search forms: negating words, searching for substrings, etc.
10308
10309 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
10310
10311 * international/fontset.el (font-encoding-alist): Add an entry for
10312 ksx1001 (Bug#5667).
10313
10314 2012-03-10 Richard Stallman <rms@gnu.org>
10315
10316 * mail/sendmail.el (mail-encode-header):
10317 Set rfc2047-encode-encoded-words.
10318
10319 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10320
10321 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10322 view buffer means not swapped.
10323 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10324 (rmail-write-region-annotate): Error if real text has disappeared.
10325
10326 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10327
10328 2012-03-10 Chong Yidong <cyd@gnu.org>
10329
10330 * emulation/cua-rect.el (cua--init-rectangles):
10331 * emulation/cua-base.el (cua--init-keymaps):
10332 Add delete-forward-char to remappings (Bug#9666).
10333
10334 2012-03-10 Martin Rudalics <rudalics@gmx.at>
10335
10336 * speedbar.el (speedbar-unhighlight-one-tag-line):
10337 Avoid unhighlighting due to frame switching (Bug#10275).
10338
10339 2012-03-10 Chong Yidong <cyd@gnu.org>
10340
10341 * minibuffer.el (completion-in-region, completion-help-at-point):
10342 Give the completion field overlay a high priority (Bug#6830).
10343
10344 * dired.el (dired-goto-file): Recognize absolute file name
10345 listings (Bug#7126).
10346 (dired-goto-file-1): New helper function.
10347 (dired-toggle-read-only): Inhibit warnings.
10348
10349 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
10350
10351 * net/dbus.el (dbus-property-handler): Return empty array if
10352 there are no properties.
10353
10354 2012-03-09 Leo Liu <sdl.web@gmail.com>
10355
10356 * savehist.el (savehist-printable): Stricter check for string
10357 value (Bug#10937).
10358
10359 2012-03-09 Eli Zaretskii <eliz@gnu.org>
10360
10361 * mail/smtpmail.el (smtpmail-send-it):
10362 Bind coding-system-for-write to *-unix, so that FCC files are kept in
10363 valid mbox format.
10364
10365 2012-03-09 Glenn Morris <rgm@gnu.org>
10366
10367 * files.el (dir-locals-find-file):
10368 Don't check result is regular, readable.
10369 (dir-locals-read-from-file): Demote errors.
10370
10371 2012-03-08 Eli Zaretskii <eliz@gnu.org>
10372
10373 * international/quail.el (quail-insert-kbd-layout):
10374 Insert invisible LRM characters before each character in a keyboard
10375 layout cell, to prevent their reordering by bidi display engine.
10376 For details, see the discussion in
10377 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
10378
10379 2012-03-08 Alan Mackenzie <acm@muc.de>
10380
10381 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
10382 the starting position; make it extend the marked region when
10383 invoked repeatedly - all under appropriate circumstances.
10384 Fixes bugs #5525, #10906.
10385
10386 2012-03-08 Glenn Morris <rgm@gnu.org>
10387
10388 * files.el (locate-dominating-file, dir-locals-find-file):
10389 Undo 2012-03-06 change.
10390
10391 2012-03-07 Eli Zaretskii <eliz@gnu.org>
10392
10393 * international/quail.el (quail-help):
10394 Force bidi-paragraph-direction be left-to-right. See discussion in
10395 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10396 for the reason.
10397
10398 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
10399
10400 Avoid superfluous registering of signals. (Bug#10807)
10401
10402 * notifications.el (notifications-on-action-object)
10403 (notifications-on-close-object): New defvars.
10404 (notifications-on-action-signal, notifications-on-closed-signal):
10405 Unregister the signal if not needed any longer.
10406 (notifications-notify): Register `notifications-action-signal' or
10407 `notifications-closed-signal', if :on-action or :on-close has been
10408 passed as argument.
10409
10410 2012-03-07 Chong Yidong <cyd@gnu.org>
10411
10412 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10413 non-X platforms.
10414
10415 2012-03-06 Glenn Morris <rgm@gnu.org>
10416
10417 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10418 (x-disown-selection-internal, x-get-selection-internal):
10419 Doc fix (add arglist signatures). (Bug#10783)
10420
10421 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10422
10423 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10424 Handle breakpoints with no "type".
10425
10426 2012-03-06 Glenn Morris <rgm@gnu.org>
10427
10428 * files.el (locate-dominating-file): Add optional predicate argument.
10429 (dir-locals-find-file): Make use of above change.
10430
10431 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
10432
10433 * info.el (Info-insert-dir): Also try "dir.gz".
10434
10435 2012-03-06 Glenn Morris <rgm@gnu.org>
10436
10437 * files.el (dir-locals-find-file):
10438 Ignore non-readable or non-regular files. (Bug#10928)
10439
10440 * files.el (locate-dominating-file): Doc fix.
10441
10442 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
10443
10444 * calendar/calendar.el (calendar-set-mode-line):
10445 `getenv' returns a string. (Bug#10951)
10446
10447 2012-03-05 Leo Liu <sdl.web@gmail.com>
10448
10449 * simple.el (backward-delete-char-untabify): Constrain point to
10450 field (Bug#10939).
10451
10452 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
10453
10454 2012-03-05 Chong Yidong <cyd@gnu.org>
10455
10456 * simple.el (count-words): If called from Lisp, return the word
10457 count, for symmetry with `count-lines'. Arglist changed.
10458 (count-words--message): Args changed. Consolidate counting code
10459 from count-words and count-words-region.
10460 (count-words-region): Caller changed.
10461 (count-lines-region): Make it an obsolete alias.
10462
10463 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
10464
10465 * saveplace.el (save-place-to-alist)
10466 (save-place-ignore-files-regexp): Allow value nil to disable this
10467 feature.
10468
10469 2012-03-04 Chong Yidong <cyd@gnu.org>
10470
10471 * faces.el (face-spec-reset-face): For the default face, reset the
10472 attributes to default values (Bug#10748).
10473
10474 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10475
10476 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
10477 previous patch: Check `message-send-mail-function', and not the
10478 default function (bug#10897).
10479
10480 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
10481
10482 * notifications.el (notifications-on-action-signal)
10483 (notifications-on-closed-signal): Check for unique service name of
10484 incoming event. Fix error in removing entry.
10485 (top): Register for signals with wildcard service name.
10486 (notifications-notify): Use daemon unique service name for map entries.
10487
10488 2012-03-04 Chong Yidong <cyd@gnu.org>
10489
10490 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
10491
10492 2012-03-04 Glenn Morris <rgm@gnu.org>
10493
10494 * abbrev.el (copy-abbrev-table, abbrev-table-p)
10495 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
10496 (expand-abbrev, define-abbrev-table): Doc fixes.
10497
10498 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10499
10500 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
10501 `message-default-send-mail-function' and not `send-mail-function'
10502 when doing the prompting for `sendmail-query-once' before sending
10503 in Message buffers (bug#10897).
10504
10505 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10506 This is inconsistent with all the other stream functions, which leave
10507 the setting up to the higher levels (if so wanted) (bug#10931).
10508
10509 2012-03-02 Alan Mackenzie <acm@muc.de>
10510
10511 Depessimize the handling of very large macros.
10512
10513 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
10514 (c-macro-cache-syntactic): New variables to implement a one
10515 element macro cache.
10516 (c-invalidate-macro-cache): New function.
10517 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
10518 Adapt to use the new cache.
10519 (c-state-safe-place): Use better the cache of safe positions.
10520 (c-state-semi-nonlit-pos-cache)
10521 (c-state-semi-nonlit-pos-cache-limit):
10522 New variables for...
10523 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
10524 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
10525 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
10526 Use c-state-semi-safe-place.
10527
10528 * progmodes/cc-langs.el (c-get-state-before-change-functions):
10529 Add c-invalidate-macro-cache to the C, C++, Obj entries.
10530
10531 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
10532
10533 * jka-compr.el (jka-compr-call-process):
10534 Apply `file-accessible-directory-p' only when the default directory is
10535 not remote.
10536
10537 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
10538
10539 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
10540 access of FILE2, if FILE1 does not exist.
10541
10542 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
10543 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
10544
10545 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
10546 Add "PAGER=" to `process-environment'.
10547
10548 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
10549
10550 * progmodes/sql.el: Bug fix
10551 (sql-get-login-ext): Save login values in globals.
10552 (sql-get-login): Use new version of `sql-get-login-ext'.
10553 (sql-interactive-mode): Set global `sql-connection' to nil.
10554 (sql-connect): Set global values for connection.
10555 (sql-product-interactive): Save global values as buffer local.
10556
10557 2012-02-29 Leo Liu <sdl.web@gmail.com>
10558
10559 * abbrev.el (define-abbrevs): Reset sys to nil.
10560
10561 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10562
10563 * files.el (file-equal-p): Rename from `files-equal-p'.
10564 Return nil when one or both files don't exist.
10565 (file-subdir-of-p): Now only top directory must exists,
10566 return nil if it doesn't.
10567 (copy-directory): No need to test with `file-subdir-of-p' after
10568 creating dir.
10569 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
10570 to `file-equal-p'.
10571
10572 2012-02-28 Glenn Morris <rgm@gnu.org>
10573
10574 * shell.el (shell-mode):
10575 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
10576 * play/landmark.el (landmark-font-lock-face-O):
10577 * play/handwrite.el (handwrite):
10578 * play/gomoku.el (gomoku-O):
10579 * net/browse-url.el (browse-url-browser-display):
10580 * international/mule.el (define-charset):
10581 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
10582 * filesets.el (filesets-find-file-delay):
10583 * eshell/em-xtra.el (eshell-xtra):
10584 * eshell/em-unix.el (eshell-grep):
10585 * emulation/viper.el (viper-mode):
10586 * emacs-lisp/regexp-opt.el (regexp-opt-group):
10587 * emacs-lisp/easymenu.el (easy-menu-define):
10588 * calendar/timeclock.el (timeclock-use-display-time):
10589 * bs.el (bs-mode):
10590 * bookmark.el (bookmark-save-flag):
10591 Doc fix (standardize possessive apostrophe usage).
10592
10593 2012-02-27 Chong Yidong <cyd@gnu.org>
10594
10595 * emulation/viper-cmd.el (viper-intercept-ESC-key):
10596 Fix key-binding lookup for ESC key (Bug#9146).
10597
10598 * font-lock.el (font-lock-specified-p): Rename from
10599 font-lock-spec-present. Callers changed.
10600
10601 2012-02-27 Daniel Hackney <dan@haxney.org>
10602
10603 * emacs-lisp/package.el (package-compute-transaction):
10604 Handle holding a package version to t in package-load-list.
10605
10606 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
10607
10608 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
10609 (tramp-get-inode, tramp-get-device): Use cached values.
10610
10611 2012-02-26 Alan Mackenzie <acm@muc.de>
10612
10613 Check there is a font-lock specification before doing initial
10614 fontification.
10615
10616 * font-core.el (font-lock-mode): Move the conditional from
10617 :after-hook to font-lock-initial-fontify.
10618 (font-lock-default-function): Move the check for a specification
10619 to font-lock-spec-present.
10620
10621 * font-lock.el (font-lock-initial-fontify): Call ...
10622 (font-lock-spec-present): New function.
10623
10624 2012-02-26 Jim Blandy <jimb@red-bean.com>
10625
10626 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
10627 (gdb-send): Apply it to the operand of the '-interpreter-exec
10628 console' command, so that we can pass arguments with (say) quotes
10629 in them. Store exact string sent in gdb-debug-log (Bug#10765).
10630
10631 2012-02-26 Chong Yidong <cyd@gnu.org>
10632
10633 * help-fns.el (describe-function-1): Clarify description of
10634 remapping (Bug#10844).
10635
10636 * files.el (files-equal-p): Doc fix.
10637 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
10638 and quit the loop once a mismatch is found.
10639
10640 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
10641
10642 * bs.el (bs--show-with-configuration): Don't throw an error
10643 if the window cannot be split; otherwise, subsequent calls to
10644 bs-show fail, restoring a stale window config. (Bug#10882)
10645
10646 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
10647
10648 * term/ns-win.el (global-map): Bind ns-drag-file to
10649 ns-find-file (Bug#5855, Bug#10050).
10650
10651 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
10652
10653 * calendar/parse-time.el (parse-time-string): Allow extractor to
10654 return nil.
10655
10656 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
10657
10658 * net/tramp.el (tramp-file-name-for-operation):
10659 Add `files-equal-p' and `file-subdir-of-p'.
10660
10661 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
10662 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10663 Add COPY-CONTENTS argument.
10664
10665 2012-02-25 Chong Yidong <cyd@gnu.org>
10666
10667 Add custom groups for VC backends, for consistency with vc-bzr.
10668
10669 * vc/vc-arch.el (vc-arch):
10670 * vc/vc-cvs.el (vc-cvs):
10671 * vc/vc-git.el (vc-git):
10672 * vc/vc-hg.el (vc-hg):
10673 * vc/vc-mtn.el (vc-mtn):
10674 * vc/vc-rcs.el (vc-rcs):
10675 * vc/vc-sccs.el (vc-sccs):
10676 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
10677 All relevant defcustoms reassigned.
10678
10679 2012-02-25 Chong Yidong <cyd@gnu.org>
10680
10681 * newcomment.el (comment-styles): Add autoload (Bug#10868).
10682
10683 * term/x-win.el (x-initialize-window-system): Reduce default for
10684 x-selection-timeout to 5 seconds (Bug#8869).
10685
10686 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10687
10688 * files.el (files-equal-p, file-subdir-of-p): New functions.
10689 (copy-directory): Error when trying to copy a directory on itself.
10690 Add missing copy-contents arg to tramp handler.
10691 * dired-aux.el (dired-copy-file-recursive): Same.
10692 (dired-create-files): Modify destination when source is equal to
10693 dest when copying files.
10694 Return also when dest is a subdir of source. (Bug#10489)
10695
10696 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
10697
10698 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10699 (Bug#10874)
10700
10701 2012-02-23 Alan Mackenzie <acm@muc.de>
10702
10703 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10704 parameter "after-hook:" to allow the expansion to run code after
10705 the execution of the mode hooks.
10706
10707 * font-lock.el (font-lock-initial-fontify): New function extracted
10708 from font-lock-mode-internal.
10709
10710 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
10711 :after-hook.
10712
10713 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10714
10715 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10716 (completion--cache-all-sorted-completions): New function.
10717 (completion-all-sorted-completions): Use it.
10718 (completion--do-completion, minibuffer-force-complete):
10719 Use it to re-instate the flush hook.
10720
10721 * icomplete.el (icomplete-completions): Replace last fix with a better
10722 one (bug#10850).
10723
10724 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
10725
10726 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10727 when it might call us back infinitely (bug#10797).
10728
10729 2012-02-23 Glenn Morris <rgm@gnu.org>
10730
10731 * minibuffer.el (completion-category-overrides): Doc fix.
10732
10733 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10734
10735 * minibuffer.el (completion-table-with-context): Fix inf-loop.
10736 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10737
10738 2012-02-23 Glenn Morris <rgm@gnu.org>
10739
10740 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
10741 (authors-obsolete-files-regexps, authors-ignored-files)
10742 (authors-ambiguous-files, authors-renamed-files-alist):
10743 Add more entries.
10744
10745 2012-02-23 Juri Linkov <juri@jurta.org>
10746
10747 * isearch.el (isearch-occur): Sync interactive spec with occur's
10748 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
10749
10750 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10751
10752 2012-02-22 Juri Linkov <juri@jurta.org>
10753
10754 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10755 (ucs-insert): Doc fix. Check for hex digits in the string.
10756 Don't display `nil' in the error message. (Bug#10857)
10757
10758 2012-02-22 Alan Mackenzie <acm@muc.de>
10759
10760 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
10761
10762 2012-02-22 Glenn Morris <rgm@gnu.org>
10763
10764 * ffap.el (ffap-c-path):
10765 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10766
10767 2012-02-22 Chong Yidong <cyd@gnu.org>
10768
10769 * custom.el (load-theme): Doc fix.
10770
10771 2012-02-22 Glenn Morris <rgm@gnu.org>
10772
10773 * dired-x.el (dired-guess-shell-alist-default):
10774 Remove escape sequences from nroff output. (Bug#172)
10775
10776 2012-02-21 Glenn Morris <rgm@gnu.org>
10777
10778 * vc/emerge.el (emerge-defvar-local):
10779 Set `permanent-local' property rather than unused `preserved'.
10780
10781 * textmodes/picture.el (picture-delete-char): New alias.
10782 (picture-mode-map): Use it. (Bug#10860)
10783 (picture-mode): Doc fix.
10784
10785 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
10786
10787 * newcomment.el (uncomment-region-default): Remove unused binding.
10788
10789 2012-02-21 Glenn Morris <rgm@gnu.org>
10790
10791 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10792 (picture-self-insert, picture-tab-chars): Doc fix.
10793 (picture-mode-map): Fix C-a, C-e.
10794
10795 2012-02-20 Glenn Morris <rgm@gnu.org>
10796
10797 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10798
10799 2012-02-20 Leo Liu <sdl.web@gmail.com>
10800
10801 * icomplete.el (icomplete-completions): Check FROM arg before
10802 passing to substring (Bug#10850).
10803
10804 2012-02-19 Chong Yidong <cyd@gnu.org>
10805
10806 * comint.el: Require ansi-color.
10807 (comint-output-filter-functions): Add ansi-color-process-output.
10808
10809 * ansi-color.el: Don't set comint-output-filter-functions; it is
10810 now in the initial value defined in comint.el.
10811 (ansi-color-apply-face-function): New variable.
10812 (ansi-color-apply-on-region): Use it.
10813 (ansi-color-apply-overlay-face): New function.
10814
10815 * shell.el (shell): No need to require ansi-color.
10816 (shell-mode): Use ansi-color-apply-face-function to highlight
10817 color escapes using font-lock-face property (Bug#10835).
10818
10819 2012-02-19 Chong Yidong <cyd@gnu.org>
10820
10821 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10822 mode-line formats (Bug#10839).
10823
10824 2012-02-18 Glenn Morris <rgm@gnu.org>
10825
10826 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10827
10828 * mail/undigest.el (unforward-rmail-message): Doc fix.
10829
10830 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10831
10832 2012-02-18 Eli Zaretskii <eliz@gnu.org>
10833
10834 * international/characters.el (script-list): Sync with the latest
10835 Unicode Character Database.
10836
10837 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10838
10839 * international/titdic-cnv.el: Remove duplicate coding tag.
10840 * language/cham.el: Likewise.
10841 * language/tai-viet.el: Likewise.
10842
10843 2012-02-18 Glenn Morris <rgm@gnu.org>
10844
10845 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10846 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10847 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10848 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10849 * calendar/holidays.el (holiday-bahai-holidays)
10850 (calendar-holidays, list-holidays):
10851 Use utf-8 Bahá'í in doc-strings, menus, etc.
10852
10853 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10854
10855 * saveplace.el (save-place-ignore-files-regexp): New variable
10856 allowing for excluding files from saving their location of point.
10857 The default value matches the temporary commit message editing
10858 files from Git, SVN, Bazaar, and Mercurial.
10859 (save-place-to-alist): Use it.
10860
10861 2012-02-17 Lawrence Mitchell <wence@gmx.li>
10862 Stefan Monnier <monnier@iro.umontreal.ca>
10863
10864 * newcomment.el (uncomment-region-default): Don't leave extra space
10865 when an arg is provided (bug#8150).
10866
10867 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10868
10869 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
10870
10871 2012-02-17 Glenn Morris <rgm@gnu.org>
10872
10873 * net/socks.el: Require network-stream. (Bug#10599)
10874
10875 2012-02-17 Kenichi Handa <handa@m17n.org>
10876
10877 * international/charprop.el:
10878 * international/uni-name.el:
10879 * international/uni-old-name.el:
10880 * international/uni-comment.el: Regenerate.
10881
10882 2012-02-16 Glenn Morris <rgm@gnu.org>
10883
10884 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10885 Interactively in calendar buffer, give an error if not on a date.
10886
10887 2012-02-15 Glenn Morris <rgm@gnu.org>
10888
10889 * shell.el (shell-delimiter-argument-list):
10890 Revert 2011-02-17 change. (Bug#8027)
10891
10892 2012-02-15 Chong Yidong <cyd@gnu.org>
10893
10894 * minibuffer.el (completion-at-point-functions): Doc fix.
10895
10896 * custom.el (defcustom): Doc fix; note use of defvar.
10897
10898 2012-02-15 Glenn Morris <rgm@gnu.org>
10899
10900 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10901 Doc fixes.
10902
10903 2012-02-14 Glenn Morris <rgm@gnu.org>
10904
10905 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10906
10907 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10908
10909 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10910 way the ports list is computed.
10911 (smtpmail-query-smtp-server): Prompt the user for a port number if
10912 we can't connect to any of the standard ports (bug#10810).
10913
10914 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10915
10916 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10917
10918 2012-02-13 Glenn Morris <rgm@gnu.org>
10919
10920 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10921
10922 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10923
10924 * net/gnutls.el (gnutls-trustfiles): New variable.
10925 (gnutls-negotiate): Use it.
10926
10927 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10928
10929 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10930 does its stuff if Gnus is running.
10931
10932 2012-02-13 Alan Mackenzie <acm@muc.de>
10933
10934 Fix a loop in c-set-fl-decl-start.
10935
10936 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
10937 c-backward-syntactic-ws actually moves backwards.
10938
10939 2012-02-13 Leo Liu <sdl.web@gmail.com>
10940
10941 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10942 beginning so that all \C-o chars are removed.
10943
10944 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10945
10946 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
10947
10948 2012-02-12 Alan Mackenzie <acm@muc.de>
10949
10950 Fix infinite loop with long macros.
10951 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
10952
10953 2012-02-12 Chong Yidong <cyd@gnu.org>
10954
10955 * window.el (display-buffer): Doc fix (Bug#10785).
10956
10957 2012-02-12 Glenn Morris <rgm@gnu.org>
10958
10959 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10960 (x-disown-selection-internal, x-get-selection-internal):
10961 Sync docs with the xselect.c versions.
10962
10963 * allout-widgets.el: Add missing license notice.
10964
10965 2012-02-11 Glenn Morris <rgm@gnu.org>
10966
10967 * select.el (x-get-selection-internal, x-own-selection-internal)
10968 (x-disown-selection-internal):
10969 * x-dnd.el (x-get-selection-internal): Update declarations.
10970
10971 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10972
10973 * window.el (window-sides-slots):
10974 * tool-bar.el (tool-bar-position):
10975 * term/xterm.el (xterm-extra-capabilities):
10976 * ses.el (ses-self-reference-early-detection):
10977 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10978 (verilog-auto-wire-type)
10979 (verilog-auto-delete-trailing-whitespace)
10980 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10981 (verilog-auto-tieoff-declaration):
10982 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10983 (sql-oracle-statement-starters, sql-oracle-scan-on):
10984 * progmodes/prolog.el (prolog-align-comments-flag)
10985 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10986 (prolog-left-indent-regexp, prolog-paren-indent-p)
10987 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10988 (prolog-types, prolog-mode-specificators)
10989 (prolog-determinism-specificators, prolog-directives)
10990 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10991 (prolog-electric-dot-flag)
10992 (prolog-electric-dot-full-predicate-template)
10993 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10994 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10995 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10996 (prolog-program-switches, prolog-prompt-regexp)
10997 (prolog-debug-on-string, prolog-debug-off-string)
10998 (prolog-trace-on-string, prolog-trace-off-string)
10999 (prolog-zip-on-string, prolog-zip-off-string)
11000 (prolog-use-standard-consult-compile-method-flag)
11001 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
11002 (prolog-imenu-max-lines, prolog-info-predicate-index)
11003 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
11004 (prolog-char-quote-workaround):
11005 * progmodes/cc-vars.el (c-defun-tactic):
11006 * net/tramp.el (tramp-encoding-command-interactive)
11007 (tramp-local-end-of-line):
11008 * net/soap-client.el (soap-client):
11009 * net/netrc.el (netrc-file):
11010 * net/gnutls.el (gnutls):
11011 * minibuffer.el (completion-category-overrides)
11012 (completion-cycle-threshold)
11013 (completion-pcm-complete-word-inserts-delimiters):
11014 * man.el (Man-name-local-regexp):
11015 * mail/feedmail.el (feedmail-display-full-frame):
11016 * international/characters.el (glyphless-char-display-control):
11017 * eshell/em-ls.el (eshell-ls-date-format):
11018 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
11019 (lisp-lambda-list-keyword-parameter-indentation)
11020 (lisp-lambda-list-keyword-parameter-alignment):
11021 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
11022 * dired-x.el (dired-omit-verbose):
11023 * cus-theme.el (custom-theme-allow-multiple-selections):
11024 * calc/calc.el (calc-highlight-selections-with-faces)
11025 (calc-lu-field-reference, calc-lu-power-reference)
11026 (calc-note-threshold):
11027 * battery.el (battery-mode-line-limit):
11028 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11029 (archive-7z-update):
11030 * allout.el (allout-prefixed-keybindings)
11031 (allout-unprefixed-keybindings)
11032 (allout-inhibit-auto-fill-on-headline)
11033 (allout-flattened-numbering-abbreviation):
11034 * allout-widgets.el (allout-widgets-auto-activation)
11035 (allout-widgets-icons-dark-subdir)
11036 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
11037 (allout-widgets-theme-dark-background)
11038 (allout-widgets-theme-light-background)
11039 (allout-widgets-item-image-properties-emacs)
11040 (allout-widgets-item-image-properties-xemacs)
11041 (allout-widgets-run-unit-tests-on-load)
11042 (allout-widgets-time-decoration-activity)
11043 (allout-widgets-hook-error-post-time)
11044 (allout-widgets-track-decoration):
11045 Add missing :version tags to new defcustoms and defgroups.
11046
11047 * progmodes/sql.el (sql-ansi-statement-starters)
11048 (sql-oracle-statement-starters): Add custom type.
11049
11050 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
11051 (prolog-system-version): Give it a type.
11052
11053 2012-02-11 Eli Zaretskii <eliz@gnu.org>
11054
11055 * term/pc-win.el (x-select-text, x-selection-owner-p)
11056 (x-own-selection-internal, x-disown-selection-internal)
11057 (x-get-selection-internal): Sync doc strings and argument lists
11058 with xselect.c, common-win.el and x-win.el. (Bug#10783)
11059
11060 2012-02-11 Leo Liu <sdl.web@gmail.com>
11061
11062 * progmodes/python.el (python-end-of-statement): Fix infinite
11063 loop. (Bug#10788)
11064
11065 2012-02-10 Glenn Morris <rgm@gnu.org>
11066
11067 * international/mule-cmds.el (unify-8859-on-encoding-mode)
11068 (unify-8859-on-decoding-mode): Properly mark as obsolete.
11069
11070 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
11071
11072 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
11073 about SMTP before checking the From header.
11074
11075 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
11076 into own function for reuse by emacsbug.el.
11077
11078 2012-02-10 Leo Liu <sdl.web@gmail.com>
11079
11080 * subr.el (condition-case-unless-debug): Rename from
11081 condition-case-no-debug. All callers changed.
11082 (with-demoted-errors): Fix caller.
11083
11084 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
11085 * nxml/rng-valid.el (rng-do-some-validation):
11086 * emacs-lisp/package.el (package-refresh-contents)
11087 (package-menu-execute):
11088 * desktop.el (desktop-create-buffer):
11089 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
11090
11091 2012-02-10 Glenn Morris <rgm@gnu.org>
11092
11093 * textmodes/bibtex.el:
11094 Add missing :version tags for new/changed defcustoms.
11095
11096 * files.el (remote-file-name-inhibit-cache): Doc fixes.
11097
11098 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
11099
11100 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
11101 (smtpmail-via-smtp): Use it, or fall back on the From address.
11102 (smtpmail-send-it): Ditto.
11103
11104 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
11105
11106 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
11107 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
11108 (byte-compile-tmp-var): New const.
11109 (byte-compile-defvar): Use it to minimize .elc size.
11110 Just use `defvar' rather than simulate it (bug#10761).
11111
11112 2012-02-09 Glenn Morris <rgm@gnu.org>
11113
11114 * files.el (rename-uniquely): Doc fix. (Bug#3806)
11115
11116 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
11117 Add :version tags.
11118
11119 * progmodes/compile.el (compilation-error-screen-columns)
11120 (compilation-first-column, compilation-filter-start): Doc fixes.
11121
11122 * vc/log-view.el (log-view-toggle-entry-display):
11123 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
11124
11125 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
11126 (report-emacs-bug-can-use-xdg-email):
11127 (report-emacs-bug-insert-to-mailer): Doc fixes.
11128 (report-emacs-bug): Message fix.
11129
11130 * net/browse-url.el (browse-url-can-use-xdg-open)
11131 (browse-url-xdg-open): Doc fixes.
11132
11133 * electric.el (electric-indent-mode, electric-pair-mode)
11134 (electric-layout-rules, electric-layout-mode): Doc fixes.
11135 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
11136
11137 2012-02-08 Martin Rudalics <rudalics@gmx.at>
11138
11139 * server.el (server-unselect-display): Don't inadvertently kill
11140 the current buffer. (Bug#10729)
11141
11142 2012-02-08 Glenn Morris <rgm@gnu.org>
11143
11144 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
11145 (sql-list-table): Doc fixes.
11146
11147 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
11148 Comment out (does nothing).
11149
11150 * completion.el (dynamic-completion-mode):
11151 * dirtrack.el (dirtrack-debug-mode):
11152 * electric.el (electric-layout-mode):
11153 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
11154 * face-remap.el (text-scale-mode, buffer-face-mode):
11155 * iimage.el (iimage-mode):
11156 * image-mode.el (image-transform-mode):
11157 * minibuffer.el (completion-in-region-mode):
11158 * scroll-lock.el (scroll-lock-mode):
11159 * simple.el (next-error-follow-minor-mode):
11160 * tar-mode.el (tar-subfile-mode):
11161 * tooltip.el (tooltip-mode):
11162 * vcursor.el (vcursor-use-vcursor-map):
11163 * wid-browse.el (widget-minor-mode):
11164 * emulation/tpu-edt.el (tpu-edt-mode):
11165 * emulation/tpu-extras.el (tpu-cursor-free-mode):
11166 * international/iso-ascii.el (iso-ascii-mode):
11167 * language/thai-util.el (thai-word-mode):
11168 * mail/supercite.el (sc-minor-mode):
11169 * net/goto-addr.el (goto-address-mode):
11170 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
11171 * progmodes/cwarn.el (cwarn-mode):
11172 * progmodes/flymake.el (flymake-mode):
11173 * progmodes/glasses.el (glasses-mode):
11174 * progmodes/hideshow.el (hs-minor-mode):
11175 * progmodes/pascal.el (pascal-outline-mode):
11176 * textmodes/enriched.el (enriched-mode):
11177 * vc/smerge-mode.el (smerge-mode):
11178 Doc fixes (minor mode argument).
11179
11180 2012-02-07 Eli Zaretskii <eliz@gnu.org>
11181
11182 * ls-lisp.el (ls-lisp-sanitize): New function.
11183 (ls-lisp-insert-directory): Use it to fix or remove any elements
11184 in file-alist with missing attributes. (Bug#4673)
11185
11186 2012-02-07 Alan Mackenzie <acm@muc.de>
11187
11188 Fix spurious recognition of c-in-knr-argdecl.
11189
11190 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11191 putative K&R region.
11192
11193 2012-02-07 Alan Mackenzie <acm@muc.de>
11194
11195 * progmodes/cc-engine.el (c-forward-objc-directive):
11196 Prevent looping in "#pragma mark @implementation".
11197
11198 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
11199
11200 * notifications.el (notifications-on-closed-signal): Make `reason'
11201 optional. (Bug#10744)
11202
11203 2012-02-07 Glenn Morris <rgm@gnu.org>
11204
11205 * emacs-lisp/easy-mmode.el (define-minor-mode):
11206 Doc fixes for the macro and the mode it defines.
11207
11208 * image.el (imagemagick-types-inhibit): Doc fix.
11209
11210 * cus-start.el (imagemagick-render-type): Add it.
11211
11212 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
11213
11214 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11215 Set the default at load time, too, so that `font-lock-fontify-buffer'
11216 can be called without setting up the entire mode first. This fixes
11217 a bug in `mm-inline-text' with C MIME parts.
11218
11219 2012-02-06 Chong Yidong <cyd@gnu.org>
11220
11221 * simple.el (list-processes--refresh): Delete exited processes
11222 (Bug#8094).
11223
11224 * comint.el (comint-next-prompt): next-single-char-property-change
11225 and prev-single-char-property-change never return nil (Bug#8657).
11226
11227 * custom.el (defcustom): Doc fix (Bug#9711).
11228
11229 2012-02-05 Chong Yidong <cyd@gnu.org>
11230
11231 * cus-edit.el (custom-variable-reset-backup): Quote the value
11232 before storing it in the customized-value property (Bug#6712).
11233 (custom-display): Add a customization type tag.
11234 (custom-buffer-create-internal): Improve tooltip message.
11235
11236 * wid-edit.el (widget-field-value-get): New optional arg to
11237 suppress trailing whitespace truncation.
11238 (character): Use it (Bug#2689).
11239
11240 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
11241
11242 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
11243 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11244
11245 2012-02-05 Chong Yidong <cyd@gnu.org>
11246
11247 * cus-edit.el (custom-variable-value-create): For mismatched
11248 types, show the current value (Bug#7600).
11249
11250 * custom.el (defcustom): Doc fix.
11251
11252 2012-02-05 Glenn Morris <rgm@gnu.org>
11253
11254 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11255
11256 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
11257
11258 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11259 (pp-buffer): Use `ignore-errors', `looking-at-p'.
11260 (pp-last-sexp): Use `looking-at-p'.
11261
11262 2012-02-04 Glenn Morris <rgm@gnu.org>
11263
11264 * files.el (revert-buffer):
11265 Doc fix (mention revert-buffer-in-progress-p).
11266
11267 * emacs-lisp/ert-x.el (ert-simulate-command):
11268 Check deferred-action-list (which is obsolete) is bound.
11269
11270 * subr.el (with-wrapper-hook): Doc fixes.
11271
11272 * simple.el (filter-buffer-substring-functions)
11273 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11274
11275 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
11276
11277 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
11278 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
11279
11280 2012-02-04 Leo Liu <sdl.web@gmail.com>
11281
11282 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
11283
11284 2012-02-04 Glenn Morris <rgm@gnu.org>
11285
11286 * image.el (image-extension-data): Add obsolete alias.
11287
11288 * isearch.el (isearch-update): Doc fix.
11289
11290 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
11291
11292 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
11293
11294 2012-02-03 Glenn Morris <rgm@gnu.org>
11295
11296 * image.el (image-animated-p): Doc fix. Use image-animated-types.
11297 (image-animate-timeout): Doc fix.
11298
11299 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
11300
11301 2012-02-02 Glenn Morris <rgm@gnu.org>
11302
11303 * server.el (server-auth-dir): Doc fix.
11304 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
11305
11306 * subr.el (run-mode-hooks): Doc fix.
11307
11308 2012-02-02 Juri Linkov <juri@jurta.org>
11309
11310 * image-mode.el (image-toggle-display-image): Remove tautological
11311 `major-mode' from the `derived-mode-p' test.
11312
11313 2012-02-02 Kenichi Handa <handa@m17n.org>
11314
11315 * composite.el (compose-region): Cancel previous change.
11316
11317 2012-02-02 Kenichi Handa <handa@m17n.org>
11318
11319 * composite.el (compose-region, compose-string): Signal error for
11320 a null string component (Bug#6988).
11321
11322 2012-02-01 Chong Yidong <cyd@gnu.org>
11323
11324 * view.el (view-buffer-other-window, view-buffer-other-frame):
11325 Handle special modes like view-buffer (Bug#10650).
11326 (view-buffer): Simplify.
11327
11328 * frame.el (set-frame-font): Tweak meaning of third argument.
11329
11330 * dynamic-setting.el (font-setting-change-default-font):
11331 Use set-frame-font (Bug#9982).
11332
11333 2012-02-01 Glenn Morris <rgm@gnu.org>
11334
11335 * progmodes/compile.el (compilation-internal-error-properties):
11336 Respect compilation-first-column in the "*compilation*" buffer.
11337
11338 * emacs-lisp/easy-mmode.el (define-minor-mode):
11339 Relax :variable's test for a named function.
11340
11341 2012-01-31 Alan Mackenzie <acm@muc.de>
11342
11343 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11344 off by one error.
11345
11346 2012-01-31 Chong Yidong <cyd@gnu.org>
11347
11348 * frame.el (set-frame-font): New arg ALL-FRAMES.
11349
11350 * menu-bar.el (menu-set-font): Use set-frame-font.
11351
11352 * faces.el (face-spec-reset-face): Don't apply unspecified
11353 attribute values to the default face.
11354
11355 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
11356
11357 * progmodes/cwarn.el (cwarn): Remove dead link.
11358 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
11359 Remove * from defcustom docstrings.
11360 (turn-on-cwarn-mode): Make obsolete.
11361 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
11362 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
11363
11364 2012-01-31 Glenn Morris <rgm@gnu.org>
11365
11366 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
11367 Fix :variable handling of mode a symbol not equal to modefun.
11368 Allow named functions to be used as the cdr of :variable.
11369
11370 2012-01-30 Glenn Morris <rgm@gnu.org>
11371
11372 * emacs-lisp/authors.el (authors-fixed-entries):
11373 Remove reference to deleted file rnewspost.el.
11374
11375 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
11376
11377 * window.el (window-with-parameter): Remove unused variable `windows'.
11378 (window--side-check): Remove unused variable `code'.
11379 (window--resize-siblings): Remove unused variable `first'.
11380 (adjust-window-trailing-edge): Remove unused variable `failed'.
11381 (window-deletable-p, window--delete): Remove unused variable `buffer'.
11382 Use `let', not `let*'.
11383 (balance-windows-2): Remove unused variable `found'.
11384 (window--state-put-2): Remove unused variable `splits'.
11385 (window-state-put): Remove unused variable `selected'.
11386 (same-window-p): Use `string-match-p'.
11387 (display-buffer-assq-regexp): Remove unused variable `value'.
11388 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11389 Mark argument ALIST as ignored.
11390 (pop-to-buffer): Remove unused variable `old-window'.
11391
11392 2012-01-29 Eli Zaretskii <eliz@gnu.org>
11393
11394 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11395 and .lzma compressed files.
11396
11397 2012-01-29 Chong Yidong <cyd@gnu.org>
11398
11399 * frame.el (window-system-default-frame-alist): Doc fix.
11400
11401 * dynamic-setting.el (font-setting-change-default-font): Don't
11402 change the default face if SET-FONT argument is non-nil (Bug#9982).
11403
11404 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
11405
11406 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11407
11408 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
11409
11410 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11411 breakpoints in files outside current directory (Bug#6098).
11412
11413 2012-01-29 Chong Yidong <cyd@gnu.org>
11414
11415 * progmodes/python.el: Require ansi-color at top-level.
11416
11417 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11418 Define and use in Emacs Lisp mode (Bug#9360).
11419 (lisp-mode-abbrev-table): Add doc.
11420 (lisp-mode-variables): Don't set local-abbrev-table.
11421 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11422
11423 2012-01-28 Roland Winkler <winkler@gnu.org>
11424
11425 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11426
11427 2012-01-28 Roland Winkler <winkler@gnu.org>
11428
11429 * textmodes/bibtex.el (bibtex-entry-alist): New function.
11430 (bibtex-set-dialect): Use it. Either set global values of
11431 dialect-dependent variables or bind these variables buffer-locally
11432 (Bug#10254).
11433 (bibtex-mode): Call bibtex-set-dialect via
11434 hack-local-variables-hook.
11435 (bibtex-dialect): Update docstring.
11436 Add safe-local-variable predicate.
11437 (bibtex-entry-alist, bibtex-field-alist): Initialize via
11438 bibtex-set-dialect.
11439 (bibtex-mode-map): Define menu for each dialect.
11440 (bibtex-entry): Fix docstring.
11441
11442 2012-01-28 Chong Yidong <cyd@gnu.org>
11443
11444 * eshell/esh-arg.el (eshell-quote-argument): New function.
11445
11446 * eshell/esh-ext.el (eshell-invoke-batch-file):
11447 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11448 first arg to eshell-parse-command (Bug#10523).
11449
11450 2012-01-28 Drew Adams <drew.adams@oracle.com>
11451
11452 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
11453 `default-directory' is non-nil.
11454
11455 2012-01-28 Eli Zaretskii <eliz@gnu.org>
11456
11457 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
11458 line that displays system-configuration-options. (Bug#9924)
11459
11460 2012-01-28 Drew Adams <drew.adams@oracle.com>
11461
11462 * descr-text.el (describe-char): Show information about POS, in
11463 addition to information about the character at POS. Improve and
11464 update the doc string. Change "code point" to "code point in
11465 charset", to avoid confusion with the character's Unicode code
11466 point shown above that. (Bug#10129)
11467
11468 2012-01-28 Eli Zaretskii <eliz@gnu.org>
11469
11470 * descr-text.el (describe-char): Show the raw character, not only
11471 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
11472 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
11473 for the reasons.
11474
11475 2012-01-28 Phil Hagelberg <phil@hagelb.org>
11476
11477 * emacs-lisp/package.el (package-install):
11478 Run package-refresh-contents if there is no archive yet (Bug#9798).
11479
11480 2012-01-28 Chong Yidong <cyd@gnu.org>
11481
11482 * emacs-lisp/package.el (package-maybe-load-descriptor):
11483 New function, split from package-maybe-load-descriptor.
11484 (package-maybe-load-descriptor): Use it.
11485 (package-download-transaction): Fully load required packages
11486 inside the loop, so that `require' calls work (Bug#10593).
11487 (package-install): No need to call package-initialize now.
11488
11489 2012-01-28 Chong Yidong <cyd@gnu.org>
11490
11491 * simple.el (deactivate-mark): Doc fix (Bug#8614).
11492
11493 * tooltip.el (tooltip-mode): Doc fix.
11494 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11495
11496 * frame.el (set-cursor-color): Doc fix (Bug#352).
11497
11498 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
11499 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
11500
11501 * cus-edit.el (custom-buffer-create-internal): Fix search button
11502 action (Bug#10542).
11503 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
11504
11505 2012-01-27 Eduard Wiebe <usenet@pusto.de>
11506
11507 * dired.el (dired-mark-files-regexp):
11508 Include any subdirectory components. (Bug#10445)
11509
11510 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
11511
11512 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
11513 Handle [host]:port syntax. (Bug#10533)
11514
11515 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
11516
11517 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
11518
11519 2012-01-26 Glenn Morris <rgm@gnu.org>
11520
11521 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
11522 * term.el (term-raw-escape-map): Use Control-X-prefix.
11523 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
11524
11525 2012-01-25 Martin Rudalics <rudalics@gmx.at>
11526
11527 * window.el (window-state-get, window--state-get-1): Don't deal
11528 with fixed-sizeness of windows. Simplify code.
11529
11530 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
11531
11532 * window.el (window--state-get-1, window--state-put-2):
11533 Don't save and restore the mark.
11534
11535 2012-01-25 Chong Yidong <cyd@gnu.org>
11536
11537 * custom.el (custom-variable-p): Doc fix.
11538
11539 2012-01-25 Glenn Morris <rgm@gnu.org>
11540
11541 * dired.el (dired-goto-file): Handle some of the more common
11542 characters that `ls -b' escapes. (Bug#10596)
11543
11544 * progmodes/compile.el (compilation-next-error-function):
11545 Respect compilation-first-column in the "*compilation*" buffer.
11546 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
11547
11548 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
11549
11550 2012-01-24 Glenn Morris <rgm@gnu.org>
11551
11552 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
11553
11554 2012-01-24 Julien Danjou <julien@danjou.info>
11555
11556 * color.el (color-rgb-to-hsl): Fix value computing.
11557 (color-hue-to-rgb): New function.
11558 (color-hsl-to-rgb): New function.
11559 (color-clamp, color-saturate-hsl, color-saturate-name)
11560 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
11561 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
11562
11563 2012-01-24 Glenn Morris <rgm@gnu.org>
11564
11565 * vc/vc-rcs.el (vc-rcs-create-tag):
11566 * vc/vc-sccs.el (vc-sccs-create-tag):
11567 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
11568
11569 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
11570
11571 * eshell/esh-util.el (eshell-read-hosts-file):
11572 Skip comment lines. (Bug#10549)
11573
11574 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
11575
11576 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
11577
11578 * subr.el (display-delayed-warnings): Doc fix.
11579 (collapse-delayed-warnings): New function to collapse identical
11580 adjacent warnings.
11581 (delayed-warnings-hook): Add it.
11582
11583 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
11584
11585 * net/tramp.el (tramp-action-login): Set connection property "login-as".
11586
11587 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
11588 (tramp-default-user-alist): Don't add "pscp".
11589 (tramp-do-copy-or-rename-file-out-of-band): Use connection
11590 property "login-as", if set. (Bug#10530)
11591
11592 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
11593
11594 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
11595 "plink1" and "psftp". (Bug#10530)
11596
11597 2012-01-21 Kenichi Handa <handa@m17n.org>
11598
11599 * international/mule-cmds.el (prefer-coding-system): Show a
11600 warning message if the default value of file-name-coding-system
11601 was not changed.
11602
11603 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11604
11605 * windmove.el (windmove-reference-loc):
11606 Fix windmove-reference-loc miscalculation.
11607
11608 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
11609
11610 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
11611 default unit.
11612
11613 2012-01-21 Glenn Morris <rgm@gnu.org>
11614
11615 * international/mule.el (auto-coding-alist): Add .tbz.
11616
11617 * files.el (local-enable-local-variables): Doc fix.
11618 (inhibit-local-variables-regexps): Rename from
11619 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
11620 Doc fix. Add some extensions from auto-coding-alist.
11621 (inhibit-local-variables-suffixes):
11622 Rename from inhibit-first-line-modes-suffixes. Doc fix.
11623 (inhibit-local-variables-p):
11624 New function, extracted from set-auto-mode-1.
11625 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
11626 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
11627 (hack-local-variables): Doc fix. Make the mode-only case
11628 respect enable-local-variables and friends.
11629 Respect inhibit-local-variables-regexps for file-locals, but
11630 not for directory-locals.
11631 (set-visited-file-name):
11632 Take account of inhibit-local-variables-regexps.
11633 Whether it applies may change as the file name is changed.
11634 * jka-cmpr-hook.el (jka-compr-install):
11635 * jka-compr.el (jka-compr-uninstall):
11636 Update for inhibit-first-line-modes-suffixes name change.
11637
11638 2012-01-20 Martin Rudalics <rudalics@gmx.at>
11639
11640 * help-macro.el (make-help-screen): Temporarily restore original
11641 binding for minor-mode-map-alist (Bug#10454).
11642
11643 2012-01-19 Julien Danjou <julien@danjou.info>
11644
11645 * color.el (color-name-to-rgb): Use the white color to find the max
11646 color component value and return correctly computed values.
11647 (color-name-to-rgb): Add missing float conversion for max value.
11648
11649 2012-01-19 Martin Rudalics <rudalics@gmx.at>
11650
11651 * window.el (window--state-get-1, window-state-get): Do not use
11652 special state value for window-persistent-parameters.
11653 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
11654 (window--state-put-2): Reset all window parameters to nil before
11655 assigning values of persistent parameters.
11656
11657 2012-01-18 Alan Mackenzie <acm@muc.de>
11658
11659 Eliminate sluggishness and hangs in fontification of "semicolon
11660 deserts".
11661
11662 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
11663 Change value 10000 -> 3000.
11664 (c-state-safe-place): Reformulate so it doesn't stack up an
11665 infinite number of wrong entries in c-state-nonlit-pos-cache.
11666 (c-determine-limit-get-base, c-determine-limit): New functions to
11667 determine backward search limits disregarding literals.
11668 (c-find-decl-spots): Amend commenting.
11669 (c-cheap-inside-bracelist-p): New function which detects "={".
11670
11671 * progmodes/cc-fonts.el
11672 (c-make-font-lock-BO-decl-search-function): Give a limit to a
11673 backward search.
11674 (c-font-lock-declarations): Fix an occurrence of point being
11675 undefined. Check additionally for point being in a bracelist or
11676 near a macro invocation without a semicolon so as to avoid a
11677 fruitless time consuming search for a declarator. Give a more
11678 precise search limit for declarators using the new
11679 c-determine-limit.
11680
11681 2012-01-18 Glenn Morris <rgm@gnu.org>
11682
11683 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
11684 (set-auto-mode): Doc fixes.
11685
11686 2012-01-17 Glenn Morris <rgm@gnu.org>
11687
11688 * isearch.el (search-nonincremental-instead): Fix doc typo.
11689
11690 * dired.el (dired-insert-directory): Handle newlines in directory name.
11691 (dired-build-subdir-alist): Unescape newlines in directory name.
11692
11693 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
11694
11695 * net/tramp.el (tramp-local-end-of-line): New defcustom.
11696 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11697 (tramp-action-terminal): Use it. (Bug#10530)
11698
11699 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11700
11701 * minibuffer.el (completion--replace): Strip properties (bug#10062).
11702
11703 2012-01-16 Martin Rudalics <rudalics@gmx.at>
11704
11705 * window.el (window-state-ignored-parameters): Remove variable.
11706 (window--state-get-1): Rename argument MARKERS to IGNORE.
11707 Handle persistent window parameters. Make copy of clone-of
11708 parameter only if requested. (Bug#10348)
11709 (window--state-put-2): Install a window parameter only if it has
11710 a non-nil value or an existing parameter shall be overwritten.
11711
11712 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
11713
11714 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11715
11716 2012-01-14 Eli Zaretskii <eliz@gnu.org>
11717
11718 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11719 don't pass the (nil) value of `upnode' to string-match.
11720
11721 2012-01-14 Chong Yidong <cyd@gnu.org>
11722
11723 * startup.el (command-line): Fix X resource class for cursorColor.
11724 Fix values recognized by the cursorBlink resource.
11725
11726 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
11727
11728 * epg.el (epg--make-temp-file): Avoid permission race condition
11729 when running on old Emacs versions (bug#10403).
11730
11731 2012-01-14 Glenn Morris <rgm@gnu.org>
11732
11733 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11734
11735 2012-01-13 Alan Mackenzie <acm@muc.de>
11736
11737 Fix filling for when filladapt mode is enabled.
11738
11739 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11740 c-mask-paragraph, pass in `fill-paragraph' rather than
11741 `fill-region-as-paragraph'. (This is a reversion of a previous
11742 change.)
11743 * progmodes/cc-mode.el (c-basic-common-init):
11744 Make fill-paragraph-handle-comment buffer local and set it to nil.
11745
11746 2012-01-13 Glenn Morris <rgm@gnu.org>
11747
11748 * dired.el (dired-switches-escape-p): New function.
11749 (dired-insert-directory): Use dired-switches-escape-p.
11750 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
11751
11752 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
11753
11754 2012-01-12 Glenn Morris <rgm@gnu.org>
11755
11756 * mail/sendmail.el (mail-mode): Update paragraph-separate for
11757 changes in adaptive-fill-regexp. (Bug#10276)
11758
11759 2012-01-11 Alan Mackenzie <acm@muc.de>
11760
11761 Fix Emacs bug #10463 - put `widen's around the critical spots.
11762
11763 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
11764 widen around each invocation of c-state-pp-to-literal. Remove an
11765 unused let variable.
11766
11767 2012-01-11 Glenn Morris <rgm@gnu.org>
11768
11769 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
11770 Doc fix.
11771
11772 2012-01-10 Chong Yidong <cyd@gnu.org>
11773
11774 * net/network-stream.el (network-stream-open-starttls):
11775 Avoid emitting a confusing error message when the server gives a bad
11776 response to the capability command.
11777
11778 2012-01-10 Glenn Morris <rgm@gnu.org>
11779
11780 * mail/unrmail.el (unrmail): Tweak previous change.
11781
11782 2012-01-09 Chong Yidong <cyd@gnu.org>
11783
11784 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11785
11786 2012-01-08 Alan Mackenzie <acm@muc.de>
11787
11788 Optimise font locking in long enum definitions.
11789
11790 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11791 arm to a cond form to handle enums.
11792 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11793 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11794
11795 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
11796
11797 * files.el (move-file-to-trash): Preserve default file modes on error.
11798 (Bug#10401)
11799
11800 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11801
11802 * faces.el (set-face-attribute): Clarify the meaning of the nil
11803 frame (bug#10294).
11804
11805 * subr.el (with-selected-frame): Mention that the selected frame
11806 is restored (bug#9980).
11807
11808 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11809 (bug#9759).
11810
11811 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
11812 (password-read): Don't autoload unused function.
11813
11814 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
11815
11816 * progmodes/which-func.el (which-func-mode): Turn into a
11817 non-interactive function and mark as obsolete (bug#10428).
11818
11819 2012-01-06 Chong Yidong <cyd@gnu.org>
11820
11821 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11822 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11823 functions, along with 1 and -1.
11824
11825 2012-01-06 Eli Zaretskii <eliz@gnu.org>
11826
11827 * time.el (display-time-load-average)
11828 (display-time-default-load-average): Doc fixes. See the thread
11829 starting at
11830 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11831 for the details.
11832
11833 2012-01-06 Glenn Morris <rgm@gnu.org>
11834
11835 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11836 has no messages. (Bug#10377)
11837
11838 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11839 than Info-edit. (Bug#10385)
11840
11841 * time.el (display-time-load-average, display-time-next-load-average):
11842 Doc fixes.
11843
11844 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11845 local setting of buffer-read-only to the input buffer. (Bug#10419)
11846
11847 * calendar/calendar.el (calendar-mode):
11848 Locally set scroll-margin to 0. (Bug#10379)
11849
11850 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
11851
11852 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11853
11854 2012-01-05 Glenn Morris <rgm@gnu.org>
11855
11856 * eshell/em-unix.el (diff-no-select): Autoload it.
11857 (eshell/diff): Use diff-no-select. (Bug#10420)
11858
11859 2012-01-05 Chong Yidong <cyd@gnu.org>
11860
11861 * shell.el (shell-dynamic-complete-functions): Revert last change.
11862 (shell-command-completion-function): New function.
11863 (shell-completion-vars): Use it to implement
11864 shell-completion-execonly (Bug#10417).
11865
11866 * custom.el (enable-theme): Don't set custom-safe-themes.
11867
11868 * cus-theme.el (custom-theme-merge-theme):
11869 Ignore custom-enabled-themes and custom-safe-themes.
11870
11871 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11872
11873 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11874 first prompt in `sql-interacive-mode'.
11875 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
11876 keywords.
11877 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
11878 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11879 context of original buffer. Invoke `sql-login-hook'.
11880
11881 2012-01-04 Eli Zaretskii <eliz@gnu.org>
11882
11883 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11884 letters in cite-prefix.
11885
11886 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11887
11888 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11889
11890 2012-01-03 Chong Yidong <cyd@gnu.org>
11891
11892 * shell.el (shell-dynamic-complete-functions):
11893 Put pcomplete-completions-at-point, so as to try
11894 comint-filename-completion first (Bug#10417).
11895
11896 2012-01-02 Richard Stallman <rms@gnu.org>
11897
11898 * battery.el (battery-status-function):
11899 Detect when to use battery-yeeloong-sysfs.
11900 (battery-echo-area-format): Add string for Yeeloong.
11901 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11902 (battery-yeeloong-sysfs): New function.
11903
11904 2012-01-02 Chong Yidong <cyd@gnu.org>
11905
11906 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11907 (dirtrack): Merge code for handling relative filenames in prompt
11908 from shell-dir-cookie-watcher.
11909 (dirtrack-debug-message): New arg to avoid excess format calls.
11910
11911 * shell.el (shell-dir-cookie-re): Variable deleted.
11912 (shell-dir-cookie-watcher): Function deleted.
11913 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11914 with dirtrack-mode.
11915
11916 2012-01-01 Eli Zaretskii <eliz@gnu.org>
11917
11918 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11919 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
11920 libgnutls-26.dll.
11921
11922 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11923
11924 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11925
11926 2011-12-31 Eli Zaretskii <eliz@gnu.org>
11927
11928 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11929 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11930
11931 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
11932
11933 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11934 also for alternative shells.
11935 (tramp-open-connection-setup-interactive-shell): Check, whether
11936 the shell is a busybox.
11937 (tramp-send-command): Don't suppress multiple prompts for
11938 busyboxes, it hurts.
11939
11940 2011-12-28 Chong Yidong <cyd@gnu.org>
11941
11942 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11943 (gdb-get-source-file): Move mode line update to
11944 gdb-get-source-file (Bug#10087).
11945
11946 2011-12-25 Chong Yidong <cyd@gnu.org>
11947
11948 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11949 gud-gdb-marker-filter without taking it as an argument.
11950 (gud-gdb-run-command-fetch-lines): Caller changed.
11951 (gud-gdb-completion-function): New variable.
11952 (gud-gdb-completion-at-point): Use it.
11953 (gud-gdb-completions-1): Split from gud-gdb-completions.
11954
11955 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11956 function as separate arguments.
11957 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11958 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11959 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11960 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11961 (gdb-stopped, def-gdb-auto-update-trigger)
11962 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
11963 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11964 Callers changed.
11965 (gud-gdbmi-completions): New function.
11966 (gdb): Use it for generating the completion table.
11967
11968 2011-12-24 Alan Mackenzie <acm@muc.de>
11969
11970 Introduce a mechanism to widen the region used in context font
11971 locking. Use this to protect declarations from losing their contexts.
11972
11973 * progmodes/cc-langs.el (c-before-font-lock-functions):
11974 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
11975 (c-before-context-fontification-functions): New defvar, a list of
11976 functions to be run just before context (etc.) font locking.
11977
11978 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
11979 New, functionality extracted from
11980 c-neutralize-syntax-in-and-mark-CPP.
11981 (c-in-after-change-fontification): New variable.
11982 (c-after-change): Set c-in-after-change-fontification.
11983 (c-set-fl-decl-start): Rejig its interface, so it can be called
11984 from both after-change and context fontifying.
11985 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11986 New functions.
11987 (c-standard-font-lock-fontify-region-function): New variable.
11988 (c-font-lock-fontify-region): New function.
11989
11990 2011-12-24 Juri Linkov <juri@jurta.org>
11991
11992 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11993 (Bug#10348)
11994
11995 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
11996
11997 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11998 existence of source file. (Bug#10325)
11999
12000 2011-12-23 Alan Mackenzie <acm@muc.de>
12001
12002 Fix unstable fontification inside templates.
12003
12004 * progmodes/cc-langs.el (c-before-font-lock-functions):
12005 Newly created from the singular version. The (c c++ objc) entry now
12006 additionally has c-set-fl-decl-start. The other languages (apart
12007 from AWK) have that as a single entry.
12008
12009 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12010 The functionality for "local" declarations has been extracted to
12011 c-set-fl-decl-start.
12012
12013 * progmodes/cc-mode.el (c-common-init, c-after-change):
12014 Changes due to pluralisation of c-before-font-lock-functions.
12015 (c-set-fl-decl-start): New function, extracted from
12016 c-font-lock-enclosing-decls and enhanced.
12017
12018 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
12019
12020 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
12021
12022 2011-12-22 Juri Linkov <juri@jurta.org>
12023
12024 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
12025
12026 2011-12-22 Chong Yidong <cyd@gnu.org>
12027
12028 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
12029
12030 2011-12-21 Drew Adams <drew.adams@oracle.com>
12031
12032 * files.el (file-remote-p): Fix docstring. (Bug#10319)
12033
12034 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12035
12036 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
12037
12038 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
12039
12040 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
12041 highlighting and support. Fix up comments for capitalization.
12042 (cfengine-mode-debug): New var.
12043 (cfengine3-mode): Change the modeline indicator to "CFE3".
12044 (cfengine3-font-lock-keywords): Improve defun highlighting.
12045 (cfengine2-actions): Rename from `cfengine-actions'.
12046 (cfengine2-font-lock-keywords): Rename from
12047 `cfengine-font-lock-keywords'.
12048 (cfengine2-imenu-expression): Rename from
12049 `cfengine-imenu-expression'.
12050 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
12051 (cfengine2-beginning-of-defun): Rename from
12052 `cfengine-beginning-of-defun'.
12053 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
12054 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
12055 (cfengine2-mode): Rename from `cfengine-mode'. Change the
12056 modeline indicator to "CFE2".
12057 (cfengine-mode): Defalias to `cfengine-auto-mode'.
12058 (cfengine-mode-abbrevs): Mark obsolete.
12059
12060 2011-12-21 Chong Yidong <cyd@gnu.org>
12061
12062 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
12063 filename argument.
12064
12065 2011-12-20 Martin Rudalics <rudalics@gmx.at>
12066
12067 * window.el (window-normalize-buffer-to-display): Remove.
12068 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
12069
12070 2011-12-19 Chong Yidong <cyd@gnu.org>
12071
12072 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
12073 Don't signal an error in a predicate function; return non-nil.
12074 (vc-dir-mark-file): Move the error here.
12075 (vc-dir-mark-unmark): If acting on the region, keep going if one
12076 of the entries cannot be marked/unmarked.
12077 (vc-dir-mark-all-files): If current entry is a directory, mark
12078 only child files, as documented.
12079
12080 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
12081
12082 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
12083 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
12084 addition.
12085
12086 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
12087
12088 * term/ns-win.el (ns-get-selection-internal)
12089 (ns-store-selection-internal): Declare.
12090 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
12091 Declare as obsolete.
12092 (ns-get-pasteboard, ns-paste-secondary):
12093 Use ns-get-selection-internal.
12094 (ns-set-pasteboard, ns-copy-including-secondary):
12095 Use ns-store-selection-internal.
12096
12097 2011-12-17 Chong Yidong <cyd@gnu.org>
12098
12099 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
12100 (vc-deduce-fileset): Doc fix.
12101
12102 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
12103
12104 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
12105
12106 2011-12-13 Sam Steingold <sds@gnu.org>
12107
12108 * man.el (Man-getpage-in-background): When running under a
12109 window-system, ignore $MANWIDTH and $COLUMNS.
12110
12111 2011-12-15 Kenichi Handa <handa@m17n.org>
12112
12113 * language/ethio-util.el: Change coding tag to utf-8-emacs.
12114 (setup-ethiopic-environment-internal): Comment out key-binding for
12115 ethio-toggle-punctuation.
12116
12117 2011-12-13 Alan Mackenzie <acm@muc.de>
12118
12119 Add the switch statement to AWK Mode.
12120
12121 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
12122 "default" to the keywords regexp.
12123
12124 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
12125 expression as the rest.
12126 (c-nonlabel-token-key): Allow string literals for AWK.
12127 Refactor for the other modes.
12128
12129 Large brace-block initialisation makes CC Mode slow: Fix.
12130 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
12131 routines. Limit backward searching in c-font-lock-enclosing.decl.
12132
12133 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
12134 pp-state and literal type in addition to the limits.
12135 (c-state-safe-place): New defun, extracted from c-state-literal-at.
12136 (c-state-literal-at): Use the above new defun.
12137 (c-slow-in-literal, c-fast-in-literal): Remove.
12138 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
12139
12140 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
12141 being in a literal. Add a limit for backward searching.
12142
12143 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
12144 c-slow-in-literal.
12145
12146 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
12147
12148 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
12149
12150 2011-12-13 Martin Rudalics <rudalics@gmx.at>
12151
12152 * window.el (delete-other-windows): Use correct frame in call to
12153 window-with-parameter.
12154
12155 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
12156
12157 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
12158 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
12159 (makefile-gmake-statements, makefile-makepp-statements):
12160 Use it and add new makepp keywords.
12161 (makefile-makepp-font-lock-keywords): Add new patterns.
12162 (makefile-match-function-end): Match new [...] and [[...]].
12163
12164 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
12165
12166 * ses.el (ses-call-printer-return, ses-cell-property-get)
12167 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
12168 (ses-create-cell-variable, ses-reset-header-string)
12169 (ses-cell-set-formula, ses-repair-cell-reference-all)
12170 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
12171 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
12172 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
12173 (ses-aset-with-undo, ses-load, ses-truncate-cell)
12174 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
12175 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
12176 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12177 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12178 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12179 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12180 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12181 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12182
12183 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
12184
12185 * ses.el: The overall change is to add cell renaming, that is
12186 setting fancy names for cell symbols other than name matching
12187 "\\`[A-Z]+[0-9]+\\'" regexp .
12188 (ses-create-cell-variable): New defun.
12189 (ses-relocate-formula): Relocate formulas only for cells the
12190 symbols of which are not renamed, i.e. symbols whose names do not
12191 match regexp "\\`[A-Z]+[0-9]+\\'".
12192 (ses-relocate-all): Relocate values only for cells the symbols of
12193 which are not renamed.
12194 (ses-load): Create cells variables as the (ses-cell ...) are read,
12195 in order to check row col consistency with cell symbol name only
12196 for cells that are not renamed.
12197 (ses-replace-name-in-formula): New defun.
12198 (ses-rename-cell): New defun.
12199
12200 2011-12-11 Chong Yidong <cyd@gnu.org>
12201
12202 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12203 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12204
12205 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
12206
12207 * window.el (other-window): Fix docstring.
12208
12209 2011-12-10 Eli Zaretskii <eliz@gnu.org>
12210
12211 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
12212 `from' or `to' address before taking its substring.
12213 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
12214 encoded name is chopped in the middle of the encoded string, and
12215 thus displayed encoded.
12216
12217 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
12218
12219 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12220
12221 2011-12-10 Eli Zaretskii <eliz@gnu.org>
12222
12223 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
12224 to use texinfo-update-node and commands that call it if the
12225 Texinfo file uses @node lines without next/prev/up pointers.
12226 Correct outdated description about texinfo-master-menu.
12227 (texinfo-all-menus-update, texinfo-master-menu)
12228 (texinfo-update-node, texinfo-every-node-update)
12229 (texinfo-multiple-files-update): Doc fix. Warn against updating
12230 all the @node lines.
12231 (texinfo-master-menu): Only call texinfo-update-node if the prefix
12232 argument is numeric. Explain better in the doc string what the
12233 function really does.
12234 (texinfo-insert-master-menu-list): Improve the error message
12235 displayed if there's no menu in the Top node.
12236 (Bug#2975) See also this thread:
12237 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
12238
12239 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
12240
12241 * speedbar.el (speedbar-supported-extension-expressions):
12242 Add .adb and .ads, commonly used for Ada source code (bug#10256).
12243
12244 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
12245
12246 * printing.el (pr-mode-alist):
12247 * simple.el (filter-buffer-substring-functions)
12248 (completion-list-insert-choice-function):
12249 * window.el (window-with-parameter, window-atom-root)
12250 (window-sides-slots, window-size-fixed, window-min-delta)
12251 (window-max-delta, window--resize-mini-window)
12252 (window--resize-child-windows-normal, window-tree)
12253 (delete-other-windows, quit-window, split-window)
12254 (display-buffer-record-window, special-display-buffer-names)
12255 (special-display-regexps, special-display-popup-frame)
12256 (same-window-p, split-window-sensibly)
12257 (display-buffer-overriding-action, display-buffer-alist)
12258 (display-buffer-base-action, display-buffer, switch-to-buffer)
12259 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12260 (fit-window-to-buffer, recenter-positions)
12261 (mouse-autoselect-window-state, mouse-autoselect-window-select):
12262 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12263 and remove unneeded backslashes in docstrings.
12264
12265 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12266
12267 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12268
12269 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12270 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12271 end in ".mk".
12272 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12273 when reading the makefile (bug#10116).
12274
12275 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12276
12277 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
12278 (bug#10116).
12279
12280 2011-12-06 Glenn Morris <rgm@gnu.org>
12281
12282 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
12283
12284 2011-12-06 Chong Yidong <cyd@gnu.org>
12285
12286 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
12287
12288 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
12289
12290 * textmodes/table.el (table-shorten-cell): Fix typo.
12291
12292 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
12293
12294 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
12295
12296 2011-12-05 Eli Zaretskii <eliz@gnu.org>
12297
12298 * descr-text.el (describe-char): Fix display of strong
12299 right-to-left characters and directional embeddings and overrides.
12300
12301 * simple.el (what-cursor-position): Fix display of codepoints of
12302 strong right-to-left characters.
12303
12304 2011-12-05 Chong Yidong <cyd@gnu.org>
12305
12306 * faces.el (read-color): Doc fix.
12307
12308 2011-12-05 Glenn Morris <rgm@gnu.org>
12309
12310 * align.el (align--set-marker): Add doc-string.
12311 Don't try to move something that is not a marker. (Bug#10216)
12312
12313 2011-12-04 Glenn Morris <rgm@gnu.org>
12314
12315 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12316 overly zealous deletion of trailing whitespace.
12317
12318 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
12319
12320 * server.el (server-delete-client): On Windows, do not try to delete
12321 the only terminal.
12322 (server-process-filter): On Windows, treat requests for a tty frame as
12323 if they were for a GUI frame if the running server is in GUI mode.
12324
12325 2011-12-03 Glenn Morris <rgm@gnu.org>
12326
12327 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
12328
12329 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12330
12331 * electric.el: Streamline electric-indent's hook.
12332 (electric-indent-chars): Revert to simple list.
12333 (electric-indent-functions): New var.
12334 (electric-indent-post-self-insert-function): Use it.
12335
12336 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12337 there's no inferior buffer (bug#10196).
12338 (prolog-consult-compile): Don't use toggle-read-only.
12339
12340 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
12341
12342 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12343 interrupt. (Bug#10187)
12344
12345 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12346
12347 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
12348 (bug#9160).
12349
12350 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
12351 (bug#10191).
12352
12353 2011-12-02 Juri Linkov <juri@jurta.org>
12354
12355 * info.el (Info-search): Display "end of manual" when Isearch
12356 reaches the end of single-file Info manual. (Bug#9918)
12357
12358 2011-12-02 Eli Zaretskii <eliz@gnu.org>
12359
12360 * isearch.el (isearch-message-prefix): Run the input method part
12361 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
12362
12363 2011-12-02 Juri Linkov <juri@jurta.org>
12364
12365 * isearch.el (isearch-occur): Use `word-search-regexp' for
12366 `isearch-word'.
12367 (isearch-search-and-update): Add condition for `isearch-word' and
12368 call `word-search-regexp'. (Bug#10145)
12369
12370 2011-12-01 Glenn Morris <rgm@gnu.org>
12371
12372 * eshell/em-hist.el (eshell-hist-initialize):
12373 Handle eshell-history-size nil and HISTSIZE set or unset.
12374 (eshell-history-file-name, eshell-history-size): Fix custom type.
12375
12376 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12377
12378 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
12379
12380 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
12381
12382 * progmodes/verilog-mode.el (verilog-pretty-expr):
12383 Rework verilog-pretty-expr to handle new assignment operators in system
12384 verilog, such as += *= and the like.
12385 (verilog-assignment-operator-re): Regular expression to find the
12386 assigment operator in a verilog assignment.
12387 (verilog-assignment-operation-re): Regular expression to find an
12388 assignment statement for pretty-expr.
12389 (verilog-in-attribute-p): Query returns true if point is in an
12390 attribute context; used to skip these for expression line up from
12391 pretty-expr.
12392 (verilog-in-parameter-p): Query returns true if point is in an
12393 parameter definition context; used to skip these for expression
12394 line up from pretty-expr.
12395 (verilog-in-parenthesis-p): Query returns true if point is in a
12396 parenthetical expression, specifically ( ) but not [ ] or { };
12397 used by pretty-expr.
12398 (verilog-just-one-space): If there is no space, don't add one.
12399 (verilog-get-lineup-indent-2): Specifically skip just attribute
12400 contexts for expression lineup, rather than skipping all
12401 parenthetical expressions.
12402 (verilog-calculate-indent): Fix comment, and fix indent.
12403 (verilog-do-indent): Indent declarations in lists (suggested by
12404 Joachim Lechner).
12405 (verilog-mode-abbrev-table): Populate abbrev mode with the various
12406 skeleton items.
12407 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12408 by Alain Mellan).
12409
12410 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
12411
12412 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12413 parameters with embedded comments. Reported by Ray Stevens.
12414 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12415 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12416 Reported by Tim Holt.
12417 (verilog-auto): Fix AUTOing a upper module then AUTOing module
12418 instantiated by upper module causing wrong expansion until AUTOed a
12419 second time. Reported by K C Buckenmaier.
12420 (verilog-diff-auto): Fix showing .* as a difference when
12421 `verilog-auto-star-save' off. Reported by Dan Dever.
12422 (verilog-auto-reset, verilog-read-always-signals)
12423 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12424 temporary signals in reset list if
12425 verilog-auto-reset-blocking-in-non is nil, and match assignment
12426 style to each signal's assignment type, bug381.
12427 Reported by Thomas Esposito.
12428 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12429 (verilog-uvm-statement-re): Support UVM indentation and
12430 highlighting, with old OVM keywords only.
12431 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
12432 Support AUTOTIEOFF creating non-wire data types.
12433 Suggested by Jonathan Greenlaw.
12434 (verilog-auto-insert-lisp, verilog-delete-to-paren)
12435 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12436 (verilog-inject-sense, verilog-read-inst-pins)
12437 (verilog-read-sub-decls, verilog-read-sub-decls-line):
12438 Fix mismatching parenthesis inside commented out code when deleting
12439 AUTOINST, bug383. Reported by Jonathan Greenlaw.
12440 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12441 non-numeric vector width. Reported by Alex Reed.
12442 (verilog-auto-ascii-enum): Add "onehot" option to work around not
12443 detecting signals with parameter widths. Reported by Alex Reed.
12444 (verilog-auto-delete-trailing-whitespace):
12445 With `verilog-auto-delete-trailing-whitespace' remove trailing
12446 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
12447 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12448 Fix verilog-scan-cache corruption when running user AUTO expansion
12449 hooks that call indentation routines.
12450 (verilog-simplify-range-expression): Fix typo ignoring lower case
12451 identifiers.
12452 (verilog-delete-auto): Fix delete-autos to also remove user created
12453 automatics, as long as they start with AUTO.
12454 (verilog-batch-diff-auto, verilog-diff-auto)
12455 (verilog-diff-function): Add `verilog-diff-auto' and bind to
12456 "C-c?" to report differences in AUTO expansion, ignoring spaces.
12457 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
12458 (verilog-in-paren-quick, verilog-re-search-backward-quick)
12459 (verilog-re-search-forward-quick, verilog-syntax-ppss):
12460 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
12461 is disabled and its cache will get corrupt, causing AUTOS not to
12462 expand. Instead use only -quick functions.
12463 (verilog-scan-region): Fix scanning over escaped quotes.
12464 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12465 (verilog-re-search-backward-quick)
12466 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12467 related functions now ignore strings, to fix misparsing of strings
12468 with magic comments embedded in them.
12469 (verilog-read-auto-template):
12470 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
12471 Reported by Brad Dobbie.
12472 (verilog-read-auto-template):
12473 Fix 'verilog-auto-inst-template-numbers' with comments.
12474 Reported by Brad Dobbie.
12475 (verilog-auto-inst, verilog-auto-inst-param)
12476 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
12477 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
12478 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
12479 debugging templates without merge conflicts, bug357.
12480 Reported by Brad Dobbie.
12481 (verilog-read-auto-template):
12482 Fix verilog-auto-inst-template-numbers with multiple templates.
12483 Reported by Brad Dobbie.
12484 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
12485 abbrevs so user won't be asked to save.
12486 (verilog-read-auto-lisp-present): Fix to start at beginning of
12487 buffer in case called outside of verilog-auto.
12488 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
12489 to "X-2". Reported by Matthew Myers.
12490 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
12491 all inputs from module templates. Reported by Leith Johnson.
12492 (verilog-module-inside-filename-p): Fix locating programs as with
12493 modules.
12494 (verilog-auto-inst-port): Fix vl-width expressions when using
12495 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
12496 (verilog-decls-get-regs, verilog-decls-get-signals,
12497 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
12498 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
12499 verilog-read-decls): Combine reg and wire structures into one var
12500 structure to represent SystemVerilog concepts.
12501 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
12502 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
12503 (verilog-auto-wire-type, verilog-insert-definition):
12504 Add verilog-auto-wire-type and AUTOLOGIC to support using
12505 SystemVerilog "logic" keyword instead of "wire"/"reg".
12506 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12507 to declares outputs that also have assignments (presumably in an
12508 ifdef or generate if so there's not a driver conflict).
12509 Reported by Matthew Myers.
12510 (verilog-auto-declare-nettype, verilog-insert-definition):
12511 Add verilog-auto-declare-nettype to fix declarations using
12512 `default_nettype none. Reported by Julian Gorfajn.
12513 (verilog-read-always-signals-recurse, verilog-read-decls)
12514 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
12515 malformed end statement, bug325. Reported by Joshua Wise and
12516 Andrew Drake.
12517 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
12518 (verilog-inst-comment-re): Fix not deleting Interfaced comment
12519 when expanding .* in interfaces, bug320.
12520 Reported by Pierre-David Pfister.
12521 (verilog-read-module-name): Fix import statements between module
12522 name and open parenthesis, bug317.
12523 Reported by Pierre-David Pfister.
12524 (verilog-simplify-range-expression): Fix simplification of
12525 multiplications inside AUTOWIRE connections, bug303.
12526 (verilog-auto-inst-port): Support parameter expansion in
12527 multidimensional arrays.
12528 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
12529 after "assert property". Reported by Julian Gorfajn.
12530 (verilog-simplify-range-expression): Fix "couldn't merge" errors
12531 with multiplication, bug303.
12532 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
12533 Reported by Jan Frode Lonnum.
12534
12535 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
12536
12537 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
12538 (hfy-shell-file-name, hfy-shell):
12539 * international/fontset.el (x-decompose-font-name): Fix typos.
12540
12541 2011-11-29 Ken Brown <kbrown@cornell.edu>
12542
12543 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
12544 (gdb-version): Remove defvar.
12545 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
12546 (gdb-gud-context-command, gdb-non-stop-handler)
12547 (gdb-current-context-command, gdb-stopped): Use it.
12548 (gdb-init-1): Enable pretty printing here.
12549 (gdb-non-stop-handler): Don't enable pretty-printing here.
12550 Check to see if the target supports non-stop mode; if not, turn off
12551 non-stop mode. Use the following.
12552 (gdb-check-target-async): New defun.
12553 (gud-watch, gdb-stopped): Fix whitespace.
12554 (gdb-get-source-file): Don't try to display the source file if
12555 `gdb-main-file' is nil.
12556
12557 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12558
12559 * align.el: Try to generate fewer markers (bug#10047).
12560 (align--set-marker): New macro.
12561 (align-region): Use it.
12562
12563 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12564
12565 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
12566
12567 2011-11-29 Chong Yidong <cyd@gnu.org>
12568
12569 * indent.el (indent-for-tab-command, indent-according-to-mode):
12570 Doc fix.
12571 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
12572
12573 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
12574
12575 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
12576 aware of remote file names. (Bug#10124)
12577
12578 2011-11-29 Chong Yidong <cyd@gnu.org>
12579
12580 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
12581
12582 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12583
12584 * files.el (find-file): Don't use force-same-window (bug#10144).
12585 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
12586 use pop-to-buffer if the selected window can't be used.
12587 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
12588
12589 2011-11-28 Eli Zaretskii <eliz@gnu.org>
12590
12591 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
12592 special-mode-map.
12593
12594 2011-11-28 Chong Yidong <cyd@gnu.org>
12595
12596 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
12597
12598 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
12599
12600 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
12601 gdb-get-source-file-list on gdb-create-source-file-list.
12602
12603 2011-11-26 Eli Zaretskii <eliz@gnu.org>
12604
12605 * whitespace.el (whitespace-newline): Use a different foreground
12606 color for 16-color light-background displays.
12607
12608 2011-11-24 Chong Yidong <cyd@gnu.org>
12609
12610 * window.el (display-buffer--special-action): Doc fix.
12611
12612 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
12613
12614 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
12615 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
12616 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
12617 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
12618 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
12619 (avl-tree-stack-first):
12620 * emacs-lisp/cconv.el (cconv--analyse-use):
12621 * net/gnutls.el (gnutls-negotiate): Fix typos.
12622
12623 2011-11-24 Glenn Morris <rgm@gnu.org>
12624
12625 * lpr.el (lpr-windows-system, lpr-lp-system):
12626 * mail/binhex.el (binhex-begin-line):
12627 * progmodes/grep.el (grep-history, grep-find-history):
12628 * textmodes/flyspell.el:
12629 * vc/pcvs-defs.el (cvs-global-menu):
12630 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
12631 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
12632 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
12633
12634 * net/tls.el: Fix case of "GnuTLS".
12635
12636 * paths.el (rmail-file-name): Format doc-string for make-docfile.
12637
12638 * version.el (emacs-build-system): Give it a doc-string.
12639
12640 2011-11-24 Juri Linkov <juri@jurta.org>
12641
12642 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
12643
12644 2011-11-24 Glenn Morris <rgm@gnu.org>
12645
12646 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
12647 if called on a non-mime message just toggle the headers. (Bug#8006)
12648
12649 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
12650
12651 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
12652 (allout-lead-with-comment-string, allout-structure-deleted-hook)
12653 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
12654 (allout-rebullet-heading, allout-open-sibtopic)
12655 (allout-toggle-current-subtree-encryption)
12656 (allout-toggle-subtree-encryption, allout-encrypt-string)
12657 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
12658 (allout-distinctive-bullets-string, allout-auto-activation):
12659 * window.el (window-normalize-buffer-to-display):
12660 * progmodes/verilog-mode.el (verilog-batch-indent):
12661 * textmodes/bibtex.el (bibtex-field-braces-opt)
12662 (bibtex-field-strings-opt):
12663 * vc/cvs-status.el (cvs-tree-merge):
12664 Fix typos.
12665
12666 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
12667
12668 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
12669 `non-essential' to t, in order to avoid remote connections.
12670
12671 2011-11-23 Eli Zaretskii <eliz@gnu.org>
12672
12673 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12674 On MS-DOS and MS-Windows, compare with loaddefs.el
12675 case-insensitively.
12676
12677 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12678
12679 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
12680
12681 2011-11-23 Glenn Morris <rgm@gnu.org>
12682
12683 * paths.el (rmail-file-name): Reformat the doc-string so that it
12684 is picked up.
12685
12686 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
12687 (rmail-auto-file): Ignore case in the "special" field names,
12688 as mail-fetch-field does for all others.
12689
12690 * mail/rmail.el (rmail-forward):
12691 * mail/rmailkwd.el (rmail-set-label):
12692 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12693 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
12694
12695 * mail/rmail.el (rmail-current-message): Doc fix.
12696
12697 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
12698
12699 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
12700
12701 * server.el (server-eval-and-print): Allow C-g (bug#6585).
12702
12703 2011-11-22 Glenn Morris <rgm@gnu.org>
12704
12705 * mail/rmailmm.el (test-rmail-mime-handler)
12706 (test-rmail-mime-bulk-handler)
12707 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12708
12709 2011-11-21 Juri Linkov <juri@jurta.org>
12710
12711 * calc/calc.el (calc-read-key-sequence):
12712 Let-bind `input-method-function' to nil. (Bug#10018)
12713
12714 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12715
12716 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12717 Tell the caller that the next line needs recomputation, even
12718 though it doesn't start a sexp (bug#10094).
12719
12720 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12721
12722 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12723
12724 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12725
12726 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12727 Use force-same-window.
12728
12729 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
12730
12731 * descr-text.el (describe-char-unicode-data):
12732 * json.el (json-string-escape):
12733 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12734 (Footnote-unicode, Footnote-style-p):
12735 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12736
12737 2011-11-20 Chong Yidong <cyd@gnu.org>
12738
12739 * window.el (replace-buffer-in-windows): Restore interactive spec.
12740
12741 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12742
12743 * electric.el (electric-indent-mode): Fix last change (too optimistic).
12744
12745 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12746 (byte-compile-global-not-obsolete-vars): New var.
12747 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12748 Use it.
12749 (byte-compile-warn-obsolete): Align text with the one in *Help*.
12750
12751 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
12752
12753 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12754 * progmodes/pascal.el (electric-pascal-equal):
12755 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12756 * xml.el (xml-substitute-special): Fix typos.
12757
12758 2011-11-20 Glenn Morris <rgm@gnu.org>
12759
12760 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12761 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12762 Doc fixes.
12763 (rmail-decode-mime-charset): Mark as obsolete.
12764
12765 * mail/rmailsum.el (rmail-message-regexp-p-1):
12766 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12767 Before using mime functions, check they are set. (Bug#10077)
12768
12769 2011-11-19 Juri Linkov <juri@jurta.org>
12770
12771 * info.el (Info-finder-find-node): Use `package--builtins' instead
12772 of `package-alist'. Use node names formed by the pattern "Keyword "
12773 and the keyword name.
12774
12775 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12776
12777 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
12778
12779 2011-11-19 Juri Linkov <juri@jurta.org>
12780
12781 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12782 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12783 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12784 `old-history', `old-history-forward'. Add let-binding
12785 `window-selected'. Remove calls to `kill-buffer',
12786 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12787 before calling `Info-find-node', so `Info-find-node-2' will reread
12788 the Info file. Restore window positions only when `window-selected'
12789 is non-nil.
12790
12791 2011-11-19 Juri Linkov <juri@jurta.org>
12792
12793 * isearch.el (isearch-lazy-highlight-new-loop):
12794 Remove condition `(not isearch-error)'. (Bug#9918)
12795
12796 * misearch.el (multi-isearch-search-fun): Add condition
12797 `(not bound)' to ignore lazy-highlighting search.
12798 Add the search-failed message "end of multi" when the end of
12799 multi-sequence is reached. Uncapitalize the search-failed
12800 message "Repeat for next buffer".
12801
12802 * info.el (Info-search): Add the search-failed message
12803 "end of the manual" when the end of the manual is reached
12804 in Isearch mode.
12805
12806 2011-11-19 Juri Linkov <juri@jurta.org>
12807
12808 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12809 Use non-destructive `remove' instead of `delete' because
12810 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12811 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12812
12813 2011-11-19 Juri Linkov <juri@jurta.org>
12814
12815 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12816 to nil instead of binding `search-ring' and `regexp-search-ring'.
12817 (Bug#9185)
12818
12819 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12820
12821 * simple.el (line-move): Force movement by logical lines for any
12822 hscrolled window, not only when auto-hscroll-mode is on.
12823 (line-move-visual): Update doc string to that effect. (Bug#10076)
12824
12825 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12826
12827 * language/european.el (macintosh): Define as alias for mac-roman.
12828
12829 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12830
12831 * mail/rmailmm.el (rmail-mime-display-header)
12832 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12833 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12834 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12835 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12836 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12837 of a raw aref.
12838 (rmail-mime-entity-segment): To get past the tagline, move forward
12839 2 more lines, to account for the 2 empty lines that precede and
12840 follow the line with the buttons.
12841 (rmail-mime-update-tagline): Move one more line, to get past the
12842 empty line that follows the buttons in the tagline. (Bug#9520)
12843
12844 2011-11-19 Martin Rudalics <rudalics@gmx.at>
12845
12846 * window.el (window-max-delta-1, window-min-delta-1)
12847 (window-min-size-1, window-state-get-1, window-state-put-1)
12848 (window-state-put-2): Use "window--" prefix.
12849
12850 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12851
12852 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12853 (smie-warning-count): New var.
12854 (smie-set-prec2tab): Use it.
12855 (smie-bnf->prec2): Improve warnings. Add docstring.
12856 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12857 (smie-bnf--set-class): New function.
12858 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12859 corner case.
12860
12861 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12862 (compilation-error-properties, compilation-move-to-column):
12863 Handle compilation-first-column while in the target buffer.
12864
12865 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12866 Don't hardcode point-min==1.
12867
12868 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12869 (eshell-rewrite-for-command): Remove workaround.
12870 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12871 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12872 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12873
12874 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12875
12876 2011-11-17 Glenn Morris <rgm@gnu.org>
12877
12878 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12879 Ignore buffer-local generated-autoload-file if it is the same
12880 as the global value. (Bug#10049)
12881
12882 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
12883
12884 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12885 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12886 (reftex-toc-previous-heading, reftex-toc-max-level)
12887 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12888 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12889 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12890 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12891 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12892 (reftex-toc-rename-label, reftex-toc-visit-location)
12893 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12894 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12895 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12896 leaving "*toc*" only for references to the buffer.
12897
12898 2011-11-17 Martin Rudalics <rudalics@gmx.at>
12899
12900 * window.el (window-resize, delete-window, split-window):
12901 Replace window-splits by window-combination-resize.
12902 * cus-start.el (window-splits): Replace by window-combination-resize.
12903
12904 2011-11-17 Glenn Morris <rgm@gnu.org>
12905
12906 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12907 Make bash entry derive from sh entry, not shell entry.
12908
12909 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
12910
12911 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12912 local file name.
12913
12914 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12915
12916 * menu-bar.el (menu-bar-file-menu):
12917 * printing.el (pr-ps-utility):
12918 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12919 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12920 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12921 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12922 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12923 (icalendar--convert-cyclic-to-ical)
12924 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12925 (icalendar--convert-ical-to-diary)
12926 (icalendar--convert-recurring-to-diary)
12927 (icalendar--convert-non-recurring-all-day-to-diary)
12928 (icalendar-import-format-sample):
12929 * progmodes/idlw-shell.el (idlwave-shell-mode):
12930 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12931 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12932 (vhdl-ps-print-init): Fix typos.
12933
12934 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12935
12936 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12937 FSF and collapse date sequence, obscure author/maintainer email address
12938 better, remove extra version line, track relocation of author's webpage.
12939
12940 * progmodes/python.el (python-pdbtrack-input-prompt)
12941 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12942 regular python pdb prompts. Adjustments shamelessly taken exactly as
12943 suggested in EmacsWiki page (tiny change):
12944 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
12945
12946 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12947
12948 * expand.el (expand-pos, expand-index, expand-point):
12949 Remove redundant info from docstring.
12950 (expand-add-abbrevs): Doc fix.
12951 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12952 (expand-sample-perl-mode-expand-list): Fix typos.
12953
12954 * net/dbus.el (dbus-event-member-name):
12955 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12956 * term/pc-win.el (msdos-create-frame-with-faces):
12957 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12958
12959 2011-11-16 Martin Rudalics <rudalics@gmx.at>
12960
12961 * window.el (split-window, window-state-get-1)
12962 (window-state-put-1, window-state-put-2): Rename occurrences of
12963 window-nest to window-combination-limit.
12964 * cus-start.el (window-nest): Rename to window-combination-limit.
12965
12966 2011-11-16 Chong Yidong <cyd@gnu.org>
12967
12968 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12969 regexp (Bug#10033).
12970
12971 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12972
12973 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12974 `completing-read' will remove *Completions* and will preserve
12975 current-buffer for us.
12976 (tmm-add-prompt): Users of *Completions* will always (re)set its
12977 major mode.
12978 (tmm-old-comp-map): Remove.
12979
12980 2011-11-16 Glenn Morris <rgm@gnu.org>
12981
12982 * mail/rmailedit.el: Require rmailmm when compiling.
12983 (rmail-old-mime-state): New declaration.
12984 (rmail-edit-current-message): If editing a mime message,
12985 edit the "raw" message from the mbox buffer.
12986 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12987
12988 2011-11-15 Glenn Morris <rgm@gnu.org>
12989
12990 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12991 which wasn't being used. Add optional arg to force given state.
12992 (rmail-mime): Add optional arg to force given state.
12993
12994 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12995
12996 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12997 * frame.el (display-mm-dimensions-alist):
12998 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12999 (outline-move-subtree-down):
13000 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
13001 (newsticker--treeview-do-get-node):
13002 * net/quickurl.el (quickurl-list-buffer-name):
13003 * progmodes/dcl-mode.el (dcl-mode):
13004 * progmodes/gdb-mi.el (gdb-mapcar*):
13005 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
13006
13007 2011-11-15 Glenn Morris <rgm@gnu.org>
13008
13009 * mail/rmail.el (rmail-file-coding-system): It's only ever used
13010 in a boolean sense, so just make it a boolean, and fix the doc.
13011 (rmail-show-mime-function, rmail-mime-feature)
13012 (rmail-require-mime-maybe): Doc fixes.
13013 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
13014
13015 * mail/rmailmm.el (rmail-show-mime): Doc fix.
13016
13017 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
13018
13019 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
13020 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
13021 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
13022 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
13023
13024 2011-11-15 Glenn Morris <rgm@gnu.org>
13025
13026 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
13027 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
13028 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
13029 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
13030 (rmail-mime, rmail-show-mime): Doc fixes.
13031
13032 * term/ns-win.el (mode-line-frame-identification):
13033 Leave it alone. (Bug#10051)
13034
13035 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
13036
13037 * mail/rmailout.el (rmail-output-to-rmail-buffer):
13038 Handle empty buffers. (Bug#9978)
13039
13040 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
13041
13042 * international/mule.el (define-charset):
13043 * mail/rmailmm.el (rmail-mime-find-header-encoding):
13044 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
13045 * progmodes/verilog-mode.el (verilog-backward-token):
13046 * textmodes/ispell.el (lookup-words):
13047 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
13048
13049 2011-11-14 Glenn Morris <rgm@gnu.org>
13050
13051 * progmodes/executable.el
13052 (executable-make-buffer-file-executable-if-script-p):
13053 Handle file-modes returning nil.
13054
13055 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
13056 message - not necessary, and causes problems. (Bug#9831)
13057
13058 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
13059
13060 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
13061
13062 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
13063 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
13064 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
13065
13066 2011-11-12 Martin Rudalics <rudalics@gmx.at>
13067
13068 * window.el (window-resize, delete-window): Use window-splits
13069 variable instead of function.
13070 (window-state-get-1, window-state-put-2, window-state-put):
13071 Don't deal with windows' splits status.
13072
13073 2011-11-12 Glenn Morris <rgm@gnu.org>
13074
13075 * apropos.el (apropos-do-all, apropos-library, apropos-value)
13076 (apropos-documentation): Doc fixes.
13077
13078 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
13079
13080 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
13081 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
13082
13083 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13084
13085 * electric.el (electric-indent-post-self-insert-function): Make it
13086 possible for a char to only indent in some circumstances.
13087 (electric-indent-mode): Simplify.
13088
13089 2011-11-11 Martin Rudalics <rudalics@gmx.at>
13090
13091 * window.el (windows-with-parameter): Remove unused function.
13092 (windows-at-side): Rename to window-at-side-list.
13093 (window-check, window-atom-check, window-atom-check-1)
13094 (window-side-check, window-size-ignore, window-size-fixed-1)
13095 (window-in-direction-2): Prefix with "window--".
13096 (window-tree-1): Rename to window--subtree, fix doc-string.
13097
13098 2011-11-11 Glenn Morris <rgm@gnu.org>
13099
13100 * subr.el (eval-after-load): If FILE is already loaded,
13101 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
13102
13103 2011-11-10 Glenn Morris <rgm@gnu.org>
13104
13105 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
13106 Call svn via vc-svn-command rather than vc-do-command.
13107 (vc-svn-command): Add --non-interactive. (Bug#9993)
13108 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
13109
13110 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13111 Add toggle-read-only. (Bug#7292)
13112 * files.el (toggle-read-only): Mention that it should only
13113 be used interactively. (Bug#10006)
13114
13115 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
13116
13117 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13118 Adjust regexp for OCaml warnings.
13119
13120 * electric.el (electric-pair-post-self-insert-function): Let user
13121 turn it off buffer-locally (bug#9932).
13122
13123 * progmodes/python.el (python-beginning-of-statement):
13124 Rewrite (bug#2703).
13125
13126 * progmodes/compile.el: Better handle TABs (bug#9749).
13127 (compilation-internal-error-properties)
13128 (compilation-next-error-function): Obey the target buffer's
13129 compilation-error-screen-columns.
13130
13131 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
13132
13133 * progmodes/meta-mode.el: Remove obsolete comments.
13134 (meta-right-comment-regexp, meta-ignore-comment-regexp):
13135 Fix typos in docstrings.
13136
13137 2011-11-09 Martin Rudalics <rudalics@gmx.at>
13138
13139 * window.el (window-size-fixed-p): Rewrite doc-string.
13140 (window-resizable-p): Rename to window--resizable-p. Update callers.
13141 (window--resizable): New function. Make all callers of
13142 window-resizable call window--resizable instead.
13143 (window-resizable): Rewrite in terms of window--resizable.
13144
13145 2011-11-08 Glenn Morris <rgm@gnu.org>
13146
13147 * progmodes/delphi.el (delphi-mode-syntax-table):
13148 Let define-derived-mode define a proper syntax table. (Bug#9994)
13149
13150 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13151
13152 * window.el: Stay away from defsubst.
13153 (window-list-no-nils): Remove.
13154 (window-state-get-1, window-state-get): Use backquote instead.
13155
13156 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13157
13158 * emacs-lisp/find-func.el (find-function-read):
13159 Fix incorrect use of default argument in `completing-read'.
13160
13161 2011-11-08 Martin Rudalics <rudalics@gmx.at>
13162
13163 * window.el (display-buffer-function, special-display-function):
13164 Mention display-buffer-record-window but do not mention
13165 help-setup parameter in doc-strings.
13166 (window-min-delta): Fix doc-string typo.
13167
13168 2011-11-08 Chong Yidong <cyd@gnu.org>
13169
13170 * window.el (window-total-height, window-total-width): Doc fix.
13171 (window-body-size): Move from C.
13172 (window-body-height, window-body-width): Move to C.
13173
13174 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13175
13176 * window.el: Make special-display like display-buffer-alist (bug#9532).
13177 (display-buffer--special-action): New function, morphed
13178 from display-buffer--special.
13179 (display-buffer): Use it to handle special-display-buffers at higher
13180 priority (just after display-buffer-alist).
13181 (display-buffer-fallback-action, display-buffer--other-frame-action)
13182 (pop-to-buffer-same-window): Remove display-buffer--special.
13183
13184 2011-11-07 Glenn Morris <rgm@gnu.org>
13185
13186 * calendar/cal-menu.el (cal-menu-set-date-title):
13187 Do nothing if not in a calendar. (Bug#9976)
13188
13189 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13190
13191 * files.el (find-file): Always use selected-window.
13192
13193 2011-11-07 Martin Rudalics <rudalics@gmx.at>
13194
13195 * window.el (window-combinations): Make WINDOW argument
13196 mandatory. Rewrite doc-string.
13197 (walk-window-subtree, window-atom-check, window-min-delta)
13198 (window-max-delta, window--resize-this-window)
13199 (window--resize-root-window-vertically, window-tree)
13200 (balance-windows, window-state-put): Rewrite doc-strings as to
13201 not mention the term "subwindow".
13202 (window--resize-subwindows-skip-p): Rename to
13203 window--resize-child-windows-skip-p.
13204 (window--resize-subwindows-normal): Rename to
13205 window--resize-child-windows-normal.
13206 (window--resize-subwindows): Rename to
13207 window--resize-child-windows.
13208 (window-or-subwindow-p): Rename to window--in-subtree-p.
13209
13210 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13211
13212 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13213 Ensure that mbox format messages end in two newlines (Bug#9974).
13214
13215 2011-11-06 Chong Yidong <cyd@gnu.org>
13216
13217 * window.el (window-combination-p): Function deleted; its
13218 side-effect is not used in any existing code.
13219 (window-combinations, window-combined-p): Call window-*-child
13220 directly.
13221
13222 2011-11-05 Chong Yidong <cyd@gnu.org>
13223
13224 * window.el (window-valid-p): Rename from window-any-p.
13225 (window-size-ignore, window-state-get): Callers changed.
13226 (window-normalize-window): Rename from window-normalize-any-window.
13227 New arg LIVE-ONLY, replacing window-normalize-live-window.
13228 (window-normalize-live-window): Delete.
13229 (window-combination-p, window-combined-p, window-combinations)
13230 (walk-window-subtree, window-atom-root, window-min-size)
13231 (window-sizable, window-sizable-p, window-size-fixed-p)
13232 (window-min-delta, window-max-delta, window-resizable)
13233 (window-resizable-p, window-full-height-p, window-full-width-p)
13234 (window-current-scroll-bars, window-point-1, set-window-point-1)
13235 (window-at-side-p, window-in-direction, window-resize)
13236 (adjust-window-trailing-edge, maximize-window, minimize-window)
13237 (window-deletable-p, delete-window, delete-other-windows)
13238 (record-window-buffer, unrecord-window-buffer)
13239 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
13240 (quit-window, split-window, window-state-put)
13241 (set-window-text-height, fit-window-to-buffer)
13242 (shrink-window-if-larger-than-buffer): Callers changed.
13243
13244 2011-11-04 Eli Zaretskii <eliz@gnu.org>
13245
13246 * mail/rmail.el (rmail-simplified-subject): Decode subject with
13247 rfc2047-decode-string.
13248 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13249 warnings.
13250
13251 * window.el (window-body-height, window-body-width): Mention in
13252 the doc string that the return values are in frame's canonical
13253 units. (Bug#9949)
13254
13255 2011-11-03 Alan Mackenzie <acm@muc.de>
13256
13257 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13258 change in cc-engine.el.
13259
13260 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
13261
13262 * window.el (switch-to-buffer): Use `force-same-window' interactively.
13263
13264 2011-11-02 Martin Rudalics <rudalics@gmx.at>
13265
13266 * window.el (quit-window): Call unrecord-window-buffer after
13267 showing another buffer in the window. (Bug#9937)
13268 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
13269
13270 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
13271
13272 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13273 Accept status with more than 9 shelves. (Bug#9935)
13274 Reported by Colin D Bennett <colin@gibibit.com>.
13275
13276 2011-11-01 Martin Rudalics <rudalics@gmx.at>
13277
13278 * help.el (with-help-window): Don't reference
13279 temp-buffer-show-specifiers in doc-string.
13280
13281 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
13282
13283 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
13284 menu-item.
13285
13286 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13287
13288 * whitespace.el: New version 13.2.2.
13289 (whitespace-newline-mode): Disable properly. Reported by Sarah
13290 <EmacsWiki>.
13291
13292 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
13293
13294 * net/newst-treeview.el: Remove "Time-stamp".
13295 (newsticker--group-manage-orphan-feeds): Do not call
13296 newsticker--treeview-tree-update.
13297 (newsticker-treeview-update, newsticker-treeview):
13298 Call newsticker--treeview-tree-update if necessary.
13299
13300 2011-10-30 Martin Rudalics <rudalics@gmx.at>
13301
13302 * window.el (window-iso-combination-p, window-iso-combined-p)
13303 (window-iso-combinations): Remove "iso-" infix.
13304 Suggested by Chong Yidong.
13305 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
13306 (window-max-delta-1, window-resize, window--resize-siblings)
13307 (window--resize-this-window, adjust-window-trailing-edge)
13308 (split-window, balance-windows-1)
13309 (shrink-window-if-larger-than-buffer):
13310 * calendar/calendar.el (calendar-generate-window):
13311 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
13312
13313 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13314
13315 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13316 in place (bug#9907).
13317 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13318 (eshell-rewrite-if-command, eshell-rewrite-for-command)
13319 (eshell-structure-basic-command, eshell-rewrite-while-command)
13320 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13321 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13322 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13323 (eshell-do-pipelines-synchronously, eshell-eval-command):
13324 Use backquotes and prefer setq to set.
13325 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13326 (eshell-macrop): Use functionp.
13327 (eshell-do-eval): Handle multiple expressions in `while' body.
13328
13329 2011-10-30 Chong Yidong <cyd@gnu.org>
13330
13331 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13332 instead of set-mark (Bug#9810).
13333
13334 2011-10-30 Chong Yidong <cyd@gnu.org>
13335
13336 * window.el (split-window-below, split-window-right): Rename from
13337 split-window-above-each-other and split-window-side-by-side
13338 respectively. All callers changed.
13339 (split-window-sensibly, split-window-sensibly): Use them.
13340 (split-window-keep-point): Doc fix.
13341
13342 * isearch.el: Add isearch-scroll property to split-window-below
13343 and split-window-right.
13344
13345 * follow.el (follow-mode):
13346 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13347 * progmodes/ada-xref.el (ada-gdb-application):
13348 * emulation/vip.el (vip-buffer-in-two-windows):
13349 * image-dired.el (image-dired-dired-with-window-configuration):
13350 * dired-x.el (dired-do-find-marked-files):
13351 * dired.el (dired-pop-to-buffer):
13352 * bs.el (bs--show-with-configuration):
13353 * vc/emerge.el (emerge-setup-windows):
13354 * textmodes/two-column.el (2C-two-columns):
13355 * textmodes/reftex-toc.el (reftex-toc):
13356 * progmodes/gdb-mi.el (gdb-setup-windows):
13357 * progmodes/fortran.el (fortran-window-create):
13358 * net/newst-treeview.el (newsticker--treeview-window-init):
13359 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
13360 * emulation/tpu-edt.el (tpu-gold-map):
13361 * emulation/crisp.el (crisp-mode-map):
13362 * calendar/calendar.el (calendar-basic-setup): Callers changed.
13363
13364 2011-10-29 Chong Yidong <cyd@gnu.org>
13365
13366 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
13367
13368 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
13369
13370 * textmodes/flyspell.el (flyspell-word): Fix char offset for
13371 forged Ispell output (Bug#7904).
13372
13373 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
13374
13375 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13376
13377 * doc-view.el: Avoid ugly errors about not finding nil.
13378 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
13379 (doc-view-dvipdf-program, doc-view-unoconv-program)
13380 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
13381 Avoid nil or absolute file name as default value.
13382 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
13383
13384 2011-10-28 Alan Mackenzie <acm@muc.de>
13385
13386 * progmodes/cc-defs.el (c-version): -> 5.32.2.
13387
13388 2011-10-28 Alan Mackenzie <acm@muc.de>
13389
13390 Amend the handling of c-beginning/end-of-defun in nested declaration
13391 scopes.
13392
13393 * progmodes/cc-vars.el (c-defun-tactic): Move here from
13394 cc-langs.el. Change it to a defcustom.
13395
13396 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13397 cc-vars.el.
13398
13399 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13400 Prevent "class foo : bar" being spuriously recognized as a label.
13401
13402 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
13403 Add parameter `inclusive' (to include enclosing braces in the region).
13404 (c-widen-to-enclosing-decl-scope): New function.
13405 (c-while-widening-to-decl-block): New macro.
13406 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13407 outward for defun boundaries, and correspondingly change symbol
13408 `respect-enclosure' to `go-outward'.
13409 (c-declaration-limits): Change algorithm to report only the "innermost"
13410 defun's boundaries.
13411
13412 2011-10-28 Deniz Dogan <deniz@dogan.se>
13413
13414 * net/rcirc.el (rcirc-mode): Use hard newlines.
13415
13416 2011-10-28 Alan Mackenzie <acm@muc.de>
13417
13418 Amend to indent and fontify macros "which include their own semicolon"
13419 correctly, using the "virtual semicolon" mechanism.
13420
13421 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
13422
13423 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
13424 Recode to scan one line at a time rather than having \n and \r
13425 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
13426 (c-forward-label): Amend for virtual semicolons.
13427 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
13428
13429 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13430 of the new C macros.
13431
13432 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
13433 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13434 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
13435 (c-opt-cpp-macro-define): Make into a full language variable.
13436 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13437 AWK Mode (including \n, \r) removed, no longer needed.
13438
13439 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13440 Invoke c-make-macro-with-semi-re.
13441
13442 * progmodes/cc-vars.el (c-macro-with-semi-re):
13443 (c-macro-names-with-semicolon): New variables.
13444 (c-make-macro-with-semi-re): New function.
13445
13446 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13447
13448 * vc/log-edit.el: Fill empty field rather than adding new one.
13449 (log-edit-add-field): New function.
13450 (log-edit-insert-changelog): Use it.
13451
13452 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13453
13454 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
13455
13456 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13457
13458 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
13459 (gdb--check-interpreter): New function.
13460 (gdb): Use it.
13461
13462 2011-10-27 Glenn Morris <rgm@gnu.org>
13463
13464 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13465 (least-positive-float, least-negative-float)
13466 (least-positive-normalized-float, least-negative-normalized-float)
13467 (float-epsilon, float-negative-epsilon):
13468 Remove unnecessary declarations.
13469
13470 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
13471 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
13472 (least-positive-float, least-negative-float)
13473 (least-positive-normalized-float, least-negative-normalized-float)
13474 (float-epsilon, float-negative-epsilon): Add doc-strings,
13475 based on those in cl.texi.
13476
13477 * files.el (set-visited-file-name): If the major-mode changed,
13478 reload the local variables. (Bug#9796)
13479
13480 2011-10-27 Chong Yidong <cyd@gnu.org>
13481
13482 * subr.el (change-major-mode-after-body-hook): New hook.
13483 (run-mode-hooks): Run it.
13484
13485 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13486 Use change-major-mode-before-body-hook.
13487
13488 * simple.el (fundamental-mode):
13489 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
13490 change introducing fundamental-mode-hook.
13491
13492 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
13493
13494 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
13495
13496 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
13497
13498 * ido.el (ido-file-name-all-completions-1): Do not require
13499 tramp.el explicitly. (Bug#7583)
13500
13501 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13502
13503 * progmodes/octave-mod.el:
13504 * progmodes/octave-inf.el: Update maintainer.
13505
13506 2011-10-26 Chong Yidong <cyd@gnu.org>
13507
13508 * subr.el (with-wrapper-hook): Rewrite doc.
13509
13510 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
13511
13512 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
13513 filenames "/method:foo:". (Bug#9793)
13514
13515 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13516
13517 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
13518 (bug#9865).
13519
13520 2011-10-24 Glenn Morris <rgm@gnu.org>
13521
13522 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
13523
13524 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
13525
13526 * notifications.el: Add the requirement of a running D-Bus session
13527 bus to the Commentary.
13528
13529 2011-10-24 Juri Linkov <juri@jurta.org>
13530
13531 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13532 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
13533 (Bug#9364)
13534
13535 2011-10-24 Juri Linkov <juri@jurta.org>
13536
13537 * info.el (Info-following-node-name-re): Add newline to the list
13538 of allowed characters for leading space. (Bug#9824)
13539
13540 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13541
13542 * progmodes/octave-inf.el (inferior-octave-mode-map):
13543 Fix C-c C-h binding.
13544 * progmodes/octave-mod.el (octave-help): Remove.
13545
13546 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
13547
13548 Sync with Tramp 2.2.3.
13549
13550 * net/tramp-cache.el (top): Pacify byte-compiler using
13551 `init-file-user' and `site-run-file'.
13552
13553 * net/trampver.el: Update release number.
13554
13555 2011-10-23 Chong Yidong <cyd@gnu.org>
13556
13557 * files.el (toggle-read-only): Remove obsolete comment about
13558 version control.
13559
13560 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
13561 for toggle-read-only. Note that this hasn't called vc-next-action
13562 since 2008-05-02, though it wasn't documented at the time.
13563
13564 * vc/ediff-init.el (ediff-toggle-read-only-function):
13565 Use toggle-read-only.
13566
13567 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
13568
13569 Fix bug #9560, sporadic wrong indentation; improve instrumentation
13570 of c-parse-state.
13571
13572 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13573 correct faulty logical expression.
13574 (c-parse-state-state, c-record-parse-state-state):
13575 (c-replay-parse-state-state): New defvar/defuns.
13576 (c-debug-parse-state): Use new functions.
13577
13578 2011-10-22 Martin Rudalics <rudalics@gmx.at>
13579
13580 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
13581 last fix. Use window-in-direction correctly.
13582
13583 2011-10-21 Chong Yidong <cyd@gnu.org>
13584
13585 * progmodes/idlwave.el (idlwave-mode):
13586 * progmodes/vera-mode.el (vera-mode): No need to set
13587 require-final-newline; that's done in prog-mode.
13588 Suggested by Stefan Monnier.
13589
13590 2011-10-21 Martin Rudalics <rudalics@gmx.at>
13591
13592 * mouse.el (mouse-drag-window-above)
13593 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
13594 (mouse-drag-mode-line-1, mouse-drag-header-line)
13595 (mouse-drag-vertical-line-rightward-window): Remove.
13596 (mouse-drag-line): New function.
13597 (mouse-drag-mode-line, mouse-drag-header-line)
13598 (mouse-drag-vertical-line): Call mouse-drag-line.
13599 * window.el (window-at-side-p, windows-at-side): New functions.
13600
13601 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
13602
13603 * tar-mode.el (tar-grind-file-mode):
13604 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
13605
13606 2011-10-21 Chong Yidong <cyd@gnu.org>
13607
13608 * progmodes/idlwave.el (idlwave-mode):
13609 * progmodes/vera-mode.el (vera-mode):
13610 Use mode-require-final-newline.
13611
13612 2011-10-20 Glenn Morris <rgm@gnu.org>
13613
13614 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
13615
13616 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
13617
13618 * emulation/cua-base.el (cua-set-mark): Fix case of string.
13619
13620 2011-10-20 Chong Yidong <cyd@gnu.org>
13621
13622 * emulation/cua-base.el (cua-mode):
13623 * mail/footnote.el (footnote-mode):
13624 * mail/mailabbrev.el (mail-abbrevs-mode):
13625 * net/xesam.el (xesam-minor-mode):
13626 * progmodes/bug-reference.el (bug-reference-mode):
13627 * progmodes/cap-words.el (capitalized-words-mode):
13628 * progmodes/compile.el (compilation-minor-mode)
13629 (compilation-shell-minor-mode):
13630 * progmodes/gud.el (gud-tooltip-mode):
13631 * progmodes/hideif.el (hide-ifdef-mode):
13632 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
13633 * progmodes/subword.el (subword-mode):
13634 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13635 * progmodes/which-func.el (which-function-mode):
13636 * term/tvi970.el (tvi970-set-keypad-mode):
13637 * term/vt100.el (vt100-wide-mode):
13638 * textmodes/flyspell.el (flyspell-mode):
13639 * textmodes/ispell.el (ispell-minor-mode):
13640 * textmodes/nroff-mode.el (nroff-electric-mode):
13641 * textmodes/paragraphs.el (use-hard-newlines):
13642 * textmodes/refill.el (refill-mode):
13643 * textmodes/reftex.el (reftex-mode):
13644 * textmodes/rst.el (rst-minor-mode):
13645 * textmodes/sgml-mode.el (html-autoview-mode)
13646 (sgml-electric-tag-pair-mode):
13647 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
13648 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
13649 * emulation/crisp.el (crisp-mode):
13650 * emacs-lisp/eldoc.el (eldoc-mode):
13651 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
13652 minor mode behavior.
13653
13654 2011-10-19 Juri Linkov <juri@jurta.org>
13655
13656 * descr-text.el (describe-char): Add #x2010 and #x2011 to
13657 the list of hard-coded chars with escape-glyph face.
13658
13659 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13660
13661 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
13662
13663 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
13664
13665 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
13666 running process.
13667
13668 2011-10-19 Glenn Morris <rgm@gnu.org>
13669
13670 * vc/vc-bzr.el (vc-bzr-after-dir-status):
13671 Ignore ignored files. (Bug#9726)
13672
13673 2011-10-19 Chong Yidong <cyd@gnu.org>
13674
13675 Doc fix for minor modes, stating that an omitted argument enables
13676 the mode unconditionally when called from Lisp.
13677
13678 * abbrev.el (abbrev-mode):
13679 * allout.el (allout-mode):
13680 * autoinsert.el (auto-insert-mode):
13681 * autoarg.el (autoarg-mode, autoarg-kp-mode):
13682 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13683 (global-auto-revert-mode):
13684 * battery.el (display-battery-mode):
13685 * composite.el (global-auto-composition-mode)
13686 (auto-composition-mode):
13687 * delsel.el (delete-selection-mode):
13688 * desktop.el (desktop-save-mode):
13689 * dired-x.el (dired-omit-mode):
13690 * dirtrack.el (dirtrack-mode):
13691 * doc-view.el (doc-view-minor-mode):
13692 * double.el (double-mode):
13693 * electric.el (electric-indent-mode, electric-pair-mode):
13694 * emacs-lock.el (emacs-lock-mode):
13695 * epa-hook.el (auto-encryption-mode):
13696 * follow.el (follow-mode):
13697 * font-core.el (font-lock-mode):
13698 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13699 * help.el (temp-buffer-resize-mode):
13700 * hilit-chg.el (highlight-changes-mode)
13701 (highlight-changes-visible-mode):
13702 * hi-lock.el (hi-lock-mode):
13703 * hl-line.el (hl-line-mode, global-hl-line-mode):
13704 * icomplete.el (icomplete-mode):
13705 * ido.el (ido-everywhere):
13706 * image-file.el (auto-image-file-mode):
13707 * image-mode.el (image-minor-mode):
13708 * iswitchb.el (iswitchb-mode):
13709 * jka-cmpr-hook.el (auto-compression-mode):
13710 * linum.el (linum-mode):
13711 * longlines.el (longlines-mode):
13712 * master.el (master-mode):
13713 * mb-depth.el (minibuffer-depth-indicate-mode):
13714 * menu-bar.el (menu-bar-mode):
13715 * minibuf-eldef.el (minibuffer-electric-default-mode):
13716 * mouse-sel.el (mouse-sel-mode):
13717 * msb.el (msb-mode):
13718 * mwheel.el (mouse-wheel-mode):
13719 * outline.el (outline-minor-mode):
13720 * paren.el (show-paren-mode):
13721 * recentf.el (recentf-mode):
13722 * reveal.el (reveal-mode, global-reveal-mode):
13723 * rfn-eshadow.el (file-name-shadow-mode):
13724 * ruler-mode.el (ruler-mode):
13725 * savehist.el (savehist-mode):
13726 * scroll-all.el (scroll-all-mode):
13727 * scroll-bar.el (scroll-bar-mode):
13728 * server.el (server-mode):
13729 * shell.el (shell-dirtrack-mode):
13730 * simple.el (auto-fill-mode, transient-mark-mode)
13731 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13732 (line-number-mode, column-number-mode, size-indication-mode)
13733 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13734 * strokes.el (strokes-mode):
13735 * time.el (display-time-mode):
13736 * t-mouse.el (gpm-mouse-mode):
13737 * tool-bar.el (tool-bar-mode):
13738 * tooltip.el (tooltip-mode):
13739 * type-break.el (type-break-mode-line-message-mode)
13740 (type-break-query-mode):
13741 * view.el (view-mode):
13742 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13743 (global-whitespace-mode, global-whitespace-newline-mode):
13744 * xt-mouse.el (xterm-mouse-mode): Doc fix.
13745
13746 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13747 Fix autogenerated docstring.
13748
13749 2011-10-19 Juri Linkov <juri@jurta.org>
13750
13751 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13752 by checking environment variables "DESKTOP_SESSION" and
13753 "XDG_CURRENT_DESKTOP". (Bug#9779)
13754
13755 2011-10-19 Juri Linkov <juri@jurta.org>
13756
13757 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13758 (browse-url-chromium-program, browse-url-chromium-arguments):
13759 New defcustoms.
13760 (browse-url-default-browser): Check for `browse-url-chromium' and
13761 call `browse-url-chromium-program'.
13762 (browse-url-chromium): New command. (Bug#9779)
13763
13764 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
13765
13766 * facemenu.el (list-colors-duplicates): On Windows, detect more
13767 duplicates by assuming that only colors matching "^System" are
13768 special "system colors". (Bug#9722)
13769
13770 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13771
13772 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13773 to distinguish the author from the committer.
13774
13775 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
13776
13777 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13778
13779 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13780
13781 * international/mule.el (sgml-html-meta-auto-coding-function):
13782 Add support for detecting encoding in HTML5 specified only as
13783 <meta charset="UTF-8">. Implementation just makes http-equiv and
13784 content-type parts from HTML4 encoding string optional. (Bug#9716)
13785
13786 2011-10-18 Glenn Morris <rgm@gnu.org>
13787
13788 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13789
13790 2011-10-18 Chong Yidong <cyd@gnu.org>
13791
13792 * faces.el (cursor): Doc fix.
13793
13794 2011-10-17 Chong Yidong <cyd@gnu.org>
13795
13796 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13797
13798 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
13799
13800 * dirtrack.el (dirtrack): Support shell buffers with path
13801 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13802
13803 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13804
13805 * json.el: Bump version to 1.3 and note change in History.
13806 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13807
13808 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13809
13810 * comint.el (comint-insert-input, comint-send-input)
13811 (comint-get-old-input-default, comint-backward-matching-input)
13812 (comint-next-prompt): Use nil instead of `input' for field property of
13813 past user input (bug#114).
13814
13815 * minibuffer.el (completion--replace): Inherit surrounding properties
13816 (bug#114).
13817 (minibuffer-complete-and-exit): Use it.
13818
13819 * comint.el (comint--table-subvert): Quote the all-completions output
13820 (bug#9160).
13821
13822 2011-10-17 Martin Rudalics <rudalics@gmx.at>
13823
13824 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
13825
13826 * menu-bar.el (menu-bar-file-menu): Add entry for making new
13827 window on right of selected. (Bug#9350) Reword other window
13828 entries and separate them from frame entries.
13829
13830 2011-10-15 Glenn Morris <rgm@gnu.org>
13831
13832 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13833 Doc fixes.
13834
13835 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
13836
13837 * net/network-stream.el (network-stream-open-starttls):
13838 Improve detection of failure due to lack of TLS support.
13839
13840 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13841 putting the input text in front and in bold.
13842
13843 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13844
13845 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13846
13847 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13848 empty buffer.
13849
13850 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13851 unread-command-events rather than pushing yet-another event.
13852
13853 2011-10-14 Eli Zaretskii <eliz@gnu.org>
13854
13855 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13856 the explanation of the possible choices. Make the options passed
13857 to completing-read shorter.
13858
13859 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13860
13861 * textmodes/flyspell.el (flyspell-large-region): Make sure
13862 extended character mode is used if defined (Bug#1339).
13863
13864 2011-10-13 Eli Zaretskii <eliz@gnu.org>
13865
13866 * simple.el (what-cursor-position): Fix the display of the
13867 character info for LRE, LRO, RLE, and RLO characters by appending
13868 an invisible PDF.
13869
13870 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13871
13872 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13873 even in case of error; add debug spec; simplify data flow.
13874 (with-timeout-handler): Remove.
13875
13876 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
13877
13878 Fix Bug#6019, Bug#9315.
13879
13880 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13881 complete `buffer-file-name', the local file name part could look
13882 remotely (for example on VMS).
13883
13884 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13885 `tramp-run-real-handler'.
13886 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13887 already quoted by '"'.
13888
13889 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13890 Let `file-name-handler-alist' be nil, the local file name part
13891 could look remotely (for example on VMS).
13892
13893 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13894
13895 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13896 from here...
13897 (flyspell-post-command-hook): ...to here.
13898
13899 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13900
13901 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13902 if not needed.
13903 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13904 using completion. Protect against "slow" callers.
13905 Remove the "message hack".
13906
13907 2011-10-11 Juri Linkov <juri@jurta.org>
13908
13909 * isearch.el (isearch-lazy-highlight-word): New variable.
13910 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13911 Use it. (Bug#9727)
13912
13913 2011-10-11 Glenn Morris <rgm@gnu.org>
13914
13915 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13916 like f90-previous-statement does.
13917
13918 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13919
13920 * eshell/eshell.el (eshell-command): History should be saved
13921 only in interactive use, to avoid error.
13922
13923 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13924
13925 * minibuffer.el (completion-file-name-table): Fix last change,
13926 i.e. ignore normal errors but not the other ones.
13927
13928 2011-10-10 Martin Rudalics <rudalics@gmx.at>
13929
13930 * window.el (special-display-buffer-names)
13931 (special-display-regexps): Remove some remnants of earlier
13932 changes from doc-strings.
13933 (quit-windows-on): New function.
13934
13935 * vc/vc.el (vc-revert, vc-rollback):
13936 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13937 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
13938 (Bug#6183) (Bug#7074) (Bug#7447)
13939
13940 2011-10-09 Martin Rudalics <rudalics@gmx.at>
13941
13942 * window.el (frame-auto-hide-function): Add version tag.
13943 (Bug#9699)
13944
13945 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
13946
13947 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13948 condition.
13949
13950 2011-10-09 Leo Liu <sdl.web@gmail.com>
13951
13952 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13953 (Bug#9701)
13954
13955 2011-10-08 Glenn Morris <rgm@gnu.org>
13956
13957 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13958 before the first code statement zero indent. (Bug#9690)
13959
13960 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
13961
13962 * simple.el (count-words-region): Always count in the region.
13963 Report the number of lines and characters too.
13964 (count-words): New command, which counts in the buffer if the
13965 region is inactive, as count-words-region used to.
13966 (count-words--message): New function. Handle plurals.
13967 (count-lines-region): Make it an alias for count-words-region.
13968
13969 * bindings.el (esc-map): Replace count-lines-region with
13970 count-words-region.
13971
13972 2011-10-08 Martin Rudalics <rudalics@gmx.at>
13973
13974 * window.el (window--delete): Delete dedicated frame
13975 unconditionally when argument KILL is non-nil. (Bug#9699)
13976 (switch-to-buffer): Fix doc-string typo.
13977
13978 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13979
13980 * eshell/eshell.el (eshell-command): Avoid using hooks.
13981
13982 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
13983
13984 * bindings.el ([M-left],[M-right]): Bind to left-word and
13985 right-word respectively.
13986
13987 2011-10-07 Glenn Morris <rgm@gnu.org>
13988
13989 * cus-start.el (debug-on-quit): Fix custom type.
13990
13991 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13992
13993 * subr.el (define-key-after): Clarify that the function is not
13994 useful for non-menu keymaps.
13995
13996 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13997
13998 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13999
14000 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
14001 in current minibuffer (Fix bug with recursive minibuffers).
14002
14003 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
14004
14005 * progmodes/gdb-mi.el (gdb): Doc fix.
14006
14007 2011-10-05 Martin Rudalics <rudalics@gmx.at>
14008
14009 * window.el (frame-auto-hide-function): New option replacing
14010 frame-auto-delete. Suggested by Stefan Monnier.
14011 (window--delete): Call frame-auto-hide-function instead of
14012 investigating frame-auto-delete.
14013 (window-point-1, set-window-point-1): New functions.
14014 (window-in-direction, record-window-buffer, window-state-get-1)
14015 (display-buffer-record-window): Use window-point-1 instead of
14016 window-point.
14017 (set-window-buffer-start-and-point): Use set-window-point-1.
14018
14019 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14020
14021 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
14022
14023 2011-10-05 Glenn Morris <rgm@gnu.org>
14024
14025 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
14026 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
14027
14028 2011-10-05 Leo Liu <sdl.web@gmail.com>
14029
14030 * subr.el (read-char-choice): Fix argument to buffer-live-p which
14031 works with buffer object.
14032
14033 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14034
14035 * mpc.el (mpc-tool-bar-map): Add labels.
14036
14037 2011-10-04 Glenn Morris <rgm@gnu.org>
14038
14039 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14040
14041 2011-10-04 Martin Rudalics <rudalics@gmx.at>
14042
14043 * window.el (window--delete): New function.
14044 (frame-auto-delete): Resuscitate option.
14045 (bury-buffer, replace-buffer-in-windows)
14046 (quit-window): Rewrite using window--delete.
14047 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14048 Pass display-buffer-mark-dedicated to window--display-buffer-2
14049 (Bug#9639).
14050
14051 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14052
14053 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
14054 returns a list (bug#9554). Add remote file name completion.
14055 * comint.el (comint--table-subvert): Curry and get quote&unquote
14056 functions as arguments.
14057 (comint--complete-file-name-data): Adjust call accordingly.
14058 * pcomplete.el (pcomplete--table-subvert): Remove.
14059 (pcomplete-completions-at-point): Use comint--table-subvert instead.
14060
14061 * minibuffer.el (completion-table-case-fold): Use currying.
14062 (completion--styles-type, completion--cycling-threshold-type):
14063 New constants.
14064 (completion-styles, completion-category-overrides)
14065 (completion-cycle-threshold): Use them.
14066 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
14067 completion-table-case-fold.
14068
14069 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
14070
14071 * minibuffer.el (completion-category-overrides): Fix type of styles
14072 and add more user friendly tags (bug#9660).
14073
14074 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14075
14076 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
14077 (mule-input-method-string): New widget.
14078 (default-input-method, language-info-custom-alist): Use it.
14079
14080 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14081
14082 * pcomplete.el: Require comint.
14083 (pcomplete--common-suffix): Remove.
14084 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
14085 (pcomplete--table-subvert): Sync with comint--table-subvert.
14086 (pcomplete--entries): Use comint-completion-file-name-table.
14087 * comint.el (comint-unquote-filename): Simplify.
14088 (comint-completion-file-name-table): New function (bug#9616).
14089 (comint--complete-file-name-data): Use it.
14090
14091 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
14092 (pcmpl-gnu-tar-buffer): Remove.
14093 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
14094 around. Make sure pcomplete-suffix-list is only changed temporarily.
14095 Don't look inside the tar's file if it's too large.
14096
14097 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
14098
14099 * cus-edit.el (custom-mode-map):
14100 * epa.el (epa-key-list-mode-map):
14101 * man.el (Man-mode-map):
14102 * startup.el (splash-screen-keymap):
14103 * simple.el (special-mode-map): Use scroll-up-command and
14104 scroll-down-command.
14105
14106 * progmodes/idlw-help.el (idlwave-help-mode-map):
14107 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
14108 * net/newst-plainview.el (newsticker-mode-map):
14109 * emulation/ws-mode.el (wordstar-mode-map):
14110 * emulation/vi.el (vi-com-map):
14111 * calc/calc-graph.el (calc-graph-show-dumb):
14112 * term/sun.el (terminal-init-sun):
14113 * term/ns-win.el (global-map):
14114 * progmodes/grep.el (grep-mode-map):
14115 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
14116 * mail/rmail.el (rmail-mode-map):
14117 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
14118
14119 * custom.el (custom-safe-themes, load-theme): Treat value of t for
14120 custom-safe-themes as special.
14121
14122 2011-10-01 Julien Danjou <julien@danjou.info>
14123
14124 * notifications.el (notifications-notify): Fix docstring.
14125
14126 2011-10-01 Per Starbäck <per@starback.se>
14127
14128 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
14129
14130 2011-09-30 Martin Rudalics <rudalics@gmx.at>
14131
14132 * startup.el (command-line-1): Fix last fix by inserting
14133 initial-scratch-message into *scratch* before displaying it.
14134 (Bug#9605) and (Bug#9636)
14135
14136 2011-09-29 Eli Zaretskii <eliz@gnu.org>
14137
14138 * simple.el (line-move): If auto-hscroll-mode is disabled and the
14139 window is hscrolled, move by logical lines. (Bug#9607)
14140 (line-move-visual): Update the doc string to the above effect.
14141
14142 2011-09-29 Martin Rudalics <rudalics@gmx.at>
14143
14144 * window.el (display-buffer-record-window): When WINDOW is the
14145 selected window use `point' instead of `window-point'. (Bug#9626)
14146
14147 * startup.el (command-line-1): Use insert-before-markers when
14148 inserting initial-scratch-message. (Bug#9605)
14149
14150 * help.el (help-window): Remove variable.
14151
14152 2011-09-29 Glenn Morris <rgm@gnu.org>
14153
14154 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
14155
14156 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
14157
14158 * descr-text.el (describe-char-categories): Accept category
14159 descriptions more than one line long.
14160
14161 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
14162
14163 * simple.el (delete-trailing-whitespace): Fix last change.
14164
14165 * progmodes/perl-mode.el (perl-syntax-propertize-function):
14166 Don't confuse "y => 3" as the beginning of a `y' operation.
14167
14168 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
14169 object has more than 4 slots (bug#9613).
14170
14171 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
14172
14173 * subr.el (with-output-to-temp-buffer):
14174 * net/quickurl.el (quickurl, quickurl-browse-url):
14175 Fix typos in docstrings.
14176
14177 2011-09-27 Eli Zaretskii <eliz@gnu.org>
14178
14179 * minibuffer.el (completion-styles)
14180 (completion-category-overrides): Cross reference each other in doc
14181 strings.
14182
14183 2011-09-27 Glenn Morris <rgm@gnu.org>
14184
14185 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14186 to split-string. (Bug#9606)
14187
14188 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14189
14190 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14191 (bug#9615).
14192
14193 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
14194
14195 * emacs-lisp/package.el (list-packages): Fix echo area message.
14196
14197 2011-09-27 Leo Liu <sdl.web@gmail.com>
14198
14199 * ido.el (ido-read-internal): Accept cons cell HIST arg.
14200
14201 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
14202
14203 * net/dbus.el (dbus-unregister-object): Don't release services for
14204 registered signals. (Bug#9581)
14205
14206 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
14207
14208 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14209 function that picks between cfengine 2 and 3 support
14210 automatically. Update docs accordingly.
14211
14212 2011-09-22 Kenichi Handa <handa@m17n.org>
14213
14214 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14215 ZERO.
14216 (indian-itrans-v5-table-for-tamil): New variable.
14217 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14218
14219 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
14220
14221 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14222 that's true if the current command involved collapsing of text.
14223 It's reset to false at the beginning of the next command.
14224 (allout-post-command-business): Move the cursor to the beginning
14225 of entry if the cursor is hidden and collapsing activity just
14226 happened.
14227
14228 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
14229
14230 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
14231 tracking (Bug#9541).
14232
14233 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
14234
14235 * net/newst-reader.el (newsticker-html-renderer)
14236 (newsticker-show-news): Automatically load html rendering package
14237 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
14238 because w3m-fill-column is let-bound" and the error "Symbol's value
14239 as variable is void: w3m-fill-column".
14240
14241 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
14242
14243 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
14244 Release services only if they are defined. (Bug#9581)
14245
14246 2011-09-23 Richard Stallman <rms@gnu.org>
14247
14248 * textmodes/paragraphs.el (forward-sentence): For backwards case,
14249 distinguish start of paragraph from start of its text.
14250
14251 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14252
14253 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14254 (rmail-generate-viewer-buffer): Put that hook on view buffer.
14255 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14256
14257 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
14258
14259 * international/mule-diag.el (mule-diag): Insert a newline after
14260 each fontset description.
14261
14262 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14263
14264 * simple.el (delete-trailing-whitespace):
14265 Document last change; simplify.
14266
14267 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
14268
14269 * simple.el (delete-trailing-whitespace): Also delete
14270 extra newlines at the end of the buffer.
14271
14272 * textmodes/picture.el: Make motion commands obey shift-select-mode.
14273 (picture-newline): Use forward-line so as to ignore fields.
14274
14275 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14276
14277 * subr.el (with-wrapper-hook): Fix edebug spec.
14278
14279 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14280
14281 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
14282 (bug#4538).
14283
14284 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
14285
14286 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
14287 Fix nasty bug using wrong cached values.
14288
14289 2011-09-23 Alan Mackenzie <acm@muc.de>
14290
14291 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
14292
14293 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
14294
14295 * window.el (pop-to-buffer): Ensure right window is selected if we
14296 chose another frame.
14297
14298 2011-09-22 Eli Zaretskii <eliz@gnu.org>
14299
14300 * simple.el (what-cursor-position): Use get-char-property-change
14301 and next-single-char-property-change, to be able to show display
14302 properties that come from overlays as well as text properties.
14303
14304 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
14305
14306 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
14307
14308 * cmuscheme.el (run-scheme, switch-to-scheme):
14309 * cus-edit.el (customize-group, custom-buffer-create)
14310 (customize-browse):
14311 * info.el (info):
14312 * shell.el (shell):
14313 * mail/sendmail.el (mail):
14314 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
14315
14316 2011-09-22 Richard Stallman <rms@gnu.org>
14317
14318 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14319 move back only to line beg, don't move back over blank lines.
14320
14321 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
14322
14323 * files.el (copy-directory): Set directory attributes only in case
14324 they could be retrieved from the source directory. (Bug#9565)
14325
14326 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
14327
14328 * progmodes/hideshow.el (hs-looking-at-block-start-p)
14329 (hs-find-block-beginning, hs-hide-level-recursive):
14330 Ignore strings as well as comments. (Bug#9502)
14331
14332 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
14333
14334 * progmodes/sql.el (sql-comint-postgres):
14335 Convert port number to a string. (Bug#9566)
14336
14337 2011-09-22 Martin Rudalics <rudalics@gmx.at>
14338
14339 * window.el (quit-window): Undedicate window when switching to
14340 previous buffer. Reported by Thierry Volpiatto
14341 <thierry.volpiatto@gmail.com>.
14342 (special-display-popup-frame): When popping up a new frame reset
14343 its previous buffers to nil. Simplify code.
14344
14345 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
14346
14347 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
14348 and process filter, as done also in `shell-command'.
14349
14350 2011-09-21 Martin Rudalics <rudalics@gmx.at>
14351
14352 * window.el (set-window-buffer-start-and-point):
14353 Call set-window-start with NOFORCE argument t.
14354 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14355 (quit-window): Reword doc-string. Handle new format of
14356 quit-restore parameter. Don't delete window if it has a
14357 previous buffer we can show instead of the present one.
14358 (display-buffer-record-window): Rewrite using a new format for
14359 the quit-restore window parameter
14360 (special-display-popup-frame, display-buffer-same-window)
14361 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14362 (display-buffer-pop-up-window, display-buffer-use-some-window):
14363 Adapt symbol passed to display-buffer-record-window.
14364 * help.el (help-window-setup): Handle new format of quit-restore
14365 parameter.
14366
14367 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14368
14369 * faces.el (face-list): Fix docstring (bug#9564).
14370
14371 * window.el (display-buffer--action-function-custom-type):
14372 Don't include internal functions in the Custom interface.
14373
14374 2011-09-20 Juri Linkov <juri@jurta.org>
14375
14376 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
14377 (Info-forward-node, Info-backward-node, Info-next-preorder)
14378 (Info-last-preorder): Use it. (Bug#9528)
14379
14380 2011-09-20 Juri Linkov <juri@jurta.org>
14381
14382 * info.el (Info-last-preorder): Visit last menu item only when
14383 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
14384
14385 2011-09-20 Julien Danjou <julien@danjou.info>
14386
14387 * password-cache.el (password-cache-remove): Remove entries even if the
14388 value is nil, so that password with a nil value (negative caching) is
14389 possible to invalidate.
14390
14391 2011-09-20 Lawrence Mitchell <wence@gmx.li>
14392
14393 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14394 all whitespace around breakpoint. (Bug#9553)
14395 (f90-find-breakpoint): Only break at whitespace inside a comment.
14396
14397 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14398
14399 * minibuffer.el (completion-file-name-table): Keep track of errors.
14400 (completion-table-with-predicate): Handle the case where pred1 is nil.
14401 * pcomplete.el (pcomplete-completions-at-point): Simplify.
14402
14403 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14404
14405 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14406 (debugger-return-value): Signal an error if the debugging context does
14407 not await any return value.
14408
14409 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14410 * image-mode.el (image-toggle-display-text)
14411 (image-toggle-display-image): Stay away from evil `intangible'.
14412
14413 2011-09-19 Leo Liu <sdl.web@gmail.com>
14414
14415 * replace.el (occur-revert-arguments): Make it permanent-local.
14416 (occur-mode): Don't call font-lock-defontify.
14417
14418 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
14419
14420 * net/ldap.el (ldap-search-internal): Don't push empty search
14421 result (Bug#9508).
14422
14423 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14424
14425 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14426
14427 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
14428
14429 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14430 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14431
14432 2011-09-18 Juri Linkov <juri@jurta.org>
14433
14434 * buff-menu.el (Buffer-menu-mode-map):
14435 * dired.el (dired-mode-map):
14436 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14437 (lisp-interaction-mode-map):
14438 * emacs-lisp/package.el (package-menu-mode-map):
14439 * epa.el (epa-key-list-mode-map):
14440 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14441 (menu-bar-options-menu):
14442 * outline.el (outline-mode-menu-bar-map):
14443 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14444 * vc/vc-dir.el (vc-dir-menu-map):
14445 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14446 Capitalize non-function content words in menu item strings.
14447
14448 * dired.el (dired-mode-map): Add menu item for
14449 `image-dired-dired-toggle-marked-thumbs'.
14450
14451 2011-09-18 Juri Linkov <juri@jurta.org>
14452
14453 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
14454 to `isearch-case-fold-search' and restore its original value
14455 after the `isearch-mode' call.
14456
14457 2011-09-18 Juri Linkov <juri@jurta.org>
14458
14459 * progmodes/grep.el (grep-process-setup): Don't check code for 1
14460 because `zgrep' returns 1 for successful matches (bug#9226).
14461
14462 2011-09-18 Juri Linkov <juri@jurta.org>
14463
14464 * info.el (Info-extract-menu-node-name): Check the second match
14465 for empty string (second test-case of bug#9528).
14466 (Info-last-preorder): Let-bind `Info-history' to nil to not add
14467 intermediate nodes to the history (first test-case of bug#9528).
14468
14469 2011-09-18 Juri Linkov <juri@jurta.org>
14470
14471 * info.el (Info-mode-syntax-table): New variable.
14472 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
14473
14474 2011-09-18 Juri Linkov <juri@jurta.org>
14475
14476 * info.el (Info-file-supports-index-cookies):
14477 Increment line-beginning-position's arg from 3 to 4 because makeinfo
14478 outputs one more line for long file names (bug#4142).
14479
14480 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
14481
14482 * newcomment.el (comment-normalize-vars): If prompting for
14483 comment-start, set comment-start-skip too (Bug#8424).
14484
14485 2011-09-18 Johan Bockgård <bojohan@gnu.org>
14486
14487 * icomplete.el: Fix previous fix of Bug#5849.
14488 (icomplete-mode): Don't set completion-show-inline-help.
14489 (icomplete-minibuffer-setup): Set completion-show-inline-help
14490 locally during icompletion.
14491
14492 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
14493
14494 * woman.el (woman2-process-escapes): Don't delete unrecognized
14495 escapes (Bug#7843).
14496
14497 * files.el (inhibit-first-line-modes-regexps): Add image files.
14498 (hack-local-variables-prop-line): Return nil for malformed
14499 prop-lines (Bug#9044).
14500
14501 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
14502
14503 * net/tramp.el (top): Don't require 'shell.
14504 (tramp-methods): Fix docstring.
14505 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
14506 Return complete remote file name. Handle "smb" case.
14507 Use `tramp-tmpdir', if defined for the respective method.
14508 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14509
14510 * net/tramp-compat.el (top): Require 'shell.
14511
14512 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14513 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
14514 `tramp-current-host'.
14515 (tramp-get-remote-tmpdir): Remove.
14516
14517 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
14518 `tramp-tmpdir' entries.
14519 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
14520 (tramp-smb-handle-file-attributes): Ignore errors.
14521 (tramp-smb-wait-for-output): Check also for process end.
14522
14523 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
14524
14525 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
14526 when sending QUIT (bug#9312).
14527
14528 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
14529
14530 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
14531 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
14532 occur-mode-display-occurrence.
14533 (occur-edit-mode): Add usage message.
14534 (occur-cease-edit): New command.
14535 (occur-after-change-function): Use text properties to find the
14536 position of the prefix text.
14537 (occur-engine): Set stickiness of prefix text properties.
14538
14539 2011-09-17 Glenn Morris <rgm@gnu.org>
14540
14541 * progmodes/etags.el (complete-tag):
14542 Fix call to completion-in-region. (Bug#9526)
14543
14544 2011-09-17 Juri Linkov <juri@jurta.org>
14545
14546 * textmodes/ispell.el (ispell-word): Add to the error message
14547 the word, ispell program name and current dictionary (bug#9121).
14548 (ispell-tex-arg-end): Capitalize "error" in the error message.
14549
14550 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
14551
14552 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
14553 check. (Bug#4251)
14554
14555 2011-09-17 Juri Linkov <juri@jurta.org>
14556
14557 * window.el (window-safe-min-height, window-safe-min-width):
14558 Fix typos (followup to bug#9522).
14559
14560 2011-09-17 Sven Joachim <svenjoac@gmx.de>
14561
14562 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
14563
14564 2011-09-16 Eli Zaretskii <eliz@gnu.org>
14565
14566 * simple.el (line-move): If goal-column is set, move by logical
14567 lines, not by display lines. (Bug#971)
14568 (next-line, previous-line, goal-column, line-move-visual): Doc fix
14569 to reflect the above change.
14570
14571 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14572
14573 * image.el (imagemagick-register-types): Use regexp-opt.
14574
14575 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14576
14577 * window.el (display-buffer-base-action): Rename from
14578 display-buffer-default-action. Make default value empty.
14579 (display-buffer-overriding-action): Convert to defvar.
14580 (display-buffer-fallback-action): New var.
14581
14582 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14583
14584 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
14585 declaration.
14586 (package--add-to-archive-contents): If there is a duplicate entry
14587 with an older version, remove it.
14588 (package-menu-mark-delete, package-menu-mark-install)
14589 (package-menu-mark-unmark): Make unused args optional.
14590 (package-menu-mark-obsolete-for-deletion):
14591 Use package-menu-get-status instead of a regexp search.
14592 (package-menu-get-status): Use tabulated-list-entry.
14593 (package-menu-mark-upgrades): New command.
14594 (package-menu-mode-map): Bind it to U. Add it to menu bar.
14595 (package-menu-execute): Do installation before deletion.
14596 (package-menu-refresh, package-menu-execute): Use derived-mode-p
14597 instead of checking major-mode.
14598 (package-menu--find-upgrades): New function.
14599
14600 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14601
14602 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
14603 passwords in the log buffer.
14604 (smtpmail-process-filter): Update the process marker so that the
14605 "broken by peer" status message is inserted in the right place.
14606
14607 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14608
14609 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
14610 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
14611 bibtex-completion-at-point-function.
14612 (bibtex-completion-at-point-function): Use them.
14613
14614 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
14615
14616 * mpc.el (mpc-constraints-tag-lookup): New function.
14617 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
14618 also to browser "album|playlist".
14619
14620 2011-09-14 Juri Linkov <juri@jurta.org>
14621
14622 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
14623 (isearch-edit-string): Use length of `isearch-string' when
14624 `isearch-fail-pos' returns nil.
14625 (isearch-message): Remove duplicate code and call
14626 `isearch-fail-pos' with arg `t'.
14627
14628 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
14629
14630 * replace.el (occur-mode-goto-occurrence): Don't force using other
14631 window (Bug#9499).
14632
14633 * dired-aux.el (dired-do-chmod): Don't provide initial input.
14634
14635 2011-09-14 Martin Rudalics <rudalics@gmx.at>
14636
14637 * window.el (display-buffer-window): Remove.
14638 (display-buffer-record-window): Use help-setup window parameter
14639 instead of variable display-buffer-window.
14640 (display-buffer-function, special-display-buffer-names)
14641 (special-display-function): Mention help-setup parameter instead
14642 of display-buffer-window in doc-string.
14643 * help.el (help-window-setup): New argument help-window.
14644 Use help-window-setup parameter instead of display-buffer-window.
14645 Reword some messages.
14646 (with-help-window): Pass window used for displaying the buffer
14647 to help-window-setup. Don't set display-buffer-window.
14648
14649 2011-09-13 Glenn Morris <rgm@gnu.org>
14650
14651 * emacs-lisp/debug.el (debugger-make-xrefs):
14652 Preserve point. (Bug#9462)
14653
14654 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14655
14656 * window.el (window-deletable-p): Use next-frame.
14657
14658 2011-09-13 Martin Rudalics <rudalics@gmx.at>
14659
14660 * window.el (window-auto-delete): Remove.
14661 (window-deletable-p): Remove argument FORCE. Don't deal with
14662 dedication and previous buffers.
14663 (switch-to-prev-buffer): Don't delete window.
14664 (delete-windows-on): Delete a window's frame if and only if the
14665 window is dedicated.
14666 (replace-buffer-in-windows): Delete buffer's window or frame if
14667 and only if window is dedicated.
14668 (quit-window): Handle quit-restore as before last change.
14669 (bury-buffer): Delete window only if window-deletable-p returns t.
14670
14671 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14672
14673 * window.el (window-deletable-p): Never delete the last frame on a
14674 given terminal.
14675
14676 2011-09-13 Glenn Morris <rgm@gnu.org>
14677
14678 * help.el (describe-key-briefly): Copy previous standard-output change.
14679
14680 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
14681
14682 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
14683
14684 2011-09-13 Glenn Morris <rgm@gnu.org>
14685
14686 * emacs-lisp/lisp-mode.el (lisp-indent-function):
14687 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
14688
14689 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
14690
14691 * dired-aux.el (dired-mark-read-string): Don't return default
14692 value on empty input (Bug#9361).
14693 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14694 Omit initial minibuffer contents.
14695 (dired-do-chmod): Signal an error on empty input.
14696 (dired-mark-read-string): Don't return default on empty input.
14697
14698 * files.el (file-modes-symbolic-to-number): Doc fix.
14699
14700 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14701
14702 * international/mule-cmds.el (ucs-completions): Remove.
14703 (read-char-by-name): Use complete-with-action instead; add metadata.
14704
14705 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
14706
14707 * window.el (display-buffer--action-function-custom-type)
14708 (display-buffer--action-custom-type): New vars.
14709 (display-buffer-alist, display-buffer-default-action)
14710 (display-buffer-overriding-action): Add defcustom types.
14711
14712 * frame.el (delete-other-frames): Doc fix (Bug#276).
14713
14714 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14715
14716 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14717
14718 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
14719
14720 Change modes that used same-window-* vars to use switch-to-buffer.
14721
14722 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14723 Use switch-to-buffer.
14724
14725 * cus-edit.el (customize-group, custom-buffer-create)
14726 (customize-browse, custom-buffer-create-other-window):
14727 Use switch-to-buffer or switch-to-buffer-other-window.
14728
14729 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14730 (Info-prev, Info-up, Info-speedbar-goto-node)
14731 (info-display-manual): Use switch-to-buffer.
14732 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14733
14734 * mail/sendmail.el (mail): Use switch-to-buffer.
14735 (mail-recover): Use switch-to-buffer-other-window.
14736
14737 * cmuscheme.el (run-scheme, switch-to-scheme):
14738 * ielm.el (ielm):
14739 * shell.el (shell):
14740 * net/rlogin.el (rlogin):
14741 * net/telnet.el (telnet, rsh):
14742 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14743
14744 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14745
14746 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14747
14748 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14749
14750 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14751 so don't mention it (bug#9301).
14752 (dired-sort-toggle-or-edit): Clarify string further.
14753
14754 * faces.el (face-spec-set-match-display): Make `(type graphic)'
14755 match `x', `w32' and `ns', like the manual says (bug#9029).
14756
14757 * subr.el (eval-after-load): Doc string clarification (bug#9125).
14758 (process-kill-buffer-query-function): Mention the buffer name in
14759 the query.
14760
14761 * image-mode.el (image-next-line): The line parameter is mandatory
14762 (bug#9258).
14763
14764 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14765 which can be useful (bug#9301).
14766
14767 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14768
14769 * subr.el (match-string): Mention that the current buffer should
14770 be the same as the search was done in (bug#9282).
14771
14772 * facemenu.el: Disable the remove-* commands if the mark isn't
14773 active (bug#9162).
14774
14775 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
14776
14777 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14778 of display-buffer.
14779 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14780
14781 * replace.el (occur-mode-goto-occurrence)
14782 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14783 and display-buffer.
14784
14785 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14786 display-buffer.
14787
14788 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14789 special-display and same-window variables.
14790 (mail-other-window): Use switch-to-buffer-other-window.
14791 (mail-other-frame): USe switch-to-buffer-other-frame.
14792
14793 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14794 Use display-buffer-other-frame.
14795 (gdb-display-gdb-buffer): Use pop-to-buffer.
14796
14797 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14798
14799 * progmodes/python.el: Don't set same-window-buffer-names.
14800
14801 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14802
14803 * window.el (display-buffer-alist): Add *Python*.
14804
14805 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
14806
14807 * window.el (display-buffer-alist): Add entry for buffers
14808 previously handled same-window-*.
14809 (display-buffer-alist, display-buffer-default-action)
14810 (display-buffer-overriding-action): Mark as risky.
14811 (display-buffer-alist): Document action function changes.
14812 (display-buffer--same-window-action)
14813 (display-buffer--other-frame-action): New variables.
14814 (switch-to-buffer, display-buffer-other-frame): Use them.
14815 (display-buffer): Rename reuse-frame entry to reusable-frames.
14816 (display-buffer-reuse-selected-window): Function deleted.
14817 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14818 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14819 (display-buffer-special): New function.
14820 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14821 display-buffer-reuse-or-pop-window. Split off special-display
14822 part into display-buffer-special.
14823 (display-buffer-use-some-window): Don't perform any special
14824 pop-up-frames handling.
14825 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
14826 (display-buffer--maybe-same-window): Rename from
14827 display-buffer-maybe-same-window.
14828
14829 * info.el: Don't set same-window-regexps.
14830 (info-setup): New function.
14831 (info-other-window, info): Call it.
14832
14833 * cus-edit.el: Don't set same-window-regexps.
14834 (customize-group): New argument.
14835 (customize-group-other-window): Use it.
14836 (customize-face, customize-face-other-window): Likewise.
14837 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14838
14839 * net/rlogin.el:
14840 * net/telnet.el:
14841 * progmodes/gud.el: Don't set same-window-regexps.
14842
14843 * cmuscheme.el:
14844 * ielm.el:
14845 * shell.el:
14846 * mail/sendmail.el:
14847 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14848
14849 2011-09-10 Juri Linkov <juri@jurta.org>
14850
14851 * isearch.el (isearch-edit-string): Remove obsolete mention of
14852 `C-w' (`isearch-yank-word-or-char') from docstring.
14853 (isearch-query-replace): Fix typo in docstring (bug#9466).
14854
14855 2011-09-10 Juri Linkov <juri@jurta.org>
14856
14857 * paren.el (show-paren-function): Don't show escaped parens.
14858 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14859
14860 2011-09-10 Eli Zaretskii <eliz@gnu.org>
14861
14862 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14863 (mm-default-file-encoding): Remove autoload forms, they are
14864 replaced with autoload cookies in mml.el and mm-encode.el.
14865 (mail-add-attachment): New command.
14866 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14867 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14868 the doc string.
14869 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14870
14871 2011-09-10 Reuben Thomas <rrt@sc3d.org>
14872
14873 * simple.el (count-words-region): Use buffer if there's no region
14874 (bug#9429).
14875
14876 2011-09-09 Juri Linkov <juri@jurta.org>
14877
14878 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14879 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14880 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14881
14882 2011-09-09 Alan Mackenzie <acm@muc.de>
14883
14884 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14885 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14886
14887 2011-09-09 Eli Zaretskii <eliz@gnu.org>
14888
14889 Fix for Savannah bug#9392.
14890 * simple.el (mail-encode-mml): New defvar.
14891
14892 * mail/rmail.el (mail-encode-mml): Add a defvar.
14893 (rmail-enable-mime-composing): Default to t.
14894 (rmail-forward): Use MIME method of forwarding only if both
14895 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14896 Set mail-encode-mml non-nil if the MIME method was used.
14897
14898 * mail/sendmail.el (mml-to-mime): Add autoload form.
14899 (mail-encode-mml): Add a defvar.
14900 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14901 to nil.
14902 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14903 message through mml-to-mime, and reset mail-encode-mml to nil.
14904
14905 2011-09-09 Glenn Morris <rgm@gnu.org>
14906
14907 * woman.el (woman-if-body): When processing an .el block,
14908 do not delete the next .el block as well. (Bug#9447)
14909 (woman-special-characters): Add oq, cq, and hy characters.
14910
14911 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14912
14913 * window.el (window-deletable-p): Make sure window is live before
14914 invoking window-prev-buffers.
14915
14916 2011-09-08 Leo Liu <sdl.web@gmail.com>
14917
14918 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14919
14920 2011-09-08 Juri Linkov <juri@jurta.org>
14921
14922 * progmodes/compile.el (compilation-environment): Make it
14923 a defcustom (bug#8340).
14924
14925 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14926
14927 * window.el (frame-auto-delete): Rename to window-auto-delete.
14928 Make it control auto-deletion of windows and/or frames.
14929 (window-deletable-p): New argument FORCE. Rewrite conditions
14930 for deleting window/frame. (Bug#9419)
14931 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14932 Rewrite handling of case when window/frame can be deleted.
14933 (delete-windows-on): Call window-deletable-p with new FORCE
14934 argument t. (Bug#9456)
14935
14936 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
14937
14938 * help-mode.el (help-mode): Restore autoload.
14939
14940 2011-09-07 Juri Linkov <juri@jurta.org>
14941
14942 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14943 `compilation-environment'. Set buffer-local
14944 `compilation-environment' to `thisenv' later after (funcall mode).
14945 (Bug#8340)
14946
14947 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14948 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14949 instead of replacing its value. (Bug#8340)
14950
14951 2011-09-07 Juri Linkov <juri@jurta.org>
14952
14953 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14954 based on text properties put by `grep-filter' instead of matching
14955 escape sequences.
14956 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14957 to the value of `grep-error-screen-columns' (bug#9438).
14958
14959 2011-09-07 Juri Linkov <juri@jurta.org>
14960
14961 * simple.el (next-error-highlight, next-error-highlight-no-select):
14962 Doc fix (bug#9432).
14963
14964 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14965
14966 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14967 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14968
14969 2011-09-07 Leo Liu <sdl.web@gmail.com>
14970
14971 * net/rcirc.el (rcirc-mode): Conditionally initialize
14972 rcirc-input-ring.
14973
14974 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14975
14976 * emacs-lisp/find-func.el (find-function-C-source): Only set
14977 find-function-C-source-directory after checking that we found a source
14978 file there (bug#9440).
14979
14980 2011-09-06 Alan Mackenzie <acm@muc.de>
14981
14982 * isearch.el (isearch-other-meta-char): Wherever a key list is
14983 unread, "unread" the prefix arg, too. This fixes bug #8901.
14984
14985 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14986
14987 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14988
14989 2011-09-05 Juri Linkov <juri@jurta.org>
14990
14991 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14992
14993 2011-09-05 Juri Linkov <juri@jurta.org>
14994
14995 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14996 keeping point where processing of grep matches begins, and
14997 continue to delete remaining escape sequences from the same point.
14998 (grep-filter): Make leading zero optional in "0?1;31m" because
14999 git-grep emits "\033[1;31m" escape sequences unlike expected
15000 "\033[01;31m" as GNU Grep does (bug#9408).
15001 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
15002
15003 2011-09-05 Juri Linkov <juri@jurta.org>
15004
15005 * subr.el (y-or-n-p): Capitalize "yes".
15006
15007 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
15008
15009 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
15010 `tramp-cache-unload-hook' where appropriate.
15011 (tramp-methods): Rename `tramp-remote-sh' to
15012 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
15013 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
15014
15015 * net/tramp-sh.el (top): Don't require 'shell.
15016 (tramp-methods): Add `tramp-remote-shell' and
15017 `tramp-remote-shell-args' entries.
15018 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
15019 (tramp-sh-handle-shell-command): Remove.
15020 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
15021 Use `tramp-remote-shell'.
15022
15023 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
15024
15025 * mail/sendmail.el (sendmail-query-once-function): Delete.
15026 (sendmail-query-once): Save directly to send-mail-function.
15027 Update message-send-mail-function too.
15028
15029 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
15030
15031 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15032
15033 * progmodes/python.el (python-mode-map): Use correct function to
15034 start python interpreter from menu-bar (as reported by Geert
15035 Kloosterman).
15036 (inferior-python-mode-map): Fix typo.
15037 (python-shell-map): Remove.
15038
15039 2011-09-03 Deniz Dogan <deniz@dogan.se>
15040
15041 * net/rcirc.el (rcirc-print): Simplify code for
15042 rcirc-scroll-show-maximum-output. There is no need to walk
15043 through all windows to find the right one.
15044
15045 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15046
15047 * help.el (help-return-method): Doc fix.
15048
15049 2011-09-03 Martin Rudalics <rudalics@gmx.at>
15050
15051 * window.el (window-deletable-p): Don't return a non-nil value
15052 when there's a buffer that was shown in the window before.
15053 (Bug#9419)
15054 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15055 Set window's previous buffers to nil.
15056
15057 2011-09-03 Eli Zaretskii <eliz@gnu.org>
15058
15059 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
15060 newline before and after the tag line, so it doesn't interfere
15061 with determining the paragraph direction of bidirectional text.
15062
15063 2011-09-03 Leo Liu <sdl.web@gmail.com>
15064
15065 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
15066
15067 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
15068
15069 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
15070 (pop-to-buffer): Change interactive spec. Pass second argument
15071 directly to display-buffer.
15072 (display-buffer): Fix interactive spec. Use functionp to
15073 distinguish between a function and a list of functions.
15074
15075 * abbrev.el (edit-abbrevs):
15076 * arc-mode.el (archive-extract):
15077 * autoinsert.el (auto-insert):
15078 * bookmark.el (bookmark-bmenu-list):
15079 * files.el (find-file):
15080 * view.el (view-buffer):
15081 * progmodes/compile.el (compilation-goto-locus):
15082 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
15083
15084 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
15085
15086 * window.el (display-buffer-alist): Doc fix.
15087 (display-buffer): Add docstring. Don't treat
15088 display-buffer-default specially.
15089 (display-buffer-reuse-selected-window)
15090 (display-buffer-same-window, display-buffer-maybe-same-window)
15091 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15092 (display-buffer-pop-up-window)
15093 (display-buffer-reuse-or-pop-window)
15094 (display-buffer-use-some-window): New functions.
15095 (display-buffer-default-action): Use them.
15096 (display-buffer-default): Delete.
15097 (pop-to-buffer-1): Fix choice of actions.
15098
15099 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
15100
15101 * minibuffer.el (completion--insert-strings): Don't get confused by
15102 completion entries that end with an LF char.
15103
15104 2011-09-01 Eli Zaretskii <eliz@gnu.org>
15105
15106 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
15107
15108 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
15109
15110 * window.el (display-buffer): Restore interactive spec.
15111 (display-buffer-same-window, display-buffer-other-window):
15112 New functions.
15113 (pop-to-buffer-1): New function. Use the above.
15114 (pop-to-buffer, pop-to-buffer-same-window): Use it.
15115 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
15116
15117 * view.el (view-buffer-other-window, view-buffer-other-frame):
15118 Just use pop-to-buffer.
15119
15120 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15121
15122 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
15123
15124 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
15125
15126 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
15127
15128 2011-08-31 Richard Stallman <rms@gnu.org>
15129
15130 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
15131 of the separation of rmail-view-buffer from rmail-buffer.
15132 If you say no to "replace original", the decrypt is in the
15133 view buffer. If you say yes, the decrypt goes into the
15134 rmail buffer also.
15135
15136 2011-08-31 Martin Rudalics <rudalics@gmx.at>
15137
15138 * window.el (display-buffer-window): Rewrite doc-string.
15139 (display-buffer-record-window): New function.
15140 (display-buffer-macro-specifiers)
15141 (display-buffer-even-window-sizes, display-buffer-set-height)
15142 (display-buffer-set-width, display-buffer-in-window)
15143 (display-buffer-reuse-window, display-buffer-split-specifiers)
15144 (display-buffer-side-specifiers, display-buffer-split-window-1)
15145 (display-buffer-split-window, display-buffer-split-atom-window)
15146 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15147 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
15148 (display-buffer-other-window-means-other-frame)
15149 (display-buffer-normalize-special)
15150 (display-buffer-normalize-default)
15151 (display-buffer-normalize-argument)
15152 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
15153 (display-buffer-normalize-specifiers, display-buffer-frame)
15154 (display-buffer-same-window, display-buffer-same-frame)
15155 (display-buffer-other-window)
15156 (display-buffer-same-frame-other-window)
15157 (display-buffer-other-frame, pop-to-buffer-same-window)
15158 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
15159 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
15160 (switch-to-buffer-same-frame)
15161 (switch-to-buffer-other-window-same-frame)
15162 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
15163 (display-buffer-alist-set-1, display-buffer-alist-set-2)
15164 (display-buffer-alist-set): Remove.
15165 (display-buffer-function, special-display-buffer-names)
15166 (special-display-regexps, special-display-function):
15167 In doc-string refer to display-buffer-window and quit-restore
15168 parameter.
15169 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
15170 (special-display-frame-alist, special-display-popup-frame)
15171 (same-window-buffer-names, same-window-regexps, same-window-p)
15172 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15173 (split-window-preferred-function, split-height-threshold)
15174 (split-width-threshold, window-splittable-p)
15175 (split-window-sensibly, window--try-to-split-window)
15176 (window--frame-usable-p, even-window-heights)
15177 (window--even-window-heights, window--display-buffer-1)
15178 (window--display-buffer-2, display-buffer-other-frame):
15179 Restore old Emacs 23 code, order and doc-strings where applicable.
15180 (display-buffer-default, display-buffer-assq-regexp): New functions.
15181 (display-buffer-alist): Rewrite doc-string.
15182 (display-buffer-default-action)
15183 (display-buffer-overriding-action): New variables.
15184 (display-buffer, switch-to-buffer): Rewrite.
15185 (pop-to-buffer): Restore Emacs 23 behavior but use
15186 window-normalize-buffer-to-display.
15187 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15188 Restore Emacs 23 behavior but use
15189 window-normalize-buffer-to-switch-to.
15190 (pop-to-buffer-same-window): Rewrite.
15191 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15192 Rewrite using Emacs 23 options.
15193
15194 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
15195
15196 * net/tramp.el (tramp-root-regexp): Remove.
15197 (tramp-completion-file-name-regexp-unified)
15198 (tramp-completion-file-name-regexp-separate)
15199 (tramp-completion-file-name-regexp-url): Don't use leading volume
15200 letter on w32 systems. (Bug#5303, Bug#9311)
15201 (tramp-drop-volume-letter): Simplify definition.
15202 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
15203
15204 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15205
15206 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15207 (bug#9356).
15208
15209 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
15210
15211 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
15212
15213 2011-08-29 Juri Linkov <juri@jurta.org>
15214
15215 * isearch.el (isearch-done): Don't display message "Mark saved"
15216 when arg `edit' is non-nil to prevent its flicker in the echo area.
15217
15218 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
15219
15220 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15221 obsolete packages for deletion.
15222
15223 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
15224
15225 * help-mode.el (help-mode-map): Add special-mode-map to parent.
15226 (help-mode): Derive help-mode from special-mode. Don't invoke
15227 view-mode from help-mode.
15228 (help-xref-override-view-map): Remove.
15229 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
15230 view-mode is not used anymore.
15231
15232 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
15233
15234 * server.el (server-port): Doc fix.
15235
15236 * cus-theme.el (custom-theme-choose-mode): Inherit from
15237 special-mode (Bug#9124).
15238 (custom-theme-choose-mode-map): Add special-mode to parent.
15239
15240 2011-08-28 Alan Mackenzie <acm@muc.de>
15241
15242 * progmodes/cc-fonts.el
15243 (c-make-font-lock-BO-decl-search-function): New function.
15244 (c-basic-matchers-after - "Fontify the clauses after various
15245 keywords"): Extract the three keyword lists for the 3 erroneous
15246 constructs from the list of four, and use the new function above
15247 in place of an old one.
15248
15249 2011-08-28 Deniz Dogan <deniz@dogan.se>
15250
15251 * net/rcirc.el (rcirc-insert-prev-input)
15252 (rcirc-insert-next-input): Remove unused argument.
15253
15254 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15255
15256 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15257
15258 2011-08-27 Alan Mackenzie <acm@muc.de>
15259
15260 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15261 handle function pointer parameters properly.
15262
15263 2011-08-27 Martin Rudalics <rudalics@gmx.at>
15264
15265 * window.el (display-buffer-reuse-window): Fix case where
15266 selected window was reused with non-nil OTHER-WINDOW argument.
15267 (Bug#9381)
15268
15269 2011-08-27 Deniz Dogan <deniz@dogan.se>
15270
15271 * net/rcirc.el (rcirc-check-auth-status): Adding support for
15272 oftc's NickServ messages.
15273
15274 2011-08-27 Glenn Morris <rgm@gnu.org>
15275
15276 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
15277
15278 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
15279
15280 * emacs-lisp/package.el (package-install): Call package-initialize
15281 if called interactively.
15282
15283 2011-08-26 Leo Liu <sdl.web@gmail.com>
15284
15285 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
15286
15287 2011-08-25 Juri Linkov <juri@jurta.org>
15288
15289 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15290 `search-whitespace-regexp' (bug#9364).
15291
15292 2011-08-25 Juri Linkov <juri@jurta.org>
15293
15294 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
15295 `regexp-search-ring' to their global values to protect from
15296 updating by `read-from-minibuffer' (bug#9185).
15297
15298 2011-08-25 Juri Linkov <juri@jurta.org>
15299
15300 * textmodes/ispell.el (ispell-command-loop): Add newline
15301 at the end of the "Use option `i'..." line.
15302
15303 2011-08-25 Juri Linkov <juri@jurta.org>
15304
15305 * battery.el (display-battery-mode): If `battery-status-function'
15306 or `battery-mode-line-format' is nil, display the message and set
15307 `display-battery-mode' to nil (bug#9363).
15308
15309 2011-08-25 Eli Zaretskii <eliz@gnu.org>
15310
15311 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15312 bidi-string-mark-left-to-right; they are unnecessary now.
15313
15314 2011-08-25 Deniz Dogan <deniz@dogan.se>
15315
15316 * net/quickurl.el: Documentation typo fixes.
15317
15318 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
15319
15320 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15321
15322 2011-08-25 Glenn Morris <rgm@gnu.org>
15323
15324 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15325
15326 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15327 (smtpmail-via-smtp): Handle nil response from smtp.
15328
15329 2011-08-24 Juri Linkov <juri@jurta.org>
15330
15331 * proced.el (proced-marked): Inherit from `error' instead of
15332 `font-lock-warning-face'.
15333
15334 * ibuffer.el (ibuffer-marked-face): Change default face from
15335 `font-lock-warning-face' to `warning'.
15336 (ibuffer-deletion-face): Change default face from
15337 `font-lock-type-face' to `error'.
15338
15339 * battery.el (battery-update): Use the face `error' instead of
15340 `font-lock-warning-face' (bug#6117).
15341
15342 2011-08-24 Juri Linkov <juri@jurta.org>
15343
15344 * faces.el (success): Change face color from "Green3" to
15345 "ForestGreen" on light background (bug#9353).
15346
15347 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
15348
15349 * window.el (quit-window): Rename from quit-restore-window.
15350 Use same arglist as old quit-window.
15351 (frame-auto-delete): Doc fix.
15352
15353 * view.el (view-mode-exit): Use quit-window.
15354
15355 2011-08-24 Juri Linkov <juri@jurta.org>
15356
15357 * isearch.el (isearch-ring-adjust1): Start visiting previous
15358 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
15359 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
15360 for empty search string (when the last search string is reused
15361 automatically) to adjust the isearch ring to the last element and
15362 prepare the correct index for further M-p commands (bug#9185).
15363
15364 2011-08-24 Kenichi Handa <handa@m17n.org>
15365
15366 * international/ucs-normalize.el: If decomposition property of
15367 CHAR is the default one (i.e. a list of CHAR itself), treat it as
15368 nil.
15369 (nfd, nfkd): Likewise.
15370
15371 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15372
15373 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
15374 from process filters aren't reliably transmitted to the surrounding
15375 accept-process-output.
15376 (mpc-proc-check): New function.
15377 (mpc-proc-sync): Use it (bug#8293)
15378
15379 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15380
15381 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
15382 Add compatibility functions (bug#9313).
15383
15384 2011-08-23 Eli Zaretskii <eliz@gnu.org>
15385
15386 * cus-start.el (all): Add entry for bidi-paragraph-direction.
15387
15388 * international/uni-bidi.el: Regenerate.
15389
15390 2011-08-23 Kenichi Handa <handa@m17n.org>
15391
15392 * international/charprop.el:
15393 * international/uni-bidi.el:
15394 * international/uni-category.el:
15395 * international/uni-combining.el:
15396 * international/uni-comment.el:
15397 * international/uni-decimal.el:
15398 * international/uni-decomposition.el:
15399 * international/uni-digit.el:
15400 * international/uni-lowercase.el:
15401 * international/uni-mirrored.el:
15402 * international/uni-name.el:
15403 * international/uni-numeric.el:
15404 * international/uni-old-name.el:
15405 * international/uni-titlecase.el:
15406 * international/uni-uppercase.el: Regenerate.
15407
15408 2011-08-23 Martin Rudalics <rudalics@gmx.at>
15409
15410 * help.el (help-window-setup): Fix message displayed when other
15411 window is reused. (Bug#9341)
15412
15413 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15414
15415 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15416 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15417
15418 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15419 Mark obsolete.
15420 * shell.el (shell-parse-pcomplete-arguments): New function.
15421 (shell-completion-vars): Use it instead (bug#9160).
15422
15423 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15424
15425 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15426 strings and comments (bug#9333).
15427
15428 * emacs-lisp/debug.el (debug-arglist): New function.
15429 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
15430 (debug-on-entry-1): Handle interpreted closures (bug#9120).
15431
15432 2011-08-22 Juri Linkov <juri@jurta.org>
15433
15434 * progmodes/compile.el (compilation-mode-font-lock-keywords):
15435 Revert regexp that highlights output switches to its old
15436 pre-2010-10-28 value and remove one `?' from it (bug#9319).
15437
15438 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15439 to check for empty output (bug#9226).
15440
15441 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
15442
15443 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15444 symbol-constituent as the default, as that stops font-lock from
15445 working properly (Bug#8843).
15446
15447 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15448
15449 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15450 `coding-system-for-*' around the process open call to avoid
15451 auth-source side effects.
15452 (smtpmail-try-auth-methods): Expand the secret password.
15453 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
15454 probe hangs.
15455
15456 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
15457
15458 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
15459
15460 * emacs-lisp/find-func.el (find-function-noselect): New arg
15461 lisp-only.
15462
15463 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15464 signal an error for built-in functions (Bug#6664).
15465
15466 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15467
15468 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15469 (smtpmail-try-auth-methods): Use it.
15470
15471 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
15472
15473 * font-lock.el (font-lock-fontify-region)
15474 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
15475 (font-lock-default-unfontify-buffer)
15476 (font-lock-default-fontify-region)
15477 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
15478
15479 * progmodes/compile.el (compilation-error-properties):
15480 Fix confusion between file struct and message struct (Bug#9319).
15481 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
15482 `ant' regexp.
15483
15484 * net/browse-url.el (browse-url-firefox): Don't call
15485 browse-url-firefox-sentinel unless using -remote (Bug#9328).
15486
15487 2011-08-20 Glenn Morris <rgm@gnu.org>
15488
15489 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
15490
15491 * tutorial.el (tutorial--default-keys): Update some default bindings.
15492
15493 * files.el (hack-local-variables): Fully ignore case for "mode:".
15494
15495 2011-08-20 Alan Mackenzie <acm@muc.de>
15496
15497 Resolve invalid use of a regexp in regexp-opt.
15498
15499 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
15500 detection for a java annotation.
15501
15502 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
15503 detection for a java annotation.
15504
15505 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15506 handling for java.
15507 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15508
15509 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
15510
15511 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
15512 (Bug#9274).
15513
15514 2011-08-20 Alan Mackenzie <acm@muc.de>
15515
15516 Fontify CPP expressions correctly when starting in the middle of
15517 such a construct. Mainly for when jit-lock etc. starts a chunk
15518 here.
15519
15520 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
15521 variable.
15522 (c-make-font-lock-search-form): New function, extracted from
15523 c-make-font-lock-search-function.
15524 (c-make-font-lock-search-function): Use the above function.
15525 (c-make-font-lock-context-search-function): New function.
15526 (c-cpp-matchers): Enhance the preprocessor expression case with
15527 the above function
15528 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
15529 which takes an expression.
15530
15531 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
15532
15533 2011-08-20 Martin Rudalics <rudalics@gmx.at>
15534
15535 * window.el (display-buffer-reuse-window)
15536 (display-buffer-pop-up-window): Don't reuse or split a side
15537 window.
15538
15539 2011-08-19 Glenn Morris <rgm@gnu.org>
15540
15541 * files.el (hack-local-variables-prop-line, hack-local-variables):
15542 Downcase "Mode:". (Bug#9331)
15543
15544 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
15545
15546 * international/characters.el: Add L and R categories.
15547
15548 * subr.el (bidi-string-mark-left-to-right): Rename from
15549 string-mark-left-to-right. Use category search.
15550
15551 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
15552
15553 2011-08-18 Juri Linkov <juri@jurta.org>
15554
15555 * faces.el (error, warning, success): New faces with definitions
15556 copied from old default values of `font-lock-warning-face',
15557 `compilation-warning', `compilation-info' (bug#6117).
15558
15559 * font-lock.el (font-lock-warning-face): Inherit from `error'.
15560
15561 * progmodes/compile.el (compilation-error): Inherit from `error'.
15562 (compilation-warning): Inherit from `warning'.
15563 (compilation-info): Inherit from `success'.
15564
15565 * dired.el (dired-marked): Inherit from `warning'.
15566 (dired-flagged): Inherit from `error'.
15567
15568 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15569
15570 * mail/smtpmail.el (auth-source): Require to avoid problems with
15571 binding variables (bug#9298). Also clean up some unused
15572 autoloads.
15573
15574 * net/network-stream.el (network-stream-open-starttls):
15575 Support using starttls.el without using gnutls-cli.
15576
15577 2011-08-17 Juri Linkov <juri@jurta.org>
15578
15579 * progmodes/grep.el (rgrep): Handle the case when
15580 `grep-find-command' is a cons cell (bug#9278).
15581
15582 2011-08-17 Martin Rudalics <rudalics@gmx.at>
15583
15584 * window.el (display-buffer-pop-up-frame): Run frame creation
15585 function with BUFFER current (as special-display-popup-frame
15586 does). Reported by Drew Adams.
15587
15588 2011-08-17 Daiki Ueno <ueno@unixuser.org>
15589
15590 * epa-mail.el: Simplify GnuPG group expansion using
15591 epg-expand-group.
15592 (epa-mail-group-alist, epa-mail-group-modtime)
15593 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
15594 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
15595 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
15596 Remove.
15597
15598 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
15599
15600 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
15601
15602 2011-08-16 Alan Mackenzie <acm@muc.de>
15603
15604 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
15605 Correct, to avoid the inside of macros.
15606
15607 2011-08-16 Richard Stallman <rms@gnu.org>
15608
15609 * epa-mail.el: Handle GnuPG group definitions.
15610 (epa-mail-group-alist, epa-mail-group-modtime)
15611 (epa-mail-gnupg-conf-file): New variables.
15612 (epa-mail-parse-groups, epa-mail-sync-groups)
15613 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
15614 (epa-mail-expand-recipients): New functions.
15615 (epa-mail-encrypt): Call epa-mail-expand-recipients.
15616
15617 * mail/rmail.el (rmail-epa-decrypt): New command.
15618
15619 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
15620 Don't bind buffer-read-only, just inhibit-read-only.
15621 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
15622 (epa-decrypt-armor-in-region): Make error message clearer.
15623
15624 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
15625
15626 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
15627 and "a2b" to "ab" for `prefix'.
15628
15629 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
15630
15631 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
15632 filter groups.
15633 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
15634 Fourquet (Bug#8804).
15635
15636 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
15637
15638 * startup.el (argi): Declare as global variable (bug#9275).
15639
15640 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
15641
15642 * subr.el (string-mark-left-to-right): Search the entire string
15643 for RTL script, not just the terminating character. Doc fix.
15644
15645 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
15646
15647 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
15648 New function.
15649 (js--regexp-literal, js-syntax-propertize-function): Remove.
15650 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
15651 (js-mode-map): Don't rebind electric keys.
15652 (js-insert-and-indent): Remove.
15653 (js-mode): Setup electric-layout and electric-indent instead.
15654
15655 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
15656
15657 2011-08-12 Daiki Ueno <ueno@unixuser.org>
15658
15659 * epa.el (epa-progress-callback-function): Fix the logic of
15660 displaying progress.
15661 * epa-file.el (epa-file-insert-file-contents): Make progress
15662 display more user-friendly.
15663 (epa-file-write-region): Ditto.
15664
15665 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
15666
15667 * subr.el (string-mark-left-to-right): New function.
15668
15669 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
15670 Use string-mark-left-to-right.
15671 (list-buffers-noselect): Caller changed.
15672
15673 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15674 Use string-mark-left-to-right.
15675 (tabulated-list-print): Recenter after moving point.
15676
15677 2011-08-10 Juri Linkov <juri@jurta.org>
15678
15679 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
15680 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
15681 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
15682
15683 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
15684
15685 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
15686 (Bug#7554).
15687
15688 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
15689
15690 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
15691 character. (Bug#6594)
15692
15693 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
15694
15695 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15696 (image-dired--with-db-file): New macro.
15697 (image-dired-write-tags, image-dired-remove-tag)
15698 (image-dired-create-gallery-lists, image-dired-write-comments)
15699 (image-dired-get-comment, image-dired-mark-tagged-files)
15700 (image-dired-list-tags, image-dired-gallery-generate): Use it.
15701 (image-dired-gallery-generate): Use insert-file-contents.
15702
15703 * time.el (display-time-world-list, display-time-world-display):
15704 * time-stamp.el (time-stamp-string):
15705 * vc/add-log.el (add-change-log-entry): Use setenv instead of
15706 set-time-zone-rule (Bug#7337).
15707
15708 2011-08-08 Daiki Ueno <ueno@unixuser.org>
15709
15710 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15711 (epg-error-to-string, epg-errors-to-string): New function.
15712 (epg-wait-for-completion): Reverse errors list.
15713 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15714 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15715 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15716 (epg-sign-keys, epg-generate-key-from-file)
15717 (epg-generate-key-from-string): Format errors by using
15718 epg-errors-to-string (bug#9255).
15719 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15720
15721 2011-08-07 Juri Linkov <juri@jurta.org>
15722
15723 * faces.el (list-faces-display): Remove extra angle bracket
15724 from `help-mode-map'.
15725
15726 * info.el (Info-history-toc-nodes): Doc fix.
15727
15728 * longlines.el (longlines-mode): Doc fix.
15729
15730 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15731
15732 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15733 of statements and in a few more cases (bug#9183).
15734
15735 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15736 New functions.
15737 (cl-transform-lambda): Use them (bug#9239).
15738
15739 2011-08-05 Martin Rudalics <rudalics@gmx.at>
15740
15741 * window.el (display-buffer-same-window)
15742 (display-buffer-same-frame, display-buffer-other-window)
15743 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15744 (pop-to-buffer-other-window)
15745 (pop-to-buffer-same-frame-other-window)
15746 (pop-to-buffer-other-frame): Make them defuns.
15747 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15748
15749 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15750
15751 * subr.el (make-composed-keymap): Move from C. Change calling
15752 convention, and improve docstring to bring attention to a subtle point.
15753 * minibuffer.el (completing-read-default): Adjust accordingly.
15754
15755 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
15756
15757 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15758 (tramp-open-shell): Use `tramp-shell-quote-argument'.
15759
15760 * net/trampver.el: Update release number.
15761
15762 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15763
15764 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15765 "in" (bug#9190).
15766
15767 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15768
15769 * mail/sendmail.el (sendmail-query-once): Restore the current
15770 buffer after querying (bug#9074).
15771
15772 * dired.el (dired-flagged): Use different faces for marked and
15773 flagged files (bug#6117).
15774
15775 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15776 (bug#4433).
15777
15778 * ido.el (ido-mode): Switch off the message if called
15779 non-interactively.
15780
15781 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15782 before 587, since it appears that that's more likely to work for
15783 more people.
15784
15785 * cus-edit.el (custom-file): When running under emacs -q, always
15786 refuse to save the customizations, even if the .emacs file doesn't
15787 exist.
15788
15789 * info.el: Remove the `Info-beginning-of-buffer' function
15790 (bug#8325).
15791
15792 * net/network-stream.el (network-stream-open-starttls):
15793 Use `starttls-available-p' to see whether starttls.el can be used.
15794
15795 2011-08-01 Martin Rudalics <rudalics@gmx.at>
15796
15797 * window.el (display-buffer-in-window): Don't set dedicated status
15798 of window here (Bug#9215).
15799 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15800 (display-buffer-pop-up-side-window)
15801 (display-buffer-in-side-window): Set dedicated status of window here.
15802
15803 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15804
15805 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15806 before binding generated-autoload-file.
15807
15808 2011-08-01 Deniz Dogan <deniz@dogan.se>
15809
15810 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15811
15812 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
15813
15814 Sync with Tramp 2.2.2.
15815
15816 * net/trampver.el: Update release number.
15817
15818 2011-07-30 Juri Linkov <juri@jurta.org>
15819
15820 * dired-aux.el (dired-touch-initial): Remove function.
15821 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15822 current time, and `default' to the last modification time of the
15823 current marked file (bug#6887).
15824
15825 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15826
15827 * simple.el (goto-line): Use string-to-number to provide a
15828 numeric argument to read-number (bug#9163).
15829
15830 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
15831
15832 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15833 connection process, it could be nil.
15834
15835 2011-07-27 Leo Liu <sdl.web@gmail.com>
15836
15837 Simplify url handling in rcirc-mode.
15838
15839 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15840 (rcirc-browse-url-at-mouse): Remove.
15841 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15842
15843 2011-07-26 Alan Mackenzie <acm@muc.de>
15844
15845 Fontify bitfield declarations properly.
15846
15847 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15848 (c-symbol-chars): Now exported as a lang variable.
15849 (c-not-primitive-type-keywords): New lang variable.
15850
15851 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15852 QT keyword "more" to prevent "more slots: ...." being spuriously
15853 parsed as a bitfield declaration.
15854
15855 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15856 Refactor and enhance to handle bitfield declarations.
15857 (c-punctuation-in): New function.
15858 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15859 declarations properly.
15860
15861 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
15862
15863 * calendar/icalendar.el (icalendar--all-events): Take care of
15864 multiple vcalendars in a single file.
15865 (icalendar--convert-float-to-ical): Checkdoc fixes.
15866
15867 2011-07-25 Deniz Dogan <deniz@dogan.se>
15868
15869 * image.el (insert-image): Clarifying docstring.
15870
15871 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
15872
15873 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15874 `tramp-send-command-and-check' if there is no error.
15875 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15876
15877 2011-07-22 Alan Mackenzie <acm@muc.de>
15878
15879 Prevent cc-langs.elc being loaded at run time.
15880
15881 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15882 cc-langs.
15883
15884 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
15885 "(require 'cc-langs)". Quote a form so it will evaluate at
15886 (cc-mode's) compilation time.
15887
15888 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
15889
15890 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15891 loading. (Bug#9114)
15892
15893 2011-07-21 Martin Rudalics <rudalics@gmx.at>
15894
15895 * window.el (display-buffer-pop-up-window)
15896 (display-buffer-pop-up-side-window)
15897 (display-buffer-in-side-window): Call display-buffer-set-height
15898 and display-buffer-set-width after setting the new window's
15899 buffer so `fit-window-to-buffer' and friends work on the right buffer.
15900
15901 2011-07-20 Sam Steingold <sds@gnu.org>
15902
15903 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15904 (etags-tags-included-tables): Call `convert-standard-filename' on
15905 the file names contained in TAGS so that windows Emacs can handle
15906 TAGS files created by cygwin ctags.
15907
15908 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15909
15910 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15911 which apparently didn't work.
15912
15913 2011-07-19 Roland Winkler <winkler@gnu.org>
15914
15915 * proced.el (proced-send-signal): For *Marked Processes* buffer
15916 put point at beginning of buffer.
15917
15918 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
15919
15920 * proced.el (proced-format): Make header lines align with the text
15921 (bug#1779).
15922
15923 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15924
15925 * view.el (view-buffer): Allow running in `special' modes if we're
15926 visiting a file (bug#8615).
15927
15928 2011-07-19 Martin Rudalics <rudalics@gmx.at>
15929
15930 * window.el (display-buffer-alist-of-strings-p)
15931 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15932 New functions.
15933 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15934 more accurately.
15935
15936 2011-07-18 Alan Mackenzie <acm@muc.de>
15937
15938 Fontify declarators properly when, e.g., a jit-lock chunk begins
15939 inside a declaration.
15940
15941 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15942
15943 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15944 New function.
15945 (c-complex-decl-matchers): Insert reference to
15946 c-font-lock-enclosing-decls.
15947
15948 * progmodes/cc-engine.el (c-backward-single-comment):
15949 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15950 to nil around calls to (forward-comment -1).
15951
15952 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15953
15954 * image.el (put-image): Doc typo fix.
15955
15956 * progmodes/etags.el (tags-search): Doc typo fix.
15957
15958 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15959 password if we get errors 550 to 554.
15960
15961 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15962
15963 * net/gnutls.el (gnutls-log-level): Remove.
15964
15965 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15966 indentation character (bug#6380).
15967
15968 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15969
15970 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15971 to clarify what the problem is (bug#4291).
15972
15973 * simple.el (current-kill): Clarify what
15974 `interprogram-paste-function' does (bug#7500).
15975 (auto-fill-mode): Document `auto-fill-function' in relation to
15976 `auto-fill-mode' (bug#2470).
15977
15978 2011-07-16 Lawrence Mitchell <wence@gmx.li>
15979
15980 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15981 method if slot is read-only (bug#9035).
15982
15983 2011-07-16 Martin Rudalics <rudalics@gmx.at>
15984
15985 * frame.el (select-frame-set-input-focus): New argument NORECORD.
15986 * window.el (pop-to-buffer): Select window used even if it was
15987 selected before, see discussion of (Bug#8615), (Bug#6954).
15988 Pass argument NORECORD on to select-frame-set-input-focus.
15989
15990 2011-07-15 Glenn Morris <rgm@gnu.org>
15991
15992 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
15993 Respect help-form.
15994
15995 2011-07-09 Lawrence Mitchell <wence@gmx.li>
15996
15997 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15998 (gnutls-negotiate): Use it.
15999
16000 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16001
16002 * net/gnutls.el (gnutls-negotiate):
16003 Upcase `gnutls-algorithm-priority'.
16004
16005 2011-07-15 Glenn Morris <rgm@gnu.org>
16006
16007 * jka-compr.el (jka-compr-verbose): Move from here...
16008 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
16009 Add missing :version tag.
16010 * info.el: No need to require jka-compr when compiling.
16011
16012 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16013
16014 * net/gnutls.el (gnutls-algorithm-priority): New variable.
16015 (gnutls-negotiate): Use it.
16016
16017 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
16018
16019 * info.el (Info-beginning-of-buffer): New command.
16020 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
16021 announcing `b' as the key (bug#8325).
16022 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
16023
16024 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
16025
16026 * international/mule-cmds.el
16027 (describe-specified-language-support): Make the error message
16028 clearer (bug#8905).
16029
16030 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
16031
16032 * isearch.el (isearch-barrier): Add a doc string, since it's
16033 mentioned in a function doc string (bug#8678).
16034
16035 2011-07-15 Martin Rudalics <rudalics@gmx.at>
16036
16037 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
16038 buffer argument (Bug#9083) and self-identifying label argument.
16039
16040 2011-07-15 Glenn Morris <rgm@gnu.org>
16041
16042 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
16043
16044 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16045
16046 * man.el (Man-fontify-manpage): Fix message when formatting the
16047 man page (bug#7929).
16048
16049 2011-07-14 Eli Zaretskii <eliz@gnu.org>
16050
16051 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
16052 argument LRM; if non-nil, append an invisible LRM character to the
16053 buffer name.
16054 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
16055 last argument non-nil, when formatting buffer names.
16056 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
16057 paragraph direction.
16058
16059 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16060
16061 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
16062 the man page name (bug#7929).
16063
16064 * image.el (put-image): Mention the `put-image' overlay property
16065 (bug#7834).
16066
16067 * scroll-bar.el (set-scroll-bar-mode): Mention that
16068 `scroll-bar-mode' lists the values (bug#7772).
16069
16070 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
16071 command (bug#7729).
16072
16073 * rect.el (apply-on-rectangle): Return the point after the last
16074 operation.
16075 (string-rectangle): Go to the point after the last operation
16076 (bug#7522).
16077
16078 * printing.el (pr-toggle-region): Clarify the documentation
16079 slightly (bug#7493).
16080
16081 * time.el (display-time-update):
16082 Allow `display-time-mail-function' to return nil (bug#7158).
16083 Fix suggested by Detlev Zundel.
16084
16085 * vc/diff.el (diff): Clarify the order the file names are read
16086 (bug#7111).
16087
16088 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
16089 the doc string (bug#7015).
16090
16091 * font-lock.el (font-lock-maximum-decoration): Mention what
16092 numeric levels mean (bug#6935).
16093
16094 * startup.el (initial-buffer-choice): Don't mention the `none'
16095 selection, which is against policy.
16096
16097 2011-07-14 Martin Rudalics <rudalics@gmx.at>
16098
16099 * window.el (display-buffer-normalize-special):
16100 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
16101
16102 2011-07-14 Eli Zaretskii <eliz@gnu.org>
16103
16104 * subr.el (version<, version<=, version=): Mention "-CVS" and
16105 "-12345" alpha version numbers.
16106
16107 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
16108
16109 * bindings.el: Add advertised binding for set-mark-command
16110 (Bug#5772).
16111
16112 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
16113
16114 * bindings.el (mode-line-other-buffer):
16115 * bookmark.el (bookmark-bmenu-2-window):
16116 * bs.el (bs-cycle-next, bs-cycle-previous):
16117 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
16118 switch-to-buffer.
16119
16120 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16121 Delete.
16122
16123 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
16124
16125 * follow.el (follow-debug-message, follow-redisplay):
16126 * jka-cmpr-hook.el (with-auto-compression-mode):
16127 Fix typos in docstrings.
16128
16129 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16130
16131 * subr.el (with-silent-modifications): Clarify somewhat what the
16132 macro inhibits (bug#6525).
16133
16134 * simple.el (eval-expression): Note what it does if called
16135 interactively (bug#6495).
16136
16137 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
16138
16139 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
16140 Use pop-to-buffer buffer-or-name if it is nil.
16141
16142 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16143 Remove switch-to-buffer.
16144
16145 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16146
16147 * files.el (make-directory): Clarify that an error will be raised
16148 if there's an error (bug#6397).
16149
16150 * startup.el (initial-buffer-choice): Add `none' as a choice
16151 (bug#6234).
16152
16153 * subr.el (add-hook): Clarify section about buffer-local hooks
16154 (bug#6218).
16155
16156 * dired.el (dired-flagged): Clarify doc string (bug#6117).
16157
16158 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
16159
16160 * tabify.el (untabify): Preserve the current column so that point
16161 doesn't move (bug#6032).
16162
16163 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16164
16165 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
16166 Rewrite to avoid awkward possessive "s" (bug#5986).
16167
16168 2011-07-13 Glenn Morris <rgm@gnu.org>
16169
16170 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
16171 (dired-insert-directory): Give a message the first time
16172 if ls is found not to support --dired.
16173
16174 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16175
16176 * simple.el (toggle-truncate-lines): Clarify what is toggled
16177 (bug#5580). Text by Drew Adams.
16178
16179 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
16180
16181 * simple.el (blink-matching-open): Make the error message from the
16182 last change less verbose.
16183
16184 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
16185
16186 * font-lock.el (font-lock-comment-face): Use the high contrast
16187 "yellow" color for font-lock-comment-face on low color terminals
16188 using a dark background color (bug#4221).
16189
16190 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16191
16192 * dired.el (dired-insert-set-properties): Make the doc string
16193 reflect what it does now (bug#5325).
16194
16195 * simple.el (blink-matching-open): Say that we were unable to find
16196 the match within the limit, if we're limited (bug#5122).
16197
16198 * international/mule-cmds.el (prefer-coding-system): Add an
16199 example (bug#4869).
16200
16201 * progmodes/etags.el (tags-search): Document `file-list-form'
16202 (bug#4731).
16203
16204 2011-07-13 Lawrence Mitchell <wence@gmx.li>
16205
16206 * net/browse-url.el (browse-url-default-browser)
16207 (browse-url-browser-function): Make the default browser choice a
16208 bit more logical (bug#4300). Also clean up the doc string.
16209
16210 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
16211
16212 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16213 binary endings (bug#4440).
16214
16215 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16216
16217 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16218 which can be pretty annoying (bug#8971).
16219
16220 * jka-compr.el (jka-compr-verbose): New variable, and use
16221 throughout (bug#8971).
16222
16223 * info.el (Info-find-file): Fall back on the installation
16224 directory if we can't find the info node anywhere else.
16225
16226 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
16227
16228 * vc/vc.el (vc-revert-file):
16229 Don't set file time-stamp in the past. (Bug#5181)
16230
16231 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16232
16233 * files.el (after-find-file): Give a better error message when
16234 trying to find a symlink that points to a file that doesn't exist
16235 (bug#4398).
16236
16237 * progmodes/cc-vars.el: Remove (probably) misleading comment
16238 (bug#4396).
16239
16240 2011-07-12 Johan Bockgård <bojohan@gnu.org>
16241
16242 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
16243
16244 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
16245
16246 * mouse-sel.el: Hack restoring functionality, while keeping
16247 compatibility with 2010-07-03 changes to mouse selection.
16248 (mouse-sel-primary-overlay): New var.
16249 (mouse-sel-selection-alist): Use it.
16250 (mouse-sel-mode): Doc fix; remove points that are default features
16251 of mouse.el.
16252
16253 2011-07-12 Johan Bockgård <bojohan@gnu.org>
16254
16255 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16256 Fix previous fix (bug#2490).
16257
16258 2011-07-12 Roland Winkler <winkler@gnu.org>
16259
16260 * textmodes/bibtex.el (bibtex-initialize):
16261 Use pop-to-buffer-same-window.
16262 (bibtex-search-entries): Fix interactive call.
16263
16264 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16265
16266 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16267 Fontise bytecomp Error lines more correctly (bug#2490).
16268 Fix suggested by Johan Bockgård.
16269
16270 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16271
16272 * dired-x.el (dired-guess-default): Use `delete-dups'.
16273
16274 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
16275
16276 * dired.el (dired-mark-prompt):
16277 * dired-aux.el (dired-read-shell-command): Doc fix.
16278
16279 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16280
16281 * mail/sendmail.el (sendmail-query-once):
16282 Use `customize-save-variable' unconditionally, now that it works under
16283 emacs -Q.
16284
16285 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16286
16287 * cus-edit.el (custom-file): Take an optional no-error variable.
16288 (customize-save-variable): Set the variable, and give a warning if
16289 running under "emacs -q".
16290
16291 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
16292
16293 * loadhist.el (unload-feature-special-hooks):
16294 Add `auto-coding-functions', `fill-nobreak-predicate' and
16295 `find-directory-functions' (bug#5327).
16296
16297 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16298
16299 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
16300
16301 * cus-edit.el (custom-guess-name-alist): -alist variables should
16302 use the `alist' type (bug#3120). Suggested by Drew Adams.
16303
16304 * printing.el: Add documentation to all the `pr-toggle-' commands.
16305
16306 2011-07-11 Leo Liu <sdl.web@gmail.com>
16307
16308 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
16309 backends where it makes sense (bug#2623).
16310
16311 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16312
16313 * dired-x.el (dired-guess-default): Remove duplicate shell command
16314 entries (bug#2028).
16315 (dired-guess-default): Fix grammar in doc string (bug#2028).
16316 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
16317
16318 * subr.el (remove-duplicates): New conveniency function.
16319
16320 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16321
16322 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16323 (bug#1526).
16324
16325 2011-07-10 Martin Rudalics <rudalics@gmx.at>
16326
16327 * window.el (display-buffer-normalize-default): Don't invert
16328 meaning of even-window-heights. Reported by Eli Zaretskii
16329 <eliz@gnu.org>.
16330
16331 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
16332
16333 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16334
16335 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
16336
16337 * window.el (display-buffer): Fix arguments to
16338 display-buffer-reuse-window in last change.
16339
16340 * faces.el (link): Use a less saturated blue on light backgrounds.
16341
16342 * startup.el (fancy-startup-text, fancy-about-text)
16343 (fancy-startup-tail): Use font-lock faces, for background safety.
16344
16345 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
16346
16347 * emulation/viper-cmd.el (viper-change-state-to-vi):
16348 Limit triggering of abbrev expansion (Bug#9038).
16349
16350 2011-07-09 Martin Rudalics <rudalics@gmx.at>
16351
16352 * window.el (display-buffer-default-specifiers): Remove.
16353 (display-buffer-macro-specifiers): Remove default specifiers.
16354 (display-buffer-alist): Default to nil.
16355 (display-buffer-reuse-window): New optional argument other-window.
16356 (display-buffer-pop-up-window): Allow splitting internal
16357 windows. Check whether a live window was created.
16358 (display-buffer-other-window-means-other-frame)
16359 (display-buffer-normalize-arguments): Rename to
16360 display-buffer-normalize-argument and rewrite. Set the
16361 other-window specifier.
16362 (display-buffer-normalize-special): New function.
16363 (display-buffer-normalize-options): Rename to
16364 display-buffer-normalize-default and rewrite.
16365 (display-buffer-normalize-options-inhibit): Remove.
16366 (display-buffer-normalize-specifiers): Rewrite.
16367 (display-buffer): Process other-window specifier and call
16368 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
16369 more faithfully.
16370 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
16371 (display-buffer-alist-set): Don't handle 'unset default values.
16372 (display-buffer-in-window, display-buffer-alist-set):
16373 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
16374 <tassilo@member.fsf.org>.
16375
16376 2011-07-09 Leo Liu <sdl.web@gmail.com>
16377
16378 * register.el (insert-register): Restore accidental change on
16379 2011-06-26. (Bug#9028)
16380
16381 2011-07-09 Glenn Morris <rgm@gnu.org>
16382
16383 * subr.el (remq): Handle the empty list. (Bug#9024)
16384
16385 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
16386
16387 * mail/sendmail.el (send-mail-function): No longer delay custom
16388 initialization.
16389 * custom.el (custom-initialize-delay): Doc fix.
16390
16391 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16392
16393 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16394
16395 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
16396
16397 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16398 human-friendly prompt.
16399
16400 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16401
16402 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16403 provided by a particular plugin.
16404
16405 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16406
16407 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16408 save customizations (with "emacs -Q"), just set the variable
16409 instead of erroring out.
16410
16411 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16412
16413 2011-07-08 Juri Linkov <juri@jurta.org>
16414
16415 * arc-mode.el (archive-zip-expunge, archive-zip-update)
16416 (archive-zip-update-case): Use 7z if found by `executable-find'.
16417 The order of searching the available programs is the same as in
16418 `archive-zip-extract' (bug#8968).
16419
16420 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16421
16422 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16423 (menu-bar-options-menu): Tweak descriptions.
16424
16425 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16426
16427 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16428 menu items into verb phrases (bug#1421). Also refill to fit under
16429 80 columns.
16430
16431 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16432
16433 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16434 (Info-read-node-name): Doc fix (Bug#1084).
16435
16436 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16437 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16438 (end-of-sexp, beginning-of-sexp)
16439 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16440 (forward-symbol, forward-same-syntax, word-at-point)
16441 (sentence-at-point): Doc fix (Bug#1144).
16442
16443 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16444
16445 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16446 should cover it (bug#1281).
16447
16448 * cus-edit.el (custom-show): Mark as obsolete.
16449
16450 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
16451 negotiation fails, then possibly try again with a non-encrypted
16452 connection (bug#9017).
16453
16454 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
16455 be used.
16456
16457 2011-07-07 Richard Stallman <rms@gnu.org>
16458
16459 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16460 property, and handle its changed format.
16461 Look for the correct line number.
16462 Use file's line contents (but not past first =) to find
16463 correct line in message.
16464
16465 2011-07-07 Kenichi Handa <handa@m17n.org>
16466
16467 * international/characters.el (build-unicode-category-table):
16468 Delete it.
16469 (unicode-category-table): Set it by unicode-property-table-internal.
16470
16471 * international/mule-cmds.el (char-code-property-alist): Move to
16472 to src/chartab.c.
16473 (get-char-code-property): Call unicode-property-table-internal to
16474 load a file. Call get-unicode-property-internal where necessary.
16475 (put-char-code-property): Call unicode-property-table-internal to
16476 load a file. Call put-unicode-property-internal where necessary.
16477 put-unicode-property-internal where necessary.
16478 (char-code-property-description):
16479 Call unicode-property-table-internal to load a file.
16480
16481 * international/charprop.el:
16482 * international/uni-bidi.el:
16483 * international/uni-category.el:
16484 * international/uni-combining.el:
16485 * international/uni-comment.el:
16486 * international/uni-decimal.el:
16487 * international/uni-decomposition.el:
16488 * international/uni-digit.el:
16489 * international/uni-lowercase.el:
16490 * international/uni-mirrored.el:
16491 * international/uni-name.el:
16492 * international/uni-numeric.el:
16493 * international/uni-old-name.el:
16494 * international/uni-titlecase.el:
16495 * international/uni-uppercase.el: Regenerate.
16496
16497 * loadup.el: Load international/charprop.el before
16498 international/characters.
16499
16500 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16501
16502 * window.el (next-buffer, previous-buffer): Signal an error if
16503 called from a minibuffer window.
16504
16505 * bindings.el: Revert 2011-07-04 change.
16506
16507 2011-07-06 Richard Stallman <rms@gnu.org>
16508
16509 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16510 (rmail-mime-insert-bulk, rmail-mime-insert-text):
16511 Treat markers like ints.
16512 (rmail-mime-entity): Doc fix.
16513
16514 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16515
16516 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
16517 defcustom again for backwards compatibility.
16518
16519 * simple.el (shell-command-on-region): Fill.
16520
16521 * dired-aux.el (dired-kill-line): Add a doc string.
16522
16523 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
16524 to "\\sw\\|\\s_" (bug#358).
16525
16526 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
16527 (dired-unmark-backward): Ditto.
16528 (dired-flag-backup-files): Ditto.
16529
16530 * dired-x.el (dired-mark-sexp): Ditto.
16531
16532 2011-07-06 Richard Stallman <rms@gnu.org>
16533
16534 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
16535 (rmail-mime-entity): New arg TRUNCATED.
16536 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
16537 New functions.
16538 (rmail-mime-save): Warn if entity is truncated.
16539 (rmail-mime-toggle-hidden): Likewise, for showing.
16540 (rmail-mime-process-multipart): Record when an entity is truncated.
16541
16542 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
16543 if ENTITY is a string.
16544
16545 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16546
16547 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
16548 of faces when `M-C-x'-ing their definitions (bug#8378).
16549 Also clean up the code slightly.
16550
16551 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
16552 because that makes the colors go away.
16553
16554 * mail/sendmail.el (send-mail-function): Change the default to
16555 `sendmail-query-once'.
16556 (sendmail-query-once): Add an autoload cookie.
16557
16558 * net/network-stream.el (network-stream-open-starttls): Try using
16559 a plain connection even if the server offered STARTTLS, and we
16560 kinda wanted to use it, if Emacs doesn't have any STARTTLS
16561 capability. This should make smtpmail.el work in slightly more
16562 configurations.
16563
16564 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
16565
16566 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16567 New defun.
16568 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
16569
16570 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
16571
16572 * progmodes/sql.el: Version 3.0
16573 (sql-product-alist): Add product :completion-object,
16574 :completion-column, and :statement attributes.
16575 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
16576 (sql-mode-syntax-table): Mark all punctuation.
16577 (sql-font-lock-keywords-builder): Temporarily remove fallback on
16578 ansi keywords.
16579 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
16580 (sql-mode-oracle-font-lock-keywords): Improve.
16581 (sql-oracle-show-reserved-words): New function for development.
16582 (sql-product-font-lock): Simplify for source code buffers.
16583 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
16584 New functions.
16585 (sql-highlight-product): Set product specific syntax table.
16586 (sql-mode-map): Add statement movement functions.
16587 (sql-ansi-statement-starters, sql-oracle-statement-starters):
16588 New variable.
16589 (sql-statement-regexp, sql-beginning-of-statement)
16590 (sql-end-of-statement, sql-signum): New functions.
16591 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
16592 (sql-show-sqli-buffer): Bug fix.
16593 (sql-interactive-mode): Store connection data as buffer local.
16594 (sql-connect): Add NEW-NAME parameter. Redesign interaction
16595 with sql-interactive-mode.
16596 (sql-save-connection): Save buffer local settings.
16597 (sql-connection-menu-filter): Change menu entry name.
16598 (sql-product-interactive): Bug fix.
16599 (sql-preoutput-hold): New variable.
16600 (sql-interactive-remove-continuation-prompt): Bug fixes.
16601 (sql-debug-redirect): New variable.
16602 (sql-str-literal): New function.
16603 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
16604 Redesign.
16605 (sql-oracle-save-settings, sql-oracle-restore-settings)
16606 (sql-oracle-list-all, sql-oracle-list-table): New functions.
16607 (sql-completion-object, sql-completion-column)
16608 (sql-completion-sqlbuf): New variables.
16609 (sql-build-completions-1, sql-build-completions)
16610 (sql-try-completion): New functions.
16611 (sql-read-table-name): Use them.
16612 (sql-contains-names): New buffer local variable.
16613 (sql-list-all, sql-list-table): Use it.
16614 (sql-oracle-completion-types): New variable.
16615 (sql-oracle-completion-object, sql-sqlite-completion-object)
16616 (sql-postgres-completion-object): New functions.
16617
16618 2011-07-06 Glenn Morris <rgm@gnu.org>
16619
16620 * window.el (pop-to-buffer): Doc fix.
16621
16622 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
16623
16624 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
16625
16626 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
16627
16628 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
16629
16630 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
16631
16632 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
16633
16634 * button.el (button): Inherit from link face. Suggested by Dan
16635 Nicolaescu.
16636
16637 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16638
16639 * progmodes/gdb-mi.el: Fit in 80 columns.
16640 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
16641 switch-to-buffer.
16642
16643 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
16644 if imenu is simply not configured (bug#8941).
16645
16646 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
16647
16648 * allout.el (allout-post-undo-hook): New allout outline-change
16649 event hook to signal undo activity.
16650 (allout-post-command-business): Run allout-post-undo-hook if an
16651 undo just occurred.
16652 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
16653 * allout-widgets.el (allout-widgets-after-undo-function):
16654 Ensure the integrity of the current item's decoration after it has been
16655 in the vicinity of an undo.
16656 (allout-widgets-mode): Include allout-widgets-after-undo-function
16657 on the new allout-post-undo-hook.
16658
16659 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16660
16661 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
16662 Let define-derived-mode define it.
16663 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
16664 cycles of abbrev-table inheritance (bug#8998).
16665
16666 2011-07-05 Roland Winkler <winkler@gnu.org>
16667
16668 * textmodes/bibtex.el: Add support for biblatex.
16669 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
16670 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
16671 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
16672 (bibtex-entry-alist, bibtex-field-alist): New variables.
16673 (bibtex-entry-field-alist): Obsolete alias for
16674 bibtex-BibTeX-entry-alist.
16675 (bibtex-entry-alist, bibtex-field-alist): New widgets.
16676 (bibtex-set-dialect): New command.
16677 (bibtex-entry-type, bibtex-entry-head)
16678 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
16679 Bind via bibtex-set-dialect.
16680 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
16681 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
16682 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
16683 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
16684 Define via bibtex-set-dialect.
16685 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
16686 Obey bibtex-no-opt-remove-re.
16687 (bibtex-vec-push, bibtex-vec-incr): New functions.
16688 (bibtex-format-entry, bibtex-field-list)
16689 (bibtex-print-help-message, bibtex-validate)
16690 (bibtex-search-entries): Use new format of bibtex-entry-alist.
16691
16692 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16693
16694 * progmodes/compile.el (compilation-goto-locus):
16695 * net/tramp-cmds.el (tramp-append-tramp-buffers):
16696 * bs.el (bs-cycle-next, bs-cycle-previous):
16697 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16698 * bindings.el (mode-line-other-buffer):
16699 * autoinsert.el (auto-insert):
16700 * arc-mode.el (archive-extract):
16701 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16702
16703 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16704
16705 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16706 Fix check of `emacs-lock-unlockable-modes'.
16707 Coerce true values of `emacs-lock--try-unlocking' to t.
16708
16709 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16710
16711 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16712 * emacs-lock.el: New file.
16713
16714 2011-07-05 Julien Danjou <julien@danjou.info>
16715
16716 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16717 than `boundp' to check if face is set.
16718
16719 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16720
16721 * register.el (registerv-make):
16722 * window.el (window-min-height): Fix typos in docstrings.
16723
16724 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
16725
16726 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
16727 Update doc string.
16728
16729 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
16730
16731 * server.el (server-execute): Catch quit and call
16732 `server-return-error' to pass the error back to emacsclient and
16733 close the connection (bug#8942).
16734
16735 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
16736
16737 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16738 insecure exception for current topic. Also note that auto-saves
16739 are handled differently.
16740
16741 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
16742 State variables for tracking auto-save inhibition situation.
16743
16744 (allout-write-contents-hook-handler): Rename from
16745 'allout-write-file-hook-handler', and describe how it depends on
16746 write-contents-functions sensitivity to non-nil value to prevent
16747 file write.
16748
16749 (allout-auto-save-hook-handler): Remove. auto-save does not check
16750 this in individual buffers, only in the starting buffer, so this
16751 is not the right way for us to inhibit auto-save in a buffer
16752 according to its condition.
16753
16754 (allout-mode): Use new allout-write-contents-hook-handler, and
16755 only with write-contents-functions. Remove auto-save provisions -
16756 they're implemented elsewhere.
16757
16758 (allout-before-change-handler): If undo is in progress, note that
16759 for attention of allout-post-command-business.
16760
16761 (allout-post-command-business): If the command we're following was
16762 an undo, check for change in the status of encrypted items and
16763 adjust auto-save inhibitions accordingly.
16764
16765 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16766 according to whether there are or aren't any plain-text topics
16767 pending encryption.
16768
16769 (allout-inhibit-auto-save-info-for-decryption):
16770 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16771 if there are plain-text topics pending encryption.
16772
16773 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16774 buffer-saved-size and some allout state to not inhibit auto-saves
16775 if there are no longer any plain-text topics pending encryption.
16776
16777 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16778 No longer provide for exemption of the current topic.
16779
16780 2011-07-04 Juri Linkov <juri@jurta.org>
16781
16782 Add 7z operations to delete and save changed members (bug#8968).
16783 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16784 New defcustoms.
16785 (archive-7z-write-file-member): New function.
16786 (archive-7z-summarize): Fix the number of dashes in the
16787 listing output.
16788
16789 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16790
16791 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16792 (bug#8958).
16793
16794 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
16795
16796 * bindings.el: Ignore next-buffer and previous-buffer in
16797 minibuffer-local-map.
16798
16799 * font-lock.el (font-lock-builtin-face): Change light background
16800 color to dark slate blue (Bug#6693).
16801
16802 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16803
16804 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16805
16806 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16807
16808 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16809 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16810 Add switch-to-buffer.
16811
16812 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16813
16814 * isearch.el (isearch-search-fun-function): Clarify further the
16815 meaning of the function returned.
16816
16817 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
16818
16819 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16820
16821 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16822 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16823 Use it.
16824 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16825 `tramp-default-remote-path' does not exist.
16826 (tramp-send-command-and-read): New optional argument NOERROR.
16827 (tramp-open-connection-setup-interactive-shell)
16828 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16829 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16830 (tramp-process-sentinel): Flush also process' connection property.
16831 (tramp-sh-handle-start-file-process): Do not set process
16832 sentinel. It is done now ...
16833 (tramp-maybe-open-connection): ... here. (Bug#8929)
16834
16835 2011-07-04 MON KEY <monkey@sandpframing.com>
16836
16837 * play/animate.el (animate-string): Doc fixes and allow changing
16838 the buffer name (bug#5417).
16839
16840 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16841
16842 * play/animate.el (animation-buffer-name): Rename from *animate*.
16843
16844 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16845
16846 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16847 This is simpler and helps future-proof the code.
16848 (timer-until): Use time-subtract and float-time.
16849 (timer--time-less-p): Use time-less-p.
16850
16851 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
16852
16853 * type-break.el (timep): Use the value of `float-time' to avoid a
16854 byte-compiler warning.
16855
16856 * server.el (server-eval-and-print): Return any result, even nil.
16857
16858 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16859
16860 * type-break.el: Accept time formats that the builtins accept.
16861 (timep, type-break-time-difference): Accept any format that
16862 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16863 This is simpler and helps future-proof the code.
16864 (type-break-time-difference): Round rather than ignoring
16865 subseconds components.
16866
16867 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16868
16869 * info.el (Info-apropos-matches): Make non-interactive, since it
16870 doesn't seem to do anything useful as a command (bug#8829).
16871
16872 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
16873
16874 * frame.el (frame-background-mode, frame-set-background-mode):
16875 Move from faces.el.
16876 (frame-default-terminal-background): New function.
16877
16878 * custom.el (custom-push-theme): Don't record faces in `changed'
16879 theme; this doesn't work correctly for per-frame face settings.
16880 (disable-theme): Use face-set-after-frame-default to reset faces.
16881 (custom--frame-color-default): New function.
16882
16883 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16884
16885 * dired.el (dired-flagging-regexp): Remove unused variable
16886 (bug#8769).
16887
16888 2011-03-29 Kevin Ryde <user42@zip.com.au>
16889
16890 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16891 `perl-Test2' extend to match possible "fail #N" rep count
16892 (bug#8377).
16893
16894 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16895
16896 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16897 `smtpmail-via-smtp' now returns the error instead of nil.
16898
16899 * isearch.el (isearch-search-fun-function): Clarify the doc string
16900 (bug#8101).
16901
16902 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
16903
16904 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16905 unnecessary spaces (bug#8987).
16906
16907 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16908
16909 * net/network-stream.el (open-network-stream): Use the
16910 :end-of-capability command thoughout.
16911
16912 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16913
16914 * net/network-stream.el (open-network-stream): Add the
16915 :end-of-capability command parameter, used by pop3.el.
16916
16917 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16918
16919 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16920
16921 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16922 for list)" (bug#6475).
16923
16924 * files.el (file-expand-wildcards): Ignore non-readable
16925 sub-directories while trying to find matches instead of signaling
16926 an error (bug#6297).
16927
16928 * man.el (Man-reference-regexp): Allow matching possible
16929 word-wrapped references (bug#6289).
16930
16931 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16932 for consistency with the other vc buffers (bug#6197).
16933 (vc-checkin): Ditto.
16934
16935 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16936
16937 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16938
16939 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16940
16941 * custom.el (defcustom): Clarify that :set is only used in the
16942 Customize user interface (bug#6089).
16943
16944 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16945 associated with a file, refuse to run instead of erroring out
16946 (bug#6084).
16947
16948 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16949 the doc string, since it appears that using `fill-column' always
16950 controls the width (bug#7845).
16951
16952 * simple.el (shell-command-on-region): Say where the error output
16953 went if `shell-command-default-error-buffer' is set (bug#6857).
16954
16955 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16956
16957 * allout.el (allout-yank-processing): Adjust cursor position for
16958 backwards-deleted space.
16959
16960 (allout-rebullet-heading): Register changes with
16961 allout-exposure-changed-hook, so the modified topic is properly
16962 decorated.
16963
16964 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16965
16966 * minibuffer.el (completion-in-region): Document PREDICATE
16967 (bug#7136).
16968
16969 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16970 of keyword/argument pairs (bug#6904).
16971
16972 * replace.el (multi-occur):
16973 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
16974
16975 2011-07-02 Drew Adams <drew.adams@oracle.com>
16976
16977 * dired.el (dired-mark-if): Make the message about whether it's
16978 marking or unmarking clearer (bug#8523).
16979
16980 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16981
16982 * disp-table.el (display-table-print-array): New function.
16983 (describe-display-table): Use it to print the vectors more pretty
16984 (Bug#8859).
16985
16986 2011-07-02 Martin Rudalics <rudalics@gmx.at>
16987
16988 * window.el (window-state-get-1): Don't assign clone numbers.
16989 Add clone-of item to list of window parameters.
16990 (window-state-put-2): Don't process clone numbers.
16991 (display-buffer-alist): Fix doc-string.
16992
16993 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16994
16995 * subr.el (remq): Don't allocate if it's not needed.
16996 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16997 (keymap--merge-bindings): New functions.
16998 (keymap-canonicalize): Use them to refine the canonicalization.
16999 * minibuffer.el (minibuffer-local-completion-map)
17000 (minibuffer-local-must-match-map): Move initialization from C.
17001 (minibuffer-local-filename-completion-map): Move initialization from C;
17002 don't inherit from anything here.
17003 (minibuffer-local-filename-must-match-map): Make obsolete.
17004 (completing-read-default): Use make-composed-keymap to combine
17005 minibuffer-local-filename-completion-map with either
17006 minibuffer-local-must-match-map or
17007 minibuffer-local-filename-completion-map.
17008
17009 2011-07-01 Glenn Morris <rgm@gnu.org>
17010
17011 * type-break.el (type-break-time-sum): Use dolist.
17012
17013 * textmodes/flyspell.el (flyspell-word-search-backward):
17014 Replace CL function.
17015
17016 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17017
17018 * mouse.el (mouse--strip-first-event): New function.
17019 (function-key-map): Use it to map fringe clicks to normal clicks
17020 by default.
17021
17022 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
17023 (vc-bzr-revision-completion-table): Add support for annotate and date.
17024
17025 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
17026 inherit from parent.
17027
17028 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17029
17030 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
17031 (dired-show-file-type): Doc fixup (bug#8818).
17032
17033 * dired.el (dired-mode): Fix up the doc string as suggested by
17034 Drew Adams (bug#8817).
17035
17036 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
17037 cookie, since the manual says that it should be possible to add
17038 this function to `find-file-hook' (bug#8709).
17039
17040 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17041
17042 * progmodes/cfengine.el: Moved all cfengine3.el functionality
17043 here. Noted Ted Zlatanov as the maintainer.
17044 (cfengine-common-settings, cfengine-common-syntax): New functions
17045 to set up common things between `cfengine-mode' and
17046 `cfengine3-mode'.
17047 (cfengine3-mode): New mode.
17048 (cfengine3-defuns cfengine3-defuns-regex
17049 (cfengine3-class-selector-regex cfengine3-category-regex)
17050 (cfengine3-vartypes cfengine3-font-lock-keywords)
17051 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
17052 (cfengine3-indent-line): Add from cfengine3.el.
17053
17054 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
17055
17056 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
17057
17058 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
17059
17060 2011-07-01 Martin Rudalics <rudalics@gmx.at>
17061
17062 * window.el (same-window-buffer-names, same-window-regexps)
17063 (same-window-p, special-display-frame-alist)
17064 (special-display-popup-frame, special-display-function)
17065 (special-display-buffer-names, special-display-regexps)
17066 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
17067 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17068 (split-window-preferred-function, split-height-threshold)
17069 (split-width-threshold, even-window-heights)
17070 (display-buffer-mark-dedicated, window-splittable-p)
17071 (split-window-sensibly, window-safely-shrinkable-p):
17072 Un-obsolete.
17073 (display-buffer): Don't spread args with function specifier
17074 because special-display-popup-frame won't like it.
17075
17076 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
17077
17078 Time-stamp simplifications and fixes.
17079 These improve accuracy slightly, and future-proof the code
17080 against some potential changes to current-time format.
17081
17082 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
17083 by using time-since and float-time.
17084
17085 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
17086 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
17087 + NNN microseconds".
17088
17089 * type-break.el (type-break-time-sum): Rewrite using time-add.
17090
17091 * play/hanoi.el (hanoi-current-time-float): Remove.
17092 All uses replaced by float-time.
17093
17094 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
17095 This yields a more-accurate answer.
17096 (rng-time-to-float): Remove; no longer needed.
17097
17098 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
17099
17100 * calendar/timeclock.el (timeclock-seconds-to-time):
17101 Defalias to seconds-to-time, since they're the same thing.
17102
17103 * emacs-lisp/elp.el (elp-elapsed-time):
17104 * emacs-lisp/benchmark.el (benchmark-elapse):
17105 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
17106
17107 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17108
17109 * window.el (bury-buffer): Don't iconify the only frame.
17110 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
17111 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
17112
17113 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
17114
17115 * eshell/em-smart.el (eshell-smart-display-navigate-list):
17116 Add mouse-yank-primary.
17117
17118 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17119
17120 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
17121
17122 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17123
17124 * emacs-lisp/find-func.el (find-library--load-name): New fun.
17125 (find-library-name): Use it to find relative load names when provided
17126 absolute file name (bug#8803).
17127
17128 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17129
17130 * textmodes/flyspell.el (flyspell-word): Consider words that
17131 differ only in case as potential doublons (bug#5687).
17132
17133 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
17134 Remove two rather uninteresting debugging-like messages to make
17135 debbugs.el more silent.
17136
17137 * comint.el (comint-password-prompt-regexp): Accept "Response" as
17138 a password-like phrase.
17139
17140 2011-06-30 Masatake YAMATO <yamato@redhat.com>
17141
17142 * progmodes/cc-guess.el: New file.
17143
17144 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
17145
17146 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
17147 derived from `c-basic-common-init'.
17148
17149 * progmodes/cc-mode.el (top-level): Require cc-guess.
17150 (c-basic-common-init): Use `cc-choose-style-for-mode'.
17151
17152 2011-06-30 Lawrence Mitchell <wence@gmx.li>
17153
17154 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
17155
17156 2011-06-30 Alan Mackenzie <acm@muc.de>
17157
17158 * progmodes/cc-engine.el (c-guess-continued-construct):
17159 Correct the handling of template-args-cont, particularly for when font
17160 lock is disabled. Name this case as "CASE G".
17161
17162 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
17163
17164 * allout.el (allout-yank-processing): Fix injection of extra space
17165 between bullet and non-whitespace character in first topic when
17166 pasting, ensuring that the actual spacing in the pasted topic
17167 following the bullet char is preserved. This extra space was
17168 causing pasted encrypted topics to get a decrypted status even
17169 when the content was actually still encrypted. Now the decryption
17170 status from before the paste is preserved.
17171
17172 (allout-flag-region): Set all allout overlays so they evaporate
17173 when reduced to zero length (evanescent), to prevent overlay
17174 leakage.
17175
17176 2011-06-30 Glenn Morris <rgm@gnu.org>
17177
17178 * w32-fns.el (w32-charset-info-alist): Declare.
17179
17180 * find-dired.el (find-grep-options): Simplify.
17181
17182 * term/ns-win.el (ns-set-resource): Declare.
17183
17184 * ses.el (row, col): Declare dynamic variables honestly.
17185
17186 * textmodes/reftex-parse.el (index-tags): Declare.
17187
17188 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
17189
17190 * cus-edit.el (customize-push-and-save): New function.
17191
17192 * files.el (hack-local-variables-confirm): Use it.
17193
17194 * custom.el (load-theme): New arg NO-CONFIRM.
17195 Use customize-push-and-save (Bug#8720).
17196 (custom-enabled-themes): Doc fix.
17197
17198 * cus-theme.el (customize-create-theme)
17199 (custom-theme-merge-theme): Callers to load-theme changed.
17200
17201 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17202
17203 * thingatpt.el (thing-at-point-short-url-regexp): Require that
17204 short URLs have at least one dot in them (bug #7614).
17205
17206 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17207 nil, because using a pty is apparently too slow (bug #895).
17208
17209 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
17210
17211 * mail/sendmail.el (sendmail-query-once): New function.
17212 (sendmail-query-once-function): New variable.
17213
17214 2011-06-29 Glenn Morris <rgm@gnu.org>
17215
17216 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17217
17218 * ses.el (top-level): Require cl when compiling.
17219 (ses-set-localvars): Fix error statement.
17220 Call it at compile time to silence a storm of warnings.
17221
17222 2011-06-29 Martin Rudalics <rudalics@gmx.at>
17223
17224 * window.el (normalize-live-buffer): Rename to
17225 window-normalize-buffer.
17226 (normalize-live-frame): Rename to window-normalize-frame.
17227 (normalize-any-window): Rename to window-normalize-any-window.
17228 (normalize-live-window): Rename to window-normalize-live-window.
17229 (make-window-atom): Rename to window-make-atom.
17230 (window-resize-reset): Rename to window--resize-reset.
17231 (window-resize-reset-1): Rename to window--resize-reset-1.
17232 (resize-mini-window): Rename to window--resize-mini-window.
17233 (resize-subwindows-skip-p): Rename to
17234 window--resize-subwindows-skip-p.
17235 (resize-subwindows-normal): Rename to
17236 window--resize-subwindows-normal.
17237 (resize-subwindows): Rename to window--resize-subwindows.
17238 (resize-other-windows): Rename to window--resize-siblings.
17239 (resize-this-window): Rename to window--resize-this-window.
17240 (resize-root-window): Rename to window--resize-root-window.
17241 (resize-root-window-vertically): Rename to
17242 window--resize-root-window-vertically.
17243 (normalize-buffer-to-display): Rename to
17244 window-normalize-buffer-to-display.
17245 (normalize-buffer-to-switch-to): Rename to
17246 window-normalize-buffer-to-switch-to.
17247 Correspondingly update all callers of the functions listed
17248 above.
17249 (display-buffer-alist, display-buffer-normalize-arguments)
17250 (display-buffer-normalize-options, display-buffer)
17251 (display-buffer-alist-set): Use "function" instead of
17252 "fun-with-args".
17253
17254 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
17255
17256 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17257 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
17258 debbugs.gnu.org. Mention acknowledgment email.
17259
17260 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
17261
17262 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17263 buffer multibyteness, since it shouldn't matter.
17264
17265 2011-06-28 Martin Rudalics <rudalics@gmx.at>
17266
17267 * window.el (display-buffer-in-side-window): Handle dedicated
17268 windows as in display-buffer-reuse-window.
17269 (display-buffer-normalize-alist): Use value of override
17270 specifier.
17271 (display-buffer-normalize-specifiers): Use value of
17272 other-window-means-other-frame specifier.
17273 (display-buffer-alist): Rewrite some texts in widgets.
17274 (display-buffer): Spread arguments when calling function
17275 specified by fun-with-args.
17276
17277 2011-06-28 Deniz Dogan <deniz@dogan.se>
17278
17279 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17280 Unnest `let'.
17281
17282 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
17283 selectors (Bug#5732).
17284 (css-proprietary-nmstart-re): Use `regexp-opt'.
17285
17286 2011-06-27 Jari Aalto <jari.aalto@cante.net>
17287
17288 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
17289 (eshell-ls-date-format): New defcustom.
17290 (eshell-ls-file): Use it.
17291
17292 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17293
17294 * help-fns.el (describe-variable): Fix message for terminal-local vars.
17295
17296 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
17297
17298 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
17299 (ange-ftp-make-tmp-name): New arg.
17300 (ange-ftp-file-local-copy): Use it.
17301
17302 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
17303
17304 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
17305 no-conversion (Bug#8870).
17306
17307 2011-06-27 Martin Rudalics <rudalics@gmx.at>
17308
17309 * window.el (window-right, window-left, window-child)
17310 (window-child-count, window-last-child)
17311 (window-iso-combination-p, walk-window-tree-1)
17312 (window-atom-check-1, window-tree-1, delete-window)
17313 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
17314 new naming conventions - window-vchild, window-hchild,
17315 window-next and window-prev are now called window-top-child,
17316 window-left-child, window-next-sibling and window-prev-sibling
17317 respectively.
17318 (resize-window-reset): Rename to window-resize-reset.
17319 (resize-window-reset-1): Rename to window-resize-reset-1.
17320 (resize-window): Rename to window-resize.
17321 (window-min-height, window-min-width)
17322 (resize-mini-window, resize-this-window, resize-root-window)
17323 (resize-root-window-vertically, adjust-window-trailing-edge)
17324 (enlarge-window, shrink-window, maximize-window)
17325 (minimize-window, delete-window, quit-restore-window)
17326 (split-window, balance-windows, balance-windows-area-adjust)
17327 (balance-windows-area, window-state-put-2)
17328 (display-buffer-even-window-sizes, display-buffer-set-height)
17329 (display-buffer-set-width, set-window-text-height)
17330 (fit-window-to-buffer): Rename all "resize-window" prefixed
17331 calls to use the "window-resize" prefix convention.
17332 (display-buffer-alist): Fix symbol for label specifier.
17333 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17334 corresponding specifier.
17335 Reported by Juanma Barranquero <lekktu@gmail.com>.
17336
17337 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17338
17339 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17340 convention.
17341 (ses-call-printer): Does not pass an empty string to formatter when the
17342 cell is empty to keep from barking printer Calc math-format-value.
17343
17344 2011-06-27 Richard Stallman <rms@gnu.org>
17345
17346 * battery.el (battery-mode-line-limit): New variable.
17347 (battery-update): Handle it.
17348
17349 * mail/rmailmm.el (rmail-mime-process-multipart):
17350 Handle truncated messages.
17351
17352 2011-06-27 Glenn Morris <rgm@gnu.org>
17353
17354 * progmodes/flymake.el (flymake-err-line-patterns):
17355 Allow for column numbers in the ant/javac pattern. (Bug#8866)
17356
17357 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17358
17359 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
17360 (ses--clean-!, ses--clean-_): New functions.
17361 (ses-range): Add configurability of readout order, and conversion
17362 to Calc vector.
17363
17364 * ses.el (ses-repair-cell-reference-all): New function.
17365 (ses-cell-symbol): Set macro as safe, so that it can be used in
17366 formulas.
17367
17368 * ses.el: Update cycle detection algorithm.
17369 (ses-localvars): Add ses--Dijkstra-attempt-nb and
17370 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
17371 (ses-set-localvars): New function.
17372 (ses-make-cell): Add property-list as a cell element.
17373 (ses-cell-property-get-fun, ses-cell-property-get)
17374 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
17375 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
17376 New functions.
17377 (ses-cell-property-set, ses-cell-property-pop)
17378 (ses-cell-property-get-handle): New macro.
17379 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
17380 New aliases, used for code readability.
17381 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
17382 cycle detection.
17383 (ses-self-reference-early-detection): New defcustom.
17384 (ses-formula-references): Robustify against self-referring cells.
17385 (ses-mode): Use ses-set-localvars.
17386 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17387 before lauching the update processing.
17388 (ses-initialize-Dijkstra-attempt): New function.
17389 (ses-recalculate-cell): Update for cycle detection based on
17390 Dijkstra algorithm.
17391
17392 * ses.el: Fix commenting and indenting convention.
17393
17394 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17395
17396 * bs.el (bs-cycle-next): Complete last change.
17397
17398 2011-06-27 Drew Adams <drew.adams@oracle.com>
17399
17400 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17401
17402 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17403
17404 * net/network-stream.el (network-stream-open-starttls):
17405 Don't re-get capabilities unless we've reestablished connection.
17406 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17407
17408 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17409 to binary to possibly avoid line encoding issues on Windows (among
17410 other things).
17411
17412 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17413
17414 * net/network-stream.el (open-network-stream): Return an :error
17415 saying what the problem was, if possible.
17416
17417 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17418 server.
17419
17420 * net/network-stream.el (network-stream-open-starttls): If we
17421 wanted to use STARTTLS, and the server offered it, but we weren't
17422 able to because we had no STARTTLS support, then close the connection.
17423 (open-network-stream): Return an :error element, if present.
17424
17425 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
17426
17427 * hl-line.el (hl-line-sticky-flag): Doc fix.
17428 (global-hl-line-sticky-flag): New option (Bug#8323).
17429 (global-hl-line-highlight): Obey it.
17430
17431 * vc/vc.el (vc-revert-show-diff): Default to t.
17432
17433 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
17434
17435 * allout-widgets.el (allout-widgets-post-command-business):
17436 Stop decorating intermediate isearch matches. They're not being
17437 undecorated when an isearch is continued past, and isearch
17438 automatically collapses them. This leads to "widget leaks", where
17439 decorated items accumulate in collapsed areas. Lines with lots of
17440 hidden widgets can slow down cursor travel, substantially.
17441 Too much complicated machinery would be needed to ensure undecoration,
17442 so we're doing without this nicety.
17443
17444 (allout-widgets-tally-string): Don't try to do a hash-table-count
17445 of allout-widgets-tally when it's nil. This eliminates spurious "Error
17446 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17447 *Messages* when allout-widgets-maintain-tally is t.
17448
17449 2011-06-26 Martin Rudalics <rudalics@gmx.at>
17450
17451 * window.el (display-buffer-normalize-argument): Rename to
17452 display-buffer-normalize-arguments. Handle special meaning of
17453 LABEL argument. Respect special-display-function when popping up
17454 a new frame. Fix code searching for a window showing the buffer
17455 on another frame.
17456 (display-buffer-normalize-specifiers):
17457 Call display-buffer-normalize-arguments.
17458 (display-buffer-in-window): Don't undedicate the window if its
17459 buffer remains the same.
17460 Reported by Drew Adams <drew.adams@oracle.com>.
17461 (display-buffer-alist): Add choice for same-window macro
17462 specfier.
17463 (display-buffer): Mention special meaning of LABEL argument in
17464 doc-string. Fix quoting. Don't pop up a new frame even as
17465 fallback.
17466
17467 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
17468
17469 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17470 avoid deleting the current window in some cases (bug#8911).
17471
17472 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
17473
17474 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
17475 (Bug#8934)
17476
17477 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17478
17479 * net/network-stream.el (network-stream-open-starttls):
17480 Use built-in TLS support if `gnutls-available-p' is true.
17481 (network-stream-open-tls): Ditto.
17482
17483 2011-06-26 Leo Liu <sdl.web@gmail.com>
17484
17485 * register.el (registerv): New struct.
17486 (registerv-make): New function.
17487 (jump-to-register, describe-register-1, insert-register):
17488 Support the jump-func, print-func and insert-func slot of a registerv
17489 struct. (Bug#8415)
17490
17491 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
17492
17493 * vc/vc.el (vc-revert-show-diff): New defcustom.
17494 (vc-diff-internal): New arg specifying diff buffer.
17495 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
17496 reuse an existing *vc-diff* buffer (Bug#8927).
17497
17498 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
17499
17500 2011-06-26 Glenn Morris <rgm@gnu.org>
17501
17502 * progmodes/f90.el (f90-critical-indent): New option.
17503 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17504 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17505 (f90-mode): Doc fix.
17506 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17507 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17508 (f90-beginning-of-block, f90-next-block, f90-indent-region)
17509 (f90-match-end): Handle block, critical.
17510
17511 2011-06-25 Glenn Morris <rgm@gnu.org>
17512
17513 * calendar/diary-lib.el (diary-included-files): Doc fix.
17514 (diary-include-files): New function, extracted from
17515 diary-include-other-diary-files and diary-mark-included-diary-files.
17516 (diary-include-other-diary-files, diary-mark-included-diary-files):
17517 Just call diary-include-files.
17518 (diary-mark-entries): Reset diary-included-files on first call.
17519
17520 * calendar/diary-lib.el (diary-mark-entries)
17521 (diary-mark-included-diary-files):
17522 Visit included diary-files in temp buffers.
17523
17524 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
17525 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
17526 (f90-start-block-re, f90-imenu-generic-expression)
17527 (f90-looking-at-program-block-start, f90-no-block-limit):
17528 Add support for submodules.
17529
17530 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17531 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
17532
17533 2011-06-25 Eli Zaretskii <eliz@gnu.org>
17534
17535 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
17536 buffer-file-type before setting its value, to avoid disastrous
17537 global effects on decoding files for DOS/Windows systems. (Bug#8780)
17538
17539 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
17540
17541 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
17542
17543 * ses.el (ses-unload-function):
17544 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
17545
17546 * proced.el (proced-unload-function):
17547 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
17548
17549 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
17550
17551 * server.el (server-create-window-system-frame): Add parameters arg.
17552 (server-process-filter): Doc fix. Handle frame-parameters.
17553
17554 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
17555
17556 Fix bug#8730, bug#8781.
17557
17558 * loadhist.el (unload--set-major-mode): New function.
17559 (unload-feature): Use it.
17560
17561 * progmodes/python.el (python-after-info-look): Add autoload cookie.
17562 (python-unload-function): New function.
17563
17564 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
17565
17566 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
17567
17568 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
17569
17570 * net/browse-url.el (browse-url-firefox-program): Add icecat to
17571 the candidates list.
17572
17573 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
17574
17575 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
17576
17577 2011-06-23 Richard Stallman <rms@gnu.org>
17578
17579 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
17580 (rmail-variables): Set next-error-move-function.
17581 (rmail-what-message): Take argument POS.
17582 (rmail-next-error-move): New function.
17583
17584 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
17585
17586 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
17587 messages for adjacent non-terminals.
17588
17589 2011-06-23 Richard Stallman <rms@gnu.org>
17590
17591 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
17592 (rmail-show-message-1): Preserve buffer modified flag.
17593 (rmail-start-mail): Don't specify use of rmail-mail-return;
17594 that's done by mail-bury now.
17595 (rmail-mail-return): Handle arg NEWBUF.
17596
17597 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
17598
17599 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
17600 SIZE is a number.
17601
17602 2011-06-23 Martin Rudalics <rudalics@gmx.at>
17603
17604 * window.el (get-lru-window, get-mru-window)
17605 (get-largest-window): Never return a minibuffer window.
17606 (display-buffer-pop-up-window): Fix a bug that could lead to
17607 reusing the minibuffer window.
17608 (display-buffer): Pass original specifier argument to
17609 display-buffer-function instead of the normalized one.
17610 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17611
17612 2011-06-22 Leo Liu <sdl.web@gmail.com>
17613
17614 * minibuffer.el (completing-read-function)
17615 (completing-read-default): Move from minibuf.c.
17616
17617 2011-06-22 Richard Stallman <rms@gnu.org>
17618
17619 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
17620 to Rmail even if not started by a special Rmail command.
17621
17622 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
17623 Copy the buffer currently showing just one message.
17624
17625 2011-06-22 Roland Winkler <winkler@gnu.org>
17626
17627 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
17628 (bibtex-clean-entry): First delete the old key so that a
17629 customized algorithm for generating the new key does not get
17630 confused by the old key.
17631 (bibtex-url): Obey regexp of first step.
17632 (bibtex-search-entries): Do not use add-to-list with local
17633 list-var.
17634
17635 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17636
17637 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
17638 stored a user name, then query for the password first, instead of
17639 waiting for SMTP to give an error message and the trying again.
17640
17641 2011-06-22 Lawrence Mitchell <wence@gmx.li>
17642
17643 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
17644 BUFFER in call-process.
17645
17646 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17647
17648 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
17649 QUIT twice.
17650 (smtpmail-try-auth-methods): Require user name and password from
17651 auth-source.
17652
17653 2011-06-22 Martin Rudalics <rudalics@gmx.at>
17654
17655 * window.el (display-buffer-default-specifiers)
17656 (display-buffer-alist): Remove entries for pop-up-frame-alist.
17657 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
17658 (split-window): Normalize SIDE argument (Bug#8916).
17659
17660 * frame.el (pop-up-frame-alist, pop-up-frame-function)
17661 (special-display-frame-alist, special-display-popup-frame):
17662 Remove duplicate declarations. These are now in window.el.
17663
17664 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17665
17666 * mail/smtpmail.el (smtpmail-via-smtp):
17667 Set :use-starttls-if-possible so that we always use STARTTLS if the
17668 server supports it. SMTP servers that support STARTTLS commonly
17669 require it.
17670
17671 * net/network-stream.el (network-stream-open-starttls): Support
17672 upgrading to STARTTLS always, even if we don't have built-in support.
17673 (open-network-stream): Add the :always-query-capabilities keyword.
17674
17675 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
17676 upgrades with `open-network-stream', and rely solely on
17677 auth-source for all credentials. Big changes throughout the file,
17678 but in particular:
17679 (smtpmail-auth-credentials): Remove.
17680 (smtpmail-starttls-credentials): Remove.
17681 (smtpmail-via-smtp): Check for servers saying they want AUTH after
17682 MAIL FROM, too.
17683
17684 * net/network-stream.el (network-stream-open-starttls):
17685 Provide support for client certificates both for external and built-in
17686 STARTTLS.
17687 (auth-source): Require.
17688 (open-network-stream): Document the :client-certificate keyword.
17689 (network-stream-certificate): Change cert-cert to cert and
17690 cert-key to key.
17691
17692 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
17693
17694 * net/tramp-cache.el (top): Don't load the persistency file when
17695 "emacs -Q" has been called.
17696
17697 2011-06-21 Tim Harper <timcharper@gmail.com>
17698
17699 * term/ns-win.el (ns-initialize-window-system):
17700 Set application-specific `ApplePressAndHoldEnabled' system
17701 resource to NO as it is not yet supported by the NS port.
17702
17703 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
17704
17705 * misc.el (list-dynamic-libraries--refresh): Compute header here...
17706 (list-dynamic-libraries): ...not here.
17707
17708 2011-06-21 Leo Liu <sdl.web@gmail.com>
17709
17710 * subr.el (sha1): Implement sha1 using secure-hash.
17711
17712 2011-06-21 Martin Rudalics <rudalics@gmx.at>
17713
17714 * window.el (display-buffer-alist): In default value do not
17715 enforce searching a window on any but the selected frame.
17716 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17717 (display-buffer-select-window): Remove function.
17718 (display-buffer-in-window): When a window on another frame gets
17719 reused, do not select it any more but just raise its frame if
17720 necessary (Bug#8851) and (Bug#8856).
17721 (display-buffer-normalize-options): Handle pop-up-frames related
17722 options more faithfully.
17723 (pop-to-buffer): Don't rely on `display-buffer' selecting the
17724 window if it is on another frame.
17725 (display-buffer-alist, display-buffer-default-specifiers):
17726 Don't make new frame unsplittable by default.
17727 (display-buffer-normalize-argument): Fix doc-string typo and use
17728 'same-frame-other-window instead of 'other-window when associating
17729 with display-buffer-macro-specifiers.
17730
17731 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
17732
17733 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17734 New functions.
17735 (5x5-mode-map, 5x5-mode-menu): Bind them.
17736 (5x5-draw-grid): Tweak the solver's rendering.
17737
17738 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17739
17740 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17741 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17742
17743 2011-06-21 Drew Adams <drew.adams@oracle.com>
17744
17745 * menu-bar.el: Use function variable instead of switch-to-buffer.
17746 (menu-bar-select-buffer-function): New variable.
17747 (menu-bar-update-buffers): Use it (bug#8876).
17748
17749 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17750
17751 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17752 variable's status.
17753
17754 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
17755
17756 * x-dnd.el (x-dnd-version-from-flags)
17757 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17758 and long as number (Bug#8899).
17759 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17760
17761 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17762
17763 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
17764 (completion-try-completion, completion-all-completions): Compute the
17765 metadata argument if it's missing; make it optional (bug#8795).
17766
17767 * wid-edit.el: Use lex-bind and move towards completion-at-point.
17768 (widget-complete): Use new :completion-function property.
17769 (widget-completions-at-point): New function.
17770 (default): Use :completion-function instead of :complete.
17771 (widget-default-completions): Rename from widget-default-complete;
17772 Rewrite.
17773 (widget-string-complete, widget-file-complete, widget-color-complete):
17774 Remove functions.
17775 (file, symbol, function, variable, coding-system, color):
17776 * international/mule-cmds.el (default-input-method, charset)
17777 (language-info-custom-alist):
17778 * cus-edit.el (face): Use new property :completions.
17779
17780 * progmodes/pascal.el (pascal-completions-at-point): New function.
17781 (pascal-mode): Use it.
17782 (pascal-mode-map): Use completion-at-point.
17783 (pascal-toggle-completions): Make obsolete.
17784 (pascal-complete-word, pascal-show-completions):
17785 * progmodes/octave-mod.el (octave-complete-symbol):
17786 Redefine as obsolete alias.
17787 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17788 Signal absence of completion info for old Octave,
17789 (inferior-octave-complete): Redefine as obsolete alias.
17790 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17791 (meta-completions-at-point): Rename from meta-complete-symbol and
17792 adapt it for use on completion-at-point-functions.
17793 (meta-common-mode): Use it.
17794 (meta-looking-at-backward, meta-match-buffer): Remove.
17795 (meta-complete-symbol): Redefine as obsolete alias.
17796 (meta-common-mode-map): Use completion-at-point.
17797 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17798 (makefile-mode-map): Use completion-at-point.
17799 (makefile-completions-at-point): Rename from makefile-complete and
17800 adapt it for use on completion-at-point-functions.
17801 (makefile-mode): Use it.
17802 (makefile-complete): Redefine as obsolete alias.
17803
17804 2011-06-20 Deniz Dogan <deniz@dogan.se>
17805
17806 * net/rcirc.el: Delete trailing whitespaces once and for all.
17807
17808 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17809
17810 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17811
17812 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
17813
17814 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17815
17816 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17817
17818 2011-06-19 Martin Rudalics <rudalics@gmx.at>
17819
17820 * window.el (display-buffer-other-window-means-other-frame):
17821 Call display-buffer-normalize-alist.
17822 (display-buffer-normalize-specifiers-1): Rename to
17823 display-buffer-normalize-argument. New argument other-frame.
17824 Rewrite.
17825 (display-buffer-normalize-specifiers-2): Rename to
17826 display-buffer-normalize-options.
17827 (display-buffer-normalize-alist-1): New function.
17828 (display-buffer-normalize-specifiers-3): Rename to
17829 display-buffer-normalize-alist.
17830 Call display-buffer-normalize-alist-1.
17831 (display-buffer-normalize-options-inhibit): New variable.
17832 (display-buffer-normalize-specifiers): Rewrite calling
17833 display-buffer-normalize-alist,
17834 display-buffer-normalize-argument, and
17835 display-buffer-normalize-options. Don't call the latter if
17836 display-buffer-normalize-options-inhibit is non-nil.
17837 (frame-auto-delete): New option.
17838 (window-deletable-p): Use frame-auto-delete.
17839 (window-list-no-nils, window-state-ignored-parameters)
17840 (window-state-get-1, window-state-get, window-state-put-list)
17841 (window-state-put-1, window-state-put-2, window-state-put):
17842 New functions.
17843 (display-buffer-normalize-options): Move special-display-p group
17844 after pop-up-frame group (Bug#8851) and (Bug#8856).
17845
17846 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
17847
17848 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17849 groups (Bug#8776).
17850 (rx-submatch-n): New function.
17851 (rx): Document it.
17852
17853 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17854 (Bug#8768).
17855
17856 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17857
17858 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17859
17860 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17861 anytime existing face settings are present (Bug#8889).
17862
17863 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17864 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17865 Remove unused argument.
17866
17867 2011-06-18 Martin Rudalics <rudalics@gmx.at>
17868
17869 * window.el (display-buffer-default-specifiers):
17870 Remove pop-up-frame. Add pop-up-window-min-height,
17871 pop-up-window-min-width, and another reuse-window specifier
17872 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
17873 (display-buffer-normalize-specifiers-2):
17874 Handle split-height-threshold and split-width-threshold also when
17875 pop-up-windows is unset. Add a reuse-window specifier for the
17876 case popping up a new window fails.
17877 (special-display-popup-frame): Remove double quoting.
17878 (display-buffer-normalize-specifiers-1): Fix thinko.
17879
17880 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17881
17882 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17883 according to comint-completion-addsuffix.
17884
17885 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17886 (pcomplete-suffix-list): Mark as obsolete.
17887 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17888 pcomplete-seen in the closure.
17889 (pcomplete-comint-setup): Setup completion-at-point as well.
17890 (pcomplete--entries): New function.
17891 (pcomplete--env-regexp): New var.
17892 (pcomplete-entries): Rewrite to work with partial-completion and
17893 without relying on pcomplete-suffix-list.
17894 (pcomplete-pare-list): Remove, unused.
17895
17896 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17897
17898 * window.el (display-buffer-alist): Set pop-up-window-min-height
17899 and pop-up-window-min-width in default value. Reported by
17900 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17901 other-window-means-other-frame.
17902 (display-buffer-macro-specifiers): Comment out entry for
17903 other-window specifier.
17904 (display-buffer-other-window-means-other-frame): New function.
17905 (display-buffer-normalize-specifiers-1): New arguments
17906 buffer-name and label. Treat other-window case specially.
17907 (display-buffer-normalize-specifiers-2): Treat other-window case
17908 specially.
17909 (display-buffer-normalize-specifiers-3): New function.
17910 (display-buffer-normalize-specifiers):
17911 Call display-buffer-normalize-specifiers-3.
17912
17913 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17914
17915 * window.el (same-window-p): Fix two typos introduced when
17916 adding with-no-warnings.
17917 (display-buffer-normalize-specifiers-1): Don't check
17918 pop-up-frames for 'unset initialization.
17919 (display-buffer-normalize-specifiers-2): Major rewrite using
17920 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17921 (pop-up-frames, display-buffer-reuse-frames)
17922 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17923 Suggested by David Engster <deng@randomsample.de>.
17924 (even-window-heights): Initialize to 'unset.
17925 (display-buffer-alist-set): Handle new 'unset initializations.
17926 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17927 other window case.
17928
17929 2011-06-16 Martin Rudalics <rudalics@gmx.at>
17930
17931 * window.el (display-buffer-normalize-specifiers-1):
17932 Respect current value of pop-up-frames for most reasonable values of
17933 second argument of display-buffer (Bug#8865).
17934 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17935 (switch-to-buffer-other-window-same-frame)
17936 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17937 Adams (Bug#8875).
17938 (display-buffer): Don't check noninteractive when calling
17939 display-buffer-pop-up-frame.
17940 (display-buffer-pop-up-frame): Never pop up a frame in
17941 noninteractive mode (Bug#8857).
17942 (enlarge-window, shrink-window): Don't report an error when the
17943 window can't be resized as requested (Bug#8862).
17944
17945 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17946
17947 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17948
17949 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17950
17951 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17952
17953 2011-06-15 Alan Mackenzie <acm@muc.de>
17954
17955 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17956 for declarators, disable knr checking to speed up for normal files.
17957 2: Refactor, replacing a sequence of nested if forms by a cond form.
17958
17959 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17960
17961 * net/network-stream.el (open-network-stream): Add the keyword
17962 :always-query-capabilities for the case where you want to force a
17963 `plain' network connection, but the protocol still requires the
17964 capabilitiy command (i.e., SMTP and EHLO).
17965
17966 * subr.el (process-live-p): Rename from `process-alive-p' for
17967 consistency with other `-live-p' functions.
17968
17969 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17970
17971 * window.el (same-window-buffer-names, same-window-regexps)
17972 (special-display-frame-alist, special-display-popup-frame)
17973 (special-display-function, special-display-buffer-names)
17974 (special-display-regexps, pop-up-frame-alist)
17975 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17976 (pop-up-windows, split-window-preferred-function)
17977 (split-height-threshold, split-width-threshold, even-window-heights)
17978 (display-buffer-mark-dedicated): Don't encourage the use of
17979 display-buffer-alist from Elisp code.
17980
17981 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17982
17983 * progmodes/python.el (python-mode): Derive from prog-mode.
17984 * progmodes/ps-mode.el (ps-mode):
17985 * progmodes/mixal-mode.el (mixal-mode):
17986 * progmodes/cfengine.el (cfengine-mode):
17987 * progmodes/ld-script.el (ld-script-mode): Likewise.
17988
17989 2011-06-15 Martin Rudalics <rudalics@gmx.at>
17990
17991 * window.el (display-buffer-alist): Trim default value to avoid
17992 popping up a new frame (Bug#8857) or reusing an arbitrary window
17993 on another frame.
17994 (display-buffer): Do not fall back on popping up a new frame in
17995 batch mode (Bug#8857).
17996
17997 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
17998
17999 * cus-theme.el (describe-theme-1): Use custom-theme-p.
18000 (custom-theme-summary): New function.
18001 (customize-themes): Use it.
18002
18003 2011-06-13 Glenn Morris <rgm@gnu.org>
18004
18005 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
18006
18007 2011-06-13 Martin Rudalics <rudalics@gmx.at>
18008
18009 * help.el (help-window): Remove variable.
18010 (help-window-point-marker, temp-buffer-max-height)
18011 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
18012 (help-print-return-message): Don't set help-window.
18013 (resize-temp-buffer-window): Rewrite cod eand doc-string.
18014 (help-window-setup-finish): Remove.
18015 (help-window-display-message, help-window-setup)
18016 (with-help-window): Major rewrite based on new
18017 display-buffer-window variable.
18018
18019 * help-mode.el (help-mode-finish): Remove help-window related
18020 code.
18021
18022 * view.el (view-exits-all-viewing-windows): Remove reference to
18023 view-return-to-alist in doc-string.
18024 (view-return-to-alist): Make obsolete.
18025 (view-buffer): Call pop-to-buffer-same-window and remove
18026 undo-window code.
18027 (view-buffer-other-window): Call pop-to-buffer-other-window and
18028 simplify code. Ignore second argument.
18029 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
18030 simplify code. Ignore second argument.
18031 (view-return-to-alist-update): Make obsolete.
18032 (view-mode-enter): Rename second argument to QUIT-RESTORE.
18033 Rewrite using quit-restore window parameters.
18034 (view-mode-exit): Rename second argument to EXIT-ONLY.
18035 Rewrite using quit-restore-window.
18036 (View-exit, View-exit-and-edit, View-leave, View-quit)
18037 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
18038 appropriate arguments.
18039 (view-end-message): Use quit-restore window parameter.
18040
18041 * window.el (display-buffer-function): Rewrite doc-string.
18042 (display-buffer-window, display-buffer-alist): New variables.
18043 (display-buffer-split-specifiers)
18044 (display-buffer-side-specifiers)
18045 (display-buffer-macro-specifiers): New constants.
18046 (display-buffer-even-window-sizes, display-buffer-set-height)
18047 (display-buffer-set-width, display-buffer-select-window)
18048 (display-buffer-in-window, display-buffer-reuse-window)
18049 (display-buffer-split-window-1, display-buffer-split-window)
18050 (display-buffer-split-atom-window, display-buffer-pop-up-window)
18051 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
18052 (display-buffer-in-side-window, normalize-buffer-to-display)
18053 (display-buffer-normalize-specifiers-1)
18054 (display-buffer-normalize-specifiers-2)
18055 (display-buffer-normalize-specifiers, display-buffer-frame):
18056 New functions.
18057 (display-buffer): Major rewrite.
18058 (display-buffer-other-window, display-buffer-other-frame)
18059 (pop-to-buffer, switch-to-buffer-other-window)
18060 (switch-to-buffer-other-frame): Rewrite.
18061 (display-buffer-same-window, display-buffer-same-frame)
18062 (display-buffer-same-frame-other-window)
18063 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18064 (pop-to-buffer-other-window)
18065 (pop-to-buffer-same-frame-other-window)
18066 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
18067 (switch-to-buffer-other-window-same-frame): New functions.
18068 (same-window-p, special-display-p): Rewrite disabling warnings.
18069 Make obsolete.
18070 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18071 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
18072 Make obsolete
18073 (same-window-buffer-names, same-window-regexps)
18074 (special-display-frame-alist, special-display-popup-frame)
18075 (special-display-function, special-display-buffer-names)
18076 (special-display-regexps, pop-up-frame-alist)
18077 (pop-up-frame-function, split-window-preferred-function)
18078 (split-height-threshold, split-width-threshold)
18079 (even-window-heights): Make obsolete.
18080
18081 2011-06-12 Glenn Morris <rgm@gnu.org>
18082
18083 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
18084 Misc simplifications.
18085
18086 2011-06-12 Martin Rudalics <rudalics@gmx.at>
18087
18088 * window.el (window-safely-shrinkable-p): Restore function which
18089 was inadvertently removed in change from 2011-06-11. Declare as
18090 obsolete.
18091
18092 * calendar/calendar.el (calendar-generate-window):
18093 Use window-iso-combined-p instead of combination of one-window-p and
18094 window-safely-shrinkable-p.
18095
18096 2011-06-12 Glenn Morris <rgm@gnu.org>
18097
18098 * progmodes/fortran.el (fortran-mode-syntax-table):
18099 * progmodes/f90.el (f90-mode-syntax-table):
18100 Set % to punctuation. (Bug#8820)
18101 (f90-find-tag-default): Remove, no longer needed.
18102
18103 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
18104
18105 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
18106
18107 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
18108
18109 * image.el (image-animated-p): Return animation delay in seconds.
18110 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
18111 (image-animate-timeout): Remove DELAY argument. Don't assume
18112 every subimage has the same delay; get it from image-animated-p.
18113 (image-animate): Caller changed.
18114
18115 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
18116
18117 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
18118 to ignored backtrace functions.
18119
18120 2011-06-11 Glenn Morris <rgm@gnu.org>
18121
18122 * calendar/appt.el (appt-disp-window-function): Doc fix.
18123 (appt-check): Handle overlapping appointments. (Bug#8337)
18124
18125 2011-06-11 Martin Rudalics <rudalics@gmx.at>
18126
18127 * window.el (window-tree-1, window-tree): New functions, moving
18128 the latter to window.el.
18129 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
18130 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
18131 (bw-refresh-edges): Remove.
18132 (balance-windows-1, balance-windows-2): New functions.
18133 (balance-windows): Rewrite in terms of window tree functions,
18134 balance-windows-1 and balance-windows-2.
18135 (bw-adjust-window): Remove.
18136 (balance-windows-area-adjust): New function with functionality of
18137 bw-adjust-window but using resize-window.
18138 (set-window-text-height): Rewrite doc-string.
18139 Use normalize-live-window and resize-window.
18140 (enlarge-window-horizontally, shrink-window-horizontally):
18141 Rename argument to DELTA.
18142 (window-buffer-height): New function.
18143 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
18144 Rewrite using new window resize routines.
18145 (kill-buffer-and-window, mouse-autoselect-window-select):
18146 Use ignore-errors instead of condition-case.
18147 (quit-window): Call delete-frame instead of delete-windows-on
18148 for the only buffer on frame.
18149
18150 2011-06-10 Martin Rudalics <rudalics@gmx.at>
18151
18152 * loadup.el (top-level): Load window before files for the sake
18153 of replace-buffer-in-windows.
18154
18155 * files.el (read-buffer-to-switch)
18156 (switch-to-buffer-other-window)
18157 (switch-to-buffer-other-frame, display-buffer-other-frame):
18158 Move to window.el.
18159
18160 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
18161 (previous-buffer): Move to window.el.
18162
18163 * bindings.el (unbury-buffer): Move to window.el.
18164
18165 * window.el (delete-other-windows-vertically): Move after
18166 definition of delete-other-windows.
18167 (other-window, delete-windows-on, replace-buffer-in-windows):
18168 Move here from window.c.
18169 (record-window-buffer, unrecord-window-buffer)
18170 (set-window-buffer-start-and-point, switch-to-prev-buffer)
18171 (switch-to-next-buffer): New functions.
18172 (get-next-valid-buffer, last-buffer, next-buffer): Move here
18173 from simple.el. Call switch-to-next-buffer.
18174 (previous-buffer): Move here from simple.el.
18175 Call switch-to-prev-buffer.
18176 (bury-buffer): Move here from buffer.c. Switch to previous
18177 buffer when window cannot be deleted.
18178 (unbury-buffer): Move here from bindings.el.
18179 (ctl-x-map): Move binding for other-window from window.c to
18180 here.
18181 (read-buffer-to-switch, switch-to-buffer-other-window)
18182 (switch-to-buffer-other-frame): Move here from files.el.
18183 (normalize-buffer-to-switch-to): New functions.
18184 (switch-to-buffer): Move here from buffer.c.
18185 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
18186
18187 2011-06-10 Martin Rudalics <rudalics@gmx.at>
18188
18189 * window.el (window-min-height, window-min-width): Move here
18190 from window.c. Add defcustoms and rewrite doc-strings.
18191 (resize-mini-window, resize-window): New functions.
18192 (adjust-window-trailing-edge, enlarge-window, shrink-window):
18193 Move here from window.c.
18194 (maximize-window, minimize-window): New functions.
18195 (delete-window, delete-other-windows, split-window): Move here
18196 from window.c.
18197 (window-split-min-size): New function.
18198 (split-window-keep-point): Mention split-window-above-each-other
18199 instead of split-window-vertically.
18200 (split-window-above-each-other, split-window-vertically):
18201 Rename split-window-vertically to split-window-above-each-other
18202 and provide defalias for old definition.
18203 (split-window-side-by-side, split-window-horizontally):
18204 Rename split-window-horizontally to split-window-side-by-side
18205 and provide defalias for the old definition.
18206 (ctl-x-map): Move bindings for delete-window,
18207 delete-other-windows and enlarge-window here from window.c.
18208 Replace bindings for split-window-vertically and
18209 split-window-horizontally by bindings for
18210 split-window-above-each-other and split-window-side-by-side.
18211
18212 * cus-start.el (all): Remove entries for window-min-height and
18213 window-min-width. Add entries for window-splits and
18214 window-nest.
18215
18216 2011-06-09 Glenn Morris <rgm@gnu.org>
18217
18218 * calendar/appt.el (appt-mode-line): New function.
18219 (appt-check, appt-disp-window): Use it.
18220
18221 * files.el (hack-one-local-variable-eval-safep):
18222 Allow minor-modes with explicit +/-1 arguments.
18223
18224 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
18225
18226 * term/xterm.el (xterm): Add defgroup.
18227 (xterm-extra-capabilities): Add defcustom to supply known xterm
18228 capabilities, skip querying them, or query them (default).
18229 (terminal-init-xterm): Use it.
18230 (terminal-init-xterm-modify-other-keys): New function to set up
18231 modifyOtherKeys support to simplify `terminal-init-xterm'.
18232
18233 2011-06-09 Martin Rudalics <rudalics@gmx.at>
18234
18235 * window.el (resize-window-reset, resize-window-reset-1)
18236 (resize-subwindows-skip-p, resize-subwindows-normal)
18237 (resize-subwindows, resize-other-windows, resize-this-window)
18238 (resize-root-window, resize-root-window-vertically)
18239 (window-deletable-p, window-or-subwindow-p)
18240 (frame-root-window-p): New functions.
18241
18242 2011-06-09 Glenn Morris <rgm@gnu.org>
18243
18244 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
18245 (ange-ftp-get-files): Use it.
18246
18247 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
18248
18249 * mail/sendmail.el (mail-recover-1, mail-recover):
18250 * files.el (recover-file, recover-session):
18251 Handle dired-listing-switches not being just a single short option.
18252
18253 2011-06-09 Glenn Morris <rgm@gnu.org>
18254
18255 * calendar/appt.el (appt-display-message, appt-disp-window):
18256 Handle lists of appointments.
18257
18258 2011-06-08 Martin Rudalics <rudalics@gmx.at>
18259
18260 * window.el (one-window-p): Move down in code.
18261 Rewrite doc-string.
18262 (window-current-scroll-bars): Rewrite doc-string.
18263 Normalize live window argument.
18264 (walk-windows, get-window-with-predicate, count-windows):
18265 Rewrite doc-string. Use window-list-1.
18266 (window-in-direction-2, window-in-direction, get-mru-window):
18267 New functions.
18268
18269 2011-06-08 Reuben Thomas <rrt@sc3d.org>
18270
18271 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18272 Doc fix (Bug#8713).
18273
18274 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
18275
18276 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
18277
18278 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
18279
18280 * loadhist.el (unload-feature-special-hooks):
18281 Add `comint-output-filter-functions'.
18282
18283 2011-06-08 Ivan Kanis <gnu@kanis.fr>
18284
18285 * calendar/appt.el (appt-check): Move some initializations into the let.
18286
18287 2011-06-08 Martin Rudalics <rudalics@gmx.at>
18288
18289 * window.el (window-height): Defalias to window-total-height.
18290 (window-width): Defalias to window-body-width.
18291
18292 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
18293
18294 * image-mode.el (image-toggle-animation): New command.
18295 (image-mode-map): Bind it to RET.
18296 (image-mode): Update message.
18297 (image-toggle-display-image): Avoid a spurious cache flush.
18298 (image-transform-rotation): Doc fix.
18299 (image-transform-properties): Return quickly in the normal case.
18300 (image-animate-loop): Rename from image-animate-max-time.
18301
18302 * image.el (image-animate-max-time): Move to image-mode.el.
18303 (create-animated-image): Remove unnecessary function.
18304 (image-animate): Rename from image-animate-start. New arg.
18305 (image-animate-stop): Remove; just use image-animate-timer.
18306 (image-animate-timer): Use car-safe.
18307 (image-animate-timeout): Rename argument.
18308
18309 2011-06-07 Martin Rudalics <rudalics@gmx.at>
18310
18311 * window.el (get-lru-window, get-largest-window): Move here from
18312 window.c. Rename first argument to ALL-FRAMES.
18313 Rephrase doc-strings.
18314 (get-buffer-window-list): Rewrite using window-list-1.
18315 Rephrase doc-string.
18316 (window-safe-min-height, window-safe-min-width): New constants.
18317 (window-size-ignore, window-min-size, window-min-size-1)
18318 (window-sizable, window-sizable-p, window-size-fixed-1)
18319 (window-size-fixed-p, window-min-delta-1, window-min-delta)
18320 (window-max-delta-1, window-max-delta, window-resizable)
18321 (window-resizable-p, window-total-height, window-total-width)
18322 (window-body-width): New functions.
18323 (window-full-height-p, window-full-width-p): Rewrite using
18324 window-total-size.
18325 (window-body-height): Rewrite using window-body-size.
18326
18327 2011-06-06 Martin Rudalics <rudalics@gmx.at>
18328
18329 * window.el (window-right, window-left, window-child)
18330 (window-child-count, window-last-child, window-any-p)
18331 (normalize-live-buffer, normalize-live-frame)
18332 (normalize-any-window, normalize-live-window)
18333 (window-iso-combination-p, window-iso-combined-p)
18334 (window-iso-combinations)
18335 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18336 (windows-with-parameter, window-with-parameter)
18337 (window-atom-root, make-window-atom, window-atom-check-1)
18338 (window-atom-check, window-side-check, window-check):
18339 New functions.
18340 (ignore-window-parameters, window-sides, window-sides-vertical)
18341 (window-sides-slots): New variables.
18342 (window-size-fixed): Move down in code. Minor doc-string fix.
18343
18344 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
18345
18346 * comint.el (comint-dynamic-complete-as-filename)
18347 (comint-dynamic-complete-filename): Correctly call
18348 completion-in-region.
18349
18350 2011-06-05 Deniz Dogan <deniz@dogan.se>
18351
18352 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
18353 in last change.
18354
18355 2011-06-05 Deniz Dogan <deniz@dogan.se>
18356
18357 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
18358 (rcirc): Use it to prompt for encryption.
18359
18360 2011-06-05 Roland Winkler <winkler@gnu.org>
18361
18362 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
18363 (bibtex-search-entries): New command bound to C-c C-a.
18364 (bibtex-display-entries): New function.
18365
18366 2011-06-05 Roland Winkler <winkler@gnu.org>
18367
18368 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
18369 (bibtex-insert-kill): After yanking insert newline if necessary.
18370 (bibtex-initialize): Call bibtex-string-files-init only once.
18371 (bibtex-mode): Do not call easy-menu-add.
18372 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
18373 (bibtex-yank): Set arg properly if nil.
18374
18375 2011-06-05 Roland Winkler <winkler@gnu.org>
18376
18377 * textmodes/bibtex.el (bibtex-search-entry-globally):
18378 New variable.
18379 (bibtex-search-entry): Use it.
18380
18381 2011-06-05 Roland Winkler <winkler@gnu.org>
18382
18383 * textmodes/bibtex.el (bibtex-entry-format): New option
18384 sort-fields.
18385 (bibtex-format-entry, bibtex-reformat): Honor this option.
18386 (bibtex-parse-entry): Return fields in proper order.
18387
18388 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
18389
18390 * doc-view.el (doc-view-remove-if): Move computation of result out
18391 of `dolist' to silence misleading lexical-binding warning.
18392
18393 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
18394
18395 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18396 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18397
18398 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
18399
18400 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18401 "SunOS 5.10".
18402
18403 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
18404
18405 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18406 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18407 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18408 (tramp-parse-putty):
18409 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18410 (tramp-completion-function-alist-ssh)
18411 (tramp-completion-function-alist-telnet)
18412 (tramp-completion-function-alist-su)
18413 (tramp-completion-function-alist-putty): Set `tramp-autoload'
18414 cookie.
18415
18416 * net/tramp-ftp.el:
18417 * net/tramp-sh.el:
18418 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18419 load "tramp.el" `tramp-set-completion-function'.
18420
18421 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
18422
18423 * shell.el: Require and use pcomplete.
18424 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18425 (shell-completion-vars): Set pcomplete-default-completion-function.
18426
18427 2011-06-04 Deniz Dogan <deniz@dogan.se>
18428
18429 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18430 `memq' (Bug#8799).
18431
18432 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18433
18434 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18435
18436 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
18437
18438 * bs.el (bs--mark-unmark, bs--nth-wrapper):
18439 * mpc.el (mpc-select-extend, mpc-songpointer-context):
18440 * vc/log-view.el (log-view-beginning-of-defun):
18441 * vc/smerge-mode.el (smerge-apply-resolution-patch)
18442 (smerge-refine-forward, smerge-refine-chopup-region):
18443 Silence warning for unused `dotimes' counter variables.
18444
18445 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18446
18447 * net/tramp.el (tramp-with-progress-reporter): Rename from
18448 with-progress-reporter. Use `declare'.
18449 * net/tramp-smb.el:
18450 * net/tramp-sh.el:
18451 * net/tramp-gvfs.el: Update all uses.
18452
18453 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
18454
18455 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
18456 buffer isn't killed before making it current.
18457
18458 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18459
18460 Silence various byte-compiler warnings.
18461 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18462 `access-type' and new obsolescence format.
18463 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18464 new format.
18465 (byte-compile-check-variable): New `access-type' argument.
18466 Only warn if the access-type is obsolete.
18467 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18468 (byte-compile-variable-set): Adjust callers.
18469 * help-fns.el (describe-variable): Adjust to new obsolescence format.
18470 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
18471 setting it as obsolete.
18472 * simple.el (minibuffer-completing-symbol):
18473 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
18474 access as obsolete.
18475 * minibuffer.el (minibuffer-completing-file-name): Don't make it
18476 obsolete yet.
18477 * international/quail.el (quail-mouse-choose-completion): Remove unused
18478 code referring to obsolete var.
18479 (quail-choose-completion-string): Remove.
18480 * server.el (server-clients-with, server-kill-buffer-query-function)
18481 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
18482 * proced.el (proced-send-signal):
18483 * emacs-lisp/lisp.el (lisp-complete-symbol):
18484 Replace completion-annotate-function with completion-extra-properties.
18485
18486 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18487
18488 * simple.el (goto-line): Use read-number.
18489 (overriding-map-is-bound): Remove.
18490 (saved-overriding-map): Change default.
18491 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
18492 Take the map as argument.
18493 (universal-argument, negative-argument, digit-argument): Use it.
18494 (restore-overriding-map): Adjust.
18495 (do-auto-fill): Use fill-forward-paragraph.
18496 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
18497
18498 * minibuffer.el (minibuffer-inactive-mode-map): New var.
18499 (minibuffer-inactive-mode): New major mode.
18500 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
18501 the *Messages* buffer" hack.
18502 (mouse-popup-menubar): Don't burp if the event is a normal key.
18503
18504 Miscellaneous tweaks.
18505 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18506 lexical scoping as in subr.el's dolist and dotimes.
18507 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18508 Silence compiler warning.
18509 * thingatpt.el (forward-whitespace): Trivial coding style fix.
18510 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18511 * international/ccl.el (ccl-compile): Trivial simplification.
18512 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
18513 * emacs-lisp/testcover.el (testcover-end): Remove spurious
18514 `printflag' argument.
18515 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18516 Purecopy the whole obsolescence data.
18517
18518 2011-06-01 Leo Liu <sdl.web@gmail.com>
18519
18520 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
18521 improve doc-string as suggested by Marco Pessotto
18522 <melmothx@gmail.com>.
18523 (rcirc-print): Fix last change.
18524
18525 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18526
18527 * minibuffer.el (complete-with-action): Return nil for the metadata and
18528 boundaries of non-functional tables.
18529 (completion-table-dynamic): Return nil for the metadata.
18530 (completion-table-with-terminator): Add default case, using
18531 complete-with-action.
18532 (completion--metadata): New function.
18533 (completion-all-sorted-completions, minibuffer-completion-help): Use it
18534 to try and avoid pathological performance problems.
18535 (completion--embedded-envvar-table): Return `category' metadata.
18536
18537 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
18538
18539 * subr.el (process-alive-p): New tiny convenience function.
18540
18541 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18542
18543 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
18544 content but also its previous major mode.
18545
18546 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
18547
18548 * emacs-lisp/debug.el (debug): Restore the previous content of the
18549 *Backtrace* buffer when we exit with C-M-c.
18550
18551 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18552
18553 * minibuffer.el: Add metadata method to completion tables.
18554 (completion-category-overrides): New defcustom.
18555 (completion-metadata, completion--field-metadata)
18556 (completion-metadata-get, completion--styles)
18557 (completion--cycle-threshold): New functions.
18558 (completion-try-completion, completion-all-completions):
18559 Add `metadata' argument to choose completion-styles.
18560 (completion--do-completion): Use metadata to choose cycling.
18561 (completion-all-sorted-completions): Use metadata for sorting.
18562 Remove :completion-cycle-penalty which is not needed any more.
18563 (completion--try-word-completion): Add `metadata' argument.
18564 (minibuffer-completion-help): Check metadata for annotation function
18565 and sorting.
18566 (completion-file-name-table): Return `category' metadata.
18567 (minibuffer-completing-file-name): Make obsolete.
18568 * simple.el (minibuffer-completing-symbol): Make obsolete.
18569 * icomplete.el (icomplete-completions): Pass new `metadata' param to
18570 completion-try-completion.
18571
18572 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18573
18574 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
18575
18576 2011-05-30 Leo Liu <sdl.web@gmail.com>
18577
18578 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
18579 (rcirc-print): Decode all incoming messages (bug#8744).
18580 (rcirc-decode-coding-system): Allow value nil for automatic coding
18581 system detection.
18582
18583 2011-06-01 Glenn Morris <rgm@gnu.org>
18584
18585 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
18586
18587 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18588
18589 * image.el (image-animate-max-time): Allow nil and t values.
18590 Default to nil.
18591 (create-animated-image): Doc fix.
18592 (image-animate-start): Remove second arg; just use
18593 image-animate-max-time.
18594 (image-animate-timeout): Doc fix. Args changed.
18595
18596 * image-mode.el (image-toggle-display-image): Ensure that the
18597 image spec passed to the animate timer is the same object as in
18598 the buffer's display property (Bug#6981).
18599 (image-transform-properties): Doc fix.
18600
18601 * image.el (image-animate-max-time): Default to nil.
18602
18603 2011-05-29 Martin Rudalics <rudalics@gmx.at>
18604
18605 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
18606 entire buffer list (Bug#8184).
18607
18608 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18609
18610 * image.el (imagemagick-types-inhibit)
18611 (imagemagick-register-types): Doc fix.
18612
18613 2011-05-29 Deniz Dogan <deniz@dogan.se>
18614
18615 * net/rcirc.el (rcirc): Use the user's stored encryption method by
18616 default.
18617
18618 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18619
18620 * select.el: Don't perform clipboard-manager saving in hooks;
18621 leave the hooks empty.
18622
18623 2011-05-28 Leo Liu <sdl.web@gmail.com>
18624
18625 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
18626 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
18627 (occur-edit-mode): New major mode (Bug#8463).
18628 (occur-after-change-function): New function.
18629 (occur-engine): Give Occur tags a read-only property.
18630
18631 2011-05-28 Kevin Ryde <user42@zip.com.au>
18632
18633 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
18634
18635 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18636
18637 * bindings.el (help-echo): Make the initial non-indicator dash
18638 empty on graphical terminals (Bug#7295).
18639
18640 * files.el (auto-mode-alist): Move config rule after the
18641 in-stripping one (Bug#8547).
18642
18643 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
18644
18645 * startup.el (normal-splash-screen): Remove gratuitous mode-line
18646 setting (Bug#8740).
18647
18648 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
18649
18650 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
18651 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
18652 (Bug#8539).
18653
18654 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18655
18656 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
18657
18658 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
18659
18660 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
18661 (hs-hide-block-at-point, hs-find-block-beginning)
18662 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
18663 (Bug#8279).
18664
18665 2011-05-28 Glenn Morris <rgm@gnu.org>
18666
18667 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
18668
18669 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18670
18671 * help-fns.el (describe-function-1): If the function is a derived
18672 major mode, print the parent mode.
18673
18674 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
18675 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
18676
18677 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
18678
18679 * minibuffer.el (completion--capf-wrapper): Check applicability before
18680 returning non-nil for non-exclusive completion data.
18681 * progmodes/etags.el (tags-completion-at-point-function):
18682 * info-look.el (info-lookup-completions-at-point): Mark as
18683 non-exclusive.
18684 (info-complete): Adjust accordingly.
18685
18686 * info-look.el: Convert to lexical-binding and completion-at-point.
18687 (info-lookup-completions-at-point): New function.
18688 (info-complete): Use it and completion-in-region.
18689
18690 2011-05-28 Drew Adams <drew.adams@oracle.com>
18691
18692 * isearch.el: Let M-e start with point at the first mismatched char.
18693 (isearch-fail-pos): New function.
18694 (isearch-edit-string): Use it.
18695
18696 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18697
18698 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18699
18700 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
18701
18702 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
18703 traversal functions for avl-trees.
18704 (avl-tree--stack): New struct.
18705 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18706 (avl-tree-enter): Add optional `updatefun' arg.
18707 (avl-tree--do-enter): Add optional `updatefun' arg.
18708 Change return value.
18709 (avl-tree-delete): Add optional `test' and `nilflag' args.
18710 (avl-tree--do-delete): Add `test' and `nilflag' args.
18711 Change return value.
18712 (avl-tree-member): Add optional `nilflag'
18713 (avl-tree-member-p): New function.
18714 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18715 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18716 (avl-tree-stack-empty-p): New functions.
18717
18718 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18719 avl-tree--del-balance1 and make it work both ways.
18720 (avl-tree--del-balance2): Remove.
18721 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18722 make it work both ways.
18723 (avl-tree--enter-balance2): Remove.
18724 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18725 New macros.
18726 (avl-tree--mapc, avl-tree-map): Add direction argument.
18727
18728 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
18729
18730 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18731
18732 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
18733
18734 * select.el: Support clipboard managers with built-in function
18735 x-clipboard-manager-save, via delete-frame-functions and
18736 kill-emacs-hook.
18737 (xselect-convert-to-targets): Add MULTIPLE target to list.
18738 (xselect-convert-to-save-targets): New function.
18739
18740 2011-05-27 Kenichi Handa <handa@m17n.org>
18741
18742 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18743 let-binding rfc2047-encode-encoded-words to nil.
18744
18745 2011-05-27 Glenn Morris <rgm@gnu.org>
18746
18747 * mail/emacsbug.el: Don't require url-util.
18748
18749 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
18750
18751 * files.el (set-auto-mode):
18752 Also respect mode: entries at the end of the file. (Bug#8586)
18753
18754 2011-05-26 Glenn Morris <rgm@gnu.org>
18755
18756 * files.el (hack-local-variables-prop-line, hack-local-variables):
18757 Downcase mode names, as seems to be traditional.
18758 (hack-local-variables, hack-local-variables-apply): Doc fixes.
18759
18760 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18761 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
18762
18763 2011-05-25 Julien Danjou <julien@danjou.info>
18764
18765 * textmodes/rst.el (rst-define-level-faces): Do not define face
18766 symbol if it is already defined.
18767
18768 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18769
18770 * play/5x5.el (5x5-new-game, 5x5-randomize):
18771 Reset 5x5-solver-output to nil when a new grid is cast.
18772 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18773 these debugging traces, as defmacro breaks the compiled code.
18774
18775 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18776
18777 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18778
18779 2011-05-24 Leo Liu <sdl.web@gmail.com>
18780
18781 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18782 (vc-bzr-sha1): Adapt.
18783
18784 * sha1.el: Remove. Function `sha1' is now builtin.
18785
18786 * bindings.el: Provide sha1 feature.
18787
18788 2011-05-24 Kenichi Handa <handa@m17n.org>
18789
18790 * mail/sendmail.el: Require `rfc2047'.
18791 (mail-insert-from-field): Do not perform RFC2047 encoding.
18792 (mail-encode-header): New function.
18793 (sendmail-send-it): Set buffer-file-coding-system of the work
18794 buffer to the return value of select-message-coding-system.
18795 Call mail-encode-header.
18796
18797 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18798
18799 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
18800
18801 * mail/supercite.el (sc-default-cite-frame):
18802 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
18803
18804 2011-05-24 Glenn Morris <rgm@gnu.org>
18805
18806 * progmodes/python.el (brm-menu): Declare.
18807
18808 * emulation/viper.el (viper-set-hooks): Declare.
18809
18810 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18811 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18812 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18813 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18814 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18815 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18816
18817 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18818
18819 Add an :exit-function for completion-at-point.
18820
18821 * minibuffer.el (completion--done): New fun.
18822 (completion--do-completion): Use it. New arg `expect-exact'.
18823 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18824 since completion--do-completion does it for us now.
18825 (minibuffer-force-complete): Use completion--done and
18826 completion--replace. Handle sole-completion case with more care.
18827 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18828 (completion-extra-properties): New var.
18829 (completion-annotate-function): Make obsolete.
18830 (minibuffer-completion-help): Adjust accordingly.
18831 Use completion-list-insert-choice-function.
18832 (completion-at-point, completion-help-at-point):
18833 Bind completion-extra-properties.
18834 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18835 * simple.el (completion-list-insert-choice-function): New var.
18836 (completion-setup-function): Preserve it.
18837 (choose-completion): Pay attention to it, shuffle the code a bit.
18838 (choose-completion-string): New arg `insert-function'.
18839
18840 * textmodes/bibtex.el: Convert to lexical binding.
18841 (bibtex-mode-map): Use completion-at-point.
18842 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18843 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18844 (bibtex-complete): Define as obsolete alias.
18845 (bibtex-complete-internal): Remove.
18846 (bibtex-format-entry): Remove unused sub-group in regexp.
18847 * shell.el (shell--command-completion-data)
18848 (shell-environment-variable-completion):
18849 * pcomplete.el (pcomplete-completions-at-point):
18850 * comint.el (comint--complete-file-name-data): Use :exit-function
18851 instead of completion-table-with-terminator so it also works for
18852 choose-completion.
18853
18854 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18855
18856 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18857
18858 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18859 (bug#8710).
18860
18861 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18862
18863 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18864
18865 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18866 customization variable and implement: If non-nil, auto-fill will
18867 be inhibited while on topic's header line.
18868
18869 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18870
18871 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
18872 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
18873 always have a solution in grid size = 5 cases.
18874 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18875 (5x5-solver-output, 5x5-log-buffer): New vars.
18876 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18877 Make these variables buffer local to achieve 5x5 multi-session-ness.
18878 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18879 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18880 (5x5-solve-suggest): New funs.
18881 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18882 randomize a grid so that we ensure that there is always a solution.
18883 (5x5-make-random-grid): Allow other movement than flipping.
18884
18885 2011-05-23 Kevin Ryde <user42@zip.com.au>
18886
18887 * emacs-lisp/advice.el (ad-read-advised-function):
18888 Use `function-called-at-point' as the default, if it has
18889 advice and passes PREDICATE.
18890
18891 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18892
18893 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18894 byte-compile-lambda if it's actually a lambda.
18895
18896 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18897 Fix function quoting. Use backquote better.
18898
18899 2011-05-22 Yuanle Song <sylecn@gmail.com>
18900
18901 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18902 matching (Bug#8516).
18903
18904 2011-05-22 Jari Aalto <jari.aalto@cante.net>
18905
18906 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18907 different face (Bug#8178).
18908
18909 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
18910
18911 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18912 defface (Bug#8144).
18913
18914 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18915
18916 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18917 funcall as well (bug#8712). Warn when performing those conversions.
18918 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18919
18920 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18921
18922 2011-05-22 Glenn Morris <rgm@gnu.org>
18923
18924 * files.el (hack-local-variables-prop-line): Small simplifications.
18925 (hack-local-variables, hack-local-variables-prop-line):
18926 If MODE-ONLY, return the mode, rather than just `t'.
18927
18928 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18929
18930 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18931
18932 2011-05-21 Glenn Morris <rgm@gnu.org>
18933
18934 * files.el (hack-local-variables-prop-line, hack-local-variables):
18935 If only interested in the mode, don't bother doing the other stuff.
18936
18937 * image-mode.el (image-after-revert-hook):
18938 Redraw all frames on which the image is visible. (Bug#8567)
18939
18940 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18941
18942 * wid-edit.el (widget-checklist-match-inline):
18943 Fix 2011-04-19 change. (Bug#8649)
18944
18945 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18946
18947 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18948 Also allow singlespace after single-letter capitals followed by a dot.
18949
18950 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18951 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18952
18953 2011-05-20 Nix <nix@esperi.org.uk>
18954
18955 * files.el (basic-save-buffer-2):
18956 Fix handling of break-hardlink-on-save with non-existent files.
18957
18958 2011-05-19 Deniz Dogan <deniz@dogan.se>
18959
18960 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
18961 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
18962
18963 2011-05-19 Glenn Morris <rgm@gnu.org>
18964
18965 * progmodes/f90.el (f90-type-def-re):
18966 Handle "type, bind(c)". (Bug#8691)
18967
18968 * emacs-lisp/autoload.el (batch-update-autoloads):
18969 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18970
18971 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
18972
18973 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18974 property for the correct connection in case of multihops.
18975
18976 2011-05-18 Glenn Morris <rgm@gnu.org>
18977
18978 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
18979 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18980
18981 Rationalize calendar handling of day and month abbrev-arrays.
18982 * calendar/calendar.el (calendar-customized-p): New function.
18983 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18984 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18985 Add :set function.
18986 (calendar-abbrev-length, calendar-day-abbrev-array)
18987 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18988 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18989 Elements may no longer be nil.
18990 (calendar-day-name, calendar-month-name):
18991 Update for changed nature of abbrev arrays.
18992 * calendar/diary-lib.el (diary-name-pattern):
18993 Update for changed nature of abbrev arrays.
18994 (diary-mark-entries-1): Update calendar-make-alist calls.
18995 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18996 * calendar/cal-html.el (cal-html-day-abbrev-array):
18997 Simply inherit from calendar-day-abbrev-array.
18998
18999 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
19000
19001 * progmodes/grep.el (grep-mode): Disable default
19002 compilation-directory-matcher setting (bug#8684).
19003
19004 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
19005
19006 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
19007 instead of "head" and "tail". There were problems with SunOS 5.9,
19008 and it performs better.
19009
19010 2011-05-17 Glenn Morris <rgm@gnu.org>
19011
19012 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
19013
19014 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
19015 Replace obsolete function.
19016
19017 * shell.el (pcomplete-parse-arguments-function): Declare.
19018
19019 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
19020 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
19021 (appt-check): Doc fixes.
19022 (appt-disp-window-function, appt-delete-window-function):
19023 Remove needless special case in custom :type.
19024 (appt-display-count): Default to 0, not nil.
19025 (appt-check): Reset appt-display-count to 0, not nil.
19026
19027 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
19028
19029 * progmodes/python.el (python-font-lock-keywords):
19030 Add the Python 3.X keyword "nonlocal" (bug#8639).
19031
19032 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
19033
19034 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
19035
19036 2011-05-16 Kevin Ryde <user42@zip.com.au>
19037
19038 * info-look.el (makefile-automake-mode): New setups, looking in
19039 automake manual, then makefile-mode.
19040 (makefile-mode): Remove automake manual, have it just in
19041 makefile-automake-mode since there's various things different or
19042 not relevant to plain make.
19043 (makefile-mode): Remove "other-modes" non-existent automake-mode,
19044 believe a hypothetical automake-mode would go to makefile-mode,
19045 not the other way around.
19046
19047 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
19048
19049 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
19050 hunk-end tags (Bug#8672).
19051
19052 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
19053 vc-annotate-show-diff-revision-at-line (Bug#8671).
19054
19055 2011-05-14 Glenn Morris <rgm@gnu.org>
19056
19057 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
19058 in the middle of an existing one with multiple authors. (Bug#8645)
19059 (change-log-font-lock-keywords): Also handle multiple author lines
19060 with leading tabs. (Bug#8644)
19061
19062 * calendar/appt.el (appt-check): Rename some local variables.
19063 Some simplification/reordering.
19064
19065 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
19066 (feedmail-sendmail-f-doesnt-sell-me-out)
19067 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19068 (feedmail-debug-sit-for, feedmail-queue-express-hook)
19069 (feedmail-queue-runner-message-sender): Set :version.
19070 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
19071 (bbdb-dwim-net-address, vm-mail): Declare.
19072 (feedmail-binmail-gnulinuxish-template):
19073 Rename from feedmail-binmail-linuxish-template.
19074 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
19075 Use insert-buffer-substring.
19076
19077 2011-05-14 Bill Carpenter <bill@carpenter.org>
19078
19079 * mail/feedmail.el (feedmail-patch-level): Increase.
19080 (feedmail-debug): New custom group.
19081 (feedmail-confirm-outgoing-timeout)
19082 (feedmail-sendmail-f-doesnt-sell-me-out)
19083 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19084 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
19085 (feedmail-sender-line, feedmail-from-line)
19086 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
19087 (feedmail-spray-this-address)
19088 (feedmail-spray-address-fiddle-plex-list)
19089 (feedmail-queue-use-send-time-for-date)
19090 (feedmail-queue-use-send-time-for-message-id)
19091 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
19092 (feedmail-buffer-eating-function):
19093 Doc fixes.
19094 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
19095 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
19096 (feedmail-message-action-scroll-down): New functions.
19097 (feedmail-queue-directory, feedmail-queue-draft-directory):
19098 Use expand-file-name.
19099 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
19100 Remove C-v help entry.
19101 (feedmail-queue-buffer-file-name): New variable.
19102 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
19103 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
19104 (feedmail-message-action-send-strong, feedmail-message-action-edit)
19105 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
19106 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
19107 (feedmail-message-action-toggle-spray)
19108 (feedmail-run-the-queue-no-prompts)
19109 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
19110 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
19111 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
19112 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
19113 (feedmail-envelope-deducer, feedmail-fiddle-from)
19114 (feedmail-fiddle-sender, feedmail-default-date-generator)
19115 (feedmail-fiddle-date, feedmail-fiddle-message-id)
19116 (feedmail-fiddle-spray-address)
19117 (feedmail-fiddle-list-of-spray-fiddle-plexes)
19118 (feedmail-fiddle-list-of-fiddle-plexes)
19119 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
19120 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
19121 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
19122 Change default. Doc fix.
19123 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
19124 (feedmail-binmail-linuxish-template): New constant.
19125 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
19126 Respect feedmail-sendmail-f-doesnt-sell-me-out.
19127 (feedmail-send-it): Add debug call.
19128 Use feedmail-queue-buffer-file-name, and
19129 feedmail-send-it-immediately-wrapper.
19130 (feedmail-message-action-send): Add debug call.
19131 Use feedmail-send-it-immediately-wrapper.
19132 (feedmail-queue-express-to-queue): Add debug call.
19133 Run feedmail-queue-express-hook.
19134 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
19135 (feedmail-message-action-help-blat):
19136 Rename from feedmail-queue-send-edit-prompt-help-first.
19137 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
19138 Check line-endings. Handle errors better.
19139 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
19140 Doc fix. Add debug call.
19141 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
19142 Use feedmail-queue-send-edit-prompt-inner.
19143 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
19144 (feedmail-queue-send-edit-prompt-inner): New function, extracted
19145 from feedmail-queue-send-edit-prompt.
19146 (feedmail-queue-send-edit-prompt-help)
19147 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
19148 (feedmail-tidy-up-slug): Add debug call.
19149 Respect feedmail-queue-slug-suspect-regexp.
19150 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
19151 (feedmail-dump-message-to-queue): Add debug call.
19152 Expand queue-directory.
19153 (feedmail-dump-message-to-queue): Change message slightly.
19154 Use feedmail-say-chatter.
19155 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
19156 (feedmail-send-it-immediately-wrapper): New function.
19157 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
19158 Insert empty string rather than newline. Handle full-frame case.
19159 Use catch/throw. Use feedmail-say-chatter.
19160 (feedmail-fiddle-from): Try mail-host-address.
19161 (feedmail-default-message-id-generator): Doc fix.
19162 Bind system-time-locale. Handle missing end.
19163 (feedmail-fiddle-x-mailer): Add debug call.
19164 Handle feedmail-x-mailer-line being nil.
19165 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
19166 Add debug call. Use buffer-substring-no-properties.
19167 (feedmail-say-debug, feedmail-say-chatter): New functions.
19168 (feedmail-find-eoh): Give an explicit error.
19169
19170 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
19171
19172 * net/newst-treeview.el (newsticker-treeview-face): Change default
19173 family from helvetica to sans.
19174 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
19175 etc/images/newsticker.
19176
19177 * net/newst-reader.el (newsticker-feed-face): Change default
19178 family from helvetica to sans.
19179
19180 * net/newst-plainview.el (newsticker-new-item-face)
19181 (newsticker-old-item-face, newsticker-immortal-item-face)
19182 (newsticker-obsolete-item-face, newsticker-date-face)
19183 (newsticker-statistics-face): Change default family from
19184 helvetica to sans.
19185 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
19186 etc/images/newsticker.
19187
19188 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19189 (newsticker--process-auto-mark-filter-match): Tell user about
19190 auto-marking.
19191
19192 2011-05-13 Didier Verna <didier@xemacs.org>
19193
19194 Common Lisp indentation improvements on defmethod and lambda-lists.
19195 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19196 TODO entries.
19197 (lisp-lambda-list-keyword-parameter-indentation)
19198 (lisp-lambda-list-keyword-parameter-alignment)
19199 (lisp-lambda-list-keyword-alignment): New customizable user options.
19200 (lisp-indent-defun-method): Improve docstring.
19201 (extended-loop-p): Fix comment.
19202 (lisp-indent-lambda-list-keywords-regexp): New variable.
19203 (lisp-indent-lambda-list): New function.
19204 (lisp-indent-259): Use it.
19205 (lisp-indent-defmethod): Support for more than one
19206 method qualifier and properly indent methods lambda-lists.
19207 (defgeneric): Provide a missing common-lisp-indent-function property.
19208
19209 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
19210
19211 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19212 bounds for the empty string (bug#8667).
19213
19214 2011-05-13 Glenn Morris <rgm@gnu.org>
19215
19216 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19217
19218 * mail/sendmail.el (sendmail-program): Try executable-find first.
19219 (sendmail-send-it): `sendmail-program' cannot be unbound.
19220
19221 * calendar/appt.el (appt-make-list): Simplify.
19222 (appt-time-msg-list): Doc fix.
19223 (appt-check): Change mode-line message at the time of the appointment.
19224
19225 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
19226
19227 * progmodes/ld-script.el (ld-script-keywords)
19228 (ld-script-builtins): Update keywords list.
19229
19230 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19231
19232 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
19233
19234 * shell.el (shell-completion-vars): New function.
19235 (shell-mode):
19236 * simple.el (read-shell-command): Use it.
19237 (blink-matching-open): No need for " [...]" in minibuffer-message.
19238
19239 2011-05-12 Glenn Morris <rgm@gnu.org>
19240
19241 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
19242 (appt-check): Simplify.
19243
19244 2011-05-12 Eli Zaretskii <eliz@gnu.org>
19245
19246 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
19247 literal "/dev/null".
19248
19249 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19250
19251 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19252 Fix typo.
19253
19254 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
19255
19256 * progmodes/which-func.el (which-function):
19257 Use add-log-current-defun instead of add-log-current-defun-function,
19258 which might not be defined (Bug#8260).
19259
19260 2011-05-12 Glenn Morris <rgm@gnu.org>
19261
19262 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19263 Let byte-compile-initial-macro-environment always take precedence.
19264
19265 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19266
19267 * net/rcirc.el: Add support for SSL/TLS connections.
19268 (rcirc-server-alist): New field `encryption'.
19269 (rcirc): Check `encryption' settings.
19270 (rcirc-connect): New arg `encryption'. Use open-network-stream.
19271 Merge make-local-variable into `set'.
19272 (rcirc--connection-open-p): New function.
19273 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19274 the process is not a network process (e.g. running gnutls-cli).
19275 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19276 Make rcirc-(en|de)code-coding-system local here.
19277 (rcirc-mode): Merge make-local-variable into `set'.
19278 (rcirc-parent-buffer): Make permanent buffer-local.
19279 (rcirc-multiline-minor-mode): Don't do it here.
19280 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
19281 there's no server buffer.
19282
19283 2011-05-11 Glenn Morris <rgm@gnu.org>
19284
19285 * newcomment.el (comment-kill): Prefix "unused" local.
19286
19287 * term/w32console.el (get-screen-color): Declare.
19288
19289 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
19290 Handle symbol elements of byte-compile-initial-macro-environment.
19291
19292 2011-05-10 Leo Liu <sdl.web@gmail.com>
19293
19294 * bookmark.el (bookmark-bmenu-mode-map):
19295 Bind bookmark-bmenu-search to `/'.
19296
19297 * mail/footnote.el: Convert to utf-8 encoding.
19298 (footnote-unicode-string, footnote-unicode-regexp): New variable.
19299 (Footnote-unicode): New function.
19300 (footnote-style-alist): Add unicode style to the list.
19301 (footnote-style): Doc fix.
19302
19303 2011-05-10 Jim Meyering <meyering@redhat.com>
19304
19305 Fix doubled-word typos.
19306 * international/quail.el (quail-insert-kbd-layout): and and -> and
19307 * kermit.el: and and -> and
19308 * net/ldap.el (ldap-search-internal): to to -> to
19309 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
19310 * progmodes/js.el (js-mode): and and -> and
19311 * textmodes/artist.el (artist-move-to-xy): at at -> at
19312 (artist-draw-region-trim-line-endings): if if -> if
19313 And Safetyc -> Safety.
19314 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
19315
19316 2011-05-10 Glenn Morris <rgm@gnu.org>
19317 Stefan Monnier <monnier@iro.umontreal.ca>
19318
19319 * files.el (hack-one-local-variable-eval-safep):
19320 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
19321
19322 2011-05-10 Glenn Morris <rgm@gnu.org>
19323
19324 * calendar/diary-lib.el (diary-list-entries-hook)
19325 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19326 (diary-nongregorian-marking-hook, diary-list-entries)
19327 (diary-include-other-diary-files, diary-mark-entries)
19328 (diary-mark-included-diary-files): Doc fixes.
19329
19330 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
19331
19332 * misc.el: Require tabulated-list.el during compilation.
19333
19334 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
19335
19336 * progmodes/compile.el (compilation-start):
19337 Run compilation-filter-hook for the async case too.
19338 (compilation-filter-hook): Doc fix.
19339
19340 2011-05-09 Deniz Dogan <deniz@dogan.se>
19341
19342 * wdired.el: Remove outdated installation comment. Fix usage
19343 comment.
19344
19345 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
19346
19347 * misc.el: Implement new command `list-dynamic-libraries'.
19348 (list-dynamic-libraries--loaded-only-p): New variable.
19349 (list-dynamic-libraries--refresh): New function.
19350 (list-dynamic-libraries): New command.
19351
19352 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
19353
19354 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19355 Fix the ant regexp to handle end-line and end-column info from jikes.
19356 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
19357 higher priority to avoid clobbering by gnu.
19358
19359 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
19360
19361 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
19362 if the face has existing theme settings (Bug#8454).
19363
19364 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
19365
19366 * progmodes/perl-mode.el (perl-imenu-generic-expression):
19367 Only match variables declared via `my' or `our' (Bug#8261).
19368
19369 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
19370 special file names `.' and `..' (Bug#8259).
19371
19372 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
19373
19374 * progmodes/grep.el (grep-mode-font-lock-keywords):
19375 Remove buffer-changing entries.
19376 (grep-filter): New function.
19377 (grep-mode): Add it to compilation-filter-hook.
19378
19379 * progmodes/compile.el (compilation-filter-hook)
19380 (compilation-filter-start): New defvars.
19381 (compilation-filter): Call compilation-filter-hook prior to
19382 updating the process mark.
19383
19384 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19385
19386 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19387
19388 2011-05-07 Eli Zaretskii <eliz@gnu.org>
19389
19390 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19391 mailclient-send-it even if window-system is nil. (Bug#8595)
19392
19393 * term/w32console.el (terminal-init-w32console):
19394 Call get-screen-color and use its output to set the frame
19395 background-mode. (Bug#8597)
19396
19397 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19398
19399 Make bytecomp.el understand that defmethod defines funs (bug#8631).
19400 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19401 New functions.
19402 (defgeneric, eieio--defmethod): Use them.
19403 (eieio-defgeneric): Remove.
19404 (defmethod): Call defgeneric in a way visible to the byte-compiler.
19405
19406 2011-05-07 Glenn Morris <rgm@gnu.org>
19407
19408 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19409 Use let rather than let*.
19410 (timeclock-find-discrep): Remove unused local.
19411
19412 * calendar/diary-lib.el (diary-comment-start): Doc fix.
19413
19414 * calendar/appt.el (appt-time-msg-list): Doc fix.
19415
19416 2011-05-06 Noah Friedman <friedman@splode.com>
19417
19418 * apropos.el (apropos-print-doc): Only use
19419 emacs-lisp-docstring-fill-column when it is bound to an integer,
19420 per that variable's documentation.
19421
19422 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19423
19424 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
19425 and warnings are not silently discarded (e.g. use -d instead of -P).
19426
19427 2011-05-06 Glenn Morris <rgm@gnu.org>
19428
19429 * calendar/appt.el (appt-message-warning-time): Doc fix.
19430 (appt-warning-time-regexp): New option.
19431 (appt-make-list): Respect appt-message-warning-time.
19432
19433 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19434 New options.
19435 (diary-add-to-list): Strip comments from the displayed string.
19436 (diary-mode): Set comment-start and comment-end.
19437
19438 * vc/diff-mode.el (smerge-refine-subst): Declare.
19439 (diff-refine-hunk): Don't require smerge-mode when compiling.
19440
19441 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
19442
19443 * simple.el (list-processes): Return nil as the docstring says.
19444
19445 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
19446
19447 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19448 to "".
19449 (ange-ftp-write-region, ange-ftp-insert-file-contents)
19450 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19451 determining of binary transfer. (Bug#7383)
19452
19453 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
19454
19455 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19456 Fix port computation bug. (Bug#8618)
19457
19458 2011-05-05 Glenn Morris <rgm@gnu.org>
19459
19460 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19461
19462 * simple.el (shell-dynamic-complete-functions)
19463 (comint-dynamic-complete-functions): Declare.
19464
19465 * net/network-stream.el (gnutls-negotiate):
19466 * simple.el (tabulated-list-print): Fix declarations.
19467
19468 * progmodes/gud.el (syntax-symbol, syntax-point):
19469 Remove unnecessary and incorrect declarations.
19470
19471 * emacs-lisp/check-declare.el (check-declare-scan):
19472 Handle byte-compile-initial-macro-environment in bytecomp.el.
19473
19474 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19475
19476 Fix earlier half-done eieio-defmethod change (bug#8338).
19477 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
19478 Streamline and change calling convention.
19479 (defmethod): Adjust accordingly and simplify.
19480 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
19481 new eieio--defmethod.
19482 (slot-boundp): Minor CSE simplification.
19483
19484 2011-05-05 Milan Zamazal <pdm@zamazal.org>
19485
19486 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
19487 (glasses-make-readable): Use glasses-separate-capital-groups.
19488
19489 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
19490
19491 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
19492 (warning-series): Doc fix.
19493 (display-warning): Don't try to create the buffer if we just found it.
19494
19495 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
19496
19497 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
19498 (autoload-find-generated-file): New function.
19499 (generate-file-autoloads): Bind generated-autoload-file to
19500 buffer-file-name.
19501 (update-file-autoloads, update-directory-autoloads):
19502 Use autoload-find-generated-file. If called interactively, prompt for
19503 output file (Bug#7989).
19504 (batch-update-autoloads): Doc fix.
19505
19506 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
19507
19508 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19509
19510 2011-05-04 Glenn Morris <rgm@gnu.org>
19511
19512 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19513 function, so it follows changes in calendar-date-style.
19514 (diary-fancy-date-matcher): New function.
19515 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
19516 (diary-fancy-font-lock-fontify-region-function):
19517 Use diary-fancy-date-pattern as a function.
19518
19519 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
19520 non-numbers for `year' etc pseudo-variables. (Bug#8583)
19521
19522 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
19523
19524 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
19525 instead of positional arguments. Allow :keylist and :crlfiles
19526 arguments.
19527 (open-gnutls-stream): Call it.
19528
19529 * net/network-stream.el (network-stream-open-starttls): Adjust to
19530 call `gnutls-negotiate' with :process and :hostname arguments.
19531
19532 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
19533
19534 * minibuffer.el (completion--message): New function.
19535 (completion--do-completion, minibuffer-complete)
19536 (minibuffer-force-complete, minibuffer-complete-word): Use it.
19537 (completion--do-completion): Don't ignore completion-auto-help when in
19538 icomplete-mode.
19539
19540 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
19541 internal encoding (e.g. tibetan zero is not whitespace).
19542 (global-whitespace-mode): Prefer save-current-buffer.
19543 (whitespace-trailing-regexp): Remove useless save-match-data.
19544 (whitespace-empty-at-bob-regexp): Minor simplification.
19545
19546 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
19547
19548 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
19549
19550 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19551
19552 * textmodes/ispell.el (ispell-add-per-file-word-list):
19553 Use `concat' to create string for insertion.
19554
19555 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19556
19557 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
19558 Avoid open-line which runs post-self-insert-hook.
19559 (bibtex-fill-entry): Remove unused `end' var.
19560
19561 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
19562
19563 * textmodes/ispell.el (ispell-add-per-file-word-list):
19564 Protect against `nil' value of `comment-start' (Bug#8579).
19565
19566 2011-05-03 Leo Liu <sdl.web@gmail.com>
19567
19568 * isearch.el (isearch-yank-pop): New command.
19569 (isearch-mode-map): Bind it to `M-y'.
19570 (isearch-forward): Mention it.
19571
19572 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19573
19574 * simple.el (minibuffer-complete-shell-command): Remove.
19575 (minibuffer-local-shell-command-map): Use completion-at-point.
19576 (read-shell-command): Setup completion vars here instead.
19577 (read-expression-map): Bind TAB to symbol completion.
19578
19579 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
19580 error directly rather via storing it into `results'.
19581
19582 2011-05-02 Leo Liu <sdl.web@gmail.com>
19583
19584 * vc/diff.el: Fix description.
19585
19586 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19587
19588 * server.el (server-eval-at): New function.
19589
19590 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19591
19592 * net/network-stream.el (open-network-stream): Take a :nowait
19593 parameter and pass it on to `make-network-process'.
19594 (network-stream-open-plain): Ditto.
19595
19596 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
19597
19598 * faces.el (face-spec-set-match-display): Don't match toolkit
19599 options on terminal frames.
19600
19601 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
19602
19603 * progmodes/pascal.el: Use lexical binding.
19604 (pascal-mode-map): Remove author preferences.
19605
19606 * pcomplete.el (pcomplete-std-complete): Don't abuse
19607 completion-at-point.
19608
19609 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19610
19611 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
19612 removing code that has been dead since 1991 or so.
19613
19614 * startup.el (command-line): When warning about "_emacs", use a
19615 delayed warning to allow the user to filter it out.
19616
19617 2011-04-28 Deniz Dogan <deniz@dogan.se>
19618
19619 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
19620 user has not joined.
19621
19622 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19623
19624 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
19625 aren't any completions at point.
19626
19627 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19628
19629 * subr.el (display-delayed-warnings): New function.
19630 (delayed-warnings-hook): New variable.
19631
19632 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19633
19634 * minibuffer.el (completion-at-point, completion-help-at-point):
19635 Don't presume that a given completion-at-point-function will always
19636 use the same calling convention.
19637
19638 * pcomplete.el (pcomplete-completions-at-point):
19639 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
19640 pcomplete-seen is non-nil.
19641 (pcomplete-comint-setup): Also recognize the new comint/shell
19642 completion functions.
19643 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
19644 pcomplete-seen is non-nil.
19645
19646 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
19647
19648 * calendar/icalendar.el (diary-lib): Add require statement.
19649 (icalendar--create-uid): Read out a uid from a text-property on
19650 the first character in the entry. This allows for code to add its
19651 own uid to the entry.
19652 (icalendar--convert-float-to-ical): Add export of
19653 `diary-float'-entries save for those with the optional DAY
19654 argument.
19655
19656 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
19657
19658 * subr.el (shell-quote-argument): Use alternate escaping strategy
19659 when we spot a variable reference in a string.
19660
19661 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19662
19663 * cus-start.el (all): Define customization for debug-on-event.
19664
19665 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19666
19667 * subr.el (shell-quote-argument): Escape correctly under Windows.
19668
19669 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19670
19671 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
19672
19673 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
19674
19675 * net/tramp.el (tramp-process-actions): Add POS argument.
19676 Delete region between POS and (pos).
19677
19678 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19679 Use `nil' position in `tramp-process-actions' call.
19680 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
19681
19682 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19683 position in `tramp-process-actions' call.
19684
19685 * net/trampver.el: Update release number.
19686
19687 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19688
19689 * custom.el (defcustom): Obey lexical-binding.
19690
19691 Fix octave-inf completion problems reported by Alexander Klimov.
19692 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19693 Inherit from octave-mode-syntax-table.
19694 (inferior-octave-mode): Set info-lookup-mode.
19695 (inferior-octave-completion-at-point): New function.
19696 (inferior-octave-complete): Use it and completion-in-region.
19697 (inferior-octave-dynamic-complete-functions): Use it as well, and use
19698 comint-filename-completion.
19699 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19700 symbol elements which shouldn't be word elements.
19701 (octave-font-lock-keywords, octave-beginning-of-defun)
19702 (octave-function-header-regexp): Adjust regexps accordingly.
19703 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19704
19705 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
19706
19707 * net/gnutls.el (gnutls-errorp): Declare before first use.
19708
19709 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
19710
19711 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19712 verify-error, and verify-hostname-error parameters. Check whether
19713 default trustfile exists before going to use it. Add missing
19714 argument to gnutls-message-maybe call. Return value.
19715 Reported by Claudio Bley <claudio.bley@gmail.com>.
19716 (open-gnutls-stream): Add usage example.
19717
19718 * net/network-stream.el (network-stream-open-starttls): Give host
19719 parameter to `gnutls-negotiate'.
19720 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
19721 * subr.el (shell-quote-argument): Escape correctly under Windows.
19722
19723 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
19724
19725 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19726 Use correct match group (bug#8438).
19727
19728 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
19729
19730 * emacs-lisp/package.el (package-built-in-p): Fix typo.
19731 (package-menu--generate): New arg specifying packages to show.
19732 (package-menu-refresh, package-menu-execute, list-packages):
19733 Callers changed.
19734 (package-show-package-list): New function, replacing deleted
19735 package--list-packages (renamed because it is non-internal).
19736
19737 * finder.el (finder-list-matches): Use package-show-package-list
19738 instead of deleted package--list-packages.
19739
19740 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19741 Based on a previous implementation by Juanma Barranquero (Bug#8366).
19742 (vc-annotate-mode-map): Bind it to RET.
19743
19744 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
19745
19746 * progmodes/etags.el (next-file): Don't use set-buffer to change
19747 buffers (Bug#8478).
19748
19749 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
19750
19751 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19752
19753 * apropos.el (apropos-label-face): Avoid variable-pitch face.
19754 (apropos-accumulator): Doc fix.
19755 (apropos-function, apropos-macro, apropos-command)
19756 (apropos-variable, apropos-face, apropos-group, apropos-widget)
19757 (apropos-plist): Add face property.
19758 (apropos-symbols-internal): Fix indentation.
19759 (apropos-print): Simplify help, and recognize apropos-multi-type.
19760 (apropos-print-doc): Use button-type-get to extract the button's
19761 face property. Fill docstring (Bug#8352).
19762
19763 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
19764
19765 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19766
19767 * play/mpuz.el (mpuz-silent): Doc fix.
19768 (mpuz-mode-map): Use mapc.
19769 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19770 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19771 Fix typos in docstrings.
19772
19773 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19774 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19775
19776 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19777
19778 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
19779
19780 * minibuffer.el (completion--do-completion): Avoid the "Next char
19781 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19782
19783 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19784 mouse-2 into unread-command-events, it is interpreted correctly.
19785
19786 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
19787 (image-toggle-display): Doc fix.
19788
19789 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
19790
19791 * textmodes/page.el (what-page): Use line-number-at-pos to
19792 calculate line number (Bug#6825).
19793
19794 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
19795
19796 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19797 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19798 Pass argument NO-DEFAULT to `find-tag-interactive'.
19799
19800 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
19801
19802 Lexical-binding cleanup.
19803
19804 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19805 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19806 * progmodes/ada-prj.el (ada-prj-initialize-values)
19807 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19808 (ada-prj-show-value):
19809 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19810 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19811 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19812 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19813 * progmodes/bug-reference.el (bug-reference-push-button):
19814 * progmodes/fortran.el (fortran-line-length):
19815 * progmodes/glasses.el (glasses-change):
19816 * progmodes/octave-mod.el (octave-fill-paragraph):
19817 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19818 (python-pdbtrack-grub-for-buffer, python-sentinel):
19819 * progmodes/sql.el (sql-save-connection):
19820 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19821 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19822 Mark unused parameters.
19823
19824 * progmodes/compile.el (compilation--flush-directory-cache)
19825 (compilation--flush-parse, compile-internal): Mark unused parameters.
19826 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19827 (compilation-next-error-function): Remove unused variable `timestamp'.
19828
19829 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19830 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19831
19832 * progmodes/dcl-mode.el (dcl-end-of-command):
19833 Remove unused variable `start'.
19834 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19835 (dcl-option-value-basic, dcl-option-value-offset)
19836 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19837 Mark unused parameters.
19838 (dcl-save-local-variable): Remove unused variable `val'.
19839 (mode): Declare.
19840
19841 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19842 Mark unused parameters.
19843 (delphi-ignore-changes): Move before first use.
19844 (delphi-charset-token-at): Remove unused variable `start'.
19845 (delphi-else-start): Remove unused variable `if-count'.
19846 (delphi-comment-block-start, delphi-comment-block-end):
19847 Remove unused variable `kind'.
19848 (delphi-indent-line): Remove unused variable `new-point'.
19849
19850 * progmodes/ebrowse.el (ebrowse-files-list)
19851 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19852 Mark unused parameters. Don't quote `lambda'.
19853 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19854 Don't quote `lambda'.
19855 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19856 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19857 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19858 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19859 Use `ignore-errors'.
19860 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19861 (ebrowse-view/find-file-and-search-pattern)
19862 (ebrowse-view/find-member-declaration/definition):
19863 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19864 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19865 Rename parameter PREFIX-ARG to PREFIX.
19866 (ebrowse-tags-read-name): Remove unused variables `start' and
19867 `member-info'.
19868 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19869 to `tags-file'.
19870
19871 * progmodes/etags.el (local-find-tag-hook): Declare.
19872 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19873 Mark unused parameters.
19874
19875 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19876 (executable-interpret): Mark unused parameter.
19877
19878 * progmodes/flymake.el (flymake-process-sentinel)
19879 (flymake-after-change-function)
19880 (flymake-create-temp-with-folder-structure)
19881 (flymake-get-include-dirs-dot): Mark unused parameters.
19882 (flymake-safe-delete-directory): Remove unused variable `err'.
19883
19884 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19885 (speedbar-timer-fn, speedbar-line-text)
19886 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19887 (speedbar-center-buffer-smartly): Declare functions.
19888 (gdb-find-watch-expression): Remove unused variable `array'.
19889 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19890 (gdb-starting): Mark unused parameters.
19891 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19892 (gdb-table-string): Remove unused variable `res'.
19893 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19894 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19895 (gdb-display-buffer): Remove unused variable `cur-size'.
19896
19897 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19898 allow lexical-binding compilation.
19899 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19900 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19901 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19902 Mark unused parameters.
19903 (gud-gdb-marker-filter): Remove unused variable `match'.
19904 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19905 lambda expressions and funcall them, instead of using `fset'.
19906
19907 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19908 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19909
19910 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19911 variable `header-beg'; use `let'.
19912
19913 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19914 `restart', `last-sexp' and `at-do'.
19915
19916 * progmodes/js.el (js--debug): Mark unused parameter.
19917 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19918 (js--splice-into-items): Remove unused variable `item'.
19919 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19920
19921 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19922 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19923 (makefile-complete): Remove unused variable `try'.
19924 (makefile-fill-paragraph, makefile-match-function-end):
19925 Mark unused parameters.
19926
19927 * progmodes/octave-inf.el (inferior-octave-complete):
19928 Remove unused variable `proc'.
19929 (inferior-octave-output-digest): Mark unused parameter.
19930
19931 * progmodes/perl-mode.el (perl-calculate-indent):
19932 Remove unused variable `err'.
19933
19934 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19935 (prolog-indent-line): Mark unused parameters.
19936 (prolog-indent-line): Remove unused variable `beg'.
19937
19938 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19939 (reporter-dont-compact-list): Declare.
19940
19941 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19942 Remove unused variable `char'.
19943 (sh-debug): Mark unused parameter.
19944 (sh-get-indent-info): Remove unused variable `start'.
19945 (sh-calculate-indent): Remove unused variable `var'.
19946
19947 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19948 (simula-electric-keyword): Remove unused variable `null'.
19949 (simula-search-backward, simula-search-forward): Remove unused
19950 variables `begin' and `end'.
19951
19952 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19953 Remove unused variable `pos'.
19954 (vera-electric-tab, vera-comment-uncomment-region):
19955 Mark unused parameters.
19956 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19957
19958 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
19959
19960 * emacs-lisp/package.el (package--builtins, package-alist)
19961 (package-load-descriptor, package-built-in-p, package-activate)
19962 (define-package, package-installed-p)
19963 (package-compute-transaction, package-buffer-info)
19964 (package--push): Doc fix. Distinguish more clearly between
19965 version strings and version lists.
19966
19967 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
19968
19969 Lexical-binding cleanup.
19970
19971 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19972 (5x5-make-mutate-best):
19973 * play/fortune.el (fortune-in-buffer):
19974 * play/gomoku.el (gomoku-init-display):
19975 * play/solitaire.el (solitaire, solitaire-do-check):
19976 * play/tetris.el (tetris-default-update-speed-function):
19977 Mark unused parameters.
19978
19979 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19980 (bubbles--shift): Remove unused variable `char-org'.
19981 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19982 (bubbles--show-images): Remove unused variable `char'.
19983
19984 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19985 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19986 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19987 (decipher-analyze-buffer): Use ?\s.
19988 (decipher-make-checkpoint): Remove unused variable `mapping'.
19989
19990 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19991
19992 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19993 Remove unused variable `result'; use `let'.
19994
19995 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19996 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19997 (gametree-children-shown-p, gametree-compute-reduced-score):
19998 Use `ignore-errors'.
19999
20000 * play/handwrite.el (ps-lpr-switches): Declare.
20001 (handwrite): Remove unused variables `pmin' and `lastp'.
20002
20003 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
20004
20005 * play/landmark.el (landmark-init-display)
20006 (landmark-update-naught-weights): Mark unused parameters.
20007 (landmark-y): Remove unused variable `noise'. Simplify.
20008 (landmark-human-plays): Remove unused variable `score'.
20009
20010 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
20011 (mpuz-try-proposal): Remove unused variable `game'.
20012
20013 * play/zone.el (life-patterns): Declare.
20014
20015 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
20016
20017 * vc/vc.el (ediff-vc-internal): Declare function.
20018
20019 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20020
20021 * shell.el: Use lexical-binding and std completion UI.
20022 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
20023 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
20024 comint-preoutput-filter-functions rather than on
20025 comint-output-filter-functions.
20026 (shell-command-completion, shell--command-completion-data)
20027 (shell-filename-completion, shell-environment-variable-completion)
20028 (shell-c-a-p-replace-by-expanded-directory): New functions.
20029 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
20030 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
20031 (shell-dynamic-complete-environment-variable): Use them.
20032 (shell-dynamic-complete-as-environment-variable)
20033 (shell-dynamic-complete-as-command): Remove.
20034 (shell-match-partial-variable): Match past point.
20035 * comint.el: Clean up use of completion-at-point-functions.
20036 (comint-completion-at-point): New function.
20037 (comint-mode): Use it completion-at-point-functions.
20038 (comint-dynamic-complete): Make it obsolete.
20039 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
20040 (comint-c-a-p-replace-by-expanded-history): New function.
20041 (comint-dynamic-complete-functions)
20042 (comint-replace-by-expanded-history): Use it.
20043 * minibuffer.el (completion-table-with-terminator): Allow dynamic
20044 termination strings. Try harder to avoid second try-completion.
20045 (completion-in-region-mode-map): Disable bindings that don't work yet.
20046
20047 * comint.el: Use lexical-binding. Require CL.
20048 (comint-dynamic-complete-functions): Use comint-filename-completion.
20049 (comint-completion-addsuffix): Tweak custom type.
20050 (comint-filename-completion, comint--common-suffix)
20051 (comint--common-quoted-suffix, comint--table-subvert)
20052 (comint--complete-file-name-data): New functions.
20053 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
20054 (comint-dynamic-list-filename-completions): Use them.
20055 (comint-dynamic-simple-complete): Make obsolete.
20056
20057 * minibuffer.el (completion-in-region-mode):
20058 Keep completion-in-region-mode--predicate global.
20059 (completion-in-region--postch):
20060 Assume completion-in-region-mode--predicate is not null.
20061
20062 * progmodes/flymake.el (flymake-start-syntax-check-process):
20063 Obey `dir'. Simplify.
20064
20065 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
20066 we're in VC after all.
20067
20068 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
20069
20070 * vc/vc.el (vc-diff-build-argument-list-internal)
20071 (vc-version-ediff, vc-ediff): New commands.
20072 (vc-version-diff): Use vc-diff-build-argument-list-internal.
20073
20074 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20075
20076 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
20077 add sanity check.
20078
20079 * obsolete/erc-hecomplete.el: Make obsolete.
20080 * obsolete/: Standardize obsolescence info in the header.
20081
20082 2011-04-20 Glenn Morris <rgm@gnu.org>
20083
20084 * calendar/solar.el (solar-horizontal-coordinates):
20085 Use the longitude argument rather than `calendar-longitude'.
20086 (solar-date-next-longitude): Remove unused locals.
20087
20088 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20089
20090 * whitespace.el: New version 13.2.1.
20091
20092 2011-04-20 felix <EmacsWiki> (tiny change)
20093
20094 * whitespace.el (global-whitespace-mode): Keep highlight when
20095 switching between major modes on a file.
20096
20097 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
20098
20099 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
20100 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
20101 multi-line comments as well.
20102
20103 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
20104
20105 Lexical-binding cleanup.
20106
20107 * arc-mode.el (archive-mode-revert):
20108 * cmuscheme.el (scheme-interactively-start-process):
20109 * custom.el (custom-initialize-delay):
20110 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
20111 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
20112 * emacs-lock.el (emacs-lock-clear-sentinel):
20113 * ezimage.el (defezimage):
20114 * follow.el (follow-avoid-tail-recenter):
20115 * fringe.el (set-fringe-mode-1):
20116 * generic-x.el (bat-generic-mode-compile):
20117 * help-mode.el (help-info-variable, help-do-xref)
20118 (help-mode-revert-buffer):
20119 * help.el (view-emacs-todo):
20120 * iswitchb.el (iswitchb-completion-help):
20121 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
20122 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
20123 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
20124 * locate.el (locate-update):
20125 * longlines.el (longlines-encode-region)
20126 (longlines-after-change-function):
20127 * outline.el (outline-isearch-open-invisible):
20128 * ps-def.el (declare-function, charset-dimension, char-width)
20129 (encode-char):
20130 * ps-mule.el (ps-mule-plot-string):
20131 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
20132 (recentf-edit-list-select, recentf-edit-list-validate)
20133 (recentf-open-files-action):
20134 * rect.el (delete-whitespace-rectangle-line)
20135 (rectangle-number-line-callback):
20136 * register.el (window-configuration-to-register)
20137 (frame-configuration-to-register):
20138 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
20139 * select.el (xselect-convert-to-string, xselect-convert-to-length)
20140 (xselect-convert-to-targets, xselect-convert-to-delete)
20141 (xselect-convert-to-filename, xselect-convert-to-charpos)
20142 (xselect-convert-to-lineno, xselect-convert-to-colno)
20143 (xselect-convert-to-os, xselect-convert-to-host)
20144 (xselect-convert-to-user, xselect-convert-to-class)
20145 (xselect-convert-to-name, xselect-convert-to-integer)
20146 (xselect-convert-to-atom, xselect-convert-to-identity):
20147 * subr.el (declare, ignore, process-kill-without-query)
20148 (text-clone-maintain):
20149 * terminal.el (te-get-char, te-tic-sentinel):
20150 * tool-bar.el (tool-bar-make-keymap):
20151 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
20152 * type-break.el (type-break-mode, type-break-noninteractive-query):
20153 * view.el (View-back-to-mark):
20154 * wid-browse.el (widget-browse-action, widget-browse-widget)
20155 (widget-browse-widgets, widget-browse-sexp):
20156 * widget.el (define-widget-keywords):
20157 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
20158 Mark unused parameters.
20159
20160 * align.el (align-adjust-col-for-rule): Mark unused parameter.
20161 (align-areas): Remove unused variable `look'.
20162 (align-region): Remove unused variables `real-end' and `pos-list'.
20163
20164 * apropos.el (apropos-score-doc): Remove unused variable `i'.
20165
20166 * bindings.el (mode-line-modified, mode-line-remote):
20167 Mark unused parameters.
20168 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
20169
20170 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
20171 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
20172
20173 * comint.el (comint-history-isearch-pop-state)
20174 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
20175 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
20176 (comint-substitute-in-file-name): Doc fix.
20177
20178 * completion.el (cmpl-statistics-block): Mark unused parameter.
20179 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20180 (save-completions-to-file, load-completions-from-file):
20181 Remove unused local variable `e'.
20182
20183 * composite.el (compose-chars): Remove unused variable `len'.
20184 (lgstring-insert-glyph): Remove unused variable `g'.
20185 (compose-glyph-string): Remove unused variables `ascent',
20186 `descent', `lbearing' and `rbearing'.
20187 (compose-glyph-string-relative): Remove unused variables
20188 `lbearing', `rbearing' and `wadjust'.
20189 (compose-gstring-for-graphic): Remove unused variables `header',
20190 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
20191 (compose-gstring-for-terminal): Remove unused variables `header'
20192 and `nchars'. Use `let', not `let*'.
20193
20194 * cus-edit.el (Custom-set, Custom-save, custom-reset)
20195 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20196 (Custom-buffer-done, custom-buffer-create-internal)
20197 (custom-browse-visibility-action, custom-browse-group-tag-action)
20198 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20199 (widget-magic-mouse-down-action, custom-toggle-parent)
20200 (custom-add-parent-links, custom-toggle-hide-variable)
20201 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20202 (custom-toggle-hide-face, face, hook, custom-group-link-action)
20203 (custom-face-menu-create, custom-variable-menu-create, get)
20204 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20205 (custom-reset-standard-save-and-update): Remove unused variable `value'.
20206 (customize-apropos): Remove unused variable `tests'.
20207 (custom-group-value-create): Remove unused variable `hidden-p'.
20208 (sort-fold-case): Declare.
20209
20210 * cus-theme.el (custom-reset-standard-faces-list)
20211 (custom-reset-standard-variables-list): Declare.
20212 (customize-create-theme, custom-theme-revert, custom-theme-write)
20213 (custom-theme-choose-mode, customize-themes, custom-theme-save):
20214 Mark unused parameters.
20215
20216 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20217
20218 * delim-col.el (delimit-columns-max): Move defvar before first use.
20219
20220 * descr-text.el (describe-char-categories): Don't quote `lambda'.
20221 (describe-char): Don't quote `lambda'. Mark unused parameter.
20222
20223 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20224 (auto-insert): Declare.
20225 (desktop-restore-file-buffer): Rename desktop-* parameters;
20226 mark unused ones.
20227 (desktop-create-buffer): Rename desktop-* parameters and bind them.
20228 (desktop-buffer): Rename desktop-* parameters.
20229
20230 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
20231 (dframe-reposition-frame-xemacs, dframe-help-echo)
20232 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
20233 Mark unused parameters.
20234
20235 * dired-aux.el (backup-extract-version-start, overwrite-query)
20236 (overwrite-backup-query, rename-regexp-query)
20237 (rename-non-directory-query): Declare.
20238 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
20239 (dired-add-entry): Remove unused variable `orig-file-name'.
20240 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
20241 Use parameter PRESERVE-TIME instead of accessing dynamic variable
20242 `dired-copy-preserve-time' directly.
20243 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
20244 (dired-insert-subdir-newpos): Rename unused variable `pos'.
20245
20246 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20247 (dired-virtual-revert, dired-make-relative-symlink):
20248 Mark unused parameters.
20249 (manual-program): Declare.
20250 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20251 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20252 wrapped in `with-no-warnings' to avoid replacing one warning by another.
20253
20254 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20255
20256 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20257
20258 * echistory.el (electric-history-in-progress, Helper-return-blurb):
20259 Declare.
20260
20261 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20262
20263 * electric.el (Electric-command-loop): Rename parameter
20264 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20265
20266 * expand.el (expand-in-literal): Remove unused variable `here'.
20267
20268 * facemenu.el (facemenu-add-new-color):
20269 Remove unused variable `docstring'.
20270
20271 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20272 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20273 (face-attr-construct): Mark unused parameter. Doc fix.
20274 (read-color): Remove unused variable `hex-string'.
20275
20276 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20277 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
20278 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
20279 (display-buffer-other-frame): Remove unused variable `old-window'.
20280 (kill-buffer-hook): Declare.
20281 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
20282 Mark unused parameters.
20283 (after-find-file): Pass 1 to `auto-save-mode', not t.
20284
20285 * files-x.el (auto-insert): Declare.
20286 (modify-file-local-variable-prop-line): Remove unused variable `val'.
20287
20288 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
20289 variable `buf'. Mark unused parameter.
20290 (find-lisp-insert-directory): Mark unused parameter.
20291
20292 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
20293 (format-encode-region): Remove unused variables `cur-buf' and `result'.
20294 (format-common-tail): Remove, unused.
20295 (format-deannotate-region): Remove unused variable `loc'.
20296 (format-annotate-region): Remove unused variable `p'.
20297 (format-annotate-single-property-change): Remove unused variables
20298 `default' and `tail'.
20299
20300 * forms.el (read-file-filter): Declare.
20301 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
20302
20303 * frame.el (frame-creation-function-alist): Mark unused parameter.
20304 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
20305
20306 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
20307 Remove unused parameters.
20308 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
20309 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
20310
20311 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
20312 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
20313 (hfy-prepare-tag-map): Mark unused parameters.
20314 (htmlfontify-buffer): Use `called-interactively-p'.
20315
20316 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20317 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20318 (ibuffer-do-occur): Mark unused parameters.
20319 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20320 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20321
20322 * ibuffer.el: Don't quote `lambda'.
20323 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20324 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20325 Mark unused parameters.
20326
20327 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20328 (ido-completing-read): Mark unused parameters.
20329 (ido-copy-current-word): Mark unused parameters;
20330 remove unused variable `name'.
20331 (ido-sort-merged-list): Remove unused parameter `dirs'.
20332
20333 * ielm.el (ielm-input-sender): Mark unused parameter.
20334 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20335 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20336 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20337 `ielm-string' as a dynamic variable accessible from the IELM prompt.
20338 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
20339
20340 * image-dired.el (image-dired-display-thumbs): Remove unused
20341 variables `curr-file' and `count'.
20342 (image-dired-remove-tag): Remove unused variable `start'.
20343 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20344 variable `curr-file'
20345 (image-dired-rotate-original): Remove unused variable `temp-file'.
20346 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
20347 Remove unused variable `file'.
20348 (image-dired-gallery-generate): Remove unused variable `curr'.
20349 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
20350
20351 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
20352
20353 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
20354
20355 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
20356
20357 * isearch.el (minibuffer-history-symbol): Declare.
20358 (isearch-edit-string): Remove unused variable `err'.
20359 (isearch-message-prefix, isearch-message-suffix):
20360 Mark unused parameters.
20361
20362 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
20363
20364 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
20365
20366 * makesum.el (double-column): Remove unused variable `cnt'.
20367
20368 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
20369 (ido-ignore-item-temp-list): Declare.
20370
20371 * mouse-drag.el (mouse-drag-throw): Remove unused variables
20372 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
20373 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
20374 (mouse-drag-drag): Remove unused variables `mouse-delta' and
20375 `mouse-col-delta'.
20376
20377 * mouse-sel.el (mouse-extend-internal):
20378 Remove unused variable `orig-window-frame'.
20379
20380 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
20381 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
20382 Move declarations before first use.
20383 (pcomplete-opt): Mark unused parameters; doc fix.
20384
20385 * proced.el (proced-revert): Mark unused parameter.
20386 (proced-send-signal): Remove unused variable `err'.
20387
20388 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20389 Rename parameter PREFIX-ARG to ARG.
20390 (ps-basic-plot-string, ps-basic-plot-whitespace):
20391 Mark unused parameters.
20392
20393 * replace.el (replace-count): Define.
20394 (occur-revert-function): Mark unused parameters.
20395 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20396 (isearch-case-fold-search, isearch-string): Declare.
20397 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20398 bind `case-fold-search'. Remove unused variables `beg' and `end',
20399 and simplify.
20400 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20401 COUNT and bind `replace-count'.
20402 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20403 to COUNT.
20404
20405 * savehist.el (print-readably, print-string-length): Declare.
20406
20407 * shadowfile.el (shadow-expand-cluster-in-file-name):
20408 Remove unused variable `cluster'.
20409 (shadow-copy-file): Remove unused variable `i'.
20410 (shadow-noquery, shadow-clusters, shadow-site-cluster)
20411 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20412 (shadow-define-literal-group, shadow-define-regexp-group)
20413 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20414
20415 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20416 (shell): Use `called-interactively-p'.
20417 (shell-directory-tracker): Remove unused variable `chdir-failure'.
20418
20419 * simple.el (compilation-context-lines, comint-file-name-quote-list)
20420 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20421 (delete-backward-char): Remove unused variable `ocol'.
20422 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20423 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20424 (event-apply-hyper-modifier, event-apply-shift-modifier)
20425 (event-apply-control-modifier, event-apply-meta-modifier):
20426 Mark unused parameters.
20427 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20428 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20429
20430 * speedbar.el (speedbar-ignored-directory-expressions)
20431 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20432 (speedbar-find-file, speedbar-dir-follow)
20433 (speedbar-directory-buttons-follow, speedbar-tag-find)
20434 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20435 (speedbar-buffers-line-directory, speedbar-buffer-click):
20436 Mark unused parameters.
20437 (speedbar-tag-file): Remove unused variable `mode'.
20438 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20439
20440 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20441
20442 * talk.el (talk): Remove unused variable `display'.
20443
20444 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20445 (tar-write-region-annotate): Mark unused parameter.
20446
20447 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20448 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20449 Declare them, wrapped in `with-no-warnings' to avoid replacing one
20450 warning by another.
20451
20452 * time-stamp.el (time-stamp-string-preprocess):
20453 Remove unused variable `require-padding'.
20454
20455 * tree-widget.el (widget-glyph-enable): Declare.
20456 (tree-widget-action): Mark unused parameter.
20457
20458 * w32-fns.el (x-get-selection): Mark unused parameter.
20459 (autoload-make-program, generated-autoload-file): Declare.
20460
20461 * wdired.el (wdired-revert): Mark unused parameters.
20462 (wdired-xcase-word): Remove unused variable `err'.
20463
20464 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20465 (whitespace-help-scroll): Remove unused variable `data-help'.
20466
20467 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20468 (widget-image-insert, widget-after-change, default)
20469 (widget-default-format-handler, widget-default-notify)
20470 (widget-default-prompt-value, widget-info-link-action)
20471 (widget-url-link-action, widget-function-link-action)
20472 (widget-variable-link-action, widget-file-link-action)
20473 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
20474 (widget-field-prompt-internal, widget-field-action, widget-field-match)
20475 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
20476 (widget-insert-button-action, widget-delete-button-action, visibility)
20477 (widget-documentation-link-action, widget-documentation-string-action)
20478 (widget-const-prompt-value, widget-regexp-match, symbol)
20479 (widget-coding-system-prompt-value)
20480 (widget-key-sequence-value-to-external, sexp)
20481 (widget-sexp-value-to-internal, character, vector, cons)
20482 (widget-choice-prompt-value, widget-boolean-prompt-value)
20483 (widget-color--choose-action): Mark unused parameters.
20484 (widget-item-match-inline, widget-choice-match-inline)
20485 (widget-checklist-match, widget-checklist-match-inline)
20486 (widget-group-match): Rename parameter VALUES to VALS.
20487 (widget-field-value-set): Remove unused variable `size'.
20488 (widget-color-action): Remove unused variables `value' and `start'.
20489
20490 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
20491 variable `dir'. Doc fix.
20492 (windmove-find-other-window): Don't pass it.
20493
20494 * window.el (count-windows): Mark unused parameter.
20495 (bw-adjust-window): Remove unused variable `err'.
20496
20497 * woman.el (woman-file-name): Remove unused variable `default'.
20498 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
20499 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
20500 (global-font-lock-mode): Declare.
20501 (woman-decode-region): Mark unused parameter.
20502 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
20503
20504 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20505 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20506 (x-dnd-handle-moz-url): Remove unused variable `title'.
20507 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20508
20509 * xml.el (xml-parse-tag, xml-parse-attlist):
20510 Remove unused variable `pos'.
20511
20512 2011-04-19 Glenn Morris <rgm@gnu.org>
20513
20514 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
20515 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
20516 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
20517 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
20518 * calendar/cal-html.el (cal-html-insert-minical):
20519 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
20520 (calendar-mark-date-pattern):
20521 Prefix "unused" locals.
20522
20523 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
20524 optional argument `style'.
20525
20526 * calendar/appt.el (appt-make-list):
20527 * calendar/cal-china.el (calendar-chinese-date-string):
20528 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
20529 (diary-hebrew-yahrzeit):
20530 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
20531 * calendar/calendar.el (calendar-generate-window):
20532 * calendar/time-date.el (time-to-days):
20533 Remove unused local variables.
20534
20535 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
20536
20537 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
20538 glyphless-char-display table.
20539 (tabulated-list-glyphless-char-display): New var.
20540
20541 2011-04-18 Sam Steingold <sds@gnu.org>
20542
20543 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
20544 to acknowledgments.
20545
20546 2011-04-17 Glenn Morris <rgm@gnu.org>
20547
20548 * calendar/diary-lib.el (diary-sexp-entry):
20549 * calendar/holidays.el (holiday-sexp):
20550 Set debug-on-error rather than the removed stack-trace-on-error.
20551
20552 2011-04-16 Glenn Morris <rgm@gnu.org>
20553
20554 * progmodes/f90.el: Use lexical-binding.
20555 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
20556
20557 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20558
20559 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
20560 (mail-mode): Setup mailalias completion here instead.
20561 * mail/mailalias.el: Use lexical-binding.
20562 (pattern, mailalias-done): Declare dynamic.
20563 (mail-completion-at-point-function): New function, from mail-complete.
20564 (mail-complete): Use it.
20565 (mail-completion-expand): New function.
20566 (mail-get-names): Use it.
20567 (mail-directory, mail-directory-process, mail-directory-stream):
20568 Don't use `pattern' for lexically bound arg.
20569
20570 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
20571
20572 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
20573 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
20574 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
20575
20576 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
20577 (byte-save-window-excursion, byte-temp-output-buffer-setup)
20578 (byte-interactive-p): Define them again, for use when inlining
20579 old code.
20580
20581 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
20582
20583 * loadup.el: Use `string-to-number', not `string-to-int'.
20584
20585 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20586
20587 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
20588 gud-gdb-complete-command.
20589 (gud-gdb-completions): New function, from gud-gdb-complete-command.
20590 (gud-gdb-completion-at-point): New function.
20591 (gud-gdb-completions): Remove.
20592
20593 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
20594
20595 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
20596 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
20597 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
20598 whether `executable-find' is bound.
20599
20600 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
20601
20602 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20603
20604 * minibuffer.el (completion-in-region-mode-predicate)
20605 (completion-in-region-mode--predicate): New vars.
20606 (completion-in-region, completion-in-region--postch)
20607 (completion-in-region-mode): Use them.
20608 (completion--capf-wrapper): Also return the hook function.
20609 (completion-at-point, completion-help-at-point):
20610 Adjust and provide a predicate.
20611
20612 Preserve arg names for advice of subr and lexical functions (bug#8457).
20613 * help-fns.el (help-function-arglist): Consolidate the subr and
20614 new-byte-code cases. Add argument `preserve-names' to extract names
20615 from the docstring when needed.
20616 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
20617 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
20618 (ad-arglist): Use help-function-arglist's new arg.
20619 (ad-definition-type): Use cond.
20620
20621 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
20622
20623 * autorevert.el (auto-revert-handler):
20624 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
20625 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
20626 Don't quote lambda.
20627
20628 * image-mode.el (image-transform-set-scale):
20629 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
20630
20631 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20632
20633 * net/network-stream.el (network-stream-open-starttls): Only do
20634 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
20635 Upgrades via gnutls-cli are too slow to be done opportunistically.
20636
20637 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
20638
20639 * dframe.el (dframe-current-frame): Remove spurious quote.
20640
20641 2011-04-12 Glenn Morris <rgm@gnu.org>
20642
20643 * calendar/cal-tex.el (cal-tex-end-document):
20644 Try to automatically use latin1 input if needed.
20645
20646 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
20647 Don't try to cons a mark onto an empty element.
20648
20649 2011-04-11 Leo Liu <sdl.web@gmail.com>
20650
20651 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
20652 buffers.
20653 (ido-kill-buffer-at-head): Support killing virtual buffers.
20654
20655 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
20656
20657 * minibuffer.el (completion-show-inline-help): New var.
20658 (completion--do-completion, minibuffer-complete)
20659 (minibuffer-force-complete, minibuffer-complete-word):
20660 Inhibit minibuffer messages if completion-show-inline-help is nil.
20661
20662 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
20663 to avoid interference from inline help (Bug#5849).
20664
20665 2011-04-10 Leo Liu <sdl.web@gmail.com>
20666
20667 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20668 Fix typo.
20669
20670 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
20671
20672 * image-mode.el (image-toggle-display-image): Signal an error if
20673 not in Image mode.
20674 (image-transform-mode, image-transform-resize)
20675 (image-transform-set-rotation): Doc fix.
20676 (image-transform-set-resize): Delete.
20677 (image-transform-set-scale, image-transform-fit-to-height)
20678 (image-transform-fit-to-width): Handle image-toggle-display-image
20679 and image-transform-resize directly.
20680
20681 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
20682
20683 * doc-view.el (doc-view-fit-width-to-window)
20684 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
20685 New functions for fitting the shown image to the Emacs window size.
20686 (doc-view-mode-map): Add bindings for the new functions.
20687
20688 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
20689
20690 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
20691 Fix typo in docstring.
20692
20693 2011-04-08 Eli Zaretskii <eliz@gnu.org>
20694
20695 * files.el (file-size-human-readable): Produce one digit after
20696 decimal, like "ls -lh" does.
20697
20698 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20699 the file size representation.
20700
20701 * simple.el (list-processes): If async subprocesses are not
20702 available, error out with a clear error message.
20703
20704 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
20705
20706 * help.el (help-form-show): New function, to be called from C.
20707 Put help-form output in a buffer named differently than *Help*.
20708
20709 2011-04-08 Eli Zaretskii <eliz@gnu.org>
20710
20711 * files.el (file-size-human-readable): New function.
20712
20713 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20714 computing the representation inline. Don't require `cl'.
20715
20716 2011-04-08 Glenn Morris <rgm@gnu.org>
20717
20718 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20719
20720 * net/browse-url.el (browse-url-firefox):
20721 Test system-type, not system-configuration.
20722
20723 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20724 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20725 Use log-edit-empty-buffer-p. (Bug#7598)
20726
20727 * net/rlogin.el (rlogin-process-connection-type): Simplify.
20728 (rlogin-mode-map): Initialize in the defvar.
20729 (rlogin): Use ignore-errors.
20730
20731 * replace.el (occur-mode-map): Some fixes for menu items.
20732
20733 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20734
20735 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
20736
20737 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
20738
20739 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20740 issuing unused warnings.
20741
20742 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20743 macro directly.
20744
20745 * simple.el: Lisp reimplement of list-processes. Based on an
20746 earlier reimplementation by Leo Liu, but using tabulated-list.el.
20747 (process-menu-mode): New major mode.
20748 (list-processes--refresh, list-processes):
20749 (process-menu-visit-buffer): New functions.
20750
20751 * files.el (save-buffers-kill-emacs): Don't assume any return
20752 value of list-processes, which is undocumented anyway.
20753
20754 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
20755
20756 * emacs-lisp/tabulated-list.el: New file.
20757
20758 * emacs-lisp/package.el: Use Tabulated List mode.
20759 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20760 (package-menu-mode): Derive from tabulated-list-mode. Set up the
20761 table format using Tabulated List mode variables.
20762 (package--push): New macro, replacing package-list-maybe-add.
20763 (package-menu--generate): Use package--push. Renamed from
20764 package--generate-package-list.
20765 (package-menu-refresh, list-packages): Use it.
20766 (package-menu--print-info): Rename from package-print-package.
20767 Return insertion data instead of inserting it directly.
20768 (package-menu-describe-package, package-menu-execute):
20769 Use tabulated-list-get-id.
20770 (package-menu-mark-delete, package-menu-mark-install)
20771 (package-menu-mark-unmark, package-menu-backup-unmark)
20772 (package-menu-mark-obsolete-for-deletion):
20773 Use tabulated-list-put-tag.
20774 (package--list-packages, package-menu-revert)
20775 (package-menu-get-package, package-menu-get-version)
20776 (package-menu-sort-by-column): Functions deleted.
20777 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20778 (package-menu--status-predicate, package-menu--version-predicate)
20779 (package-menu--name-predicate)
20780 (package-menu--description-predicate): Handle arguments in the
20781 Tabulated List format.
20782 (package-list-packages-no-fetch): Call list-packages.
20783
20784 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
20785
20786 * files.el (after-find-file-from-revert-buffer): Remove variable.
20787 (after-find-file): Don't bind it.
20788 (revert-buffer-in-progress-p): New variable.
20789 (revert-buffer): Bind it.
20790 Pass nil for `after-find-file-from-revert-buffer'.
20791
20792 * saveplace.el (save-place-find-file-hook): Use new variable
20793 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20794
20795 2011-04-06 Glenn Morris <rgm@gnu.org>
20796
20797 * Makefile.in (AUTOGEN_VCS): New variable.
20798 (autoloads): Use $AUTOGEN_VCS.
20799
20800 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20801 * calendar/calendar.el (calendar-mode-map):
20802 Check for toolkit scroll bars. (Bug#8305)
20803
20804 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
20805
20806 * minibuffer.el (completion-in-region--postch)
20807 (completion-in-region-mode): Remove unnecessary messages.
20808
20809 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
20810
20811 * font-lock.el (font-lock-refresh-defaults):
20812 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20813 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20814
20815 * info.el (Info-directory-list, Info-read-node-name-2)
20816 (Info-split-parameter-string): Doc fixes.
20817 (Info-virtual-nodes): Reflow docstring.
20818 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20819 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20820 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20821 Fix typos in docstrings.
20822 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20823 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20824 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20825 (Info-restore-desktop-buffer): Mark unused parameters.
20826 (Info-directory-find-file, Info-directory-find-node)
20827 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20828 (Info-virtual-index-find-node, Info-apropos-find-file)
20829 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
20830 Mark unused parameters; fix typos in docstrings.
20831 (Info-virtual-index): Remove unused local variable `nodename'.
20832
20833 2011-04-05 Deniz Dogan <deniz@dogan.se>
20834
20835 * net/rcirc.el: Update my e-mail address.
20836 (rcirc-mode-map): Remove M-o binding.
20837
20838 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
20839
20840 * startup.el (command-line): Save the cursor's theme-face
20841 directly, instead of using face-override-spec.
20842
20843 * custom.el (load-theme): Minor optimization in assigning faces.
20844
20845 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20846
20847 * help-fns.el (describe-variable): Complete all variables having
20848 documentation, including keywords.
20849 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20850
20851 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20852
20853 Convert to lexical-binding.
20854
20855 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20856 (bs--get-marked-string, bs--get-modified-string)
20857 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20858 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20859 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20860
20861 * ehelp.el (electric-help-execute-extended)
20862 (electric-help-ctrl-x-prefix):
20863 * hexl.el (hexl-revert-buffer-function):
20864 * linum.el (linum-after-change, linum-after-scroll):
20865 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20866
20867 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20868
20869 2011-04-04 Daiki Ueno <ueno@unixuser.org>
20870
20871 * epa-dired.el:
20872 * epa-mail.el:
20873 * epa-hook.el:
20874 * epa-file.el:
20875 * epa.el:
20876 * epg.el: Use lexical binding.
20877
20878 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
20879
20880 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20881
20882 * textmodes/flyspell.el (flyspell-word): Recognize default
20883 dictionary case for flyspell-mark-duplications-exceptions.
20884 Use regexp matching for languages.
20885 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20886 default dictionary (Bug#7926).
20887
20888 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
20889
20890 * emacs-lisp/package.el (package--with-work-buffer):
20891 Recognize https URLs.
20892
20893 * net/network-stream.el: Move from gnus/proto-stream.el.
20894 Change prefix to network-stream throughout.
20895 (open-protocol-stream): Merge into open-network-stream, leaving
20896 open-protocol-stream as an alias. Handle nil BUFFER args.
20897
20898 * subr.el (open-network-stream): Move to net/network-stream.el.
20899
20900 2011-04-02 Glenn Morris <rgm@gnu.org>
20901
20902 * find-dired.el (find-exec-terminator): New option.
20903 (find-ls-option): Test for -ls support.
20904 (find-ls-subdir-switches): Test for -b in find-ls-option.
20905 (find-dired, find-grep-dired): Doc fixes.
20906 (find-dired): Use find-exec-terminator.
20907
20908 * find-dired.el (find-ls-option, find-ls-subdir-switches)
20909 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20910 (find-name-arg): Remove purecopy.
20911
20912 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20913 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20914 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20915 accordingly. Don't add the null-device if not needed.
20916
20917 * files.el (save-some-buffers): Doc fix.
20918
20919 2011-04-02 Eli Zaretskii <eliz@gnu.org>
20920
20921 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20922
20923 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
20924
20925 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20926 Use `dolist' rather than `mapcar'.
20927
20928 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20929
20930 Add lexical binding.
20931
20932 * subr.el (apply-partially): Use new closures rather than CL.
20933 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20934 (dolist, dotimes): Use slightly different expansion for lexical code.
20935 (functionp): Move to C.
20936 (letrec): New macro.
20937 (with-wrapper-hook): Use it and apply-partially instead of CL.
20938 (eval-after-load): Preserve lexical-binding.
20939 (save-window-excursion, with-output-to-temp-buffer): Turn them
20940 into macros.
20941
20942 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20943
20944 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20945 than the arglist.
20946 (help-add-fundoc-usage): Don't add `Not documented'.
20947 (help-function-arglist): Handle closures, subroutines, and new
20948 byte-code-functions.
20949 (help-make-usage): Remove leading underscores.
20950 (describe-function-1): Handle closures.
20951 (describe-variable): Use special-variable-p for completion.
20952
20953 * files.el (lexical-binding): Declare safe.
20954
20955 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20956 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20957 (pcase): Add `let' pattern.
20958 Change memoization so it actually works.
20959 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20960 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20961 <let>: New case.
20962
20963 * emacs-lisp/macroexp.el: Use lexical binding.
20964 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20965 Don't convert ' to #' without checking that it's indeed quoting
20966 a lambda.
20967
20968 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
20969 Use eval-sexp-add-defvars.
20970 (eval-sexp-add-defvars): New fun.
20971
20972 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20973
20974 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20975 Don't autoload.
20976 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20977 than the internal `byte-compile-lambda'.
20978 (defmethod): Don't hide code under quotes.
20979 (eieio-defmethod): New `code' argument.
20980
20981 * emacs-lisp/eieio-comp.el: Remove.
20982
20983 * emacs-lisp/edebug.el (edebug-eval-defun)
20984 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20985 (edebug-toggle): Avoid `eval'.
20986
20987 * emacs-lisp/disass.el (disassemble-internal): Handle new
20988 `closure' objects.
20989 (disassemble-1): Handle new byte codes.
20990
20991 * emacs-lisp/cl.el (pushnew): Silence warning.
20992
20993 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20994 (cl-byte-compile-throw): Remove.
20995 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20996
20997 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20998 closures.
20999
21000 * emacs-lisp/cconv.el: New file.
21001
21002 * emacs-lisp/bytecomp.el: Use lexical binding instead of
21003 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
21004 (byte-compile-initial-macro-environment):
21005 Handle declare-function here.
21006 (byte-compile--lexical-environment): New var.
21007 (byte-stack-ref, byte-stack-set, byte-discardN)
21008 (byte-discardN-preserve-tos): New lap codes.
21009 (byte-interactive-p): Don't use any more.
21010 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
21011 New macros.
21012 (byte-compile-lapcode): Use them and handle new lap codes.
21013 (byte-compile-obsolete): Remove.
21014 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
21015 (byte-compile-arglist-warn): Check late def of inlinable funs.
21016 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
21017 since they should have been expanded by now.
21018 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
21019 (byte-compile-from-buffer): Remove unused second arg.
21020 (byte-compile-preprocess): New function.
21021 (byte-compile-toplevel-file-form): New function to distinguish
21022 file-form calls from outside from file-form calls from hunk-handlers.
21023 (byte-compile-file-form): Simplify.
21024 (byte-compile-file-form-defsubst): Remove.
21025 (byte-compile-file-form-defmumble): Simplify now that
21026 byte-compile-lambda always returns a byte-code-function.
21027 (byte-compile): Preprocess.
21028 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
21029 Remove, not used any more.
21030 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
21031 (byte-compile-make-args-desc): New funs.
21032 (byte-compile-lambda): Handle lexical functions. Always return
21033 a byte-code-function.
21034 (byte-compile-reserved-constants): New var, to make up room for
21035 closed-over variables.
21036 (byte-compile-constants-vector): Obey it.
21037 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
21038 (byte-compile-macroexpand-declare-function): New function.
21039 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
21040 byte-code-functions.
21041 (byte-compile-form): Check obsolescence here.
21042 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
21043 (byte-compile-variable-ref): Remove.
21044 (byte-compile-dynamic-variable-op): New fun.
21045 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21046 (byte-compile-variable-set): New funs.
21047 (byte-compile-discard): Add 2 args.
21048 (byte-compile-stack-ref, byte-compile-stack-set)
21049 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
21050 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
21051 macroexpand-all instead.
21052 (byte-compile-quote-form): Remove.
21053 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
21054 (byte-compile-bind, byte-compile-unbind): New funs.
21055 (byte-compile-let): Handle let* and lexical binding.
21056 (byte-compile-let*): Remove.
21057 (byte-compile-catch, byte-compile-unwind-protect)
21058 (byte-compile-track-mouse, byte-compile-condition-case):
21059 Handle a new :fun-body form, used for lexical scoping.
21060 (byte-compile-save-window-excursion)
21061 (byte-compile-with-output-to-temp-buffer): Remove.
21062 (byte-compile-defun): Simplify.
21063 (byte-compile-stack-adjustment): New fun.
21064 (byte-compile-out): Use it.
21065 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
21066
21067 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
21068 handler any more.
21069
21070 * emacs-lisp/byte-opt.el: Use lexical binding.
21071 (byte-inline-lapcode): Remove (to bytecomp).
21072 (byte-compile-inline-expand): Pay attention to inlining to/from
21073 lexically bound code.
21074 (byte-compile-unfold-lambda): Don't handle byte-code-functions
21075 any more.
21076 (byte-optimize-form-code-walker): Don't handle save-window-excursion
21077 any more and don't call compiler-macros.
21078 (byte-compile-splice-in-already-compiled-code): Remove.
21079 (byte-code): Don't inline any more.
21080 (disassemble-offset): Receive `bytes' as argument rather than via
21081 dynamic scoping.
21082 (byte-compile-tag-number): Declare before first use.
21083 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
21084 `return' even if make-spliceable.
21085 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
21086 obsolete interactive-p.
21087 (byte-optimize-lapcode): Optimize new lap-codes.
21088 Don't trip up on new form of `byte-constant' lap code.
21089
21090 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
21091
21092 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
21093
21094 * custom.el (custom-initialize-default, custom-declare-variable):
21095 Use `defvar'.
21096
21097 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
21098 New variables.
21099 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
21100 (COMPILE_FIRST): Add macroexp and cconv.
21101 * makefile.w32-in: Mirror changes in Makefile.in.
21102
21103 * vc/cvs-status.el:
21104 * vc/diff-mode.el:
21105 * vc/log-edit.el:
21106 * vc/log-view.el:
21107 * vc/smerge-mode.el:
21108 * textmodes/bibtex-style.el:
21109 * textmodes/css-mode.el:
21110 * startup.el:
21111 * uniquify.el:
21112 * minibuffer.el:
21113 * newcomment.el:
21114 * reveal.el:
21115 * server.el:
21116 * mpc.el:
21117 * emacs-lisp/smie.el:
21118 * doc-view.el:
21119 * dired.el:
21120 * abbrev.el: Use lexical binding.
21121
21122 2011-04-01 Eli Zaretskii <eliz@gnu.org>
21123
21124 * info.el (info-display-manual): New function.
21125
21126 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
21127
21128 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
21129
21130 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
21131
21132 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
21133 an entry for that server in rcirc-authinfo. (Bug#8385)
21134
21135 2011-03-31 Glenn Morris <rgm@gnu.org>
21136
21137 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
21138
21139 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
21140
21141 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
21142
21143 * progmodes/python.el (python-default-interpreter)
21144 (python-python-command-args, python-jython-command-args)
21145 (python-which-shell, python-which-args, python-which-bufname)
21146 (python-file-queue, python-comint-output-filter-function)
21147 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
21148 variables and functions.
21149
21150 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
21151
21152 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
21153 (completion-in-region-mode): New minor mode.
21154 (completion-in-region): Use it.
21155 (completion-in-region--data, completion-in-region-mode-map): New vars.
21156 (completion-in-region--postch): New function.
21157 (completion--capf-misbehave-funs, completion--capf-safe-funs):
21158 New vars.
21159 (completion--capf-wrapper): New function.
21160 (completion-at-point): Use it to track well-behavedness of
21161 hook functions.
21162 (completion-help-at-point): New command.
21163
21164 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
21165
21166 * vc/add-log.el (add-change-log-entry): Don't use whitespace
21167 syntax class to search for whitespace on a single line
21168 (Message-ID: <4D938140.4030905@redhat.com>).
21169
21170 2011-03-30 Leo Liu <sdl.web@gmail.com>
21171
21172 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
21173 New commands.
21174 (edit-abbrevs-map): Bind them here.
21175 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
21176
21177 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
21178
21179 * allout.el (allout-hide-by-annotation, allout-flag-region):
21180 Reduce possibility of overlay leakage by making them volatile.
21181
21182 * allout-widgets.el (allout-widgets-tally): Define as nil so the
21183 hash is not shared between buffers. Mode initialization is
21184 responsible for giving it a useful starting value.
21185 (allout-item-span): Reduce possibility of overlay leakage by
21186 making them volatile.
21187 (allout-widgets-count-buttons-in-region): Add diagnostic function
21188 for tracking down button overlay leaks.
21189
21190 2011-03-29 Leo Liu <sdl.web@gmail.com>
21191
21192 * ido.el (ido-read-internal): Use the default history var
21193 minibuffer-history if no HISTORY is specified.
21194
21195 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
21196
21197 * net/imap.el (imap-shell-open, imap-process-connection-type):
21198 Use imap-process-connection-type for 'shell' streams as well as
21199 Kerberos, SSL, other subprocesses.
21200
21201 2011-03-28 Leo Liu <sdl.web@gmail.com>
21202
21203 * abbrev.el (abbrev-table-empty-p): New function.
21204 (prepare-abbrev-list-buffer): Place empty abbrev tables after
21205 nonempty ones. (Bug#5937)
21206
21207 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
21208
21209 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21210
21211 2011-03-27 Leo Liu <sdl.web@gmail.com>
21212
21213 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21214 for foreground and background colors.
21215 (ansi-color-make-color-map): Adapt.
21216
21217 2011-03-25 Leo Liu <sdl.web@gmail.com>
21218
21219 * midnight.el (midnight-time-float): Remove. Note it calculates
21220 the microsecond component incorrectly and seconds-to-time does the
21221 same job.
21222 Remove redundant (require 'timer).
21223
21224 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21225 (ido-completions): Remove unused arguments. (Bug#8329)
21226
21227 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
21228
21229 * minibuffer.el (completion--flush-all-sorted-completions):
21230 Remove itself from hook.
21231 (completion-at-point): Let the functions perform the completion
21232 immediately and return nil or t.
21233 * comint.el (comint-dynamic-complete-functions): Now identical to
21234 completion-at-point-functions.
21235 (comint-dynamic-list-input-ring): Remove unused var `index'.
21236 (comint--match-partial-filename, comint--unquote&expand-filename):
21237 New funs, split from comint-match-partial-filename.
21238 (comint-dynamic-complete): Use completion-at-point.
21239 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
21240
21241 2011-03-24 Drew Adams <drew.adams@oracle.com>
21242
21243 * thingatpt.el: Support `defun'.
21244
21245 2011-03-23 Leo Liu <sdl.web@gmail.com>
21246
21247 * abbrevlist.el: Move to obsolete/abbrevlist.el.
21248
21249 * help-mode.el (help-mode-finish): Tweak regexp.
21250
21251 2011-03-23 Glenn Morris <rgm@gnu.org>
21252
21253 * eshell/esh-opt.el (eshell-eval-using-options):
21254 Do not bind unused local variable `eshell-option-stub'.
21255
21256 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21257
21258 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
21259
21260 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21261 keymap variable in `with-no-warnings' to avoid a warning when the
21262 keymap has been already `defconst'ed.
21263
21264 2011-03-22 Leo Liu <sdl.web@gmail.com>
21265
21266 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21267 encode all chars in abbrevs; otherwise use emacs-mule or
21268 utf-8-emacs. (Bug#8308)
21269
21270 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
21271
21272 * simple.el (backward-delete-char-untabify):
21273 Avoid warning about using `delete-backward-char'.
21274
21275 * image.el (image-type-file-name-regexps): Make it variable.
21276 `imagemagick-register-types' modifies it, and the user may want
21277 to add new extensions for known image types.
21278 (imagemagick-register-types): Throw error if not using ImageMagick.
21279
21280 2011-03-22 Leo Liu <sdl.web@gmail.com>
21281
21282 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
21283 located before rcirc-prompt-end-marker.
21284 (rcirc-complete): Error if point is not after rcirc prompt.
21285 Handle the case when table is nil.
21286 (rcirc-user-authenticated): Define to fix compiler warning.
21287
21288 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
21289
21290 * custom.el (custom--inhibit-theme-enable): Make it affect only
21291 custom-theme-set-variables and custom-theme-set-faces.
21292 (provide-theme): Ignore custom--inhibit-theme-enable.
21293 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
21294 (custom-enabling-themes): Delete variable.
21295 (enable-theme): Accept only loaded themes as arguments.
21296 Ignore the special custom-enabled-themes variable.
21297 (custom-enabled-themes): Forbid themes from setting this.
21298 Eliminate use of custom-enabling-themes.
21299 (custom-push-theme): Quote "changed" custom var entry.
21300
21301 2011-03-21 Leo Liu <sdl.web@gmail.com>
21302
21303 * ido.el (ido-read-internal): Add ido-selected to history instead
21304 of user input.
21305
21306 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
21307
21308 * subr.el (deferred-action-list, deferred-action-function):
21309 Mark obsolete.
21310
21311 2011-03-21 Leo Liu <sdl.web@gmail.com>
21312
21313 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
21314 change on 2011-02-13 (bug#8309).
21315
21316 * minibuffer.el (read-file-name-function): Change default value.
21317 (read-file-name--defaults): Rename from read-file-name-defaults.
21318 (read-file-name-default): Rename from read-file-name.
21319 (read-file-name): Call read-file-name-function.
21320
21321 2011-03-21 Glenn Morris <rgm@gnu.org>
21322
21323 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21324 Doc fixes.
21325
21326 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
21327
21328 * cus-theme.el: Add missing provide statement.
21329 (customize-create-theme): Extract theme value correctly.
21330 (custom-theme-visit-theme): Autoload.
21331 (customize-create-theme): Prompt before inserting default faces.
21332
21333 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
21334
21335 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21336 units and musical notes.
21337
21338 2011-03-20 Leo Liu <sdl.web@gmail.com>
21339
21340 * ido.el (ido-read-internal): Use completing-read-default.
21341 (ido-completing-read): Fix compatibility with completing-read.
21342
21343 2011-03-20 Christian Ohler <ohler@gnu.org>
21344
21345 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
21346 (ert-delete-all-tests): Use `called-interactively-p' rather than
21347 `interactive-p'.
21348 (ert--make-xrefs-region): Respect END.
21349
21350 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
21351
21352 * dired-aux.el (dired-create-directory): Signal an error if the
21353 directory already exists (Bug#8246).
21354
21355 * facemenu.el (list-colors-display): Call list-faces-display
21356 inside with-help-window.
21357 (list-colors-print): Use display property to align the final
21358 column, instead of checking window-width.
21359
21360 2011-03-19 Eli Zaretskii <eliz@gnu.org>
21361
21362 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
21363 windows-nt systems.
21364 (emerge-protect-metachars): Quote correctly for ms-dos and
21365 windows-nt systems.
21366
21367 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
21368
21369 * info.el (info-initialize): Replace all uses of `:' with
21370 path-separator for compatibility with non-Unix systems.
21371 Cache quoting of path-separator. (Bug#8258)
21372
21373 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
21374
21375 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
21376 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
21377 (mouse-avoidance-mode): Fix typos in docstrings.
21378
21379 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
21380
21381 * startup.el (package-subdirectory-regexp): Move from package.el.
21382 Omit \\` and \\', and let callers add them.
21383
21384 * emacs-lisp/package.el (package-strip-version)
21385 (package-load-all-descriptors): Add \\` and \\' to
21386 package-subdirectory-regexp before using it.
21387 (package-untar-buffer): New arg DIR; ensure that file untars only
21388 into this expected directory. Remove superfluous delete-region.
21389 (package-unpack): Caller changed.
21390 (package-tar-file-info): Use package-subdirectory-regexp.
21391
21392 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
21393
21394 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21395 diff-mode-shared-map (bug#8284).
21396 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
21397
21398 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21399
21400 * calendar/time-date.el (format-seconds): Use assoc instead of
21401 assoc-string, since assoc-string doesn't exist in XEmacs.
21402
21403 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
21404
21405 * custom.el (custom-known-themes): Reflow docstring.
21406 (custom-theme-load-path): Fix typo in docstring.
21407 (load-theme): Fix typo in error message.
21408 (custom-available-themes, custom-variable-theme-value):
21409 Use `let', not `let*'.
21410
21411 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21412
21413 * calc/README: Mention inclusion of musical notes.
21414
21415 * calc/calc-units.el (calc-lu-quant): Rename from
21416 `calc-logunits-quantity'.
21417 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21418 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21419 (calc-db): Rename from `calc-dblevel'.
21420 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21421 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21422 (calc-np): Rename from `calc-nplevel'.
21423 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21424 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21425 (calc-lu-plus): Rename from `calc-logunits-add'.
21426 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21427 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21428 (calc-lu-minus): Rename from `calc-logunits-sub'.
21429 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21430 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21431 (calc-lu-times): Rename from `calc-logunits-mul'.
21432 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21433 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21434 (calc-lu-divide): Rename from `calc-logunits-div'.
21435 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21436 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21437
21438 * calc/calc-ext.el (calc-init-extensions): Update the names of the
21439 functions being autoloaded.
21440
21441 * calc/calc.el (calc-lu-power-reference): Rename from
21442 `calc-logunits-power-reference'.
21443 (calc-lu-field-reference): Rename from
21444 `calc-logunits-field-reference'.
21445
21446 * calc/calc-help.el (calc-l-prefix-help):
21447 Mention musical note functions.
21448
21449 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
21450
21451 * minibuffer.el (completion-all-sorted-completions):
21452 Use :completion-cycle-penalty text property if present.
21453
21454 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
21455
21456 * allout.el (allout-yank-processing): Adjust for new rebulleting
21457 regime so bullet being yanked is used without prompting the user
21458 for a choice.
21459
21460 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
21461
21462 * startup.el (command-line): Warn the user that _emacs is deprecated.
21463
21464 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
21465
21466 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21467 (delphi-verbose, delphi-comment-face, delphi-string-face)
21468 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21469 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21470 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
21471 (delphi-new-comment-line, delphi-font-lock-defaults)
21472 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
21473 Fix typos in docstrings.
21474
21475 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
21476
21477 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
21478 Invert the roles of character and string values for INSTEAD, so a
21479 string is used for the more common case of a defaulting prompt.
21480
21481 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21482
21483 * progmodes/ruby-mode.el (ruby-backward-sexp):
21484 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
21485 * play/gamegrid.el (gamegrid-make-face):
21486 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
21487 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
21488 * notifications.el (notifications-notify):
21489 * net/xesam.el (xesam-search-engines):
21490 * net/quickurl.el (quickurl-list-insert):
21491 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
21492
21493 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
21494
21495 * startup.el (command-line): Update package subdirectory regexp.
21496
21497 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21498
21499 * allout.el (allout-abbreviate-flattened-numbering)
21500 (allout-mode-deactivate-hook): Fix up obsolescence "date".
21501
21502 * subr.el (read-char-choice): Only show the cursor after the prompt,
21503 not after the answer.
21504
21505 2011-03-15 Kevin Ryde <user42@zip.com.au>
21506
21507 * help-fns.el (variable-at-point): Skip leading quotes, if any
21508 (bug#8253).
21509
21510 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21511
21512 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
21513 warning message.
21514
21515 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
21516
21517 * shell.el (shell): When called interactively, offer to change the
21518 shell file name on remote hosts.
21519
21520 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
21521
21522 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
21523 integration for LDAP parameters. The host, base, user or binddn,
21524 and secret tokens can be specified in a netrc file, for instance.
21525 This is optional because an `auth-source' parameter must be
21526 specified in the search attributes.
21527
21528 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
21529
21530 * help.el (describe-mode): Link to the mode's definition (bug#8185).
21531
21532 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21533
21534 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
21535 into declaration. Remove redundant and harmful binding.
21536
21537 2011-03-12 Eli Zaretskii <eliz@gnu.org>
21538
21539 * files.el (file-ownership-preserved-p): Pass `integer' as an
21540 explicit 2nd argument to `file-attributes'. If the file's owner
21541 is the Administrators group on Windows, and the current user is
21542 Administrator, consider that a match.
21543
21544 * server.el (server-ensure-safe-dir): Consider server directory
21545 safe on MS-Windows if its owner is the Administrators group while
21546 the current Emacs user is Administrator. Use `=' to compare
21547 numerical UIDs, since they could be integers or floats.
21548
21549 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
21550
21551 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
21552
21553 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
21554
21555 Sync with Tramp 2.2.1.
21556
21557 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
21558
21559 * net/trampver.el: Update release number.
21560
21561 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21562
21563 * progmodes/compile.el (compilation--previous-directory): Fix up
21564 various nil/dead-marker mismatches (bug#8014).
21565 (compilation-directory-properties, compilation-error-properties):
21566 Don't call it at a position past the one we're about to change.
21567
21568 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
21569 Disable obsolescence warnings in the file that declares it.
21570
21571 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
21572
21573 * allout-widgets.el (allout-widgets-tally):
21574 Initialize allout-widgets-tally as a hash table rather than nil to
21575 prevent mode-line redisplay warnings. Also, clarify the module
21576 description and fix a comment typo.
21577
21578 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
21579
21580 * help-fns.el (describe-variable): Don't complete keywords.
21581 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
21582
21583 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
21584
21585 * emacs-lisp/package.el (package-version-join): Impose a standard
21586 string representation for pre/alpha/beta version lists.
21587 (package-unpack-single): Standardize the directory name by passing
21588 it through package-version-join.
21589 (package-strip-rcs-id): Accept any version string that does not
21590 signal an error in version-to-list.
21591
21592 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
21593
21594 * simple.el (delete-trailing-whitespace): Return nil for the
21595 benefit of `write-file-functions'.
21596
21597 2011-03-10 Glenn Morris <rgm@gnu.org>
21598
21599 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
21600
21601 * vc/vc-git.el (vc-git-program): New option.
21602 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
21603 (vc-git--call): Use it.
21604
21605 * eshell/esh-util.el (eshell-condition-case): Doc fix.
21606
21607 * cus-edit.el (Custom-newline): If no button at point, look
21608 for a subgroup button at start-of-line. (Bug#2298)
21609
21610 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
21611
21612 2011-03-10 Julien Danjou <julien@danjou.info>
21613
21614 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
21615 `cursor-type' is nil.
21616
21617 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
21618
21619 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
21620
21621 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
21622
21623 * allout.el: Change so yank of distinctive-bullet items
21624 preserves the existing header prefix, rebulleting it if necessary,
21625 rather than replacing it. This is necessary for proper operation
21626 of cooperative addons like allout-widgets.
21627 (allout-make-topic-prefix, allout-rebullet-heading):
21628 Change SOLICIT arg to INSTEAD, and interpret additionally a string
21629 value as alternate bullet to be used, instead of prompting the user
21630 for a bullet character.
21631
21632 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
21633
21634 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21635 Do not use `tramp-file-name-port', because this returns also
21636 `tramp-default-port'.
21637
21638 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
21639
21640 * net/rcirc.el (rcirc-handler-001): Remove useless
21641 with-rcirc-process-buffer.
21642 (rcirc-check-auth-status): Swap arguments to string-match.
21643
21644 2011-03-09 Glenn Morris <rgm@gnu.org>
21645
21646 * shell.el (shell-mode):
21647 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
21648
21649 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
21650 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
21651
21652 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21653
21654 * emacs-lisp/package.el (package-refresh-contents)
21655 (package-menu-execute): Use condition-case-no-debug.
21656
21657 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
21658
21659 * simple.el (shell-command-to-string): Use `process-file'.
21660
21661 * emacs-lisp/package.el (package-tar-file-info): Handle also
21662 remote files.
21663
21664 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21665 Use `equal' for upload base check.
21666
21667 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
21668
21669 * textmodes/texinfo.el (texinfo-environments):
21670 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
21671
21672 2011-03-08 Glenn Morris <rgm@gnu.org>
21673
21674 * cus-start.el (cursor-in-non-selected-windows):
21675 Fix :set quoting oddness. (Bug#8192)
21676
21677 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
21678 in some setf expressions. (Bug#2159)
21679
21680 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21681
21682 * custom.el (custom-available-themes): Return themes in
21683 alphabetical order.
21684
21685 See ChangeLog.15 for earlier changes.
21686
21687 ;; Local Variables:
21688 ;; coding: utf-8
21689 ;; End:
21690
21691 Copyright (C) 2011-2013 Free Software Foundation, Inc.
21692
21693 This file is part of GNU Emacs.
21694
21695 GNU Emacs is free software: you can redistribute it and/or modify
21696 it under the terms of the GNU General Public License as published by
21697 the Free Software Foundation, either version 3 of the License, or
21698 (at your option) any later version.
21699
21700 GNU Emacs is distributed in the hope that it will be useful,
21701 but WITHOUT ANY WARRANTY; without even the implied warranty of
21702 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21703 GNU General Public License for more details.
21704
21705 You should have received a copy of the GNU General Public License
21706 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.