]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* lisp/erc/erc-match.el (erc-match-message): Fix last commit.
[gnu-emacs] / lisp / ChangeLog
1 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
2
3 * progmodes/js.el (js--multi-line-declaration-indentation):
4 Silence byte-compiler warning.
5
6 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
7
8 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
9
10 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
11 only if it doesn't exist.
12
13 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Set
14 process marker.
15
16 2013-02-12 Tassilo Horn <tsdh@gnu.org>
17
18 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
19 UserInstallation when calling soffice to work around LibreOffice
20 bug 37531.
21
22 2013-02-12 Glenn Morris <rgm@gnu.org>
23
24 * files.el (basic-save-buffer):
25 Offer to create a non-existing directory. (Bug#3016)
26
27 * calc/calc-graph.el (calc-graph-show-dumb):
28 * calendar/calendar.el (calendar-mode-map):
29 * cus-edit.el (custom-mode-map):
30 * ehelp.el (electric-help-map):
31 * emulation/vip.el (vip-mode-map):
32 * epa.el (epa-key-list-mode-map):
33 * info.el (Info-mode-map):
34 * mail/rmail.el (rmail-mode-map):
35 * mail/rmailsum.el (rmail-summary-mode-map):
36 * man.el (Man-mode-map):
37 * net/newst-plainview.el (newsticker-mode-map):
38 * progmodes/cpp.el (cpp-edit-mode-map):
39 * progmodes/grep.el (grep-mode-map):
40 * progmodes/idlw-help.el (idlwave-help-mode-map):
41 * simple.el (special-mode-map):
42 * startup.el (splash-screen-keymap):
43 * view.el (view-mode-map):
44 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
45
46 2013-02-11 Elias Pipping <pipping@lavabit.com>
47
48 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
49 (bug#13679).
50
51 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
52
53 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
54
55 2013-02-11 Glenn Morris <rgm@gnu.org>
56
57 * vc/diff.el (diff-use-labels): New variable.
58 (diff-no-select): Use --label rather than -L, and first
59 check that it is supported. (Bug#11067)
60
61 * files.el (enable-dir-local-variables): New variable.
62 (hack-dir-local-variables): Respect enable-dir-local-variables.
63 * tutorial.el (help-with-tutorial):
64 Ignore directory-local variables. (Bug#11127)
65
66 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
67 (vc-svn-global-switches): ... to here. (Bug#13513)
68
69 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
70
71 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
72 Handle "foo (bar, default: xxx): " prompts.
73
74 2013-02-10 Chong Yidong <cyd@gnu.org>
75
76 * files.el (basic-save-buffer-1): Do not set
77 buffer-file-coding-system-explicit (Bug#4533).
78
79 * mail/emacsbug.el (report-emacs-bug): Change binding of
80 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
81
82 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
83
84 * calc/calc.el (calc-allow-units-as-numbers): New variable.
85 * calc/calc-units.el (calc-convert-units): Use new variable.
86
87 2013-02-09 Eli Zaretskii <eliz@gnu.org>
88
89 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
90
91 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
92 buffer-file-type.
93
94 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
95 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
96 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
97 coding-system-for-write instead.
98
99 * jka-compr.el (jka-compr-write-region): Don't bind
100 buffer-file-type.
101
102 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
103 buffer-file-type.
104
105 * files.el (file-name-buffer-file-type-alist): Remove defvar.
106 (insert-file-contents-literally): Remove reference to
107 file-name-buffer-file-type-alist.
108
109 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
110 make-obsolete.
111 (find-buffer-file-type-match, find-buffer-file-type): Remove.
112 (find-buffer-file-type-coding-system): Remove references to
113 find-buffer-file-type-match, find-buffer-file-type, and
114 buffer-file-type.
115 Don't put find-buffer-file-type-coding-system into
116 file-coding-system-alist.
117 (find-file-binary, find-file-text): Bind coding-system-for-read
118 instead of file-name-buffer-file-type-alist.
119
120 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
121
122 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
123 converter (Bug#13622).
124 (doc-view-unoconv-program): Make obsolete alias.
125 (doc-view-odf->pdf-converter-program): New variable.
126 (doc-view-odf->pdf-converter-function): New variable.
127 (doc-view-mode-p): Use it.
128 (doc-view-odf->pdf-converter-unoconv):
129 Rename from `doc-view-odf->pdf-converter-unoconv'.
130 (doc-view-odf->pdf-converter-soffice): New function.
131 (doc-view-convert-current-doc):
132 Use `doc-view-odf->pdf-converter-function'.
133
134 2013-02-09 Chong Yidong <cyd@gnu.org>
135
136 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
137 view-echo-area-messages (Bug#13340).
138
139 * help.el (view-echo-area-messages): Use display-buffer.
140
141 * dired-x.el (dired-do-run-mail): Prompt for confirmation
142 (Bug#13561).
143
144 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
145
146 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
147 Eval body right away, now that we do eager macroexpansion (bug#13605).
148
149 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
150 (fundamental-mode): Use run-mode-hooks.
151
152 * eshell/esh-proc.el (eshell/kill): Fix last change.
153 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
154
155 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
156
157 * eshell/esh-proc.el (eshell/kill): Rewrite.
158
159 * eshell/em-ls.el (show-almost-all): Declare.
160 (eshell-do-ls): Add support for -A argument.
161
162 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
163
164 * icomplete.el (icomplete-forward-completions)
165 (icomplete-backward-completions): Handle corner case (bug#13602).
166
167 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
168
169 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
170 be nil. Handle this. (Bug#13636)
171
172 2013-02-07 Richard Stallman <rms@gnu.org>
173
174 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
175 `save-buffer-coding-system'.
176
177 2013-02-07 Alan Mackenzie <acm@muc.de>
178
179 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
180 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
181 (c-parse-state-get-strategy): Don't return 'BOD any more.
182 (c-append-lower-brace-pair-to-state-cache):
183 Extra parameter HERE instead of narrowing.
184 Widen to top of buffer before searching backwards for a brace pair.
185 (c-state-push-any-brace-pair): Add HERE parameter to function call.
186 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
187 Narrow to parameter HERE, in place of being called narrowed.
188 (c-remove-stale-state-cache): Extra parameter HERE in place of
189 narrowing. Check there's an open brace in the cache before
190 searching for its match.
191 (c-invalidate-state-cache-1): Add HERE parameter to function call.
192 (c-parse-state-1): Don't narrow here for 'forward strategy,
193 instead passing extra parameter HERE to several functions.
194 Remove 'BOD strategy.
195
196 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
197
198 * emacs-lisp/package.el (describe-package-1): Tell what archive is
199 used to install the package.
200
201 2013-02-06 Glenn Morris <rgm@gnu.org>
202
203 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
204 if we can't get user input. (Bug#6567)
205
206 * startup.el (command-line): If simple.el is missing,
207 test and warn about for some possible causes.
208
209 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
210
211 * cus-start.el (all): Add ns-use-native-fullscreen.
212
213 2013-02-05 Glenn Morris <rgm@gnu.org>
214
215 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
216
217 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
218 Fix directory creation in fallback case.
219
220 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
221
222 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
223 (vc-update-change-log): Use dolist.
224
225 2013-02-04 Chong Yidong <cyd@gnu.org>
226
227 * thingatpt.el: Rewrite the URL detection routines, absorbing some
228 code from ffap.el.
229 (thing-at-point-beginning-of-url-regexp): New var.
230 (thing-at-point-uri-schemes): Update list of URI schemes.
231 (thing-at-point-url-regexp): Variable deleted.
232 (thing-at-point-markedup-url-regexp): Disallow newlines.
233 (thing-at-point-newsgroup-regexp)
234 (thing-at-point-newsgroup-heads)
235 (thing-at-point-default-mail-uri-scheme): New variables.
236 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
237 method to find the possible bounds of the URI at point.
238 New optional argument to find ill-formed URIs.
239 (thing-at-point-url-at-point): Rewrite. New arguments for finding
240 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
241 the scheme-adding heuristics from ffap-url-at-point.
242 (thing-at-point--bounds-of-well-formed-url): New function.
243 Do parens matching to decide whether to include parens in the URI
244 (Bug#9153).
245
246 * ffap.el: Require thingatpt.
247 (ffap-url-at-point): Delegate URI detection to thing-at-point.
248 All URI-valid characters are now recognized (Bug#5673).
249 (ffap-string-at-point): Use use-region-p.
250 (ffap-url-regexp): Extra character is handled by thing-at-point.
251 (ffap-string-at-point-mode-alist): Allow parentheses.
252 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
253 Convert to aliases; code moved to thingatpt.el.
254 (ffap-gnus-hook): Use setq-local.
255
256 2013-02-04 Glenn Morris <rgm@gnu.org>
257
258 * emacs-lisp/ert.el (ert--explain-format-atom):
259 Don't try to print non-characters as characters. (Bug#13543)
260
261 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
262
263 * net/tramp.el (tramp-debug-message): Extend function exclude list.
264 (tramp-backtrace): New defun.
265 (tramp-handle-insert-file-contents): Use `visit' when inserting
266 the local copy.
267
268 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
269 Use `remote-file-name-inhibit-cache'.
270
271 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
272
273 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
274 (bug#13614).
275
276 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
277 current-load-list (bug#13366).
278
279 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
280
281 * progmodes/compile.el (compilation-error-regexp-alist-alist):
282 Identify g++ template instantiation trace. (Bug#12287)
283 (compilation-mode-hook, compilation-start-hook)
284 (compilation-window-height): Simplify docstrings. (Bug#13379)
285
286 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
287
288 * mouse.el (mouse-drag-track): Always deactivate the mark before
289 running the final event's command since that command is in charge of
290 activating the mark if needed (bug#13523).
291
292 2013-02-02 Juri Linkov <juri@jurta.org>
293
294 * replace.el (perform-replace): Move let-bindings of isearch-*
295 variables deeper to the loop that searches for the next match.
296 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
297 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
298 (Bug#13579)
299
300 * isearch.el (isearch-search-fun-default): Check for null
301 first element of isearch-cmds as a precaution when it's used
302 with inactive isearch.
303
304 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
305
306 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
307 error when buffer in question is narrowed so position 1 is out of
308 visible part.
309
310 2013-02-02 Glenn Morris <rgm@gnu.org>
311
312 * textmodes/remember.el (remember-clipboard): Doc fix.
313
314 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
315
316 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
317 properties (bug#13179).
318
319 2013-02-02 Juri Linkov <juri@jurta.org>
320
321 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
322 instead of hard-coded default face `match'. (Bug#9438)
323
324 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
325
326 * vc/vc-arch.el (vc-arch-registered):
327 * vc/vc-bzr.el (vc-bzr-registered):
328 * vc/vc-cvs.el (vc-cvs-registered):
329 * vc/vc-git.el (vc-git-registered):
330 * vc/vc-hg.el (vc-hg-registered):
331 * vc/vc-mtn.el (vc-mtn-registered):
332 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
333 (Bug#13139)
334
335 * info.el (Info-next-reference, Info-prev-reference): Add numeric
336 prefix argument. (Bug#11656)
337
338 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
339
340 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
341
342 2013-02-01 Glenn Morris <rgm@gnu.org>
343
344 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
345 if the backend is known not to support it.
346
347 * imenu.el (imenu-default-create-index-function):
348 Tweak infinite loop test to check for forward motion as well as none.
349
350 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
351
352 * net/soap-client.el (soap-invoke): Encode the string for
353 `url-request-data' as UTF-8.
354 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
355
356 2013-02-01 Glenn Morris <rgm@gnu.org>
357
358 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
359
360 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
361
362 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
363
364 * net/tramp.el (tramp-tramp-file-p): Comment check for
365 `string-as-unibyte'. The function does not exist on XEmacs, and
366 likely we need another approach.
367
368 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
369 `tramp-gw-*' variables are bound.
370
371 2013-01-31 Glenn Morris <rgm@gnu.org>
372
373 * files.el (basic-save-buffer-2): Choose coding system for
374 writing the file before backing it up, to reduce delay between
375 backing up and writing the new version. (Bug#13522)
376
377 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
378
379 * simple.el (cycle-spacing): New command.
380 (just-one-space): Use it.
381
382 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
383
384 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
385 (opascal-newline-always-indents): Remove custom.
386 (opascal-tab, opascal-newline): Remove commands.
387 (opascal-new-comment-line): Insert "\n" instead of calling newline.
388 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
389 (opascal-save-match-data): Remove, use save-match-data instead.
390 (opascal-save-state): Use with-silent-modifications.
391
392 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
393 (bug#13585).
394
395 2013-01-30 Juri Linkov <juri@jurta.org>
396
397 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
398 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
399 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
400
401 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
402
403 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
404 column if we're just deleting the backslashes.
405 (makefile-fill-paragraph): Use eolp.
406
407 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
408
409 * autorevert.el (auto-revert-use-notify): Fix docstring.
410
411 2013-01-30 Leo Liu <sdl.web@gmail.com>
412
413 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
414
415 2013-01-30 Glenn Morris <rgm@gnu.org>
416
417 * mouse.el (mouse-drag-line): Avoid pushing same event onto
418 unread-command-events twice in some cases. This tries to implement
419 the 2012-07-26 changes in a different way. (Bug#13560)
420
421 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
422
423 * progmodes/python.el
424 (python-pdbtrack-comint-output-filter-function): Enhancements on
425 stacktrace detection. (thanks @gnovak)
426
427 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
428
429 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
430 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
431 Use defvar-local.
432 (jit-lock-register): Use setq-local.
433
434 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
435
436 * calc-units.el (math-default-units-table): Remove initial value.
437 (calc-convert-units): Treat expressions where all the units cancel as
438 if they didn't have units.
439
440 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
441
442 * net/tramp.el (tramp-process-connection-type): Fix docstring.
443 (tramp-completion-reread-directory-timeout): Fix type.
444 (tramp-connection-min-time-diff): New defcustom.
445
446 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
447
448 2013-01-30 Glenn Morris <rgm@gnu.org>
449
450 * imenu.el (imenu-default-create-index-function):
451 Put back a version of the infinite loop test removed 2013-01-23.
452
453 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
454
455 * progmodes/python.el (python-shell-parse-command):
456 Find python-shell-interpreter with modified environment.
457
458 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
459
460 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
461
462 2013-01-29 Alan Mackenzie <acm@muc.de>
463
464 Amend to fontify /regexp/s in actions correctly.
465 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
466 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
467 are no longer included.
468 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
469 What used to be these variables without "-line" in the name.
470 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
471 (c-awk-non-arith-op-bra-re): Now also matches {.
472 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
473 "return", and "case".
474 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
475 by /.
476 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
477 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
478
479 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
480
481 * autorevert.el (auto-revert-use-notify):
482 Use `custom-initialize-default' for initialization. (Bug#13583)
483
484 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
485
486 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
487 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
488 in `tramp-file-name-handler'.
489 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
490 compatibility.
491 (tramp-compute-multi-hops): Check, whether
492 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
493
494 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
495
496 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
497 (bug#13297).
498
499 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
500
501 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
502 checks made superfluous by the \_< operator.
503 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
504 temporarily) broken indentation.
505 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
506 Highlight nested constants, too. \_< broke that.
507
508 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
509
510 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
511 instead of "\\b".
512
513 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
514
515 * autorevert.el (auto-revert-handler): Notifications which result
516 from a saved file shall not be taken into account. (Bug#13557)
517
518 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
519
520 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
521 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
522 (lisp-mode): Pass t for it. (Bug#13556)
523
524 2013-01-25 Alan Mackenzie <acm@muc.de>
525
526 AWK Mode: Fix indentation bug at top level. Bug #12274.
527
528 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
529 just before CASE 5D.
530
531 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
532
533 * net/socks.el (socks-nslookup-host): Use string-to-number.
534
535 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
536
537 * autorevert.el (auto-revert-remote-files)
538 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
539 (auto-revert-notify-enabled, auto-revert-use-notify)
540 (auto-revert-notify-watch-descriptor-hash-list)
541 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
542 (auto-revert-notify-event-descriptor)
543 (auto-revert-notify-event-action)
544 (auto-revert-notify-event-file-name): Doc fix.
545 (global-auto-revert-mode): Reorder checks.
546 (auto-revert-notify-rm-watch): Respect changed values of
547 `auto-revert-notify-watch-descriptor-hash-list'.
548 (auto-revert-notify-add-watch): Check for
549 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
550 `inotify-add-watch'. Watch `default-directory' instead of
551 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
552 has a changed meaning now. (Bug#13540)
553 (auto-revert-notify-handler): Change implementation wrt events
554 returning from a directory.
555 (auto-revert-handler): Reorder implementation for checks of remote
556 files.
557 (auto-revert-buffers): Fix parentheses error.
558
559 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
560
561 * progmodes/python.el: Enhancements to header documentation about
562 skeletons. (Bug#5716)
563
564 * imenu.el (imenu-default-create-index-function): Remove useless
565 infinite loop check. (Bug#13438)
566
567 2013-01-25 Alan Mackenzie <acm@muc.de>
568
569 Fix a bug in the state cache mechanism. Refactor this a bit.
570
571 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
572 `cache-pos' element from the return value.
573 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
574 buffer to enable proper searching from beyond HERE. Amend the
575 test for detecting the sought brace pair. Amend the value written
576 to the "brace desert cache" when the brace isn't found.
577 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
578 and several other variables analogously.
579 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
580 parameter to a locally calculated variable.
581 (c-parse-state-1): Change the calling conventions to the two
582 defuns involving `cache-pos'.
583
584 2013-01-25 Chong Yidong <cyd@gnu.org>
585
586 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
587
588 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
589
590 * paren.el (show-paren-function): Make sure to set 'priority and
591 'face only if the overlay does exist.
592
593 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
594
595 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
596
597 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
598 basic attributes.
599 (tramp-sh-handle-set-file-acl): Improve error checking.
600
601 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
602
603 * doc-view.el (doc-view-display): Force mode line update until all
604 document is converted. Suggested by Stefan Monnier (Bug#13164).
605
606 2013-01-23 Bastien Guerry <bzg@gnu.org>
607
608 * paren.el (show-paren-function): Make sure an overlay exists
609 before trying to delete it. Also use `pos' as a position only
610 when it is an integer.
611
612 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
613
614 * play/gametree.el (gametree-break-line-here): Use point-marker.
615
616 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
617
618 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
619 Mark descriptive parts with `display' property.
620
621 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
622
623 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
624 New variable to map standard dict names to hunspell ones.
625 (ispell-set-spellchecker-params): Make sure specific dict names
626 are used for standard dicts with hunspell.
627
628 2013-01-21 Tassilo Horn <tsdh@gnu.org>
629
630 * textmodes/reftex-cite.el (reftex-format-citation): Add format
631 chars for note (%N) and url (%U).
632 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
633
634 2013-01-21 Juri Linkov <juri@jurta.org>
635
636 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
637 in addition to existing separate binding `meta f10' in `global-map'.
638 (Bug#13484)
639
640 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
641
642 Improve XEmacs compatibility.
643
644 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
645
646 * net/tramp-adb.el (top): Require `time-date'.
647 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
648 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
649 Use `tramp-file-name-handler'.
650 (tramp-adb-maybe-open-connection):
651 Use `tramp-compat-set-process-query-on-exit-flag'.
652
653 * net/tramp-sh.el (tramp-sh-handle-file-acl):
654 Use `tramp-compat-funcall'.
655
656 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
657 `tramp-compat-funcall'.
658
659 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
660
661 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
662 reimplementation using "adb shell command ..." instead of running
663 remote shell interactively.
664
665 2013-01-20 Glenn Morris <rgm@gnu.org>
666
667 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
668 Add native profiler menu entries.
669
670 * profiler.el (profiler-running-p): New function.
671 (profiler-cpu-profile): Use profiler-running-p.
672 (profiler-report-mode-map): Add some more menu entries.
673
674 2013-01-19 Glenn Morris <rgm@gnu.org>
675
676 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
677 fixes 2012-12-07 change. (Bug#13499)
678
679 2013-01-19 Leo Liu <sdl.web@gmail.com>
680
681 * dired.el (dired-get-marked-files): Prune erroneous values due to
682 last change. (Bug#13152)
683
684 2013-01-19 Glenn Morris <rgm@gnu.org>
685
686 * progmodes/etags.el (tags-table-check-computed-list):
687 Preserve point in tags buffer. (Bug#13412)
688
689 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
690
691 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
692 Chong Yidong <cyd@gnu.org>
693
694 * image-mode.el (image-next-file, image-previous-file):
695 New commands (Bug#8453).
696 (image-mode-map): Bind them to n and p.
697 (image-mode--images-in-directory): New helper function.
698
699 2013-01-19 Chong Yidong <cyd@gnu.org>
700
701 * image-mode.el (image-mode-fit-frame): Add a frame argument.
702 Suggested by Drew Adams (Bug#7730). Handle window decorations;
703 save and restore the old window configuration.
704
705 2013-01-18 Leo Liu <sdl.web@gmail.com>
706
707 * progmodes/js.el: Tweak autoload cookie for alias.
708
709 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
710
711 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
712 buffer local, again. This was lost with the fix on 2013-01-12.
713
714 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
715
716 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
717 order to support several eshell buffers in parallel.
718
719 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
720
721 * autorevert.el (auto-revert-use-notify): In the :set function, do
722 not modify `kill-buffer-hook'.
723 (auto-revert-notify-rm-watch):
724 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
725 (auto-revert-notify-add-watch): Do not call
726 `auto-revert-notify-rm-watch', but add it to a buffer local
727 `kill-buffer-hook'.
728
729 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
730
731 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
732 call to `eval' rather than a backquoted lambda.
733
734 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
735
736 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
737 to return an explicit nil.
738 (advice--remove-function): Change accordingly.
739
740 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
741 the use of nadvice.el.
742
743 * progmodes/which-func.el (which-function): Silence imenu errors
744 (bug#13433).
745
746 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
747
748 * progmodes/sql.el: (sql-imenu-generic-expression):
749 (sql-mode-font-lock-object-name): Match schema qualified names.
750 (sql-connect): Use string keys.
751 (sql-product-interactive): Wait for interpreter prompt.
752 (sql-comint-oracle): Set process coding based on NLS_LANG.
753
754 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
755
756 * progmodes/sql.el (sql-output-to-send): Remove, unused.
757 (sql-interactive-remove-continuation-prompt):
758 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
759
760 2013-01-14 Leo Liu <sdl.web@gmail.com>
761
762 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
763 (Bug#13420)
764
765 2013-01-14 Glenn Morris <rgm@gnu.org>
766
767 * progmodes/compile.el (compilation-error-regexp-alist-alist):
768 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
769
770 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
771
772 * progmodes/python.el (python-nav-end-of-statement):
773 Fix cornercase when handling multiline strings.
774
775 2013-01-13 Richard Stallman <rms@gnu.org>
776
777 * mail/sendmail.el (mail-position-on-field): Add doc string.
778
779 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
780 Get current message boundaries and pass them to
781 message-forward-make-body-mime. Minor style changes.
782
783 2013-01-13 Eli Zaretskii <eliz@gnu.org>
784
785 * cus-start.el (all): Avoid warnings about
786 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
787
788 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
789
790 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
791
792 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
793
794 * jit-lock.el (jit-lock-debug-mode): New minor mode.
795 (jit-lock--debug-fontifying): New var.
796 (jit-lock--debug-fontify): New function.
797 * subr.el (condition-case-unless-debug): Don't prevent catching the
798 error, just let the debbugger run.
799 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
800 timer code and don't drop errors silently.
801
802 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
803
804 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
805 `permanent-local' property.
806 (auto-revert-notify-handler): Use `file-equal-p'.
807
808 2013-01-12 Eli Zaretskii <eliz@gnu.org>
809
810 * autorevert.el (auto-revert-notify-handler): Fix filtering of
811 file notification by ACTION. For filtering by file name, compare
812 only the non-directory part of the file name.
813
814 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
815
816 * autorevert.el: Use cl-lib instead of cl.
817
818 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
819 (vc-bzr-checkin): Use it.
820 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
821 will preserve match-data.
822
823 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
824
825 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
826 (js--declaration-keyword-re): New var.
827 (js--multi-line-declaration-indentation): New function.
828 (js--proper-indentation): Use it.
829
830 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
831
832 * calc/calc.el (calc-highlight-selections-with-faces)
833 (calc-dispatch):
834 * comint.el (comint-history-isearch-message):
835 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
836 * ffap.el (ffap-string-at-point-region, ffap-next)
837 (ffap-string-at-point, ffap-string-around)
838 (ffap-copy-string-as-kill, ffap-highlight-overlay)
839 (ffap-literally):
840 * font-lock.el (font-lock-keywords-alist)
841 (font-lock-removed-keywords-alist):
842 * help-mode.el (help-xref-symbol-regexp):
843 * info.el (Info-find-emacs-command-nodes):
844 * international/mule.el (add-to-coding-system-list):
845 * isearch.el (isearch-message-function, isearch-fail-pos):
846 * misearch.el (multi-isearch-next-buffer-function):
847 * newcomment.el (comment-box):
848 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
849 (pr-setting-database):
850 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
851 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
852 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
853 (pike-font-lock-keywords-3):
854 * progmodes/compile.el (compile):
855 * progmodes/etags.el (tags-table-files)
856 (tags-table-files-function, tags-included-tables-function):
857 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
858 (gdb-restore-windows):
859 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
860 (ps-n-up-filling-database):
861 * server.el (server-buffer, server-log):
862 * simple.el (newline, delete-backward-char, delete-forward-char)
863 (minibuffer-history-isearch-message, kill-line, track-eol)
864 (temporary-goal-column):
865 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
866 (flyspell-default-deplacement-commands):
867 * textmodes/ispell.el (ispell-accept-output):
868 * textmodes/sgml-mode.el (html-tag-help):
869 * vc/compare-w.el (compare-ignore-whitespace)
870 (compare-ignore-case, compare-windows-dehighlight):
871 * vc/diff.el (diff):
872 * whitespace.el (whitespace-point)
873 (whitespace-font-lock-refontify, whitespace-bob-marker)
874 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
875
876 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
877
878 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
879 (auto-revert-notify-rm-watch): Ignore errors.
880 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
881 inotify, and '(size last-write-time) for w32notify.
882 Set buffer-local `auto-revert-use-notify' to nil when adding a file
883 watch fails - this is a fallback to the file modification check.
884 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
885 (auto-revert-notify-event-action)
886 (auto-revert-notify-event-file-name): New defuns.
887 (auto-revert-notify-handler): Use them. Implement first
888 plausibility checks.
889 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
890
891 2013-01-11 Julien Danjou <julien@danjou.info>
892
893 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
894 max are almost equal. Also return the correct value for V which is
895 already between 0 and 1.
896
897 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
898
899 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
900
901 2013-01-11 Eli Zaretskii <eliz@gnu.org>
902
903 * autorevert.el (auto-revert-notify-rm-watch)
904 (auto-revert-notify-add-watch): Fix typos in w32notify function
905 names.
906
907 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
908
909 * autorevert.el (auto-revert-notify-enabled): Move up.
910 (auto-revert-use-notify): New defcustom.
911 (auto-revert-mode, global-auto-revert-mode)
912 (auto-revert-notify-add-watch, auto-revert-handler)
913 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
914 `auto-revert-notify-enabled'.
915
916 2013-01-10 Elias Pipping <pipping@exherbo.org>
917
918 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
919 * doc-view.el (doc-view-document->bitmap):
920 Use doc-view-single-page-converter-function instead of
921 single-page-converter arg; adjust callers.
922
923 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
924
925 * progmodes/which-func.el (which-function): Understand Semantic's use
926 of overlays in imenu--index-alist.
927
928 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
929
930 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
931 (Man-man-k-use-anchor): New var.
932 (Man-parse-man-k): New function.
933 (Man-completion-table): Use it.
934 (man): Flush the completion cache between uses.
935
936 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
937
938 * autorevert.el: Add file watch support.
939 (auto-revert-notify-enabled): New defconst.
940 (auto-revert-notify-watch-descriptor-hash-list)
941 (auto-revert-notify-watch-descriptor)
942 (auto-revert-notify-modified-p): New defvars.
943 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
944 (auto-revert-notify-handler): New defuns.
945 (auto-revert-mode, global-auto-revert-mode): Remove file watches
946 when mode is disabled.
947 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
948 (auto-revert-buffers): Add file watches for active buffers.
949
950 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
951
952 * cus-start.el (toplevel): Only allow float values for
953 scroll-up-aggressively and scroll-down-aggressively.
954 Allow any number for line-spacing.
955
956 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
957
958 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
959 (doc-view-pdf->png-converter-function): Use mupdf if available.
960 (doc-view-djvu->png-converter-function)
961 (doc-view-ps->png-converter-function): Remove.
962 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
963 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
964 (doc-view-already-converted-p): Adjust accordingly.
965 (doc-view-mode-p): Simplify.
966 (doc-view-enlarge): Use setq-local.
967 (doc-view-pdf->png-converter-ghostscript)
968 (doc-view-djvu->png-converter-ddjvu)
969 (doc-view-pdf->png-converter-mupdf): Rework to call
970 doc-view-start-process directly.
971 (doc-view-pdf/ps->png): Simplify accordingly.
972 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
973 (doc-view-document->bitmap): Rename from doc-view-document->png.
974 (doc-view-convert-current-doc): Merge pdf and djvu cases.
975 (doc-view-set-slice-from-bounding-box): Fix completion table.
976 (doc-view-mode): Use add-hook for after-revert-hook.
977
978 2013-01-10 Glenn Morris <rgm@gnu.org>
979
980 * emacs-lisp/authors.el (authors-ignored-files)
981 (authors-valid-file-names, authors-renamed-files-alist):
982 Add some more entries.
983
984 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
985
986 * image-mode.el (image-mode-winprops): Don't throw away the fallback
987 `t' pseudo-window entry.
988
989 2013-01-10 Alan Mackenzie <acm@muc.de>
990
991 Fix bugs in the c-parse-state mechanism. Reuse some markers
992 instead of continually generating new ones.
993
994 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
995 (c-state-old-cpp-end-marker): New variables.
996 (c-append-lower-brace-pair-to-state-cache): Start a backward
997 search for "}" definitively outside CPP constructs.
998 (c-remove-stale-state-cache): Inform the caller of a need to
999 search back for a brace pair in certain circumstances.
1000 (c-state-maybe-marker): New macro.
1001 (c-parse-state): Reuse markers when appropriate.
1002
1003 2013-01-10 Glenn Morris <rgm@gnu.org>
1004
1005 * simple.el (execute-extended-command): Doc fix.
1006 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
1007
1008 2013-01-10 Chong Yidong <cyd@gnu.org>
1009
1010 * faces.el (read-face-name): Doc fix.
1011
1012 2013-01-10 Roland Winkler <winkler@gnu.org>
1013
1014 * emacs-lisp/crm.el: Allow any regexp for separators.
1015 (crm-default-separator): All spaces around the default comma separator.
1016 (crm--completion-command): New macro.
1017 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1018 (crm-complete-and-exit): Handle non-single-char separators.
1019
1020 2013-01-09 Elias Pipping <pipping@lavabit.com>
1021
1022 * doc-view.el: Add support for DjVu (bug#13164).
1023 (doc-view-djvu->png-converter-function): New config var.
1024 (doc-view-single-page-converter-function, doc-view--image-type)
1025 (doc-view--image-file-extension): New vars.
1026 (doc-view-mode): Initialize them.
1027 (doc-view-goto-page): Use them.
1028 (doc-view-mode-p): Add support for ddjvu.
1029 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1030 (doc-view-set-up-single-converter): New funs.
1031 (doc-view-pdf/ps->png): Extend for djvu.
1032 (doc-view-document->png): Rename from doc-view-pdf->png.
1033 (doc-view-convert-current-doc): Handle djvu.
1034 (doc-view-insert-image, doc-view-display)
1035 (doc-view-already-converted-p): Don't hardcode png.
1036 (doc-view-set-doc-type): Recognize djvu docs.
1037
1038 2013-01-09 Elias Pipping <pipping@lavabit.com>
1039
1040 * doc-view.el: Add support for mupdf converter (bug#13164).
1041 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1042 (doc-view-ps->png-converter-function): New config vars.
1043 (doc-view-pdf->png-converter-ghostscript)
1044 (doc-view-ps->png-converter-ghostscript)
1045 (doc-view-pdf->png-converter-mupdf): New functions.
1046 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1047
1048 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1049
1050 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1051 first in session cache: When `tramp-own-remote-path' is in
1052 `tramp-remote-path', the remote path is only set in the session
1053 cache.
1054
1055 2013-01-09 Glenn Morris <rgm@gnu.org>
1056
1057 * emacs-lisp/trace.el (trace-function-foreground)
1058 (trace-function-background): Doc fix.
1059
1060 2013-01-09 Juri Linkov <juri@jurta.org>
1061
1062 * international/mule-cmds.el (read-char-by-name): Move let-binding
1063 of completion-ignore-case around completing-read to fix regression
1064 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1065 `string-match-p' using the nil value of `case-fold-search' and
1066 `completion-ignore-case' in `completion-pcm--all-completions'.
1067 (Bug#12615).
1068
1069 2013-01-09 Glenn Morris <rgm@gnu.org>
1070
1071 * progmodes/compile.el (compilation-parse-errors):
1072 Fix typo. (Bug#13369)
1073
1074 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1075
1076 * comint.el (comint-send-input): Check size of buffer before
1077 waiting for process output, in case already accepted. (Bug#13290)
1078
1079 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1080
1081 Spelling fixes.
1082 * net/tramp-adb.el (tramp-adb-get-toolbox):
1083 Fix misspelling of 'unknown'.
1084
1085 2013-01-08 Juri Linkov <juri@jurta.org>
1086
1087 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1088 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1089 Use underline style wave on terminals that support it. (Bug#13000)
1090
1091 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1092
1093 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1094 the predicate returns nil.
1095
1096 * simple.el: Use lexical-binding.
1097 (primitive-undo): Use pcase.
1098 (minibuffer-history-isearch-push-state): Use a closure.
1099
1100 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1101
1102 * simple.el (primitive-undo): Move from undo.c.
1103
1104 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1105
1106 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1107 (cvs-mode-remove-handled): Use it (bug#13380).
1108
1109 * emacs-lisp/nadvice.el (advice--tweak): New function.
1110 (advice--remove-function, advice--subst-main): Use it.
1111
1112 * emacs-lisp/advice.el: Update commentary.
1113
1114 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
1115
1116 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1117 Remove spurious entry.
1118
1119 2013-01-08 Glenn Morris <rgm@gnu.org>
1120
1121 * net/tramp.el (tramp-default-host-alist): Add :version.
1122
1123 2013-01-08 Juri Linkov <juri@jurta.org>
1124
1125 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1126 single completion. (Bug#12456)
1127 (info--manual-names): Expand node completions into an explicit list
1128 before appending it to another list. Filter out internal buffers
1129 with the leading space in the buffer name. (Bug#10771)
1130
1131 2013-01-08 Juri Linkov <juri@jurta.org>
1132
1133 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
1134 that defaults to the Top node.
1135 (Info-goto-node, Info-read-node-name): Doc fix to mention that
1136 the short format (FILENAME) goes to the Top node.
1137 (Info-build-node-completions): Rename arg `file' to `filename'.
1138 (Bug#13365)
1139
1140 2013-01-07 Bastien Guerry <bzg@gnu.org>
1141
1142 * menu-bar.el (menu-bar-search-documentation-menu):
1143 Use `apropos-user-option' and fix the help message.
1144
1145 2013-01-07 Bastien Guerry <bzg@gnu.org>
1146
1147 * apropos.el (apropos-do-all): Update docstring.
1148 (apropos-user-option-button): New face.
1149 (apropos-user-option): Rename from `apropos-variable' and update
1150 docstring.
1151 (apropos-variable): Rewrite, now show all variables by default.
1152 (apropos-print): Mention "User option" instead of "Variable" when
1153 printing doc for user options. (Bug#13276)
1154
1155 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
1156
1157 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1158 Handle filename correctly, when parsing "source -> target" symlink
1159 output.
1160 (tramp-adb-handle-set-file-times): New defun.
1161
1162 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
1163
1164 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1165 advice list when the interactive-spec of ad-Advice-* changes.
1166
1167 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1168
1169 * wid-edit.el (widget-default-get): Work for inlined elements.
1170 (Bug#12670)
1171
1172 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
1173
1174 * net/tramp.el (tramp-default-host-alist): New defcustom.
1175 (tramp-find-host): Use it.
1176 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
1177 `eshell-directory-change-hook'.
1178
1179 * net/tramp-adb.el (top): Add adb specific entry in
1180 `tramp-default-host-alist'.
1181 (tramp-adb-file-name-host): Remove function.
1182 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1183 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1184
1185 * net/tramp-sh.el: Move eshell integration code to tramp.el.
1186
1187 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1188
1189 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1190
1191 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
1192
1193 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
1194 consist of more than one digit.
1195 (tramp-adb-file-name-handler-alist):
1196 Use `tramp-handle-file-exists-p' consistently.
1197 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1198 (tramp-adb-handle-file-exists-p): Remove function.
1199 (tramp-adb-file-name-host): New defun.
1200 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1201 Use it.
1202 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1203
1204 2013-01-06 Chong Yidong <cyd@gnu.org>
1205
1206 * vc/vc.el (vc-next-action): Detect buffer modifications
1207 conflicting with locking VCS operation (Bug#11490).
1208
1209 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1210
1211 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
1212
1213 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1214 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1215
1216 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1217
1218 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1219 parsing of ls output using regular expression (handle filenames
1220 with spaces). Use virtual device number.
1221 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1222 cleanup).
1223
1224 2013-01-04 Daiki Ueno <ueno@gnu.org>
1225
1226 * epg.el: Silence byte-compiler warnings.
1227 (epg--start): Use delete-char instead of delete-backward-char.
1228 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1229
1230 2013-01-04 Daiki Ueno <ueno@gnu.org>
1231
1232 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1233 Suggested by Eli Zaretskii <eliz@gnu.org>.
1234
1235 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
1236
1237 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1238 non-negative integers. Otherwise, the default values are used.
1239 (tramp-convert-file-attributes): Convert uid and gid to integers.
1240
1241 2013-01-04 Glenn Morris <rgm@gnu.org>
1242
1243 * term.el (term-handle-colors-array): Ensure face attributes
1244 are fully specified, not nil. (Bug#13337)
1245
1246 * term.el (term-default-fg-color, term-default-bg-color):
1247 Fix custom type.
1248
1249 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1250 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1251 rather than 'jka-compr being loaded. (Bug#13338)
1252
1253 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1254
1255 * icomplete.el (icomplete-completions):
1256 Honor icomplete-prospects-height once more following
1257 2012-11-29 changes. (Bug#13224)
1258
1259 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1260
1261 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1262 of called-interactively-p as well (bug#13237).
1263
1264 * view.el (view--enable, view--disable): Rename from view-mode-enable
1265 and view-mode-disable and assume it's called from view-mode.
1266 (view-mode-enable, view-mode-disable): Redefine as obsolete
1267 compatibility layer above view-mode.
1268 (view-mode-enter): Call `view-mode'.
1269
1270 * files.el (after-find-file): Call `view-mode'.
1271
1272 * doc-view.el (doc-view-scale-internally): New var.
1273 (doc-view-enlarge, doc-view-insert-image): Obey it.
1274
1275 2013-01-03 Daiki Ueno <ueno@gnu.org>
1276
1277 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1278 exist. (Bug#13344)
1279
1280 2013-01-03 Glenn Morris <rgm@gnu.org>
1281
1282 * mail/rmail.el (rmail-set-header-1): Ignore case.
1283 Handle multi-line headers. (Bug#13330)
1284
1285 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1286 Handle paragraph starting at beginning of buffer.
1287
1288 * subr.el (eval-after-load): Don't purecopy the form, so that it
1289 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1290
1291 * emacs-lisp/byte-run.el (defun): Place cl declarations
1292 after any interactive spec. (Bug#13265)
1293
1294 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1295
1296 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1297 defun. Don't check for DECL if DOCSTRING isn't a string.
1298 (defun): Likewise.
1299
1300 2013-01-02 Glenn Morris <rgm@gnu.org>
1301
1302 * eshell/em-cmpl.el (eshell-pcomplete):
1303 More thoroughly imitate pcomplete. (Bug#13293)
1304
1305 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1306 Return nil for empty path elements. (Bug#13296)
1307
1308 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
1309
1310 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1311 order to improve efficiency (Based on Daniel Colascione's
1312 <dancol@dancol.org> patch). (Bug#13182)
1313
1314 2013-01-02 Glenn Morris <rgm@gnu.org>
1315
1316 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1317
1318 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1319
1320 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1321 neither DOCSTRING nor DECL was given. (Bug#13316)
1322
1323 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
1324
1325 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1326 `error' call.
1327 (tramp-do-copy-or-rename-file): Ignore errors when calling
1328 `set-file-extended-attributes'.
1329
1330 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1331 Add handler for `file-acl'.
1332 (tramp-smb-handle-file-acl): New defun.
1333
1334 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
1335
1336 * calc/README: Mention ISO 8601 week-numbering dates.
1337
1338 2013-01-01 Martin Rudalics <rudalics@gmx.at>
1339
1340 * view.el (view-mode-enable): New argument run-view-mode-hook.
1341 Run view-mode-hook only when it's non-nil (Bug#13315).
1342 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1343 argument t.
1344
1345 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
1346
1347 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1348 (No device connected, invalid device name). (Bug #13299)
1349
1350 2012-12-31 Martin Rudalics <rudalics@gmx.at>
1351
1352 * window.el (window-resizable--p): Rename to window-resizable-p.
1353 (window-resize-no-error): New function.
1354
1355 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1356 broken in fix from 2012-12-28.
1357
1358 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
1359
1360 * subr.el (special-form-p): Don't signal errors on undef aliases.
1361
1362 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
1363
1364 * calc/calc-forms.el (math-parse-date): Try using
1365 `math-parse-iso-date' when it looks like it might be needed.
1366 Allow times of 24:00.
1367 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
1368 of 24:00.
1369
1370 2012-12-30 Glenn Morris <rgm@gnu.org>
1371
1372 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
1373 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
1374 (rmail-summary-displayed, rmail-summary): Declare.
1375 (mairix-rmail-display): Just require rmail.
1376
1377 2012-12-30 Chong Yidong <cyd@gnu.org>
1378
1379 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
1380 check for the tarball contents.
1381
1382 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
1383
1384 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
1385 tarfile content listings (Bug#13136).
1386
1387 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
1388
1389 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1390 Insert the undecoded text of the message being forwarded. (Bug#9521)
1391
1392 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
1393
1394 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
1395 integers, if they are real numbers. (Bug#13282)
1396
1397 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
1398 Return `t' on success.
1399
1400 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1401 Add handler for `set-file-selinux-context'.
1402
1403 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
1404
1405 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
1406 (tramp-sh-handle-set-file-acl): Return `t' on success.
1407
1408 2012-12-29 Eli Zaretskii <eliz@gnu.org>
1409
1410 * files.el (backup-buffer-copy, basic-save-buffer-2):
1411 If set-file-extended-attributes fails, fall back on set-file-modes
1412 instead of signaling an error. (Bug#13298)
1413 (basic-save-buffer): Likewise.
1414
1415 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1416
1417 * progmodes/python.el: Support other commands triggering
1418 python-indent-line so indentation cycling continues to work.
1419 (python-indent-trigger-commands): New defcustom.
1420 (python-indent-line): Use it.
1421
1422 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1423
1424 * progmodes/python.el (python-shell-send-region): Add blank lines
1425 for non sent code so backtraces remain correct.
1426
1427 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1428
1429 * progmodes/python.el: Remove cl dependency.
1430 (python-syntax-count-quotes): Replace incf call.
1431 (python-fill-string): Replace setf call.
1432
1433 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
1434
1435 * info.el (info-other-window): New arg, for consistency with info.
1436
1437 2012-12-28 Martin Rudalics <rudalics@gmx.at>
1438
1439 * mail/rmail.el (rmail-maybe-display-summary):
1440 Rewrite (Bug#13066).
1441
1442 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
1443
1444 * epg.el (epg--start): Modify process-environment locally.
1445
1446 2012-12-28 Daiki Ueno <ueno@gnu.org>
1447
1448 * epg.el: Support pinentry-curses.
1449 Suggested by Werner Koch in
1450 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
1451 (epg-agent-file, epg-agent-mtime): New variable.
1452 (epg--start): Record the modified time of gpg-agent socket file,
1453 to restore Emacs frame after pinentry-curses termination.
1454 (epg-wait-for-completion): Restore Emacs frame here.
1455
1456 2012-12-27 Juri Linkov <juri@jurta.org>
1457
1458 * info.el (Info-file-completions): New variable.
1459 (Info-read-node-name-1): Complete node names in the Info file
1460 when a file name is given. Call `Info-build-node-completions'
1461 with a file name.
1462 (Info-build-node-completions): Add new arg `file'. When it is
1463 non-nil, visit it in a temporary buffer and cache its completions in
1464 `Info-current-file-completions'. Move most of the function body to
1465 `Info-build-node-completions-1'.
1466 (Info-build-node-completions-1): New function with the body from
1467 `Info-build-node-completions'. (Bug#12456)
1468
1469 2012-12-27 Juri Linkov <juri@jurta.org>
1470
1471 * frame.el (frame-maximization-style): Remove user option.
1472 (cycle-frame-maximized): Remove function.
1473 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
1474 (toggle-frame-fullscreen): New command bound to <f11> instead of
1475 `toggle-frame-maximized'.
1476 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
1477
1478 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
1479
1480 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
1481
1482 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1483 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1484 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1485 for `file-accessible-directory-p'. (Bug#13275)
1486
1487 2012-12-27 Sam Steingold <sds@gnu.org>
1488
1489 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
1490 continuations, see <http://stackoverflow.com/questions/3582436>.
1491
1492 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
1493
1494 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
1495 "module" and "def" to have indentation before them.
1496 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
1497
1498 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
1499
1500 2012-12-27 Alan Mackenzie <acm@muc.de>
1501
1502 Speed up fontification where there's large brace blocks.
1503 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
1504 to a call of c-beginning-of-decl-1.
1505
1506 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1507
1508 * comint.el (comint-adjust-window-point): New function.
1509 (comint-postoutput-scroll-to-bottom):
1510 Call comint-adjust-window-point (Bug#13248).
1511
1512 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
1513
1514 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
1515 Rakefile regexp.
1516 (auto-mode-alist): Associate .gemspec files with ruby-mode
1517 (https://bugs.ruby-lang.org/issues/5453).
1518
1519 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
1520
1521 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
1522 Suppress coloring, if possible (required for BusyBox based systems like
1523 CyanogenMod).
1524 (tramp-adb-handle-file-attributes)
1525 (tramp-adb-handle-insert-directory)
1526 (tramp-adb-handle-file-name-all-completions): Use it.
1527 (tramp-adb-get-toolbox): New defun. Check for remote shell
1528 implementation (BusyBox or Toolbox).
1529
1530 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
1531
1532 * startup.el (initial-buffer-choice): Allow function as value
1533 (Bug#13251).
1534 (command-line-1): Handle case where initial-buffer-choice
1535 specifies a function.
1536 * server.el (server-execute): Handle case where
1537 initial-buffer-choice specifies a function.
1538
1539 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1540
1541 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
1542 its own function.
1543 (smtpmail-try-auth-methods): Forget the user name/password if the
1544 login is unsuccessful (bug#12424).
1545
1546 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
1547
1548 * notifications.el (notifications-notify): Protect body with
1549 `with-demoted-errors'.
1550
1551 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1552 Check properties of remote device. Restart connection, if there is a
1553 change.
1554
1555 2012-12-21 Chong Yidong <cyd@gnu.org>
1556
1557 * sort.el (sort-subr): Doc fix (Bug#13056).
1558
1559 2012-12-21 Bastien Guerry <bzg@gnu.org>
1560
1561 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
1562
1563 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
1564
1565 * simple.el (process-file): Overwrite stderr file, if exists.
1566
1567 2012-12-21 Daiki Ueno <ueno@gnu.org>
1568
1569 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
1570 (epg-error): Set `error-message' property.
1571
1572 2012-12-21 Chong Yidong <cyd@gnu.org>
1573
1574 * international/mule-cmds.el (read-char-by-name): Signal an error
1575 if the user does not supply a valid character (Bug#13177).
1576
1577 * simple.el (transpose-subr-1): Preserve marker positions by
1578 changing the insertion sequence (Bug#13122).
1579
1580 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1581
1582 * simple.el (kill-region): Deactivate mark even for empty regions
1583 (Bug#13169).
1584
1585 2012-12-21 Chong Yidong <cyd@gnu.org>
1586
1587 * help-fns.el (describe-variable): Make sure we get the right
1588 buffer name (Bug#13105). Suggested by Kelly Dean.
1589
1590 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
1591
1592 * comint.el (comint-redirect-previous-input-string): New variable.
1593 (comint-redirect-setup, comint-redirect-cleanup)
1594 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
1595 (comint-redirect-preoutput-filter): Fix verbose message.
1596
1597 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
1598
1599 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
1600 is too long for Tramp. See discussion in
1601 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
1602
1603 * progmodes/compile.el (compilation-start): Remove line escape
1604 template.
1605
1606 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
1607
1608 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
1609 Adjust comment.
1610
1611 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
1612
1613 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
1614 following non-comment text (bug#13207).
1615 (lm-header-multiline): Continuation lines need to be indented more than
1616 the first line.
1617 (lm-homepage): New function.
1618 (lm-with-file): Don't be confused if narrowing is in effect.
1619
1620 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1621
1622 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
1623 very beginning of a hunk (e.g. killing the first line).
1624
1625 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
1626
1627 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
1628 and text properties from returned ACL string.
1629 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
1630 for "setfacl" command.
1631
1632 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
1633
1634 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
1635 `tramp-cleanup-this-connection', when the process has died.
1636 (Bug#13151)
1637
1638 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1639
1640 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
1641
1642 2012-12-17 Kevin Ryde <user42@zip.com.au>
1643
1644 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
1645
1646 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
1647
1648 Add support for preserving ACL entries of files.
1649
1650 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
1651 `set-file-acl' handlers.
1652
1653 * net/tramp-adb.el (tramp-adb-handle-copy-file):
1654 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1655
1656 * net/tramp-compat.el (tramp-compat-copy-file):
1657 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1658
1659 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1660 Add `file-acl' and `set-file-acl' handlers.
1661 (tramp-gvfs-handle-copy-file):
1662 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1663 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
1664 New defuns.
1665
1666 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1667 Add `file-acl' and `set-file-acl' handlers.
1668 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
1669 (tramp-sh-handle-set-file-acl): New defuns.
1670 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
1671 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1672
1673 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1674 Add `file-acl' and `set-file-acl' handlers.
1675 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
1676
1677 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1678
1679 * help-macro.el (make-help-screen): Instead of switch-to-buffer
1680 use pop-to-buffer with NORECORD argument t. As buffer name, use
1681 *Metahelp* with a leading space (Bug#13190).
1682
1683 2012-12-16 Romain Francoise <romain@orebokech.com>
1684
1685 * files.el (file-extended-attributes)
1686 (set-file-extended-attributes): New functions.
1687 (backup-buffer): Use them to handle both SELinux context and ACL
1688 entries.
1689 (backup-buffer-copy): Work with an alist of extended attributes,
1690 rather than an SELinux context.
1691 (basic-save-buffer-2): Ditto.
1692
1693 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
1694
1695 * battery.el (battery-bsd-apm): New function.
1696
1697 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
1698
1699 * calc/calc.el (calc-standard-date-formats): Adjust one of the
1700 standard date formats.
1701
1702 2012-12-15 Juri Linkov <juri@jurta.org>
1703
1704 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
1705 `isearch-insert-char-by-name'.
1706 (with-isearch-suspended): New defmacro with body mostly from
1707 `isearch-edit-string' except the part that sets
1708 `isearch-new-string' and `isearch-new-message'.
1709 (isearch-edit-string): Use new macro `with-isearch-suspended' with
1710 body that sets `isearch-new-string' and `isearch-new-message'.
1711 (isearch-insert-char-by-name): New command.
1712 * international/mule-cmds.el (read-char-by-name): Let-bind
1713 `enable-recursive-minibuffers' to t.
1714 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
1715
1716 2012-12-15 Juri Linkov <juri@jurta.org>
1717
1718 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
1719 (Bug#13175)
1720
1721 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
1722
1723 * dired-x.el (dired-guess-shell-command): Put colon at the end of
1724 the prompt. (Bug#13045)
1725
1726 2012-12-14 Glenn Morris <rgm@gnu.org>
1727
1728 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
1729 Try to include filename in non-bytecomp warning. (Bug#13132)
1730
1731 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
1732
1733 Fix permissions bugs with setgid directories etc. (Bug#13125)
1734 * files.el (backup-buffer): Don't rely on 9th output of
1735 file-attributes, as it's now a placeholder. Instead, use the new
1736 optional arg of file-ownership-preserved-p.
1737 (file-ownership-preserved-p): New optional arg GROUP.
1738 Fix mishandling of setuid directories that would cause this
1739 function to return t when it should have returned nil.
1740 Document what happens if the file does not exist, and when
1741 it's not known whether the ownership will be preserved.
1742 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
1743 Likewise.
1744 (tramp-get-local-gid): Use group-gid for integer, as that's
1745 faster and more reliable.
1746
1747 2012-12-14 Julien Danjou <julien@danjou.info>
1748
1749 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
1750 Update keywords list, data type and PL/pgSQL.
1751
1752 2012-12-14 Dave Abrahams <dave@boostpro.com>
1753
1754 * vc/ediff-util.el (ediff-buffer-type): New function.
1755 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
1756 rather than taking it as as argument.
1757 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
1758
1759 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
1760
1761 * json.el: Add pretty-print option (bug#12634).
1762 (json-encoding-separator, json-encoding-default-indentation)
1763 (json--encoding-current-indentation, json-encoding-pretty-print)
1764 (json-encoding-lisp-style-closings): New vars.
1765 (json--with-indentation): New macro.
1766 (json-encode-hash-table, json-encode-alist, json-encode-plist)
1767 (json-encode-array): Use it to obey json-encoding-pretty-print.
1768 (json-pretty-print-buffer, json-pretty-print): New commands.
1769
1770 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
1771
1772 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1773 Extract `ruby-syntax-propertize-expansions'.
1774 (ruby-syntax-propertize-expansions): Only change syntax on
1775 certain string delimiters, to punctuation. This way the common
1776 functions like forward-word and thing-at-point still work.
1777 (ruby-match-expression-expansion): Improve readability.
1778 (ruby-block-contains-point): New function.
1779 (ruby-add-log-current-method): Handle several edge cases.
1780
1781 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
1782
1783 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
1784 unload-feature finishes even when aborting an ongoing edebug session.
1785 Also, do not worry about edebug-mode, unload-feature takes care of it.
1786
1787 2012-12-13 Andreas Schwab <schwab@suse.de>
1788
1789 * net/tls.el (tls-program): Update customize type.
1790
1791 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
1792
1793 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
1794 (edebug-setup-hook, cl-read-load-hooks): Use it.
1795 (edebug-unload-function): New function. (Bug#13163)
1796
1797 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
1798
1799 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
1800 Otherwise, there could be errors in autoloading. (Bug#13151)
1801
1802 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
1803
1804 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
1805 sequences.
1806
1807 2012-12-13 Alan Mackenzie <acm@muc.de>
1808
1809 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
1810 * progmodes/cc-engine.el (c-backward-comments): Add code to work
1811 around `forward-comment' not recognizing ^M as whitespace.
1812
1813 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
1814
1815 * progmodes/python.el (python-skeleton-class)
1816 (python-skeleton-def): Do not add space after defun name.
1817
1818 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1819
1820 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
1821 (cl--symbol-function): Remove (now that funbound is like nil).
1822
1823 2012-12-12 Glenn Morris <rgm@gnu.org>
1824
1825 * button.el (button--area-button-p): Fix typo.
1826
1827 2012-12-12 Sam Steingold <sds@gnu.org>
1828
1829 * frame.el (frame-maximization-style): New user option.
1830 (toggle-frame-maximized): Toggle frame maximization according to
1831 `frame-maximization-style', bound to <f11>.
1832 (cycle-frame-maximized): Cycle between all maximization styles and
1833 non-maximized frame, bound to shift-<f11>.
1834
1835 2012-12-12 David Cadé <codename68@gmail.com>
1836
1837 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
1838
1839 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
1840
1841 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
1842 (eieio-override-prin1): Don't quote kewords and booleans.
1843 (object-write) <eieio-default-superclass>: Don't put closing parens
1844 on new line, avoid needless empty lines, align values that are objects
1845 with the slot keyword (instead of beginning on the same line).
1846 (eieio-list-prin1): Align value with slot keyword; increase
1847 eieio-print-depth before printing members of the list.
1848
1849 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1850
1851 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
1852 a display text-property.
1853 (report-emacs-bug-hook): Don't bother deleting it any more.
1854
1855 * hilit-chg.el (highlight-save-buffer-state): Delete.
1856 Use with-silent-modifications instead.
1857 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
1858
1859 * button.el: Handle buttons in display text-properties.
1860 (button--area-button-p, button--area-button-string):
1861 Use (STRING . STRING-POS) representation instead of just STRING.
1862
1863 2012-12-11 Eli Zaretskii <eliz@gnu.org>
1864
1865 * makefile.w32-in (compile4-SH): Fix a typo that caused term
1866 subdirectory be skipped.
1867
1868 2012-12-11 Glenn Morris <rgm@gnu.org>
1869
1870 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
1871
1872 * progmodes/f90.el (f90-line-continued, f90-indent-region):
1873 Treat preprocessor lines embedded in continuations like comments.
1874 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
1875
1876 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
1877
1878 * calc/calc.el (calc-standard-date-formats): Add more date
1879 formats.
1880 * calc/calc-forms.el (math-parse-iso-date): New function.
1881 (math-parse-date): Use `math-parse-iso-date' when appropriate.
1882 (math-parse-iso-date-validate): Add extra error checking.
1883 (calc-date-notation): Add ability to access new date formats.
1884
1885 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1886
1887 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
1888 font-lock as well as when there's no text-property.
1889
1890 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
1891
1892 * hi-lock.el: Refine the choice of default face.
1893 (hi-lock-keyword->face): New function. Use it wherever we used
1894 cadadadr instead.
1895 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
1896 (hi-lock--last-face): Remove var.
1897 (hi-lock--unused-faces): New var to replace it.
1898 (hi-lock-read-face-name): Use/maintain it.
1899 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
1900 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
1901 if it has another face.
1902
1903 2012-12-10 Eli Zaretskii <eliz@gnu.org>
1904
1905 * subr.el (w32notify-handle-event): New function.
1906 (inotify-handle-event): Doc fix.
1907
1908 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1909
1910 * subr.el (inotify-event-p, inotify-handle-event): New functions.
1911
1912 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
1913
1914 * simple.el (just-one-space): Doc fix.
1915
1916 2012-12-10 Eli Zaretskii <eliz@gnu.org>
1917
1918 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
1919
1920 2012-12-10 Le Wang <l26wang@gmail.com>
1921
1922 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
1923 narrowed buffer (bug#12361).
1924
1925 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
1926
1927 * vc/vc-hooks.el (vc-state): Doc fix.
1928
1929 2012-12-10 Glenn Morris <rgm@gnu.org>
1930
1931 * mail/rmail.el (rmail-maybe-display-summary):
1932 Preserve buffer, in case select-window changes it. (Bug#13066)
1933
1934 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1935
1936 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
1937 cl-load-hook where they belong.
1938
1939 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1940
1941 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
1942
1943 2012-12-09 Eli Zaretskii <eliz@gnu.org>
1944
1945 Parallelize byte compilation on MS-Windows.
1946 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
1947 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
1948 (WINS_BASIC): Define as concatenation of the above.
1949 (compile): Subdivide into 4 separate and independent jobs that can
1950 be run in parallel.
1951 (compile0-CMD, compile0-SH): New targets for compiling
1952 COMPILE_FIRST files, which are prerequisites for the rest of the
1953 byte-compilation.
1954 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
1955 New targets for parallel compilation with cmd.exe.
1956 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
1957 compiling under a Unixy shell.
1958
1959 2012-12-09 Chong Yidong <cyd@gnu.org>
1960
1961 * simple.el (set-mark-default-inactive): Delete this
1962 accidentally-introduced option.
1963 (set-mark-command, exchange-point-and-mark): Remove calls.
1964
1965 2012-12-09 Glenn Morris <rgm@gnu.org>
1966
1967 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
1968 Respect a defcustom's :set function, if appropriate. (Bug#109)
1969 (eval-defun): Doc fix.
1970
1971 2012-12-08 Juri Linkov <juri@jurta.org>
1972
1973 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
1974 (Info-fontify-node, Info-bookmark-make-record): Remove the
1975 file extension from Info-current-file (Bug#13016).
1976
1977 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1978
1979 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
1980 point, still provide some default.
1981 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
1982 names, since we don't use it right now. Actually return the list.
1983 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
1984
1985 2012-12-07 Chong Yidong <cyd@gnu.org>
1986
1987 * novice.el (disabled-command-function): Remove a spurious help
1988 xref (Bug#13043). Suggested by Kelly Dean.
1989
1990 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
1991 syntax is specified (Bug#13025).
1992
1993 * info.el (Info-set-mode-line): Remove the file extension from
1994 Info-current-file if there is one (Bug#13016).
1995
1996 2012-12-07 Glenn Morris <rgm@gnu.org>
1997
1998 * mail/rmail.el (rmail-mime-decoded): New permanent local.
1999 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2000 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2001 and rmail-mime-decoded. (Bug#9841)
2002
2003 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
2004 (batch-unrmail, unrmail): Doc fixes.
2005 (unrmail): Respect unrmail-mbox-format.
2006 * mail/rmail.el (rmail-mbox-format): New option.
2007 (rmail-show-message-1): Respect rmail-mbox-format.
2008
2009 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2010
2011 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2012
2013 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2014
2015 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2016 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2017 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2018 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2019 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2020 (cl-progv): Don't rely on dynamic scoping to find the body.
2021 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2022 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2023 (cl-declaim): Use backquotes.
2024 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2025 Use "cl--" prefix for the object's tag.
2026
2027 * ses.el: Use advice-add/remove.
2028 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2029 (copy-region-as-kill, yank): Use advice-add.
2030 (ses-unload-function): Use advice-remove.
2031
2032 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2033
2034 * button.el: Make them work in header-lines (bug#12817).
2035 (button-map): Add bindings for header-line and mode-line use.
2036 (button-get, button-put, button-label): `button' may now be a string.
2037 (button-activate): Don't make it a defsubst.
2038 (button--area-button-p, button--area-button-string): New functions.
2039 (make-text-button): Fix the return value when `beg' was a string.
2040 (push-button): Handle the mode-line case.
2041
2042 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2043
2044 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2045 (sql-signum): Remove. Use `cl-signum' instead.
2046 (sql-read-passwd): Remove; use read-passwd instread.
2047 (sql-get-login-ext): Use read-string.
2048 (sql-get-login): Use dolist and pcase.
2049 (sql--completion-table): Rename from sql-try-completion.
2050 Use complete-with-action.
2051 (sql-mode): Don't change abbrev-all-caps globally.
2052 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2053 (sql-postgres-completion-object): Initialize vars in their `let'.
2054 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2055 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2056 (sql-comint-interbase): Use a single append, without setq.
2057 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2058
2059 * hi-lock.el: Rework the default face and the serialize regexp code.
2060 (hi-lock--auto-select-face-defaults): Remove.
2061 (hi-lock-string-serialize-serial): Remove.
2062 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2063 make weak.
2064 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2065 equal string.
2066 (hi-lock-set-pattern): Adjust accordingly.
2067 (hi-lock--regexps-at-point): Simplify accordingly.
2068 (hi-lock--auto-select-face-defaults): Remove.
2069 (hi-lock--last-face): New var to replace it.
2070 (hi-lock-read-face-name): Rewrite (bug#11095).
2071 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2072
2073 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
2074
2075 * net/tramp.el (tramp-replace-environment-variables):
2076 Hide compiler warning.
2077 (tramp-file-name-for-operation): Remove `executable-find',
2078 `start-process', `call-process' and `call-process-region'.
2079
2080 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
2081
2082 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2083 compatibility.
2084
2085 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2086
2087 2012-12-06 Chong Yidong <cyd@gnu.org>
2088
2089 * ffap.el (ffap-replace-file-component): Fix typo.
2090
2091 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2092
2093 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2094 fix open-paren-like token test (bug#12785).
2095
2096 2012-12-06 Glenn Morris <rgm@gnu.org>
2097
2098 * mail/rmailsum.el (rmail-new-summary): Tweak for
2099 rmail-maybe-display-summary changing buffer. (Bug#13066)
2100
2101 2012-12-06 Juri Linkov <juri@jurta.org>
2102
2103 * info.el (Info-fontify-node): Don't hide the last newline.
2104 (Bug#12272)
2105
2106 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2107
2108 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2109 so as to enable message-read-from-minibuffer to expand mail aliases.
2110
2111 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2112
2113 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2114 the `intangible' property.
2115 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2116
2117 2012-12-05 Deniz Dogan <deniz@dogan.se>
2118
2119 * net/rcirc.el (rcirc-urls): Update documentation.
2120 (rcirc-condition-filter): New function.
2121 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2122 and exclude consecutive duplicate URLs (Bug#6082).
2123
2124 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
2125
2126 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2127 Check return code of copy command.
2128
2129 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
2130 Use group `tramp'. Add version.
2131
2132 2012-12-05 Chong Yidong <cyd@gnu.org>
2133
2134 * ffap.el (ffap-url-regexp): Don't require matching at front of
2135 string (Bug#4952).
2136 (ffap-url-p): If only a substring matches, return that.
2137 (ffap-url-at-point): Use the return value of ffap-url-p.
2138 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
2139 (find-file-at-point, dired-at-point, dired-at-point-prompter)
2140 (ffap-guess-file-name-at-point): Likewise.
2141 (ffap-replace-file-component): Fix typo.
2142
2143 * info.el (info-display-manual): Add existing Info buffers, whose
2144 files may not be in Info-directory-list, to the completion.
2145 (info--manual-names): New helper function.
2146
2147 2012-12-05 Glenn Morris <rgm@gnu.org>
2148
2149 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2150 New functions, for detecting and resolving conflicts. (Bug#10709)
2151
2152 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
2153
2154 * hi-lock.el (hi-lock-auto-select-face): New user variable.
2155 (hi-lock-auto-select-face-defaults): New buffer local variable.
2156 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2157 (hi-lock-unface-buffer): Prompt user with useful defaults.
2158 With prefix arg, unhighlight all hi-lock patterns in buffer.
2159
2160 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2161
2162 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2163
2164 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
2165
2166 * Makefile.in (TRAMP_SRC):
2167 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2168
2169 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2170
2171 * net/tramp-adb.el: New package.
2172
2173 2012-12-04 Chong Yidong <cyd@gnu.org>
2174
2175 * terminal.el: Move to obsolete/.
2176
2177 * longlines.el: Move to obsolete/.
2178
2179 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2180 Remove code referring to longlines mode.
2181
2182 2012-12-03 Juri Linkov <juri@jurta.org>
2183
2184 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2185
2186 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2187
2188 * textmodes/ispell.el (ispell-init-process)
2189 (ispell-start-process, ispell-internal-change-dictionary):
2190 Make sure personal dictionary name is expanded after initial
2191 `default-directory' value. Use expanded strings for
2192 keep/restart checks and for value (Bug#13019).
2193
2194 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2195
2196 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2197
2198 2012-12-03 Leo Liu <sdl.web@gmail.com>
2199
2200 * files.el (dir-locals-read-from-file): Check file non-empty
2201 before reading. (Bug#13038)
2202
2203 2012-12-03 Glenn Morris <rgm@gnu.org>
2204
2205 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2206 Remove any version extension before checking filename. (Bug#13006)
2207 (jka-compr-compression-info-list): Belated :version bump.
2208
2209 2012-12-03 Chong Yidong <cyd@gnu.org>
2210
2211 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2212
2213 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2214 (buffer-menu): Doc fix (Bug#12294).
2215
2216 2012-12-03 Roland Winkler <winkler@gnu.org>
2217
2218 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2219 of diary-show-all-entries in the diary buffer (Bug#12994).
2220
2221 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
2222
2223 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2224 "<STDIN>". This is binary safe.
2225
2226 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2227
2228 * calc/calc-forms.el (math-absolute-from-iso-dt)
2229 (math-date-to-iso-dt, math-parse-iso-date-validate)
2230 (math-iso-dt-to-date): New functions.
2231 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2232 (math-fd-isoweekday): New variables.
2233 (calc-date-notation, math-parse-standard-date, math-format-date)
2234 (math-format-date-part): Add support for more formatting codes.
2235
2236 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2237
2238 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2239 current buffer's file name when called interactively (Bug#12488).
2240
2241 2012-12-02 Juri Linkov <juri@jurta.org>
2242
2243 * info.el (info-display-manual): Don't clobber an existing Info
2244 buffer (Bug#10770). Add completion (Bug#10771).
2245
2246 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2247
2248 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2249 before using it for comparison (Bug#5297).
2250
2251 2012-12-01 Jari Aalto <jari.aalto@cante.net>
2252
2253 * textmodes/css-mode.el (css-current-defun-name): New function.
2254 (css-mode): Use it.
2255
2256 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2257 (html-mode): Use it.
2258
2259 2012-12-01 Chong Yidong <cyd@gnu.org>
2260
2261 Modularize add-log-current-defun (Bug#2224).
2262 Suggested by Jari Aalto.
2263
2264 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2265 (add-log-current-defun): Move mode-specific code to other files.
2266 (add-log-lisp-like-modes, add-log-c-like-modes)
2267 (add-log-tex-like-modes): Variables deleted.
2268
2269 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2270 (lisp-mode-variables): Use it.
2271
2272 * progmodes/cc-mode.el (c-common-init):
2273 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2274 add-log-current-defun-function.
2275
2276 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2277 (m4-mode): Use it.
2278
2279 * progmodes/perl-mode.el (perl-current-defun-name): New.
2280 (perl-mode): Use it.
2281
2282 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2283 Use lisp-current-defun-name.
2284
2285 * textmodes/tex-mode.el (tex-current-defun-name): New.
2286 (tex-common-initialization): Use it.
2287
2288 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2289 (texinfo-mode): Use it.
2290
2291 2012-12-01 Chong Yidong <cyd@gnu.org>
2292
2293 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2294 * progmodes/autoconf.el (autoconf-mode):
2295 * progmodes/js.el (js-mode):
2296 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2297 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2298 * progmodes/perl-mode.el (perl-mode):
2299 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2300 * textmodes/css-mode.el (css-mode):
2301 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2302 (sgml-tags-invisible, sgml-guess-indent):
2303 * textmodes/tex-mode.el (tex-common-initialization)
2304 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2305 (doctex-mode, plain-tex-mode, latex-mode):
2306 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2307
2308 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2309
2310 * vc/vc-hg.el (vc-hg-next-revision):
2311 Ensure use of default "tip" output format. (Bug#6968)
2312
2313 2012-12-01 Kim F. Storm <storm@cua.dk>
2314
2315 * startup.el (fancy-startup-tail): Add a clickable link
2316 (Bug#2176).
2317
2318 2012-12-01 Chong Yidong <cyd@gnu.org>
2319
2320 * startup.el (fancy-startup-tail): Improve the message about
2321 auto-save files (Bug#2176).
2322
2323 * files.el (recover-session): Improve the descriptive message, and
2324 use substitute-command-keys.
2325
2326 2012-12-01 Glenn Morris <rgm@gnu.org>
2327
2328 * ido.el (ido-file-internal):
2329 Handle other-window, other-frame for dired. (Bug#13036)
2330
2331 2012-11-30 Glenn Morris <rgm@gnu.org>
2332
2333 * icomplete.el (icomplete-separator): Fix :version.
2334
2335 2012-11-30 Chong Yidong <cyd@gnu.org>
2336
2337 * shell.el (shell): For C-u M-x shell, use an inactive shell
2338 buffer as the default (Bug#1975).
2339 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2340 (shell-mode): Use them to reapply ansi colorization if Shell mode
2341 is re-enabled.
2342
2343 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2344
2345 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2346
2347 2012-11-30 Samuel Bronson <naesten@gmail.com>
2348
2349 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2350 flag to xargs, for compatibility with BSD xargs (Bug#11703).
2351
2352 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2353
2354 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2355 by move-to-column (Bug#3234).
2356
2357 2012-11-30 Chong Yidong <cyd@gnu.org>
2358
2359 * longlines.el (longlines-wrap-line, longlines-encode-region):
2360 Preserve text properties (Bug#1425).
2361
2362 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2363
2364 * vc/vc.el (vc-register): Allow registering a file which is
2365 already registered with a different backend (Bug#10589).
2366
2367 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
2368 Stefan Monnier <monnier@iro.umontreal.ca>
2369
2370 * icomplete.el: Change separator; add ido-style commands.
2371 (icomplete-show-key-bindings): Remove custom var.
2372 (icomplete-get-keys): Remove function.
2373 (icomplete-forward-completions, icomplete-backward-completions):
2374 New commands.
2375 (icomplete-minibuffer-map): New var.
2376 (icomplete-minibuffer-setup): Use it.
2377 (icomplete-exhibit): Don't delay if the list of completions is known.
2378 (icomplete-separator): New custom.
2379 (icomplete-completions): Use it.
2380 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
2381 (minibuffer-force-complete-and-exit): New command.
2382 (minibuffer--complete-and-exit): New function extracted from
2383 minibuffer-complete-and-exit.
2384 (minibuffer-complete-and-exit): Use it.
2385
2386 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
2387 error message when the file doesn't exist (bug#12974).
2388
2389 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2390
2391 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
2392
2393 2012-11-29 Glenn Morris <rgm@gnu.org>
2394
2395 * files.el (hack-dir-local-variables): Warn if try to set
2396 coding via dir-locals, since it doesn't work. (Bug#7169)
2397
2398 Add desktop support for restoring vc-dir buffers. (Bug#10606)
2399 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
2400 Set buffer-local value of desktop-save-buffer.
2401 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
2402 New functions.
2403 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
2404 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
2405
2406 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
2407 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
2408 Doc fix.
2409 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
2410 Doc fixes.
2411
2412 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
2413
2414 * calc/calc-forms.el (calc-date-notation): Fix regexp
2415 used to find time codes. Fix symbol for seconds.
2416
2417 2012-11-27 Glenn Morris <rgm@gnu.org>
2418
2419 * emacs-lisp/derived.el (derived-mode-make-docstring):
2420 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
2421
2422 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2423
2424 * textmodes/table.el (table-insert): Don't use `symbol-name' on
2425 lexically scoped variables (bug#13005).
2426
2427 2012-11-27 Glenn Morris <rgm@gnu.org>
2428
2429 * vc/vc-hooks.el (vc-mistrust-permissions):
2430 Default to t, to avoid data-loss. (Bug#11490)
2431
2432 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
2433
2434 * progmodes/python.el (python-indent-guess-indent-offset):
2435 If indentation is guessed make python-indent-offset buffer-local.
2436
2437 Fix Imenu regression.
2438 * progmodes/python.el (python-nav-beginning-of-defun):
2439 Fix forward movement when statement(s) separates point from defun.
2440 (python-imenu-prev-index-position): New function.
2441
2442 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2443
2444 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
2445
2446 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
2447 Don't set buffer-file-type. Return nil. (Bug#12989)
2448
2449 2012-11-27 Glenn Morris <rgm@gnu.org>
2450
2451 * hippie-exp.el (hippie-expand-try-functions-list):
2452 Re-autoload it. (Bug#12982)
2453
2454 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2455
2456 * descr-text.el (describe-char-padded-string):
2457 Call internal-char-font only on GUI frames. (Bug#11964)
2458
2459 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
2460
2461 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
2462 and obsoletion message.
2463
2464 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2465
2466 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
2467 the constructs to keep outside of the `cl-block' (bug#12977).
2468
2469 2012-11-27 Chong Yidong <cyd@gnu.org>
2470
2471 * mouse.el (mouse-drag-line): Even if the line is not draggable,
2472 keep reading until we get the up-event anyway, in order to process
2473 the up-event for mouse-1-click-follows-link (Bug#12971).
2474
2475 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
2476
2477 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
2478 base function is not yet defined (bug#12965).
2479 (ad-activate-advised-definition): Use ad-compile-function.
2480 (ad-activate): Use cond.
2481
2482 2012-11-25 Leo Liu <sdl.web@gmail.com>
2483
2484 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
2485 (Bug#12979)
2486
2487 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2488
2489 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
2490 reftex-section-info-function in order to be compatible with
2491 Texinfo integration.
2492
2493 * textmodes/reftex.el (reftex-section-pre-regexp)
2494 (reftex-section-post-regexp, reftex-section-info-function):
2495 New variable.
2496 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
2497 reftex-section-post-regexp, and reftex-section-info-function in order
2498 to be compatible with Texinfo integration.
2499
2500 * textmodes/reftex-toc.el (reftex-toc-promote-action):
2501 use reftex-section-pre-regexp variable in order to be compatible with
2502 Texinfo integration.
2503
2504 2012-11-25 Chong Yidong <cyd@gnu.org>
2505
2506 * faces.el: Make face-spec-set more analogous to setq.
2507 (face-spec-set): Change the third arg to specify whether this
2508 function is being called via defface, customize, or a third party.
2509 Set the appropriate symbol properties. Clear the override spec if
2510 setting via Custom. Initialize face if necessary. (Bug#4988)
2511 (face-spec-recalc): Allow theme faces to completely replace the
2512 defface spec, in the same way as custom faces (Bug#8454).
2513
2514 * cus-face.el (custom-declare-face): Move face initialization to
2515 face-spec-set.
2516 (custom-theme-set-faces): Don't initialize the face name here, as
2517 that is now done in face-spec-set.
2518
2519 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
2520 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
2521 Simplify by using the new arg to face-spec-set.
2522
2523 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
2524 reset face-override-spec too, and use custom-declare-face.
2525
2526 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
2527
2528 * term/ns-win.el (ns-initialize-window-system): Move creation of
2529 fontsets here (Bug#11964).
2530
2531 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2532
2533 * ses.el (ses-rename-cell): Correct bug on mode-line update after
2534 cell renaming.
2535
2536 2012-11-24 Chong Yidong <cyd@gnu.org>
2537
2538 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
2539 obsolete.
2540
2541 * custom.el (custom-theme-set-variables): Use a topological sort
2542 for ordering by custom dependencies (Bug#12952).
2543 (custom--sort-vars, custom--sort-vars-1): New functions.
2544
2545 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2546
2547 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
2548 lexical-binding (bug#12938).
2549
2550 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
2551
2552 * image-mode.el (image-transform-check-size): Use assertions only
2553 for images of type imagemagick.
2554
2555 Otherwise no error, image-transform-fit-to-{width,height} is
2556 silently ignored, as before. Doc fix.
2557
2558 2012-11-24 Chong Yidong <cyd@gnu.org>
2559
2560 * faces.el (color-defined-p): Doc fix (Bug#12853).
2561
2562 2012-11-24 Juri Linkov <juri@jurta.org>
2563
2564 * dired.el (dired-mark): Add optional arg `interactive'.
2565 Check for `use-region-p' if `interactive' is non-nil.
2566 (dired-unmark, dired-flag-file-deletion): Add optional arg
2567 `interactive'. Call `dired-mark' with the arg `interactive'.
2568 (Bug#10624)
2569
2570 * wdired.el: Revert 2012-10-17 change partly and replace it with
2571 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
2572 (wdired-finish-edit): Add marks for new file names to
2573 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
2574 after `revert-buffer'.
2575 (wdired-do-renames): Remove calls to `dired-remove-file',
2576 `dired-add-file', `dired-add-entry'. (Bug#11795)
2577
2578 2012-11-24 Alan Mackenzie <acm@muc.de>
2579
2580 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
2581
2582 Fix bugs in the state cache. Enhance a debugging mechanism.
2583 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
2584 "brace at column zero" strategy for C++.
2585 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
2586 (c-parse-state-point): New variable.
2587 (c-record-parse-state-state): Record old parse state with
2588 `copy-tree'. Record previous value of point.
2589 (c-debug-parse-state-double-cons): New debugging function.
2590 (c-debug-parse-state): Call the above new function.
2591 (c-toggle-parse-state-debug): Output a confirmatory message.
2592
2593 * progmodes/cc-mode.el (c-before-change, c-after-change):
2594 Call c-invalidate-state-cache from `c-before-change' instead of
2595 `c-after-change'.
2596
2597 2012-11-23 Chong Yidong <cyd@gnu.org>
2598
2599 * find-cmd.el (find-constituents): Add executable, ipath,
2600 readable, samefile, writable, daystart, regextype (Bug#12856).
2601
2602 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2603
2604 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
2605
2606 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
2607
2608 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
2609 definition. This fixes a bootstrap failure.
2610 (calc-gregorian-switch): In menu, put dates before regions.
2611 This is easier to follow, lines up better in the menu, and lets us
2612 coalesce regions that switch at the same time. Give country
2613 names, not "Vatican", as that's better for non-expert users.
2614 Use names that are stable between the date of switch and now, e.g.,
2615 Bohemia and Moravia (which existed then and now) and not
2616 Czechoslovakia (which didn't exist then and doesn't exist now).
2617 What is now the U.S. mostly did not switch at the same time as
2618 Britain, so omit the U.S. Correct spelling of "Britain".
2619 Catholic Switzerland was too much of a mess, so omit it.
2620
2621 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
2622
2623 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
2624 after the variable is changed.
2625
2626 2012-11-21 Daniel Colascione <dancol@dancol.org>
2627
2628 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
2629 in SQL declarations for font-lock.
2630 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
2631
2632 2012-11-21 Glenn Morris <rgm@gnu.org>
2633
2634 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
2635 (face-italic-p): Add optional argument "inherit".
2636
2637 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
2638 Remove -p suffix from names, for consistency with other set-face-*.
2639 (set-face-inverse-video): Fix interactive spec.
2640 * play/gamegrid.el (gamegrid-make-mono-tty-face):
2641 * textmodes/table.el (table--update-cell-face):
2642 Use set-face-inverse-video rather than now obsolete alias.
2643
2644 2012-11-21 Eli Zaretskii <eliz@gnu.org>
2645
2646 * simple.el (line-move): Don't call line-move-partial if
2647 scroll-conservatively is in effect. (Bug#12927)
2648
2649 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2650
2651 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
2652 Fallback on completion-at-point rather than
2653 pcomplete-expand-and-complete, and only if pcomplete actually failed.
2654 (eshell-cmpl-initialize): Setup completion-at-point.
2655
2656 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
2657
2658 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
2659
2660 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
2661
2662 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
2663 are remote, check out-of-band property for both.
2664
2665 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2666
2667 * window.el (switch-to-buffer): Re-add the warning that was lost in the
2668 code rewrite.
2669
2670 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
2671
2672 More minor time fixes.
2673 * calendar/time-date.el: Commentary fix.
2674 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
2675 too much other code depends on (0 0) time stamps.
2676 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
2677 Add a couple of FIXME comments.
2678
2679 Minor cleanup for times as lists of four integers.
2680 * files.el (dir-locals-directory-cache):
2681 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
2682 Doc fixes.
2683 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
2684 * ps-bdf.el (bdf-file-newer-than-time):
2685 Process four-integers time stamps, not two. Doc fixes.
2686
2687 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2688
2689 * uniquify.el (uniquify-managed): Use defvar-local.
2690 (rename-buffer, create-file-buffer): Advise with advice-add.
2691 (uniquify-unload-function): Unadvise accordingly.
2692
2693 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
2694 (trace-buffer): Don't purecopy.
2695 (trace-entry-message, trace-exit-message): Add `context' arg.
2696 (trace--timer): New var.
2697 (trace-make-advice): Adjust for use in nadvice.
2698 Add `context' argument. Delay `display-buffer' via a timer.
2699 (trace-function-internal): Use advice-add.
2700 (trace--read-args): New function.
2701 (trace-function-foreground, trace-function-background): Use it.
2702 (trace-function): Rename to trace-function-foreground and redefine as
2703 an alias to that new name.
2704 (untrace-function, untrace-all): Adjust to the use of nadvice.
2705
2706 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
2707
2708 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
2709
2710 * subr.el (called-interactively-p-functions): New var.
2711 (internal--called-interactively-p--get-frame): New macro.
2712 (called-interactively-p, interactive-p): Rewrite in Lisp.
2713 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
2714 (called-interactively-p-functions): Use it.
2715 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
2716 (called-interactively-p-functions): Use it.
2717 * allout.el (allout-called-interactively-p): Don't assume
2718 called-interactively-p is a subr.
2719
2720 2012-11-20 Glenn Morris <rgm@gnu.org>
2721
2722 * profiler.el (profiler-report-mode-map): Add a menu.
2723 No need to bind `q' because we derive from special-mode.
2724 (profiler-report-find-entry): Handle calls from the menu-bar.
2725
2726 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2727
2728 * emacs-lisp/byte-run.el (defun-declarations-alist):
2729 Allow a compiler-macro to be a lambda expression.
2730
2731 * progmodes/python.el: Use cl-lib. Move var declarations outside of
2732 eval-when-compile.
2733 (python-syntax-context): Add compiler-macro.
2734 (python-font-lock-keywords): Simplify with De Morgan.
2735
2736 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
2737
2738 * files.el (load-file): Require match in minibuffer selection, as was
2739 the case in Emacs-20 before we changed the spec to allow .elc files
2740 (bug#12935).
2741
2742 * json.el: Don't require cl since we don't use it.
2743 * color.el: Don't require cl.
2744 (color-complement): `caddr' -> `nth 2'.
2745
2746 * calendar/time-date.el (time-to-seconds): De-obsolete.
2747
2748 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2749
2750 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
2751 year numbers.
2752 (math-date-to-julian-dt): Adjust the initial approximation for the
2753 year to deal with the new definition of the DATE.
2754
2755 2012-11-19 Daniel Colascione <dancol@dancol.org>
2756
2757 * term/w32-win.el (cygwin-convert-path-from-windows):
2758 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
2759
2760 2012-11-18 Chong Yidong <cyd@gnu.org>
2761
2762 * filecache.el (file-cache--read-list): New function.
2763 (file-cache-add-directory-list, file-cache-add-file-list)
2764 (file-cache-delete-file-list, file-cache-delete-directory-list):
2765 Use it to read a list of files or directories (Bug#12846).
2766 (file-cache-add-file, file-cache-add-directory)
2767 (file-cache-delete-file-list, file-cache-delete-file-regexp)
2768 (file-cache-delete-directory): Print an message.
2769
2770 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
2771
2772 * calc/calc-forms.el (math-date-to-dt): Use integer date when
2773 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
2774
2775 2012-11-18 Glenn Morris <rgm@gnu.org>
2776
2777 * image.el (insert-image, insert-sliced-image): Doc fix.
2778
2779 2012-11-18 Chong Yidong <cyd@gnu.org>
2780
2781 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
2782 (Bug#12810).
2783
2784 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2785
2786 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
2787 response when the target file is in a subdirectory (Bug#12757).
2788
2789 2012-11-18 Chong Yidong <cyd@gnu.org>
2790
2791 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
2792
2793 2012-11-18 Glenn Morris <rgm@gnu.org>
2794
2795 * emacs-lisp/cl-lib.el (face-underline-p):
2796 Use set-face-underline rather than the alias set-face-underline-p.
2797
2798 * window.el (with-temp-buffer-window): Doc fix.
2799 * subr.el (with-output-to-temp-buffer):
2800 Add doc xref to with-temp-buffer-window.
2801
2802 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
2803
2804 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
2805 * calc/calc.el (math-format-date-cache): Declare.
2806
2807 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
2808
2809 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
2810 It also uses January 1, 1 AD as its day number 1.
2811 * calc/calc-forms.el (math-julian-date-beginning)
2812 (math-julian-date-beginning-int): Implement this.
2813
2814 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
2815
2816 * descr-text.el (quail-find-key):
2817 * dired.el (desktop-file-name):
2818 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
2819 * generic-x.el (comint-mode, comint-exec):
2820 * image-dired.el (widget-forward):
2821 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
2822 (speedbar-change-expand-button-char)
2823 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
2824 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
2825 * printing.el (easy-menu-add-item, easy-menu-remove-item)
2826 (widget-field-action, widget-value-set):
2827 * speedbar.el (imenu--make-index-alist):
2828 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
2829 (ring-length, ring-insert):
2830 * vcursor.el (compare-windows-skip-whitespace):
2831 * woman.el (dired-get-filename):
2832 Declare functions.
2833
2834 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
2835
2836 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2837
2838 * calc/calc.el (calc-gregorian-switch): New variable.
2839
2840 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
2841 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
2842 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
2843 (math-leap-year-p): Add option to distinguish between Julian
2844 and Gregorian calendars.
2845 (math-day-number): Use `math-day-in-year' to do the computations.
2846 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
2847 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
2848 to do the computations.
2849 (math-date-to-dt): Use `math-date-to-julian-dt' and
2850 `math-date-to-gregorian-dt' to do the computations.
2851 (calcFunc-weekday, math-format-date-part): Use the new version of
2852 the DATE to determine the weekday.
2853 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
2854 when necessary.
2855
2856 2012-11-17 Eli Zaretskii <eliz@gnu.org>
2857
2858 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
2859 Cygwin; otherwise use 'file:'. (Bug#12914)
2860 (cygwin-convert-path-from-windows): Declare, to avoid
2861 byte-compiler warnings.
2862
2863 2012-11-17 Andreas Politz <politza@fh-trier.de>
2864
2865 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
2866 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
2867 prefix and negative numeric prefix args (Bug#12795).
2868
2869 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
2870
2871 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
2872 Don't signal an error with a score that is too low to add to the
2873 list of top scores. (Bug#12779)
2874
2875 2012-11-17 Chong Yidong <cyd@gnu.org>
2876
2877 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
2878
2879 * filecache.el (file-cache-add-file): Handle relative file name in
2880 the argument (Bug#12694).
2881
2882 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
2883
2884 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
2885
2886 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2887
2888 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
2889
2890 * emacs-lisp/cl-lib.el: Set more meaningful version number.
2891
2892 2012-11-16 Martin Rudalics <rudalics@gmx.at>
2893
2894 * window.el (enlarge-window, shrink-window): Don't mention return
2895 value in doc-string (Bug#12896).
2896 (window--display-buffer): Don't resize frames - it won't work
2897 with all window managers and defeat pop-up-frame-alist.
2898 (display-buffer-alist): In doc-string explain that CONDITION can
2899 be a function and which arguments are passed to it (Bug#12854).
2900 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
2901 expressions (Bug#12854).
2902 (display-buffer): Pass ACTION argument to
2903 display-buffer-assq-regexp.
2904
2905 2012-11-16 Glenn Morris <rgm@gnu.org>
2906
2907 * window.el (fit-frame-to-buffer-bottom-margin)
2908 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
2909
2910 * faces.el (face-underline-p): Use face-attribute-specified-or.
2911
2912 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
2913
2914 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
2915
2916 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2917
2918 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
2919
2920 2012-11-16 Glenn Morris <rgm@gnu.org>
2921
2922 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
2923 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
2924
2925 * faces.el (face-underline-p): Doc fix. Handle :underline being
2926 things other than `t' (a string, a list).
2927 (face-inverse-video-p): Doc fix.
2928 (set-face-underline): Rename it back from set-face-underline-p.
2929 Doc fix. Allow interactive input of values other than t.
2930 (read-face-attribute): Apply formatting to :underline,
2931 since like :box and :stipple it can take list values.
2932
2933 * term.el (ansi-term): Don't let C-x escape-char binding
2934 clobber the more standard C-c binding. (Bug#12842)
2935
2936 * subr.el (set-temporary-overlay-map): Doc fix.
2937
2938 2012-11-16 Martin Rudalics <rudalics@gmx.at>
2939
2940 * window.el (record-window-buffer)
2941 (display-buffer-record-window): When copying the markers to
2942 window-point preserve window-point-insertion-type. (Bug#12588)
2943
2944 2012-11-16 Glenn Morris <rgm@gnu.org>
2945
2946 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
2947 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
2948 Use new names for hooks rather than obsolete aliases.
2949
2950 2012-11-15 Daniel Colascione <dancol@dancol.org>
2951
2952 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
2953 prefix instead of "file:" so that when FILE-NAME begins with "//",
2954 as it does when the target file is on a network share, url-handler
2955 isn't confused.
2956
2957 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2958
2959 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
2960 a preactivated advice from an old advice.el; they're not compatible!
2961
2962 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
2963
2964 * emacs-lisp/nadvice.el (advice--make-interactive-form):
2965 Fix string-spec case.
2966
2967 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
2968
2969 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2970
2971 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
2972 (advice--buffer-local-function-sample): New var.
2973 (advice--set-buffer-local, advice--buffer-local): New functions.
2974 (add-function, remove-function): Use them.
2975
2976 2012-11-15 Drew Adams <drew.adams@oracle.com>
2977
2978 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
2979
2980 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2981
2982 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
2983 potential binding of print-gensym to t, and prettify (back)quotes in
2984 case they appear in args's default values (bug#12884).
2985
2986 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2987
2988 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
2989 (advice-eval-interactive-spec): New function.
2990 (advice--make-interactive-form): Support around advice (bug#12844).
2991
2992 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
2993
2994 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
2995 more strict. Add docstring.
2996 (ruby-expression-expansion-re): Extract from
2997 `ruby-match-expression-expansion'.
2998 (ruby-syntax-propertize-function): After everything else, search
2999 for expansions in string literals, mark their insides as
3000 whitespace syntax and save match data for font-lock.
3001 (ruby-font-lock-keywords): Use the 2nd group from expression
3002 expansion matches.
3003 (ruby-match-expression-expansion): Use the match data saved to the
3004 text property in ruby-syntax-propertize-function.
3005
3006 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3007
3008 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3009 (bug#12879).
3010
3011 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3012
3013 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3014 start/end keyword a bit harder. Works with different values of N.
3015 Add more comments.
3016 (ruby-end-of-block): Update accordingly.
3017
3018 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3019
3020 * woman.el (woman-file-name): Don't mess with unread-command-events
3021 (bug#12861).
3022
3023 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3024 Remove out of date self-require hack.
3025 (ad-do-advised-functions): Use simple `dolist'.
3026 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3027 (ad-advice-definition): Redefine as functions.
3028 (ad-advice-classes): Move before first use.
3029 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
3030 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3031 (ad--defalias-fset): Remove functions.
3032 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3033 (ad-get-orig-definition): Rewrite.
3034 (ad-make-advised-definition-docstring): Change base docstring.
3035 (ad-real-orig-definition): Rewrite.
3036 (ad-map-arglists): Change name of called function.
3037 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3038 (ad-make-advised-definition): Simplify.
3039 (ad-assemble-advised-definition): Tweak for new calling context.
3040 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3041 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3042 function and call ad-activate if needed.
3043 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3044 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3045 (ad-compile-function): Compile ad-Advice-*.
3046 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3047 (ad-start-advice, ad-stop-advice): Remove.
3048
3049 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3050
3051 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3052 period before class method names, not after. Remove handling of
3053 one impossible case. Add comments.
3054
3055 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3056
3057 * emacs-lisp/advice.el: Remove support for freezing.
3058 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3059 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3060 Remove support for `freeze'.
3061
3062 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3063 override the default.
3064 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3065 cl--dotimes/dolist.
3066 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3067 `cl' is loaded.
3068
3069 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3070 from add-advice.
3071 (advice--strip-macro): New function.
3072 (advice--defalias-fset): Use them to handle macros.
3073 (advice-add): Use them.
3074 (advice-member-p): Correctly handle macros.
3075
3076 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3077
3078 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3079 Never font-lock the beginning of singleton class as heredoc.
3080
3081 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3082
3083 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3084
3085 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
3086
3087 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
3088 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3089 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
3090
3091 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
3092
3093 Fix end-of-defun misbehavior.
3094 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3095 python-beginning-of-defun-function. Handle nested defuns
3096 correctly.
3097 (python-nav-end-of-defun): Rename from
3098 python-end-of-defun-function. Ensure forward movement.
3099 (python-info-current-defun): Reimplement to work as intended
3100 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3101 parent defuns as soon as possible.
3102
3103 2012-11-13 Glenn Morris <rgm@gnu.org>
3104
3105 * progmodes/flymake.el (flymake-error-bitmap)
3106 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3107 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3108
3109 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3110
3111 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3112 backward, always stop at indentation. Reverts the change from
3113 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3114
3115 2012-11-13 Glenn Morris <rgm@gnu.org>
3116
3117 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3118 Add ibuffer-filter-by-derived-mode.
3119
3120 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3121 the same name shadowing each other.
3122
3123 * window.el (with-temp-buffer-window): Doc tweak.
3124
3125 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3126
3127 * help.el (temp-buffer-max-height):
3128 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
3129 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
3130
3131 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3132
3133 * emacs-lisp/nadvice.el: New package.
3134 * subr.el (special-form-p): New function.
3135 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
3136 (elp-all-instrumented-list): Remove var.
3137 (elp-not-profilable): Remove elp-wrapper.
3138 (elp-profilable-p): Use autoloadp and special-form-p.
3139 (elp--advice-name): New const.
3140 (elp-instrument-function): Use advice-add.
3141 (elp--instrumented-p): New predicate.
3142 (elp-restore-function): Use advice-remove.
3143 (elp-restore-all, elp-reset-all): Use mapatoms.
3144 (elp-set-master): Use elp--instrumented-p.
3145 (elp--make-wrapper): Rename from elp-wrapper, return a function
3146 suitable for advice-add. Use cl-inf.
3147 (elp-results): Use mapatoms+elp--instrumented-p.
3148 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3149 (debug-function-list): Remove var.
3150 (debug): Rename arg, and then let-bind it explicitly inside.
3151 (debugger-setup-buffer): Rename arg.
3152 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3153 (debugger-frame-number): Adjust to new debug-on-entry setup.
3154 (debug--implement-debug-on-entry): Rename from
3155 implement-debug-on-entry, add argument.
3156 (debugger-special-form-p): Remove, use special-form-p instead.
3157 (debug-on-entry): Use advice-add.
3158 (debug--function-list): New function.
3159 (cancel-debug-on-entry): Use it, along with advice-remove.
3160 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3161 (debugger-list-functions): Use debug--function-list instead of
3162 debug-function-list.
3163 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3164 (ad-special-form-p): Remove, use special-form-p instead.
3165 (ad-set-advice-info): Use add-function and remove-function.
3166 (ad--defalias-fset): Adjust accordingly.
3167
3168 2012-11-10 Glenn Morris <rgm@gnu.org>
3169
3170 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3171 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3172 (report-emacs-bug-create-existing-bugs-buffer)
3173 (report-emacs-bug-parse-query-results)
3174 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3175
3176 * term.el (term-default-fg-color, term-default-bg-color):
3177 Make obsolete, rather than just saying "deprecated" in the doc.
3178
3179 * term.el (term): Rename from `term-face'.
3180 (term-current-face, ansi-term-color-vector)
3181 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3182 Update all users.
3183
3184 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
3185
3186 * server.el (server-create-window-system-frame): Handle Nextstep
3187 specially (Bug#12780).
3188
3189 2012-11-10 Glenn Morris <rgm@gnu.org>
3190
3191 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3192 Unautoload, and make obsolete. (Bug#7449)
3193
3194 2012-11-10 Chong Yidong <cyd@gnu.org>
3195
3196 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3197 rename from diff-remove-trailing-whitespace (Bug#12831).
3198
3199 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3200
3201 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3202 miscompilation of trace.el.
3203
3204 2012-11-10 Glenn Morris <rgm@gnu.org>
3205
3206 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3207
3208 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3209
3210 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3211 (bug#12812).
3212
3213 2012-11-10 Chong Yidong <cyd@gnu.org>
3214
3215 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3216 a defcustom with an appropriate :set function.
3217 (minibuffer-default--in-prompt-regexps): New function.
3218
3219 2012-11-10 Glenn Morris <rgm@gnu.org>
3220
3221 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3222 (define-modify-macro): Doc fixes.
3223
3224 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3225 (gv-define-simple-setter): Update doc of `fix-return'.
3226
3227 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3228
3229 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3230 twice when `fix-return' is set (bug#12813).
3231
3232 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3233 gv-define-simple-setter (bug#12812).
3234
3235 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3236 (bug#12756).
3237
3238 2012-11-10 Glenn Morris <rgm@gnu.org>
3239
3240 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3241
3242 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3243 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3244 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3245 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3246
3247 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3248
3249 2012-11-10 Leo Liu <sdl.web@gmail.com>
3250
3251 * ido.el (ido-set-matches-1): Improve flex matching performance by
3252 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3253
3254 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3255
3256 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3257 (ad--defalias-fset): New function.
3258 (ad-safe-fset): Remove.
3259 (ad-make-freeze-definition): Use cl-letf*.
3260
3261 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3262
3263 * subr.el (dolist): Don't bind VAR in RESULT.
3264
3265 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3266 (fset, documentation): Don't save real def since we don't advise.
3267 (ad-do-advised-functions): Remove problematic `result-form'.
3268 (ad-safe-fset): `ad-real-fset' => `fset'.
3269 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3270 uses CL's dolist internally.
3271 (ad-arglist): Remove unused arg `name'.
3272 (ad-docstring, ad-make-advised-docstring):
3273 `ad-real-documentation' => `documentation'.
3274 (warning-suppress-types): Declare.
3275 (ad-set-arguments): Simple CSE.
3276 (ad-recover-normality): Sanity check.
3277
3278 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3279 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3280
3281 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3282
3283 * ses.el: symbol to coordinate mapping is made by symbol property
3284 `ses-cell'. This means that the same mapping is done for all SES
3285 sheets. That is good enough for cells with standard A1 names, but
3286 not for named cell. So a hash map is added for the latter.
3287 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
3288 (ses-sym-rowcol): Use hashmap for named cell.
3289 (ses-is-cell-sym-p): New defun.
3290 (ses-decode-cell-symbol): New defun.
3291 (ses-create-cell-variable): Add cell to hashmap when name is not
3292 A1-like.
3293 (ses-rename-cell): Check that cell new name is not already in
3294 spreadsheet with the use of ses-is-cell-sym-p
3295 (ses-rename-cell): Use hash map for named cells, but accept also
3296 renaming back to A1-like.
3297
3298 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3299
3300 * emacs-lisp/advice.el: Use new dynamic docstrings.
3301 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3302 Use dynamic-docstring-function instead of ad-advice-info.
3303 (ad--make-advised-docstring): New function extracted from
3304 ad-make-advised-docstring.
3305 (ad-make-advised-docstring): Use it.
3306 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3307 from sql-help.
3308 (sql-help): Use it with dynamic-docstring-function.
3309
3310 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3311
3312 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3313
3314 * files.el (hack-one-local-variable--obsolete): New function.
3315 (hack-one-local-variable): Use it for obsolete settings.
3316
3317 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3318 the new name.
3319
3320 * progmodes/js.el (js--filling-paragraph): New var.
3321 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3322 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3323 less sneaky.
3324
3325 2012-11-08 Julien Danjou <julien@danjou.info>
3326
3327 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3328 `auto-mode-alist' (Bug#12835).
3329
3330 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3331
3332 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3333 (perl--prettify-symbols-alist): New const.
3334 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3335 New functions.
3336 (perl-font-lock-keywords-2): Use them.
3337 (perl-electric-noindent-p): New function.
3338 (perl-mode): Use it to set up electric-indent-mode.
3339 (perl-electric-terminator, perl-indent-command): Mark obsolete.
3340 (perl-mode-map): Remove bindings for them.
3341 (perl-imenu-generic-expression, perl-outline-level):
3342 Match functions&packages in column>0.
3343
3344 * env.el (env--substitute-vars-regexp): New const.
3345 (substitute-env-vars): Use it. Add `only-defined' arg.
3346 * net/tramp.el (tramp-replace-environment-variables): Use it.
3347
3348 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3349 Byte-compile *before* eval in eval-and-compile.
3350 (byte-compile-log-warning): Remove redundant inhibit-read-only.
3351 (byte-compile-file-form-autoload): Don't hide actual definition.
3352 (byte-compile-maybe-guarded): Accept `functionp' as well.
3353
3354 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3355
3356 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
3357
3358 * notifications.el (notifications-get-server-information-method):
3359 New defconst.
3360 (notifications-get-capabilities): Fix docstring.
3361 (notifications-get-server-information): New defun.
3362
3363 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3364
3365 * textmodes/ispell.el (ispell-region): Standard re-indent for better
3366 readability.
3367
3368 * textmodes/ispell.el: Experimental support for support debugging.
3369 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
3370 buffer for ispell.
3371 (ispell-print-if-debug): New function to print stuff to
3372 `ispell-debug-buffer' if debugging is enabled.
3373 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
3374 show some debugging info.
3375 (ispell-buffer-with-debug): New function that creates a debugging
3376 buffer and calls `ispell-buffer' with debugging enabled.
3377
3378 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
3379 comment in autoconf mode. (Bug#12768)
3380
3381 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
3382
3383 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
3384 frame-first-window, frame-root-window, frame-selected-window,
3385 minibuffer-selected-window, minibuffer-window,
3386 window-absolute-pixel-edges, window-at, window-body-height,
3387 window-body-width, window-display-table, window-combination-limit,
3388 window-frame, window-fringes, window-inside-absolute-pixel-edges,
3389 window-inside-edges, window-inside-pixel-edges, window-left-child,
3390 window-left-column, window-margins, window-next-buffers,
3391 window-next-sibling, window-new-normal, window-new-total,
3392 window-normal-size, window-parameter, window-parameters, window-parent,
3393 window-pixel-edges, window-point, window-prev-buffers,
3394 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
3395 window-start, window-text-height, window-top-child, window-top-line,
3396 window-total-height, window-total-width and window-use-time to the list
3397 of functions without side-effects.
3398 (toplevel): Add window-valid-p to the list of error-free functions
3399 without side-effects.
3400
3401 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3402
3403 * textmodes/ispell.el (ispell-program-name):
3404 Update spellchecker parameters when customized.
3405
3406 2012-11-04 Glenn Morris <rgm@gnu.org>
3407
3408 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
3409
3410 2012-11-04 Chong Yidong <cyd@gnu.org>
3411
3412 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
3413 same-window-* variables.
3414
3415 2012-11-04 Juri Linkov <juri@jurta.org>
3416
3417 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
3418 (isearch-describe-key, isearch-describe-mode): Use a display
3419 action instead of binding same-window-* variables (Bug#10040).
3420
3421 2012-11-03 Glenn Morris <rgm@gnu.org>
3422
3423 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3424 Rename handler properties back from cl-- to cl-. (Bug#12788)
3425
3426 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
3427
3428 2012-11-03 Eli Zaretskii <eliz@gnu.org>
3429
3430 * term/pc-win.el: Don't load term/internal from here.
3431
3432 * loadup.el: Load term/internal from here.
3433
3434 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
3435
3436 * progmodes/python.el (inferior-python-mode): Fix hang in
3437 jit-lock (Bug#12645).
3438
3439 2012-11-03 Martin Rudalics <rudalics@gmx.at>
3440
3441 * window.el (switch-to-visible-buffer)
3442 (switch-to-buffer-preserve-window-point): Fix doc-strings.
3443
3444 2012-11-03 Glenn Morris <rgm@gnu.org>
3445
3446 * emacs-lisp/cl-lib.el (cl--random-time):
3447 Rename from cl-random-time. (Bug#12773)
3448 (cl--gensym-counter, cl--random-state): Update callers.
3449 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
3450
3451 2012-11-03 Chong Yidong <cyd@gnu.org>
3452
3453 * cus-start.el: Make cursor-type customizable (Bug#11633).
3454
3455 2012-11-02 Glenn Morris <rgm@gnu.org>
3456
3457 * filecache.el: No need to load find-lisp when compiling.
3458 (find-lisp-find-files): Autoload it.
3459 (file-cache-add-directory-recursively): Don't require find-lisp.
3460
3461 * image.el (image-type-from-file-name): Trivial simplification.
3462
3463 * emacs-lisp/bytecomp.el (byte-compile-eval):
3464 Decouple "noruntime" and "cl-functions" warnings.
3465
3466 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
3467
3468 * play/gomoku.el (gomoku-display-statistics): Update mode line
3469 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
3470
3471 2012-10-31 Martin Rudalics <rudalics@gmx.at>
3472
3473 * window.el (quit-restore-window): If the window has been
3474 created on an existing frame and ended up as the sole window on
3475 that frame, do not delete it (Bug#12764).
3476
3477 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3478
3479 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3480 Rename from sh--inside-arithmetic-expression, handle more cases
3481 (bug#11263).
3482
3483 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
3484 (sh-font-lock-open-heredoc): Use it (bug#12770).
3485
3486 2012-10-30 Glenn Morris <rgm@gnu.org>
3487
3488 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
3489
3490 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
3491
3492 2012-10-29 Chong Yidong <cyd@gnu.org>
3493
3494 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
3495 function key is stored in a keyboard macro (Bug#4894).
3496
3497 * thingatpt.el (number-at-point): Apply a thing-at-point property.
3498
3499 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3500
3501 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
3502 header comments".
3503 (diff-unified->context, diff-context->unified)
3504 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
3505
3506 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
3507
3508 * files.el (find-alternate-file): Only ask one question (bug#12487).
3509
3510 2012-10-29 Chong Yidong <cyd@gnu.org>
3511
3512 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
3513 Suggested by Dan Nicolaescu (Bug#6326).
3514
3515 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
3516
3517 * startup.el (fancy-about-screen): Don't message (Bug#12680).
3518
3519 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
3520
3521 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
3522
3523 * face-remap.el (face-remap-add-relative): Handle the case where a
3524 face-remapping-alist entry is a cons cell (Bug#12762).
3525
3526 2012-10-29 Kevin Ryde <user42@zip.com.au>
3527
3528 * woman.el (woman-parse-numeric-value): Handle picas correctly
3529 (Bug#12639).
3530
3531 2012-10-29 Glenn Morris <rgm@gnu.org>
3532
3533 * emacs-lisp/cl.el (defsetf): Doc fix.
3534
3535 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3536
3537 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
3538 syntax to the matching opener, if any (bug#12547).
3539 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
3540 matching open as a "case-(".
3541 (sh-smie-rc-grammar): Add a corresponding rule for it.
3542
3543 2012-10-28 Daniel Hackney <dan@haxney.org>
3544
3545 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
3546 "PKGNAME-autoloads.el" in case we created it.
3547
3548 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3549
3550 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
3551 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
3552 (completion--twq-all): Disable too-strict assertions.
3553
3554 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
3555
3556 2012-10-27 Eli Zaretskii <eliz@gnu.org>
3557
3558 * profiler.el (profiler-report-make-entry-part): Fix help-echo
3559 text to match the real keybindings.
3560
3561 2012-10-27 Juri Linkov <juri@jurta.org>
3562
3563 * wdired.el (wdired-keep-marker-rename): New defcustom.
3564 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
3565 (Bug#11795)
3566
3567 * dired.el (dired-keep-marker-rename): Add reference to
3568 `wdired-keep-marker-rename' in the docstring.
3569 Add default character value ?R to display initially in
3570 Customization UI instead of ?@.
3571
3572 2012-10-27 Martin Rudalics <rudalics@gmx.at>
3573
3574 * window.el (display-buffer): In doc-string describe
3575 window-height and window-width alist entries.
3576
3577 * time.el (display-time-world): Restore fit-window-to-buffer
3578 behavior.
3579
3580 2012-10-27 Chong Yidong <cyd@gnu.org>
3581
3582 * subr.el (insert-buffer-substring-as-yank): Doc fix.
3583
3584 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
3585
3586 * minibuffer.el (completion-category-overrides): New completion
3587 category `bookmark' (bug#11131).
3588
3589 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3590
3591 * emacs-lisp/advice.el (ad-assemble-advised-definition):
3592 Silence bogus compiler warnings for ad-do-it.
3593
3594 * bookmark.el (bookmark-completing-read): Set the completion category
3595 to `bookmark' (bug#11131).
3596
3597 2012-10-26 Bastien <bzg@altern.org>
3598 Stefan Monnier <monnier@iro.umontreal.ca>
3599
3600 * face-remap.el: Use lexical-binding.
3601 (text-scale-adjust): Improve docstring. Use itself for the temporary
3602 overlay-map bindings, so as to repeat the "Use..." message each time.
3603
3604 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3605
3606 * emacs-lisp/macroexp.el (macroexp--expand-all):
3607 Obey byte-compile-warning-enabled-p (bug#12486).
3608
3609 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
3610 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
3611
3612 2012-10-26 Martin Rudalics <rudalics@gmx.at>
3613
3614 * mouse.el (mouse-drag-line): Move last form into preceding when
3615 clause (Bug#12731).
3616
3617 * help.el (resize-temp-buffer-window): Fix doc-string.
3618
3619 2012-10-25 David Engster <deng@randomsample.de>
3620
3621 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
3622 Remove. This feature is already integrated in imenu.
3623
3624 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
3625 always loaded. Require `speedbar' unconditionally.
3626
3627 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3628
3629 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
3630
3631 * minibuffer.el (minibuffer-force-complete): Fix thinko.
3632
3633 * net/ldap.el (ldap-search-internal): The official ldif format starts
3634 with a "version: 1" header (bug#12724).
3635
3636 * emacs-lisp/package.el (package-installed-p): Warn if not ready
3637 (bug#12721).
3638
3639 2012-10-25 Glenn Morris <rgm@gnu.org>
3640
3641 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
3642
3643 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3644
3645 * minibuffer.el (minibuffer-force-complete): Use one more marker
3646 for the temporary-overlay-map command (bug#12619).
3647
3648 2012-10-24 Chong Yidong <cyd@gnu.org>
3649
3650 * time.el (display-time-world-mode): Derive from special-mode.
3651 (display-time-world): Use display-buffer (Bug#12708).
3652 (display-time-world-mode-map): Variable deleted.
3653 (display-time-world-display): Wrap the final delete-char inside
3654 inhibit-read-only.
3655
3656 2012-10-24 Chong Yidong <cyd@gnu.org>
3657
3658 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
3659 Doc fix.
3660
3661 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
3662
3663 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3664
3665 * minibuffer.el (completion--all-sorted-completions-location): New var.
3666 (completion--cache-all-sorted-completions)
3667 (completion--flush-all-sorted-completions): Use it.
3668 (completion-in-region, completion-in-region--postch)
3669 (completion-at-point, completion-help-at-point): Use markers in
3670 completion-in-region--data (bug#12619).
3671
3672 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3673
3674 * progmodes/compile.el (compilation-start): Try to handle common
3675 quoting of `cd' argument (bug#12640).
3676
3677 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
3678 (bug#12671).
3679
3680 2012-10-23 Glenn Morris <rgm@gnu.org>
3681
3682 * progmodes/gud.el (gud-menu-map):
3683 Check gdb-active-process is bound. (Bug#12358)
3684
3685 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3686
3687 * repeat.el (repeat): Set real-this-command (bug#12232).
3688
3689 * htmlfontify.el (hfy-post-html-hook):
3690 * filesets.el (filesets-cache-fill-content-hook):
3691 * arc-mode.el (archive-extract-hook):
3692 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
3693 * net/rcirc.el (rcirc-sentinel-functions)
3694 (rcirc-receive-message-functions, rcirc-activity-functions)
3695 (rcirc-print-functions):
3696 * net/dbus.el (dbus-event-error-functions):
3697 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
3698 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
3699 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
3700 * term/sun.el (sun-raw-prefix-hooks):
3701 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
3702
3703 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
3704
3705 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3706 Set `tramp-chunksize' to 1. This improves the performance.
3707 (tramp-smb-wait-for-output): Add timeout to
3708 `tramp-accept-process-output' calls.
3709
3710 2012-10-23 Chong Yidong <cyd@gnu.org>
3711
3712 * faces.el (font-list-limit): Define as an obsolete variable.
3713
3714 * startup.el (command-line):
3715 * cus-start.el: Don't refer to font-list-limit.
3716
3717 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
3718
3719 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3720
3721 * subr.el (internal-temp-output-buffer-show): Rename from
3722 temp-output-buffer-show, since previously compiled files expect this name.
3723
3724 2012-10-23 Glenn Morris <rgm@gnu.org>
3725
3726 * image.el (image-type-from-file-name): If multiple types match,
3727 return the first one that is supported. (Bug#9045)
3728
3729 2012-10-22 Glenn Morris <rgm@gnu.org>
3730
3731 * image.el (imagemagick-enabled-types): Doc fix.
3732
3733 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
3734
3735 * progmodes/which-func.el (which-func-current): The hash-table may have
3736 an explicit nil (bug#12338).
3737
3738 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3739
3740 * electric.el (electric-pair-delete-selection-self-insert-function):
3741 Rename to electric-pair-will-use-region, return a boolean.
3742 (electric-pair-mode): Adjust accordingly. Don't require delsel.
3743
3744 * delsel.el (delete-selection-helper): Use a function instead of a hook.
3745 (delete-selection-pre-hook): Use use-region-p.
3746 (delete-selection-self-insert-function): Remove.
3747 (self-insert-command): Obey self-insert-uses-region-functions.
3748 (self-insert-iso): Revert to previous setting, since we don't actually
3749 know what that command does.
3750 (delete-selection-self-insert-hooks): Remove.
3751
3752 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
3753
3754 * delsel.el (delete-selection-helper): New function, extracted from
3755 delete-selection-pre-hook.
3756 (delete-selection-pre-hook): Use it.
3757 (delete-selection-self-insert-function): New function.
3758 (delete-selection-self-insert-hooks): New hook.
3759 (self-insert-command, self-insert-iso): Use it.
3760 * electric.el (electric-pair-syntax): New function, extracted from
3761 electric-pair-post-self-insert-function.
3762 (electric-pair-post-self-insert-function): Use it.
3763 (electric-pair-delete-selection-self-insert-function): New function.
3764 (electric-pair-mode): Require delsel and setup
3765 delete-selection-self-insert-hooks (bug#11520).
3766
3767 2012-10-20 Chong Yidong <cyd@gnu.org>
3768
3769 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
3770 no changes to show (Bug#12586).
3771
3772 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
3773 list explicitly (Bug#12571).
3774
3775 2012-10-20 Arne Jørgensen <arne@arnested.dk>
3776
3777 * progmodes/flymake.el (flymake-create-temp-inplace):
3778 Use file-truename.
3779
3780 2012-10-20 Eli Zaretskii <eliz@gnu.org>
3781
3782 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
3783
3784 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
3785
3786 * calc/calc-units.el (math-extract-units): Properly extract powers
3787 of units.
3788
3789 2012-10-20 Daniel Colascione <dancol@dancol.org>
3790
3791 * frame.el (make-frame): Set x-display-name as we used to in order
3792 to unbreak creating an X11 frame from an Emacs daemon started
3793 without a display.
3794
3795 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3796
3797 * minibuffer.el (minibuffer-force-complete): Make the next completion use
3798 the same completion-field (bug#12221).
3799
3800 2012-10-19 Martin Rudalics <rudalics@gmx.at>
3801
3802 * emacs-lisp/debug.el (debug): Record height of debugger window
3803 also when debugger will be back (Bug#8789).
3804
3805 2012-10-18 Chong Yidong <cyd@gnu.org>
3806
3807 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3808 Convert to defcustom.
3809 (gdb-get-source-file): Don't bind pop-up-windows.
3810
3811 * progmodes/gud.el (gud-display-line): Don't specially re-use
3812 other frames for the gdb-mi case (Bug#12648).
3813
3814 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3815
3816 * emacs-lisp/advice.el: Clean up commentary a bit.
3817 (ad-do-advised-functions, ad-with-originals): Use `declare'.
3818 (byte-code-function-p): Never redefine.
3819
3820 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
3821
3822 2012-10-18 Glenn Morris <rgm@gnu.org>
3823
3824 * dired.el (dired-sort-toggle): Some ls implementations only allow
3825 a single option string. (Bug#12666)
3826
3827 * minibuffer.el (completion-cycle-threshold): Doc fix.
3828
3829 2012-10-17 Kenichi Handa <handa@gnu.org>
3830
3831 * international/mule.el (set-keyboard-coding-system):
3832 Recover input meta mode when the new coding system doesn not use 8-bit.
3833 Supply TERMINAL arg to set-input-meta-mode.
3834
3835 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
3836
3837 * wdired.el (wdired-old-marks): New variable.
3838 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
3839 (wdired-do-renames): Move point with renamed file and don't lose
3840 mark status (Bug#11795).
3841
3842 2012-10-16 Juri Linkov <juri@jurta.org>
3843
3844 * replace.el (query-replace-help): Mention multi-buffer replacement
3845 keys in the Help message. (Bug#12655)
3846
3847 2012-10-15 Chong Yidong <cyd@gnu.org>
3848
3849 * emacs-lisp/byte-run.el (defsubst): Doc fix.
3850
3851 2012-10-14 Eli Zaretskii <eliz@gnu.org>
3852
3853 * window.el (display-buffer): Doc fix.
3854
3855 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3856 Adjust the msft regexp to the output of Studio 2010, and move msft
3857 before edg-1. See the discussion on emacs-devel,
3858 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
3859 for the details.
3860
3861 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3862
3863 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
3864 (oset): Move uses of object-class-fast macro after its definition.
3865
3866 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
3867
3868 2012-10-13 Chong Yidong <cyd@gnu.org>
3869
3870 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
3871 enabled, re-enable it (Bug#11963).
3872
3873 2012-10-13 Martin Rudalics <rudalics@gmx.at>
3874
3875 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
3876 non-nil, restore window configuration (Bug#12623).
3877
3878 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3879
3880 * help-fns.el (describe-variable, describe-function-1):
3881 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
3882
3883 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
3884
3885 2012-10-12 Glenn Morris <rgm@gnu.org>
3886
3887 * mail/rmailsum.el (rmail-header-summary):
3888 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
3889
3890 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
3891
3892 * progmodes/python.el (python-mode-map):
3893 Replace subtitute-key-definition with proper command remapping.
3894 (python-nav--up-list): Fix behavior for blocks on the same level.
3895
3896 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3897
3898 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
3899
3900 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
3901 changes to the format of load-history.
3902
3903 * international/mule-cmds.el (read-char-by-name): Move let-binding of
3904 completion-ignore-case in case that var is buffer-local (bug#12615).
3905
3906 2012-10-11 Kenichi Handa <handa@gnu.org>
3907
3908 * international/eucjp-ms.el: Re-generated.
3909
3910 2012-10-10 Kenichi Handa <handa@gnu.org>
3911
3912 * select.el (xselect--encode-string): If a coding is specified for
3913 selection, and that is compatible with COMPOUND_TEXT, use it.
3914
3915 2012-10-10 Martin Rudalics <rudalics@gmx.at>
3916
3917 * window.el (switch-to-buffer-preserve-window-point): New option.
3918 (switch-to-buffer):
3919 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
3920
3921 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3922
3923 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
3924 Don't document nil as a useful value (bug#12583).
3925
3926 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
3927
3928 * net/tramp.el (tramp-debug-message):
3929 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
3930 (with-tramp-progress-reporter): Rename from
3931 `tramp-with-progress-reporter'.
3932 (with-tramp-file-property, with-tramp-connection-property):
3933 Move from tramp-cache.el, rename from `with-file-property' and
3934 `with-connection-property', respectively.
3935
3936 * net/tramp-cache.el: Remove `with-file-property' and
3937 `with-connection-property'.
3938
3939 * net/tramp.el:
3940 * net/tramp-gvfs.el:
3941 * net/tramp-sh.el:
3942 * net/tramp-smb.el: Adapt callees.
3943
3944 * net/trampver.el: Update release number.
3945
3946 2012-10-09 Glenn Morris <rgm@gnu.org>
3947
3948 * w32-fns.el (set-message-beep):
3949 * term/w32-win.el (set-message-beep): Update declarations.
3950
3951 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3952
3953 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
3954 (mode-line-widen, mode-line-input-method-map)
3955 (mode-line-coding-system-map, mode-line-remote)
3956 (mode-line-unbury-buffer, mode-line-bury-buffer)
3957 (mode-line-next-buffer, mode-line-previous-buffer):
3958 Replace save-selected-window+select-window => with-selected-window.
3959
3960 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
3961 * progmodes/cc-vars.el (bq-process): Remove, unused.
3962
3963 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
3964
3965 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
3966
3967 Implemented `backward-up-list'-like navigation.
3968 * progmodes/python.el (python-nav-up-list)
3969 (python-nav-backward-up-list): New functions.
3970 (python-mode-map): Define substitute key for backward-up-list to
3971 python-nav-backward-up-list.
3972
3973 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3974
3975 * progmodes/python.el (python-fill-paragraph): Rename from
3976 python-fill-paragraph-function. Fixed fill-paragraph for
3977 decorators (Bug#12605).
3978
3979 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3980
3981 * progmodes/python.el (python-shell-output-filter): Handle extra
3982 carriage return in OSX (Bug#12409).
3983
3984 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3985
3986 Fix shell handling of unbalanced quotes and parens in output.
3987 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
3988 (python-syntax-propertize-function): Use it.
3989 (python-shell-output-syntax-table): New var.
3990 (inferior-python-mode): Prevent unbalanced parens/quotes from
3991 previous output mess with current input context.
3992
3993 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
3994
3995 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
3996 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
3997
3998 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
3999
4000 * ffap.el (ffap-replace-file-component): Support Tramp file name
4001 syntax, not only ange-ftp's one.
4002
4003 2012-10-08 Glenn Morris <rgm@gnu.org>
4004
4005 * cus-start.el (message-log-max): Set :version.
4006
4007 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4008
4009 2012-10-08 Martin Rudalics <rudalics@gmx.at>
4010
4011 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4012 the minibuffer window (Bug#10851).
4013
4014 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4015
4016 Enhancements on forward-sexp movement.
4017 * progmodes/python.el (python-nav-beginning-of-statement)
4018 (python-nav-end-of-statement): Return point-marker.
4019 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4020 (python-info-current-symbol)
4021 (python-info-statement-starts-block-p): Rename from
4022 python-info-beginning-of-block-p.
4023 (python-info-statement-ends-block-p): Rename from
4024 python-info-end-of-block-p.
4025 (python-info-beginning-of-statement-p)
4026 (python-info-end-of-statement-p)
4027 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4028 New functions.
4029
4030 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4031
4032 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4033 frame-selected-windows.
4034
4035 2012-10-08 Daniel Colascione <dancol@dancol.org>
4036
4037 * battery.el (battery-status-function): Check for
4038 w32-battery-status itself, not system-time windows-nt.
4039
4040 * frame.el: Require cl-lib.
4041 (display-format-alist): New variable mapping frame types to
4042 functions that initialize them.
4043 (window-system-for-display): New function: interprets
4044 display-format-alist.
4045 (make-frame-on-display): Remove existing display-selection logic
4046 and just forward to make-frame, which will now DTRT.
4047 (make-frame): Restructure to use window-system-for-display to
4048 figure out how to create a frame on a given display.
4049 (display-mouse-p): Look for frame-type w32, not a particular
4050 system-type.
4051
4052 * loadup.el: Load w32 lisp code when we have the w32 feature.
4053
4054 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4055 system-type windows-nt.
4056
4057 * server.el (server-create-window-system-frame): Look for window
4058 type.
4059 (server-proces-filter): Only force a window system when windows-nt
4060 _and_ w32. Explain why.
4061
4062 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4063 of window systems we configure for the mode.
4064
4065 * startup.el (command-line): Mark window system is initialized
4066 after we've done it.
4067
4068 * common-win.el (x-select-text): Look for w32, not windows-nt.
4069
4070 * ns-win.el: Require cl-lib. Add ourselves to
4071 display-format-alist.
4072 (ns-initialize-window-system): Assert we're not initialized twice.
4073
4074 * w32-win.el: Enable lexical binding; require cl-lib; add
4075 ourselves to display-format-alist.
4076 (w32-handle-dropped-file): Convert incoming dropped files from
4077 Windows paths to Cygwin ones before passing them on to the rest of
4078 Emacs.
4079 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4080 (w32-initialize-window-system): Assert we're not initialized twice.
4081
4082 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4083 (x-initialize-window-system): Assert we're not initialized twice.
4084
4085 * w32-common-fns.el: New File.
4086 (w32-version, w32-using-nt, w32-get-clipboard-data)
4087 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4088 (w32-charset-info-alist, x-last-selected, text)
4089 (x-get-selection-value, x-selection-value): Move here.
4090
4091 * w32-fns.el: Require w32-common-fns.
4092 (w32-version, w32-using-nt, w32-get-clipboard-data)
4093 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4094 (w32-charset-info-alist, x-last-selected, text)
4095 (x-get-selection-value, x-selection-value): Move to
4096 w32-common-fns.
4097
4098 * w32-vars.el:
4099 (w32-allow-system-shell, w32-system-shells): Define only in
4100 non-cygwin case.
4101
4102 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4103
4104 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4105 (read-passwd): Remove a few more potential sources of leaks.
4106
4107 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4108
4109 * progmodes/python.el (inferior-python-mode)
4110 (python-shell-make-comint): Fix initialization of local
4111 variables copied from parent buffer.
4112
4113 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4114
4115 * term/ns-win.el (ns-read-file-name): Update declaration to match
4116 nsfns.m.
4117 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4118 it is set when font is acted upon.
4119
4120 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4121
4122 Enhancements to indentation.
4123 * progmodes/python.el (python-indent-context): Give priority to
4124 inside-string context. Make comments indentation markers.
4125 (python-indent-region): Do not mess with strings, unless it's the
4126 enclosing set of quotes.
4127
4128 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4129
4130 * window.el (internal--before-save-selected-window)
4131 (internal--after-save-selected-window): New functions extracted from
4132 save-selected-window. Make sure we return the `alist' we construct.
4133 (save-selected-window): Use them.
4134
4135 * textmodes/tex-mode.el (tex-recenter-output-buffer):
4136 Use with-selected-window.
4137
4138 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
4139 forms that define macros (bug#12593).
4140
4141 2012-10-07 Kenichi Handa <handa@gnu.org>
4142
4143 * international/mule-conf.el (compound-text-with-extensions):
4144 Add :mime-charset property as x-ctext.
4145
4146 2012-10-07 Stefan Merten <smerten@oekonux.de>
4147
4148 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4149 (rst-indent-literal-normal, rst-indent-literal-minimized)
4150 (rst-indent-comment): Correct :version tag.
4151 (rst-official-cvs-rev): Correct version string.
4152
4153 2012-10-07 Glenn Morris <rgm@gnu.org>
4154
4155 * mail/rmailmm.el (rmail-mime-process-multipart):
4156 Do not confuse a multipart message with an epilogue
4157 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
4158
4159 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4160
4161 Fix shell output retrieval and comint-prompt-regexp init.
4162 * progmodes/python.el (inferior-python-mode):
4163 (python-shell-make-comint): Fix initialization of
4164 comint-prompt-regexp from copied file local variables.
4165 (python-shell-fetched-lines): Remove var.
4166 (python-shell-output-filter-in-progress): Rename from
4167 python-shell-fetch-lines-in-progress.
4168 (python-shell-output-filter-buffer): Rename from
4169 python-shell-fetch-lines-string.
4170 (python-shell-fetch-lines-filter): Delete function.
4171 (python-shell-output-filter): New function.
4172 (python-shell-send-string-no-output): Use them.
4173
4174 2012-10-07 Glenn Morris <rgm@gnu.org>
4175
4176 * hi-lock.el (hi-lock-process-phrase):
4177 Try to make it less fragile. (Bug#7161)
4178
4179 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4180
4181 2012-10-06 Glenn Morris <rgm@gnu.org>
4182
4183 * ehelp.el (electric-help-mode): Use help-mode rather than
4184 non-existent mode `help'.
4185 (electric-help-map): Use button-buffer-map. (Bug#10917)
4186
4187 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4188 (reftex-create-bibtex-footer): Fix custom types.
4189
4190 * progmodes/sh-script.el (sh-indent-after-continuation):
4191 Add explicit :group.
4192
4193 * textmodes/rst.el (rst-preferred-decorations)
4194 (rst-shift-basic-offset): Clarify obsolescence versions.
4195
4196 * profiler.el (profiler): Add missing group :version tag.
4197 * avoid.el (mouse-avoidance-banish-position):
4198 * proced.el (proced-renice-command):
4199 * calc/calc.el (calc-ensure-consistent-units):
4200 * calendar/icalendar.el (icalendar-import-format-uid):
4201 * net/tramp.el (tramp-save-ad-hoc-proxies):
4202 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4203 * progmodes/flymake.el (flymake-error-bitmap)
4204 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4205 * progmodes/sh-script.el (sh-indent-after-continuation):
4206 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4207 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4208 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4209 (vhdl-array-index-record-field-in-sensitivity-list)
4210 (vhdl-indent-comment-like-next-code-line):
4211 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4212 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4213 (reftex-cite-key-separator, reftex-create-bibtex-header)
4214 (reftex-create-bibtex-footer):
4215 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4216 (rst-indent-literal-normal, rst-indent-literal-minimized)
4217 (rst-indent-comment): Add missing custom :version tags.
4218
4219 * calendar/timeclock.el (timeclock-modeline-display):
4220 Add missing obsolete alias for renamed user option.
4221
4222 * strokes.el (strokes-modeline-string):
4223 * emulation/crisp.el (crisp-mode-modeline-string):
4224 * eshell/esh-mode.el (eshell-status-in-modeline):
4225 Aliases to defcustoms must come before the defcustom.
4226
4227 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4228 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4229 (cal-tex-cursor-week-monday): Doc fixes.
4230 (cal-tex-cursor-week2-summary): Doc fix.
4231 Rename from cal-tex-cursor-week-at-a-glance.
4232
4233 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4234 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4235
4236 * calendar/calendar.el (calendar-mode-map):
4237 Add cal-tex-cursor-week2-summary.
4238
4239 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4240
4241 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4242
4243 * subr.el (read-passwd-map): New var.
4244 (read-passwd): Use `read-string' again.
4245 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4246
4247 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
4248
4249 * register.el (append-to-register, prepend-to-register):
4250 Deactivate mark, as does `copy-to-register' (bug#12389).
4251
4252 2012-10-06 Chong Yidong <cyd@gnu.org>
4253
4254 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4255
4256 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4257
4258 * international/characters.el: Fix simple mistake ((car chars) ->
4259 elt), delete duplicated code.
4260
4261 2012-10-06 Glenn Morris <rgm@gnu.org>
4262
4263 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4264
4265 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4266
4267 * color.el (color-hsl-to-rgb): Fix incorrect results for
4268 small and large hue values. (Bug#12559)
4269
4270 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4271
4272 Enhancements to docstring formatting when filling paragraphs.
4273 * progmodes/python.el (python-fill-docstring-style): Rename from
4274 python-fill-string-style. Added new style.
4275 (python-fill-string): Use new style. Better checks for
4276 docstrings.
4277
4278 2012-10-05 Glenn Morris <rgm@gnu.org>
4279
4280 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4281
4282 * color.el (color-name-to-rgb, color-rgb-to-hex)
4283 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4284 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4285 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4286 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4287
4288 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4289
4290 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
4291
4292 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4293 to get the correct size across symlinks.
4294
4295 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4296
4297 2012-10-04 Juri Linkov <juri@jurta.org>
4298
4299 * replace.el (query-replace-interactive): Declare obsolete.
4300 (query-replace-read-from): Add the last incremental search string
4301 to the list of default values accessible via M-n.
4302 (map-query-replace-regexp): Use `read-regexp'.
4303 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4304 (map-query-replace-regexp, replace-string, replace-regexp):
4305 Fix docstrings to replace mentions of `query-replace-interactive'
4306 with alternatives. (Bug#12526)
4307
4308 2012-10-04 Juri Linkov <juri@jurta.org>
4309
4310 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4311 (dired-pop-to-buffer): Declare obsolete.
4312 (dired-mark-pop-up): Doc fix.
4313
4314 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4315
4316 Allow user to set docstring style for fill-paragraph.
4317 * progmodes/python.el
4318 (python-fill-comment-function, python-fill-string-function)
4319 (python-fill-decorator-function, python-fill-paren-function):
4320 Remove :safe for defcustoms.
4321 (python-fill-string-style): New defcustom
4322 (python-fill-paragraph-function): Enhance context detection.
4323 (python-fill-string): Honor python-fill-string-style settings.
4324
4325 2012-10-04 Martin Rudalics <rudalics@gmx.at>
4326
4327 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4328 after setting its buffer (Bug#10805).
4329
4330 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
4331
4332 Fix cornercase for string syntax.
4333 * progmodes/python.el (python-syntax-propertize-function):
4334 Simplify and enhance the regexp for unescaped quotes. Now it also
4335 matches quotes in weird situations like the single quote in
4336 "something\"'".
4337 (python-syntax-stringify): Simplify num-quotes detecting code.
4338
4339 2012-10-03 Glenn Morris <rgm@gnu.org>
4340
4341 * help-macro.el (three-step-help):
4342 Revert 2012-09-29 change. (Bug#12567)
4343
4344 2012-10-03 Martin Rudalics <rudalics@gmx.at>
4345
4346 * menu-bar.el (kill-this-buffer): Don't do anything when
4347 `menu-frame' is not alive or visible (Bug#8184).
4348
4349 * emacs-lisp/debug.el (debug): When quitting the debugger window
4350 restore current buffer (Bug#12502).
4351
4352 2012-10-02 Chong Yidong <cyd@gnu.org>
4353
4354 * progmodes/hideif.el (hif-lookup, hif-defined):
4355 Handle semantic-c-takeover-hideif.
4356
4357 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
4358
4359 Change sampling interval units from ms to ns.
4360 * profiler.el (profiler-sampling-interval): Change units
4361 from ms to ns, multiplying the default by 1000000 so that
4362 it remains 1 ms.
4363 (profiler-report-cpu-line-format): Give enough room for
4364 the maximum counters on 64-bit hosts.
4365 (profiler-report-render-calltree-1): Call them "CPU samples",
4366 not "Time (ms)", since they are not milliseconds now (and
4367 never really were).
4368
4369 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4370
4371 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
4372 Fix querying BBDB for entries without a last name (Bug#11580).
4373
4374 2012-10-02 Chong Yidong <cyd@gnu.org>
4375
4376 * emacs-lisp/eieio.el: Restore Version header.
4377
4378 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4379
4380 * vc/diff-mode.el (diff--auto-refine-data): New var.
4381 (diff-hunk): Use it to delay refinement.
4382 (diff-mode): Remove overlays when we turn off font-lock.
4383
4384 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
4385 (table-initialize-table-fixed-width-mode)
4386 (table-set-table-fixed-width-mode): Remove functions.
4387 (table-command-list): Move initialization into declaration.
4388 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
4389 (table-with-cache-buffer): Use `declare'.
4390 (table-span-cell): Simplify via CSE.
4391 (table-fixed-width-mode): Use define-minor-mode.
4392 (table-call-interactively, table-funcall, table-apply): Remove.
4393 (table-function): New function, to replace them.
4394
4395 * bookmark.el (bookmark-search-pattern): Remove var.
4396 (bookmark-read-search-input): Remove function.
4397 (bookmark-bmenu-search): Reimplement using a minibuffer.
4398
4399 * faces.el (modeline): Remove obsolete face name.
4400
4401 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
4402 and give a non-nil default value.
4403 (add-change-log-entry): Simplify accordingly.
4404
4405 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
4406
4407 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
4408 (vc-git-log-edit-toggle-amend): New function.
4409 (vc-git-log-edit-toggle-signoff): New function.
4410 (vc-git-log-edit-mode): New major mode.
4411 (vc-git-log-edit-mode-map): Keymap for it.
4412 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
4413
4414 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
4415 header names.
4416 (log-edit-toggle-header): New function.
4417 (log-edit-extract-headers): Accept function values in HEADERS alist.
4418
4419 2012-10-01 David Engster <deng@randomsample.de>
4420
4421 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
4422 from symbol property and change message to be more consistent with
4423 Emacs proper.
4424 (eieio-describe-generic): Add filename for each implementation.
4425 Fix indices for generic and normal methods.
4426 (eieio-method-def, eieio-class-def): New buttons.
4427 (eieio-help-find-method-definition)
4428 (eieio-help-find-class-definition): New functions.
4429 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
4430 class, constructor and method definitions.
4431
4432 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
4433 information in symbol property.
4434 (scoped-class): Remove.
4435 (eieio-slot-name-index, call-next-method): Check if it is bound.
4436
4437 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
4438
4439 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
4440 (eieio-custom-mode): New major mode.
4441 (eieio-customize-object): Use it.
4442
4443 2012-10-01 Eric Ludlam <zappo@gnu.org>
4444
4445 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
4446 specifying the expected class, and whether subclassing is allowed.
4447 (eieio-persistent-convert-list-to-object):
4448 (eieio-persistent-validate/fix-slot-value)
4449 (eieio-persistent-slot-type-is-class-p): New functions.
4450 (eieio-named::slot-missing): Doc fix.
4451
4452 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
4453 Stop using unused publd variable.
4454
4455 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4456 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
4457 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
4458 (eieio-speedbar-handle-click): Do not specify a class for the
4459 method. Fixes method invocation order problems with EDE.
4460
4461 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4462
4463 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
4464 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
4465
4466 2012-10-01 Karl Fogel <kfogel@red-bean.com>
4467
4468 * bookmark.el (bookmark-version-control): Give tags in the
4469 :type choices (Bug#12309), and improve doc string.
4470 (bookmark-write-file): Bind `print-circle' to `t' to allow
4471 circular custom bookmark types. (Bug#12503)
4472
4473 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
4474
4475 Revert the FOLLOW-SYMLINKS change for file-attributes.
4476 * files.el (remote-file-name-inhibit-cache, after-find-file):
4477 * time.el (display-time-file-nonempty-p): Undo last change.
4478
4479 * profiler.el (profiler-sampling-interval): Change default back to 1.
4480 See Stefan Monnier in
4481 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
4482
4483 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
4484
4485 Shell output catching a la gud-gdb.
4486 * progmodes/python.el (python-shell-fetch-lines-in-progress)
4487 (python-shell-fetch-lines-string, python-shell-fetched-lines):
4488 New Vars.
4489 (python-shell-fetch-lines-filter): New function.
4490 (python-shell-send-string-no-output): Use them.
4491
4492 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
4493
4494 * profiler.el (profiler-sampling-interval): Rename from
4495 profiler-sample-interval.
4496 (profiler-sampling-interval): Default to 10.
4497 (profiler-find-profile): New command (was profiler-find-log).
4498 (profiler-find-profile-other-window): New command.
4499 (profiler-find-profile-other-frame): New command.
4500 (profiler-profile): Introduce API-level data structure.
4501
4502 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
4503
4504 file-attributes has a new optional arg FOLLOW-SYMLINKS.
4505 * files.el (remote-file-name-inhibit-cache):
4506 * time.el (display-time-file-nonempty-p): Use it.
4507 * files.el (after-find-file): Don't chase links before calling
4508 file-exists-p, as file-exists-p already does the right thing.
4509
4510 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
4511
4512 Merge from standalone RefTeX repository.
4513
4514 The following ChangeLog entries are shortened versions of the
4515 original ones with file paths adapted. A not so strongly edited
4516 version of the original ChangeLog can be found in the commit log.
4517
4518 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
4519 (reftex-arg-cite): Use `reftex-cite-key-separator'.
4520 Correctly handle new value type returned by `reftex-citation'.
4521
4522 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
4523 that entries with whitespace at various places are found.
4524 Doc fix. Include entries that are cross-referenced from cited entries.
4525 Include @String definitions in the resulting bib file. Add header
4526 and footer defined in `reftex-create-bibtex-header' and
4527 `reftex-create-bibtex-footer'.
4528 (reftex-do-citation): Make it possible again to insert
4529 non-existent entries. Save match data when asking for optional
4530 arguments. Return all keys, not just the first one.
4531 (reftex-all-used-citation-keys): Fix regexp to correctly extract
4532 all citations in the same line.
4533 (reftex-parse-bibtex-entry): Accept additional optional argument
4534 `raw' and keep quotes or braces if it is non-nil. Match fields
4535 containing hyphens besides word constituents.
4536 (reftex-get-string-refs): New function.
4537 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
4538 and ask if it should be reread in case it did.
4539 (reftex-pop-to-bibtex-entry)
4540 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
4541 entries with spaces or tabs in front of arguments.
4542 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4543 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
4544 Match entries containing numbers and symbol constituents.
4545 (reftex-do-citation, reftex-figure-out-cite-format):
4546 Use `reftex-cite-key-separator'.
4547
4548 * textmodes/reftex-dcr.el: Move provide statement to end of file.
4549 (reftex-mouse-view-crossref): Explain why point is set.
4550
4551 * textmodes/reftex-global.el: Whitespace changes.
4552
4553 * textmodes/reftex-index.el: Move provide statement to end of
4554 file.
4555 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
4556 (reftex-index-visit-phrases-buffer): Set marker when visiting
4557 buffer. This allows for returning from the phrases file to the
4558 file one was just editing instead of the file where the last
4559 phrases was added from.
4560 (reftex-index-phrases-syntax-table): New variable. Give ?\"
4561 punctuation syntax as it usually is not used as string quote in
4562 TeX-related modes and may occur unmatched. The change also
4563 prevents fontification of quoted content.
4564 (reftex-index-phrases-mode): Use it.
4565
4566 * textmodes/reftex-parse.el (reftex-parse-from-file):
4567 Move backward one char if a `\' was matched after a section macro.
4568 (reftex-parse-from-file): Use beginning of match instead of end as
4569 bound.
4570
4571 * textmodes/reftex-ref.el: Adapt creation of
4572 `reftex-<package>-<macro>' functions to new structure of
4573 `reftex-ref-style-alist'.
4574 (reftex-reference): Use `reftex-ref-style-list' function.
4575 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4576 reference macro if `reftex-ref-macro-prompt' is non-nil.
4577 (reftex-reference): Pass refstyle to `reftex-format-special'.
4578 Determine reference macro by looking at
4579 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
4580 Use only one special format function.
4581 (reftex-varioref-vref, reftex-fancyref-fref)
4582 (reftex-fancyref-Fref): Remove definitions. The functions are now
4583 generated from `reftex-ref-style-alist'.
4584 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
4585 Remove.
4586 (reftex-format-special): New function.
4587
4588 * textmodes/reftex-sel.el
4589 (reftex-select-cycle-ref-style-internal): Adapt to new structure
4590 of `reftex-ref-style-alist'. Remove code for testing macro type.
4591 (reftex-select-toggle-varioref)
4592 (reftex-select-toggle-fancyref): Remove.
4593 (reftex-select-cycle-ref-style-internal)
4594 (reftex-select-cycle-ref-style-forward)
4595 (reftex-select-cycle-ref-style-backward): New functions.
4596 (reftex-select-label-map): Use `v' and `V' for general cycling
4597 through reference styles. Add `p' for switching between number
4598 and page reference types.
4599
4600 * textmodes/reftex-toc.el (reftex-re-enlarge):
4601 Call `enlarge-window' only if there is something to do because in Emacs
4602 the horizontal version throws an error even if the parameter is 0.
4603
4604 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
4605 (reftex-plug-into-AUCTeX): Doc fix.
4606 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
4607 string. Adapt to new name.
4608 (reftex-ref-style-alist): Change structure so that it is not
4609 possible to use multiple different package names within a style.
4610 Remove the symbols for symbols for macro type distinction.
4611 Add characters for macro selection.
4612 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
4613 (reftex-create-bibtex-footer): New variables.
4614 (reftex-format-ref-function): Mention third argument of special
4615 format function.
4616 (reftex-ref-style-alist, reftex-ref-style-default-list):
4617 New variables.
4618 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
4619 to new implementation. Mark as obsolete. Add compatibility code
4620 for honoring the variable values in case they are set.
4621 (reftex-cite-format-builtin, reftex-bibliography-commands):
4622 Add support for ConTeXt.
4623 (reftex-format-ref-function, reftex-format-cite-function):
4624 Fix custom type.
4625 (reftex-cite-key-separator): New variable.
4626
4627 * textmodes/reftex.el (reftex-syntax-table-for-bib)
4628 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
4629 `reftex-syntax-table' because parens have to retain their paren
4630 syntax in order for parsing of BibTeX entries like @book(...) to
4631 work.
4632 (reftex-in-comment): Do not error out if `comment-start-skip' is
4633 not set. Deal correctly with escaped comment characters.
4634 (reftex-tie-multifile-symbols): Add doc string.
4635 Initialize `reftex-ref-style-list'.
4636 (reftex-untie-multifile-symbols): Add doc string.
4637 (reftex-add-index-macros): Doc fix.
4638 (reftex-ref-style-activate, reftex-ref-style-toggle)
4639 (reftex-ref-style-list): New functions.
4640 (reftex-mode-menu): Use them. Adapt to new structure of
4641 `reftex-ref-style-alist'.
4642 (reftex-select-with-char): Kill the RefTeX Select buffer when
4643 done.
4644 (reftex-remove-if): New function.
4645 (reftex-erase-all-selection-and-index-buffers)
4646 (reftex-mode-menu): Reference styles are now computed from
4647 `reftex-ref-style-alist'. Fix typo.
4648 (reftex-report-bug): New function.
4649 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
4650 algorithms with O(n log n). Introduce optional argument SORT (not
4651 yet used).
4652
4653 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
4654
4655 Enhancements for triple-quote string syntax.
4656 * progmodes/python.el (python-syntax-propertize-function):
4657 Match both quote cases in one regexp.
4658 (python-syntax-stringify): Handle matches properly.
4659
4660 2012-09-30 Juri Linkov <juri@jurta.org>
4661
4662 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
4663 to nil around the call to `insert' to prevent
4664 directory time modification by lock_file. (Bug#2295)
4665 * tar-mode.el (tar-summarize-buffer): Idem.
4666
4667 2012-09-30 Juri Linkov <juri@jurta.org>
4668
4669 * facemenu.el (list-colors-sort): Add option "Luminance".
4670 (list-colors-sort-key): Implement it.
4671
4672 * vc/diff-mode.el (diff-refine-removed):
4673 * vc/ediff-init.el (ediff-fine-diff-A):
4674 * vc/smerge-mode.el (smerge-refined-removed):
4675 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
4676
4677 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
4678
4679 * term/ns-win.el (x-file-dialog): New function.
4680
4681 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
4682
4683 * ido.el (ido-max-directory-size): Default to nil; the current
4684 default is small for POSIX systems, and impractical on Windows 7
4685 now that lstat returns directory sizes for NTFS.
4686
4687 2012-09-30 Martin Rudalics <rudalics@gmx.at>
4688
4689 In buffer display functions handle window-height/window-width
4690 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
4691 * window.el (window--display-buffer): New argument ALIST.
4692 Obey window-height and window-width alist entries.
4693 (window--try-to-split-window): New argument ALIST.
4694 Bind window-combination-limit to t when the window's size shall be
4695 changed and window-combination-limit equals `window-size'.
4696 (display-buffer-in-atom-window)
4697 (display-buffer-in-major-side-window)
4698 (display-buffer-in-side-window, display-buffer-same-window)
4699 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4700 (display-buffer-pop-up-window, display-buffer-below-selected)
4701 (display-buffer-at-bottom, display-buffer-in-previous-window)
4702 (display-buffer-use-some-window): Adjust all callers of
4703 window--display-buffer and window--try-to-split-window.
4704 (fit-frame-to-buffer): New option.
4705 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
4706 is non-nil.
4707 (display-buffer-in-major-side-window): Evaluate window-height /
4708 window-width alist entries.
4709
4710 * help.el (temp-buffer-resize-frames)
4711 (temp-buffer-resize-regexps): Remove options.
4712 (temp-buffer-resize-mode): Adjust doc-string.
4713 (resize-temp-buffer-window): Don't consult
4714 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
4715 temp-buffer-resize-frames.
4716
4717 * dired.el (dired-mark-pop-up):
4718 Call display-buffer-below-selected with a fit-window-to-buffer alist
4719 entry.
4720
4721 2012-09-30 Chong Yidong <cyd@gnu.org>
4722
4723 * server.el (server-host): Document the security implications.
4724 (server-auth-key): Doc fix.
4725
4726 * startup.el (initial-buffer-choice): Doc fix.
4727
4728 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
4729
4730 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
4731 restriction change.
4732
4733 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
4734
4735 * help-fns.el (help-fns--obsolete): Fix last change.
4736
4737 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
4738
4739 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
4740 (minor-mode-map-alist): Remove redundant code.
4741
4742 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
4743 visited in a buffer.
4744 (cvs-insert-visited-file): New function.
4745 (find-file-hook): Use it.
4746
4747 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
4748
4749 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
4750 chose face.
4751 (log-edit-empty-buffer-p): Don't require a space after a header.
4752
4753 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
4754
4755 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
4756
4757 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
4758 a proper minor-mode.
4759
4760 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
4761
4762 2012-09-29 Glenn Morris <rgm@gnu.org>
4763
4764 * winner.el (winner-mode): Remove variable (let define-minor-mode
4765 handle it).
4766 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
4767 Doc fixes.
4768 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
4769 (winner-mode): Use define-minor-mode.
4770
4771 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
4772 the full definition in loaddefs, rather than duplicating it.
4773
4774 * help-macro.el (three-step-help): No need to autoload defcustom.
4775
4776 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
4777 (inferior-lisp-program, inferior-lisp-load-command)
4778 (inferior-lisp-prompt, inferior-lisp-mode-hook):
4779 No need to autoload defcustoms.
4780
4781 * hippie-exp.el (hippie-expand-try-functions-list)
4782 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
4783 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
4784 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
4785 (hippie-expand-only-buffers): No need to autoload defcustoms.
4786 * progmodes/vhdl-mode.el (vhdl-line-expand):
4787 Explicitly load hippie-exp, so it does not get autoloaded
4788 while hippie-expand-try-functions-list is let-bound.
4789
4790 2012-09-28 Glenn Morris <rgm@gnu.org>
4791
4792 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
4793
4794 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
4795 Only "cl.el" counts as cl these days.
4796
4797 2012-09-28 Juri Linkov <juri@jurta.org>
4798
4799 Display archive errors in the echo area instead of inserting
4800 to the file buffer.
4801
4802 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
4803 to STDERR-TEST that can be a regexp matching a successful output.
4804 Create a temporary file and redirect stderr to it. Search for
4805 STDERR-TEST in the stderr output and display it in the echo area
4806 if no match is found.
4807 (archive-extract-by-file): New function like
4808 `archive-extract-by-stdout' but extracting archives to files
4809 and looking for successful matches in stdout. Function body is
4810 mostly copied from `archive-rar-extract'.
4811 (archive-rar-extract): Use `archive-extract-by-file'.
4812 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
4813
4814 2012-09-28 Leo Liu <sdl.web@gmail.com>
4815
4816 * pcomplete.el (pcomplete-show-completions):
4817 Use minibuffer-message to make pcomplete usable in minibuffer.
4818
4819 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
4820
4821 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4822
4823 * type-break.el: Use lexical-binding.
4824 (type-break-mode): Use define-minor-mode.
4825
4826 * emacs-lisp/pcase.el (pcase--mark-used): New.
4827 (pcase--u1): Use it (bug#12512).
4828
4829 * custom.el (load-theme): Set buffer-file-name so the load is recorded
4830 in load-history with the right file name.
4831
4832 2012-09-28 Tassilo Horn <tsdh@gnu.org>
4833
4834 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
4835 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
4836 (doc-view-get-bounding-box): Make bounding box slicing work for
4837 ODF and DVI documents.
4838
4839 2012-09-28 Glenn Morris <rgm@gnu.org>
4840
4841 * type-break.el (type-break-mode, type-break-interval)
4842 (type-break-good-rest-interval, type-break-keystroke-threshold):
4843 No need to autoload.
4844 (type-break-good-rest-interval, type-break-keystroke-threshold):
4845 Add :set-after.
4846
4847 2012-09-28 Chong Yidong <cyd@gnu.org>
4848
4849 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
4850 Add :version tag.
4851
4852 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4853
4854 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
4855
4856 2012-09-27 Glenn Morris <rgm@gnu.org>
4857
4858 * faces.el (x-display-name): Declare (for without-x builds).
4859
4860 * linum.el (linum-format): Don't autoload it. Improve :type.
4861
4862 * progmodes/tcl.el: Don't require outline when compiling.
4863 (outline-regexp, outline-level): Declare.
4864 * textmodes/sgml-mode.el: Don't require outline when compiling.
4865 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
4866
4867 * term.el (term-ansi-reset):
4868 Try setting term-ansi-face-already-done to nil. (Bug#11785)
4869
4870 * vc/vc.el (vc-next-action): Only gripe about committing read-only
4871 files for RCS and SCCS. (Bug#9781)
4872
4873 2012-09-27 Chong Yidong <cyd@gnu.org>
4874
4875 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
4876 change; value should be t.
4877
4878 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4879
4880 * image-mode.el: Use lexical-binding.
4881 (image-mode-winprops): Use t to stand for the window of
4882 a buffer that's not displayed.
4883 * doc-view.el (doc-view-new-window-function): Handle the new
4884 t in winprops.
4885 (doc-view-enlarge): Make it a real nop if the size is not changed.
4886 (doc-view-display): Handle the case where the buffer is not (yet?)
4887 displayed in any window.
4888 (doc-view-saved-settings): New var.
4889 (doc-view-mode): Use it.
4890 (doc-view-fallback-mode): Set it.
4891
4892 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
4893 Set lexical-binding.
4894 (minibuffer-eldef-shorten-default): New var.
4895 (minibuffer-default-in-prompt-regexps): Use it for new default.
4896 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
4897
4898 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
4899
4900 * international/uni-bidi.el:
4901 * international/uni-category.el:
4902 * international/uni-name.el:
4903 * international/uni-numeric.el: Regenerate.
4904
4905 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
4906 Stefan Monnier <monnier@iro.umontreal.ca>
4907
4908 * profiler.el: New file.
4909
4910 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4911
4912 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
4913 (testcover-reinstrument): Simplify with CSE.
4914
4915 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
4916
4917 * window.el (temp-buffer-window-setup): Fix typo in docstring.
4918
4919 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
4920
4921 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
4922 (verilog-auto-input, verilog-auto-insert-lisp)
4923 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
4924 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
4925 (verilog-auto-unused, verilog-auto-wire)
4926 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
4927 newline. Reported by Andrew Jones.
4928 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
4929 Reported by Brad Dobbie.
4930 (verilog-batch-delete-trailing-whitespace):
4931 Create verilog-batch-delete-trailing-whitespace.
4932 Reported by Brad Dobbie.
4933 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
4934 parameters from another module. Reported by Dan Katz.
4935 (verilog-auto, verilog-auto-assign-modport)
4936 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
4937 AUTOINOUTMODPORT for UVM interface module shell generation.
4938 Reported by Brad Dobbie.
4939 (verilog-auto-inst-interfaced-ports): Make default nil, as more
4940 standard behavior.
4941 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
4942 Reported by Matt Martin.
4943
4944 2012-09-25 Martin Rudalics <rudalics@gmx.at>
4945
4946 * window.el (window--resize-child-windows): When resizing child
4947 windows proportionally, process them in reverse order to
4948 preserve the "when splitting a window the new one gets the odd
4949 line" behavior.
4950 (window--resize-root-window-vertically): When resizing the
4951 minibuffer window try to affect only windows at the bottom of the
4952 frame. (Bug#12419)
4953
4954 2012-09-25 Chong Yidong <cyd@gnu.org>
4955
4956 * subr.el (declare): Doc fix.
4957
4958 * help-fns.el (help-fns--obsolete): Handle macros properly.
4959
4960 2012-09-25 Chong Yidong <cyd@gnu.org>
4961
4962 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
4963 this function obsolete.
4964
4965 * calendar/cal-x.el (calendar-two-frame-setup)
4966 (calendar-only-one-frame-setup, calendar-one-frame-setup):
4967 * calendar/calendar.el (american-calendar, european-calendar)
4968 (calendar-for-loop):
4969 * comint.el (comint-dynamic-simple-complete)
4970 (comint-dynamic-complete-as-filename, comint-unquote-filename):
4971 * desktop.el (desktop-load-default):
4972 * dired-x.el (dired-omit-here-always)
4973 (dired-hack-local-variables, dired-default-directory):
4974 * emacs-lisp/derived.el (derived-mode-class):
4975 * emacs-lisp/timer.el (timer-set-time-with-usecs):
4976 * emacs-lock.el (toggle-emacs-lock):
4977 * epa.el (epa-display-verify-result):
4978 * epg.el (epg-sign-keys, epg-start-sign-keys)
4979 (epg-passphrase-callback-function):
4980 * eshell/esh-util.el (eshell-for):
4981 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
4982 (eshell-add-to-window-buffer-names):
4983 * files.el (locate-file-completion):
4984 * imenu.el (imenu-example--create-c-index)
4985 (imenu-example--create-lisp-index)
4986 (imenu-example--lisp-extract-index-name)
4987 (imenu-example--name-and-position):
4988 * international/mule-cmds.el (princ-list):
4989 * international/mule-diag.el (decode-codepage-char):
4990 * international/mule-util.el (detect-coding-with-priority):
4991 * iswitchb.el (iswitchb-read-buffer):
4992 * mail/mailalias.el (mail-complete):
4993 * mail/sendmail.el (mail-sent-via):
4994 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
4995 (mouse-major-mode-menu):
4996 * password-cache.el (password-read-and-add):
4997 * pcomplete.el (pcomplete-parse-comint-arguments):
4998 * progmodes/sh-script.el (sh-maybe-here-document):
4999 * replace.el (query-replace-regexp-eval):
5000 * savehist.el (savehist-load):
5001 * simple.el (choose-completion-delete-max-match):
5002 * term.el (term-dynamic-simple-complete):
5003 * vc/ediff-init.el (ediff-check-version):
5004 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5005 * vc/vc.el (vc-diff-switches-list):
5006 * view.el (view-return-to-alist-update): Likewise.
5007
5008 * subr.el (eval-next-after-load, makehash, insert-string)
5009 (assoc-ignore-representation, assoc-ignore-case): Use declare to
5010 mark obsolete.
5011 (mode-line-inverse-video): Variable deleted.
5012
5013 * international/mule-util.el (string-to-sequence): Remove.
5014
5015 * calendar/calendar.el (calendar-version):
5016 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5017 (icalendar-convert-diary-to-ical):
5018 * cus-edit.el (custom-mode):
5019 * ansi-color.el (ansi-color-unfontify-region):
5020 * international/latin1-disp.el (latin1-char-displayable-p):
5021 * progmodes/cwarn.el (turn-on-cwarn-mode):
5022 * progmodes/which-func.el (which-func-update-1):
5023 Use define-obsolete-function-alias.
5024
5025 * net/newst-backend.el (newsticker-cache-filename):
5026 * net/newst-treeview.el (newsticker-groups-filename):
5027 Fix incorrect obsolescence declaration.
5028
5029 * allout.el (allout-passphrase-hint-string): Likewise.
5030 (allout-init): Use a declare form to mark obsolete.
5031
5032 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5033 this applies to functions.
5034
5035 * iswitchb.el (iswitchb-read-buffer): Move code of
5036 iswitchb-define-mode-map here, and delete that obsolete function.
5037
5038 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5039 font-lock-reference-face.
5040
5041 2012-09-25 Glenn Morris <rgm@gnu.org>
5042
5043 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5044 Doc fixes.
5045
5046 * eshell/em-term.el (eshell-term-name):
5047 Default to term-term-name. (Bug#12485)
5048
5049 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5050
5051 * progmodes/python.el (python-shell-send-buffer): Better handling
5052 of "if __name__ == '__main__':" conditionals when sending the buffer.
5053
5054 2012-09-24 Glenn Morris <rgm@gnu.org>
5055
5056 * eshell/esh-cmd.el (eshell-find-alias-function):
5057 Tighten up file-name regexp. (Bug#12499)
5058
5059 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5060
5061 Enhancements for triple-quote string syntax.
5062 * progmodes/python.el (python-quote-syntax): Remove.
5063 (python-syntax-propertize-function): New value.
5064 (python-syntax-count-quotes, python-syntax-stringify):
5065 New functions.
5066
5067 2012-09-24 Chong Yidong <cyd@gnu.org>
5068
5069 * mail/supercite.el (sc-version): Remove obsolete function.
5070 (sc-describe): Don't mark as obsolete, since it is bound.
5071 (sc-submit-bug-report): Remove.
5072
5073 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5074 (cvs-commit-buffer-require-final-newline): Remove.
5075 (log-edit-require-final-newline)
5076 (log-edit-changelog-full-paragraphs): Default to t.
5077
5078 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5079 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5080 * vc/vc.el (vc-checkout-carefully): Likewise.
5081
5082 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5083 (emerge-version): Remove.
5084
5085 * progmodes/compile.el (compile-internal): Remove.
5086 (compilation-parse-errors-function): Fix typo.
5087
5088 * international/mule.el (set-char-table-default): Remove.
5089 (set-coding-priority, make-coding-system, generic-char-p)
5090 (charset-list, charset-bytes, charset-id): Use declare to mark
5091 functions as obsolete.
5092
5093 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5094 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5095 * vc/vc-hooks.el (vc-default-registered): Don't use
5096 vc-master-templates.
5097
5098 * font-lock.el (font-lock-reference-face):
5099 Use define-obsolete-variable-alias.
5100
5101 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5102 * calendar/calendar.el (calendar-font-lock-keywords):
5103 * calendar/diary-lib.el (diary-font-lock-keywords)
5104 (diary-fancy-font-lock-keywords):
5105 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5106 * textmodes/reftex-index.el (reftex-insert-index):
5107 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5108 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5109 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5110 * progmodes/prolog.el (prolog-font-lock-keywords):
5111 * progmodes/idlwave.el (idlwave-idl-keywords):
5112 * progmodes/ada-mode.el (ada-font-lock-keywords):
5113 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5114
5115 2012-09-24 Glenn Morris <rgm@gnu.org>
5116
5117 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5118
5119 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5120
5121 * progmodes/python.el (python-indent-line): More consistent cursor
5122 movement behavior.
5123
5124 2012-09-23 Stefan Merten <smerten@oekonux.de>
5125
5126 * textmodes/rst.el: Fix compiler warning.
5127
5128 2012-09-23 Roland Winkler <winkler@gnu.org>
5129
5130 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
5131 Transcribe also LaTeX hyphenation.
5132 (bibtex-reformat): Bug fix. Do not quote twice the elements of
5133 bibtex-reformat-previous-options.
5134
5135 2012-09-23 Roland Winkler <winkler@gnu.org>
5136
5137 * proced.el (proced-renice-command): New variable.
5138 (proced-marked-processes): New function.
5139 (proced-with-processes-buffer): New macro.
5140 (proced-send-signal): Use them.
5141 (proced-renice): New command bound to r.
5142
5143 2012-09-23 Roland Winkler <winkler@gnu.org>
5144
5145 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5146 ibuffer-saved-filter-groups has one element, shortcut the call of
5147 completing-read. (Bug#12331)
5148
5149 2012-09-23 Chong Yidong <cyd@gnu.org>
5150
5151 * bindings.el (mode-line-toggle-read-only):
5152 * bs.el (bs-toggle-readonly):
5153 * buff-menu.el (Buffer-menu-toggle-read-only):
5154 * dired.el (dired-toggle-read-only):
5155 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5156
5157 2012-09-23 Chong Yidong <cyd@gnu.org>
5158
5159 * image.el (image-type-available-p): Adapt to init-image-library
5160 argument changes.
5161
5162 2012-09-22 Juri Linkov <juri@jurta.org>
5163
5164 * dired.el (dired-mode-map): Add [remap read-only-mode] for
5165 `dired-toggle-read-only'. (Bug#12462)
5166
5167 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5168
5169 * subr.el (temp-output-buffer-show): New function.
5170 (with-output-to-temp-buffer): Call temp-output-buffer-show
5171 instead of internal-temp-output-buffer-show.
5172
5173 2012-09-22 Chong Yidong <cyd@gnu.org>
5174
5175 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5176 (Bug#12462).
5177
5178 * repeat.el (repeat): Doc fix (Bug#12348).
5179
5180 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5181 (Bug#10909).
5182
5183 * simple.el (shell-command-on-region): Doc fix.
5184 (read-only-mode): Doc fix.
5185
5186 2012-09-22 Eli Zaretskii <eliz@gnu.org>
5187
5188 * emacs-lisp/timer.el (run-with-idle-timer)
5189 (timer-activate-when-idle): Warn against reinvoking an idle timer
5190 from within its own timer action. (Bug#12447)
5191
5192 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5193
5194 * cus-start.el (window-combination-limit): Add new optional
5195 values.
5196 * window.el (temp-buffer-window-show)
5197 (window--try-to-split-window): Handle new values of
5198 window-combination-limit (Bug#1806).
5199 (split-window): Test window-combination-limit for t instead of
5200 non-nil.
5201 (display-buffer-at-bottom): New buffer display action function.
5202 * help.el (temp-buffer-resize-regexps): New option.
5203 (temp-buffer-resize-mode): Rewrite doc-string.
5204 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
5205 Don't resize reused window. Suggested by Glenn Morris.
5206
5207 2012-09-22 Stefan Merten <smerten@oekonux.de>
5208
5209 * textmodes/rst.el: Revamp section title faces.
5210 (rst-official-version)
5211 (rst-package-emacs-version-alist): Sync with official version
5212 V1.4.0.
5213 (rst-faces-defaults, rst-set-level-default)
5214 (rst-level-face-max, rst-level-face-base-color)
5215 (rst-level-face-base-light, rst-level-face-format-light)
5216 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5217 (rst-adornment-faces-alist): Match new setup.
5218 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5219 (rst-level-5, rst-level-6): New faces.
5220
5221 2012-09-22 Chong Yidong <cyd@gnu.org>
5222
5223 * simple.el (undo): Handle indirect buffers (Bug#8207).
5224
5225 2012-09-21 Leo Liu <sdl.web@gmail.com>
5226
5227 IDO: Disable match re-ordering for buffer switching.
5228 * ido.el (ido-buffer-disable-smart-matches): New variable.
5229 (ido-set-matches-1): Use it. (Bug#2042)
5230
5231 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
5232
5233 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5234 Fix 2011-05-17 change. (Bug#12418)
5235
5236 2012-09-21 Leo Liu <sdl.web@gmail.com>
5237
5238 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5239
5240 2012-09-21 Glenn Morris <rgm@gnu.org>
5241
5242 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5243 Be more robust about locating simple.el.
5244
5245 2012-09-21 Glenn Morris <rgm@gnu.org>
5246
5247 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5248
5249 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5250
5251 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5252
5253 2012-09-20 Juri Linkov <juri@jurta.org>
5254
5255 * replace.el (query-replace-read-from): Use `read-regexp' instead
5256 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5257 (occur-read-primary-args): Use `read-regexp' instead of
5258 `read-string'.
5259 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5260 `read-from-minibuffer'.
5261 * isearch.el (isearch-occur): Use `read-regexp' instead of
5262 `read-string'.
5263 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5264 `read-from-minibuffer'.
5265 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5266 of `read-string'. (Bug#7567)
5267
5268 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5269 and allow accepting a list of strings prepended to a list of
5270 standard default values. Doc fix. (Bug#12321)
5271
5272 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5273
5274 * replace.el (read-regexp): Don't add ": " when PROMPT already
5275 ends with a colon and space. (Bug#12321)
5276
5277 2012-09-20 Tassilo Horn <tsdh@gnu.org>
5278
5279 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5280 error.
5281
5282 2012-09-20 Stefan Merten <smerten@oekonux.de>
5283
5284 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
5285 Fixes feature request bug#11711.
5286 (rst-mode): Create `imenu-create-index-function'.
5287 (rst-get-stripped-line): Delete after refactoring.
5288 (rst-section-tree, rst-section-tree-rec)
5289 (rst-section-tree-point): Refactor and document properly.
5290 (rst-imenu-find-adornments-for-position)
5291 (rst-imenu-convert-cell, rst-imenu-create-index):
5292 New function.
5293
5294 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5295
5296 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5297 (macroexp--expand-all): Use it.
5298 (macroexp--funcall-and-return): Remove by folding it into its sole
5299 caller (macroexp--warn-and-return).
5300 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5301 Use macroexp--obsolete-warning.
5302
5303 * calc/calc.el: Fix last change by removing the whole chunk, since it
5304 was only needed back when Calc was not bundled.
5305
5306 2012-09-20 Martin Rudalics <rudalics@gmx.at>
5307
5308 * emacs-lisp/debug.el (debug): Restore assignment to
5309 debugger-old-buffer removed on 2012-09-08.
5310
5311 2012-09-20 Juri Linkov <juri@jurta.org>
5312
5313 * dired-aux.el (dired-diff): Remove (require 'diff) since
5314 `diff-latest-backup-file' is now autoloaded.
5315
5316 2012-09-20 Chong Yidong <cyd@gnu.org>
5317
5318 * vc/diff.el (diff-latest-backup-file): Autoload.
5319
5320 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5321
5322 * calc/calc.el: Remove redundant autoload shape check.
5323 (sel-mode): Don't defvar.
5324 (calc-get-stack-element): Add `sel-mode' arg instead.
5325 (calc-top, calc-top-list): Pass it this additional argument.
5326 * calc/calc-store.el (calc-store-map):
5327 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5328 (calc-map-equation, calc-outer-product, calc-inner-product):
5329 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5330
5331 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5332
5333 2012-09-19 Juri Linkov <juri@jurta.org>
5334
5335 * dired-aux.el (dired-diff): Add (require 'diff) because
5336 `diff-latest-backup-file' is not autoloaded.
5337 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5338 of `dired-get-filename' to t to not report error when there is
5339 no default file on the current line.
5340
5341 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5342
5343 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5344 macroexp--eval-if-compile.
5345 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5346 (macroexp--expand-all): Use them (bug#12371).
5347
5348 * doc-view.el (doc-view-guess-paper-size)
5349 (doc-view-scale-bounding-box): Fix unbound `caddr'.
5350
5351 2012-09-19 Tassilo Horn <tsdh@gnu.org>
5352
5353 New feature: set optimal slice from BoundingBox information.
5354 * doc-view.el (doc-view-mode-map): Add keybinding.
5355 (doc-view-menu): Add menu entry.
5356 (doc-view-set-slice): Adapt docstring.
5357 (doc-view-get-bounding-box, doc-view-guess-paper-size)
5358 (doc-view-scale-bounding-box)
5359 (doc-view-set-slice-from-bounding-box): New functions.
5360 (doc-view-paper-sizes): New defvar.
5361
5362 2012-09-19 Glenn Morris <rgm@gnu.org>
5363
5364 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5365 (byte-compile-log-warning): Autoload. (Bug#12371)
5366
5367 * calendar/calendar.el (calendar-american-month-header)
5368 (calendar-european-month-header, calendar-iso-month-header)
5369 (calendar-month-header): New options.
5370 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
5371 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
5372
5373 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
5374
5375 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
5376
5377 2012-09-18 Juri Linkov <juri@jurta.org>
5378
5379 * dired-aux.el (dired-diff): Restore original functionality of
5380 getting the default value, but keep new feature of using the
5381 latest existing backup file (`diff-latest-backup-file').
5382
5383 2012-09-18 Juri Linkov <juri@jurta.org>
5384
5385 * dired.el (dired-mark): If the region is active in Transient Mark
5386 mode, mark all files in the active region. Doc fix.
5387 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
5388 Doc fix. (Bug#10624)
5389
5390 2012-09-18 Juri Linkov <juri@jurta.org>
5391
5392 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
5393 attributes for M-n are pulled from the file at point.
5394 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
5395 Suggested by Drew Adams. (Bug#10624)
5396
5397 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
5398
5399 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
5400 whitespace after "end".
5401 (ruby-do-end-to-brace): Collapse block to one line if it fits
5402 within fill-column.
5403
5404 2012-09-18 Martin Rudalics <rudalics@gmx.at>
5405
5406 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
5407 value.
5408 (debug): Don't remove debugger window when debugger is expected
5409 to be back.
5410
5411 2012-09-18 Chong Yidong <cyd@gnu.org>
5412
5413 * custom.el (defface): Doc fix.
5414
5415 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
5416
5417 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
5418
5419 * progmodes/compile.el (compilation-start): Use compilation-always-kill
5420 to initialize query-on-exit; then test that instead (bug#12288).
5421
5422 2012-09-17 Stefan Merten <smerten@oekonux.de>
5423
5424 * textmodes/rst.el: Add support for `testcover'.
5425 (rst-defcustom-testcover, rst-testcover-add-compose)
5426 (rst-testcover-add-1value): New functions.
5427 (rst-portable-mark-active-p): Replace by `use-region-p'.
5428 (rst-update-section, rst-classify-adornment)
5429 (rst-find-title-line): Mark `1value' forms.
5430 (rst-classify-adornment): Remove superfluous form.
5431 (rst-update-section, rst-get-adornments-around)
5432 (rst-adornment-complete-p, rst-get-next-adornment)
5433 (rst-adjust, rst-promote-region)
5434 (rst-display-adornments-hierarchy, rst-straighten-adornments)
5435 (rst-find-pfx-in-region, rst-section-tree-rec)
5436 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
5437 (rst-toc-node, rst-toc, rst-forward-section)
5438 (rst-iterate-leftmost-paragraphs)
5439 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
5440 (rst-bullet-list-region)
5441 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
5442 (rst-compile-find-conf, rst-compile)
5443 (rst-repeat-last-character): Fix style.
5444
5445 2012-09-17 Chong Yidong <cyd@gnu.org>
5446
5447 * comint.el (comint--complete-file-name-data): Don't add a space
5448 if the status is `sole'; that adds a gratuitous space in the
5449 completion-cycling case (Bug#12092).
5450
5451 * pcomplete.el (pcomplete-completions-at-point): Likewise.
5452
5453 2012-09-17 Richard Stallman <rms@gnu.org>
5454
5455 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
5456 only in the mime-shown mode, not in raw mode.
5457 (rmail-mime): Toggle off mime by displaying the message without
5458 mime processing. (Bug#12305)
5459
5460 * mail/rmail.el (rmail-retry-failure):
5461 Turn off mime processing first. (Bug#12037)
5462
5463 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
5464
5465 2012-09-17 Chong Yidong <cyd@gnu.org>
5466
5467 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
5468 (shell-dynamic-complete-functions): Convert to defcustom.
5469 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
5470
5471 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
5472 * comint.el (comint-prompt-read-only):
5473 * custom.el (defcustom):
5474 * hi-lock.el (hi-lock-mode):
5475 * ibuffer.el (ibuffer-formats):
5476 * ielm.el (ielm-prompt-read-only):
5477 * novice.el (disable-command):
5478 * saveplace.el (toggle-save-place):
5479 * speedbar.el (speedbar-supported-extension-expressions):
5480 * startup.el (auto-save-list-file-prefix, init-file-user)
5481 (after-init-hook, inhibit-startup-echo-area-message):
5482 * strokes.el (strokes-help):
5483 * time-stamp.el (time-stamp):
5484 * calendar/calendar.el (calendar, diary-file):
5485 * calendar/diary-lib.el (diary-mail-entries, diary)
5486 (diary-list-entries-hook):
5487 * calendar/holidays.el (holidays, calendar-holidays):
5488 * calendar/lunar.el (lunar-phases):
5489 * calendar/solar.el (sunrise-sunset):
5490 * emulation/edt.el (edt-load-keys):
5491 * emulation/viper.el (viper-mode):
5492 * eshell/em-alias.el (eshell-command-aliases-list):
5493 * eshell/esh-util.el (eshell-convert-numeric-arguments):
5494 * international/ogonek.el (ogonek-information):
5495 * net/tramp-cmds.el (tramp-bug):
5496 * net/quickurl.el (quickurl-reread-hook-postfix):
5497 * play/decipher.el (decipher-font-lock-keywords):
5498 * progmodes/cc-styles.el (c-set-style):
5499 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
5500 * progmodes/inf-lisp.el (inferior-lisp-prompt):
5501 * progmodes/octave-mod.el (octave-mode):
5502 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
5503 * progmodes/verilog-mode.el (verilog-read-defines):
5504 * textmodes/two-column.el (2C-mode): Likewise.
5505
5506 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
5507
5508 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
5509 that holds many addresses.
5510
5511 2012-09-16 Chong Yidong <cyd@gnu.org>
5512
5513 * align.el (align-areas): Call the indication function with
5514 positions instead of markers for arguments (Bug#12343).
5515
5516 * files.el (parse-colon-path): Use split-string (Bug#12351).
5517
5518 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
5519 (display-buffer-function): Mark as obsolete.
5520
5521 * progmodes/compile.el (compilation-parse-errors): Accept list
5522 values similar to font-lock-keywords (Bug#12136).
5523 Suggested by Oleksandr Manzyuk.
5524 (compilation-error-regexp-alist): Doc fix.
5525
5526 2012-09-15 Glenn Morris <rgm@gnu.org>
5527
5528 * version.el (emacs-bzr-version-bzr): New function.
5529 (emacs-bzr-get-version): Add optional EXTERNAL argument.
5530
5531 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
5532 checkouts, check the parent dirstate matches the branch.
5533 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
5534 empty string.
5535
5536 * version.el (emacs-bzr-version): Doc fix.
5537 (emacs-bzr-version-dirstate): New function.
5538 (emacs-bzr-get-version): For lightweight checkouts, if the parent
5539 is local try and check that it matches the branch. If not, just
5540 use dirstate information. (Bug#12441)
5541
5542 2012-09-14 Juri Linkov <juri@jurta.org>
5543
5544 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
5545 (Bug#12399)
5546
5547 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5548
5549 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
5550
5551 * emacs-lisp/edebug.el: Miscellaneous cleanup.
5552 Remove obsolete byte-compiler hack that tried to silence some warnings.
5553 (edebug-submit-bug-report): Remove.
5554 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
5555 Remove aliases, use the un-prefixed name instead.
5556 (edebug-pop-to-buffer): Consider other frames.
5557 (edebug-original-read):: Make it more obvious that it's always defined.
5558 (edebug--make-form-data-entry, edebug--form-data-name)
5559 (edebug--form-data-begin, edebug--form-data-end): Rename from the
5560 single-dashed name, and implement with cl-defstruct.
5561 (edebug-set-form-data-entry): Use the standard accessors.
5562 (edebug-make-top-form-data-entry): Use push.
5563 (edebug-no-match): Drop useless `funcall'.
5564 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
5565 to functions.
5566 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
5567 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
5568 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
5569 (easy-menu-define, with-custom-print): Remove redundant specs.
5570 (edebug-outside-overriding-local-map)
5571 (edebug-outside-overriding-terminal-local-map): Remove, unused.
5572 (edebug--display): Bind unread-command-events directly to nil rather
5573 than binding it to unread-command-events and later setting it to nil.
5574 (edebug--display): Kill edebug-eval-buffer here...
5575 (edebug--recursive-edit): ...rather than here.
5576 Bind standard-output and standard-input.
5577 (edebug-eval): Check cl-macroexpand-all is fboundp.
5578 (edebug-temp-display-freq-count): Fix last change.
5579
5580 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
5581 * subr.el (noreturn, 1value): Add `debug' spec.
5582 * emacs-lisp/advice.el: Require cl-lib.
5583 (ad-copy-tree): Remove, use copy-tree instead.
5584 (ad-dolist): Remove use dolist or cl-dolist instead.
5585 (ad-do-return): Remove, use cl-return instead.
5586 (defadvice): Add `debug' spec.
5587
5588 2012-09-13 Juri Linkov <juri@jurta.org>
5589
5590 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
5591 (Bug#12399)
5592
5593 2012-09-13 Glenn Morris <rgm@gnu.org>
5594
5595 * calc/calc.el (math-compose-expr):
5596 * calc/calc-ext.el (math-compose-expr):
5597 * progmodes/cc-defs.el (cl-macroexpand-all):
5598 * progmodes/cc-langs.el (delete-duplicates, mapcan)
5599 (cl-macroexpand-all): Update declarations.
5600
5601 * vc/vc.el: No need to require ediff.
5602 (ediff-load-version-control): Declare.
5603 (ediff-vc-internal): Fix declaration.
5604 (vc-version-ediff): Require ediff.
5605
5606 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5607
5608 Use a more backwards-compatible timer format (Bug#12430).
5609 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
5610 being right after USECS, as that better supports old code that
5611 inadvisedly looked directly at the timer vector.
5612
5613 2012-09-13 Kenichi Handa <handa@gnu.org>
5614
5615 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
5616 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
5617 `coding-priority' property of these language environment.
5618
5619 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5620
5621 Fix glitches caused by addition of psec to timers (Bug#12430).
5622 * image.el (image-animate-timer):
5623 * time.el (display-time-world-timer):
5624 Use timer--function and timer--args rather than raw access to
5625 timer vector.
5626
5627 2012-09-13 Glenn Morris <rgm@gnu.org>
5628
5629 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
5630 If not compiling a file, try using load-file-name.
5631
5632 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5633
5634 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
5635 Fix last change.
5636 (edebug-update-eval-list): Use `push'.
5637
5638 * emacs-lisp/edebug.el: Use lexical-binding.
5639 Remove the "edebug-" prefix from non-dynamically-scoped variables.
5640 Mark unused args with underscore.
5641 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
5642 (edebug-form-data): Use defvar-local.
5643 (edebug-make-before-and-after-form, edebug-make-after-form):
5644 Use backquote.
5645 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
5646 Not dynamically scoped any more.
5647 (edebug--enter-trace): Add arguments `function' and `args'.
5648 Rename from edebug-enter-trace.
5649 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
5650 (edebug--update-coverage): Add `after-index' and `value' args.
5651 Rename from edebug-update-coverage.
5652 (edebug-slow-after): Call it accordingly.
5653 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
5654 edebug-recursive-edit.
5655 (edebug--display): Call it accordingly. Add args `value',
5656 `offset-index', and `arg-mode'. Rename from edebug-display.
5657 (edebug-debugger, edebug): Call it accordingly.
5658 (edebug-eval-display-list): Use dolist.
5659
5660 2012-09-12 Juri Linkov <juri@jurta.org>
5661
5662 * info.el (Info-search): Don't check for isearch-mode and
5663 isearch-regexp before let-binding search-spaces-regexp to
5664 Info-search-whitespace-regexp.
5665 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
5666 search-whitespace-regexp if isearch-lax-whitespace or
5667 isearch-regexp-lax-whitespace is non-nil.
5668 (Info-mode): Don't set local variable search-whitespace-regexp.
5669 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
5670
5671 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5672
5673 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
5674 (debugger-env-macro): Remove support for unread-command-char.
5675
5676 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
5677 the temporary map re-appearing on emulation-mode-map-alists.
5678
5679 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
5680 since 22.1.
5681
5682 * ehelp.el (with-electric-help): Accept functions in
5683 electric-help-form-to-execute.
5684 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
5685 And replace unread-command-char -> unread-command-events.
5686
5687 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
5688
5689 Sync with Tramp 2.2.6.
5690
5691 * net/tramp.el (tramp-accept-process-output): Don't use
5692 JUST-THIS-ONE in the XEmacs case.
5693
5694 * net/trampver.el: Update release number.
5695
5696 2012-09-12 Martin Rudalics <rudalics@gmx.at>
5697
5698 * emacs-lisp/debug.el (debugger-previous-window-height):
5699 New variable.
5700 (debug): When debugger-jumping-flag is non-nil try to restore
5701 height of debugger window. (Bug#8789)
5702
5703 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5704
5705 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
5706 overriding-local-map and pre/post-command-hook here.
5707 (edebug-recursive-edit): Do it here instead (bug#12345).
5708 (edebug-outside-unread-command-char): Remove all uses of
5709 unread-command-char.
5710
5711 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
5712 inhibit-debugger is bound instead.
5713
5714 2012-09-11 Bastien Guerry <bzg@gnu.org>
5715
5716 * subr.el (set-temporary-overlay-map): Add a docstring.
5717 (Bug#12346)
5718
5719 2012-09-11 Bastien Guerry <bzg@gnu.org>
5720
5721 * minibuffer.el (completion-table-subvert): Fix docstring.
5722 (Bug#12347)
5723
5724 2012-09-11 Bastien Guerry <bzg@gnu.org>
5725
5726 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
5727
5728 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
5729
5730 * progmodes/sql.el: Version 3.1
5731 (sql-db2-escape-newlines): New variable.
5732 (sql-escape-newlines-filter): Use it.
5733
5734 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
5735
5736 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
5737
5738 2012-09-10 Dan Nicolaescu <dann@gnu.org>
5739
5740 * vc/diff-mode.el (diff-mode-menu):
5741 Bind diff-remove-trailing-whitespace.
5742
5743 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5744
5745 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
5746 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
5747 (emacs-lisp-byte-code-mode): New functions.
5748 (eval-sexp-add-defvars): Don't skip defvars in column >0.
5749 (eval-defun-2): Remove bogus interactive spec.
5750 (lisp-indent-line): Remove redundant whole-exp code, now done in
5751 indent-according-to-mode.
5752 (save-match-data): Remove redundant indent data.
5753
5754 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
5755 Use `declare'.
5756
5757 2012-09-09 Juri Linkov <juri@jurta.org>
5758
5759 * replace.el (replace-regexp-lax-whitespace): New defcustom.
5760 (replace-lax-whitespace, query-replace-regexp)
5761 (query-replace-regexp-eval, replace-regexp): Doc fix.
5762 (perform-replace, replace-highlight): Let-bind
5763 isearch-lax-whitespace to replace-lax-whitespace and
5764 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
5765
5766 * isearch.el (isearch-query-replace): Let-bind
5767 replace-lax-whitespace to isearch-lax-whitespace and
5768 replace-regexp-lax-whitespace to
5769 isearch-regexp-lax-whitespace. (Bug#10885)
5770
5771 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
5772
5773 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
5774
5775 2012-09-09 Alan Mackenzie <acm@muc.de>
5776
5777 * progmodes/cc-engine.el (c-state-cache-init):
5778 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
5779 (c-record-parse-state-state):
5780 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
5781
5782 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
5783
5784 * register.el (register-separator): Rename from
5785 separator-register. All uses changed. Doc fix.
5786 (register): Fix version.
5787
5788 2012-09-09 Chong Yidong <cyd@gnu.org>
5789
5790 * replace.el (query-replace-map): Bind four new symbols for
5791 requesting window scrolling.
5792
5793 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
5794 query-replace-map (Bug#8948).
5795
5796 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
5797
5798 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
5799 since they are now in query-replace-map.
5800
5801 * window.el (scroll-other-window-down): Make the arg optional.
5802
5803 2012-09-09 Chong Yidong <cyd@gnu.org>
5804
5805 * files.el (hack-local-variables-confirm): Use quit-window to kill
5806 the *Local Variables* buffer.
5807
5808 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5809
5810 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
5811 not just expect to be at its beginning. Adjust callees.
5812 Succeed when do-end block has no space before the pipe character.
5813 (ruby-brace-to-do-end): When the original block is one-liner,
5814 convert to multiline. Reindent the result.
5815
5816 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
5817
5818 * register.el (register): New group.
5819 (separator-register): New user option.
5820 (increment-register): Route it to `append-to-register', if
5821 register contains text. Implication is that `C-x r +' can now be
5822 used for appending to a text register (bug#12217).
5823 (append-to-register, prepend-to-register): Add separator based on
5824 `separator-register'.
5825
5826 2012-09-08 Alan Mackenzie <acm@muc.de>
5827
5828 AWK Mode: make auto-newline work when there's "==" in the pattern.
5829 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
5830 correctly.
5831 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
5832 Test more rigorously for "=" token.
5833
5834 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5835
5836 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
5837 Only fail when reached LIMIT.
5838
5839 2012-09-08 Chong Yidong <cyd@gnu.org>
5840
5841 * dired.el (dired-mode-map): Don't bind M-=.
5842
5843 * dired-aux.el (dired-diff): Use backup file as default.
5844
5845 2012-09-08 Drew Adams <drew.adams@oracle.com>
5846
5847 * subr.el (add-to-history): Fix delete usage (Bug#12314).
5848
5849 2012-09-08 Chong Yidong <cyd@gnu.org>
5850
5851 * subr.el (syntax-after, syntax-class): Doc fix.
5852
5853 2012-09-08 Martin Rudalics <rudalics@gmx.at>
5854
5855 * window.el (display-buffer-in-previous-window): New buffer
5856 display action function.
5857
5858 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
5859 (debugger-previous-window): New variable.
5860 (debug): Rewrite using display-buffer-in-previous-window,
5861 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
5862
5863 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5864
5865 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
5866
5867 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
5868
5869 * progmodes/python.el (python-shell-send-string):
5870 When default-directory is remote, create temp file on remote
5871 filesystem.
5872 (python-shell-send-file): When file is remote, pass local view of
5873 file paths to remote Python interpreter. (Bug#12340)
5874
5875 2012-09-07 Chong Yidong <cyd@gnu.org>
5876
5877 * window.el (switch-to-buffer): Doc fix (Bug#12181).
5878
5879 * files.el (after-find-file): Don't fail on a read-only buffer if
5880 require-final-newline is `visit' or `visit-save' (Bug#11156).
5881
5882 * subr.el (read-char-choice): Allow quitting via ESC ESC.
5883
5884 * userlock.el (ask-user-about-supersession-threat):
5885 Use read-char-choice (Bug#12093).
5886
5887 2012-09-07 Chong Yidong <cyd@gnu.org>
5888
5889 * subr.el (buffer-narrowed-p): New function.
5890
5891 * ses.el (ses-widen):
5892 * simple.el (count-words--buffer-message):
5893 * net/browse-url.el (browse-url-of-buffer): Use it.
5894
5895 * simple.el (count-words-region): Don't signal an error if there
5896 is a non-nil prefix arg and the mark is not set.
5897
5898 * help.el (describe-key-briefly): Allow the message to be seen
5899 when invoked from the minibuffer (Bug#7014).
5900
5901 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5902
5903 * progmodes/ruby-mode.el (ruby-end-of-defun)
5904 (ruby-beginning-of-defun): Simplify, allow indentation before
5905 block beginning and end keywords.
5906 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
5907 (ruby-end-of-defun): Expect that the point is at the beginning of
5908 the defun.
5909
5910 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5911
5912 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
5913 (bug#12367).
5914 (cl--make-usage-args): Strip _ from argument names.
5915
5916 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5917
5918 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
5919 obsolete alias speedbar-key-map.
5920 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
5921 (vhdl-index-menu-init): Don't use obsolete variable
5922 font-lock-maximum-size.
5923
5924 2012-09-06 Chong Yidong <cyd@gnu.org>
5925
5926 * frame.el (window-system-version): Mark as obsolete.
5927
5928 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
5929 of obsolete variable speedbar-key-map.
5930
5931 2012-09-06 Juri Linkov <juri@jurta.org>
5932
5933 * replace.el (replace-lax-whitespace): New defcustom.
5934 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5935 (replace-string, replace-regexp): Mention it in docstrings.
5936 (perform-replace, replace-highlight): Let-bind
5937 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
5938 to the values of replace-lax-whitespace and regexp-flag.
5939 Don't let-bind search-whitespace-regexp. (Bug#10885)
5940
5941 * isearch.el (isearch-query-replace): Let-bind
5942 replace-lax-whitespace instead of let-binding
5943 replace-search-function and replace-re-search-function.
5944 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
5945 and isearch-regexp-lax-whitespace to lazy-highlight variables.
5946 (isearch-toggle-symbol): Set isearch-regexp to nil
5947 in isearch-word mode (like in isearch-toggle-word).
5948
5949 2012-09-06 Juri Linkov <juri@jurta.org>
5950
5951 * replace.el (replace-search-function)
5952 (replace-re-search-function): Set default values to nil.
5953 (perform-replace): Let-bind isearch-related variables based on
5954 replace-related values, call `isearch-search-fun' and let-bind
5955 the result to `search-function'. Remove code that sets
5956 `search-function' and `search-string' separately for
5957 `delimited-flag'.
5958 (replace-highlight): Add new argument `delimited-flag' and
5959 rename other arguments to the names used in `perform-replace'.
5960 Let-bind `isearch-word' to the argument `delimited-flag'.
5961 (Bug#10885, bug#10887)
5962
5963 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5964
5965 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
5966 ruby-beginning-of-indent, simplify, allow all keywords to have
5967 indentation before them.
5968 (ruby-beginning-of-indent): Adjust for above. Search until the
5969 found point is not inside a string or comment.
5970 (ruby-font-lock-keywords): Allow symbols to start with "@"
5971 character, give them higher priority than variables.
5972 (ruby-syntax-propertize-function)
5973 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
5974 matchers. Expression expansions are not comments when inside a
5975 string, and there comment syntax status is irrelevant.
5976 (ruby-match-expression-expansion): New function. Check that
5977 expression expansion is inside a string, and it's not escaped.
5978 (ruby-font-lock-keywords): Use it.
5979
5980 2012-09-05 Martin Rudalics <rudalics@gmx.at>
5981
5982 * help.el (temp-buffer-max-height): New default value.
5983 (temp-buffer-resize-frames): New option.
5984 (resize-temp-buffer-window): Optionally resize frame.
5985
5986 * window.el (fit-frame-to-buffer-bottom-margin): New option.
5987 (fit-frame-to-buffer): New function.
5988
5989 2012-09-05 Glenn Morris <rgm@gnu.org>
5990
5991 * emulation/cua-rect.el (cua--init-rectangles):
5992 * textmodes/picture.el (picture-mode-map):
5993 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
5994 like forward-char and backward-char. (Bug#12317)
5995
5996 2012-09-05 Leo Liu <sdl.web@gmail.com>
5997
5998 * progmodes/flymake.el (flymake-warning-re): New variable.
5999 (flymake-parse-line): Use it.
6000
6001 2012-09-05 Glenn Morris <rgm@gnu.org>
6002
6003 * calendar/holidays.el (holiday-christian-holidays):
6004 Rename an entry. (Bug#12289)
6005
6006 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6007
6008 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6009 (bug#12222).
6010
6011 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6012
6013 * loadup.el: Load macroexp. Remove hack.
6014 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6015 (macroexp--expand-all): Use it to get better warnings.
6016 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6017 (internal-macroexpand-for-load): New functions.
6018 (macroexp--pending-eager-loads): New var.
6019 (emacs-startup-hook): New hack to replace one in loadup.el.
6020 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6021 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6022 (cl-psetf): Simplify.
6023 (cl-defstruct): Add indent rule.
6024
6025 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6026
6027 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6028 over `user-mail-address' for the SMTP MAIL FROM envelope.
6029 (smtpmail-via-smtp): Ditto.
6030
6031 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6032
6033 * progmodes/ruby-mode.el: Clean up keybindings.
6034 (ruby-mode-map): Don't bind ruby-electric-brace,
6035 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6036 backward-kill-word, reindent-then-newline-and-indent.
6037 (ruby-mark-defun): Remove.
6038 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6039 (ruby-mode): Set local beginning-of-defun-function and
6040 end-of-defun-function values.
6041
6042 2012-09-03 Martin Rudalics <rudalics@gmx.at>
6043
6044 * window.el (temp-buffer-window-setup-hook)
6045 (temp-buffer-window-show-hook): New hooks.
6046 (temp-buffer-window-setup, temp-buffer-window-show)
6047 (with-temp-buffer-window): New functions.
6048 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6049 (special-display-popup-frame): Make sure the window used shows BUFFER.
6050
6051 * help.el (temp-buffer-resize-mode): Fix doc-string.
6052 (resize-temp-buffer-window): New optional argument WINDOW.
6053
6054 * files.el (recover-file, save-buffers-kill-emacs):
6055 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6056
6057 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
6058
6059 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6060 remote definition of `default-directory', ensure we can connect.
6061
6062 2012-09-02 Juri Linkov <juri@jurta.org>
6063
6064 Toggle whitespace matching mode with M-s SPC.
6065 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6066
6067 * isearch.el (search-whitespace-regexp): Doc fix.
6068 Remove cons cell customization.
6069 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6070 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6071 New variables.
6072 (isearch-forward, isearch-forward-regexp): Doc fix.
6073 (isearch-toggle-lax-whitespace): New command.
6074 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6075 (re-search-forward-lax-whitespace)
6076 (re-search-backward-lax-whitespace): New functions.
6077 (isearch-whitespace-regexp): Remove function.
6078 (isearch-query-replace): Let-bind replace-search-function and
6079 replace-re-search-function.
6080 (isearch-occur): Let-bind search-spaces-regexp according to the
6081 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6082 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6083 condition for C-q SPC.
6084 (isearch-search-fun-default): Use new functions mentioned above.
6085 (isearch-search-forward, isearch-search-backward): Remove functions.
6086 (isearch-search): Don't let-bind search-spaces-regexp.
6087 (isearch-lazy-highlight-space-regexp): Remove variable.
6088 (isearch-lazy-highlight-lax-whitespace)
6089 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6090 (isearch-lazy-highlight-new-loop): Use them.
6091 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6092
6093 2012-09-02 Chong Yidong <cyd@gnu.org>
6094
6095 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6096
6097 2012-09-02 Glenn Morris <rgm@gnu.org>
6098
6099 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6100
6101 2012-09-01 Glenn Morris <rgm@gnu.org>
6102
6103 * term.el: Tidy up menu definitions.
6104 (term-mode-map): Use easymenu for In/Out, Complete menus.
6105 (term-pager-break-map): Initialize in the defvar.
6106 (term-terminal-menu, term-signals-menu): Define with easymenu.
6107 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6108 (term-pager-menu): New, extracted from term-process-pager.
6109 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6110 (term-update-mode-line): Propertize line/char and page items.
6111 (term-process-pager): Move keymap initialization elsewhere.
6112
6113 2012-09-01 Martin Rudalics <rudalics@gmx.at>
6114
6115 * window.el (switch-to-prev-buffer): Handle additional values of
6116 BURY-OR-KILL argument. Don't switch in minibuffer window.
6117 (switch-to-next-buffer): Don't switch in minibuffer window.
6118 (quit-restore-window): New function based on quit-window.
6119 Handle additional values of former KILL argument.
6120 (quit-window): Call quit-restore-window with appropriate
6121 interpretation of KILL argument.
6122 (display-buffer-below-selected): New buffer display action
6123 function.
6124
6125 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6126
6127 * minibuffer.el (completion-at-point-functions): Complete docstring
6128 (bug#12254).
6129
6130 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
6131
6132 Better seed support for (random).
6133 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
6134 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6135 * play/mpuz.el, play/tetris.el, play/zone.el:
6136 * calc/calc-comb.el (math-init-random-base):
6137 * play/blackbox.el (bb-init-board):
6138 * play/life.el (life):
6139 * server.el (server-use-tcp):
6140 * type-break.el (type-break):
6141 Remove unnecessary call to (random t).
6142 * net/sasl.el (sasl-unique-id-function):
6143 Change (random t) to (random), now that the latter is more random.
6144 * play/life.el (life-initialized): Remove no-longer-needed var.
6145
6146 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
6147
6148 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6149 Consider frame's buffer predicate when choosing the buffer.
6150 (Bug#12081)
6151
6152 2012-08-30 Richard Stallman <rms@gnu.org>
6153
6154 * simple.el (special-mode-map): Delete binding for `z'.
6155
6156 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
6157
6158 * progmodes/compile.el (compilation-always-kill): Doc fix.
6159
6160 2012-08-30 Chong Yidong <cyd@gnu.org>
6161
6162 * window.el (display-buffer-reuse-frames): Make the obsolescence
6163 message more informative.
6164
6165 2012-08-30 Glenn Morris <rgm@gnu.org>
6166
6167 * paren.el (show-paren-delay):
6168 Add a :set function. Doc fix. (Bug#12297)
6169
6170 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6171
6172 * progmodes/compile.el (compilation-always-kill): New var.
6173 (compilation-start): Use it.
6174
6175 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6176
6177 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6178 * files.el (read-only-mode): Move to simple.el.
6179
6180 * files.el (read-only-mode): New minor mode.
6181 (toggle-read-only): Use it and mark obsolete.
6182 (find-file--read-only):
6183 * vc/vc.el (vc-next-action, vc-checkout):
6184 * vc/vc-cvs.el (vc-cvs-checkout):
6185 * obsolete/vc-mcvs.el (vc-mcvs-update):
6186 * ffap.el (ffap--toggle-read-only): Update callers.
6187
6188 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
6189
6190 * eshell/esh-ext.el (eshell-external-command): Do not examine
6191 remote shell scripts.
6192 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
6193
6194 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6195 "/usr/local/sbin".
6196
6197 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6198
6199 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6200
6201 2012-08-28 Leo Liu <sdl.web@gmail.com>
6202
6203 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6204 completion-at-point. (Bug#12220)
6205
6206 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6207
6208 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6209
6210 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6211
6212 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6213 be buffer-local; add delete-trailing-whitespace (bug#12259).
6214
6215 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
6216
6217 * progmodes/hideif.el (hif-compress-define-list):
6218 Fix typo. (Bug#11951)
6219
6220 2012-08-28 Dan Nicolaescu <dann@gnu.org>
6221
6222 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6223 buffer local setting.
6224
6225 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6226 rcirc-encode-coding-system.
6227
6228 2012-08-28 Leo Liu <sdl.web@gmail.com>
6229
6230 * net/rcirc.el (rcirc-split-message): New function.
6231 (rcirc-send-message): Use it. (Bug#12051)
6232
6233 2012-08-28 Juri Linkov <juri@jurta.org>
6234
6235 * info.el (Info-fontify-node): Hide empty lines at the end of
6236 the node. (Bug#12272)
6237
6238 2012-08-27 Drew Adams <drew.adams@oracle.com>
6239
6240 * dired.el (dired-pop-to-buffer): Make window start at beginning
6241 of buffer (Bug#12281).
6242
6243 2012-08-26 Chong Yidong <cyd@gnu.org>
6244
6245 * window.el (special-display-regexps, special-display-frame-alist)
6246 (special-display-buffer-names, special-display-function)
6247 (display-buffer-reuse-frames): Mark as obsolete.
6248
6249 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6250
6251 * help.el (help-print-return-message): Don't treat
6252 display-buffer-reuse-frames specially.
6253
6254 2012-08-26 Chong Yidong <cyd@gnu.org>
6255
6256 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6257 New variable, replacing gdb-frame-parameters.
6258 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6259 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6260 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6261 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6262 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6263 the functions directly with gdb-display-buffer-other-frame-action.
6264 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6265 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6266 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6267 (gdb-display-registers-buffer): Define directly.
6268 (def-gdb-display-buffer): Macro deleted.
6269 (gdb-display-buffer): Remove second and third args, callers don't
6270 use them. Defer to the default display-buffer behavior, apart
6271 from making windows dedicated.
6272 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6273
6274 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6275
6276 * window.el (display-buffer-pop-up-frame): Handle a
6277 pop-up-frame-parameters alist entry.
6278 (display-buffer): Document it.
6279
6280 2012-08-26 Chong Yidong <cyd@gnu.org>
6281
6282 * isearch.el (search-whitespace-regexp): Make string and nil
6283 values apply to both ordinary and regexp search. Allow a cons
6284 cell value to distinguish between the two.
6285 (isearch-whitespace-regexp, isearch-search-forward)
6286 (isearch-search-backward): New functions.
6287 (isearch-occur, isearch-search-fun-default, isearch-search)
6288 (isearch-lazy-highlight-new-loop): Use them.
6289 (isearch-forward, isearch-forward-regexp): Doc fix.
6290
6291 2012-08-26 Chong Yidong <cyd@gnu.org>
6292
6293 * faces.el (help-argument-name): Always inherit from italic
6294 (Bug#12213).
6295
6296 2012-08-25 Martin Rudalics <rudalics@gmx.at>
6297
6298 * window.el (window--even-window-heights): Even heights when
6299 WINDOW and the selected window form a vertical combination.
6300 (display-buffer-use-some-window): Provide that window used gets
6301 sized back by quit-window. (Bug#11880) and (Bug#12091)
6302
6303 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6304
6305 Fix file time stamp problem with bzr and CVS (Bug#12001).
6306 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6307 in the file's time stamp, since the version control system loses
6308 that information.
6309
6310 2012-08-22 Juri Linkov <juri@jurta.org>
6311
6312 * info.el (Info-fontify-node): Hide the suffix of the
6313 Info file name in the header line. (Bug#12187)
6314
6315 2012-08-22 Glenn Morris <rgm@gnu.org>
6316
6317 * calendar/cal-tex.el (cal-tex-weekly-common):
6318 Restore leading blank page.
6319
6320 2012-08-22 Le Wang <l26wang@gmail.com>
6321
6322 * misc.el (forward-to-word, backward-to-word): Activate or extend
6323 the region under `shift-select-mode'. (Bug#12231)
6324
6325 2012-08-22 Bastien Guerry <bzg@gnu.org>
6326
6327 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6328 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
6329 gives details on why the space is never needed.
6330
6331 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6332
6333 * window.el (walk-window-tree, window-with-parameter):
6334 New optional argument MINIBUF to control whether these functions
6335 should run on the minibuffer window.
6336 (window-at-side-list): Don't operate on minibuffer window.
6337 (window-in-direction): Simplify and rewrite doc-string.
6338 (window--size-ignore): Rename to window--size-ignore-p.
6339 Update callers.
6340 (display-buffer-in-atom-window, window--major-non-side-window)
6341 (window--major-side-window, display-buffer-in-major-side-window)
6342 (delete-side-window, display-buffer-in-side-window):
6343 New functions.
6344 (window--side-check, window-deletable-p, delete-window)
6345 (delete-other-windows, split-window): Handle side windows and
6346 atomic windows appropriately.
6347 (window--display-buffer): Call display-buffer-record-window also
6348 when the window buffer did not change.
6349
6350 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
6351
6352 * help-fns.el (help-fns--key-bindings):
6353 Abbreviate non-symbol remap targets. (Bug#12174)
6354
6355 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6356
6357 * dired.el (dired-mark-remembered): Don't clobber point.
6358 (Bug#11795)
6359
6360 2012-08-22 Glenn Morris <rgm@gnu.org>
6361
6362 * progmodes/bug-reference.el (bug-reference): New custom group.
6363 (bug-reference-bug-regexp): Make it a defcustom.
6364
6365 2012-08-22 Daiki Ueno <ueno@unixuser.org>
6366
6367 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6368 (js-paren-indent-offset, js-square-indent-offset)
6369 (js-curly-indent-offset): Add :safe (Bug#12257).
6370
6371 2012-08-22 Edward O'Connor <hober0@gmail.com>
6372
6373 * json.el (json-key-format): Add error properties.
6374 (json-encode-key): New function.
6375 (json-encode-hash-table, json-encode-alist, json-encode-plist):
6376 Use json-encode-key.
6377
6378 2012-08-22 Glenn Morris <rgm@gnu.org>
6379
6380 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
6381 (cal-tex-leftday, cal-tex-rightday): Remove functions.
6382 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
6383 Update for above change.
6384
6385 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
6386
6387 * cus-face.el (custom-face-attributes): Fix customize type for the
6388 :underline attribute. (Bug#11805)
6389
6390 2012-08-21 Martin Rudalics <rudalics@gmx.at>
6391
6392 * window.el (window-point-1, set-window-point-1): Remove.
6393 (window-in-direction, record-window-buffer)
6394 (set-window-buffer-start-and-point, split-window-below)
6395 (window--state-get-1, display-buffer-record-window):
6396 Replace calls to window-point-1 and set-window-point-1 by calls to
6397 window-point and set-window-point respectively.
6398
6399 2012-08-21 Glenn Morris <rgm@gnu.org>
6400
6401 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
6402 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
6403 Use it.
6404
6405 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
6406 (cal-tex-shortday): New function.
6407 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
6408 (cal-tex-cursor-filofax-daily): Use the above.
6409
6410 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
6411 New functions.
6412 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6413 (cal-tex-cursor-filofax-week): Use them.
6414
6415 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
6416 New constants.
6417 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6418 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
6419
6420 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
6421 (cal-tex-end-document): Don't rely on buffer name.
6422
6423 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
6424 Use cal-tex-vspace.
6425 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
6426 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
6427 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
6428 Use cal-tex-arg.
6429
6430 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
6431 (cal-tex-cursor-week, cal-tex-cursor-week2)
6432 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
6433 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6434 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
6435 (cal-tex-insert-preamble, cal-tex-b-document)
6436 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
6437 Improve cal-tex-cmd usage.
6438
6439 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
6440 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
6441 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
6442 (cal-tex-weekly-paper): New function.
6443 (cal-tex-cursor-week, cal-tex-cursor-week2)
6444 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
6445 (cal-tex-cursor-day): Use it.
6446
6447 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
6448 (cal-tex-cursor-filofax-week): Remove leading blank page.
6449
6450 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6451 Add autoload cookie. For now at least, don't use color, since
6452 no other cal-tex function does.
6453
6454 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
6455 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6456 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
6457
6458 2012-08-21 Juri Linkov <juri@jurta.org>
6459
6460 * info.el (Info-file-attributes): New variable.
6461 (info-insert-file-contents): Add file attributes to
6462 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
6463 `Info-toc-nodes' when previous modtime of the Info file is less
6464 than new modtime.
6465 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
6466 of info.el. (Bug#12230)
6467
6468 2012-08-20 Glenn Morris <rgm@gnu.org>
6469
6470 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
6471 * calendar/holidays.el (calendar-holiday-list):
6472 Report errors with display-warning rather than beep'n'sleep.
6473
6474 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
6475
6476 * net/tramp.el (tramp-accept-process-output): Accept only output
6477 from PROC. Otherwise, process filters and sentinels might be
6478 confused. (Bug#12145)
6479
6480 2012-08-20 Chong Yidong <cyd@gnu.org>
6481
6482 * descr-text.el (describe-text-properties-1): Use overlays-in to
6483 report on empty overlays (Bug#3322).
6484
6485 2012-08-20 Glenn Morris <rgm@gnu.org>
6486
6487 * mail/rmailout.el (rmail-output-read-file-name):
6488 Trap and report errors in rmail-output-file-alist elements.
6489
6490 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
6491 since most non-font-lock faces are not also variables).
6492
6493 2012-08-20 Edward Reingold <reingold@iit.edu>
6494
6495 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6496 New function. (Bug12160)
6497
6498 2012-08-19 Glenn Morris <rgm@gnu.org>
6499
6500 * mail/rmailout.el (rmail-output-read-file-name):
6501 Fix previous change (when the alist is nil or does not match).
6502
6503 2012-08-19 Chong Yidong <cyd@gnu.org>
6504
6505 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
6506 (Bug#12228).
6507
6508 2012-08-18 Chong Yidong <cyd@gnu.org>
6509
6510 * simple.el (yank-handled-properties): New defcustom.
6511 (yank-excluded-properties): Add font-lock-face and category.
6512 (yank): Doc fix.
6513
6514 * subr.el (remove-yank-excluded-properties):
6515 Obey yank-handled-properties. The special handling of font-lock-face
6516 and category is now done this way, instead of being hard-coded.
6517 (insert-for-yank-1): Remove font-lock-face handling.
6518 (yank-handle-font-lock-face-property)
6519 (yank-handle-category-property): New function.
6520
6521 2012-08-17 Glenn Morris <rgm@gnu.org>
6522
6523 * mail/rmailout.el (rmail-output-read-file-name):
6524 Check rmail-output-file-alist against the full message body
6525 in the correct rmail buffer. (Bug#12214)
6526
6527 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
6528
6529 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6530 Eliminate superfluous prompt. (Bug#12203)
6531
6532 2012-08-17 Chong Yidong <cyd@gnu.org>
6533
6534 * mouse.el (mouse-appearance-menu): If x-select-font returns a
6535 font spec, set the font directly (Bug#3228).
6536
6537 2012-08-17 Martin Rudalics <rudalics@gmx.at>
6538
6539 * window.el (delete-window): Fix last fix.
6540
6541 2012-08-16 Martin Rudalics <rudalics@gmx.at>
6542
6543 * window.el (window-valid-p): Move to window.c.
6544 (window-child, window-child-count, window-last-child)
6545 (window-normalize-window, window-combined-p)
6546 (window-combinations, window-atom-root, window-min-size)
6547 (window-sizable, window-sizable-p, window-size-fixed-p)
6548 (window-min-delta, window-max-delta, window--resizable)
6549 (window--resizable-p, window-resizable, window-total-size)
6550 (window-full-height-p, window-full-width-p, window-body-size)
6551 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
6552 (minimize-window, window-deletable-p, delete-window)
6553 (delete-other-windows, set-window-buffer-start-and-point)
6554 (next-buffer, previous-buffer, split-window, balance-windows-2)
6555 (set-window-text-height, window-buffer-height)
6556 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
6557 (truncated-partial-width-window-p): Minor code adjustments.
6558 In doc-strings state whether the argument window has to denote a
6559 live, valid or any window.
6560
6561 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
6562
6563 * progmodes/subword.el (subword-forward-function)
6564 (subword-backward-function, subword-forward-regexp)
6565 (subword-backward-regexp): New variables.
6566 (subword-forward, subword-forward-internal, subword-backward-internal):
6567 Use new variables, eg so that different "word" definitions
6568 can be easily used. (Bug#11411)
6569
6570 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6571
6572 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
6573 for composite selectors.
6574 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
6575 operation just because we can't find a previous revision.
6576
6577 2012-08-15 Chong Yidong <cyd@gnu.org>
6578
6579 * frame.el (set-frame-font): Accept font objects.
6580
6581 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6582
6583 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
6584
6585 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
6586
6587 * man.el (Man-overstrike-face, Man-underline-face)
6588 (Man-reverse-face): Remove variables.
6589 (Man-overstrike, Man-underline, Man-reverse): New faces.
6590 (Man-fontify-manpage): Use them instead of the variables.
6591 (Man-cleanup-manpage): Comment change.
6592 (Man-ansi-color-map): New variable.
6593 (Man-fontify-manpage): Use it.
6594 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
6595
6596 Implement ANSI SGR parameters 22-27 (bug#12146).
6597 * ansi-color.el (ansi-colors): Doc fix.
6598 (ansi-color-context, ansi-color-context-region): Doc fix.
6599 (ansi-color--find-face): New function.
6600 (ansi-color-apply, ansi-color-apply-on-region): Use it.
6601 Rename the local variable `face' to `codes' since it is now a list of
6602 ansi codes. Doc fix.
6603 (ansi-color-get-face): Remove.
6604 (ansi-color-parse-sequence): New function, derived from
6605 ansi-color-get-face.
6606 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
6607 codes 22-27.
6608
6609 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
6610
6611 * subr.el (read-passwd): Allow use from a minibuffer.
6612
6613 2012-08-14 Eli Zaretskii <eliz@gnu.org>
6614
6615 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
6616 inside comments and strings as identifiers.
6617
6618 * progmodes/gud.el (gud-tooltip-print-command): Quote the
6619 expression to evaluate. This allows to evaluate expressions with
6620 embedded whitespace.
6621 (gud-tooltip-tips): Add a blank before the newline in the
6622 message-box text, for the benefit of message-box emulation on
6623 MS-Windows.
6624
6625 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
6626 messages from GDB, pop them up in a tooltip to give feedback to
6627 user.
6628 (gdb-tooltip-print-1): Quote the expression to evaluate.
6629 This allows to evaluate expressions with embedded whitespace.
6630 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
6631 if the TTY name is nil or empty (which happens when communicating
6632 with the inferior via pipes, e.g. on MS-Windows).
6633 (gdb-internals): If GDB sends a "&\n" empty debugging message,
6634 don't send that to the GUD buffer.
6635
6636 2012-08-14 Glenn Morris <rgm@gnu.org>
6637
6638 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
6639 Optimize away setq-default with no args, as for setq. (Bug#12195)
6640
6641 2012-08-14 Chong Yidong <cyd@gnu.org>
6642
6643 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
6644
6645 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
6646 (Bug#12085).
6647
6648 2012-08-14 Glenn Morris <rgm@gnu.org>
6649
6650 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
6651
6652 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
6653
6654 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
6655 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6656 Use cached shell name.
6657
6658 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6659
6660 * progmodes/python.el (python-shell-send-string):
6661 (python-shell-send-setup-code): Do not use `format' with `message'.
6662
6663 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
6664
6665 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
6666 (ruby-percent-literal-beg-re): New constant.
6667 (ruby-syntax-general-delimiters-goto-beg): Rename to
6668 `ruby-syntax-enclosing-percent-literal', improve literal type check.
6669 (ruby-syntax-propertize-general-delimiters): Rename to
6670 `ruby-syntax-propertize-percent-literal', it's a shorter and more
6671 popular term. Adjust comments everywhere.
6672 (ruby-syntax-propertize-percent-literal): Only propertize when not
6673 inside a simple string or comment. When the literal is unclosed,
6674 leave the text after it unpropertized.
6675 (ruby-syntax-methods-before-regexp): New constant.
6676 (ruby-syntax-propertize-function): Use it to recognize regexps.
6677 Don't look at the text after regexp, just use the whitelist.
6678
6679 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
6680
6681 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
6682 non-nil always load the compiled file if it exists. (Bug#12197)
6683
6684 2012-08-14 Chong Yidong <cyd@gnu.org>
6685
6686 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
6687 (hi-lock-set-pattern): When deciding whether to use font lock or
6688 overlays, look at font-lock-mode instead of font-lock-fontified
6689 (Bug#12168).
6690 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
6691 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
6692
6693 2012-08-14 Daiki Ueno <ueno@unixuser.org>
6694
6695 * subr.el (internal--after-with-selected-window): Fix typo
6696 (Bug#12193).
6697
6698 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6699
6700 Use `completion-table-dynamic' for completion functions.
6701 * progmodes/python.el
6702 (python-shell-completion--do-completion-at-point)
6703 (python-shell-completion--get-completions):
6704 Remove functions.
6705 (python-shell-completion-complete-at-point): New function.
6706 (python-completion-complete-at-point): Use it.
6707
6708 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
6709
6710 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
6711 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
6712
6713 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6714
6715 * subr.el (function-get): Refine `autoload' arg so it can also
6716 autoload functions for gv.el (bug#12191).
6717 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
6718 autoloads macros.
6719
6720 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
6721 Prefer pcase-let over destructuring-bind.
6722 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
6723 Also, remove whitespace as we go, rather than after accumulating the
6724 various places.
6725
6726 * subr.el (internal--before-with-selected-window)
6727 (internal--after-with-selected-window): Fix typo seleted->selected.
6728 (with-selected-window): Adjust callers.
6729 Reported by Dmitry Gutov <dgutov@yandex.ru>.
6730
6731 2012-08-13 Bastien Guerry <bzg@gnu.org>
6732
6733 * window.el (special-display-popup-frame): Minor docstring
6734 enhancement. (Bug#12172)
6735
6736 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
6737
6738 * tar-mode.el (tar-header-data-end): Only ignore size for files of
6739 type 1-6.
6740 (tar-header-block-summarize, tar-get-descriptor): Handle pax
6741 extended headers.
6742
6743 * files.el (hack-local-variables-filter): Remove useless eval.
6744
6745 2012-08-13 Martin Rudalics <rudalics@gmx.at>
6746
6747 * subr.el (with-selected-window): Fix last change.
6748
6749 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6750
6751 * subr.el (internal--before-with-seleted-window)
6752 (internal--after-with-seleted-window): New functions.
6753 (with-selected-window): Use them, to replace dependency on
6754 tty-top-frame.
6755
6756 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
6757
6758 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
6759 binding for `newline'.
6760 (ruby-move-to-block): When moving backward, stop at block opening,
6761 not indentation.
6762 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
6763 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
6764 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6765 `ruby-toggle-block'.
6766
6767 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6768
6769 * ibuffer.el (ibuffer-do-toggle-read-only):
6770 * dired.el (dired-toggle-read-only):
6771 * buff-menu.el (Buffer-menu-toggle-read-only):
6772 * bindings.el (mode-line-toggle-read-only):
6773 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
6774
6775 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
6776
6777 * descr-text.el (describe-char): Put the overlays over the
6778 "displayed as" character.
6779
6780 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
6781
6782 * calc/calc-units.el (math-default-units-table): Give an
6783 initial value.
6784 (math-put-default-units): Add options to put composite units and
6785 unit systems in the default units table.
6786 (calc-convert-units): Send composite units to
6787 `math-put-default-units' when appropriate.
6788
6789 2012-08-11 Glenn Morris <rgm@gnu.org>
6790
6791 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
6792
6793 * tutorial.el (help-with-tutorial):
6794 * emacs-lisp/copyright.el (copyright-update-directory):
6795 * emacs-lisp/autoload.el (autoload-find-generated-file)
6796 (autoload-find-file): Disable local eval: (for insurance).
6797
6798 * files.el (hack-local-variables-filter): If an eval: form is not
6799 known to be safe, and enable-local-variables is :safe, then ignore
6800 the form totally, as is done for non-eval forms. (Bug#12155)
6801 This is CVE-2012-3479.
6802
6803 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6804
6805 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
6806 (rx-form): Simplify.
6807
6808 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
6809
6810 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
6811 ?, _, and : are symbol constituents, ! is not (but kinda should be).
6812 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
6813 (ruby-syntax-propertize-function): Adjust for changes in
6814 `ruby-syntax-propertize-heredoc'.
6815
6816 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
6817
6818 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
6819 binding (use `M-;' instead).
6820 (ruby-singleton-class-p): New function.
6821 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
6822
6823 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6824
6825 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
6826
6827 2012-08-10 Chong Yidong <cyd@gnu.org>
6828
6829 * progmodes/python.el (python-shell-get-process-name): Don't mess
6830 with same-window-buffer-names.
6831
6832 * eshell/eshell.el (eshell-add-to-window-buffer-names)
6833 (eshell-remove-from-window-buffer-names): Make obsolete.
6834 (eshell-buffer-name, eshell-unload-hook): Don't use them.
6835 (eshell): Just use pop-to-buffer-same-window instead.
6836
6837 2012-08-10 Chong Yidong <cyd@gnu.org>
6838
6839 * bindings.el: Bind M-= back to count-words-region.
6840
6841 * simple.el (count-words-region): Accept a prefix arg for acting
6842 on the entire buffer.
6843 (count-words--buffer-message): New helper function.
6844
6845 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6846
6847 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
6848 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
6849 (event-start, event-end): Use posn-at-point to return a more
6850 informative posn.
6851 (posnp): New function.
6852 * mouse.el (popup-menu-normalize-position): Use it.
6853
6854 2012-08-10 Masatake YAMATO <yamato@redhat.com>
6855
6856 * mouse.el (popup-menu-normalize-position): New function.
6857 (popup-menu): Use `popup-menu-normalize-position' to normalize
6858 the form for POSITION argument.
6859
6860 * term/x-win.el (x-menu-bar-open):
6861 Use the value returend from (posn-at-point) as position
6862 passed to `popup-menu'.
6863
6864 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6865
6866 * calc/calccomp.el (math-compose-expr): Add extra argument
6867 indicating that parentheses should be put around products in
6868 denominators. Give multiplication precedence over division during
6869 composition.
6870
6871 2012-08-09 Chong Yidong <cyd@gnu.org>
6872
6873 * man.el (Man-switches, Man-sed-command, Man-awk-command)
6874 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
6875 (Man-untabify-command, manual-program): Convert to defcustom
6876 (Bug#10429).
6877
6878 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
6879
6880 * descr-text.el (describe-char): Don't insert extra newlines
6881 (Bug#10127).
6882
6883 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
6884 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
6885
6886 * align.el (align-region): Delete temporary markers (Bug#10047).
6887 Plus some code cleanups.
6888
6889 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6890
6891 * progmodes/python.el (python-pdbtrack-tracked-buffer)
6892 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
6893 (python-shell-internal-last-output): Use make-local-variable
6894 instead of make-variable-buffer-local.
6895
6896 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6897
6898 * progmodes/python.el: Enhancements to forward-sexp.
6899 (python-nav-forward-sexp): Rename from
6900 python-nav-forward-sexp-function.
6901 (python-nav--forward-sexp, python-nav--backward-sexp):
6902 New functions.
6903
6904 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6905
6906 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
6907 modes and simplification modes.
6908
6909 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6910
6911 * delsel.el (delete-selection-pre-hook): Don't propagate the
6912 file-supersession signals (bug#12161).
6913
6914 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6915
6916 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
6917 (cl-map-extents): Add compatibility aliases (bug#12135).
6918
6919 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
6920
6921 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
6922 tests by `ignore-error'.
6923 (tramp-find-shell): Open also a new shell, when cache is already
6924 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
6925
6926 2012-08-08 Juri Linkov <juri@jurta.org>
6927
6928 * bookmark.el: Add `defaults' property to the bookmark record.
6929 (bookmark-current-buffer): Doc fix.
6930 (bookmark-make-record): Add `defaults' property with default values
6931 to the bookmark record.
6932 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
6933 with `bookmark-insert-current-bookmark'.
6934 (bookmark-set): Get `defaults' property from the bookmark record
6935 and use it in `read-from-minibuffer'.
6936 (bookmark-insert-current-bookmark): Remove function.
6937
6938 * info.el (Info-bookmark-make-record): Add `defaults' property
6939 with values of canonical Info node name, the current Info file
6940 name and the current Info node name. (Bug#12107)
6941
6942 2012-08-08 Juri Linkov <juri@jurta.org>
6943
6944 * files.el (basic-save-buffer): Use `buffer-name' as the default
6945 of `read-file-name' when buffer is not visiting a file (bug#12128).
6946
6947 2012-08-08 Juri Linkov <juri@jurta.org>
6948
6949 * info.el (Info-isearch-search): Doc fix.
6950 (Info-search): Change search-failed message from "initial node" to
6951 "end of node" (bug#12078).
6952 (Info-isearch-search): Change `isearch-string-state' to
6953 `isearch--state-string'.
6954
6955 2012-08-08 Glenn Morris <rgm@gnu.org>
6956
6957 * language/persian.el: Remove file.
6958 * language/misc-lang.el: Move unique part of persian.el here.
6959 * loadup.el: Remove language/persian.
6960
6961 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
6962
6963 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
6964
6965 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
6966
6967 * progmodes/python.el: Fix defsubst warning.
6968 (python-syntax-context) Rename from python-info-ppss-context.
6969 (python-syntax-context-type): Rename from
6970 python-info-ppss-context-type.
6971 (python-syntax-comment-or-string-p): Rename from
6972 python-info-ppss-comment-or-string-p.
6973
6974 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6975
6976 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
6977
6978 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
6979
6980 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
6981 a defcustom that is quoted with backquote.
6982
6983 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
6984 Fix handling of interactive spec when the body uses return.
6985 (math-do-arg-check, math-define-function-body): Use backquote forms.
6986 * calc/calc-ext.el (math-defcache): Likewise.
6987 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
6988 * allout.el (allout-new-exposure): Likewise.
6989 * calc/calcalg2.el (math-tracing-integral): Likewise.
6990 * info.el (Info-last-menu-item): Likewise.
6991 * emulation/vip.el (vip-loop): Likewise.
6992 * textmodes/artist.el (artist-funcall): Likewise.
6993 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
6994 Construct menu-item directly.
6995
6996 * progmodes/autoconf.el (font-lock-syntactic-keywords):
6997 Don't declare.
6998
6999 2012-08-07 Chong Yidong <cyd@gnu.org>
7000
7001 * simple.el (deactivate-mark): Preserve text properties when
7002 saving the primary selection (Bug#8384).
7003
7004 2012-08-07 Kevin Ryde <user42@zip.com.au>
7005
7006 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7007 (woman-parse-numeric-value): On a bad .IP line, issue a warning
7008 and continue processing (Bug#12110).
7009
7010 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7011
7012 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7013 syntax-propertize-function (bug#10095).
7014
7015 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7016
7017 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7018 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7019 describe-function-1.
7020 (describe-function-1): Use them. Move compiler macro after sig.
7021 (help-fns--compiler-macro): Use function-get. Assume we're already in
7022 standard-output. Adjust layout to new call order.
7023
7024 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7025 re-binding a symbol that has a symbol-macro (bug#12119).
7026
7027 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7028
7029 * language/persian.el: New file. (Bug#11812)
7030 * loadup.el: Add language/persian.el.
7031
7032 2012-08-06 Chong Yidong <cyd@gnu.org>
7033
7034 * window.el (window--maybe-raise-frame): New function.
7035 (window--display-buffer): Split off from here.
7036 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7037 (display-buffer-pop-up-window, display-buffer-use-some-window):
7038 Obey an inhibit-switch-frame action alist entry.
7039 (display-buffer): Update doc.
7040
7041 * replace.el (occur-after-change-function): Avoid losing focus by
7042 using the inhibit-switch-frame display parameter (Bug#12139).
7043
7044 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7045
7046 Make internal shell process buffer names start with space.
7047 * progmodes/python.el (python-shell-make-comint): Add optional
7048 argument INTERNAL.
7049 (run-python-internal): Use it.
7050 (python-shell-internal-get-or-create-process): Check for new
7051 internal buffer names.
7052
7053 2012-08-06 Glenn Morris <rgm@gnu.org>
7054
7055 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
7056 Do less getting and setting of environment variables.
7057
7058 2012-08-05 Chong Yidong <cyd@gnu.org>
7059
7060 * proced.el (proced): Add substitution string to docstring to
7061 trigger autoloading of the proced library on C-h f (Bug#1768).
7062
7063 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7064 Don't show defvars which have no second argument (Bug#8638).
7065
7066 * imenu.el (imenu-generic-expression): Move documentation here
7067 from imenu--generic-function.
7068 (imenu--generic-function): Refer to imenu-generic-expression.
7069
7070 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
7071
7072 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7073 indentation declaration.
7074 (viper-loop): Add indentation declaration (Bug#7025).
7075
7076 2012-08-05 Chong Yidong <cyd@gnu.org>
7077
7078 * help-fns.el (describe-variable): Add hyperlink for
7079 directory-local variables files. Improve buffer-local and
7080 permanent-local reporting; suggested by MON KEY (Bug#6644).
7081
7082 * help-mode.el (help-dir-local-var-def): New button type.
7083
7084 * files.el (kill-buffer-hook): Provide a defvar.
7085
7086 2012-08-05 Glenn Morris <rgm@gnu.org>
7087
7088 * eshell/esh-ext.el (eshell/addpath):
7089 Also update eshell-path-env. (Bug#12013)
7090
7091 2012-08-05 Chong Yidong <cyd@gnu.org>
7092
7093 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
7094
7095 * fringe.el (fringe-styles): Add docstring.
7096 (fringe--check-mode): New function.
7097 (set-fringe-mode, set-fringe-style): Use it.
7098 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7099
7100 * files.el (set-auto-mode): Fix invalid setq call.
7101
7102 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7103
7104 * isearch.el: Misc simplification; use defstruct.
7105 (isearch-mode-map): Dense maps now work like sparse ones.
7106 (isearch--state): New defstruct.
7107 (isearch-string-state, isearch-message-state, isearch-point-state)
7108 (isearch-success-state, isearch-forward-state)
7109 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7110 (isearch-wrapped-state, isearch-barrier-state)
7111 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7112 replaced by defstruct's accessors.
7113 (isearch--set-state): Rename from isearch-top-state and change
7114 calling convention.
7115 (isearch-push-state): Use new isearch--get-state.
7116 (isearch-toggle-word): Disable regexp when enabling word.
7117 (isearch-message-prefix): Remove unused arg _c-q-hack.
7118 (isearch-message-suffix): Remove unused arg _ellipsis.
7119
7120 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7121
7122 * simple.el (list-processes--refresh): For a server use :host or
7123 :local as the address.
7124 (list-processes): Doc fix.
7125
7126 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
7127
7128 * lisp/mpc.el: Support password in host argument.
7129 (mpc--proc-connect): Parse and use new password element.
7130 Set mpc-proc variable instead of returning process.
7131 (mpc-proc): Adjust accordingly.
7132
7133 2012-08-03 Eli Zaretskii <eliz@gnu.org>
7134
7135 * whitespace.el (whitespace-display-mappings): Use Unicode
7136 codepoints, instead of emacs-mule codepoints. See
7137 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
7138 for the details.
7139
7140 * files.el (file-truename): Don't skip symlink-chasing part on
7141 windows-nt. Incorporate the resolution of 8+3 short aliases on
7142 Windows into the loop that recursively chases symlinks.
7143 Compare directory and its parent case-insensitively on MS-Windows and
7144 MS-DOS.
7145
7146 2012-08-03 Chong Yidong <cyd@gnu.org>
7147
7148 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7149
7150 * sort.el (sort-regexp-fields): Doc fix.
7151
7152 2012-08-03 Tassilo Horn <tsdh@gnu.org>
7153
7154 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7155 labels regex position point at the expected place.
7156
7157 2012-08-03 MON KEY <monkey@sandpframing.com>
7158
7159 * net/imap.el (imap-interactive-login, imap-authenticate)
7160 (imap-mailbox-lsub, imap-mailbox-list)
7161 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7162 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7163 (imap-parse-response): Doc fix.
7164
7165 2012-08-03 João Távora <joaotavora@gmail.com>
7166
7167 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7168 if sexp scanning does not move point (Bug#5734).
7169
7170 2012-08-02 Tassilo Horn <tsdh@gnu.org>
7171
7172 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7173 Add listings, minted, and ctable packages.
7174 (reftex-label-alist-builtin): Move listings, minted, and ctable
7175 entries before LaTeX.
7176 (reftex-label-alist): Docfix.
7177
7178 2012-08-02 Bastien Guerry <bzg@gnu.org>
7179
7180 * replace.el (occur): Fix docstring (bug#12122).
7181
7182 2012-08-02 Glenn Morris <rgm@gnu.org>
7183
7184 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7185
7186 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7187
7188 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7189 * international/mule-cmds.el: Create
7190 inactivate-current-input-method-function as an obsolete alias for
7191 deactivate-current-input-method-function. See Katsumi Yamaoka in
7192 <http://bugs.gnu.org/10150#46>.
7193
7194 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7195
7196 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7197 of nested `if's.
7198
7199 2012-08-01 Glenn Morris <rgm@gnu.org>
7200
7201 * progmodes/autoconf.el (autoconf-definition-regexp):
7202 Add AH_TEMPLATE, adjust submatch numbering.
7203 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7204 (autoconf-current-defun-function): Update for above change.
7205 (autoconf-current-defun-function): First skip to end of current word.
7206
7207 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7208
7209 * calendar/cal-html.el (cal-html-insert-agenda-days):
7210 Fix typo. (Bug#12018)
7211
7212 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7213
7214 Shell processes: enhancements to startup and CEDET compatibility.
7215 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7216 (python-shell-make-comint): accept-process-output at startup.
7217 (run-python-internal): Set inferior-python-mode-hook to nil.
7218 (python-shell-internal-get-or-create-process): call sit-for.
7219 (python-preoutput-result): Add obsolete alias.
7220 (python-shell-internal-send-string): Use it.
7221 (python-shell-send-setup-code): Remove call to
7222 accept-process-output.
7223
7224 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7225
7226 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7227 (Bug#12108)
7228
7229 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7230
7231 * calc-mode.el (calc-basic-simplification-mode): Rename from
7232 `calc-limited-simplification-mode'.
7233 (calc-alg-simplification-mode): New function.
7234 (calc-set-simplify-mode): Adjust message.
7235
7236 * calc.el (calc-set-mode-line): Adjust mode line display for
7237 basic simplification mode.
7238
7239 * calc-help.el (calc-m-prefix-help): Update help message.
7240
7241 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7242 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7243
7244 2012-07-31 Bastien Guerry <bzg@gnu.org>
7245
7246 * man.el (man): Fix comment. (bug#12101)
7247
7248 2012-07-31 Martin Rudalics <rudalics@gmx.at>
7249
7250 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7251 Don't return a non-nil value when no suitable buffer was found.
7252
7253 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7254
7255 * progmodes/python.el (run-python-internal): Disable font lock for
7256 internal shells.
7257
7258 2012-07-30 Stefan Merten <smerten@oekonux.de>
7259
7260 * textmodes/rst.el: Silence `checkdoc-ispell'.
7261 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7262 (rst-official-version, rst-official-cvs-rev)
7263 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7264 (rst-mode-map): New key binding.
7265
7266 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7267
7268 Update .PHONY listings in makefiles.
7269 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7270 autoloads, update-subdirs, updates, bzr-update, update-authors,
7271 compile-onefile, compile-calc, backup-compiled-files,
7272 compile-after-backup, compile-one-process, mh-autoloads,
7273 bootstrap-clean, distclean, maintainer-clean.
7274
7275 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7276
7277 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7278 (calc-set-mode-line): Don't display "AlgSimp ".
7279
7280 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7281 (calc-lim-simplify-mode): New function.
7282 (calc-set-simplify-mode): Default to 'alg.
7283 (calc-default-simplify-mode): Make algebraic simplifications
7284 the default.
7285
7286 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7287 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7288
7289 * calc/calc-help.el (calc-m-prefix-help): Change messages to
7290 indicate new simplification modes.
7291
7292 * calc/README: Mention new default simplification mode.
7293
7294 * calc/calc.el (math-normalize-error): New variable.
7295 (math-normalize): Set `math-normalize-error' to t
7296 when there's an error.
7297
7298 * calc/calc-alg.el (math-simplify): Don't simplify when
7299 `math-normalize' returns an error.
7300
7301 2012-07-29 Eli Zaretskii <eliz@gnu.org>
7302
7303 * international/mule-cmds.el (set-locale-environment): Revert last
7304 change, since display-graphic-p returns nil when this function is
7305 called during startup. Instead...
7306
7307 * term/w32console.el (terminal-init-w32console): ...setup the
7308 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7309
7310 2012-07-29 Juri Linkov <juri@jurta.org>
7311
7312 * simple.el (goto-line): Don't display default line number in the
7313 prompt because it should be displayed by `read-number' (bug#9952).
7314 Add the current line number to the defaults of `goto-line' to
7315 allow its easier modification by users with `M-n' (bug#9201).
7316
7317 * subr.el (read-number): Support multiple default values like in
7318 other minibuffer reading functions. Replace `read' with
7319 `string-to-number' for consistency with `number-to-string'.
7320
7321 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7322
7323 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7324 * emulation/viper-init.el (viper-deactivate-input-method-action):
7325 Rename from viper-inactivate-input-method-action.
7326 (viper-deactivate-input-method):
7327 Rename from viper-inactivate-input-method.
7328 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7329 * international/mule-cmds.el (deactivate-input-method):
7330 Rename from inactivate-input-method.
7331 Also run input-method-deactivate-hook.
7332 (deactivate-current-input-method-function):
7333 Rename from inactivate-current-input-method-function.
7334 (input-method-deactivate-hook): New hook.
7335 (input-method-inactivate-hook): Mark obsolete.
7336 (inactivate-input-method): Mark obsolete.
7337
7338 * international/quail.el (quail-activate):
7339 Also run quail-deactivate-hook.
7340 (quail-deactivate): Rename from quail-inactivate.
7341 * international/robin.el (robin-activate):
7342 Also run robin-deactivate-hook.
7343 (robin-deactivate): Rename from robin-inactivate.
7344
7345 2012-07-29 Chong Yidong <cyd@gnu.org>
7346
7347 * simple.el (indicate-copied-region): New function.
7348 (kill-ring-save): Split off from here.
7349
7350 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7351 (kill-rectangle): Set deactivate-mark to t on read-only error.
7352
7353 * register.el (copy-to-register, copy-rectangle-to-register):
7354 Deactivate the mark, and use indicate-copied-region (Bug#10056).
7355 (append-to-register, prepend-to-register): Call indicate-copied-region.
7356
7357 2012-07-29 Juri Linkov <juri@jurta.org>
7358
7359 * simple.el (async-shell-command-buffer): New defcustom.
7360 (shell-command): Use it. (Bug#4719)
7361
7362 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7363
7364 * international/mule-cmds.el (set-locale-environment): In a
7365 console session on MS-Windows, set up keyboard and terminal
7366 encoding from the OEM codepage, not the ANSI codepage.
7367 (Bug#12055)
7368
7369 2012-07-28 Chong Yidong <cyd@gnu.org>
7370
7371 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
7372 gdb-get-location.
7373
7374 2012-07-28 Leo Liu <sdl.web@gmail.com>
7375
7376 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
7377 the alist (bug#12029).
7378
7379 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7380
7381 * makefile.w32-in (custom-deps, finder-data, updates, compile)
7382 (compile-always, compile-first)
7383 ($(lisp)/calendar/cal-loaddefs.el)
7384 ($(lisp)/calendar/diary-loaddefs.el)
7385 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7386 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
7387 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
7388 instead of on update-subdirs.
7389 (bootstrap-clean): Delete $(lisp)/subdirs.el.
7390
7391 2012-07-28 Chong Yidong <cyd@gnu.org>
7392
7393 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
7394 directory if vc-deduce-backend returns nil (Bug#7350).
7395
7396 * simple.el (delete-trailing-lines): New option.
7397 (delete-trailing-whitespace): Obey it (Bug#11879).
7398
7399 2012-07-28 David Engster <deng@randomsample.de>
7400
7401 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
7402 Explanation of new 'symbol-qnames feature in doc-strings.
7403 (xml-maybe-do-ns): Return expanded names as plain symbols if
7404 'symbol-qnames was provided in XML-NS argument (Bug#11916).
7405 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
7406
7407 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7408
7409 Consistent completion in inferior python with emacs -nw.
7410 * progmodes/python.el (inferior-python-mode): replace "<tab>"
7411 binding in inferior-python-mode-map with "\t".
7412 (python-shell-completion-complete-at-point)
7413 (python-completion-complete-at-point): Remove interactive spec.
7414
7415 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7416
7417 * calc/calccomp.el (math-compose-expr): Undo previous change.
7418
7419 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7420
7421 * progmodes/python.el (python-mode-map): Add keybinding for
7422 run-python.
7423 (python-shell-make-comint): Fix pop-to-buffer call.
7424 (run-python): Autoload. New arg SHOW.
7425 (python-shell-get-or-create-process): Do not pop python process
7426 buffer.
7427
7428 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
7429
7430 * notifications.el (notifications-on-action-signal)
7431 (notifications-on-closed-signal): Use also the bus address for the map.
7432 (notifications-notify, notifications-close-notification)
7433 (notifications-get-capabilities): Add optional argument BUS.
7434
7435 2012-07-27 Tassilo Horn <tsdh@gnu.org>
7436
7437 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7438 Add support for the lstlisting and minted environments, and for the
7439 ctable macro.
7440 * textmodes/reftex.el (reftex-compile-variables): Also recognize
7441 labels written in keyvals syntax.
7442
7443 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7444
7445 * calc/calccomp.el (math-compose-expr): Use parentheses when
7446 there is a product in the denominator of a fraction.
7447
7448 2012-07-26 Eli Zaretskii <eliz@gnu.org>
7449
7450 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
7451 ($(lisp)/calendar/diary-loaddefs.el)
7452 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7453 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
7454 Fixes failures in parallel bootstrap because subdirs.el is being
7455 rewritten while the autoload files are built at the same time,
7456 which needs to load subdirs.el.
7457
7458 2012-07-26 Martin Rudalics <rudalics@gmx.at>
7459
7460 * mouse.el (popup-menu): Fix doc-string and re-indent code.
7461 (mouse-drag-line): Don't exit tracking when a switch-frame or
7462 switch-window event occurs (Bug#12006).
7463
7464 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7465
7466 * mouse.el (popup-menu): Fix last change.
7467
7468 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7469
7470 Autoload from Lisp with more care. Follow aliases when looking for
7471 function properties.
7472 * subr.el (autoloadp): New function.
7473 (symbol-file): Use it.
7474 (function-get): New function.
7475 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
7476 autoload-do-load.
7477 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
7478 (lisp-indent-function):
7479 * emacs-lisp/gv.el (gv-get):
7480 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
7481 * emacs-lisp/byte-opt.el (byte-optimize-form):
7482 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7483 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
7484 Use function-get.
7485 * emacs-lisp/cl.el: Don't propagate function properties any more.
7486
7487 * speedbar.el (speedbar-add-localized-speedbar-support):
7488 * emacs-lisp/disass.el (disassemble-internal):
7489 * desktop.el (desktop-load-file):
7490 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
7491 (describe-function-1):
7492 * emacs-lisp/find-func.el (find-function-noselect):
7493 * emacs-lisp/elp.el (elp-instrument-function):
7494 * emacs-lisp/advice.el (ad-has-proper-definition):
7495 * apropos.el (apropos-safe-documentation, apropos-macrop):
7496 * emacs-lisp/debug.el (debug-on-entry):
7497 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
7498 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7499 * calc/calc.el (name): Use autoloadp & autoload-do-load.
7500
7501 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
7502
7503 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
7504 function, not an obsolete variable (Bug#12046).
7505
7506 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7507
7508 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
7509
7510 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
7511
7512 * emacs-lisp/pp.el (pp-display-expression): Select old selected
7513 window only if it is still live (Bug#12034).
7514
7515 2012-07-25 Martin Rudalics <rudalics@gmx.at>
7516
7517 * subr.el (redirect-frame-focus): Add advertised calling
7518 convention (Bug#12030).
7519
7520 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
7521
7522 Prefer typical American spelling for "acknowledgment".
7523 * vc/add-log.el (change-log-acknowledgment): Rename from
7524 change-log-acknowledgement, with an alias for the old name.
7525
7526 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
7527
7528 * calc-alg.el (math-simplify-divide): Don't cross multiply
7529 in an equation when the lhs is a variable.
7530
7531 2012-07-24 Julien Danjou <julien@danjou.info>
7532
7533 * net/netrc.el (netrc-find-service-number, netrc-store-data):
7534 Remove, unused.
7535
7536 2012-07-23 Eli Zaretskii <eliz@gnu.org>
7537
7538 * startup.el (command-line): Don't display an empty user name in
7539 the error message about non-existent home directory, when
7540 init-file-user was set to an empty string. See
7541 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
7542 for the details and context.
7543
7544 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
7545
7546 * ses.el (ses-cell-formula-aset): New macro.
7547 (ses-cell-references-aset): New macro.
7548 (ses-cell-p): New function.
7549 (ses-rename-cell): Do no longer rely on complex operations like
7550 ses-cell-set-formula or ses-set-cell to change the cell and handle
7551 the undo at the same time, but rather use lower level new macros
7552 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
7553 the undo directly. Refresh the mode line.
7554
7555 2012-07-21 Leo Liu <sdl.web@gmail.com>
7556
7557 * progmodes/cc-cmds.el (c-defun-name):
7558 Use match-string-no-properties instead for consistency.
7559
7560 2012-07-20 Leo Liu <sdl.web@gmail.com>
7561
7562 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
7563 (Bug#7879)
7564
7565 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
7566
7567 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
7568
7569 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
7570 * progmodes/bug-reference.el, misearch.el: Provide themselves
7571 (bug#11915).
7572
7573 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
7574 of narrowed buffer (bug#11966).
7575
7576 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
7577
7578 * ses.el (ses-rename-cell): Set new name also in reference list of
7579 cells of which the renamed cell depends.
7580
7581 2012-07-20 Masatake YAMATO <yamato@redhat.com>
7582
7583 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
7584 to check whether menu-bar is shown or not. If not shown,
7585 show the menu-bar as a popup menu instead of using tmm.
7586 * mouse.el (popup-menu): Accept `point' as `position' argument.
7587
7588 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
7589
7590 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
7591 up inside string symbol literal (bug#11923).
7592
7593 2012-07-20 Eli Zaretskii <eliz@gnu.org>
7594
7595 * startup.el (fancy-startup-text): Read the whole tutorial, not
7596 just its first 256 bytes. Prevents gibberish in display of the
7597 tutorial title.
7598
7599 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
7600
7601 Drop idle buffer compaction due to an absence of the
7602 proved efficiency.
7603 * compact.el: Remove.
7604
7605 2012-07-19 Sam Steingold <sds@gnu.org>
7606
7607 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
7608 vc-bzr-pull & vc-bzr-merge-branch.
7609 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
7610 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
7611 for consistency with compilation-error-regexp-alist.
7612 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
7613 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
7614 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
7615 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
7616
7617 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7618
7619 * emacs-lisp/chart.el: Use lexical-binding.
7620 (chart-emacs-storage): Don't hardcode the list of entries.
7621
7622 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7623
7624 Next round of tweaks caused by Fgarbage_collect changes.
7625 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
7626
7627 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7628
7629 Compact buffers when idle.
7630 * compact.el: New file.
7631
7632 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7633
7634 * subr.el (eventp): Presume that if it looks vaguely like an event,
7635 it's an event (bug#10190).
7636
7637 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
7638
7639 Enhancements to ppss related code (thanks Stefan).
7640 * progmodes/python.el (python-indent-context)
7641 (python-indent-calculate-indentation, python-indent-dedent-line)
7642 (python-indent-electric-colon, python-nav-forward-block)
7643 (python-mode-abbrev-table)
7644 (python-info-assignment-continuation-line-p): Simplify checks
7645 for ppss context.
7646 (python-info-continuation-line-p): Cleanup.
7647 (python-info-ppss-context): Do not catch 'quote.
7648 (python-info-ppss-context-type)
7649 (python-info-ppss-comment-or-string-p): Simplify.
7650
7651 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
7652
7653 * progmodes/python.el: Enhancements to eldoc support.
7654 (python-info-current-symbol): New function.
7655 (python-eldoc-at-point): Use python-info-current-symbol.
7656 (python-info-current-defun): Fix cornercase on first defun scan.
7657 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
7658 and signal error when no inferior python process is available.
7659
7660 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
7661
7662 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
7663 assume it's always t.
7664 (vc-git-registered): Remove caching, the function is only called
7665 once.
7666 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
7667
7668 2012-07-18 Chong Yidong <cyd@gnu.org>
7669
7670 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
7671
7672 * simple.el (count-words): Report on narrowing (Bug#9959).
7673
7674 * bindings.el: Bind M-= to count-words.
7675
7676 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
7677
7678 2012-07-18 Masatake YAMATO <yamato@redhat.com>
7679
7680 * progmodes/sh-script.el (sh-imenu-generic-expression):
7681 Capture a function with `function' keyword and without parentheses
7682 like "function FOO" (bug#11856).
7683
7684 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
7685
7686 * window.el (split-window-sensibly): Make WINDOW argument
7687 optional.
7688
7689 2012-07-18 Chong Yidong <cyd@gnu.org>
7690
7691 * subr.el (keyboard-translate): Doc fix (Bug#7261).
7692
7693 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
7694 and make C-x 8 RET exit isearch (Bug#11439).
7695
7696 * international/iso-transl.el: Move isearch-mode-map key
7697 definitions to isearch.el.
7698
7699 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
7700
7701 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
7702 (eieio-defclass): Use gv-define-setter when possible.
7703
7704 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
7705
7706 Reflect recent changes in Fgarbage_collect.
7707 * emacs-lisp/chart.el (chart-emacs-storage): Change to
7708 reflect new format of data returned by Fgarbage_collect.
7709
7710 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7711
7712 New utility functions + python-info-ppss-context fix (Bug#11910).
7713 * progmodes/python.el (python-info-beginning-of-block-statement-p)
7714 (python-info-ppss-comment-or-string-p): New functions.
7715 (python-info-ppss-context): Small fix for string check.
7716
7717 2012-07-17 Juri Linkov <juri@jurta.org>
7718
7719 * dired-aux.el (dired-do-async-shell-command): Doc fix.
7720 (dired-do-async-shell-command): Don't add `*' at the end of the
7721 command (Bug#11815).
7722 (dired-do-shell-command): Doc fix.
7723 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
7724 Join the individual commands using either "&" or ";" as the
7725 separator depending on the values of these trailing characters.
7726 At the end re-add the trailing "&". (Bug#10598)
7727
7728 * simple.el (async-shell-command): Sync the interactive spec with
7729 `shell-command'. Doc fix.
7730 (shell-command): Doc fix.
7731
7732 2012-07-17 Juri Linkov <juri@jurta.org>
7733
7734 * descr-text.el (describe-char): Fix format args. (Bug#10129)
7735
7736 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7737
7738 Final renames and doc fixes for movement commands (bug#11899).
7739 * progmodes/python.el (python-nav-beginning-of-statement):
7740 Rename from python-nav-statement-start.
7741 (python-nav-end-of-statement): Rename from
7742 python-nav-statement-end.
7743 (python-nav-beginning-of-block): Rename from
7744 python-nav-block-start.
7745 (python-nav-end-of-block): Rename from python-nav-block-end.
7746
7747 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7748
7749 * progmodes/python.el (python-shell-send-string-no-output):
7750 Allow accept-process-output to quit, keeping shell process ready for
7751 future interactions (Bug#11868).
7752
7753 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
7754
7755 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
7756
7757 * emacs-lisp/elint.el (elint-find-args-in-code):
7758 Use help-function-arglist, so as to handle lexical byte-code.
7759
7760 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
7761 change (bug#11826).
7762
7763 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
7764
7765 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
7766 Avoid spuriously marking the buffer as modified because of c-is-sws.
7767
7768 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
7769 as not-a-comment (bug#11946).
7770
7771 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
7772 for uninterned vars.
7773
7774 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
7775 Use read-event since we don't really want to read chars but bytes.
7776
7777 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
7778 $$..$$ but also $..$ using regexps (bug#11953).
7779 Use tex-verbatim for \url and \path.
7780 (tex-font-lock-keywords): Define as defconst like the others.
7781 (tex-common-initialization): Don't use font-lock-syntax-table any more.
7782
7783 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
7784
7785 * international/mule-cmds.el (ucs-insert): Make it an obsolete
7786 alias for insert-char.
7787
7788 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7789
7790 * progmodes/python.el: Simplified imenu implementation.
7791 (python-nav-jump-to-defun): Remove command.
7792 (python-mode-map): Use `imenu' instead.
7793 (python-nav-list-defun-positions-cache)
7794 (python-imenu-include-defun-type, python-imenu-make-tree)
7795 (python-imenu-subtree-root-label, python-imenu-index-alist):
7796 Remove vars.
7797 (python-nav-list-defun-positions, python-nav-read-defun)
7798 (python-imenu-tree-assoc, python-imenu-make-element-tree)
7799 (python-imenu-make-tree, python-imenu-create-index):
7800 Remove functions.
7801 (python-mode): Update to interact with imenu by setting
7802 `imenu-extract-index-name-function' only.
7803
7804 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7805
7806 * progmodes/python.el: Enhancements to navigation commands.
7807 (python-nav-backward-sentence)
7808 (python-nav-forward-sentence): Remove.
7809 (python-nav-backward-statement, python-nav-forward-statement)
7810 (python-nav-statement-start, python-nav-statement-end)
7811 (python-nav-backward-block, python-nav-forward-block)
7812 (python-nav-block-start, python-nav-block-end)
7813 (python-nav-forward-sexp-function)
7814 (python-info-current-line-comment-p)
7815 (python-info-current-line-empty-p): New functions.
7816 (python-indent-context): Use `python-nav-statement-start'.
7817
7818 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
7819
7820 * eshell/em-ls.el (eshell/ls): Use `apply'.
7821
7822 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
7823 multi-hops, instead of Tramp internals.
7824
7825 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
7826
7827 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
7828 when F1 and F2 are located on different hosts.
7829
7830 2012-07-14 Chong Yidong <cyd@gnu.org>
7831
7832 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
7833 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
7834 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
7835 (xterm-mouse--read-event-sequence-1000)
7836 (xterm-mouse--read-event-sequence-1006): New functions. For old
7837 mouse protocol, handle M-mouse-X events correctly.
7838 (xterm-mouse-event): New arg specifying mouse protocol.
7839 (turn-on-xterm-mouse-tracking-on-terminal)
7840 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
7841 sequence to toggle extended coordinates on newer XTerms.
7842 This appears to be harmless on terminals which do not support this.
7843
7844 2012-07-14 Leo Liu <sdl.web@gmail.com>
7845
7846 Add fringe bitmap indicators for flymake. (Bug#11253)
7847 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
7848 (flymake-make-overlay): New arg BITMAP.
7849 (flymake-error-bitmap, flymake-warning-bitmap)
7850 (flymake-fringe-indicator-position): New user variables.
7851
7852 * fringe.el: New bitmap exclamation-mark.
7853
7854 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
7855
7856 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
7857 also (Bug#7879).
7858
7859 2012-07-14 Chong Yidong <cyd@gnu.org>
7860
7861 * electric.el (electric-pair-post-self-insert-function): Fix pair
7862 insertion in empty-region case (Bug#11520).
7863
7864 2012-07-14 Chong Yidong <cyd@gnu.org>
7865
7866 * bindings.el: Consolidate ctl-x-r-map bindings.
7867 Bind copy-rectangle-as-kill to C-x r w.
7868
7869 * rect.el, register.el: Move bindings to bindings.el.
7870
7871 2012-07-14 Reuben Thomas <rrt@sc3d.org>
7872
7873 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
7874
7875 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
7876
7877 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
7878
7879 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
7880
7881 * bindings.el (top): Use `mapc' instead of `mapcar'.
7882
7883 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
7884
7885 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
7886
7887 * progmodes/sql.el (sql-comint): Suppress the check for program on
7888 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
7889 (Bug#11908)
7890
7891 2012-07-13 Chong Yidong <cyd@gnu.org>
7892
7893 * bindings.el: Assign a non-nil permanent-local property to
7894 per-buffer variables which lack a default value (Bug#11930).
7895
7896 * help-fns.el (describe-variable): In the "automatically becomes
7897 local" notice, take note of permanent-local variables.
7898
7899 2012-07-13 Chong Yidong <cyd@gnu.org>
7900
7901 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
7902 to allow printing the message when called from Lisp.
7903
7904 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7905 Remove toggle-read-only.
7906
7907 * bs.el (bs-toggle-readonly):
7908 * buff-menu.el (Buffer-menu-toggle-read-only):
7909 Remove with-no-warnings around toggle-read-only.
7910
7911 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
7912 Remove with-no-warnings around toggle-read-only.
7913 (ffap-read-only, ffap-read-only-other-window)
7914 (ffap-read-only-other-frame): Callers changed.
7915
7916 * help-mode.el: Don't require view package.
7917 (help-mode-finish): Set buffer-read-only instead of calling
7918 toggle-read-only.
7919
7920 * bindings.el (mode-line-toggle-read-only):
7921 * dired.el (dired-toggle-read-only):
7922 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
7923 with non-nil second arg.
7924
7925 * emacs-lisp/eieio-custom.el (eieio-customize-object):
7926 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
7927 directly.
7928
7929 2012-07-12 Eli Zaretskii <eliz@gnu.org>
7930
7931 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
7932 not incf.
7933
7934 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
7935
7936 More CL cleanups and reduction of use of cl.el.
7937 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
7938 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
7939 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
7940 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
7941 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
7942 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
7943 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
7944 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
7945 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
7946 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
7947 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
7948 * eshell/em-cmpl.el, eshell/em-banner.el:
7949 * calendar/parse-time.el: Use cl-lib.
7950 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
7951 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
7952 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
7953 * term/ns-win.el, term.el, shell.el, ps-samp.el:
7954 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
7955 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
7956 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
7957 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
7958 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
7959 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
7960 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
7961 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
7962 `lambda' rather than with `quote'.
7963 (eshell-do-opt): Adjust accordingly.
7964 (eshell-process-option): Simplify.
7965 * eshell/esh-var.el:
7966 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
7967 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
7968 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
7969 to `pcase--dontcare'.
7970 * emacs-lisp/cl.el (labels): Mark obsolete.
7971 (cl--letf, letf): Move to cl-lib.
7972 (cl--letf*, letf*): Remove.
7973 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
7974 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
7975 (cl-progv): Rewrite.
7976 (cl--letf, cl-letf): Move from cl.el.
7977 (cl-letf*): New macro.
7978 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
7979
7980 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
7981
7982 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
7983
7984 2012-07-11 Chong Yidong <cyd@gnu.org>
7985
7986 * vc/log-edit.el (log-edit-vc-backend): New variable.
7987 (log-edit): Doc fix.
7988
7989 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
7990 argument of log-edit to set up all local variables.
7991 (vc-start-logentry): New optional arg specifying VC backend.
7992
7993 * vc/vc.el (vc-checkin): Use it.
7994 (vc-deduce-fileset): Handle Log Edit buffers.
7995 (vc-diff): Make first argument optional too.
7996
7997 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
7998
7999 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
8000
8001 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8002 command, just in case. The function is not needed anymore.
8003 (eshell-external-command): Do not call `eshell-remote-command'.
8004
8005 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8006
8007 Reduce use of (require 'cl).
8008 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8009 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8010 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8011 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8012 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8013 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8014 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8015 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8016 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8017 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8018 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8019 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8020 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8021 (byte-compile-unfold-bcf, byte-compile-check-variable):
8022 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8023 (byte-compile-nilconstp):
8024 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8025 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8026
8027 * emacs-lisp/gv.el (cond): Make it a valid place.
8028 (if): Simplify slightly.
8029
8030 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8031 (pcase--self-quoting-p): New function.
8032 (pcase--u1): Use it.
8033
8034 2012-07-10 Glenn Morris <rgm@gnu.org>
8035
8036 * emacs-lisp/authors.el (authors-fixed-entries):
8037 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8038
8039 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8040
8041 Rename configure.in to configure.ac (Bug#11603).
8042 * emacs-lisp/authors.el (authors-canonical-file-name):
8043 * progmodes/autoconf.el (autoconf-mode):
8044 Prefer configure.ac to configure.in.
8045
8046 2012-07-08 Chong Yidong <cyd@gnu.org>
8047
8048 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8049 Implement the mouse-1-click-follows-link handling properly.
8050
8051 * info.el (Info-link-keymap): Use follow-link mechanism for
8052 header-line links (Bug#374).
8053
8054 * simple.el (deactivate-mark): Do not set the primary selection
8055 if another program has acquired it (Bug#11772).
8056
8057 2012-07-07 Kevin Ryde <user42@zip.com.au>
8058
8059 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8060 (woman-decode-region): Replace escaped-escapes without destroying
8061 bold or underline (Bug#11552).
8062 (woman2-process-escapes): Handle nofill regions (Bug#11591).
8063
8064 2012-07-07 Chong Yidong <cyd@gnu.org>
8065
8066 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
8067 (interprogram-cut-function, interprogram-paste-function):
8068 Mention that we typically mean the clipboard.
8069
8070 2012-07-06 Glenn Morris <rgm@gnu.org>
8071
8072 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8073
8074 * files.el (toggle-read-only): Restrict message to interactive use.
8075
8076 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
8077
8078 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8079
8080 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8081
8082 2012-07-06 Glenn Morris <rgm@gnu.org>
8083
8084 * Makefile.in (compile-one-process): Rename from "recompile".
8085
8086 * Makefile.in (bzr-update): "compile" is the same as "recompile
8087 autoloads", but parallelizable, so use that instead.
8088
8089 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8090
8091 * window.el (quit-window): Always restore window height when
8092 it's saved in quit-restore parameter (Bug#11810).
8093
8094 2012-07-06 Glenn Morris <rgm@gnu.org>
8095
8096 * simple.el (kill-whole-line): Doc tweak.
8097
8098 2012-07-06 Eli Zaretskii <eliz@gnu.org>
8099
8100 * files.el (file-relative-name): Compare file names
8101 case-insensitively if on MS-Windows or MS-DOS, or if
8102 read-file-name-completion-ignore-case is non-nil. Don't use
8103 case-fold-search for this purpose. (Bug#11827)
8104
8105 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8106
8107 * calendar/cal-dst.el (calendar-current-time-zone):
8108 Return calendar-current-time-zone-cache if non-nil.
8109
8110 2012-07-17 Masatake YAMATO <yamato@redhat.com>
8111 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8112
8113 * calendar/cal-dst.el (calendar-current-time-zone):
8114 Return calendar-current-time-zone-cache if non-nil.
8115
8116 2012-07-06 Glenn Morris <rgm@gnu.org>
8117
8118 * Makefile.in (cvs-update): Remove old alias.
8119
8120 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
8121
8122 Sync with Tramp 2.2.6-pre.
8123
8124 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8125 compatible declaration.
8126
8127 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8128 Protect `list-load-path-shadows' call.
8129
8130 * net/tramp-compat.el (top): Require packages, which aren't
8131 autoloaded anymore for XEmacs. Protect call of
8132 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
8133 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
8134 it hurts at least for SXEmacs.
8135 (tramp-compat-temporary-file-directory): In XEmacs, there is no
8136 standard-value for `temporary-file-directory'.
8137
8138 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
8139 Redirect stderr to /dev/null.
8140 (tramp-sh-handle-write-region): uid and gid can be floats.
8141 Reported by Russell Sim <russell.sim@gmail.com>.
8142 (tramp-sh-handle-vc-registered): Hide errors.
8143 (tramp-vc-file-name-handler): Use dummy results for `process-file'
8144 and `start-file-process'.
8145 (tramp-maybe-open-connection): Check also whether `non-essential'
8146 is bound.
8147
8148 2012-07-04 Chong Yidong <cyd@gnu.org>
8149
8150 * xml.el (xml--parse-buffer): Use xml-syntax-table.
8151 (xml-parse-tag): Likewise, and avoid changing entity tables.
8152 (xml-syntax-table): Define from scratch, making sure not to give
8153 x2000 and other Unicode spaces whitespace syntax, since those are
8154 not spaces in XML.
8155 (xml-parse-fragment): Delete unused function.
8156 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8157 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8158 (xml-entity-ref, xml-pe-reference-re)
8159 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8160 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8161 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8162 (xml-entity-value-re): Use syntax references in regexps where
8163 possible; no need to define inside a let-binding.
8164 (xml-parse-dtd): Use xml-pe-reference-re.
8165 (xml-entity-or-char-ref-re): New defconst.
8166 (xml-parse-string, xml-substitute-special): Use it.
8167
8168 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8169
8170 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8171 (find-file--read-only): New function.
8172 (find-file-read-only, find-file-read-only-other-window)
8173 (find-file-read-only-other-frame): Use it.
8174 (insert-file-contents-literally): Don't `fset'.
8175 (get-free-disk-space): Use locate-dominating-file.
8176
8177 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8178 function is already compiled.
8179
8180 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8181
8182 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
8183
8184 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8185 files on the same host.
8186
8187 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8188
8189 * help-fns.el (describe-function-1): Only call
8190 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8191
8192 2012-07-03 Chong Yidong <cyd@gnu.org>
8193
8194 * xml.el: Protect parser against XML bombs.
8195 (xml-entity-expansion-limit): New variable.
8196 (xml-parse-string, xml-substitute-special): Use it.
8197 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8198
8199 2012-07-03 Glenn Morris <rgm@gnu.org>
8200
8201 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8202 Allow linking to specific messages in debbugs reports (eg 123#5).
8203
8204 2012-07-02 Chong Yidong <cyd@gnu.org>
8205
8206 * xml.el: Fix entity and character reference expansion, allowing
8207 them to expand into markup as per XML spec.
8208 (xml-default-ns): New variable.
8209 (xml-entity-alist): Use XML spec definitions for lt and amp.
8210 (xml-parse-region): Make first two arguments optional.
8211 Discard text properties.
8212 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8213 All callers changed.
8214 (xml-parse-tag): Call xml-parse-tag-1. For backward
8215 compatibility, this function should not modify buffer contents.
8216 (xml-parse-tag-1): Fix opening-tag regexp.
8217 (xml-parse-string): Rewrite, handling entity and character
8218 references properly.
8219 (xml--entity-replacement-text): Signal an error if a parameter
8220 entity is undefined.
8221
8222 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8223
8224 * comint.el (comint-output-filter): Filter out repeated prompts.
8225
8226 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8227 and file-name-absolute-p.
8228 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8229 internal calls.
8230
8231 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8232
8233 Spelling fixes.
8234 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8235 Rename from byte-compile--refiy-function. All uses changed.
8236
8237 2012-07-01 Chong Yidong <cyd@gnu.org>
8238
8239 * xml.el (xml--parse-buffer): New function. Move most of
8240 xml-parse-region here.
8241 (xml-parse-region): Copy region into a temporary buffer, since
8242 parameter entity substitution requires changing buffer contents.
8243 Use xml--parse-buffer.
8244 (xml-parse-file): Use xml--parse-buffer.
8245 (xml-parse-dtd): Make parameter entity substitution work right.
8246 Use proper regexps for ELEMENT declarations (Bug#7172).
8247
8248 2012-06-30 Glenn Morris <rgm@gnu.org>
8249
8250 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8251
8252 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8253 Remove outdated and unnecessary dbus declarations.
8254
8255 2012-06-30 Eli Zaretskii <eliz@gnu.org>
8256
8257 * emacs-lisp/timer.el (timer-until): Subtract results of
8258 float-time, instead of taking float-time of the result of
8259 time-subtract, since float-time signals an error for negative time
8260 arguments.
8261
8262 2012-06-30 Chong Yidong <cyd@gnu.org>
8263
8264 * xml.el (xml-*-re): Convert defvars into defconsts, and
8265 eval-and-compile them so eval-and-compile works on derivatives.
8266 (xml--entity-replacement-text): Use eval-and-comple.
8267
8268 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
8269
8270 * vc/vc-git.el (vc-git-registered): Use cache property
8271 `git-registered'.
8272 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8273 `vc-git-working-revision' in order to benefit from the cache.
8274 (vc-git-root): Use cache property `git-root'. (Bug#11757)
8275
8276 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8277
8278 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
8279 removed (likely outside Emacs). (Bug#11757)
8280
8281 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8282
8283 * emacs-lisp/cl-lib.el: Require macroexp.
8284
8285 2012-06-30 Chong Yidong <cyd@gnu.org>
8286
8287 * xml.el: Implement XML parameter entities.
8288 (xml-parameter-entity-alist): New variable.
8289 (xml-parse-region, xml-parse-fragment): Preserve previous values
8290 of xml-entity-alist and xml-parameter-entity-alist, so that
8291 repeated calls on different documents do not change them.
8292 (xml-parse-tag): Fix doctype regexp.
8293 (xml--entity-replacement-text): New function.
8294 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8295 properly requires url retrieval which is unimplemented.
8296 (xml-escape-string): Doc fix.
8297
8298 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8299
8300 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8301
8302 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8303
8304 * fringe.el (fringe-mode): Doc fix.
8305
8306 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
8307
8308 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8309 is non-nil.
8310 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8311 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8312
8313 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
8314
8315 * calendar/cal-dst.el (calendar-current-time-zone):
8316 Return calendar-current-time-zone-cache if non-nil.
8317
8318 2012-06-29 Masatake YAMATO <yamato@redhat.com>
8319
8320 * progmodes/which-func.el (which-func-format):
8321 Add mouse-face. (Bug#11698)
8322
8323 2012-06-29 Leo Liu <sdl.web@gmail.com>
8324
8325 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8326
8327 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8328
8329 * minibuffer.el (minibuffer-confirm-exit-commands):
8330 Add completion-at-point (bug#11725).
8331
8332 2012-06-29 Glenn Morris <rgm@gnu.org>
8333
8334 * progmodes/f90.el (f90-font-lock-keywords-2):
8335 Add some preprocessor elements. (Bug#10499)
8336
8337 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8338
8339 * progmodes/cperl-mode.el (cperl-update-syntaxification):
8340 Use syntax-propertize (bug#11739).
8341
8342 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
8343
8344 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8345
8346 2012-06-28 Julien Danjou <julien@danjou.info>
8347
8348 * term.el (term-handle-colors-array): Use a set of new faces to
8349 color the terminal. Also uses :inverse-video property.
8350 (term-default-fg-color): Set to nil by default, deprecate in favor
8351 of `term-face'.
8352 (term-default-bg-color): Set to nil by default, deprecate in favor
8353 of `term-face'.
8354 (term-current-face): Use `term-face' by default.
8355 (term-bold-attribute): Variable deleted.
8356
8357 2012-06-28 Glenn Morris <rgm@gnu.org>
8358
8359 * simple.el (completion-list-mode-finish):
8360 Don't use toggle-read-only. (Since completion-list-mode has
8361 a special mode-class, it wasn't doing anything extra anyway.)
8362
8363 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8364
8365 Make inlining of other-mode interpreted functions work (bug#11799).
8366 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8367 (byte-compile): Use it to fix compilation of lexical-binding closures.
8368 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
8369 function, if needed.
8370
8371 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8372
8373 * help-mode.el (help-make-xrefs): Don't just withstand
8374 cyclic-variable-indirection but any error in documentation-property.
8375
8376 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
8377 memory use.
8378 * bindings.el (bindings--define-key): New function.
8379 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
8380 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
8381 * bindings.el: Use it to purecopy define-key bindings.
8382
8383 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
8384
8385 * emacs-lisp/cl.el (flet): Mark obsolete.
8386 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
8387 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
8388 * progmodes/js.el (js-c-fill-paragraph):
8389 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
8390 (ebrowse-switch-member-buffer-to-derived-class):
8391 * play/5x5.el (5x5-solver): Use cl-flet.
8392
8393 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
8394 (cl--symbol-function): New macro.
8395 (cl--letf, cl--letf*): Use it.
8396
8397 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
8398 Strip "toggle-" if any.
8399
8400 2012-06-27 Glenn Morris <rgm@gnu.org>
8401
8402 * info.el (Info-default-directory-list): Move here from paths.el.
8403 * paths.el: Remove file, which is now empty.
8404 * loadup.el: No longer load "paths".
8405
8406 * custom.el (custom-initialize-delay): Doc fix.
8407
8408 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8409 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
8410 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
8411 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
8412 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
8413 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
8414 * eshell/eshell.el (eshell-defgroup): Remove alias.
8415
8416 2012-06-27 Chong Yidong <cyd@gnu.org>
8417
8418 * help.el (help-enable-auto-load): New variable.
8419
8420 * help-fns.el (help-fns--autoloaded-p): New function.
8421 (describe-function-1): Refer to a function as "autoloaded" if it
8422 was autoloaded at any time in the past. Perform autoloading if
8423 help-enable-auto-load is non-nil.
8424
8425 2012-06-26 Eli Zaretskii <eliz@gnu.org>
8426
8427 * makefile.w32-in (compile, compile-always): Depend on
8428 update-subdirs, not on subdirs.el. Otherwise, several different
8429 sub-targets of 'bootstrap' running in parallel could
8430 simultaneously write to subdirs.el, producing a garbled file.
8431
8432 2012-06-26 Sam Steingold <sds@gnu.org>
8433
8434 * files.el (file-name-base): New convenience function.
8435 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
8436 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
8437 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
8438 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
8439 * textmodes/ispell.el, textmodes/reftex-ref.el:
8440 * textmodes/tex-mode.el: Use it.
8441 Did not touch cedet and org because they are maintained elsewhere.
8442
8443 2012-06-26 Martin Rudalics <rudalics@gmx.at>
8444
8445 * calendar/calendar.el (calendar-exit): Don't try to delete or
8446 iconify last frame. See:
8447 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
8448
8449 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
8450
8451 * server.el (server-process-filter): Remember dir in the
8452 process's `server-client-directory' properties.
8453
8454 2012-06-24 Chong Yidong <cyd@gnu.org>
8455
8456 * xml.el (xml-parse-tag): Correctly handle comment embedded in
8457 non-tag text.
8458
8459 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
8460
8461 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
8462
8463 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8464
8465 * help-fns.el (describe-variable): Don't croak when doc is not found.
8466 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
8467 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
8468 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
8469 * emacs-lisp/smie.el (smie-next-sexp): CSE.
8470 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
8471 ((lambda ..) ..).
8472 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
8473
8474 2012-06-23 Chong Yidong <cyd@gnu.org>
8475
8476 * info.el (Info-mouse-follow-link): Accept symbol values of
8477 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
8478 (Info-fontify-node): Use Info-link-keymap for all navigation
8479 buttons, with link-args property to perform the desired action.
8480 (Info-link-keymap): Doc fix.
8481 (Info-next-link-keymap, Info-prev-link-keymap)
8482 (Info-up-link-keymap): Delete now-unused keymaps.
8483
8484 2012-06-23 Chong Yidong <cyd@gnu.org>
8485
8486 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
8487
8488 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
8489 system abbrevs.
8490
8491 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
8492
8493 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8494
8495 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
8496 (bug#11719).
8497
8498 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
8499 the requote function doesn't work properly (bug#11714).
8500
8501 2012-06-23 Glenn Morris <rgm@gnu.org>
8502
8503 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
8504
8505 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8506
8507 Further GV/CL cleanups.
8508 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
8509 gv-expander.
8510 (gv--defun-declaration): New function.
8511 (defun-declarations-alist): Use it.
8512 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
8513 (gv-place): Autoload.
8514 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
8515 original definition of dotimes and dolist.
8516 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
8517 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
8518 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
8519 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8520 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
8521 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
8522 to the function's definition.
8523 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
8524 * window.el:
8525 * files.el:
8526 * faces.el:
8527 * env.el: Don't use CL.
8528
8529 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
8530
8531 Support higher-resolution time stamps (Bug#9000).
8532
8533 * calendar/time-date.el (with-decoded-time-value): New arg
8534 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
8535 (encode-time-value): New optional arg PICO. New type 3.
8536 (time-to-seconds) [!float-time]: Support the new picoseconds
8537 component if it's used.
8538 (seconds-to-time, time-subtract, time-add):
8539 Support ps-resolution time stamps as well.
8540
8541 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
8542 (timerp): Timer vectors now have length 9, not 8.
8543 (timer--time): Support new-style (4-part) time stamps.
8544 (timer-next-integral-multiple-of-time): Time stamps now have
8545 picosecond resolution, so take a bit more care about rounding.
8546 (timer-relative-time, timer-inc-time): New optional arg psecs.
8547 (timer-set-time-with-usecs): Set psecs to 0.
8548 (timer--activate): Check psecs component, too.
8549
8550 * proced.el (proced-time-lessp): Support ps-resolution stamps.
8551
8552 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8553
8554 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
8555 Move the non-essential binding to the post/pre-command-hook where it is
8556 more obviously correct.
8557
8558 * subr.el (read-passwd): Don't use a history at all.
8559 * savehist.el (savehist-save): Remove password saved accidentally
8560 because of the above bug.
8561
8562 2012-06-22 Bastien Guerry <bzg@gnu.org>
8563
8564 * files.el (toggle-read-only): Display a message telling whether
8565 the buffer is read-only or not (bug#11726).
8566
8567 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8568
8569 * emacs-lisp/gv.el: New file.
8570 * subr.el (push, pop): Extend to generalized variables.
8571 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
8572 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
8573 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
8574 gv-define-simple-setter, and gv-define-expander.
8575 Remove setf-methods defined in gv. Rename cl-setf -> setf.
8576 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
8577 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
8578 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
8579 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
8580 gv-letplace.
8581 (cl-defstruct): Don't define setf-method any more.
8582 * emacs-lisp/cl.el (flet): Don't autoload.
8583 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
8584 (define-setf-expander, defsetf, define-modify-macro)
8585 (cl-struct-setf-expander): Move from cl-lib.el.
8586 * emacs-lisp/syntax.el:
8587 * emacs-lisp/ewoc.el:
8588 * emacs-lisp/smie.el:
8589 * emacs-lisp/cconv.el:
8590 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
8591 (timer--time): Use gv-define-simple-setter.
8592 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
8593 to avoid coding-system problems in subr.el. Adjust all users.
8594 (macroexp--maxsize, macroexp-small-p): New functions.
8595 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
8596 * scroll-bar.el (scroll-bar-mode):
8597 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8598 (normal-erase-is-backspace-mode): Don't use the `eq' place.
8599 * winner.el (winner-configuration, winner-make-point-alist)
8600 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
8601 * files.el (locate-file-completion-table): Avoid list*.
8602
8603 2012-06-22 Chong Yidong <cyd@gnu.org>
8604
8605 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
8606 (dired-create-files): Doc fix (Bug#11329).
8607 (dired-do-copy): Doc fix (Bug#11334).
8608 (dired-mark-read-string): Doc fix (Bug#11553).
8609
8610 * dired.el (dired-recursive-copies, dired-recursive-deletes):
8611 Doc fix (Bug#11326).
8612 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
8613 (dired-dwim-target): Doc fix.
8614
8615 * wdired.el (wdired-mode): Doc fix.
8616
8617 2012-06-22 Glenn Morris <rgm@gnu.org>
8618
8619 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
8620 (pcmpl-rpm-cache-stamp-file): New constant.
8621 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
8622 (pcmpl-rpm-packages): Optionally cache list of packages.
8623
8624 * pcmpl-rpm.el (pcmpl-rpm): New group.
8625 (pcmpl-rpm-query-options): New option.
8626 (pcmpl-rpm-packages): No need to inline it.
8627 Use pcmpl-rpm-query-options.
8628
8629 * calendar/calendar.el (calendar-in-read-only-buffer):
8630 Avoid some needless mode changes.
8631
8632 2012-06-21 Chong Yidong <cyd@gnu.org>
8633
8634 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
8635 (desktop-path): Remove . from the default value (Bug#10977).
8636 (desktop-read): Use user-emacs-directory if desktop-path is nil.
8637
8638 2012-06-20 Chong Yidong <cyd@gnu.org>
8639
8640 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
8641
8642 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
8643
8644 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
8645 (bug#11201).
8646
8647 2012-06-20 Chong Yidong <cyd@gnu.org>
8648
8649 * term.el (term-window-width): Handle the case of a missing right
8650 fringe (Bug#8837).
8651 (term-check-size): Use window-text-height (Bug#5445).
8652 (term-mode): Use define-derived-mode. Minor cleanups.
8653 Set font-lock-defaults (Bug#7692).
8654 (term-move-columns, term-insert-char, term-emulate-terminal)
8655 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
8656
8657 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
8658
8659 * net/ange-ftp.el (ange-ftp-get-passwd):
8660 Bind `enable-recursive-minibuffers'.
8661 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
8662
8663 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
8664
8665 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
8666
8667 2012-06-19 Glenn Morris <rgm@gnu.org>
8668
8669 * progmodes/python.el (python-mode): Derive from prog-mode.
8670
8671 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
8672
8673 * emulation/edt.el (edt-default-menu-bar-update-buffers)
8674 (edt-user-menu-bar-update-buffers): New functions.
8675 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
8676
8677 2012-06-19 Chong Yidong <cyd@gnu.org>
8678
8679 * subr.el (with-selected-window): Preserve the selected window's
8680 terminal's top-frame (Bug#4702).
8681
8682 * window.el (save-selected-window): Likewise.
8683
8684 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8685
8686 * progmodes/python.el (python-rx-constituents): Move backquote.
8687 (python-skeleton-define, python-define-auxiliary-skeleton):
8688 Use `declare'.
8689
8690 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
8691
8692 * minibuffer.el (read-file-name-default): Revert the patch from
8693 2012-06-17.
8694
8695 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8696
8697 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
8698 (pcase--u1, pcase--q1): Don't use apply-partially.
8699
8700 2012-06-18 Glenn Morris <rgm@gnu.org>
8701
8702 * progmodes/python.el (python-proc, python-buffer)
8703 (python-send-receive, python-send-string): Fix obsolete versions.
8704
8705 2012-06-18 Martin Rudalics <rudalics@gmx.at>
8706
8707 * window.el (special-display-p): Completely remove stringp
8708 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
8709
8710 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
8711
8712 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
8713
8714 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
8715
8716 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
8717 * net/tramp-sh.el (tramp-maybe-open-connection):
8718 Throw if `non-essential' is non-nil.
8719
8720 2012-06-17 Martin Rudalics <rudalics@gmx.at>
8721
8722 * window.el (special-display-p): Signal an error if BUFFER-NAME
8723 is not a string (Bug#11713).
8724
8725 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
8726
8727 * progmodes/python.el (python-info-beginning-of-backslash):
8728 Rename from python-info-beginning-of-backlash, as a spelling fix.
8729
8730 2012-06-17 Chong Yidong <cyd@gnu.org>
8731
8732 * term.el (term-emulate-terminal): If term-check-size is called,
8733 move point to the process mark without resetting point (Bug#4635).
8734
8735 2012-06-17 Glenn Morris <rgm@gnu.org>
8736
8737 * international/mule-cmds.el (mule-menu-keymap)
8738 (set-language-environment, set-locale-environment): Doc tweaks.
8739
8740 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
8741
8742 * cus-face.el (custom-face-attributes): Add wave-style underline
8743 attribute.
8744 * faces.el (set-face-attribute): Update docstring to describe
8745 wave-style underline attribute.
8746
8747 2012-06-16 Chong Yidong <cyd@gnu.org>
8748
8749 * term/xterm.el (terminal-init-xterm): Discard input before
8750 querying background mode (Bug#10959).
8751
8752 2012-06-16 Stefan Merten <smerten@oekonux.de>
8753
8754 * textmodes/rst.el: Added and corrected some comments.
8755 (rst-re-alist-def): Improve symbol syntax.
8756 (rst-mode-syntax-table): Correct syntax entries.
8757 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8758 (rst-official-version, rst-official-cvs-rev): Update version
8759 information.
8760
8761 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
8762
8763 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
8764 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
8765
8766 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
8767
8768 * progmodes/python.el: New python.el merge.
8769 (python-guess-indent): Obsolete var.
8770 (python-indent-guess-indent-offset): New defcustom.
8771 (python-indent): Obsolete var.
8772 (python-indent-offset): New defcustom.
8773 (python-python-command, python-jython-command): Delete var.
8774 (python-shell-interpreter): New defcustom.
8775 (python-pdbtrack-do-tracking-p): Delete var.
8776 (python-pdbtrack-activate): New defcustom.
8777 (python-use-skeletons): Obsolete var.
8778 (python-skeleton-autoinsert): New defcustom.
8779 (inferior-python-filter-regexp, python-continuation-offset)
8780 (python-honour-comment-indentation, python-indent-string-contents)
8781 (python-jython-packages, python-mode-hook)
8782 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
8783 (python-shell-prompt-alist)
8784 (python-source-modes): Delete defcustoms.
8785 (python-check-buffer-name, python-eldoc-setup-code)
8786 (python-eldoc-string-code, python-ffap-setup-code)
8787 (python-ffap-string-code, python-fill-comment-function)
8788 (python-fill-decorator-function, python-fill-paren-function)
8789 (python-fill-string-function, python-imenu-include-defun-type)
8790 (python-imenu-make-tree, python-imenu-subtree-root-label)
8791 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
8792 (python-shell-compilation-regexp-alist)
8793 (python-shell-completion-module-string-code)
8794 (python-shell-completion-pdb-string-code)
8795 (python-shell-completion-setup-code)
8796 (python-shell-completion-string-code)
8797 (python-shell-enable-font-lock, python-shell-exec-path)
8798 (python-shell-extra-pythonpaths)
8799 (python-shell-internal-buffer-name, python-shell-interpreter-args)
8800 (python-shell-process-environment)
8801 (python-shell-prompt-block-regexp)
8802 (python-shell-prompt-output-regexp)
8803 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
8804 (python-shell-send-setup-max-wait, python-shell-setup-codes)
8805 (python-shell-virtualenv-path): New defcustoms.
8806 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
8807 (inferior-python-mode-syntax-table, python--prompt-regexp)
8808 (python-buffer, python-command python-python-command)
8809 (python-default-template, python-imports, python-indent-index)
8810 (python-indent-list, python-indent-list-length)
8811 (python-mode-running, python-pdbtrack-is-tracking-p)
8812 (python-preoutput-continuation, python-preoutput-leftover)
8813 (python-preoutput-result, python-preoutput-skip-next-prompt)
8814 (python-prev-dir/file, python-recursing)
8815 (python-saved-check-command, python-version-checked)
8816 (python-which-func-length-limit)
8817 (view-return-to-alist): Delete vars.
8818 (python-check-custom-command, python-dotty-syntax-table)
8819 (python-imenu-index-alist, python-indent-current-level)
8820 (python-indent-dedenters, python-indent-levels)
8821 (python-nav-beginning-of-defun-regexp)
8822 (python-nav-list-defun-positions-cache)
8823 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
8824 (python-shell-internal-buffer)
8825 (python-skeleton-available): New vars.
8826 (def-python-skeleton): Delete macro.
8827 (python-skeleton-define): New macro.
8828 (python-define-auxiliary-skeleton, python-rx): New macros.
8829 (python-insert-class): Delete command.
8830 (python-skeleton-class): New command.
8831 (python-insert-def): Delete command.
8832 (python-skeleton-def): New command.
8833 (python-insert-for): Delete command.
8834 (python-skeleton-for): New command.
8835 (python-insert-if): Delete command.
8836 (python-skeleton-if): New command.
8837 (python-insert-try/except, python-insert-try/finally): Delete commands.
8838 (python-skeleton-try): New command.
8839 (python-insert-while): Delete command.
8840 (python-skeleton-while): New command.
8841 (python-backspace): Delete command.
8842 (python-indent-dedent-line-backspace): New command.
8843 (python-electric-colon): Delete command.
8844 (python-indent-electric-colon): New command.
8845 (python-guess-indent): Delete command.
8846 (python-indent-guess-indent-offset): New command.
8847 (python-shift-left): Delete command.
8848 (python-indent-shift-left): New command.
8849 (python-shift-right): Delete command.
8850 (python-indent-shift-right): New command.
8851 (python-find-function): Delete command.
8852 (python-nav-jump-to-defun): New command.
8853 (python-next-statement): Delete command.
8854 (python-nav-forward-sentence): New command.
8855 (python-previous-statement): Delete command.
8856 (python-nav-backward-sentence): New command.
8857 (python-fill-paragraph): Delete command.
8858 (python-fill-paragraph-function): New command.
8859 (python-send-buffer): Delete command.
8860 (python-shell-send-buffer): New command.
8861 (python-send-defun): Delete command.
8862 (python-shell-send-defun): New command.
8863 (python-send-region, python-send-region-and-go): Delete commands.
8864 (python-shell-send-region)
8865 (python-shell-switch-to-shell): New commands.
8866 (python-send-string): Delete command.
8867 (python-shell-send-string): New command.
8868 (python-switch-to-python): Delete command.
8869 (python-shell-switch-to-shell): New command.
8870 (python-describe-symbol): Delete command.
8871 (python-eldoc-at-point): New command.
8872 (python--set-prompt-regexp, python-args-to-list)
8873 (python-after-info-look, python-check-version)
8874 (python-check-comint-prompt, python-find-imports)
8875 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
8876 (python-unload-function, python-expand-template)
8877 (python-maybe-jython, python-preoutput-filter)
8878 (python-pdbtrack-get-source-buffer)
8879 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
8880 (python-pdbtrack-toggle-stack-tracking)
8881 (python-pdbtrack-track-stack-file, python-initial-text)
8882 (python-first-word, python-comment-line-p, python-send-command)
8883 (python-setup-brm, python-sentinel, python-set-proc)
8884 (python-skip-out, python-input-filter, python-outdent-p)
8885 (python-outline-level, python-backslash-continuation-line-p)
8886 (python-end-of-block, python-end-of-statement, python-mark-block)
8887 (python-beginning-of-block, python-beginning-of-statement)
8888 (python-blank-line-p, python-beginning-of-string)
8889 (python-open-block-statement-p): Delete functions.
8890 (python-indent-line, python-indent-line-1): Delete functions.
8891 (python-indent-line): New function.
8892 (python-indentation-levels): Delete function.
8893 (python-indent-calculate-levels): New function.
8894 (python-proc): Delete function.
8895 (python-shell-get-process): New function.
8896 (python-send-receive): Delete function.
8897 (python-shell-send-string-no-output): New function.
8898 (python-module-path): Delete function.
8899 (python-ffap-module-path): New function.
8900 (python-completion-at-point)
8901 (python-symbol-completions): Delete functions.
8902 (python-completion-complete-at-point): New function.
8903 (python-load-file): Delete function.
8904 (python-shell-send-file): New function.
8905 (python-calculate-indentation): Delete function.
8906 (python-indent-calculate-indentation): New function.
8907 (python-skip-comments/blanks): Delete function.
8908 (python-util-forward-comment): New function.
8909 (python-continuation-line-p): Delete function.
8910 (python-info-continuation-line-p): New function.
8911 (python-which-func, python-current-defun): Delete function.
8912 (python-info-current-defun): New function.
8913 (python-beginning-of-defun): Delete function.
8914 (python-nav-beginning-of-defun): New function.
8915 (python-close-block-statement-p)
8916 (python-block-end-p): Delete function.
8917 (python-info-closing-block): New function.
8918 (python-comint-output-filter-function)
8919 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
8920 (python-fill-comment, python-fill-decorator, python-fill-paren)
8921 (python-fill-string, python-imenu-make-element-tree)
8922 (python-imenu-make-tree, python-imenu-tree-assoc)
8923 (python-indent-context, python-indent-dedent-line)
8924 (python-indent-line-function)
8925 (python-indent-post-self-insert-function)
8926 (python-indent-toggle-levels)
8927 (python-info-assignment-continuation-line-p)
8928 (python-info-beginning-of-backlash)
8929 (python-info-block-continuation-line-p)
8930 (python-info-closing-block-message)
8931 (python-info-line-ends-backslash-p)
8932 (python-info-looking-at-beginning-of-defun)
8933 (python-info-ppss-context, python-info-ppss-context-type)
8934 (python-nav-list-defun-positions, python-nav-read-defun)
8935 (python-nav-sentence-end, python-nav-sentence-start)
8936 (python-pdbtrack-comint-output-filter-function)
8937 (python-pdbtrack-set-tracked-buffer)
8938 (python-shell-calculate-exec-path)
8939 (python-shell-calculate-process-environment)
8940 (python-shell-completion--do-completion-at-point)
8941 (python-shell-completion--get-completions)
8942 (python-shell-completion-complete-at-point)
8943 (python-shell-completion-complete-or-indent)
8944 (python-shell-get-or-create-process)
8945 (python-shell-get-process-name)
8946 (python-shell-internal-get-or-create-process)
8947 (python-shell-internal-get-process-name)
8948 (python-shell-internal-send-string, python-shell-make-comint)
8949 (python-shell-parse-command, python-shell-send-setup-code)
8950 (python-skeleton-add-menu-items)
8951 (python-util-clone-local-variables, python-util-position)
8952 (run-python-internal, python-indentation-levels)
8953 (python-nav-beginning-of-defun)
8954 (python-completion-complete-at-point): New functions.
8955 (run-python): Change arguments. New API requirements.
8956
8957 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8958
8959 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
8960 (bug#11649).
8961
8962 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
8963 (macroexp--expand-all): Use it.
8964
8965 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
8966 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
8967 Use `cl-function' instead.
8968
8969 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
8970
8971 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
8972 Suggested by Stefan Monnier while discussing bug#11657.
8973
8974 2012-06-14 Sam Steingold <sds@gnu.org>
8975
8976 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
8977
8978 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
8979
8980 * play/doctor.el (doctor-doc): Remove parameter and use
8981 doctor-sent instead of sent.
8982 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
8983
8984 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8985
8986 * files.el: Require cl-lib.
8987 (file-name-non-special): Replace case -> cl-case.
8988
8989 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
8990
8991 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
8992 mapping from #' to function*.
8993
8994 2012-06-13 Chong Yidong <cyd@gnu.org>
8995
8996 * mouse.el (mouse-drag-track): Do not set the mark if the user
8997 releases the mouse without selecting anything (Bug#11588).
8998
8999 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9000
9001 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9002 as well (bug#11646).
9003
9004 * loadup.el: Count byte-code functions as well.
9005
9006 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9007 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9008
9009 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9010 (bug#11649). Add cl-defun and cl-defmacro.
9011
9012 2012-06-13 Drew Adams <drew.adams@oracle.com>
9013
9014 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9015 Fix last change.
9016
9017 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
9018
9019 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9020 Otherwise, it blocks in batch mode.
9021
9022 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
9023
9024 * help-mode.el (bookmark-make-record-default): Declare.
9025
9026 2012-06-13 Chong Yidong <cyd@gnu.org>
9027
9028 * emacs-lisp/package.el (list-packages): Compute a list of
9029 packages that are newly-available since the last list-packages
9030 invocation.
9031 (package-menu--new-package-list): New var.
9032 (package-menu--generate, package-menu--print-info)
9033 (package-menu--status-predicate, package-menu-mark-install):
9034 Handle new status label "new".
9035
9036 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9037
9038 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9039 conversion to backquotes.
9040
9041 2012-06-12 Chong Yidong <cyd@gnu.org>
9042
9043 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9044 Rename from gud-inhibit-global-bindings.
9045
9046 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9047
9048 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9049 hook from nxml-glyph-set-hook.
9050
9051 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9052 declaration.
9053
9054 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9055
9056 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9057 Convert to defcustom.
9058
9059 2012-06-12 Drew Adams <drew.adams@oracle.com>
9060
9061 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9062 New functions.
9063 (help-mode): Use them.
9064
9065 2012-06-11 Glenn Morris <rgm@gnu.org>
9066
9067 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9068 Use preprocessor face for directives.
9069 (fortran-directive-re): Doc fix.
9070
9071 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9072
9073 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9074 conversion to backquotes (bug#11652).
9075
9076 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9077 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9078 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9079 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9080 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9081 (cl-ninth, cl-tenth): Mark them as inlinable.
9082 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9083 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9084 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9085 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9086 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9087 (cl-list*, cl-adjoin): Don't put an autoload manually.
9088 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9089 (cl--compiler-macro-list*): Add autoload cookie.
9090 (cl--compiler-macro-cXXr): New function.
9091
9092 * help-fns.el (help-fns--compiler-macro): New function extracted from
9093 describe-function-1; follow aliases and use `compiler-macro' property.
9094 (describe-function-1): Use it.
9095
9096 2012-06-11 Chong Yidong <cyd@gnu.org>
9097
9098 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9099 is uninstalled, if imagemagick is installed.
9100
9101 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9102
9103 * emacs-lisp/cl-lib.el: Use lexical-binding.
9104 (cl-map-extents, cl-maclisp-member): Remove.
9105 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9106 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9107 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9108 * emacs-lisp/cl-extra.el: Use lexical-binding.
9109 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9110 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9111 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9112 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9113 * emacs-lisp/cl-seq.el: Use lexical-binding.
9114 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9115 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9116 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9117 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9118 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9119 CL's internals.
9120
9121 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
9122
9123 Sync with Tramp 2.2.6-pre.
9124
9125 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9126 `print-length' and `print-level' to nil, in order to avoid
9127 truncation. Reported by Christopher Schmidt
9128 <christopher@ristopher.com>.
9129
9130 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
9131
9132 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
9133 New defmacro.
9134 (tramp-compat-copy-directory): Add optional argument
9135 COPY-CONTENTS. It is not handled yet.
9136
9137 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
9138 (tramp-ftp-file-name-p): Simplify.
9139
9140 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
9141 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
9142 connection vector.
9143
9144 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
9145 (tramp-methods): Do not use `tramp-password-end-of-line'.
9146 (tramp-completion-function-alist-putty): Handle UNIX case.
9147 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9148 (tramp-do-file-attributes-with-stat)
9149 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9150 gid as real numbers. They could run out of integer range on cygwin.
9151 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9152 (tramp-sh-handle-expand-file-name): Handle hops.
9153 (tramp-open-connection-setup-interactive-shell):
9154 Use `tramp-cleanup'. Move check for busyboxes ...
9155 (tramp-find-shell): ... here. Simplify implementation.
9156 Set "remote-shell" property also for alternative shells.
9157 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9158 If failing, a regular file would be written otherwise.
9159 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
9160 (tramp-find-inline-encoding): Cache the coding commands in the
9161 process cache. Apply test command on the remote side, if defined.
9162 (tramp-find-inline-compress): Cache the compress commands in the
9163 process cache.
9164 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9165 when requested. Handle hops.
9166 (tramp-current-connection): New defvar.
9167 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9168 Throw `suppress', if there was a failed connection shortly before.
9169 Handle user interrupt. (Bug#10187)
9170 (tramp-get-inline-compress, tramp-get-inline-coding):
9171 Read connection properties from the process cache.
9172
9173 * net/tramp-smb.el (tramp-smb-server-version)
9174 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9175 New defconsts.
9176 (tramp-smb-prompt): Extend for powershell prompt.
9177 (tramp-smb-file-name-handler-alist): Add handlers for
9178 `process-file', `shell-command' and `start-file-process'.
9179 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9180 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9181 (tramp-smb-file-name-p): Simplify.
9182 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9183 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9184 (tramp-smb-shell-quote-argument): New defuns.
9185 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9186 Implement using "tar". By this, time-stamps are preserved.
9187 (tramp-smb-handle-copy-file): Handle also the case of directories.
9188 (tramp-smb-do-file-attributes-with-stat)
9189 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9190 Use `tramp-get-connection-buffer').
9191 (tramp-smb-handle-rename-file): Use "rename", when source and
9192 target are on the same share.
9193 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9194 Use `tramp-smb-server-version'.
9195 (tramp-smb-wait-for-output): Remove prompt.
9196
9197 * net/tramp.el (top): Require 'cl.
9198 (tramp-methods, tramp-rsh-end-of-line):
9199 Remove `tramp-password-end-of-line' from docstring.
9200 (tramp-save-ad-hoc-proxies): New defcustom.
9201 (tramp-completion-function-alist): Adapt docstring.
9202 (tramp-default-password-end-of-line): Remove defcustom.
9203 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9204 (tramp-user-regexp, tramp-file-name-regexp-unified)
9205 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9206 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9207 (tramp-remote-file-name-spec-regexp): New defconst.
9208 (tramp-file-name-structure): Extend structure for hops.
9209 (tramp-get-method-parameter): Move up.
9210 (tramp-file-name-p, tramp-dissect-file-name)
9211 (with-parsed-tramp-file-name): Handle hops.
9212 (tramp-file-name-hop): New defun.
9213 (tramp-make-tramp-file-name): New optional arg HOP.
9214 (tramp-message-show-progress-reporter-message): New defvar.
9215 (tramp-with-progress-reporter): Use it. We cannot use
9216 `tramp-message-show-message' here, because this suppresses also
9217 error buffers.
9218 (tramp-error-with-buffer): Suppress buffer view, if
9219 `tramp-message-show-message' is nil.
9220 Use `tramp-get-connection-buffer'.
9221 (tramp-cleanup): New defun.
9222 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9223 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9224 an error unchanged.
9225 (tramp-completion-handle-file-name-all-completions): Handle hops.
9226 Fix an error when called from ido.
9227 (tramp-completion-dissect-file-name): Use better local variable
9228 name. Add hop to the vector.
9229 (tramp-handle-insert-file-contents): Use progress-reporter for the
9230 whole scenario.
9231 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9232 to `t'.
9233 (tramp-check-for-regexp): Simplify search.
9234 (tramp-enter-password): Remove it. Move implementation ...
9235 (tramp-action-password): ... here.
9236 (tramp-mode-string-to-int, tramp-local-host-p)
9237 (tramp-make-tramp-temp-file, tramp-read-passwd)
9238 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9239 Set tramp-autoload cookie.
9240
9241 * net/trampver.el: Update release number.
9242
9243 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9244 Michael Albinus <michael.albinus@gmx.de>
9245
9246 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9247 (tramp-parse-group, tramp-parse-file)
9248 (tramp-parse-shostkeys-sknownhosts): New defuns.
9249 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9250 (tramp-parse-shosts-group, tramp-parse-sconfig)
9251 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9252 (tramp-parse-sknownhosts, tramp-parse-hosts)
9253 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9254 Use them.
9255 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9256 (tramp-parse-putty-group): Don't narrow.
9257 (tramp-parse-putty): Make a loop.
9258 (tramp-file-name-handler): Catch the `suppress' signal.
9259
9260 2012-06-11 Chong Yidong <cyd@gnu.org>
9261
9262 * image.el (imagemagick-register-types): Put the ImageMagick entry
9263 at the end of image-type-file-name-regexps.
9264
9265 2012-06-11 Johan Bockgård <bojohan@gnu.org>
9266
9267 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9268 (pcase, pcase-let*, pcase-dolist): Use them.
9269
9270 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9271
9272 * emacs-lisp/pcase.el (pcase--let*): New function.
9273 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9274 (pcase--expand): Use macroexp-let².
9275
9276 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9277
9278 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9279 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9280 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9281 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9282 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9283 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9284
9285 2012-06-10 Glenn Morris <rgm@gnu.org>
9286
9287 * mail/rmail.el (rmail-yank-current-message): Leave point at
9288 correct position. (Bug#11660)
9289
9290 2012-06-10 Chong Yidong <cyd@gnu.org>
9291
9292 * allout-widgets.el: Fix code header.
9293
9294 2012-06-10 Chong Yidong <cyd@gnu.org>
9295
9296 * cus-edit.el (customize-changed-options-previous-release):
9297 Bump to 24.1.
9298
9299 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9300
9301 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9302
9303 2012-06-09 Chong Yidong <cyd@gnu.org>
9304
9305 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9306
9307 2012-06-09 Martin Rudalics <rudalics@gmx.at>
9308
9309 * window.el (special-display-popup-frame): Don't use
9310 window--display-buffer (Bug#11651).
9311
9312 2012-06-09 Eli Zaretskii <eliz@gnu.org>
9313
9314 Fix parallel builds: make sure loaddefs.el is not being written
9315 while Lisp files are compiled.
9316 (compile): Don't depend on 'mh-autoloads'.
9317 (compile-CMD, compile-SH): Depend on 'autoloads'.
9318 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9319
9320 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9321
9322 2012-06-09 Chong Yidong <cyd@gnu.org>
9323
9324 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9325 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9326 Doc fixes (Bug#11225).
9327
9328 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9329
9330 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9331 a function if there's a clear indication that it has a compiler-macro.
9332 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9333 (macro-declarations-alist): Add arglist to declaration functions.
9334 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9335 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9336 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9337 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9338 Also add autoload to find the compiler macro.
9339 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9340 (cl--compiler-macro-member, cl--compiler-macro-assoc)
9341 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9342 (cl--compiler-macro-get): New functions, replacing calls to
9343 cl-define-compiler-macro.
9344 (cl-typep) [compiler-macro]: Use macroexp-let².
9345
9346 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
9347
9348 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9349 string properly, fixes Bug#11473.
9350
9351 2012-06-08 Chong Yidong <cyd@gnu.org>
9352
9353 * faces.el (set-face-attribute): Doc fix.
9354 (modify-face): Don't use :bold and :italic.
9355 (error, warning, success): Tweak definitions.
9356
9357 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9358 (custom-modified, custom-set, custom-changed, custom-themed)
9359 (custom-saved, custom-button, custom-button-mouse)
9360 (custom-button-pressed, custom-state, custom-comment-tag)
9361 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9362 (custom-group-subtitle): Use new-style face specs.
9363 (custom-invalid-face, custom-rogue-face, custom-modified-face)
9364 (custom-set-face, custom-changed-face, custom-saved-face)
9365 (custom-button-face, custom-button-pressed-face)
9366 (custom-documentation-face, custom-state-face)
9367 (custom-comment-face, custom-comment-tag-face)
9368 (custom-variable-tag-face, custom-variable-button-face)
9369 (custom-face-tag-face, custom-group-tag-face-1)
9370 (custom-group-tag-face): Remove obsolete face alias.
9371
9372 * epa.el (epa-validity-high, epa-validity-medium)
9373 (epa-validity-low, epa-mark, epa-field-name, epa-string)
9374 (epa-field-name, epa-field-body):
9375 * font-lock.el (font-lock-comment-face, font-lock-string-face)
9376 (font-lock-keyword-face, font-lock-builtin-face)
9377 (font-lock-function-name-face, font-lock-variable-name-face)
9378 (font-lock-type-face, font-lock-constant-face):
9379 * ido.el (ido-first-match, ido-only-match, ido-subdir)
9380 (ido-virtual, ido-indicator, ido-incomplete-regexp):
9381 * speedbar.el (speedbar-button-face, speedbar-file-face)
9382 (speedbar-directory-face, speedbar-tag-face)
9383 (speedbar-selected-face, speedbar-highlight-face)
9384 (speedbar-separator-face):
9385 * whitespace.el (whitespace-newline, whitespace-space)
9386 (whitespace-hspace, whitespace-tab, whitespace-trailing)
9387 (whitespace-line, whitespace-space-before-tab)
9388 (whitespace-space-after-tab, whitespace-indentation)
9389 (whitespace-empty):
9390 * emulation/cua-base.el (cua-global-mark):
9391 * eshell/em-prompt.el (eshell-prompt):
9392 * net/newst-plainview.el (newsticker-new-item-face)
9393 (newsticker-old-item-face, newsticker-immortal-item-face)
9394 (newsticker-obsolete-item-face, newsticker-date-face)
9395 (newsticker-statistics-face, newsticker-default-face):
9396 * net/newst-reader.el (newsticker-feed-face)
9397 (newsticker-extra-face, newsticker-enclosure-face):
9398 * net/newst-treeview.el (newsticker-treeview-face)
9399 (newsticker-treeview-new-face, newsticker-treeview-old-face)
9400 (newsticker-treeview-immortal-face)
9401 (newsticker-treeview-obsolete-face)
9402 (newsticker-treeview-selection-face):
9403 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
9404 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
9405 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
9406 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
9407 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
9408 (nxml-outline-active-indicator, nxml-outline-ellipsis):
9409 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
9410 (mpuz-text):
9411 * progmodes/vera-mode.el (vera-font-lock-number)
9412 (vera-font-lock-function, vera-font-lock-interface):
9413 * textmodes/table.el (table-cell): Use new-style face specs, and
9414 don't use the old :bold and :italic attributes.
9415
9416 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
9417 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
9418 (ebrowse-member-class, ebrowse-progress): Likewise.
9419 (ebrowse-tree-mark-face, ebrowse-root-class-face)
9420 (ebrowse-file-name-face, ebrowse-default-face)
9421 (ebrowse-member-attribute-face, ebrowse-member-class-face)
9422 (ebrowse-progress-face): Remove obsolete faces.
9423
9424 * progmodes/flymake.el (flymake-errline, flymake-warnline):
9425 Inherit from error and warning faces respectively.
9426
9427 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
9428 Likewise.
9429 (flyspell-incorrect-face, flyspell-duplicate-face):
9430 Remove obsolete aliases.
9431
9432 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
9433
9434 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9435 Avoid infloop.
9436
9437 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9438
9439 * startup.el (argv, argi): Make lexically scoped.
9440 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
9441 * emacs-lisp/cl-macs.el: Use lexical-binding.
9442 Rename cl-bind-* to cl--bind-*.
9443 * files.el: Don't require `cl' since it doesn't use it.
9444 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
9445
9446 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
9447
9448 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
9449 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
9450 instead of calling external sort utility.
9451 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
9452
9453 2012-06-08 Eli Zaretskii <eliz@gnu.org>
9454
9455 * descr-text.el (describe-char): Mention how to insert the
9456 character, if the current input method doesn't support it.
9457 See the discussion in this thread for the details:
9458 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
9459
9460 2012-06-08 Sam Steingold <sds@gnu.org>
9461
9462 * bindings.el (global-map): Bind XF86Forward to next-buffer and
9463 XF86Back to previous-buffer.
9464 (minibuffer-local-map): Bind them to next-history-element and
9465 previous-history-element respectively.
9466 * help-mode.el (help-mode-map): Bind them to help-go-forward and
9467 help-go-back respectively.
9468 * info.el (Info-mode-map): Bind them to Info-history-forward and
9469 Info-history-back respectively.
9470 These are the keys next to Up on the ThinkPad keyboard.
9471
9472 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9473
9474 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
9475 * emacs-lisp/cl-macs.el: Provide itself.
9476 (cl--labels-convert-cache): New var.
9477 (cl--labels-convert): New function.
9478 (cl-flet, cl-labels): New implementation with new semantics, relying on
9479 lexical-binding.
9480 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
9481 (cl-closure-vars, cl--function-convert-cache)
9482 (cl--function-convert): Move from cl-macs.el.
9483 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
9484 rename by removing the "cl-" prefix.
9485 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
9486
9487 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9488
9489 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
9490 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
9491 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
9492 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
9493 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
9494 (cl-hash-table-count): Add old compatibility aliases.
9495
9496 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
9497 Use macroexpand-all-environment instead.
9498 (cl--old-macroexpand): New var.
9499 (cl--sm-macroexpand): New function.
9500 (cl-symbol-macrolet): Use it during macro expansion.
9501 (cl--function-convert-cache): New var.
9502 (cl--function-convert): New function, extracted from
9503 cl-macroexpand-all.
9504 (cl-lexical-let): Use it.
9505
9506 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
9507 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
9508 (cl-member): Remove old alias.
9509
9510 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
9511 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
9512 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
9513 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
9514 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
9515 (cl-macroexpand-cmacs): Remove var.
9516 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
9517 Use macroexpand-all instead.
9518
9519 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9520
9521 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
9522 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
9523 (macroexp-copyable-p): New functions and macros.
9524 * emacs-lisp/edebug.el (edebug-unwrap):
9525 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
9526 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
9527 (pcase--let*): Remove.
9528 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
9529 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
9530 macroexp-const-p instead.
9531 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
9532
9533 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
9534 instead of "cl-" for internal definitions. Use macroexp-const-p.
9535 (cl-old-bc-file-form): Remove var.
9536 (cl-const-exprs-p): Remove fun.
9537 (cl-labels, cl-macrolet): Use backquote.
9538 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
9539 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
9540 (cl-define-setf-expander): Rename from cl-define-setf-method.
9541 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
9542
9543 * international/mule-cmds.el: Don't require CL.
9544 (view-hello-file): Don't use `letf'.
9545
9546 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9547
9548 * tmm.el (tmm-prompt): Use string-prefix-p.
9549 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
9550 (tmm-add-prompt): Use minibuffer-completion-help.
9551 (tmm-delete-map): Remove.
9552
9553 * subr.el (kbd): Make it its own function.
9554
9555 2012-06-07 Stefan Merten <smerten@oekonux.de>
9556
9557 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
9558 Silence compiler warnings. Fix versions.
9559 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
9560 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
9561 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
9562 (rst-package-emacs-version-alist): Correct Emacs version to
9563 represent major merge with upstream.
9564 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
9565
9566 2012-06-06 Glenn Morris <rgm@gnu.org>
9567
9568 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
9569 Only print environment variables if set.
9570
9571 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9572
9573 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
9574 (macroexp--cons): Rename from maybe-cons.
9575 (macroexp--accumulate): Rename from macroexp-accumulate.
9576 (macroexp--all-forms): Rename from macroexpand-all-forms.
9577 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
9578 (macroexp--expand-all): Rename from macroexpand-all-1.
9579
9580 2012-06-06 Sam Steingold <sds@gnu.org>
9581
9582 * calendar/calendar.el (calendar-in-read-only-buffer):
9583 Call `special-mode' to enable the standard read-only keybindings.
9584
9585 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9586
9587 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
9588 with "loading" messages (bug#11635).
9589
9590 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
9591
9592 * files.el (enable-remote-dir-locals): New option.
9593 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
9594
9595 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9596 Ensure, that the temp directory is local.
9597
9598 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
9599 `temporary-file-directory'.
9600
9601 * progmodes/python.el (python-send-region): Ensure, that the
9602 temporary file is created also in the remote case.
9603
9604 2012-06-06 Glenn Morris <rgm@gnu.org>
9605
9606 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
9607 (vc-rcs-update-changelog): Use it.
9608
9609 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
9610
9611 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
9612 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
9613 (vc-sccs-diff): Replace use of the external vcdiff script.
9614
9615 2012-06-05 Glenn Morris <rgm@gnu.org>
9616
9617 * ledit.el: Move to obsolete/.
9618
9619 2012-06-05 Sam Steingold <sds@gnu.org>
9620
9621 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
9622 patch (Bug#11140).
9623
9624 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9625
9626 * emacs-lisp/cust-print.el: Move to obsolete.
9627
9628 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
9629 compiler-macro expansion.
9630
9631 Add native compiler-macro support.
9632 * emacs-lisp/macroexp.el (macroexpand-all-1):
9633 Support compiler-macros directly. Properly follow aliases and apply
9634 the compiler macros more thoroughly.
9635 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
9636 macroexpand now properly follows aliases.
9637 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
9638 (cl-compiler-macroexpand): Use new prop.
9639 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
9640
9641 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
9642
9643 2012-06-05 Martin Rudalics <rudalics@gmx.at>
9644
9645 * window.el (get-lru-window, get-mru-window, get-largest-window):
9646 New argument NOT-SELECTED to avoid picking the selected window.
9647 (window--display-buffer-1, window--display-buffer-2): Replace by
9648 new function window--display-buffer
9649 (display-buffer-same-window, display-buffer-reuse-window)
9650 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9651 Use window--display-buffer.
9652 (display-buffer-use-some-window): Remove temporary dedication
9653 hack by calling get-lru-window and get-largest-window with
9654 NOT-SELECTED argument non-nil. Call window--display-buffer.
9655
9656 2012-06-05 Glenn Morris <rgm@gnu.org>
9657
9658 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
9659 Replace external vcdiff script.
9660
9661 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9662
9663 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
9664
9665 2012-06-04 Chong Yidong <cyd@gnu.org>
9666
9667 * image.el (imagemagick-types-inhibit): Revert last change.
9668 Add INFO and M.
9669 (imagemagick-enabled-types): Remove CIN and EPS*.
9670
9671 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9672
9673 * emacs-lisp/cl-lib.el: Rename from cl.el.
9674 * emacs-lisp/cl.el: New compatibility file.
9675 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
9676 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
9677 to obey the "cl-" prefix.
9678 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
9679
9680 2012-06-03 Glenn Morris <rgm@gnu.org>
9681
9682 * emacs-lisp/authors.el (authors-aliases): Addition.
9683
9684 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
9685 Fix :version.
9686
9687 2012-06-03 Stefan Merten <smerten@oekonux.de>
9688
9689 * textmodes/rst.el: Add comments.
9690 (rst-transition, rst-adornment): New faces.
9691 (rst-adornment-faces-alist): Make default safe to reevaluate.
9692 Fixes
9693 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
9694 Improve customization tags.
9695 (rst-define-level-faces): Clarify meaning.
9696
9697 2012-06-03 Chong Yidong <cyd@gnu.org>
9698
9699 * progmodes/compile.el (compilation-mode-line-fail)
9700 (compilation-mode-line-run, compilation-mode-line-exit):
9701 New faces.
9702 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
9703
9704 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
9705
9706 * progmodes/which-func.el (which-func-update-ediff-windows):
9707 New function. Use it in ediff-select-hook (Bug#11478).
9708
9709 2012-06-03 Chong Yidong <cyd@gnu.org>
9710
9711 * bindings.el: Remove explicit help text from format-mode-line.
9712 It is now supplied by mode-line-default-help-echo.
9713 (mode-line-front-space, mode-line-end-spaces)
9714 (mode-line-misc-info): New variables.
9715 (mode-line-modes, mode-line-position): Move the default value to
9716 the variable definition.
9717 (mode-line-default-help-echo): New defcustom.
9718 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
9719 (mode-line-modified-help-echo): New functions.
9720 (mode-line-mule-info, mode-line-modified): Use them.
9721 (mode-line-eol-desc, propertized-buffer-identification):
9722 Consistency fixes for help text.
9723 (mode-line-coding-system-map): Allow using mouse-3 to invoke
9724 set-buffer-file-coding-system (Bug#289).
9725 (mode-line-mule-info-help-echo): Update help text.
9726
9727 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9728
9729 * simple.el (execute-extended-command): Set real-this-command
9730 (bug#11506).
9731
9732 2012-06-02 Chong Yidong <cyd@gnu.org>
9733
9734 Remove incorrect uses of "modeline" in comments, docstrings, and
9735 function/variable names (Bug#10329).
9736
9737 * cus-edit.el (mode-line):
9738 * dframe.el (dframe-mouse-hscroll):
9739 * emacs-lisp/re-builder.el:
9740 * emacs-lisp/easy-mmode.el (define-minor-mode):
9741 * frame.el (set-frame-name):
9742 * help.el (lookup-minor-mode-from-indicator):
9743 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
9744 * progmodes/cc-cmds.el (c-toggle-auto-newline)
9745 (c-toggle-hungry-state):
9746 * progmodes/antlr-mode.el (antlr-language-alist):
9747 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
9748 * progmodes/vhdl-mode.el (vhdl-mode):
9749 * progmodes/which-func.el (which-func, which-func-cleanup-function):
9750 * term/ns-win.el (ns-face-at-pos):
9751 * term/sup-mouse.el (sup-mouse-report):
9752 * textmodes/flyspell.el (flyspell-mode-line-string):
9753 * textmodes/ispell.el (ispell-highlight-face):
9754 * textmodes/reftex-global.el:
9755 * vc/vc-arch.el (vc-arch-mode-line-string):
9756 * vc/vc-cvs.el (vc-cvs-mode-line-string):
9757 * vc/vc-git.el (vc-git-mode-line-string):
9758 * vc/vc-hooks.el (vc-display-status)
9759 (vc-default-mode-line-string):
9760 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
9761
9762 * ansi-color.el (ansi-color-faces-vector): Change default faces.
9763
9764 * dired.el (dired-sort-set-mode-line): Rename from
9765 dired-sort-set-modeline. All callers changed.
9766
9767 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
9768 eshell-status-in-modeline.
9769
9770 * foldout.el (foldout-mode-line-string): Rename from
9771 foldout-modeline-string. All callers changed.
9772 (foldout-update-mode-line): Rename from foldout-update-modeline.
9773
9774 * subr.el (redraw-modeline): Make into obsolete alias.
9775
9776 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
9777 timeclock-modeline-display. Make old name an alias.
9778 (timeclock-update-mode-line): Likewise. All callers changed.
9779 (timeclock-mode-line-display): No need to check before using
9780 add-hook.
9781 (timeclock-relative, timeclock-day-over-hook)
9782 (timeclock-use-elapsed, timeclock-mode-string)
9783 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
9784
9785 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
9786 crisp-mode-modeline-string.
9787
9788 * play/solitaire.el (solitaire-build-mode-line): Rename from
9789 solitaire-build-modeline. All callers changed.
9790
9791 * play/zone.el (zone-hiding-mode-line): Rename from
9792 zone-hiding-modeline. All callers changed.
9793 (zone): Remove unusued `modeline-hidden-level' property.
9794
9795 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
9796 xscheme-modeline-initialize. All callers changed.
9797
9798 * strokes.el (strokes-lighter): Rename from
9799 strokes-modeline-string.
9800
9801 * textmodes/sgml-mode.el (html-face-tag-alist)
9802 (html-tag-face-alist): Use mode-line face instead of obsolete
9803 alias modeline.
9804
9805 2012-06-02 Stefan Merten <smerten@oekonux.de>
9806
9807 * textmodes/rst.el: Always require `cl'.
9808 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
9809
9810 2012-06-02 Chong Yidong <cyd@gnu.org>
9811
9812 * image.el (imagemagick-enabled-types): Rename from
9813 imagemagick-types-enable. Add many more types.
9814 (imagemagick-types-inhibit): Change default to nil.
9815 (imagemagick-filter-types): Caller changed.
9816
9817 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9818
9819 * emacs-lisp/cl-macs.el: Use backquotes.
9820 (cl-transform-function-property): Use eval-and-compile rather than
9821 abusing `require'.
9822 (defstruct): Use declare-function instead of with-no-warnings.
9823
9824 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
9825 (byte-compile-output-docform): Re-add the print-circle bindings.
9826 (byte-compile-fix-header): Use #$ just because it's shorter.
9827 (byte-compile-output-file-form): Remove defun/defmacro.
9828
9829 2012-06-01 Martin Rudalics <rudalics@gmx.at>
9830
9831 * simple.el (choose-completion): Remove now obsolete binding for
9832 owindow.
9833
9834 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
9835
9836 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
9837 in order to avoid "Stack overflow in regexp matcher".
9838
9839 2012-05-31 Glenn Morris <rgm@gnu.org>
9840
9841 * image.el: For clarity, call imagemagick-register-types at
9842 top-level, rather than relying on a custom :initialize.
9843 (imagemagick-types-enable): New option. (Bug#11557)
9844 (imagemagick-filter-types): New function. (Bug#7406)
9845 (imagemagick-register-types): Use imagemagick-filter-types.
9846 If disabling support, remove elements altogether rather
9847 than using an impossible regexp.
9848 (imagemagick-types-inhibit): Give it the default init function.
9849
9850 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9851
9852 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
9853 Handle arbitrary file name lengths (Bug#11585).
9854
9855 2012-05-31 Martin Rudalics <rudalics@gmx.at>
9856
9857 * desktop.el (desktop-read): Clear previous and next buffers for
9858 all windows and bury *Messages* buffer (bug#11556).
9859
9860 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9861
9862 Add `declare' for `defun'. Align `defmacro's with it.
9863 * emacs-lisp/easy-mmode.el (define-minor-mode)
9864 (define-globalized-minor-mode): Don't autoload the var definitions.
9865 * emacs-lisp/byte-run.el: Use lexical-binding.
9866 (defun-declarations-alist, macro-declarations-alist): New vars.
9867 (defmacro, defun): Use them.
9868 (make-obsolete, define-obsolete-function-alias)
9869 (make-obsolete-variable, define-obsolete-variable-alias):
9870 Use `declare'.
9871 (macro-declaration-function): Mark obsolete.
9872 * emacs-lisp/autoload.el: Use lexical-binding.
9873 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
9874
9875 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9876
9877 * textmodes/ispell.el (ispell-with-no-warnings):
9878 Define as a macro.
9879 (ispell-kill-ispell, ispell-change-dictionary):
9880 Use `called-interactively-p' for Emacs instead of obsolete
9881 `interactive-p'.
9882
9883 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9884
9885 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
9886 (macro-declaration-function): Move var from C code.
9887 (macro-declaration-function): Define function with defalias.
9888 * emacs-lisp/macroexp.el (macroexpand-all-1):
9889 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
9890 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
9891 defun/defmacro any more.
9892 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
9893 Provide fallback for unknown arglist.
9894 (byte-compile-arglist-warn): Change calling convention.
9895 (byte-compile-output-file-form): Move print-vars binding.
9896 (byte-compile-output-docform): Simplify accordingly.
9897 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
9898 (byte-compile-defmacro-declaration): Remove.
9899 (byte-compile-file-form-defmumble): Generalize to defalias.
9900 (byte-compile-output-as-comment): Return byte-positions.
9901 Simplify callers accordingly.
9902 (byte-compile-lambda): Use `assert'.
9903 (byte-compile-defun, byte-compile-defmacro): Remove.
9904 (byte-compile-file-form-defalias):
9905 Use byte-compile-file-form-defmumble.
9906 (byte-compile-defalias-warn): Remove.
9907
9908 2012-05-29 Stefan Merten <smerten@oekonux.de>
9909
9910 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
9911 possible. Fix authors. Improve comments. Improve loading of `cl'.
9912
9913 (rst-mode-abbrev-table): Merge definition.
9914 (rst-mode): Make sure `font-lock-defaults' is buffer local.
9915 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
9916
9917 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
9918
9919 * calendar/icalendar.el
9920 (icalendar-export-region): Export UID properly.
9921
9922 2012-05-29 Leo Liu <sdl.web@gmail.com>
9923 * calendar/icalendar.el (icalendar-import-format):
9924 Add `icalendar-import-format-uid' (Bug#11525).
9925 (icalendar-import-format-uid): New.
9926 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
9927 Export UID.
9928
9929 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9930
9931 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
9932 different alternative patterns.
9933 (pcase-codegen): Be more careful to preserve identity.
9934 (pcase--u1): Don't forget to mark vars as used.
9935
9936 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
9937 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
9938 (byte-compile-from-buffer): ...rather than here.
9939
9940 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
9941 functions from byte-compile-function-environment.
9942
9943 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
9944
9945 * window.el (window-deletable-p): Avoid deleting the root window
9946 of a frame with an active minibuffer.
9947
9948 2012-05-29 Martin Rudalics <rudalics@gmx.at>
9949
9950 * simple.el (choose-completion): Use quit-window (Bug#11567).
9951
9952 2012-05-29 Chong Yidong <cyd@gnu.org>
9953
9954 * whitespace.el (whitespace-cleanup): Fix usage of
9955 whitespace-empty-at-bob-regexp (Bug#11492).
9956
9957 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9958
9959 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
9960 revert (Bug#11488).
9961
9962 2012-05-29 Juri Linkov <juri@jurta.org>
9963
9964 * isearch.el (isearch-mode-map): Bind `M-s _' to
9965 `isearch-toggle-symbol'. Bind `M-s c' to
9966 `isearch-toggle-case-fold'.
9967 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
9968 (isearch-forward): Add `M-s _' to the docstring.
9969 (isearch-forward-symbol, isearch-toggle-case-fold)
9970 (isearch-symbol-regexp): New functions. (Bug#11381)
9971
9972 2012-05-29 Juri Linkov <juri@jurta.org>
9973
9974 * isearch.el (isearch-word): Add docstring. (Bug#11381)
9975 (isearch-occur, isearch-search-and-update): If `isearch-word' is
9976 a function, call it to get the regexp.
9977 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
9978 property `isearch-message-prefix' instead of the string "word ".
9979 (isearch-search-fun-default): For the case of `isearch-word',
9980 return a lambda that calls re-search-forward/re-search-backward
9981 with a regexp returned by `word-search-regexp' or by the function
9982 in `isearch-word'.
9983
9984 2012-05-29 Juri Linkov <juri@jurta.org>
9985
9986 * isearch.el (isearch-search-fun-default): New function.
9987 (isearch-search-fun): Move default part to the new function
9988 `isearch-search-fun-default'.
9989 (isearch-search-fun-function): Set the default value to
9990 `isearch-search-fun-default'. (Bug#11381)
9991
9992 * comint.el (comint-history-isearch-end):
9993 Use `isearch-search-fun-default'.
9994 (comint-history-isearch-search): Use `isearch-search-fun-default'
9995 and remove spacial case for `isearch-word'.
9996 (comint-history-isearch-wrap): Remove spacial case for
9997 `isearch-word'.
9998
9999 * hexl.el (hexl-isearch-search-function):
10000 Use `isearch-search-fun-default'.
10001
10002 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10003 Use `word-search-regexp' for `isearch-word'.
10004
10005 * misearch.el (multi-isearch-search-fun):
10006 Use `isearch-search-fun-default'.
10007
10008 * simple.el (minibuffer-history-isearch-search):
10009 Use `isearch-search-fun-default' and remove spacial case for
10010 `isearch-word'.
10011 (minibuffer-history-isearch-wrap): Remove spacial case for
10012 `isearch-word'.
10013
10014 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10015 Remove spacial case for `isearch-word'.
10016 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10017
10018 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10019
10020 Decrease XEmacs incompatibilities.
10021 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10022 Use `string-match'.
10023 (flyspell-delete-region-overlays): Use alternative definition for
10024 XEmacs.
10025 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10026 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10027 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10028 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10029 `define-obsolete-face-alias' under XEmacs, but old method.
10030
10031 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10032 `with-no-warnings' definition or Emacs alias.
10033 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10034 (ispell-word): Do not use `region-p' if XEmacs.
10035
10036 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10037
10038 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10039 Check for `ispell-dictionary-base-alist' instead of full
10040 `ispell-dictionary-alist'.
10041 (ispell-init-process): Show spellchecker when starting new Ispell
10042 process.
10043
10044 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10045
10046 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10047 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10048
10049 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
10050
10051 * version.el (motif-version-string, gtk-version-string)
10052 (ns-version-string): Declare.
10053
10054 2012-05-27 Juri Linkov <juri@jurta.org>
10055
10056 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10057 after the `eval-defun-1' specialcaseing
10058 like in `edebug-eval-defun' (bug#10181).
10059
10060 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10061 like in `eval-defun-1'.
10062
10063 2012-05-27 Eli Zaretskii <eliz@gnu.org>
10064
10065 * mail/sendmail.el (mail-yank-region):
10066 Recognize rmail-yank-current-message in addition to insert-buffer.
10067 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
10068 a *mail* buffer created through rmail-start-mail with sendmail as
10069 mail-user-agent.
10070
10071 2012-05-27 Chong Yidong <cyd@gnu.org>
10072
10073 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10074 Default to 256 (Bug#11267).
10075
10076 * help.el (describe-mode): Doc fix.
10077
10078 2012-05-26 Glenn Morris <rgm@gnu.org>
10079
10080 * w32-fns.el (w32-init-info): Remove.
10081 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10082
10083 * info.el (info-initialize): For self-contained NS builds, put the
10084 included info/ directory at the front. (Bug#2791)
10085
10086 * paths.el (Info-default-directory-list): Make it a defcustom,
10087 mainly so that we can use custom-initialize-delay.
10088
10089 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10090
10091 * subr.el (buffer-has-markers-at): Mark obsolete.
10092
10093 * subr.el (lambda): Use declare.
10094
10095 * emacs-lisp/lisp-mode.el (lambda):
10096 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10097
10098 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10099
10100 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10101
10102 2012-05-26 Glenn Morris <rgm@gnu.org>
10103
10104 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10105
10106 2012-05-25 Glenn Morris <rgm@gnu.org>
10107
10108 * paths.el: Remove no-byte-compile.
10109 * loadup.el: No need to load paths.el uncompiled.
10110
10111 * image.el (imagemagick-types-inhibit): Doc fix.
10112
10113 * version.el: Remove no-byte-compile and associated formatting.
10114 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10115 is ancient code from when there was an "inc-vers.el".
10116
10117 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10118
10119 * progmodes/gdb-mi.el: Minor style changes.
10120 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10121 Turn into minor modes.
10122 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10123 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10124 (gdb-shell): Remove unneeded let-binding.
10125 (gdb-get-many-fields): Eliminate O(n²) behavior.
10126
10127 2012-05-25 Eli Zaretskii <eliz@gnu.org>
10128
10129 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
10130 platforms that don't link in fontset.c.
10131
10132 2012-05-25 Juri Linkov <juri@jurta.org>
10133
10134 Use the same diff color scheme as in modern VCSes (bug#10181).
10135
10136 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
10137 to avoid confusion with `diff-added' that now uses green colors.
10138 (diff-removed): Use shades of red.
10139 (diff-added): Use shades of green.
10140 (diff-changed): Leave just the yellow color.
10141 (diff-use-changed-face): New variable.
10142 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
10143 how to highlight context diff changes.
10144 (diff-refine-change): Use shades of yellow.
10145 (diff-refine-removed): New face that uses shades of red.
10146 (diff-refine-added): New face that uses shades of green.
10147 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10148 `diff-refine-removed' in the call to `smerge-refine-subst'
10149 depending on the value of `diff-use-changed-face'.
10150
10151 * vc/smerge-mode.el (smerge-mine): Use shades of red.
10152 (smerge-other): Use shades of green.
10153 (smerge-base): Use shades of yellow.
10154 (smerge-refined-change): Empty face.
10155 (smerge-refined-removed): New face that uses shades of red.
10156 (smerge-refined-added): New face that uses shades of green.
10157 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
10158 args `props-r' and `props-a', and use them. Doc fix.
10159 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10160 on its value use different faces `smerge-refined-change',
10161 `smerge-refined-removed', `smerge-refined-added' in the call to
10162 `smerge-refine-subst'.
10163
10164 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10165 Add face condition `min-colors 88' with shades of red.
10166 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10167 `min-colors 88' with shades of green.
10168 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10169 `min-colors 88' with shades of yellow.
10170
10171 2012-05-24 Glenn Morris <rgm@gnu.org>
10172
10173 * paths.el (prune-directory-list, remote-shell-program): Move to...
10174 * files.el (prune-directory-list, remote-shell-program): ...here.
10175 For the latter, delay initialization, prefer ssh, just search PATH.
10176
10177 * paths.el (term-file-prefix): Move to faces.el (the only user).
10178 * faces.el (term-file-prefix): Move here, make it a defcustom.
10179
10180 * paths.el (news-directory, news-path, news-inews-program):
10181 Move to gnus/nnspool.el.
10182
10183 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10184
10185 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10186 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10187 Make the latter a defcustom, with a delayed initialization.
10188
10189 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10190 These were deleted from Gnus itself late 2010.
10191
10192 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
10193
10194 * progmodes/which-func.el (which-func-ff-hook):
10195 Check against user-error, not error.
10196
10197 * emacs-lisp/edebug.el (top): Do not load or set up loading of
10198 cl-specs.el, which no longer exists.
10199
10200 2012-05-22 Glenn Morris <rgm@gnu.org>
10201
10202 * info.el (info-emacs-bug): New command.
10203 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10204 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10205
10206 2012-05-21 Glenn Morris <rgm@gnu.org>
10207
10208 * makefile.w32-in (update-subdirs-SH):
10209 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10210
10211 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10212
10213 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10214
10215 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10216 Simplify Maven regexp, and make sure the file can't start with a space
10217 (bug#11517).
10218
10219 2012-05-21 Glenn Morris <rgm@gnu.org>
10220
10221 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10222 Scrap superfluous subshells.
10223
10224 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10225
10226 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10227 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10228
10229 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10230
10231 * calc/calc.el (calc-ensure-consistent-units): New variable.
10232
10233 * calc/calc-units.el (math-consistent-units-p)
10234 (math-check-unit-consistency): New functions.
10235 (calc-quick-units, calc-convert-units):
10236 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10237 is non-nil.
10238 (calc-extract-units): Fix typo.
10239
10240 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10241
10242 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10243
10244 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10245 (flyspell-default-deplacement-commands): Don't spell check after
10246 repeated window/frame switches (e.g. triggered by mouse-movement).
10247 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10248 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10249 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10250 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10251 Remove unused vars.
10252 (flyspell-get-casechars, flyspell-get-not-casechars):
10253 Simplify; Don't bother removing a ] just to add it back.
10254 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10255
10256 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10257
10258 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10259 New functions.
10260 (math-function-table): Add support for more C functions.
10261
10262 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10263
10264 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10265 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10266 Protect delay handling for otherchars against empty otherchars.
10267
10268 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10269
10270 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10271 their respective macro declarations.
10272 * skeleton.el (define-skeleton):
10273 * progmodes/compile.el (define-compilation-mode):
10274 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10275 (define-ibuffer-filter):
10276 * emacs-lisp/generic.el (define-generic-mode):
10277 * emacs-lisp/easy-mmode.el (define-minor-mode)
10278 (define-globalized-minor-mode):
10279 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10280 * emacs-lisp/byte-run.el (defsubst):
10281 * custom.el (deftheme): Add doc-string metadata.
10282
10283 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10284
10285 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10286
10287 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10288
10289 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10290
10291 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10292 * emacs-lisp/cl-macs.el: Idem.
10293 * emacs-lisp/cl-specs.el: Remove.
10294
10295 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10296
10297 Minor renaming of internal CL functions and variables.
10298 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10299 (cl--position): Rename from cl-position.
10300 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10301 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10302 (cl--random-state): Rename from *random-state*.
10303
10304 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10305
10306 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10307 parens around the arg list (bug#11499).
10308
10309 2012-05-17 Juri Linkov <juri@jurta.org>
10310
10311 * isearch.el (word-search-regexp, word-search-backward)
10312 (word-search-forward, word-search-backward-lax)
10313 (word-search-forward-lax): Move functions from search.c
10314 (bug#10145, bug#11381).
10315
10316 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10317
10318 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10319 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10320 Delay for otherchars as for normal word components.
10321
10322 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10323
10324 * minibuffer.el (completion--sifn-requote): Fix last change.
10325 (minibuffer-local-must-match-filename-map):
10326 Move define-obsolete-variable-alias before its var.
10327
10328 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10329
10330 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10331
10332 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10333 behavior.
10334 (completion--string-equal-p): New function.
10335 (completion--twq-all): Use it to get better assertion failure data.
10336
10337 Only handle ".." and '..' quoting in shell-mode (bug#11466).
10338 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10339 (shell--requote-argument): New functions.
10340 (shell-completion-vars): Use them.
10341 (shell--parse-pcomplete-arguments): Rename from
10342 shell-parse-pcomplete-arguments.
10343 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
10344 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10345 Obey comint-file-name-quote-list.
10346
10347 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10348 (smie-indent-keyword): Use it.
10349
10350 2012-05-14 Stefan Merten <smerten@oekonux.de>
10351
10352 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10353
10354 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10355
10356 * net/rlogin.el (rlogin-mode-map): Fix last change.
10357
10358 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
10359
10360 * mail/smtpmail.el (smtpmail-send-command): Send the command and
10361 the following \r\n using a single `process-send-string', since the
10362 Lotus SMTP server refuses to accept any commands if they are sent
10363 with two `process-send-string's (Bug#11444).
10364
10365 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10366
10367 * shell.el (shell-parse-pcomplete-arguments):
10368 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
10369
10370 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10371
10372 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
10373 (image-transform-scale, image-transform-right-angle-fudge): New vars.
10374 (image-transform-width, image-transform-fit-width): New functions.
10375 (image-transform-properties): Use them.
10376 (image-transform-check-size): New function.
10377 (image-toggle-display-image): Use it (for testing).
10378 (image-transform-set-rotation): Reduce angle mod 360.
10379 Delete obsolete comment.
10380
10381 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10382
10383 * image-mode.el: Fix scaling (bug#11399).
10384 (image-transform-resize): Doc fix.
10385 (image-transform-properties): Default scale is 1 and height should
10386 be an integer.
10387
10388 2012-05-13 Johan Bockgård <bojohan@gnu.org>
10389
10390 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
10391 than hard-coding `car', to fix misbehavior when moving forward.
10392
10393 2012-05-13 Chong Yidong <cyd@gnu.org>
10394
10395 * emacs-lisp/tabulated-list.el (tabulated-list-format)
10396 (tabulated-list-entries, tabulated-list-padding)
10397 (tabulated-list-sort-key): Make permanent-local.
10398
10399 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
10400 (electric-buffer-list): Put electric buffer menu
10401 command descriptions in this docstring, instead of the docstring
10402 of electric-buffer-menu-mode. Code cleanups.
10403 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
10404 Electric-buffer-menu-mode.
10405 (electric-buffer-update-highlight): Minor code cleanup.
10406
10407 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
10408
10409 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
10410 (Bug#11447)
10411
10412 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10413
10414 Move define-obsolete-variable-alias before the var's definition.
10415 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
10416 * tooltip.el (tooltip-hook):
10417 * textmodes/reftex-toc.el (reftex-toc-map):
10418 * textmodes/reftex-sel.el (reftex-select-label-map)
10419 (reftex-select-bib-map):
10420 * textmodes/reftex-index.el (reftex-index-map)
10421 (reftex-index-phrases-map):
10422 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
10423 * progmodes/meta-mode.el (meta-mode-map):
10424 * novice.el (disabled-command-hook):
10425 * loadhist.el (unload-hook-features-list):
10426 * frame.el (blink-cursor):
10427 * files.el (find-file-not-found-hooks, write-file-hooks)
10428 (write-contents-hooks):
10429 * emulation/tpu-edt.el (GOLD-map):
10430 * emacs-lock.el (emacs-lock-from-exiting):
10431 * emacs-lisp/generic.el (generic-font-lock-defaults):
10432 * emacs-lisp/chart.el (chart-map):
10433 * dos-fns.el (register-name-alist):
10434 * dired-x.el (dired-omit-files-p):
10435 * desktop.el (desktop-enable):
10436 * cus-edit.el (custom-mode-hook):
10437 * buff-menu.el (buffer-menu-mode-hook):
10438 * bookmark.el (bookmark-read-annotation-text-func)
10439 (bookmark-exit-hooks):
10440 * allout.el (allout-mode-deactivate-hook)
10441 (allout-exposure-change-hook, allout-structure-added-hook)
10442 (allout-structure-deleted-hook, allout-structure-shifted-hook):
10443 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
10444 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
10445 comes before the corresponding variable's definition.
10446
10447 2012-05-12 Chong Yidong <cyd@gnu.org>
10448
10449 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
10450 (Buffer-menu-mouse-select): Restore function (Bug#11459).
10451 (Buffer-menu-mode-map): Bind it.
10452 (Buffer-menu--pretty-name): Add a mouse-face property.
10453
10454 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10455
10456 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
10457 (prolog-upper-case-string, prolog-lower-case-string)
10458 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
10459 (prolog-use-smie, prolog-smie-grammar): New vars.
10460 (prolog-smie-forward-token, prolog-smie-backward-token)
10461 (prolog-smie-rules): New funs.
10462 (prolog-comment-indent): Remove.
10463 (prolog-mode-variables): Use default comment indentation instead.
10464 Setup SMIE.
10465 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
10466 (prolog-mode): Don't call them any more.
10467 (prolog-electric-colon, prolog-electric-dash)
10468 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
10469
10470 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
10471
10472 * minibuffer.el (completion--twq-all): Again, allow case differences.
10473
10474 * term.el: Move keymap initialization code to be more idiomatic.
10475 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
10476 (term-terminal-menu): Move initialization into declaration.
10477 (term-escape-char): Let the user set it in her .emacs.
10478
10479 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
10480 Provide SMIE-based indentation (not enabled by default yet).
10481 (sh-mode-map): Don't bind electric keys.
10482 Use electric-pair-mode instead of skeleton-pair.
10483 (sh-assignment-regexp): Fit within 80 columns.
10484 (sh-indent-supported): Specify actual shell name instead of boolean.
10485 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
10486 (sh-maybe-here-document): Use it. Make obsolete.
10487 (sh-electric-here-document-mode) New minor mode.
10488 (sh-mode): Use it. Don't set sh-indent-supported-here here.
10489 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
10490 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
10491 (sh-smie-rc-grammar, sh-use-smie): New vars.
10492 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
10493 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
10494 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
10495 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
10496 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
10497 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
10498 (sh-set-shell): Use smie-setup if requested.
10499
10500 * term.el (term-set-escape-char): Properly set term-escape-char.
10501 See http://stackoverflow.com/questions/10524656.
10502
10503 2012-05-10 Chong Yidong <cyd@gnu.org>
10504
10505 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
10506 Use url-generic-parse-url, and handle host names and Windows
10507 filenames properly.
10508 (ffap-url-unwrap-remote): Use url-generic-parse-url.
10509 (ffap-url-unwrap-remote): Accept list values, specifying a list of
10510 URL schemes to work on.
10511 (ffap--toggle-read-only): New function.
10512 (ffap-read-only, ffap-read-only-other-window)
10513 (ffap-read-only-other-frame): Use it.
10514 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
10515 necessary for ffap-url-unwrap-remote.
10516
10517 2012-05-10 Dave Abrahams <dave@boostpro.com>
10518
10519 * cus-start.el (create-lockfiles): Add it.
10520
10521 2012-05-09 Chong Yidong <cyd@gnu.org>
10522
10523 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
10524 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
10525
10526 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10527
10528 * shell.el (shell-completion-vars): Fix last change (bug#11348).
10529
10530 2012-05-09 Chong Yidong <cyd@gnu.org>
10531
10532 * ansi-color.el (ansi-color-process-output): Check for validity of
10533 comint-last-output-start before using it. This avoids a bad
10534 interaction with gdb-mi's input/output buffer.
10535
10536 2012-05-09 Glenn Morris <rgm@gnu.org>
10537
10538 * files.el (dir-locals-read-from-file):
10539 Mention dir-locals in any error message.
10540
10541 2012-05-09 Chong Yidong <cyd@gnu.org>
10542
10543 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
10544 package (Bug#11410).
10545
10546 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
10547 variables into description.
10548
10549 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10550
10551 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
10552 shell-delimiter-argument-list (bug#11348).
10553 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
10554
10555 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
10556
10557 * textmodes/rst.el: Silence byte-compiler warnings.
10558 (rst-re-alist, rst-reset-section-caches): Move around.
10559 (rst-re): Use `characterp', not `char-valid-p'.
10560 (font-lock-beg, font-lock-end): Declare.
10561
10562 * progmodes/idlw-shell.el (specs): Remove reference to deleted
10563 variable `idlwave-shell-activate-alt-keybindings' and simplify.
10564
10565 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
10566
10567 2012-05-08 Glenn Morris <rgm@gnu.org>
10568
10569 * files.el (auto-mode-alist): Treat ".make" like ".mk".
10570
10571 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10572
10573 * vc/log-edit.el: Add GNU coding standards highlighting.
10574 (log-edit-font-lock-gnu-style)
10575 (log-edit-font-lock-gnu-keywords): New vars.
10576 (log-edit-font-lock-keywords): New fun.
10577 (log-edit-mode): Don't fold case in font-lock.
10578 (log-edit-font-lock-keywords): Do not assume case-folding.
10579
10580 * imenu.el: Misc cleanup. Make docstrings out of comments.
10581 Use lexical-binding.
10582 (imenu--index-alist, imenu--last-menubar-index-alist)
10583 (imenu-menubar-modified-tick): Use defvar-local.
10584 (imenu--split-menu): Remove unused var.
10585 (imenu--cleanup-seen): Declare as global.
10586 (imenu--cleanup): Use dolist.
10587
10588 * subr.el (defvar-local): Add debug spec and doc-string position.
10589
10590 2012-05-08 Glenn Morris <rgm@gnu.org>
10591
10592 * language/burmese.el, language/cham.el, language/czech.el:
10593 * language/english.el, language/georgian.el, language/greek.el:
10594 * language/japanese.el, language/khmer.el, language/korean.el:
10595 * language/lao.el, language/misc-lang.el, language/romanian.el:
10596 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
10597 * language/thai.el, language/utf-8-lang.el:
10598 Remove no-byte-compile setting.
10599
10600 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
10601
10602 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10603
10604 * progmodes/make-mode.el (makefile-browse):
10605 Remove unnecessary interactive. (Bug#11324)
10606
10607 2012-05-07 Glenn Morris <rgm@gnu.org>
10608
10609 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
10610
10611 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
10612
10613 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10614
10615 * loadup.el: Preload newcomment.el.
10616 * newcomment.el: Move autoload-only code to toplevel.
10617
10618 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
10619 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10620 Handle new :right-align column property.
10621 (tabulated-list-print-col): Idem, plus use `display' text-property to
10622 try and preserve alignment for variable pitch fonts.
10623
10624 2012-05-07 Chong Yidong <cyd@gnu.org>
10625
10626 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
10627 (tabulated-list-use-header-line): New var.
10628 (tabulated-list-init-header): Use it.
10629 (tabulated-list-print-fake-header): New function.
10630 (tabulated-list-print): Use it.
10631 (tabulated-list-sort-button-map): Add non-header-line commands.
10632 (tabulated-list-init-header): Add column name property to basic
10633 labels as well.
10634 (tabulated-list-col-sort): Handle non-header-line button case.
10635 (tabulated-list--sort-by-column-name): Fix a corner case.
10636
10637 * buff-menu.el (list-buffers--refresh):
10638 Handle Buffer-menu-use-header-line.
10639
10640 2012-05-06 Chong Yidong <cyd@gnu.org>
10641
10642 * buff-menu.el: Convert to Tabulated List mode.
10643 (Buffer-menu-buffer+size-width): Make obsolete.
10644 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
10645 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
10646 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
10647 documentation into docstring of buffer-menu.
10648 (Buffer-menu-toggle-files-only): Add an informative message.
10649 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
10650 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
10651 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
10652 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
10653 (Buffer-menu-execute, Buffer-menu-select)
10654 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
10655 (Buffer-menu-bury): Use Tabulated List machinery.
10656 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
10657 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
10658 Delete.
10659 (list-buffers--refresh): New function.
10660 (list-buffers-noselect): Use it.
10661 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
10662 (Buffer-menu--pretty-file-name): New helper functions.
10663
10664 * loadup.el: Preload tabulated-list.
10665
10666 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
10667 tabulated-list-sort-column.
10668 (tabulated-list-init-header): Add the initial aligning space even
10669 if tabulated-list-padding is zero.
10670
10671 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
10672
10673 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
10674 whose cdr is not a cons cell correctly (bug#11038).
10675
10676 2012-05-06 Chong Yidong <cyd@gnu.org>
10677
10678 * emacs-lisp/tabulated-list.el (tabulated-list-format):
10679 Accept additional plist in column descriptors.
10680 (tabulated-list-init-header): Obey it.
10681 (tabulated-list-get-entry): New function.
10682 (tabulated-list-put-tag): Use it. Use string-width instead of
10683 length.
10684 (tabulated-list--column-number): New function.
10685 (tabulated-list-print): Use it.
10686 (tabulated-list-print-col): New function.
10687 Set `tabulated-list-column-name' property on each column's text.
10688 (tabulated-list-print-entry): Use it.
10689 (tabulated-list-delete-entry, tabulated-list-set-col):
10690 New functions.
10691 (tabulated-list-sort-column): New command (Bug#11337).
10692
10693 * buff-menu.el (list-buffers): Move C-x C-b binding from
10694 buff-menu.el to bindings.el.
10695
10696 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
10697 :advertised-binding feature.
10698
10699 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
10700
10701 * progmodes/compile.el (compilation-internal-error-properties):
10702 Calculate start position correctly when end-col is set but
10703 end-line is not (Bug#11382).
10704
10705 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
10706
10707 * man.el (Man-unindent): Use text-property-default-nonsticky to
10708 prevent untabify from inheriting face properties (Bug#11408).
10709
10710 2012-05-05 Stefan Merten <smerten@oekonux.de>
10711
10712 * textmodes/rst.el: Major merge with upstream development up to
10713 Docutils SVN r7399 / rst.el V1.2.1.
10714
10715 Clarify maintainership and authors.
10716
10717 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
10718 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
10719 (rst-official-version, rst-official-cvs-rev, rst-version)
10720 (rst-package-emacs-version-alist): New functions and variables
10721 for version information.
10722
10723 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
10724 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
10725 (rst-mode-syntax-table, rst-mode): New and corrected functions
10726 and variables representing reStructuredText features.
10727
10728 (rst-re): New function for reStructuredText regexes. Use in
10729 many places.
10730
10731 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
10732 (rst-mode-map): Rebind keys.
10733
10734 (rst-mode-lazy, rst-font-lock-keywords)
10735 (rst-font-lock-extend-region)
10736 (rst-font-lock-extend-region-internal)
10737 (rst-font-lock-extend-region-extend)
10738 (rst-font-lock-find-unindented-line-limit)
10739 (rst-font-lock-find-unindented-line-match)
10740 (rst-adornment-level, rst-font-lock-adornment-level)
10741 (rst-font-lock-adornment-match)
10742 (rst-font-lock-handle-adornment-pre-match-form)
10743 (rst-font-lock-handle-adornment-matcher): Major revision of
10744 font-locking. Integrate with other code. Use `jit-lock-mode'.
10745
10746 (rst-preferred-adornments, rst-adjust-hook)
10747 (rst-new-adornment-down, rst-preferred-bullets)
10748 (rst-preferred-bullets, rst-indent, rst-indent-width)
10749 (rst-indent-field, rst-indent-literal-normal)
10750 (rst-indent-literal-minimized, rst-indent-comment): Change,
10751 extend and improve customization.
10752
10753 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
10754 (rst-normalize-cursor-position, rst-get-decoration)
10755 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
10756 (rst-rstrip, rst-toc-insert-find-delete-contents)
10757 (rst-shift-fill-region, rst-compute-bullet-tabs)
10758 (rst-debug-print-tabs, rst-debug-mark-found)
10759 (rst-shift-region-guts, rst-shift-region-right)
10760 (rst-shift-region-left, rst-use-char-classes)
10761 (rst-font-lock-keywords-function)
10762 (rst-font-lock-indentation-point)
10763 (rst-font-lock-find-unindented-line-begin)
10764 (rst-font-lock-find-unindented-line-end)
10765 (rst-font-lock-find-unindented-line)
10766 (rst-font-lock-adornment-point, rst-font-lock-level)
10767 (rst-adornment-level-alist): Remove functions and variables.
10768
10769 (rst-compare-adornments, rst-get-adornment-match)
10770 (rst-suggest-new-adornment, rst-get-adornments-around)
10771 (rst-adornment-complete-p, rst-get-next-adornment)
10772 (rst-adjust-adornment, rst-display-adornments-hierarchy)
10773 (rst-straighten-adornments): Standardize function names to
10774 use "adornment" instead of "decoration". Correct callers.
10775 Similar standardizing in many places.
10776
10777 (rst-update-section, rst-adjust, rst-promote-region)
10778 (rst-enumerate-region, rst-bullet-list-region)
10779 (rst-repeat-last-character): Correct use of `interactive'.
10780
10781 (rst-classify-adornment, rst-find-all-adornments)
10782 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
10783 (rst-find-leftmost-column, rst-repeat-last-character):
10784 Refactor functions.
10785
10786 (rst-find-title-line, rst-reset-section-caches)
10787 (rst-get-adornments-around, rst-adjust-adornment-work)
10788 (rst-arabic-to-roman, rst-roman-to-arabic)
10789 (rst-insert-list-pos, rst-insert-list-new-item)
10790 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
10791 New functions.
10792
10793 (rst-all-sections, rst-section-hierarchy)
10794 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
10795 New variables.
10796
10797 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
10798 configuration instead of only buffer. Change where necessary.
10799
10800 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
10801 (rst-shift-region, rst-adaptive-fill): New functions for
10802 indentation and filling.
10803
10804 (rst-comment-line-break, rst-comment-indent)
10805 (rst-comment-insert-comment, rst-comment-region)
10806 (rst-uncomment-region): New functions for handling comments.
10807
10808 (rst-compile): Quote shell arguments.
10809
10810 (rst-compile-pdf-preview, rst-compile-slides-preview):
10811 Delete temporary files after use.
10812
10813 2012-05-05 Glenn Morris <rgm@gnu.org>
10814
10815 * calendar/cal-html.el: Optionally include holidays in the output.
10816 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
10817 (cal-html-holidays): New option.
10818 (cal-html-css-default): Add holiday entry.
10819 (holiday-in-range): Autoload it.
10820 (cal-html-htmlify-entry): Add optional class argument.
10821 (cal-html-htmlify-list): Add optional holidays argument.
10822 (cal-html-insert-agenda-days): Include holidays in the output.
10823 (cal-html-one-month): Maybe include holidays.
10824
10825 * calendar/holidays.el (holiday-in-range):
10826 Move here from cal-tex-list-holidays.
10827 * calendar/cal-tex.el (cal-tex-list-holidays):
10828 Make it an obsolete alias for holiday-in-range. Update all callers.
10829
10830 2012-05-05 Chong Yidong <cyd@gnu.org>
10831
10832 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
10833 Nextstep.
10834
10835 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
10836
10837 * files.el (file-auto-mode-skip): New var.
10838 (set-auto-mode-1): Use it.
10839
10840 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10841
10842 * repeat.el: Use lexical-binding.
10843 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
10844 (repeat-undo-count): Remove.
10845 (repeat):
10846 * progmodes/octave-mod.el (octave-abbrev-start):
10847 * progmodes/f90.el (f90-abbrev-start):
10848 * face-remap.el (text-scale-adjust):
10849 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
10850
10851 * emacs-lisp/pcase.el (pcase--let*): New function.
10852 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
10853 a bit more.
10854 (pcase--split-pred): Be more clever about ruling out overlap between
10855 a predicate and some constant pattern.
10856 (pcase--q1): Use `null' instead of (eq foo nil).
10857
10858 * subr.el (setq-local, defvar-local): New macros.
10859 (kbd): Redefine as an alias.
10860 (with-selected-window): Leave unrelated frames alone.
10861 (set-temporary-overlay-map): New function.
10862
10863 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10864
10865 * subr.el (user-error): New function.
10866 * window.el (switch-to-buffer):
10867 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
10868 (smerge-match-conflict):
10869 * simple.el (previous-matching-history-element)
10870 (next-matching-history-element, goto-history-element, undo-more)
10871 (undo-start):
10872 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
10873 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
10874 (next-file, tags-loop-scan, list-tags, complete-tag):
10875 * progmodes/compile.el (compilation-loop):
10876 * mouse.el (mouse-minibuffer-check):
10877 * man.el (Man-bgproc-sentinel, Man-goto-page):
10878 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
10879 (Info-history-forward, Info-follow-reference, Info-menu)
10880 (Info-extract-menu-item, Info-extract-menu-counting)
10881 (Info-forward-node, Info-backward-node, Info-next-menu-item)
10882 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
10883 (Info-next-reference, Info-prev-reference, Info-index)
10884 (Info-index-next, Info-follow-nearest-node)
10885 (Info-copy-current-node-name):
10886 * imenu.el (imenu--make-index-alist)
10887 (imenu-default-create-index-function, imenu-add-to-menubar):
10888 * files.el (basic-save-buffer, recover-file):
10889 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10890 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
10891 (checkdoc-message-text, checkdoc-defun):
10892 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
10893 * cus-edit.el (customize-changed-options, customize-rogue)
10894 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
10895 (custom-variable-mark-to-reset-standard)
10896 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
10897 (custom-file):
10898 * completion.el (check-completion-length):
10899 * comint.el (comint-search-arg)
10900 (comint-previous-matching-input-string-position)
10901 (comint-previous-matching-input)
10902 (comint-replace-by-expanded-history-before-point, comint-send-input)
10903 (comint-copy-old-input, comint-backward-matching-input)
10904 (comint-goto-process-mark, comint-set-process-mark):
10905 * calendar/calendar.el (calendar-cursor-to-date): Use it.
10906 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
10907
10908 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10909
10910 * dabbrev.el (dabbrev--ignore-case-p): New function.
10911 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
10912 Use it.
10913
10914 * files.el (automount-dir-prefix): Mark as obsolete.
10915
10916 2012-05-04 Glenn Morris <rgm@gnu.org>
10917
10918 * patcomp.el, play/bruce.el: Move to obsolete/.
10919
10920 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
10921
10922 Fix minor Y10k bugs.
10923 * arc-mode.el (archive-unixdate):
10924 * autoinsert.el (auto-insert-alist):
10925 * calc/calc-forms.el (math-this-year):
10926 * emacs-lisp/copyright.el (copyright-current-year)
10927 (copyright-update-year, copyright):
10928 * tar-mode.el (tar-clip-time-string):
10929 * time.el (display-time-update):
10930 Don't assume years have 4 digits.
10931
10932 2012-05-04 Chong Yidong <cyd@gnu.org>
10933
10934 * dos-w32.el (file-name-buffer-file-type-alist)
10935 (direct-print-region-use-command-dot-com):
10936 * ffap.el (ffap-menu-regexp):
10937 * find-file.el (ff-special-constructs):
10938 * follow.el (follow-debug):
10939 * forms.el (forms--debug):
10940 * iswitchb.el (iswitchb-all-frames):
10941 * ido.el (ido-all-frames):
10942 * emacs-lisp/timer.el (timer-max-repeats):
10943 * mail/feedmail.el (feedmail-mail-send-hook)
10944 (feedmail-mail-send-hook-queued):
10945 * mail/footnote.el (footnote-signature-separator):
10946 * mail/mailabbrev.el (mail-alias-separator-string)
10947 (mail-abbrev-mode-regexp):
10948 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
10949 * progmodes/idlwave.el (idlwave-libinfo-file)
10950 (idlwave-default-completion-case-is-down)
10951 (idlwave-library-routines): Convert defvars to defcustoms.
10952
10953 * mail/rmail.el (rmail-decode-mime-charset):
10954 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
10955 (idlwave-shell-fix-inserted-breaks)
10956 (idlwave-shell-activate-alt-keybindings)
10957 (idlwave-shell-use-breakpoint-glyph):
10958 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
10959
10960 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10961
10962 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
10963
10964 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
10965
10966 * progmodes/verilog-mode.el (font-lock-keywords):
10967 Fix mis-highligting auto. Reported by Craig Barner.
10968 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
10969 defines from global name space. Reported by Dan Dever.
10970 (verilog-auto-reset, verilog-auto-reset-widths)
10971 (verilog-auto-tieoff): Support using unbased numbers for
10972 AUTORESET and AUTOTIEOFF.
10973 (verilog-submit-bug-report): Update variable list.
10974 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
10975 parenthesis from not matching. Reported by Michael Rytting.
10976 (verilog-auto-template-lint): Fix hash error when linting modules
10977 with no used templates.
10978 (verilog-warn, verilog-warn-error)
10979 (verilog-warn-fatal): When non-interactive report multiple
10980 warnings before exiting. Suggested by Brad Dobbie.
10981 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
10982 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
10983 to report unused template errors. Reported by Brad Dobbie.
10984 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
10985 nets, bug438. Reported by Vns Blore.
10986 (verilog-auto-inout-module, verilog-auto-reg)
10987 (verilog-read-decls, verilog-read-sub-decls-sig)
10988 (verilog-signals-edit-wire-reg, verilog-signals-with):
10989 Fix passing of Verilog data types in ANSI input/output ports
10990 such as "output logic" into the AUTOs. Special case "wire" and
10991 "reg" for backwards compatibility presuming Verilog 2001.
10992 (verilog-auto-ascii-enum): Add "auto enum" as alias.
10993 (verilog-preprocess): Fix replication of preprocess output.
10994 Reported by Brad Dobbie.
10995 (verilog-auto-inst-interfaced-ports):
10996 Create verilog-auto-inst-interfaced-ports, bug429.
10997 Reported by Julian Gorfajn.
10998 (verilog-after-save-font-hook)
10999 (verilog-before-save-font-hook): New variable.
11000 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11001 (verilog-save-font-mods): Wrap disabling fontification, reported
11002 by David Rogoff.
11003 (verilog-do-indent, verilog-pretty-declarations-auto)
11004 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11005 Reported by Pierre-David Pfister.
11006 (verilog-set-auto-endcomments): Fix endtask auto comments outside
11007 of class declarations, bug292. Reported by Kevin Heilman.
11008 (verilog-read-decls): Fix 'parameter type' not appearing in
11009 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
11010 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
11011 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
11012 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11013 Reported by David Kravitz.
11014
11015 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
11016
11017 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11018 assignment with tests in ifs and for loops.
11019 (verilog-extended-complete-re, verilog-complete-reg): Change so
11020 that DPI inport functions don't look like fuction declarations.
11021 (verilog-pretty-expr): Don't line up assignment
11022 operations to the test and increment in if and for loops
11023 (verilog-extended-complete-re, verilog-complete-reg): Change so
11024 that DPI inport functions don't look like fuction declarations.
11025
11026 2012-05-03 Kenichi Handa <handa@m17n.org>
11027
11028 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
11029 decoding, and show a warning message without signaling an error
11030 (Bug#11282).
11031
11032 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11033
11034 * emacs-lisp/bytecomp.el
11035 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11036 since cconv.el might have introduced :fun-body, internal-make-closure,
11037 and friends for bytecomp to handle (bug#11391).
11038 * custom.el (defcustom): Avoid ((λ ..) ..).
11039
11040 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11041
11042 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11043
11044 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
11045
11046 * notifications.el (dbus-debug):
11047 * term/linux.el (gpm-mouse-enable):
11048 * term/screen.el (xterm-register-default-colors): Declare.
11049
11050 2012-05-02 Chong Yidong <cyd@gnu.org>
11051
11052 * cus-start.el (gc-cons-percentage, exec-suffixes)
11053 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11054 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11055 (make-cursor-line-fully-visible, void-text-area-pointer)
11056 (font-list-limit): Add customization data.
11057
11058 * allout.el (allout-exposure-change-functions)
11059 (allout-structure-added-functions)
11060 (allout-structure-deleted-functions)
11061 (allout-structure-shifted-functions): Rename abnormal hooks from
11062 *-hook, and convert to defcustoms.
11063 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11064 Convert to defcustoms.
11065 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11066
11067 * allout-widgets.el: Hook callers changed.
11068
11069 2012-05-02 Eli Zaretskii <eliz@gnu.org>
11070
11071 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11072 the yanked message in preference to the default value of
11073 buffer-file-coding-system.
11074
11075 2012-05-02 Martin Rudalics <rudalics@gmx.at>
11076
11077 * window.el (display-buffer--action-function-custom-type):
11078 Fix entry.
11079
11080 2012-05-02 Alan Mackenzie <acm@muc.de>
11081
11082 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11083
11084 2012-05-01 Glenn Morris <rgm@gnu.org>
11085
11086 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11087
11088 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11089
11090 * cus-edit.el (custom-variable-documentation): Simplify with format.
11091
11092 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11093 Stefan Monnier <monnier@iro.umontreal.ca>
11094
11095 * simple.el (suggest-key-bindings, execute-extended-command):
11096 Move from keyboard.c.
11097
11098 2012-05-01 Chong Yidong <cyd@gnu.org>
11099
11100 * follow.el: Eliminate advice.
11101 (set-process-filter, process-filter, sit-for): Advice deleted.
11102 (follow-mode-off-hook): Obsolete hook removed.
11103 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11104 Vars deleted.
11105 (follow-auto): Use a :set function.
11106 (follow-mode): Rewritten. Don't advise process filters.
11107 (follow-switch-to-current-buffer-all, follow-scroll-up)
11108 (follow-scroll-down): Assume follow-mode is bound.
11109 (follow-comint-scroll-to-bottom)
11110 (follow-align-compilation-windows): New functions.
11111 (follow--window-sorter): New function.
11112 (follow-all-followers): Use it to explicitly sort windows by their
11113 positions; don't make assumptions about next-window order.
11114 (follow-windows-start-end, follow-delete-other-windows-and-split)
11115 (follow-calc-win-start): Doc fix.
11116 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11117 vertical-motion unnecessarily.
11118 (follow-adjust-window): New function.
11119 (follow-post-command-hook): Use it.
11120 (follow-call-set-process-filter, follow-call-process-filter)
11121 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11122 (follow-stop-intercept-process-output, follow-generic-filter):
11123 Functions deleted.
11124 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
11125 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11126 New functions, replacing advice on scroll-bar-* commands.
11127 (follow-mwheel-scroll): New function (Bug#4112).
11128
11129 * comint.el (comint-adjust-point): New function.
11130 (comint-postoutput-scroll-to-bottom): Use it.
11131 Call follow-comint-scroll-to-bottom for Follow mode buffers.
11132
11133 2012-05-01 Glenn Morris <rgm@gnu.org>
11134
11135 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
11136 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
11137 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
11138 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
11139 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
11140 Remove no-byte-compile setting.
11141
11142 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11143
11144 * minibuffer.el (completion-table-with-quoting): Fix compatibility
11145 all-completions code to not return a number in the last cdr.
11146
11147 2012-04-30 Leo Liu <sdl.web@gmail.com>
11148
11149 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11150 read-only error.
11151
11152 2012-04-29 Chong Yidong <cyd@gnu.org>
11153
11154 * follow.el (follow-calc-win-end): Rewrite to handle partial
11155 screen lines correctly (Bug#8390).
11156 (follow-avoid-tail-recenter): Minor cleanup.
11157
11158 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11159
11160 Avoid the obsolete `assoc' package.
11161 * speedbar.el (speedbar-refresh): Avoid adelete.
11162 (speedbar-file-lists): Simplify and avoid aput.
11163 * man.el (Man--sections, Man--refpages): New vars, replacing
11164 Man-sections-alist and Man-refpages-alist.
11165 (Man-build-section-alist, Man-build-references-alist):
11166 Use them; avoid aput.
11167 (Man--last-section, Man--last-refpage): New vars.
11168 (Man-follow-manual-reference): Use them.
11169 Use the `default' arg of completing-read.
11170 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11171
11172 2012-04-27 Chong Yidong <cyd@gnu.org>
11173
11174 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11175
11176 * startup.el (x-apply-session-resources): New function.
11177
11178 * term/ns-win.el (ns-initialize-window-system):
11179 * term/w32-win.el (w32-initialize-window-system):
11180 * term/x-win.el (x-initialize-window-system): Use it to properly
11181 set menu-bar-mode and other vars from X resources, even if the
11182 initial frame is not a window-system frame (Bug#2299).
11183
11184 * subr.el (read-key): Avoid running filter function when setting
11185 up temporary tool bar entries (Bug#9922).
11186
11187 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11188
11189 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11190 (Bug#11344)
11191
11192 2012-04-27 Chong Yidong <cyd@gnu.org>
11193
11194 * select.el (xselect--encode-string): New function, split from
11195 xselect-convert-to-string.
11196 (xselect-convert-to-string): Use it.
11197 (xselect-convert-to-filename, xselect-convert-to-os)
11198 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11199 returned strings are properly encoded (Bug#11315).
11200
11201 2012-04-27 Chong Yidong <cyd@gnu.org>
11202
11203 * simple.el (delete-active-region): Move to killing custom group.
11204
11205 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11206
11207 * progmodes/which-func.el (which-func-current): Quote %
11208 characters for mode-line processing.
11209
11210 2012-04-27 Chong Yidong <cyd@gnu.org>
11211
11212 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11213 reaching eob (Bug#11286).
11214
11215 2012-04-27 Eli Zaretskii <eliz@gnu.org>
11216
11217 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11218 (gdb): Make it buffer-local and init to zero.
11219 (gdb-control-commands-regexp): New variable.
11220 (gdb-send): Don't wrap in "-interpreter-exec console" if
11221 gdb-control-level is positive. Increment gdb-control-level
11222 whenever the command matches gdb-control-commands-regexp, and
11223 decrement it each time the command is "end". (Bug#11279)
11224
11225 2012-04-27 Martin Rudalics <rudalics@gmx.at>
11226
11227 * window.el (adjust-window-trailing-edge, enlarge-window)
11228 (shrink-window, window-resize):
11229 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11230 windows (Bug#11276).
11231
11232 2012-04-27 Chong Yidong <cyd@gnu.org>
11233
11234 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
11235 fix "missing prefix" warning. All callers changed.
11236
11237 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11238
11239 * emacs-lisp/assoc.el: Move to obsolete/.
11240
11241 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11242
11243 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
11244
11245 * term/ns-win.el (ns-define-service):
11246 * progmodes/pascal.el (pascal-goto-defun):
11247 * progmodes/js.el (js--read-tab):
11248 * progmodes/etags.el (tags-lazy-completion-table):
11249 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11250 * emacs-lisp/ewoc.el (ewoc--wrap):
11251 * emacs-lisp/assoc.el (aput, adelete, amake):
11252 * doc-view.el (doc-view-convert-current-doc):
11253 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11254
11255 2012-04-26 Chong Yidong <cyd@gnu.org>
11256
11257 * image.el (image-type-from-buffer): Only return supported image
11258 type (Bug#9045).
11259
11260 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11261 value, for symmetry with diff-end-of-hunk.
11262 (diff-split-hunk, diff-find-source-location)
11263 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11264 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11265 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11266 compute the relevant hunk or file properly (Bug#6005).
11267 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11268
11269 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11270
11271 * vc/vc-mtn.el:
11272 * vc/vc-hg.el:
11273 * vc/vc-git.el:
11274 * vc/vc-dir.el:
11275 * vc/vc-cvs.el:
11276 * vc/vc-bzr.el:
11277 * vc/vc-arch.el:
11278 * vc/vc.el: Replace lexical-let by lexical-binding.
11279 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11280 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11281 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11282
11283 2012-04-26 Chong Yidong <cyd@gnu.org>
11284
11285 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11286 (diff-mode-shared-map): Bind it to / and [remap undo].
11287
11288 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11289 (ediff-window-setup-function): Use it as the default, to set up
11290 windows based on whether the current frame is graphical (Bug#2138).
11291 (ediff-choose-window-setup-function-automatically): Make obsolete.
11292
11293 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11294
11295 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11296
11297 * ffap.el: Remove old code for obsolete package.
11298 (ffap-complete-as-file-p): Remove.
11299
11300 Use completion-table-with-quoting for comint and pcomplete.
11301 * comint.el (comint--unquote&requote-argument)
11302 (comint--unquote-argument, comint--requote-argument): New functions.
11303 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11304 (comint-quote-filename): Use regexp-opt-charset.
11305 (comint--common-suffix, comint--common-quoted-suffix)
11306 (comint--table-subvert): Remove.
11307 (comint-unquote-function, comint-requote-function): New vars.
11308 (comint--complete-file-name-data): Use them with
11309 completion-table-with-quoting.
11310 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11311 * pcomplete.el (pcomplete-arg-quote-list)
11312 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11313 (pcomplete-unquote-argument-function): Default to non-nil.
11314 (pcomplete-unquote-argument): Simplify.
11315 (pcomplete--common-quoted-suffix): Remove.
11316 (pcomplete-requote-argument-function): New var.
11317 (pcomplete--common-suffix): New function.
11318 (pcomplete-completions-at-point): Use completion-table-with-quoting
11319 and completion-table-subvert.
11320
11321 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11322 (minibuffer--double-dollars): Preserve properties.
11323 (completion--sifn-requote): New function.
11324 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11325
11326 * minibuffer.el: Add support for completion of quoted/escaped data.
11327 (completion-table-with-quoting, completion-table-subvert): New funs.
11328 (completion--twq-try, completion--twq-all): New functions.
11329 (completion--nth-completion): New function.
11330 (completion-try-completion, completion-all-completions): Use it.
11331
11332 2012-04-25 Leo Liu <sdl.web@gmail.com>
11333
11334 * progmodes/python.el (python-pdbtrack-get-source-buffer):
11335 Use compilation-message if available to find real filename.
11336
11337 2012-04-25 Chong Yidong <cyd@gnu.org>
11338
11339 * vc/diff-mode.el (diff-setup-whitespace): New function.
11340 (diff-mode): Use it.
11341
11342 * vc/diff.el (diff-sentinel):
11343 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11344 Whitespace mode variables based on diff style (Bug#8612).
11345
11346 2012-04-25 Leo Liu <sdl.web@gmail.com>
11347
11348 * progmodes/python.el (python-send-region): Add suffix .py to the
11349 temp file.
11350
11351 * files.el (auto-mode-alist): Use javascript-mode instead.
11352
11353 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
11354
11355 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
11356
11357 * net/soap-client.el (soap-resolve-references-for-sequence-type)
11358 (soap-resolve-references-for-array-type): Hack to prevent self
11359 references, see Bug#9.
11360 (soap-parse-envelope): Report the contents of the 'detail' node
11361 when receiving a fault reply.
11362 (soap-parse-envelope): Report the contents of the entire 'detail' node.
11363
11364 * net/soap-inspect.el (soap-sample-value-for-simple-type)
11365 (soap-inspect-simple-type): New function.
11366
11367 * net/soap-client.el (soap-simple-type): New struct.
11368 (soap-default-xsd-types, soap-default-soapenc-types)
11369 (soap-decode-basic-type, soap-encode-basic-type):
11370 support unsignedInt and double basic types.
11371 (soap-resolve-references-for-simple-type)
11372 (soap-parse-simple-type, soap-encode-simple-type): New function.
11373 (soap-parse-schema): Parse xsd:simpleType declarations.
11374
11375 * net/soap-client.el (soap-default-xsd-types)
11376 (soap-default-soapenc-types): Add integer, byte and anyURI types.
11377 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
11378 the local name of "soapenc:Array".
11379 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
11380 decoding integer, byte and anyURI xsd types.
11381
11382 2012-04-25 Chong Yidong <cyd@gnu.org>
11383
11384 * cus-edit.el (custom-buffer-create-internal): Update header text.
11385
11386 2012-04-25 Eli Zaretskii <eliz@gnu.org>
11387
11388 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
11389 settings on 'system-type', not on 'window-system'. On MS-Windows,
11390 set interactive-mode on in GDB.
11391
11392 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11393
11394 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
11395 (ruby-syntax-propertize-regexp): Remove.
11396 (ruby-syntax-propertize-function): Split regexp into chunks.
11397 Match following code directly.
11398
11399 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
11400
11401 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
11402 (ruby-syntax-propertize-regexp): New function.
11403 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
11404 by a special keyword.
11405
11406 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
11407 (ruby-syntax-general-delimiters-goto-beg)
11408 (ruby-syntax-propertize-general-delimiters): New functions.
11409 (ruby-syntax-propertize-function): Use them to handle GDL.
11410 (ruby-font-lock-keywords): Move old handling of GDL...
11411 (ruby-font-lock-syntactic-keywords): .. to here.
11412 (ruby-calculate-indent): Adjust indentation for GDL.
11413
11414 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
11415
11416 * notifications.el (top): Remove unneeded declarations.
11417 (notifications-specification-version): Change to "1.2".
11418 (notifications-interface, notifications-notify-method)
11419 (notifications-close-notification-method): Fix docstring.
11420 (notifications-get-capabilities-method): New defconst.
11421 (notifications-notify): Add :action-items, :resident and
11422 :transient hints. Change "image_data" to "image-data" and
11423 "image_path" to "image-path".
11424 (notifications-get-capabilities): New defun.
11425
11426 2012-04-24 Leo Liu <sdl.web@gmail.com>
11427
11428 * progmodes/python.el: Move hideshow setup to the end.
11429
11430 2012-04-24 Martin Rudalics <rudalics@gmx.at>
11431
11432 * window.el (handle-select-window): Clear echo area since this is
11433 no more done by read_char (Bug#11304).
11434
11435 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11436
11437 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
11438 and `/ M' to filter-derived-mode.
11439 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
11440 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
11441 (ibuffer-mark-by-mode): Use default rather than initial-input.
11442 (ibuffer-filter-by-derived-mode): Autoload and require-match.
11443
11444 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
11445
11446 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
11447 (ibuffer-filter-by-derived-mode): New filter.
11448 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
11449
11450 2012-04-23 Andreas Politz <politza@fh-trier.de>
11451
11452 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
11453
11454 2012-04-23 Chong Yidong <cyd@gnu.org>
11455
11456 * cus-edit.el (customize-apropos, customize-apropos-options):
11457 Disable matching of non-option variables (Bug#11176).
11458 (customize-option, customize-option-other-window)
11459 (customize-changed-options): Doc fix.
11460 (customize-apropos-options, customize-apropos-faces)
11461 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
11462
11463 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
11464 Fix word list splitting (Bug#11132).
11465 (apropos-symbol, apropos-keybinding, apropos-label)
11466 (apropos-property, apropos-function-button)
11467 (apropos-variable-button, apropos-misc-button): New faces.
11468 (apropos-symbol-face, apropos-keybinding-face)
11469 (apropos-label-face, apropos-property-face, apropos-match-face):
11470 Variables removed (Bug#8396).
11471 (apropos-library-button, apropos-format-plist, apropos-print)
11472 (apropos-print-doc, apropos-describe-plist): Callers changed.
11473
11474 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
11475
11476 * net/xesam.el (xesam-mode-map): Use let-bound map in
11477 initialization. (Bug#11292)
11478
11479 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11480
11481 Preserve ispell session localwords when switching back to
11482 original buffer.
11483
11484 * textmodes/ispell.el (ispell-buffer-session-localwords):
11485 New buffer-local variable to hold buffer session localwords.
11486 (ispell-kill-ispell): Add option 'clear to delete session
11487 localwords.
11488 (ispell-command-loop, ispell-change-dictionary)
11489 (ispell-buffer-local-words): Preserve session localwords when
11490 needed.
11491
11492 * textmodes/flyspell.el (flyspell-process-localwords)
11493 (flyspell-do-correct): Preserve session localwords when needed.
11494
11495 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11496
11497 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
11498 using obsolete `translation-table-for-input'.
11499 (ispell-word, ispell-process-line, ispell-complete-word):
11500 Use plain `insert' instead of removed `ispell-insert-word'.
11501
11502 2012-04-22 Chong Yidong <cyd@gnu.org>
11503
11504 * cus-edit.el (custom-variable-menu)
11505 (custom-variable-reset-saved, custom-face-menu)
11506 (custom-face-reset-saved): If there is no saved value, make the
11507 "reset-saved" operation bring back the default (Bug#9509).
11508 (custom-face-state): Properly detect themed faces.
11509
11510 * faces.el (face-spec-set): Stop supporting deprecated form of
11511 third arg.
11512
11513 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
11514
11515 Move functions from C to Lisp. Make non-blocking method calls
11516 the default. Implement further D-Bus standard interfaces.
11517
11518 * net/dbus.el (dbus-message-internal): Declare function.
11519 Remove unneeded function declarations.
11520 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
11521 (dbus-message-type-method-return, dbus-message-type-error)
11522 (dbus-message-type-signal): Declare variables. Remove local
11523 definitions.
11524 (dbus-interface-dbus, dbus-interface-peer)
11525 (dbus-interface-introspectable, dbus-interface-properties)
11526 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
11527 Adapt docstring.
11528 (dbus-interface-objectmanager): New defconst.
11529 (dbus-call-method, dbus-call-method-asynchronously)
11530 (dbus-send-signal, dbus-method-return-internal)
11531 (dbus-method-error-internal, dbus-register-service)
11532 (dbus-register-signal, dbus-register-method): New defuns, moved
11533 from dbusbind.c
11534 (dbus-call-method-handler, dbus-setenv)
11535 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
11536 New defuns.
11537 (dbus-call-method-non-blocking): Make it an obsolete function.
11538 (dbus-unregister-object, dbus-unregister-service)
11539 (dbus-handle-event, dbus-register-property)
11540 (dbus-property-handler): Obey the new structure of
11541 `bus-registered-objects'.
11542 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
11543 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11544 Use `dbus-call-method'.
11545
11546 2012-04-22 Chong Yidong <cyd@gnu.org>
11547
11548 * cus-edit.el (custom-commands, custom-reset-menu)
11549 (Custom-reset-standard): Tweak labels.
11550 (custom-reset-button-menu): Change default to t.
11551 (custom-buffer-create-internal): For the custom-reset-button-menu
11552 case, put the revert button first.
11553 (custom-group-subtitle): New face.
11554 (custom-group-value-create): Align docstring to a specific column.
11555
11556 * wid-edit.el (widget-documentation-link-add): Don't handle
11557 indentation in this function.
11558 (widget-documentation-string-indent-to): New function.
11559 (widget-documentation-string-value-create): Use it.
11560
11561 * autorevert.el (auto-revert):
11562 * epg-config.el (epg):
11563 * ibuffer.el (ibuffer):
11564 * mpc.el (mpc):
11565 * ses.el (ses):
11566 * eshell/eshell.el (eshell):
11567 * net/ange-ftp.el (ange-ftp):
11568 * progmodes/ebnf2ps.el (postscript):
11569 * progmodes/flymake.el (flymake):
11570 * progmodes/prolog.el (prolog):
11571 * progmodes/verilog-mode.el (verilog-mode):
11572 * progmodes/which-func.el (which-func):
11573 * term/xterm.el (xterm):
11574 * textmodes/picture.el (picture):
11575 * textmodes/tildify.el (tildify):
11576 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
11577 customization buffers.
11578
11579 2012-04-22 Alan Mackenzie <acm@muc.de>
11580
11581 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11582 Adding a ) can hide the resulting (..) from searches. Fix it.
11583 Bound the backward search to the position of the existing (.
11584
11585 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
11586
11587 * progmodes/verilog-mode.el (verilog-mode): Check whether
11588 which-func-modes is t before adding verilog-mode.
11589 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
11590
11591 2012-04-21 Leo Liu <sdl.web@gmail.com>
11592
11593 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
11594
11595 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
11596
11597 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
11598 filling of the last column of a table (Bug#5635).
11599 (woman-find-next-control-line): New arg, specifying an additional
11600 regexp component for the control line.
11601 (woman2-roff-buffer): Use it.
11602 (woman-break-table): New function.
11603 (woman2-TS): Use it.
11604
11605 2012-04-21 Chong Yidong <cyd@gnu.org>
11606
11607 * woman.el (woman-set-buffer-display-table, woman-decode-region)
11608 (woman-horizontal-escapes, woman-negative-vertical-space)
11609 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
11610 (WoMan-warn-ignored): Use ?\s instead of ?\ .
11611
11612 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11613
11614 * minibuffer.el (completion-file-name-table): Complete user names.
11615
11616 2012-04-20 Leo Liu <sdl.web@gmail.com>
11617
11618 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
11619 and pcase-let*.
11620
11621 2012-04-20 Chong Yidong <cyd@gnu.org>
11622
11623 * server.el (server-execute): Respect initial-buffer-choice if it
11624 is a string and there are no files to open (Bug#2825).
11625 (server-create-window-system-frame, server-create-tty-frame):
11626 Don't switch buffers here.
11627 (server-process-filter): Only try to open a window system frame if
11628 compiled with graphical support (Bug#8314).
11629
11630 2012-04-20 Dan Nicolaescu <dann@gnu.org>
11631
11632 * battery.el (battery-echo-area-format): Display remaining time
11633 for sysfs backend too (Bug#11269).
11634 (battery-linux-sysfs): Fix conditional for the charge.
11635
11636 2012-04-20 Chong Yidong <cyd@gnu.org>
11637
11638 * progmodes/gdb-mi.el (gdb): Revert previous change.
11639 (gdb-inferior-io--init-proc): New function.
11640 (gdb-init-1): Use it.
11641 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
11642 responsible for allocating a new pty and hooking it to gdb when
11643 the old pty gets an EIO due to process exit.
11644 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
11645 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
11646 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
11647
11648 2012-04-20 Eli Zaretskii <eliz@gnu.org>
11649
11650 * window.el (window-min-size, window-sizable, window-min-delta)
11651 (window-max-delta, window--resizable, window-resizable)
11652 (window-total-size, window-full-height-p, window-full-width-p)
11653 (window-in-direction, window--resize-mini-window, window-resize)
11654 (window--resize-child-windows-normal)
11655 (window--resize-child-windows, window--resize-siblings)
11656 (window--resize-this-window, adjust-window-trailing-edge)
11657 (enlarge-window, shrink-window): Doc fixes.
11658
11659 2012-04-20 Chong Yidong <cyd@gnu.org>
11660
11661 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
11662 New function to call delete-process on the gdb-inferior buffer's pty.
11663 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
11664 pty process (Bug#11273).
11665 (gdb-update): New arg to suppress talking to the gdb process.
11666 (gdb-done-or-error): Use it.
11667 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
11668 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
11669 sentinel not being called.
11670
11671 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
11672
11673 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
11674
11675 2012-04-20 Glenn Morris <rgm@gnu.org>
11676
11677 * net/network-stream.el (open-network-stream): Doc fix.
11678
11679 2012-04-20 Chong Yidong <cyd@gnu.org>
11680
11681 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
11682
11683 2012-04-20 Alan Mackenzie <acm@muc.de>
11684
11685 Ensure searching for keywords is case sensitive.
11686
11687 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
11688 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
11689 (c-defun-name, c-mark-function, c-cpp-define-name)
11690 (c-comment-indent, c-scan-conditionals, c-indent-defun)
11691 (c-context-line-break): Bind case-fold-search to nil.
11692
11693 * progmodes/cc-mode.el (c-font-lock-fontify-region):
11694 Bind case-fold-search to nil.
11695
11696 2012-04-20 Chong Yidong <cyd@gnu.org>
11697
11698 * mail/sendmail.el (mail-bury): Call return action with the right
11699 Rmail buffer (Bug#11242).
11700
11701 * server.el (server-process-filter): Handle corner case where both
11702 tty and nowait options are present (Bug#11102).
11703
11704 2012-04-20 Eli Zaretskii <eliz@gnu.org>
11705
11706 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
11707 (top level): Put into the executable the ident-style '$Id:' tag on
11708 windows-nt as well.
11709
11710 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11711
11712 * electric.el (electric-indent-post-self-insert-function): Check that
11713 electric-indent-mode is enabled in current buffer.
11714
11715 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
11716
11717 * imenu.el (imenu-progress-message): Restore; it is "used" in
11718 erc/erc-imenu.el and net/snmp-mode.el.
11719
11720 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
11721
11722 * avoid.el (mouse-avoidance-mode): Mark unused arg.
11723 (mouse-avoidance-nudge-mouse): Remove unused binding.
11724
11725 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
11726
11727 * descr-text.el (describe-char):
11728 * progmodes/python.el (python-describe-symbol):
11729 Don't call `toggle-read-only', set `buffer-read-only'.
11730
11731 * imenu.el (imenu-default-goto-function): Mark unused args.
11732 (imenu-progress-message): Remove obsolete macro; all callers changed.
11733
11734 * subr.el (keymap-canonicalize): Remove unused binding.
11735 (read-passwd): Mark unused arg.
11736
11737 * tutorial.el (tutorial--display-changes): Remove unused binding.
11738 (tutorial--save-tutorial-to): Remove unused variable.
11739
11740 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
11741 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
11742 (package-generate-autoloads, package-menu--generate)
11743 (package-menu--find-upgrades): Remove unused bindings.
11744
11745 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
11746 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
11747 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
11748 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
11749 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
11750 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
11751 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
11752 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
11753 (cua-delete-char-rectangle): Mark unused args.
11754 (cua-align-rectangle): Remove unused binding.
11755
11756 * mail/rmail.el (compilation--message->loc)
11757 (epa--find-coding-system-for-mime-charset): Declare.
11758
11759 * net/dbus.el (dbus-register-service): Declare.
11760 (dbus-name-owner-changed-handler): Remove unused binding.
11761
11762 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
11763 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
11764 (nxml-scan-backward-within): Mark unused arg.
11765 (nxml-dynamic-markup-word): Remove unused binding.
11766
11767 * mouse.el (mouse-menu-major-mode-map):
11768 * emacs-lisp/authors.el (authors-scan-change-log)
11769 (authors-add-to-author-list):
11770 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
11771 * emacs-lisp/smie.el (smie-auto-fill):
11772 * mail/sendmail.el (mail-bury):
11773 * mail/unrmail.el (unrmail):
11774 * net/tls.el (open-tls-stream):
11775 * textmodes/picture.el (picture-mouse-set-point):
11776 Remove unused bindings.
11777
11778 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
11779
11780 * net/tramp.el (tramp-action-password): Let-bind
11781 `enable-recursive-minibuffers' to t.
11782
11783 2012-04-18 Sam Steingold <sds@gnu.org>
11784
11785 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
11786 instead of 'string to accommodate values like [f11].
11787 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
11788 * progmodes/gdb-mi.el: Likewise.
11789
11790 2012-04-18 Leo Liu <sdl.web@gmail.com>
11791
11792 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
11793 current buffer.
11794 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
11795 LOCAL is nil.
11796
11797 2012-04-18 Chong Yidong <cyd@gnu.org>
11798
11799 * simple.el (line-move): Use forward-line if in batch mode
11800 (Bug#11053).
11801
11802 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
11803
11804 * files.el (after-find-file): Do not try to add a final newline if
11805 the buffer is read-only (Bug#11156).
11806
11807 2012-04-17 Richard Stallman <rms@gnu.org>
11808
11809 * mail/rmail.el (rmail-start-mail):
11810 Pass (rmail-mail-return...) for the return-action.
11811 Pass (rmail-yank-current-message...) for the yank-action.
11812 (rmail-yank-current-message): New function.
11813 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
11814 (rmail-reply): Likewise.
11815 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
11816
11817 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
11818 buffer, not the last. Reject temp buffers. Use the rmail-mode
11819 buffer, not newbuf.
11820
11821 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
11822
11823 * server.el (server-ensure-safe-dir): Simplify.
11824
11825 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11826
11827 * emacs-lisp/smie.el: Provide smarter auto-filling.
11828 (smie-auto-fill): New function.
11829 (smie-setup): Use it.
11830
11831 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
11832
11833 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
11834
11835 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
11836 (comment-indent): Use it.
11837
11838 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
11839
11840 * ses.el: The overall change is to add cell renaming, that is
11841 setting fancy names for cell symbols other than name matching
11842 "\\`[A-Z]+[0-9]+\\'" regexp .
11843 (ses-localvars): Add ses--renamed-cell-symb-list.
11844 (ses-create-cell-variable): New defun.
11845 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
11846 (ses-relocate-formula): Relocate formulas only for cells the
11847 symbols of which are not renamed, i.e. symbols whose names do not
11848 match regexp "\\`[A-Z]+[0-9]+\\'".
11849 (ses-relocate-all): Relocate values only for cells the symbols of
11850 which are not renamed.
11851 (ses-load): Create cells variables as the (ses-cell ...) are read,
11852 in order to check row col consistency with cell symbol name only
11853 for cells that are not renamed.
11854 (ses-replace-name-in-formula): New defun.
11855 (ses-rename-cell): New defun.
11856
11857 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
11858
11859 * progmodes/perl-mode.el (perl-indent-parens-as-block):
11860 New option (bug#11118).
11861 (perl-calculate-indent): Respect it.
11862
11863 2012-04-17 Glenn Morris <rgm@gnu.org>
11864
11865 * dired-aux.el (dired-mark-read-string): Doc fix.
11866
11867 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
11868
11869 * dired-aux.el (dired-mark-read-string): Offer optional completion.
11870 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
11871
11872 2012-04-17 Glenn Morris <rgm@gnu.org>
11873
11874 * mouse.el (mouse-drag-track):
11875 * speedbar.el (speedbar-frame-mode):
11876 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
11877
11878 2012-04-16 Leo Liu <sdl.web@gmail.com>
11879
11880 * progmodes/python.el: Trivial cleanup.
11881
11882 2012-04-16 Glenn Morris <rgm@gnu.org>
11883
11884 * vc/vc.el (vc-string-prefix-p):
11885 * vc/pcvs-util.el (cvs-string-prefix-p):
11886 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
11887 * mpc.el (mpc-string-prefix-p):
11888 Make all of these into obsolete aliases for string-prefix-p.
11889 Update callers.
11890 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
11891
11892 * textmodes/two-column.el: Move custom options to the start.
11893 (frame-width): Remove compat definition.
11894 (2C-associate-buffer, 2C-dissociate):
11895 Use with-current-buffer rather than save-excursion.
11896 (2C-dissociate): Force a mode-line update.
11897 (2C-autoscroll): Use ignore-errors.
11898
11899 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
11900 Autoload trivia.
11901
11902 * emacs-lisp/cl-extra.el (*random-state*):
11903 Remove unnecessary declaration.
11904
11905 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
11906
11907 * play/cookie1.el (cookie-snarf):
11908 Give an explicit error if input file cannot be read.
11909
11910 * play/yow.el (yow-file): Use expand-file-name rather than concat.
11911
11912 * progmodes/perl-mode.el (c-macro-expand):
11913 Remove unnecessary autoload (it is in loaddefs.el).
11914
11915 * textmodes/picture.el (picture-desired-column)
11916 (picture-update-desired-column): Convert comments to doc-strings.
11917 (picture-substitute): Remove function.
11918 (picture-mode-map): Initialize in the defvar.
11919
11920 * woman.el: Remove eval-after-load for tar-mode.
11921 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
11922 (woman-tar-extract-file): Autoload it.
11923
11924 * frame.el (automatic-hscrolling): Make this alias obsolete.
11925
11926 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11927
11928 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
11929 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
11930 (ispell-dictionary-base-alist): Revert to original XEmacs
11931 friendly version for default. [:alpha:] will be added in
11932 `ispell-set-spellchecker-params' if needed.
11933
11934 2012-04-16 Chong Yidong <cyd@gnu.org>
11935
11936 * image.el (imagemagick--file-regexp): New variable.
11937 (imagemagick-register-types): Use it.
11938 (imagemagick-types-inhibit): Add :set function. Allow new value
11939 of t to inhibit all types.
11940
11941 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
11942 so we can preload it.
11943
11944 * loadup.el (fboundp): Preload regexp-opt, needed by
11945 imagemagick-register-types.
11946
11947 2012-04-15 Chong Yidong <cyd@gnu.org>
11948
11949 * frame.el (scrolling): Remove nearly unused customization group.
11950
11951 * scroll-all.el (scroll-all-mode): Move to windows group.
11952
11953 2012-04-15 Chong Yidong <cyd@gnu.org>
11954
11955 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
11956
11957 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11958
11959 Avoid the use of ((lambda ...) ...) in lexical-binding code.
11960 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
11961
11962 2012-04-15 Glenn Morris <rgm@gnu.org>
11963
11964 * simple.el (process-file-side-effects): Doc fix.
11965
11966 2012-04-15 Glenn Morris <rgm@gnu.org>
11967
11968 * international/mule-cmds.el (set-language-environment): Doc fix.
11969
11970 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
11971
11972 * server.el (server-auth-key, server-generate-key): Doc fixes.
11973 (server-get-auth-key): Doc fix. Use `string-match-p'.
11974 (server-start): Reflow docstring.
11975
11976 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
11977
11978 * server.el (server-generate-key): `called-interactively-p'
11979 requires a parameter.
11980
11981 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
11982
11983 * server.el (server-auth-key): New variable.
11984 (server-generate-key, server-get-auth-key): New function.
11985 (server-start): Use the new variable and functions to allow
11986 setting a permanent server key (bug#9423).
11987
11988 2012-04-14 Leo Liu <sdl.web@gmail.com>
11989
11990 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
11991
11992 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
11993
11994 Spelling fixes.
11995 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
11996 Emacs uses American spelling.
11997
11998 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
11999
12000 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12001 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
12002 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12003 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
12004
12005 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12006
12007 * progmodes/which-func.el (which-func-modes): Change default.
12008
12009 2012-04-14 Kim F. Storm <storm@cua.dk>
12010
12011 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12012 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12013
12014 2012-04-14 Chong Yidong <cyd@gnu.org>
12015
12016 * custom.el (custom-theme-set-variables): Doc fix.
12017
12018 2012-04-14 Glenn Morris <rgm@gnu.org>
12019
12020 * international/mule.el (set-auto-coding-for-load): Doc fix.
12021
12022 2012-04-14 Alan Mackenzie <acm@muc.de>
12023
12024 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12025 imenu work again for Objective C Mode. Correct the *-index values,
12026 these having been disturbed by a previous change in 2011-08.
12027
12028 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12029 Correct two search limits.
12030
12031 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12032
12033 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12034
12035 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
12036
12037 * international/characters.el: Fix sorting.
12038
12039 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12040
12041 * international/characters.el: Add more missing Latin case pairs.
12042
12043 2012-04-14 Glenn Morris <rgm@gnu.org>
12044
12045 * files.el (dir-locals-set-class-variables): Doc fix.
12046
12047 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12048
12049 * international/characters.el: Add set-case-syntax-pair call for
12050 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12051 counterpart. (Bug#11209)
12052
12053 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12054
12055 2012-04-14 Glenn Morris <rgm@gnu.org>
12056
12057 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12058
12059 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12060
12061 * textmodes/ispell.el (ispell-dictionary-base-alist):
12062 Add data for Hebrew.
12063
12064 2012-04-14 Chong Yidong <cyd@gnu.org>
12065
12066 * net/rcirc.el (rcirc-cmd-quit):
12067 Revert 2012-03-18 change (Bug#11192).
12068
12069 2012-04-14 Glenn Morris <rgm@gnu.org>
12070
12071 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12072
12073 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12074
12075 * minibuffer.el (completion-in-region-mode-map):
12076 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
12077
12078 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12079
12080 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12081
12082 2012-04-13 Masatake YAMATO <yamato@redhat.com>
12083
12084 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12085 to allow `C-M-f' and `C-M-b' to move to the nearest path
12086 separator (bug#9511).
12087
12088 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12089
12090 * avoid.el: Require cl when compiling. And also move the
12091 `provide' to the end.
12092
12093 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12094
12095 * avoid.el (mouse-avoidance-banish-position): New variable.
12096 (mouse-avoidance-banish-destination): Use it (bug#10165).
12097
12098 2012-04-13 Leo Liu <sdl.web@gmail.com>
12099
12100 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12101
12102 2012-04-13 Ken Brown <kbrown@cornell.edu>
12103
12104 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
12105 this is no longer needed now that cygstart understands file:// URLs.
12106 (browse-url-filename-alist): For the same reason, don't modify
12107 file:// URLs on Cygwin.
12108
12109 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12110
12111 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12112 the region on shift if the binding is already shifted (bug#11221).
12113
12114 2012-04-12 Glenn Morris <rgm@gnu.org>
12115
12116 * mail/mailpost.el: Move to obsolete/.
12117
12118 2012-04-12 Drew Adams <drew.adams@oracle.com>
12119
12120 * imenu.el (imenu--generic-function): Ignore invisible definitions
12121 (bug#10123).
12122
12123 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
12124
12125 * hexl.el (hexl-bits): New variable.
12126 (hexl-options): Mention the variable in the doc string.
12127 (hexl-rulerise, hexl-line-displen): New functions.
12128 (hexl-mode): Mention the new variable.
12129 (hexl-mode, hexl-current-address, hexl-current-address):
12130 Use the displen.
12131 (hexl-ascii-start-column): New function.
12132 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12133 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
12134
12135 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12136
12137 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
12138 '("-i" ENCODING), in 2 separate command-line arguments, to specify
12139 the encoding, as expected by hunspell.
12140
12141 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12142
12143 * battery.el (battery--linux-sysfs-regexp): New const.
12144 (battery-status-function): Use it. Remove yeeloong special case.
12145 (battery-yeeloong-sysfs): Remove.
12146 (battery-echo-area-format): Remove yeeloong special case.
12147
12148 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12149
12150 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12151 Reported by Noah Friedman.
12152
12153 * subr.el (read-passwd): Use read-string.
12154
12155 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12156
12157 * vcursor.el (vcursor-move): Increase the priority of the overlay
12158 (bug#9663).
12159
12160 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12161
12162 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12163 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12164
12165 2012-04-11 William Stevenson <yhvh2000@gmail.com>
12166
12167 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12168 define-minor-mode (bug#10760).
12169
12170 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12171
12172 * progmodes/grep.el (rgrep): Tweak the find command line so
12173 that directories matching `grep-find-ignored-files' won't be
12174 pruned (bug#10351).
12175
12176 2012-04-11 Chong Yidong <cyd@gnu.org>
12177
12178 * startup.el (command-line): Remove support for long-obsolete
12179 variable font-lock-face-attributes.
12180
12181 2012-04-11 Glenn Morris <rgm@gnu.org>
12182
12183 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12184
12185 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12186
12187 * window.el (window--state-get-1): Obey window-point-insertion-type.
12188
12189 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12190
12191 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12192 to previous function when point is on the first character of a
12193 function. Take care of that in `narrow-to-defun' (bug#6157).
12194
12195 2012-04-11 Glenn Morris <rgm@gnu.org>
12196
12197 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12198 not just file-errors.
12199
12200 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12201 (vc-bzr-sha1): Use internal sha1.
12202
12203 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12204
12205 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12206
12207 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12208
12209 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12210 that start in the middle of the line (bug#10496).
12211
12212 2012-04-10 Dan Nicolaescu <dann@gnu.org>
12213
12214 * battery.el (battery-linux-proc-acpi): Only one battery is
12215 discharged at a time, but that seems to confuse battery.el when
12216 computing `rate-type' for the battery not being discharged
12217 (bug#10332).
12218
12219 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12220
12221 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12222
12223 * international/quail.el: Use dolist and simplify.
12224 (quail-define-package, quail-update-keyboard-layout)
12225 (quail-define-rules): Use dolist.
12226 (quail-insert-kbd-layout, quail-get-translation): CSE.
12227
12228 * tmm.el: Use dolist, remove left over hook.
12229 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12230 Use dolist.
12231 (calendar-load-hook): Don't mess with it.
12232
12233 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12234 Use derived-mode-p. Run the diff asynchronously.
12235
12236 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12237
12238 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12239
12240 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
12241
12242 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12243 (list-dynamic-libraries--loaded): New function.
12244 (list-dynamic-libraries--refresh): Use it.
12245
12246 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
12247
12248 * progmodes/python.el (python-fill-paragraph):
12249 Make python-fill-region in a multiline string work when font-lock is
12250 disabled (bug#7018).
12251
12252 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
12253
12254 * language/european.el (cp775): Add oem/legacy (en)coding on
12255 DOS/MS Windows for the Baltic languages. There are still plenty
12256 of texts written in this encoding/codepage (bug#6519).
12257
12258 2012-04-10 Glenn Morris <rgm@gnu.org>
12259
12260 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12261 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12262
12263 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12264
12265 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
12266 next-line "n" and previous-line "p" in order to make recentf more
12267 consistent with ibuffer, dired or org-mode (bug#9387).
12268
12269 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12270
12271 * image.el (put-image): Return the overlay created instead of the
12272 optional input string (bug#7834). Note that this may break code
12273 that is (for some reason or other) depending on `put-image'
12274 returning the string.
12275
12276 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12277
12278 * simple.el (zap-to-char): Allow zapping using input methods
12279 (bug#1580).
12280
12281 * textmodes/fill.el (fill-region): Leave point and mark where they
12282 were before filling (bug#5399).
12283
12284 2012-04-09 Glenn Morris <rgm@gnu.org>
12285
12286 * version.el (emacs-bzr-get-version):
12287 Handle lightweight checkouts of local branches.
12288
12289 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12290
12291 * international/characters.el: Recover lost case pairs. (Bug#11209)
12292
12293 2012-04-09 Chong Yidong <cyd@gnu.org>
12294
12295 * custom.el (custom-variable-p): Return nil for non-symbol
12296 arguments instead of signaling an error.
12297 (user-variable-p): Obsolete alias for custom-variable-p.
12298
12299 * apropos.el (apropos-variable):
12300 * files-x.el (read-file-local-variable):
12301 * simple.el (set-variable):
12302 * woman.el (woman-mini-help):
12303 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12304
12305 2012-04-09 Glenn Morris <rgm@gnu.org>
12306
12307 * startup.el (normal-top-level): Don't look for leim-list.el
12308 in places where it will not be found. (Bug#910)
12309
12310 * international/mule-cmds.el (set-default-coding-systems):
12311 * files.el (normal-mode):
12312 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12313 This function was removed with ucs-tables.el in 2008.
12314
12315 2012-04-08 Eli Zaretskii <eliz@gnu.org>
12316
12317 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12318 ispell-encoding8-command to "-i", without a trailing space.
12319 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12320 separate command-line arguments, to specify the encoding, since
12321 that's how hunspell expects it.
12322
12323 2012-04-08 Glenn Morris <rgm@gnu.org>
12324
12325 * loadup.el: Load bindings before cus-start.
12326 This reduces somewhat the number of "rogue" settings in emacs -Q.
12327
12328 2012-04-07 Glenn Morris <rgm@gnu.org>
12329
12330 * version.el (emacs-bzr-get-version): New function.
12331 (emacs-bzr-version): New variable.
12332 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
12333 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12334
12335 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12336
12337 * international/uni-bidi.el, international/uni-category.el:
12338 * international/uni-combining.el, international/uni-decimal.el:
12339 * international/uni-decomposition.el, international/uni-digit.el:
12340 * international/uni-lowercase.el, international/uni-mirrored.el:
12341 * international/uni-name.el, international/uni-numeric.el:
12342 * international/uni-titlecase.el, international/uni-uppercase.el:
12343 Update for Unicode 6.1.
12344
12345 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12346
12347 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12348
12349 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12350
12351 * window.el (shrink-window): Mention the `window-min-height'
12352 variable in the doc string.
12353
12354 2012-04-05 Bastien Guerry <bzg@altern.org>
12355
12356 * color.el (color-lighten-name): Fix typo.
12357
12358 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12359
12360 * server.el (server--on-display-p): New function.
12361 (server--on-display-p): Use it.
12362
12363 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
12364
12365 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12366 (bug#11145).
12367
12368 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12369
12370 * comint.el (comint--common-quoted-suffix): Check string boundary
12371 before comparing (bug#11158).
12372 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
12373
12374 2012-04-04 Chong Yidong <cyd@gnu.org>
12375
12376 * minibuffer.el (completion-extra-properties): Doc fix.
12377
12378 * subr.el (delayed-warnings-hook): Doc fix.
12379
12380 2012-04-04 Daiki Ueno <ueno@unixuser.org>
12381
12382 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
12383 selection (Bug#11159).
12384 (epa-insert-keys): Inform that the default public key will be
12385 exported if no key is selected.
12386
12387 2012-04-04 Richard Stallman <rms@gnu.org>
12388
12389 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
12390
12391 2012-04-03 Chong Yidong <cyd@gnu.org>
12392
12393 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
12394 mail-insert-file, not its obsolete alias mail-attach-file.
12395
12396 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
12397
12398 * notifications.el (notifications-notify): Fix docstring.
12399
12400 2012-04-02 Glenn Morris <rgm@gnu.org>
12401
12402 * emacs-lisp/authors.el (authors-aliases): Another addition.
12403
12404 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
12405
12406 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
12407 `tramp-compat-call-process' instead of `tramp-local-call-process'.
12408 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
12409
12410 2012-04-01 Chong Yidong <cyd@gnu.org>
12411
12412 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
12413 Handle root directory properly.
12414 (copy-directory): Caller changed.
12415
12416 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12417 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
12418
12419 2012-03-31 Glenn Morris <rgm@gnu.org>
12420
12421 * term/xterm.el (xterm-extra-capabilities): Doc fix.
12422
12423 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
12424
12425 * calendar/calendar.el (calendar-window-list)
12426 (calendar-hide-window): Restore. (Bug#11140)
12427 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
12428
12429 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
12430
12431 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12432
12433 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12434 Check if file is a symlink (Bug#10489).
12435
12436 * files.el (copy-directory): Likewise.
12437
12438 2012-03-30 Chong Yidong <cyd@gnu.org>
12439
12440 * image.el (imagemagick-types-inhibit)
12441 (imagemagick-register-types): Doc fix.
12442
12443 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12444
12445 * textmodes/ispell.el (ispell-get-extended-character-mode):
12446 Disable extended-char-mode for hunspell. hunspell does not support it
12447 and treats ~word as ordinary words in pipe mode.
12448
12449 2012-03-30 Glenn Morris <rgm@gnu.org>
12450
12451 * tutorial.el (help-with-tutorial): Ensure local variables don't
12452 happen to make the buffer read-only. (Bug#11127)
12453
12454 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12455
12456 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
12457 (perl-calculate-indent): Return `noindent' in strings.
12458
12459 2012-03-28 Sam Steingold <sds@gnu.org>
12460
12461 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
12462 instead of the broken adhockery which does not prevent calendar
12463 buffers from being displayed at random after exit.
12464 (calendar-window-list, calendar-hide-window): Remove the broken
12465 adhockery.
12466
12467 2012-03-28 Glenn Morris <rgm@gnu.org>
12468
12469 * replace.el (query-replace-map): Doc fix.
12470
12471 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
12472
12473 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
12474 contents. (Bug#11109)
12475
12476 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12477
12478 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
12479 (bug#11077).
12480 (avl-tree--check, avl-tree--check-node): New funs.
12481
12482 2012-03-27 Martin Rudalics <rudalics@gmx.at>
12483
12484 * window.el (switch-to-visible-buffer): New option.
12485 (switch-to-prev-buffer, switch-to-next-buffer):
12486 Observe switch-to-visible-buffer. Make sure that checking for a window
12487 showing a buffer already is done on the same frame.
12488
12489 2012-03-27 Glenn Morris <rgm@gnu.org>
12490
12491 * startup.el (mail-host-address): Doc fix.
12492
12493 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12494
12495 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
12496 than 197 variables.
12497
12498 2012-03-26 Ami Fischman <ami@fischman.org>
12499
12500 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
12501
12502 2012-03-26 Glenn Morris <rgm@gnu.org>
12503
12504 * files.el (save-buffers-kill-emacs): Doc fix.
12505
12506 * startup.el (normal-top-level, command-line, command-line-1):
12507 Give them doc strings.
12508
12509 2012-03-25 Eli Zaretskii <eliz@gnu.org>
12510
12511 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
12512 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
12513
12514 2012-03-25 Chong Yidong <cyd@gnu.org>
12515
12516 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
12517 theme if it was previously enabled before (Bug#11031).
12518
12519 * cus-theme.el (custom-theme-write-faces): Retrieve current face
12520 spec with custom-face-get-current-spec if its :shown-value is not
12521 determined yet (Bug#9337).
12522 (customize-create-theme, custom-theme-revert): Doc fixes.
12523
12524 * button.el (button-at): Minor addition to docstring.
12525
12526 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
12527
12528 * vc/vc.el (vc-merge): Fix a prompt.
12529
12530 2012-03-24 Chong Yidong <cyd@gnu.org>
12531
12532 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
12533 point (Bug#9623).
12534
12535 * button.el (button-at): Minor addition to docstring.
12536
12537 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12538
12539 * newcomment.el (comment-choose-indent): No space after BOL.
12540
12541 2012-03-22 Sam Steingold <sds@gnu.org>
12542
12543 * window.el (switch-to-prev-buffer): Revert last patch because the
12544 bug turned out to be an advertised feature (Elisp manual 28.14).
12545
12546 2012-03-22 Glenn Morris <rgm@gnu.org>
12547
12548 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
12549 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
12550
12551 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12552
12553 * net/network-stream.el (network-stream-open-starttls): Make error
12554 message under Windows be less misleading.
12555
12556 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
12557
12558 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
12559 understands (bug#9942).
12560
12561 2012-03-22 Chong Yidong <cyd@gnu.org>
12562
12563 * simple.el (end-of-visible-line): Handle return value of
12564 next-single-property-change properly (Bug#9371).
12565
12566 2012-03-22 Kenichi Handa <handa@m17n.org>
12567
12568 * international/quail.el (quail-insert-kbd-layout): Fix previous
12569 change. To avoid unwanted bidi reordering, use
12570 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
12571
12572 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
12573
12574 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
12575 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
12576 (ruby-beginning-of-indent): Be more careful with the difference
12577 between word-boundary and symbol boundary.
12578 (ruby-mode-syntax-table): Make : a symbol constituent.
12579
12580 2012-03-21 Andreas Politz <politza@fh-trier.de>
12581
12582 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
12583
12584 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12585
12586 * progmodes/etags.el (tags-completion-at-point-function):
12587 Improve last fix.
12588
12589 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
12590
12591 2012-03-21 Sam Steingold <sds@gnu.org>
12592
12593 * progmodes/etags.el (tags-completion-at-point-function):
12594 Avoid the error when point is inside the pattern.
12595
12596 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
12597
12598 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
12599 line (Bug#10855).
12600
12601 2012-03-21 Drew Adams <drew.adams@oracle.com>
12602
12603 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
12604
12605 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
12606
12607 * ido.el (ido-set-current-directory, ido-read-internal)
12608 (ido-choose-completion-string, ido-completion-help): Handle nil
12609 value of ido-completion-buffer (Bug#11008).
12610
12611 2012-03-21 Sam Steingold <sds@gnu.org>
12612
12613 * window.el (switch-to-prev-buffer): Do not switch to a visible
12614 window previous buffer, just like with the frame previous buffers.
12615
12616 2012-03-21 Chong Yidong <cyd@gnu.org>
12617
12618 * faces.el (make-face, make-empty-face, copy-face):
12619 * face-remap.el (face-remap-add-relative, face-remap-set-base):
12620 Doc fixes.
12621
12622 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12623
12624 * wid-edit.el (widget-complete-field): Remove (bug#11051).
12625 (widget-complete): Remove broken use of it.
12626
12627 2012-03-20 Chong Yidong <cyd@gnu.org>
12628
12629 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12630 Use string-width and truncate-string-width to handle arbitrary
12631 characters.
12632
12633 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
12634
12635 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
12636 to draw rectangles, not squares. (Regression introduced by revno
12637 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
12638
12639 2012-03-18 Chong Yidong <cyd@gnu.org>
12640
12641 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
12642 it is not yet defined (for temacs).
12643
12644 2012-03-18 Leo Liu <sdl.web@gmail.com>
12645
12646 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
12647 prefix.
12648
12649 2012-03-17 Eli Zaretskii <eliz@gnu.org>
12650
12651 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
12652 (ispell-choices-win-default-height, ispell-silently-savep)
12653 (ispell-dictionary-alist, ispell-encoding8-command)
12654 (ispell-check-version, ispell-aspell-find-dictionary)
12655 (ispell-valid-dictionary-list, ispell-words-keyword)
12656 (ispell-get-word, ispell-internal-change-dictionary)
12657 (ispell-region, ispell-skip-region-list)
12658 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
12659 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
12660 (ispell-message-text-end, ispell-message)
12661 (ispell-buffer-local-parsing): Doc fix.
12662
12663 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
12664
12665 * htmlfontify.el: Add support for code block fontification for ODT
12666 export (Bug #9914).
12667 (hfy-optimisations): Define new option
12668 `body-text-only'
12669 (hfy-fontify-buffer): Honor above setting.
12670 (hfy-begin-span, hfy-end-span): New routines factored out form
12671 `hfy-fontify-buffer'.
12672 (hfy-begin-span-handler, hfy-end-span-handler): New variables
12673 that permit insertion of custom tags.
12674 (hfy-fontify-buffer): Use above handlers.
12675 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
12676 (hfy-face-to-css): Re-defined to be a variable.
12677 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
12678 over multiple runs. This is made possible by having the caller let
12679 bind a special variable `hfy-user-sheet-assoc'.
12680 (htmlfontify-string): New defun.
12681 (hfy-compile-face-map): Make sure that the last char in the
12682 buffer is correctly fontified.
12683 (hfy-face-resolve-face): Whitespace only change.
12684
12685 2012-03-17 Eli Zaretskii <eliz@gnu.org>
12686
12687 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
12688 message more clear.
12689
12690 2012-03-16 Leo Liu <sdl.web@gmail.com>
12691
12692 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
12693
12694 2012-03-16 Alan Mackenzie <acm@muc.de>
12695
12696 Further optimize the handling of large macros.
12697
12698 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
12699 limit to a call of `c-literal-limits'.
12700 (c-determine-+ve-limit): New function.
12701 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
12702 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
12703 In CASE 5B, restrict a search limit to 500.
12704 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
12705
12706 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
12707 Restrict macro bounds to +-500 from after-change's BEG END.
12708
12709 2012-03-16 Leo Liu <sdl.web@gmail.com>
12710
12711 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
12712
12713 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
12714
12715 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
12716 `special-mode' setting of `buffer-read-only'. (Bug#11010)
12717
12718 2012-03-16 Glenn Morris <rgm@gnu.org>
12719
12720 * view.el (view-buffer, view-buffer-other-window)
12721 (view-buffer-other-frame): Doc fixes re special mode-class.
12722
12723 * subr.el (eval-after-load): If named feature is provided not from
12724 a file, run after-load forms. (Bug#10946)
12725
12726 * calendar/calendar.el (calendar-insert-at-column):
12727 Handle non-unit-width characters a bit better. (Bug#10978)
12728
12729 2012-03-15 Chong Yidong <cyd@gnu.org>
12730
12731 * emacs-lisp/ring.el (ring-extend): New function.
12732 (ring-insert+extend): Extend the ring correctly (Bug#11019).
12733
12734 * comint.el (comint-read-input-ring)
12735 (comint-add-to-input-history): Grow comint-input-ring lazily.
12736
12737 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12738
12739 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
12740 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
12741
12742 * imenu.el: Fix multiple inheritance breakage (bug#9199).
12743 (imenu-add-to-menubar): Don't add a redundant index.
12744 (imenu-update-menubar): Handle a dynamically composed keymap.
12745
12746 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
12747
12748 * mail/sendmail.el (mail-encode-header):
12749 Bind rfc2047-encode-encoded-words to nil.
12750
12751 2012-03-13 Glenn Morris <rgm@gnu.org>
12752
12753 * calendar/calendar.el (calendar-string-spread):
12754 Handle non-unit-width characters a bit better. (Bug#10978)
12755
12756 2012-03-13 Leo Liu <sdl.web@gmail.com>
12757
12758 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
12759 directory and file as argument (Bug#10822).
12760
12761 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12762
12763 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
12764 For dynamically generated code, follow $PC.
12765 (gdb-disassembly-handler-custom): Handle no function name case.
12766
12767 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
12768
12769 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
12770 * emulation/ws-mode.el (ws-query-replace):
12771 * sort.el (sort-regexp-fields):
12772 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
12773
12774 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12775
12776 * dabbrev.el: Fix cycle completion order (bug#10963).
12777 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
12778 (dabbrev-completion): Don't use an obarray; provide
12779 a cycle-sort-function.
12780
12781 2012-03-12 Leo Liu <sdl.web@gmail.com>
12782
12783 * simple.el (kill-new): Use equal-including-properties for comparison.
12784 (kill-do-not-save-duplicates): Doc fix.
12785
12786 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12787
12788 * dabbrev.el: Fix cycle completion (bug#10963).
12789 Use lexical binding and wrap to 80 columns.
12790 (dabbrev-completion): Delay computing the list of completions.
12791
12792 2012-03-12 Kenichi Handa <handa@m17n.org>
12793
12794 * international/quail.el (quail-insert-kbd-layout): Surround each
12795 row by LRO and PDF instead of inserting many LRMs. Pad the left
12796 and right of each non-spacing marks. Insert invisible space
12797 between lower and upper characters to prevent composition.
12798
12799 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12800
12801 * minibuffer.el (minibuffer-complete): Don't get confused when the
12802 function is run twice via different commands (bug#10958).
12803 (complete-with-action): Fix docstring.
12804
12805 2012-03-12 Chong Yidong <cyd@gnu.org>
12806
12807 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
12808 (nxml-completion-at-point-function): New function.
12809 (nxml-mode): Use it.
12810 (nxml-bind-meta-tab-to-complete-flag): Default to t.
12811
12812 * emacs-lisp/package.el (package-unpack, package-unpack-single):
12813 Load generated autoloads file before byte compiling (Bug#10970).
12814 (package--make-autoloads-and-compile): New helper fun.
12815
12816 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
12817
12818 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
12819
12820 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
12821
12822 * autorevert.el (auto-revert-handler): Ensure, that
12823 file-readable-p is applied only for local files or in
12824 auto-revert-tail-mode.
12825
12826 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
12827
12828 * server.el (server-eval-at): Handle non-tcp connections.
12829 Decode result string.
12830
12831 * server.el (server-msg-size): New constant.
12832 (server-reply-print): New function.
12833 (server-eval-and-print): Use it.
12834 (server-eval-at): Use server-quote-arg and server-unquote-arg.
12835 Handle -print-nonl.
12836
12837 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
12838
12839 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
12840 (Bug#10987).
12841
12842 2012-03-11 Chong Yidong <cyd@gnu.org>
12843
12844 * simple.el (goto-line): Doc fix (Bug#9938).
12845
12846 * subr.el (save-window-excursion): Doc fix (Bug#9979).
12847
12848 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
12849 when finished (Bug#10963).
12850
12851 2012-03-11 Martin Rudalics <rudalics@gmx.at>
12852
12853 * window.el (split-window-below): Fix bug in case where
12854 split-window-keep-point is nil (Bug#10971).
12855
12856 2012-03-11 Juri Linkov <juri@jurta.org>
12857
12858 * replace.el (replace-highlight): Set isearch-word to nil
12859 unconditionally. (Bug#10887)
12860
12861 2012-03-10 Eli Zaretskii <eliz@gnu.org>
12862
12863 * net/mairix.el (mairix-replace-invalid-chars): Rename from
12864 mairix-replace-illegal-chars; all callers changed. Don't remove
12865 ^, ~, and = characters: they are meaningful in mairix search specs.
12866 (mairix-widget-create-query): Add usage information about mairix
12867 search forms: negating words, searching for substrings, etc.
12868
12869 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
12870
12871 * international/fontset.el (font-encoding-alist): Add an entry for
12872 ksx1001 (Bug#5667).
12873
12874 2012-03-10 Richard Stallman <rms@gnu.org>
12875
12876 * mail/sendmail.el (mail-encode-header):
12877 Set rfc2047-encode-encoded-words.
12878
12879 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
12880
12881 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
12882 view buffer means not swapped.
12883 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
12884 (rmail-write-region-annotate): Error if real text has disappeared.
12885
12886 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
12887
12888 2012-03-10 Chong Yidong <cyd@gnu.org>
12889
12890 * emulation/cua-rect.el (cua--init-rectangles):
12891 * emulation/cua-base.el (cua--init-keymaps):
12892 Add delete-forward-char to remappings (Bug#9666).
12893
12894 2012-03-10 Martin Rudalics <rudalics@gmx.at>
12895
12896 * speedbar.el (speedbar-unhighlight-one-tag-line):
12897 Avoid unhighlighting due to frame switching (Bug#10275).
12898
12899 2012-03-10 Chong Yidong <cyd@gnu.org>
12900
12901 * minibuffer.el (completion-in-region, completion-help-at-point):
12902 Give the completion field overlay a high priority (Bug#6830).
12903
12904 * dired.el (dired-goto-file): Recognize absolute file name
12905 listings (Bug#7126).
12906 (dired-goto-file-1): New helper function.
12907 (dired-toggle-read-only): Inhibit warnings.
12908
12909 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
12910
12911 * net/dbus.el (dbus-property-handler): Return empty array if
12912 there are no properties.
12913
12914 2012-03-09 Leo Liu <sdl.web@gmail.com>
12915
12916 * savehist.el (savehist-printable): Stricter check for string
12917 value (Bug#10937).
12918
12919 2012-03-09 Eli Zaretskii <eliz@gnu.org>
12920
12921 * mail/smtpmail.el (smtpmail-send-it):
12922 Bind coding-system-for-write to *-unix, so that FCC files are kept in
12923 valid mbox format.
12924
12925 2012-03-09 Glenn Morris <rgm@gnu.org>
12926
12927 * files.el (dir-locals-find-file):
12928 Don't check result is regular, readable.
12929 (dir-locals-read-from-file): Demote errors.
12930
12931 2012-03-08 Eli Zaretskii <eliz@gnu.org>
12932
12933 * international/quail.el (quail-insert-kbd-layout):
12934 Insert invisible LRM characters before each character in a keyboard
12935 layout cell, to prevent their reordering by bidi display engine.
12936 For details, see the discussion in
12937 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
12938
12939 2012-03-08 Alan Mackenzie <acm@muc.de>
12940
12941 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
12942 the starting position; make it extend the marked region when
12943 invoked repeatedly - all under appropriate circumstances.
12944 Fixes bugs #5525, #10906.
12945
12946 2012-03-08 Glenn Morris <rgm@gnu.org>
12947
12948 * files.el (locate-dominating-file, dir-locals-find-file):
12949 Undo 2012-03-06 change.
12950
12951 2012-03-07 Eli Zaretskii <eliz@gnu.org>
12952
12953 * international/quail.el (quail-help):
12954 Force bidi-paragraph-direction be left-to-right. See discussion in
12955 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
12956 for the reason.
12957
12958 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
12959
12960 Avoid superfluous registering of signals. (Bug#10807)
12961
12962 * notifications.el (notifications-on-action-object)
12963 (notifications-on-close-object): New defvars.
12964 (notifications-on-action-signal, notifications-on-closed-signal):
12965 Unregister the signal if not needed any longer.
12966 (notifications-notify): Register `notifications-action-signal' or
12967 `notifications-closed-signal', if :on-action or :on-close has been
12968 passed as argument.
12969
12970 2012-03-07 Chong Yidong <cyd@gnu.org>
12971
12972 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
12973 non-X platforms.
12974
12975 2012-03-06 Glenn Morris <rgm@gnu.org>
12976
12977 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12978 (x-disown-selection-internal, x-get-selection-internal):
12979 Doc fix (add arglist signatures). (Bug#10783)
12980
12981 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12982
12983 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
12984 Handle breakpoints with no "type".
12985
12986 2012-03-06 Glenn Morris <rgm@gnu.org>
12987
12988 * files.el (locate-dominating-file): Add optional predicate argument.
12989 (dir-locals-find-file): Make use of above change.
12990
12991 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
12992
12993 * info.el (Info-insert-dir): Also try "dir.gz".
12994
12995 2012-03-06 Glenn Morris <rgm@gnu.org>
12996
12997 * files.el (dir-locals-find-file):
12998 Ignore non-readable or non-regular files. (Bug#10928)
12999
13000 * files.el (locate-dominating-file): Doc fix.
13001
13002 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
13003
13004 * calendar/calendar.el (calendar-set-mode-line):
13005 `getenv' returns a string. (Bug#10951)
13006
13007 2012-03-05 Leo Liu <sdl.web@gmail.com>
13008
13009 * simple.el (backward-delete-char-untabify): Constrain point to
13010 field (Bug#10939).
13011
13012 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13013
13014 2012-03-05 Chong Yidong <cyd@gnu.org>
13015
13016 * simple.el (count-words): If called from Lisp, return the word
13017 count, for symmetry with `count-lines'. Arglist changed.
13018 (count-words--message): Args changed. Consolidate counting code
13019 from count-words and count-words-region.
13020 (count-words-region): Caller changed.
13021 (count-lines-region): Make it an obsolete alias.
13022
13023 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13024
13025 * saveplace.el (save-place-to-alist)
13026 (save-place-ignore-files-regexp): Allow value nil to disable this
13027 feature.
13028
13029 2012-03-04 Chong Yidong <cyd@gnu.org>
13030
13031 * faces.el (face-spec-reset-face): For the default face, reset the
13032 attributes to default values (Bug#10748).
13033
13034 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13035
13036 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13037 previous patch: Check `message-send-mail-function', and not the
13038 default function (bug#10897).
13039
13040 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
13041
13042 * notifications.el (notifications-on-action-signal)
13043 (notifications-on-closed-signal): Check for unique service name of
13044 incoming event. Fix error in removing entry.
13045 (top): Register for signals with wildcard service name.
13046 (notifications-notify): Use daemon unique service name for map entries.
13047
13048 2012-03-04 Chong Yidong <cyd@gnu.org>
13049
13050 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
13051
13052 2012-03-04 Glenn Morris <rgm@gnu.org>
13053
13054 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13055 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13056 (expand-abbrev, define-abbrev-table): Doc fixes.
13057
13058 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13059
13060 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13061 `message-default-send-mail-function' and not `send-mail-function'
13062 when doing the prompting for `sendmail-query-once' before sending
13063 in Message buffers (bug#10897).
13064
13065 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13066 This is inconsistent with all the other stream functions, which leave
13067 the setting up to the higher levels (if so wanted) (bug#10931).
13068
13069 2012-03-02 Alan Mackenzie <acm@muc.de>
13070
13071 Depessimize the handling of very large macros.
13072
13073 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13074 (c-macro-cache-syntactic): New variables to implement a one
13075 element macro cache.
13076 (c-invalidate-macro-cache): New function.
13077 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13078 Adapt to use the new cache.
13079 (c-state-safe-place): Use better the cache of safe positions.
13080 (c-state-semi-nonlit-pos-cache)
13081 (c-state-semi-nonlit-pos-cache-limit):
13082 New variables for...
13083 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13084 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
13085 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13086 Use c-state-semi-safe-place.
13087
13088 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13089 Add c-invalidate-macro-cache to the C, C++, Obj entries.
13090
13091 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
13092
13093 * jka-compr.el (jka-compr-call-process):
13094 Apply `file-accessible-directory-p' only when the default directory is
13095 not remote.
13096
13097 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
13098
13099 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13100 access of FILE2, if FILE1 does not exist.
13101
13102 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13103 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13104
13105 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13106 Add "PAGER=" to `process-environment'.
13107
13108 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13109
13110 * progmodes/sql.el: Bug fix
13111 (sql-get-login-ext): Save login values in globals.
13112 (sql-get-login): Use new version of `sql-get-login-ext'.
13113 (sql-interactive-mode): Set global `sql-connection' to nil.
13114 (sql-connect): Set global values for connection.
13115 (sql-product-interactive): Save global values as buffer local.
13116
13117 2012-02-29 Leo Liu <sdl.web@gmail.com>
13118
13119 * abbrev.el (define-abbrevs): Reset sys to nil.
13120
13121 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13122
13123 * files.el (file-equal-p): Rename from `files-equal-p'.
13124 Return nil when one or both files don't exist.
13125 (file-subdir-of-p): Now only top directory must exists,
13126 return nil if it doesn't.
13127 (copy-directory): No need to test with `file-subdir-of-p' after
13128 creating dir.
13129 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
13130 to `file-equal-p'.
13131
13132 2012-02-28 Glenn Morris <rgm@gnu.org>
13133
13134 * shell.el (shell-mode):
13135 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
13136 * play/landmark.el (landmark-font-lock-face-O):
13137 * play/handwrite.el (handwrite):
13138 * play/gomoku.el (gomoku-O):
13139 * net/browse-url.el (browse-url-browser-display):
13140 * international/mule.el (define-charset):
13141 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
13142 * filesets.el (filesets-find-file-delay):
13143 * eshell/em-xtra.el (eshell-xtra):
13144 * eshell/em-unix.el (eshell-grep):
13145 * emulation/viper.el (viper-mode):
13146 * emacs-lisp/regexp-opt.el (regexp-opt-group):
13147 * emacs-lisp/easymenu.el (easy-menu-define):
13148 * calendar/timeclock.el (timeclock-use-display-time):
13149 * bs.el (bs-mode):
13150 * bookmark.el (bookmark-save-flag):
13151 Doc fix (standardize possessive apostrophe usage).
13152
13153 2012-02-27 Chong Yidong <cyd@gnu.org>
13154
13155 * emulation/viper-cmd.el (viper-intercept-ESC-key):
13156 Fix key-binding lookup for ESC key (Bug#9146).
13157
13158 * font-lock.el (font-lock-specified-p): Rename from
13159 font-lock-spec-present. Callers changed.
13160
13161 2012-02-27 Daniel Hackney <dan@haxney.org>
13162
13163 * emacs-lisp/package.el (package-compute-transaction):
13164 Handle holding a package version to t in package-load-list.
13165
13166 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
13167
13168 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13169 (tramp-get-inode, tramp-get-device): Use cached values.
13170
13171 2012-02-26 Alan Mackenzie <acm@muc.de>
13172
13173 Check there is a font-lock specification before doing initial
13174 fontification.
13175
13176 * font-core.el (font-lock-mode): Move the conditional from
13177 :after-hook to font-lock-initial-fontify.
13178 (font-lock-default-function): Move the check for a specification
13179 to font-lock-spec-present.
13180
13181 * font-lock.el (font-lock-initial-fontify): Call ...
13182 (font-lock-spec-present): New function.
13183
13184 2012-02-26 Jim Blandy <jimb@red-bean.com>
13185
13186 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13187 (gdb-send): Apply it to the operand of the '-interpreter-exec
13188 console' command, so that we can pass arguments with (say) quotes
13189 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13190
13191 2012-02-26 Chong Yidong <cyd@gnu.org>
13192
13193 * help-fns.el (describe-function-1): Clarify description of
13194 remapping (Bug#10844).
13195
13196 * files.el (files-equal-p): Doc fix.
13197 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13198 and quit the loop once a mismatch is found.
13199
13200 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
13201
13202 * bs.el (bs--show-with-configuration): Don't throw an error
13203 if the window cannot be split; otherwise, subsequent calls to
13204 bs-show fail, restoring a stale window config. (Bug#10882)
13205
13206 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13207
13208 * term/ns-win.el (global-map): Bind ns-drag-file to
13209 ns-find-file (Bug#5855, Bug#10050).
13210
13211 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13212
13213 * calendar/parse-time.el (parse-time-string): Allow extractor to
13214 return nil.
13215
13216 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
13217
13218 * net/tramp.el (tramp-file-name-for-operation):
13219 Add `files-equal-p' and `file-subdir-of-p'.
13220
13221 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13222 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13223 Add COPY-CONTENTS argument.
13224
13225 2012-02-25 Chong Yidong <cyd@gnu.org>
13226
13227 Add custom groups for VC backends, for consistency with vc-bzr.
13228
13229 * vc/vc-arch.el (vc-arch):
13230 * vc/vc-cvs.el (vc-cvs):
13231 * vc/vc-git.el (vc-git):
13232 * vc/vc-hg.el (vc-hg):
13233 * vc/vc-mtn.el (vc-mtn):
13234 * vc/vc-rcs.el (vc-rcs):
13235 * vc/vc-sccs.el (vc-sccs):
13236 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13237 All relevant defcustoms reassigned.
13238
13239 2012-02-25 Chong Yidong <cyd@gnu.org>
13240
13241 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13242
13243 * term/x-win.el (x-initialize-window-system): Reduce default for
13244 x-selection-timeout to 5 seconds (Bug#8869).
13245
13246 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13247
13248 * files.el (files-equal-p, file-subdir-of-p): New functions.
13249 (copy-directory): Error when trying to copy a directory on itself.
13250 Add missing copy-contents arg to tramp handler.
13251 * dired-aux.el (dired-copy-file-recursive): Same.
13252 (dired-create-files): Modify destination when source is equal to
13253 dest when copying files.
13254 Return also when dest is a subdir of source. (Bug#10489)
13255
13256 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
13257
13258 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13259 (Bug#10874)
13260
13261 2012-02-23 Alan Mackenzie <acm@muc.de>
13262
13263 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13264 parameter "after-hook:" to allow the expansion to run code after
13265 the execution of the mode hooks.
13266
13267 * font-lock.el (font-lock-initial-fontify): New function extracted
13268 from font-lock-mode-internal.
13269
13270 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
13271 :after-hook.
13272
13273 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13274
13275 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13276 (completion--cache-all-sorted-completions): New function.
13277 (completion-all-sorted-completions): Use it.
13278 (completion--do-completion, minibuffer-force-complete):
13279 Use it to re-instate the flush hook.
13280
13281 * icomplete.el (icomplete-completions): Replace last fix with a better
13282 one (bug#10850).
13283
13284 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13285
13286 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13287 when it might call us back infinitely (bug#10797).
13288
13289 2012-02-23 Glenn Morris <rgm@gnu.org>
13290
13291 * minibuffer.el (completion-category-overrides): Doc fix.
13292
13293 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13294
13295 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13296 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13297
13298 2012-02-23 Glenn Morris <rgm@gnu.org>
13299
13300 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
13301 (authors-obsolete-files-regexps, authors-ignored-files)
13302 (authors-ambiguous-files, authors-renamed-files-alist):
13303 Add more entries.
13304
13305 2012-02-23 Juri Linkov <juri@jurta.org>
13306
13307 * isearch.el (isearch-occur): Sync interactive spec with occur's
13308 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13309
13310 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13311
13312 2012-02-22 Juri Linkov <juri@jurta.org>
13313
13314 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13315 (ucs-insert): Doc fix. Check for hex digits in the string.
13316 Don't display `nil' in the error message. (Bug#10857)
13317
13318 2012-02-22 Alan Mackenzie <acm@muc.de>
13319
13320 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
13321
13322 2012-02-22 Glenn Morris <rgm@gnu.org>
13323
13324 * ffap.el (ffap-c-path):
13325 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13326
13327 2012-02-22 Chong Yidong <cyd@gnu.org>
13328
13329 * custom.el (load-theme): Doc fix.
13330
13331 2012-02-22 Glenn Morris <rgm@gnu.org>
13332
13333 * dired-x.el (dired-guess-shell-alist-default):
13334 Remove escape sequences from nroff output. (Bug#172)
13335
13336 2012-02-21 Glenn Morris <rgm@gnu.org>
13337
13338 * vc/emerge.el (emerge-defvar-local):
13339 Set `permanent-local' property rather than unused `preserved'.
13340
13341 * textmodes/picture.el (picture-delete-char): New alias.
13342 (picture-mode-map): Use it. (Bug#10860)
13343 (picture-mode): Doc fix.
13344
13345 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
13346
13347 * newcomment.el (uncomment-region-default): Remove unused binding.
13348
13349 2012-02-21 Glenn Morris <rgm@gnu.org>
13350
13351 * textmodes/picture.el (picture-motion, picture-motion-reverse)
13352 (picture-self-insert, picture-tab-chars): Doc fix.
13353 (picture-mode-map): Fix C-a, C-e.
13354
13355 2012-02-20 Glenn Morris <rgm@gnu.org>
13356
13357 * emacs-lisp/authors.el (authors-aliases): Add another entry.
13358
13359 2012-02-20 Leo Liu <sdl.web@gmail.com>
13360
13361 * icomplete.el (icomplete-completions): Check FROM arg before
13362 passing to substring (Bug#10850).
13363
13364 2012-02-19 Chong Yidong <cyd@gnu.org>
13365
13366 * comint.el: Require ansi-color.
13367 (comint-output-filter-functions): Add ansi-color-process-output.
13368
13369 * ansi-color.el: Don't set comint-output-filter-functions; it is
13370 now in the initial value defined in comint.el.
13371 (ansi-color-apply-face-function): New variable.
13372 (ansi-color-apply-on-region): Use it.
13373 (ansi-color-apply-overlay-face): New function.
13374
13375 * shell.el (shell): No need to require ansi-color.
13376 (shell-mode): Use ansi-color-apply-face-function to highlight
13377 color escapes using font-lock-face property (Bug#10835).
13378
13379 2012-02-19 Chong Yidong <cyd@gnu.org>
13380
13381 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
13382 mode-line formats (Bug#10839).
13383
13384 2012-02-18 Glenn Morris <rgm@gnu.org>
13385
13386 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
13387
13388 * mail/undigest.el (unforward-rmail-message): Doc fix.
13389
13390 * saveplace.el (save-place-ignore-files-regexp): Add :version.
13391
13392 2012-02-18 Eli Zaretskii <eliz@gnu.org>
13393
13394 * international/characters.el (script-list): Sync with the latest
13395 Unicode Character Database.
13396
13397 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
13398
13399 * international/titdic-cnv.el: Remove duplicate coding tag.
13400 * language/cham.el: Likewise.
13401 * language/tai-viet.el: Likewise.
13402
13403 2012-02-18 Glenn Morris <rgm@gnu.org>
13404
13405 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
13406 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
13407 (calendar-bahai-all-holidays-flag, calendar-other-dates):
13408 * calendar/diary-lib.el (diary-abbreviated-year-flag):
13409 * calendar/holidays.el (holiday-bahai-holidays)
13410 (calendar-holidays, list-holidays):
13411 Use utf-8 Bahá'í in doc-strings, menus, etc.
13412
13413 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
13414
13415 * saveplace.el (save-place-ignore-files-regexp): New variable
13416 allowing for excluding files from saving their location of point.
13417 The default value matches the temporary commit message editing
13418 files from Git, SVN, Bazaar, and Mercurial.
13419 (save-place-to-alist): Use it.
13420
13421 2012-02-17 Lawrence Mitchell <wence@gmx.li>
13422 Stefan Monnier <monnier@iro.umontreal.ca>
13423
13424 * newcomment.el (uncomment-region-default): Don't leave extra space
13425 when an arg is provided (bug#8150).
13426
13427 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
13428
13429 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
13430
13431 2012-02-17 Glenn Morris <rgm@gnu.org>
13432
13433 * net/socks.el: Require network-stream. (Bug#10599)
13434
13435 2012-02-17 Kenichi Handa <handa@m17n.org>
13436
13437 * international/charprop.el:
13438 * international/uni-name.el:
13439 * international/uni-old-name.el:
13440 * international/uni-comment.el: Regenerate.
13441
13442 2012-02-16 Glenn Morris <rgm@gnu.org>
13443
13444 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
13445 Interactively in calendar buffer, give an error if not on a date.
13446
13447 2012-02-15 Glenn Morris <rgm@gnu.org>
13448
13449 * shell.el (shell-delimiter-argument-list):
13450 Revert 2011-02-17 change. (Bug#8027)
13451
13452 2012-02-15 Chong Yidong <cyd@gnu.org>
13453
13454 * minibuffer.el (completion-at-point-functions): Doc fix.
13455
13456 * custom.el (defcustom): Doc fix; note use of defvar.
13457
13458 2012-02-15 Glenn Morris <rgm@gnu.org>
13459
13460 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
13461 Doc fixes.
13462
13463 2012-02-14 Glenn Morris <rgm@gnu.org>
13464
13465 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
13466
13467 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
13468
13469 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
13470 way the ports list is computed.
13471 (smtpmail-query-smtp-server): Prompt the user for a port number if
13472 we can't connect to any of the standard ports (bug#10810).
13473
13474 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
13475
13476 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
13477
13478 2012-02-13 Glenn Morris <rgm@gnu.org>
13479
13480 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
13481
13482 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
13483
13484 * net/gnutls.el (gnutls-trustfiles): New variable.
13485 (gnutls-negotiate): Use it.
13486
13487 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
13488
13489 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
13490 does its stuff if Gnus is running.
13491
13492 2012-02-13 Alan Mackenzie <acm@muc.de>
13493
13494 Fix a loop in c-set-fl-decl-start.
13495
13496 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
13497 c-backward-syntactic-ws actually moves backwards.
13498
13499 2012-02-13 Leo Liu <sdl.web@gmail.com>
13500
13501 * net/rcirc.el (rcirc-markup-attributes): Move point to the
13502 beginning so that all \C-o chars are removed.
13503
13504 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
13505
13506 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
13507
13508 2012-02-12 Alan Mackenzie <acm@muc.de>
13509
13510 Fix infinite loop with long macros.
13511 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
13512
13513 2012-02-12 Chong Yidong <cyd@gnu.org>
13514
13515 * window.el (display-buffer): Doc fix (Bug#10785).
13516
13517 2012-02-12 Glenn Morris <rgm@gnu.org>
13518
13519 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13520 (x-disown-selection-internal, x-get-selection-internal):
13521 Sync docs with the xselect.c versions.
13522
13523 * allout-widgets.el: Add missing license notice.
13524
13525 2012-02-11 Glenn Morris <rgm@gnu.org>
13526
13527 * select.el (x-get-selection-internal, x-own-selection-internal)
13528 (x-disown-selection-internal):
13529 * x-dnd.el (x-get-selection-internal): Update declarations.
13530
13531 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
13532
13533 * window.el (window-sides-slots):
13534 * tool-bar.el (tool-bar-position):
13535 * term/xterm.el (xterm-extra-capabilities):
13536 * ses.el (ses-self-reference-early-detection):
13537 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
13538 (verilog-auto-wire-type)
13539 (verilog-auto-delete-trailing-whitespace)
13540 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
13541 (verilog-auto-tieoff-declaration):
13542 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
13543 (sql-oracle-statement-starters, sql-oracle-scan-on):
13544 * progmodes/prolog.el (prolog-align-comments-flag)
13545 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
13546 (prolog-left-indent-regexp, prolog-paren-indent-p)
13547 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
13548 (prolog-types, prolog-mode-specificators)
13549 (prolog-determinism-specificators, prolog-directives)
13550 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
13551 (prolog-electric-dot-flag)
13552 (prolog-electric-dot-full-predicate-template)
13553 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
13554 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
13555 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
13556 (prolog-program-switches, prolog-prompt-regexp)
13557 (prolog-debug-on-string, prolog-debug-off-string)
13558 (prolog-trace-on-string, prolog-trace-off-string)
13559 (prolog-zip-on-string, prolog-zip-off-string)
13560 (prolog-use-standard-consult-compile-method-flag)
13561 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
13562 (prolog-imenu-max-lines, prolog-info-predicate-index)
13563 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
13564 (prolog-char-quote-workaround):
13565 * progmodes/cc-vars.el (c-defun-tactic):
13566 * net/tramp.el (tramp-encoding-command-interactive)
13567 (tramp-local-end-of-line):
13568 * net/soap-client.el (soap-client):
13569 * net/netrc.el (netrc-file):
13570 * net/gnutls.el (gnutls):
13571 * minibuffer.el (completion-category-overrides)
13572 (completion-cycle-threshold)
13573 (completion-pcm-complete-word-inserts-delimiters):
13574 * man.el (Man-name-local-regexp):
13575 * mail/feedmail.el (feedmail-display-full-frame):
13576 * international/characters.el (glyphless-char-display-control):
13577 * eshell/em-ls.el (eshell-ls-date-format):
13578 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
13579 (lisp-lambda-list-keyword-parameter-indentation)
13580 (lisp-lambda-list-keyword-parameter-alignment):
13581 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
13582 * dired-x.el (dired-omit-verbose):
13583 * cus-theme.el (custom-theme-allow-multiple-selections):
13584 * calc/calc.el (calc-highlight-selections-with-faces)
13585 (calc-lu-field-reference, calc-lu-power-reference)
13586 (calc-note-threshold):
13587 * battery.el (battery-mode-line-limit):
13588 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
13589 (archive-7z-update):
13590 * allout.el (allout-prefixed-keybindings)
13591 (allout-unprefixed-keybindings)
13592 (allout-inhibit-auto-fill-on-headline)
13593 (allout-flattened-numbering-abbreviation):
13594 * allout-widgets.el (allout-widgets-auto-activation)
13595 (allout-widgets-icons-dark-subdir)
13596 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
13597 (allout-widgets-theme-dark-background)
13598 (allout-widgets-theme-light-background)
13599 (allout-widgets-item-image-properties-emacs)
13600 (allout-widgets-item-image-properties-xemacs)
13601 (allout-widgets-run-unit-tests-on-load)
13602 (allout-widgets-time-decoration-activity)
13603 (allout-widgets-hook-error-post-time)
13604 (allout-widgets-track-decoration):
13605 Add missing :version tags to new defcustoms and defgroups.
13606
13607 * progmodes/sql.el (sql-ansi-statement-starters)
13608 (sql-oracle-statement-starters): Add custom type.
13609
13610 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
13611 (prolog-system-version): Give it a type.
13612
13613 2012-02-11 Eli Zaretskii <eliz@gnu.org>
13614
13615 * term/pc-win.el (x-select-text, x-selection-owner-p)
13616 (x-own-selection-internal, x-disown-selection-internal)
13617 (x-get-selection-internal): Sync doc strings and argument lists
13618 with xselect.c, common-win.el and x-win.el. (Bug#10783)
13619
13620 2012-02-11 Leo Liu <sdl.web@gmail.com>
13621
13622 * progmodes/python.el (python-end-of-statement): Fix infinite
13623 loop. (Bug#10788)
13624
13625 2012-02-10 Glenn Morris <rgm@gnu.org>
13626
13627 * international/mule-cmds.el (unify-8859-on-encoding-mode)
13628 (unify-8859-on-decoding-mode): Properly mark as obsolete.
13629
13630 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
13631
13632 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
13633 about SMTP before checking the From header.
13634
13635 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
13636 into own function for reuse by emacsbug.el.
13637
13638 2012-02-10 Leo Liu <sdl.web@gmail.com>
13639
13640 * subr.el (condition-case-unless-debug): Rename from
13641 condition-case-no-debug. All callers changed.
13642 (with-demoted-errors): Fix caller.
13643
13644 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
13645 * nxml/rng-valid.el (rng-do-some-validation):
13646 * emacs-lisp/package.el (package-refresh-contents)
13647 (package-menu-execute):
13648 * desktop.el (desktop-create-buffer):
13649 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
13650
13651 2012-02-10 Glenn Morris <rgm@gnu.org>
13652
13653 * textmodes/bibtex.el:
13654 Add missing :version tags for new/changed defcustoms.
13655
13656 * files.el (remote-file-name-inhibit-cache): Doc fixes.
13657
13658 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
13659
13660 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
13661 (smtpmail-via-smtp): Use it, or fall back on the From address.
13662 (smtpmail-send-it): Ditto.
13663
13664 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
13665
13666 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
13667 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
13668 (byte-compile-tmp-var): New const.
13669 (byte-compile-defvar): Use it to minimize .elc size.
13670 Just use `defvar' rather than simulate it (bug#10761).
13671
13672 2012-02-09 Glenn Morris <rgm@gnu.org>
13673
13674 * files.el (rename-uniquely): Doc fix. (Bug#3806)
13675
13676 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
13677 Add :version tags.
13678
13679 * progmodes/compile.el (compilation-error-screen-columns)
13680 (compilation-first-column, compilation-filter-start): Doc fixes.
13681
13682 * vc/log-view.el (log-view-toggle-entry-display):
13683 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
13684
13685 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
13686 (report-emacs-bug-can-use-xdg-email):
13687 (report-emacs-bug-insert-to-mailer): Doc fixes.
13688 (report-emacs-bug): Message fix.
13689
13690 * net/browse-url.el (browse-url-can-use-xdg-open)
13691 (browse-url-xdg-open): Doc fixes.
13692
13693 * electric.el (electric-indent-mode, electric-pair-mode)
13694 (electric-layout-rules, electric-layout-mode): Doc fixes.
13695 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
13696
13697 2012-02-08 Martin Rudalics <rudalics@gmx.at>
13698
13699 * server.el (server-unselect-display): Don't inadvertently kill
13700 the current buffer. (Bug#10729)
13701
13702 2012-02-08 Glenn Morris <rgm@gnu.org>
13703
13704 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
13705 (sql-list-table): Doc fixes.
13706
13707 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
13708 Comment out (does nothing).
13709
13710 * completion.el (dynamic-completion-mode):
13711 * dirtrack.el (dirtrack-debug-mode):
13712 * electric.el (electric-layout-mode):
13713 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
13714 * face-remap.el (text-scale-mode, buffer-face-mode):
13715 * iimage.el (iimage-mode):
13716 * image-mode.el (image-transform-mode):
13717 * minibuffer.el (completion-in-region-mode):
13718 * scroll-lock.el (scroll-lock-mode):
13719 * simple.el (next-error-follow-minor-mode):
13720 * tar-mode.el (tar-subfile-mode):
13721 * tooltip.el (tooltip-mode):
13722 * vcursor.el (vcursor-use-vcursor-map):
13723 * wid-browse.el (widget-minor-mode):
13724 * emulation/tpu-edt.el (tpu-edt-mode):
13725 * emulation/tpu-extras.el (tpu-cursor-free-mode):
13726 * international/iso-ascii.el (iso-ascii-mode):
13727 * language/thai-util.el (thai-word-mode):
13728 * mail/supercite.el (sc-minor-mode):
13729 * net/goto-addr.el (goto-address-mode):
13730 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
13731 * progmodes/cwarn.el (cwarn-mode):
13732 * progmodes/flymake.el (flymake-mode):
13733 * progmodes/glasses.el (glasses-mode):
13734 * progmodes/hideshow.el (hs-minor-mode):
13735 * progmodes/pascal.el (pascal-outline-mode):
13736 * textmodes/enriched.el (enriched-mode):
13737 * vc/smerge-mode.el (smerge-mode):
13738 Doc fixes (minor mode argument).
13739
13740 2012-02-07 Eli Zaretskii <eliz@gnu.org>
13741
13742 * ls-lisp.el (ls-lisp-sanitize): New function.
13743 (ls-lisp-insert-directory): Use it to fix or remove any elements
13744 in file-alist with missing attributes. (Bug#4673)
13745
13746 2012-02-07 Alan Mackenzie <acm@muc.de>
13747
13748 Fix spurious recognition of c-in-knr-argdecl.
13749
13750 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
13751 putative K&R region.
13752
13753 2012-02-07 Alan Mackenzie <acm@muc.de>
13754
13755 * progmodes/cc-engine.el (c-forward-objc-directive):
13756 Prevent looping in "#pragma mark @implementation".
13757
13758 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
13759
13760 * notifications.el (notifications-on-closed-signal): Make `reason'
13761 optional. (Bug#10744)
13762
13763 2012-02-07 Glenn Morris <rgm@gnu.org>
13764
13765 * emacs-lisp/easy-mmode.el (define-minor-mode):
13766 Doc fixes for the macro and the mode it defines.
13767
13768 * image.el (imagemagick-types-inhibit): Doc fix.
13769
13770 * cus-start.el (imagemagick-render-type): Add it.
13771
13772 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
13773
13774 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
13775 Set the default at load time, too, so that `font-lock-fontify-buffer'
13776 can be called without setting up the entire mode first. This fixes
13777 a bug in `mm-inline-text' with C MIME parts.
13778
13779 2012-02-06 Chong Yidong <cyd@gnu.org>
13780
13781 * simple.el (list-processes--refresh): Delete exited processes
13782 (Bug#8094).
13783
13784 * comint.el (comint-next-prompt): next-single-char-property-change
13785 and prev-single-char-property-change never return nil (Bug#8657).
13786
13787 * custom.el (defcustom): Doc fix (Bug#9711).
13788
13789 2012-02-05 Chong Yidong <cyd@gnu.org>
13790
13791 * cus-edit.el (custom-variable-reset-backup): Quote the value
13792 before storing it in the customized-value property (Bug#6712).
13793 (custom-display): Add a customization type tag.
13794 (custom-buffer-create-internal): Improve tooltip message.
13795
13796 * wid-edit.el (widget-field-value-get): New optional arg to
13797 suppress trailing whitespace truncation.
13798 (character): Use it (Bug#2689).
13799
13800 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
13801
13802 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
13803 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
13804
13805 2012-02-05 Chong Yidong <cyd@gnu.org>
13806
13807 * cus-edit.el (custom-variable-value-create): For mismatched
13808 types, show the current value (Bug#7600).
13809
13810 * custom.el (defcustom): Doc fix.
13811
13812 2012-02-05 Glenn Morris <rgm@gnu.org>
13813
13814 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
13815
13816 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
13817
13818 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
13819 (pp-buffer): Use `ignore-errors', `looking-at-p'.
13820 (pp-last-sexp): Use `looking-at-p'.
13821
13822 2012-02-04 Glenn Morris <rgm@gnu.org>
13823
13824 * files.el (revert-buffer):
13825 Doc fix (mention revert-buffer-in-progress-p).
13826
13827 * emacs-lisp/ert-x.el (ert-simulate-command):
13828 Check deferred-action-list (which is obsolete) is bound.
13829
13830 * subr.el (with-wrapper-hook): Doc fixes.
13831
13832 * simple.el (filter-buffer-substring-functions)
13833 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
13834
13835 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
13836
13837 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
13838 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
13839
13840 2012-02-04 Leo Liu <sdl.web@gmail.com>
13841
13842 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
13843
13844 2012-02-04 Glenn Morris <rgm@gnu.org>
13845
13846 * image.el (image-extension-data): Add obsolete alias.
13847
13848 * isearch.el (isearch-update): Doc fix.
13849
13850 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
13851
13852 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
13853
13854 2012-02-03 Glenn Morris <rgm@gnu.org>
13855
13856 * image.el (image-animated-p): Doc fix. Use image-animated-types.
13857 (image-animate-timeout): Doc fix.
13858
13859 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
13860
13861 2012-02-02 Glenn Morris <rgm@gnu.org>
13862
13863 * server.el (server-auth-dir): Doc fix.
13864 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
13865
13866 * subr.el (run-mode-hooks): Doc fix.
13867
13868 2012-02-02 Juri Linkov <juri@jurta.org>
13869
13870 * image-mode.el (image-toggle-display-image): Remove tautological
13871 `major-mode' from the `derived-mode-p' test.
13872
13873 2012-02-02 Kenichi Handa <handa@m17n.org>
13874
13875 * composite.el (compose-region): Cancel previous change.
13876
13877 2012-02-02 Kenichi Handa <handa@m17n.org>
13878
13879 * composite.el (compose-region, compose-string): Signal error for
13880 a null string component (Bug#6988).
13881
13882 2012-02-01 Chong Yidong <cyd@gnu.org>
13883
13884 * view.el (view-buffer-other-window, view-buffer-other-frame):
13885 Handle special modes like view-buffer (Bug#10650).
13886 (view-buffer): Simplify.
13887
13888 * frame.el (set-frame-font): Tweak meaning of third argument.
13889
13890 * dynamic-setting.el (font-setting-change-default-font):
13891 Use set-frame-font (Bug#9982).
13892
13893 2012-02-01 Glenn Morris <rgm@gnu.org>
13894
13895 * progmodes/compile.el (compilation-internal-error-properties):
13896 Respect compilation-first-column in the "*compilation*" buffer.
13897
13898 * emacs-lisp/easy-mmode.el (define-minor-mode):
13899 Relax :variable's test for a named function.
13900
13901 2012-01-31 Alan Mackenzie <acm@muc.de>
13902
13903 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
13904 off by one error.
13905
13906 2012-01-31 Chong Yidong <cyd@gnu.org>
13907
13908 * frame.el (set-frame-font): New arg ALL-FRAMES.
13909
13910 * menu-bar.el (menu-set-font): Use set-frame-font.
13911
13912 * faces.el (face-spec-reset-face): Don't apply unspecified
13913 attribute values to the default face.
13914
13915 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
13916
13917 * progmodes/cwarn.el (cwarn): Remove dead link.
13918 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
13919 Remove * from defcustom docstrings.
13920 (turn-on-cwarn-mode): Make obsolete.
13921 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
13922 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
13923
13924 2012-01-31 Glenn Morris <rgm@gnu.org>
13925
13926 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
13927 Fix :variable handling of mode a symbol not equal to modefun.
13928 Allow named functions to be used as the cdr of :variable.
13929
13930 2012-01-30 Glenn Morris <rgm@gnu.org>
13931
13932 * emacs-lisp/authors.el (authors-fixed-entries):
13933 Remove reference to deleted file rnewspost.el.
13934
13935 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
13936
13937 * window.el (window-with-parameter): Remove unused variable `windows'.
13938 (window--side-check): Remove unused variable `code'.
13939 (window--resize-siblings): Remove unused variable `first'.
13940 (adjust-window-trailing-edge): Remove unused variable `failed'.
13941 (window-deletable-p, window--delete): Remove unused variable `buffer'.
13942 Use `let', not `let*'.
13943 (balance-windows-2): Remove unused variable `found'.
13944 (window--state-put-2): Remove unused variable `splits'.
13945 (window-state-put): Remove unused variable `selected'.
13946 (same-window-p): Use `string-match-p'.
13947 (display-buffer-assq-regexp): Remove unused variable `value'.
13948 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13949 Mark argument ALIST as ignored.
13950 (pop-to-buffer): Remove unused variable `old-window'.
13951
13952 2012-01-29 Eli Zaretskii <eliz@gnu.org>
13953
13954 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
13955 and .lzma compressed files.
13956
13957 2012-01-29 Chong Yidong <cyd@gnu.org>
13958
13959 * frame.el (window-system-default-frame-alist): Doc fix.
13960
13961 * dynamic-setting.el (font-setting-change-default-font): Don't
13962 change the default face if SET-FONT argument is non-nil (Bug#9982).
13963
13964 2012-01-29 Samuel Bronson <naesten@gmail.com>
13965
13966 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
13967
13968 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
13969
13970 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
13971 breakpoints in files outside current directory (Bug#6098).
13972
13973 2012-01-29 Chong Yidong <cyd@gnu.org>
13974
13975 * progmodes/python.el: Require ansi-color at top-level.
13976
13977 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
13978 Define and use in Emacs Lisp mode (Bug#9360).
13979 (lisp-mode-abbrev-table): Add doc.
13980 (lisp-mode-variables): Don't set local-abbrev-table.
13981 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
13982
13983 2012-01-28 Roland Winkler <winkler@gnu.org>
13984
13985 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
13986
13987 2012-01-28 Roland Winkler <winkler@gnu.org>
13988
13989 * textmodes/bibtex.el (bibtex-entry-alist): New function.
13990 (bibtex-set-dialect): Use it. Either set global values of
13991 dialect-dependent variables or bind these variables buffer-locally
13992 (Bug#10254).
13993 (bibtex-mode): Call bibtex-set-dialect via
13994 hack-local-variables-hook.
13995 (bibtex-dialect): Update docstring.
13996 Add safe-local-variable predicate.
13997 (bibtex-entry-alist, bibtex-field-alist): Initialize via
13998 bibtex-set-dialect.
13999 (bibtex-mode-map): Define menu for each dialect.
14000 (bibtex-entry): Fix docstring.
14001
14002 2012-01-28 Chong Yidong <cyd@gnu.org>
14003
14004 * eshell/esh-arg.el (eshell-quote-argument): New function.
14005
14006 * eshell/esh-ext.el (eshell-invoke-batch-file):
14007 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14008 first arg to eshell-parse-command (Bug#10523).
14009
14010 2012-01-28 Drew Adams <drew.adams@oracle.com>
14011
14012 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14013 `default-directory' is non-nil.
14014
14015 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14016
14017 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14018 line that displays system-configuration-options. (Bug#9924)
14019
14020 2012-01-28 Drew Adams <drew.adams@oracle.com>
14021
14022 * descr-text.el (describe-char): Show information about POS, in
14023 addition to information about the character at POS. Improve and
14024 update the doc string. Change "code point" to "code point in
14025 charset", to avoid confusion with the character's Unicode code
14026 point shown above that. (Bug#10129)
14027
14028 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14029
14030 * descr-text.el (describe-char): Show the raw character, not only
14031 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14032 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14033 for the reasons.
14034
14035 2012-01-28 Phil Hagelberg <phil@hagelb.org>
14036
14037 * emacs-lisp/package.el (package-install):
14038 Run package-refresh-contents if there is no archive yet (Bug#9798).
14039
14040 2012-01-28 Chong Yidong <cyd@gnu.org>
14041
14042 * emacs-lisp/package.el (package-maybe-load-descriptor):
14043 New function, split from package-maybe-load-descriptor.
14044 (package-maybe-load-descriptor): Use it.
14045 (package-download-transaction): Fully load required packages
14046 inside the loop, so that `require' calls work (Bug#10593).
14047 (package-install): No need to call package-initialize now.
14048
14049 2012-01-28 Chong Yidong <cyd@gnu.org>
14050
14051 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14052
14053 * tooltip.el (tooltip-mode): Doc fix.
14054 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14055
14056 * frame.el (set-cursor-color): Doc fix (Bug#352).
14057
14058 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14059 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14060
14061 * cus-edit.el (custom-buffer-create-internal): Fix search button
14062 action (Bug#10542).
14063 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
14064
14065 2012-01-27 Eduard Wiebe <usenet@pusto.de>
14066
14067 * dired.el (dired-mark-files-regexp):
14068 Include any subdirectory components. (Bug#10445)
14069
14070 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14071
14072 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14073 Handle [host]:port syntax. (Bug#10533)
14074
14075 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
14076
14077 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14078
14079 2012-01-26 Glenn Morris <rgm@gnu.org>
14080
14081 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14082 * term.el (term-raw-escape-map): Use Control-X-prefix.
14083 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14084
14085 2012-01-25 Martin Rudalics <rudalics@gmx.at>
14086
14087 * window.el (window-state-get, window--state-get-1): Don't deal
14088 with fixed-sizeness of windows. Simplify code.
14089
14090 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14091
14092 * window.el (window--state-get-1, window--state-put-2):
14093 Don't save and restore the mark.
14094
14095 2012-01-25 Chong Yidong <cyd@gnu.org>
14096
14097 * custom.el (custom-variable-p): Doc fix.
14098
14099 2012-01-25 Glenn Morris <rgm@gnu.org>
14100
14101 * dired.el (dired-goto-file): Handle some of the more common
14102 characters that `ls -b' escapes. (Bug#10596)
14103
14104 * progmodes/compile.el (compilation-next-error-function):
14105 Respect compilation-first-column in the "*compilation*" buffer.
14106 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14107
14108 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14109
14110 2012-01-24 Glenn Morris <rgm@gnu.org>
14111
14112 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14113
14114 2012-01-24 Julien Danjou <julien@danjou.info>
14115
14116 * color.el (color-rgb-to-hsl): Fix value computing.
14117 (color-hue-to-rgb): New function.
14118 (color-hsl-to-rgb): New function.
14119 (color-clamp, color-saturate-hsl, color-saturate-name)
14120 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14121 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14122
14123 2012-01-24 Glenn Morris <rgm@gnu.org>
14124
14125 * vc/vc-rcs.el (vc-rcs-create-tag):
14126 * vc/vc-sccs.el (vc-sccs-create-tag):
14127 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
14128
14129 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
14130
14131 * eshell/esh-util.el (eshell-read-hosts-file):
14132 Skip comment lines. (Bug#10549)
14133
14134 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
14135
14136 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
14137
14138 * subr.el (display-delayed-warnings): Doc fix.
14139 (collapse-delayed-warnings): New function to collapse identical
14140 adjacent warnings.
14141 (delayed-warnings-hook): Add it.
14142
14143 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
14144
14145 * net/tramp.el (tramp-action-login): Set connection property "login-as".
14146
14147 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14148 (tramp-default-user-alist): Don't add "pscp".
14149 (tramp-do-copy-or-rename-file-out-of-band): Use connection
14150 property "login-as", if set. (Bug#10530)
14151
14152 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
14153
14154 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14155 "plink1" and "psftp". (Bug#10530)
14156
14157 2012-01-21 Kenichi Handa <handa@m17n.org>
14158
14159 * international/mule-cmds.el (prefer-coding-system): Show a
14160 warning message if the default value of file-name-coding-system
14161 was not changed.
14162
14163 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14164
14165 * windmove.el (windmove-reference-loc):
14166 Fix windmove-reference-loc miscalculation.
14167
14168 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14169
14170 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14171 default unit.
14172
14173 2012-01-21 Glenn Morris <rgm@gnu.org>
14174
14175 * international/mule.el (auto-coding-alist): Add .tbz.
14176
14177 * files.el (local-enable-local-variables): Doc fix.
14178 (inhibit-local-variables-regexps): Rename from
14179 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14180 Doc fix. Add some extensions from auto-coding-alist.
14181 (inhibit-local-variables-suffixes):
14182 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14183 (inhibit-local-variables-p):
14184 New function, extracted from set-auto-mode-1.
14185 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14186 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14187 (hack-local-variables): Doc fix. Make the mode-only case
14188 respect enable-local-variables and friends.
14189 Respect inhibit-local-variables-regexps for file-locals, but
14190 not for directory-locals.
14191 (set-visited-file-name):
14192 Take account of inhibit-local-variables-regexps.
14193 Whether it applies may change as the file name is changed.
14194 * jka-cmpr-hook.el (jka-compr-install):
14195 * jka-compr.el (jka-compr-uninstall):
14196 Update for inhibit-first-line-modes-suffixes name change.
14197
14198 2012-01-20 Martin Rudalics <rudalics@gmx.at>
14199
14200 * help-macro.el (make-help-screen): Temporarily restore original
14201 binding for minor-mode-map-alist (Bug#10454).
14202
14203 2012-01-19 Julien Danjou <julien@danjou.info>
14204
14205 * color.el (color-name-to-rgb): Use the white color to find the max
14206 color component value and return correctly computed values.
14207 (color-name-to-rgb): Add missing float conversion for max value.
14208
14209 2012-01-19 Martin Rudalics <rudalics@gmx.at>
14210
14211 * window.el (window--state-get-1, window-state-get): Do not use
14212 special state value for window-persistent-parameters.
14213 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
14214 (window--state-put-2): Reset all window parameters to nil before
14215 assigning values of persistent parameters.
14216
14217 2012-01-18 Alan Mackenzie <acm@muc.de>
14218
14219 Eliminate sluggishness and hangs in fontification of "semicolon
14220 deserts".
14221
14222 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14223 Change value 10000 -> 3000.
14224 (c-state-safe-place): Reformulate so it doesn't stack up an
14225 infinite number of wrong entries in c-state-nonlit-pos-cache.
14226 (c-determine-limit-get-base, c-determine-limit): New functions to
14227 determine backward search limits disregarding literals.
14228 (c-find-decl-spots): Amend commenting.
14229 (c-cheap-inside-bracelist-p): New function which detects "={".
14230
14231 * progmodes/cc-fonts.el
14232 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14233 backward search.
14234 (c-font-lock-declarations): Fix an occurrence of point being
14235 undefined. Check additionally for point being in a bracelist or
14236 near a macro invocation without a semicolon so as to avoid a
14237 fruitless time consuming search for a declarator. Give a more
14238 precise search limit for declarators using the new
14239 c-determine-limit.
14240
14241 2012-01-18 Glenn Morris <rgm@gnu.org>
14242
14243 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14244 (set-auto-mode): Doc fixes.
14245
14246 2012-01-17 Glenn Morris <rgm@gnu.org>
14247
14248 * isearch.el (search-nonincremental-instead): Fix doc typo.
14249
14250 * dired.el (dired-insert-directory): Handle newlines in directory name.
14251 (dired-build-subdir-alist): Unescape newlines in directory name.
14252
14253 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
14254
14255 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14256 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14257 (tramp-action-terminal): Use it. (Bug#10530)
14258
14259 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14260
14261 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14262
14263 2012-01-16 Martin Rudalics <rudalics@gmx.at>
14264
14265 * window.el (window-state-ignored-parameters): Remove variable.
14266 (window--state-get-1): Rename argument MARKERS to IGNORE.
14267 Handle persistent window parameters. Make copy of clone-of
14268 parameter only if requested. (Bug#10348)
14269 (window--state-put-2): Install a window parameter only if it has
14270 a non-nil value or an existing parameter shall be overwritten.
14271
14272 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
14273
14274 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14275
14276 2012-01-14 Eli Zaretskii <eliz@gnu.org>
14277
14278 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14279 don't pass the (nil) value of `upnode' to string-match.
14280
14281 2012-01-14 Chong Yidong <cyd@gnu.org>
14282
14283 * startup.el (command-line): Fix X resource class for cursorColor.
14284 Fix values recognized by the cursorBlink resource.
14285
14286 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14287
14288 * epg.el (epg--make-temp-file): Avoid permission race condition
14289 when running on old Emacs versions (bug#10403).
14290
14291 2012-01-14 Glenn Morris <rgm@gnu.org>
14292
14293 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14294
14295 2012-01-13 Alan Mackenzie <acm@muc.de>
14296
14297 Fix filling for when filladapt mode is enabled.
14298
14299 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14300 c-mask-paragraph, pass in `fill-paragraph' rather than
14301 `fill-region-as-paragraph'. (This is a reversion of a previous
14302 change.)
14303 * progmodes/cc-mode.el (c-basic-common-init):
14304 Make fill-paragraph-handle-comment buffer local and set it to nil.
14305
14306 2012-01-13 Glenn Morris <rgm@gnu.org>
14307
14308 * dired.el (dired-switches-escape-p): New function.
14309 (dired-insert-directory): Use dired-switches-escape-p.
14310 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14311
14312 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14313
14314 2012-01-12 Glenn Morris <rgm@gnu.org>
14315
14316 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14317 changes in adaptive-fill-regexp. (Bug#10276)
14318
14319 2012-01-11 Alan Mackenzie <acm@muc.de>
14320
14321 Fix Emacs bug #10463 - put `widen's around the critical spots.
14322
14323 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
14324 widen around each invocation of c-state-pp-to-literal. Remove an
14325 unused let variable.
14326
14327 2012-01-11 Glenn Morris <rgm@gnu.org>
14328
14329 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
14330 Doc fix.
14331
14332 2012-01-10 Chong Yidong <cyd@gnu.org>
14333
14334 * net/network-stream.el (network-stream-open-starttls):
14335 Avoid emitting a confusing error message when the server gives a bad
14336 response to the capability command.
14337
14338 2012-01-10 Glenn Morris <rgm@gnu.org>
14339
14340 * mail/unrmail.el (unrmail): Tweak previous change.
14341
14342 2012-01-09 Chong Yidong <cyd@gnu.org>
14343
14344 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14345
14346 2012-01-08 Alan Mackenzie <acm@muc.de>
14347
14348 Optimize font locking in long enum definitions.
14349
14350 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14351 arm to a cond form to handle enums.
14352 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14353 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14354
14355 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
14356
14357 * files.el (move-file-to-trash): Preserve default file modes on error.
14358 (Bug#10401)
14359
14360 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14361
14362 * faces.el (set-face-attribute): Clarify the meaning of the nil
14363 frame (bug#10294).
14364
14365 * subr.el (with-selected-frame): Mention that the selected frame
14366 is restored (bug#9980).
14367
14368 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
14369 (bug#9759).
14370
14371 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
14372 (password-read): Don't autoload unused function.
14373
14374 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
14375
14376 * progmodes/which-func.el (which-func-mode): Turn into a
14377 non-interactive function and mark as obsolete (bug#10428).
14378
14379 2012-01-06 Chong Yidong <cyd@gnu.org>
14380
14381 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
14382 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
14383 functions, along with 1 and -1.
14384
14385 2012-01-06 Eli Zaretskii <eliz@gnu.org>
14386
14387 * time.el (display-time-load-average)
14388 (display-time-default-load-average): Doc fixes. See the thread
14389 starting at
14390 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
14391 for the details.
14392
14393 2012-01-06 Glenn Morris <rgm@gnu.org>
14394
14395 * mail/unrmail.el (unrmail): Give an explicit error if the input file
14396 has no messages. (Bug#10377)
14397
14398 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
14399 than Info-edit. (Bug#10385)
14400
14401 * time.el (display-time-load-average, display-time-next-load-average):
14402 Doc fixes.
14403
14404 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
14405 local setting of buffer-read-only to the input buffer. (Bug#10419)
14406
14407 * calendar/calendar.el (calendar-mode):
14408 Locally set scroll-margin to 0. (Bug#10379)
14409
14410 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
14411
14412 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
14413
14414 2012-01-05 Glenn Morris <rgm@gnu.org>
14415
14416 * eshell/em-unix.el (diff-no-select): Autoload it.
14417 (eshell/diff): Use diff-no-select. (Bug#10420)
14418
14419 2012-01-05 Chong Yidong <cyd@gnu.org>
14420
14421 * shell.el (shell-dynamic-complete-functions): Revert last change.
14422 (shell-command-completion-function): New function.
14423 (shell-completion-vars): Use it to implement
14424 shell-completion-execonly (Bug#10417).
14425
14426 * custom.el (enable-theme): Don't set custom-safe-themes.
14427
14428 * cus-theme.el (custom-theme-merge-theme):
14429 Ignore custom-enabled-themes and custom-safe-themes.
14430
14431 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
14432
14433 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
14434 first prompt in `sql-interacive-mode'.
14435 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
14436 keywords.
14437 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
14438 (sql-product-interactive): Bug fix: Set `sql-buffer' in
14439 context of original buffer. Invoke `sql-login-hook'.
14440
14441 2012-01-04 Eli Zaretskii <eliz@gnu.org>
14442
14443 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
14444 letters in cite-prefix.
14445
14446 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14447
14448 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
14449
14450 2012-01-03 Chong Yidong <cyd@gnu.org>
14451
14452 * shell.el (shell-dynamic-complete-functions):
14453 Put pcomplete-completions-at-point, so as to try
14454 comint-filename-completion first (Bug#10417).
14455
14456 2012-01-02 Richard Stallman <rms@gnu.org>
14457
14458 * battery.el (battery-status-function):
14459 Detect when to use battery-yeeloong-sysfs.
14460 (battery-echo-area-format): Add string for Yeeloong.
14461 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
14462 (battery-yeeloong-sysfs): New function.
14463
14464 2012-01-02 Chong Yidong <cyd@gnu.org>
14465
14466 * dirtrack.el (dirtrack-list): Eliminate unused third element.
14467 (dirtrack): Merge code for handling relative filenames in prompt
14468 from shell-dir-cookie-watcher.
14469 (dirtrack-debug-message): New arg to avoid excess format calls.
14470
14471 * shell.el (shell-dir-cookie-re): Variable deleted.
14472 (shell-dir-cookie-watcher): Function deleted.
14473 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
14474 with dirtrack-mode.
14475
14476 2012-01-01 Eli Zaretskii <eliz@gnu.org>
14477
14478 * term/w32-win.el (dynamic-library-alist) <gnutls>:
14479 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
14480 libgnutls-26.dll.
14481
14482 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
14483
14484 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
14485
14486 2011-12-31 Eli Zaretskii <eliz@gnu.org>
14487
14488 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
14489 headers of non-MIME messages, when rmail-enable-mime is non-nil.
14490
14491 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
14492
14493 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
14494 also for alternative shells.
14495 (tramp-open-connection-setup-interactive-shell): Check, whether
14496 the shell is a busybox.
14497 (tramp-send-command): Don't suppress multiple prompts for
14498 busyboxes, it hurts.
14499
14500 2011-12-28 Chong Yidong <cyd@gnu.org>
14501
14502 * progmodes/gdb-mi.el (gdb-get-source-file-list)
14503 (gdb-get-source-file): Move mode line update to
14504 gdb-get-source-file (Bug#10087).
14505
14506 2011-12-25 Chong Yidong <cyd@gnu.org>
14507
14508 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
14509 gud-gdb-marker-filter without taking it as an argument.
14510 (gud-gdb-run-command-fetch-lines): Caller changed.
14511 (gud-gdb-completion-function): New variable.
14512 (gud-gdb-completion-at-point): Use it.
14513 (gud-gdb-completions-1): Split from gud-gdb-completions.
14514
14515 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
14516 function as separate arguments.
14517 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
14518 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
14519 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
14520 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
14521 (gdb-stopped, def-gdb-auto-update-trigger)
14522 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
14523 (gdb-get-changed-registers, gdb-get-main-selected-frame):
14524 Callers changed.
14525 (gud-gdbmi-completions): New function.
14526 (gdb): Use it for generating the completion table.
14527
14528 2011-12-24 Alan Mackenzie <acm@muc.de>
14529
14530 Introduce a mechanism to widen the region used in context font
14531 locking. Use this to protect declarations from losing their contexts.
14532
14533 * progmodes/cc-langs.el (c-before-font-lock-functions):
14534 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
14535 (c-before-context-fontification-functions): New defvar, a list of
14536 functions to be run just before context (etc.) font locking.
14537
14538 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
14539 New, functionality extracted from
14540 c-neutralize-syntax-in-and-mark-CPP.
14541 (c-in-after-change-fontification): New variable.
14542 (c-after-change): Set c-in-after-change-fontification.
14543 (c-set-fl-decl-start): Rejig its interface, so it can be called
14544 from both after-change and context fontifying.
14545 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
14546 New functions.
14547 (c-standard-font-lock-fontify-region-function): New variable.
14548 (c-font-lock-fontify-region): New function.
14549
14550 2011-12-24 Juri Linkov <juri@jurta.org>
14551
14552 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
14553 (Bug#10348)
14554
14555 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
14556
14557 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
14558 existence of source file. (Bug#10325)
14559
14560 2011-12-23 Alan Mackenzie <acm@muc.de>
14561
14562 Fix unstable fontification inside templates.
14563
14564 * progmodes/cc-langs.el (c-before-font-lock-functions):
14565 Newly created from the singular version. The (c c++ objc) entry now
14566 additionally has c-set-fl-decl-start. The other languages (apart
14567 from AWK) have that as a single entry.
14568
14569 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14570 The functionality for "local" declarations has been extracted to
14571 c-set-fl-decl-start.
14572
14573 * progmodes/cc-mode.el (c-common-init, c-after-change):
14574 Changes due to pluralisation of c-before-font-lock-functions.
14575 (c-set-fl-decl-start): New function, extracted from
14576 c-font-lock-enclosing-decls and enhanced.
14577
14578 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
14579
14580 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
14581
14582 2011-12-22 Juri Linkov <juri@jurta.org>
14583
14584 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
14585
14586 2011-12-22 Chong Yidong <cyd@gnu.org>
14587
14588 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
14589
14590 2011-12-21 Drew Adams <drew.adams@oracle.com>
14591
14592 * files.el (file-remote-p): Fix docstring. (Bug#10319)
14593
14594 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14595
14596 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
14597
14598 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
14599
14600 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
14601 highlighting and support. Fix up comments for capitalization.
14602 (cfengine-mode-debug): New var.
14603 (cfengine3-mode): Change the modeline indicator to "CFE3".
14604 (cfengine3-font-lock-keywords): Improve defun highlighting.
14605 (cfengine2-actions): Rename from `cfengine-actions'.
14606 (cfengine2-font-lock-keywords): Rename from
14607 `cfengine-font-lock-keywords'.
14608 (cfengine2-imenu-expression): Rename from
14609 `cfengine-imenu-expression'.
14610 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
14611 (cfengine2-beginning-of-defun): Rename from
14612 `cfengine-beginning-of-defun'.
14613 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
14614 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
14615 (cfengine2-mode): Rename from `cfengine-mode'. Change the
14616 modeline indicator to "CFE2".
14617 (cfengine-mode): Defalias to `cfengine-auto-mode'.
14618 (cfengine-mode-abbrevs): Mark obsolete.
14619
14620 2011-12-21 Chong Yidong <cyd@gnu.org>
14621
14622 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
14623 filename argument.
14624
14625 2011-12-20 Martin Rudalics <rudalics@gmx.at>
14626
14627 * window.el (window-normalize-buffer-to-display): Remove.
14628 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
14629
14630 2011-12-19 Chong Yidong <cyd@gnu.org>
14631
14632 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
14633 Don't signal an error in a predicate function; return non-nil.
14634 (vc-dir-mark-file): Move the error here.
14635 (vc-dir-mark-unmark): If acting on the region, keep going if one
14636 of the entries cannot be marked/unmarked.
14637 (vc-dir-mark-all-files): If current entry is a directory, mark
14638 only child files, as documented.
14639
14640 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
14641
14642 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
14643 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
14644 addition.
14645
14646 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
14647
14648 * term/ns-win.el (ns-get-selection-internal)
14649 (ns-store-selection-internal): Declare.
14650 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
14651 Declare as obsolete.
14652 (ns-get-pasteboard, ns-paste-secondary):
14653 Use ns-get-selection-internal.
14654 (ns-set-pasteboard, ns-copy-including-secondary):
14655 Use ns-store-selection-internal.
14656
14657 2011-12-17 Chong Yidong <cyd@gnu.org>
14658
14659 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
14660 (vc-deduce-fileset): Doc fix.
14661
14662 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
14663
14664 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
14665
14666 2011-12-13 Sam Steingold <sds@gnu.org>
14667
14668 * man.el (Man-getpage-in-background): When running under a
14669 window-system, ignore $MANWIDTH and $COLUMNS.
14670
14671 2011-12-15 Kenichi Handa <handa@m17n.org>
14672
14673 * language/ethio-util.el: Change coding tag to utf-8-emacs.
14674 (setup-ethiopic-environment-internal): Comment out key-binding for
14675 ethio-toggle-punctuation.
14676
14677 2011-12-13 Alan Mackenzie <acm@muc.de>
14678
14679 Add the switch statement to AWK Mode.
14680
14681 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
14682 "default" to the keywords regexp.
14683
14684 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
14685 expression as the rest.
14686 (c-nonlabel-token-key): Allow string literals for AWK.
14687 Refactor for the other modes.
14688
14689 Large brace-block initialisation makes CC Mode slow: Fix.
14690 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
14691 routines. Limit backward searching in c-font-lock-enclosing.decl.
14692
14693 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
14694 pp-state and literal type in addition to the limits.
14695 (c-state-safe-place): New defun, extracted from c-state-literal-at.
14696 (c-state-literal-at): Use the above new defun.
14697 (c-slow-in-literal, c-fast-in-literal): Remove.
14698 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
14699
14700 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
14701 being in a literal. Add a limit for backward searching.
14702
14703 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
14704 c-slow-in-literal.
14705
14706 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
14707
14708 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
14709
14710 2011-12-13 Martin Rudalics <rudalics@gmx.at>
14711
14712 * window.el (delete-other-windows): Use correct frame in call to
14713 window-with-parameter.
14714
14715 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
14716
14717 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
14718 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
14719 (makefile-gmake-statements, makefile-makepp-statements):
14720 Use it and add new makepp keywords.
14721 (makefile-makepp-font-lock-keywords): Add new patterns.
14722 (makefile-match-function-end): Match new [...] and [[...]].
14723
14724 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
14725
14726 * ses.el (ses-call-printer-return, ses-cell-property-get)
14727 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
14728 (ses-create-cell-variable, ses-reset-header-string)
14729 (ses-cell-set-formula, ses-repair-cell-reference-all)
14730 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
14731 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
14732 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
14733 (ses-aset-with-undo, ses-load, ses-truncate-cell)
14734 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
14735 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
14736 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
14737 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
14738 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
14739 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
14740 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
14741 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
14742
14743 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
14744
14745 * ses.el: The overall change is to add cell renaming, that is
14746 setting fancy names for cell symbols other than name matching
14747 "\\`[A-Z]+[0-9]+\\'" regexp .
14748 (ses-create-cell-variable): New defun.
14749 (ses-relocate-formula): Relocate formulas only for cells the
14750 symbols of which are not renamed, i.e. symbols whose names do not
14751 match regexp "\\`[A-Z]+[0-9]+\\'".
14752 (ses-relocate-all): Relocate values only for cells the symbols of
14753 which are not renamed.
14754 (ses-load): Create cells variables as the (ses-cell ...) are read,
14755 in order to check row col consistency with cell symbol name only
14756 for cells that are not renamed.
14757 (ses-replace-name-in-formula): New defun.
14758 (ses-rename-cell): New defun.
14759
14760 2011-12-11 Chong Yidong <cyd@gnu.org>
14761
14762 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
14763 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
14764
14765 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
14766
14767 * window.el (other-window): Fix docstring.
14768
14769 2011-12-10 Eli Zaretskii <eliz@gnu.org>
14770
14771 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
14772 `from' or `to' address before taking its substring.
14773 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
14774 encoded name is chopped in the middle of the encoded string, and
14775 thus displayed encoded.
14776
14777 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
14778
14779 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
14780
14781 2011-12-10 Eli Zaretskii <eliz@gnu.org>
14782
14783 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
14784 to use texinfo-update-node and commands that call it if the
14785 Texinfo file uses @node lines without next/prev/up pointers.
14786 Correct outdated description about texinfo-master-menu.
14787 (texinfo-all-menus-update, texinfo-master-menu)
14788 (texinfo-update-node, texinfo-every-node-update)
14789 (texinfo-multiple-files-update): Doc fix. Warn against updating
14790 all the @node lines.
14791 (texinfo-master-menu): Only call texinfo-update-node if the prefix
14792 argument is numeric. Explain better in the doc string what the
14793 function really does.
14794 (texinfo-insert-master-menu-list): Improve the error message
14795 displayed if there's no menu in the Top node.
14796 (Bug#2975) See also this thread:
14797 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
14798
14799 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
14800
14801 * speedbar.el (speedbar-supported-extension-expressions):
14802 Add .adb and .ads, commonly used for Ada source code (bug#10256).
14803
14804 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
14805
14806 * printing.el (pr-mode-alist):
14807 * simple.el (filter-buffer-substring-functions)
14808 (completion-list-insert-choice-function):
14809 * window.el (window-with-parameter, window-atom-root)
14810 (window-sides-slots, window-size-fixed, window-min-delta)
14811 (window-max-delta, window--resize-mini-window)
14812 (window--resize-child-windows-normal, window-tree)
14813 (delete-other-windows, quit-window, split-window)
14814 (display-buffer-record-window, special-display-buffer-names)
14815 (special-display-regexps, special-display-popup-frame)
14816 (same-window-p, split-window-sensibly)
14817 (display-buffer-overriding-action, display-buffer-alist)
14818 (display-buffer-base-action, display-buffer, switch-to-buffer)
14819 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
14820 (fit-window-to-buffer, recenter-positions)
14821 (mouse-autoselect-window-state, mouse-autoselect-window-select):
14822 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
14823 and remove unneeded backslashes in docstrings.
14824
14825 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
14826
14827 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
14828
14829 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
14830 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
14831 end in ".mk".
14832 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
14833 when reading the makefile (bug#10116).
14834
14835 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14836
14837 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
14838 (bug#10116).
14839
14840 2011-12-06 Glenn Morris <rgm@gnu.org>
14841
14842 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
14843
14844 2011-12-06 Chong Yidong <cyd@gnu.org>
14845
14846 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
14847
14848 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
14849
14850 * textmodes/table.el (table-shorten-cell): Fix typo.
14851
14852 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
14853
14854 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
14855
14856 2011-12-05 Eli Zaretskii <eliz@gnu.org>
14857
14858 * descr-text.el (describe-char): Fix display of strong
14859 right-to-left characters and directional embeddings and overrides.
14860
14861 * simple.el (what-cursor-position): Fix display of codepoints of
14862 strong right-to-left characters.
14863
14864 2011-12-05 Chong Yidong <cyd@gnu.org>
14865
14866 * faces.el (read-color): Doc fix.
14867
14868 2011-12-05 Glenn Morris <rgm@gnu.org>
14869
14870 * align.el (align--set-marker): Add doc-string.
14871 Don't try to move something that is not a marker. (Bug#10216)
14872
14873 2011-12-04 Glenn Morris <rgm@gnu.org>
14874
14875 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
14876 overly zealous deletion of trailing whitespace.
14877
14878 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
14879
14880 * server.el (server-delete-client): On Windows, do not try to delete
14881 the only terminal.
14882 (server-process-filter): On Windows, treat requests for a tty frame as
14883 if they were for a GUI frame if the running server is in GUI mode.
14884
14885 2011-12-03 Glenn Morris <rgm@gnu.org>
14886
14887 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
14888
14889 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14890
14891 * electric.el: Streamline electric-indent's hook.
14892 (electric-indent-chars): Revert to simple list.
14893 (electric-indent-functions): New var.
14894 (electric-indent-post-self-insert-function): Use it.
14895
14896 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
14897 there's no inferior buffer (bug#10196).
14898 (prolog-consult-compile): Don't use toggle-read-only.
14899
14900 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
14901
14902 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
14903 interrupt. (Bug#10187)
14904
14905 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14906
14907 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
14908 (bug#9160).
14909
14910 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
14911 (bug#10191).
14912
14913 2011-12-02 Juri Linkov <juri@jurta.org>
14914
14915 * info.el (Info-search): Display "end of manual" when Isearch
14916 reaches the end of single-file Info manual. (Bug#9918)
14917
14918 2011-12-02 Eli Zaretskii <eliz@gnu.org>
14919
14920 * isearch.el (isearch-message-prefix): Run the input method part
14921 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
14922
14923 2011-12-02 Juri Linkov <juri@jurta.org>
14924
14925 * isearch.el (isearch-occur): Use `word-search-regexp' for
14926 `isearch-word'.
14927 (isearch-search-and-update): Add condition for `isearch-word' and
14928 call `word-search-regexp'. (Bug#10145)
14929
14930 2011-12-01 Glenn Morris <rgm@gnu.org>
14931
14932 * eshell/em-hist.el (eshell-hist-initialize):
14933 Handle eshell-history-size nil and HISTSIZE set or unset.
14934 (eshell-history-file-name, eshell-history-size): Fix custom type.
14935
14936 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14937
14938 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
14939
14940 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
14941
14942 * progmodes/verilog-mode.el (verilog-pretty-expr):
14943 Rework verilog-pretty-expr to handle new assignment operators in system
14944 verilog, such as += *= and the like.
14945 (verilog-assignment-operator-re): Regular expression to find the
14946 assigment operator in a verilog assignment.
14947 (verilog-assignment-operation-re): Regular expression to find an
14948 assignment statement for pretty-expr.
14949 (verilog-in-attribute-p): Query returns true if point is in an
14950 attribute context; used to skip these for expression line up from
14951 pretty-expr.
14952 (verilog-in-parameter-p): Query returns true if point is in an
14953 parameter definition context; used to skip these for expression
14954 line up from pretty-expr.
14955 (verilog-in-parenthesis-p): Query returns true if point is in a
14956 parenthetical expression, specifically ( ) but not [ ] or { };
14957 used by pretty-expr.
14958 (verilog-just-one-space): If there is no space, don't add one.
14959 (verilog-get-lineup-indent-2): Specifically skip just attribute
14960 contexts for expression lineup, rather than skipping all
14961 parenthetical expressions.
14962 (verilog-calculate-indent): Fix comment, and fix indent.
14963 (verilog-do-indent): Indent declarations in lists (suggested by
14964 Joachim Lechner).
14965 (verilog-mode-abbrev-table): Populate abbrev mode with the various
14966 skeleton items.
14967 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
14968 by Alain Mellan).
14969
14970 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
14971
14972 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
14973 parameters with embedded comments. Reported by Ray Stevens.
14974 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
14975 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
14976 Reported by Tim Holt.
14977 (verilog-auto): Fix AUTOing a upper module then AUTOing module
14978 instantiated by upper module causing wrong expansion until AUTOed a
14979 second time. Reported by K C Buckenmaier.
14980 (verilog-diff-auto): Fix showing .* as a difference when
14981 `verilog-auto-star-save' off. Reported by Dan Dever.
14982 (verilog-auto-reset, verilog-read-always-signals)
14983 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
14984 temporary signals in reset list if
14985 verilog-auto-reset-blocking-in-non is nil, and match assignment
14986 style to each signal's assignment type, bug381.
14987 Reported by Thomas Esposito.
14988 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
14989 (verilog-uvm-statement-re): Support UVM indentation and
14990 highlighting, with old OVM keywords only.
14991 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
14992 Support AUTOTIEOFF creating non-wire data types.
14993 Suggested by Jonathan Greenlaw.
14994 (verilog-auto-insert-lisp, verilog-delete-to-paren)
14995 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
14996 (verilog-inject-sense, verilog-read-inst-pins)
14997 (verilog-read-sub-decls, verilog-read-sub-decls-line):
14998 Fix mismatching parenthesis inside commented out code when deleting
14999 AUTOINST, bug383. Reported by Jonathan Greenlaw.
15000 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15001 non-numeric vector width. Reported by Alex Reed.
15002 (verilog-auto-ascii-enum): Add "onehot" option to work around not
15003 detecting signals with parameter widths. Reported by Alex Reed.
15004 (verilog-auto-delete-trailing-whitespace):
15005 With `verilog-auto-delete-trailing-whitespace' remove trailing
15006 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
15007 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15008 Fix verilog-scan-cache corruption when running user AUTO expansion
15009 hooks that call indentation routines.
15010 (verilog-simplify-range-expression): Fix typo ignoring lower case
15011 identifiers.
15012 (verilog-delete-auto): Fix delete-autos to also remove user created
15013 automatics, as long as they start with AUTO.
15014 (verilog-batch-diff-auto, verilog-diff-auto)
15015 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15016 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15017 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15018 (verilog-in-paren-quick, verilog-re-search-backward-quick)
15019 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15020 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
15021 is disabled and its cache will get corrupt, causing AUTOS not to
15022 expand. Instead use only -quick functions.
15023 (verilog-scan-region): Fix scanning over escaped quotes.
15024 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15025 (verilog-re-search-backward-quick)
15026 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15027 related functions now ignore strings, to fix misparsing of strings
15028 with magic comments embedded in them.
15029 (verilog-read-auto-template):
15030 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15031 Reported by Brad Dobbie.
15032 (verilog-read-auto-template):
15033 Fix 'verilog-auto-inst-template-numbers' with comments.
15034 Reported by Brad Dobbie.
15035 (verilog-auto-inst, verilog-auto-inst-param)
15036 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15037 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15038 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
15039 debugging templates without merge conflicts, bug357.
15040 Reported by Brad Dobbie.
15041 (verilog-read-auto-template):
15042 Fix verilog-auto-inst-template-numbers with multiple templates.
15043 Reported by Brad Dobbie.
15044 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15045 abbrevs so user won't be asked to save.
15046 (verilog-read-auto-lisp-present): Fix to start at beginning of
15047 buffer in case called outside of verilog-auto.
15048 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15049 to "X-2". Reported by Matthew Myers.
15050 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15051 all inputs from module templates. Reported by Leith Johnson.
15052 (verilog-module-inside-filename-p): Fix locating programs as with
15053 modules.
15054 (verilog-auto-inst-port): Fix vl-width expressions when using
15055 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15056 (verilog-decls-get-regs, verilog-decls-get-signals,
15057 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15058 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15059 verilog-read-decls): Combine reg and wire structures into one var
15060 structure to represent SystemVerilog concepts.
15061 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15062 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
15063 (verilog-auto-wire-type, verilog-insert-definition):
15064 Add verilog-auto-wire-type and AUTOLOGIC to support using
15065 SystemVerilog "logic" keyword instead of "wire"/"reg".
15066 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15067 to declares outputs that also have assignments (presumably in an
15068 ifdef or generate if so there's not a driver conflict).
15069 Reported by Matthew Myers.
15070 (verilog-auto-declare-nettype, verilog-insert-definition):
15071 Add verilog-auto-declare-nettype to fix declarations using
15072 `default_nettype none. Reported by Julian Gorfajn.
15073 (verilog-read-always-signals-recurse, verilog-read-decls)
15074 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15075 malformed end statement, bug325. Reported by Joshua Wise and
15076 Andrew Drake.
15077 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15078 (verilog-inst-comment-re): Fix not deleting Interfaced comment
15079 when expanding .* in interfaces, bug320.
15080 Reported by Pierre-David Pfister.
15081 (verilog-read-module-name): Fix import statements between module
15082 name and open parenthesis, bug317.
15083 Reported by Pierre-David Pfister.
15084 (verilog-simplify-range-expression): Fix simplification of
15085 multiplications inside AUTOWIRE connections, bug303.
15086 (verilog-auto-inst-port): Support parameter expansion in
15087 multidimensional arrays.
15088 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15089 after "assert property". Reported by Julian Gorfajn.
15090 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15091 with multiplication, bug303.
15092 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15093 Reported by Jan Frode Lonnum.
15094
15095 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
15096
15097 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15098 (hfy-shell-file-name, hfy-shell):
15099 * international/fontset.el (x-decompose-font-name): Fix typos.
15100
15101 2011-11-29 Ken Brown <kbrown@cornell.edu>
15102
15103 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15104 (gdb-version): Remove defvar.
15105 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15106 (gdb-gud-context-command, gdb-non-stop-handler)
15107 (gdb-current-context-command, gdb-stopped): Use it.
15108 (gdb-init-1): Enable pretty printing here.
15109 (gdb-non-stop-handler): Don't enable pretty-printing here.
15110 Check to see if the target supports non-stop mode; if not, turn off
15111 non-stop mode. Use the following.
15112 (gdb-check-target-async): New defun.
15113 (gud-watch, gdb-stopped): Fix whitespace.
15114 (gdb-get-source-file): Don't try to display the source file if
15115 `gdb-main-file' is nil.
15116
15117 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15118
15119 * align.el: Try to generate fewer markers (bug#10047).
15120 (align--set-marker): New macro.
15121 (align-region): Use it.
15122
15123 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15124
15125 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15126
15127 2011-11-29 Chong Yidong <cyd@gnu.org>
15128
15129 * indent.el (indent-for-tab-command, indent-according-to-mode):
15130 Doc fix.
15131 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
15132
15133 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
15134
15135 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
15136 aware of remote file names. (Bug#10124)
15137
15138 2011-11-29 Chong Yidong <cyd@gnu.org>
15139
15140 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15141
15142 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15143
15144 * files.el (find-file): Don't use force-same-window (bug#10144).
15145 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15146 use pop-to-buffer if the selected window can't be used.
15147 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15148
15149 2011-11-28 Eli Zaretskii <eliz@gnu.org>
15150
15151 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15152 special-mode-map.
15153
15154 2011-11-28 Chong Yidong <cyd@gnu.org>
15155
15156 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15157
15158 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
15159
15160 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15161 gdb-get-source-file-list on gdb-create-source-file-list.
15162
15163 2011-11-26 Eli Zaretskii <eliz@gnu.org>
15164
15165 * whitespace.el (whitespace-newline): Use a different foreground
15166 color for 16-color light-background displays.
15167
15168 2011-11-24 Chong Yidong <cyd@gnu.org>
15169
15170 * window.el (display-buffer--special-action): Doc fix.
15171
15172 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
15173
15174 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15175 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15176 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15177 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15178 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15179 (avl-tree-stack-first):
15180 * emacs-lisp/cconv.el (cconv--analyse-use):
15181 * net/gnutls.el (gnutls-negotiate): Fix typos.
15182
15183 2011-11-24 Glenn Morris <rgm@gnu.org>
15184
15185 * lpr.el (lpr-windows-system, lpr-lp-system):
15186 * mail/binhex.el (binhex-begin-line):
15187 * progmodes/grep.el (grep-history, grep-find-history):
15188 * textmodes/flyspell.el:
15189 * vc/pcvs-defs.el (cvs-global-menu):
15190 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15191 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15192 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15193
15194 * net/tls.el: Fix case of "GnuTLS".
15195
15196 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15197
15198 * version.el (emacs-build-system): Give it a doc-string.
15199
15200 2011-11-24 Juri Linkov <juri@jurta.org>
15201
15202 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15203
15204 2011-11-24 Glenn Morris <rgm@gnu.org>
15205
15206 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15207 if called on a non-mime message just toggle the headers. (Bug#8006)
15208
15209 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
15210
15211 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15212 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15213 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15214 (allout-rebullet-heading, allout-open-sibtopic)
15215 (allout-toggle-current-subtree-encryption)
15216 (allout-toggle-subtree-encryption, allout-encrypt-string)
15217 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15218 (allout-distinctive-bullets-string, allout-auto-activation):
15219 * window.el (window-normalize-buffer-to-display):
15220 * progmodes/verilog-mode.el (verilog-batch-indent):
15221 * textmodes/bibtex.el (bibtex-field-braces-opt)
15222 (bibtex-field-strings-opt):
15223 * vc/cvs-status.el (cvs-tree-merge):
15224 Fix typos.
15225
15226 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
15227
15228 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15229 `non-essential' to t, in order to avoid remote connections.
15230
15231 2011-11-23 Eli Zaretskii <eliz@gnu.org>
15232
15233 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15234 On MS-DOS and MS-Windows, compare with loaddefs.el
15235 case-insensitively.
15236
15237 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15238
15239 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15240
15241 2011-11-23 Glenn Morris <rgm@gnu.org>
15242
15243 * paths.el (rmail-file-name): Reformat the doc-string so that it
15244 is picked up.
15245
15246 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15247 (rmail-auto-file): Ignore case in the "special" field names,
15248 as mail-fetch-field does for all others.
15249
15250 * mail/rmail.el (rmail-forward):
15251 * mail/rmailkwd.el (rmail-set-label):
15252 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15253 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15254
15255 * mail/rmail.el (rmail-current-message): Doc fix.
15256
15257 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15258
15259 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15260
15261 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15262
15263 2011-11-22 Glenn Morris <rgm@gnu.org>
15264
15265 * mail/rmailmm.el (test-rmail-mime-handler)
15266 (test-rmail-mime-bulk-handler)
15267 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15268
15269 2011-11-21 Juri Linkov <juri@jurta.org>
15270
15271 * calc/calc.el (calc-read-key-sequence):
15272 Let-bind `input-method-function' to nil. (Bug#10018)
15273
15274 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15275
15276 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15277 Tell the caller that the next line needs recomputation, even
15278 though it doesn't start a sexp (bug#10094).
15279
15280 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15281
15282 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15283
15284 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15285
15286 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15287 Use force-same-window.
15288
15289 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15290
15291 * descr-text.el (describe-char-unicode-data):
15292 * json.el (json-string-escape):
15293 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15294 (Footnote-unicode, Footnote-style-p):
15295 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15296
15297 2011-11-20 Chong Yidong <cyd@gnu.org>
15298
15299 * window.el (replace-buffer-in-windows): Restore interactive spec.
15300
15301 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15302
15303 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15304
15305 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15306 (byte-compile-global-not-obsolete-vars): New var.
15307 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15308 Use it.
15309 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15310
15311 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15312
15313 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15314 * progmodes/pascal.el (electric-pascal-equal):
15315 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15316 * xml.el (xml-substitute-special): Fix typos.
15317
15318 2011-11-20 Glenn Morris <rgm@gnu.org>
15319
15320 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15321 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15322 Doc fixes.
15323 (rmail-decode-mime-charset): Mark as obsolete.
15324
15325 * mail/rmailsum.el (rmail-message-regexp-p-1):
15326 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15327 Before using mime functions, check they are set. (Bug#10077)
15328
15329 2011-11-19 Juri Linkov <juri@jurta.org>
15330
15331 * info.el (Info-finder-find-node): Use `package--builtins' instead
15332 of `package-alist'. Use node names formed by the pattern "Keyword "
15333 and the keyword name.
15334
15335 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15336
15337 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
15338
15339 2011-11-19 Juri Linkov <juri@jurta.org>
15340
15341 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15342 that calls `revert-buffer' on all Info buffers. (Bug#9915)
15343 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15344 `old-history', `old-history-forward'. Add let-binding
15345 `window-selected'. Remove calls to `kill-buffer',
15346 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
15347 before calling `Info-find-node', so `Info-find-node-2' will reread
15348 the Info file. Restore window positions only when `window-selected'
15349 is non-nil.
15350
15351 2011-11-19 Juri Linkov <juri@jurta.org>
15352
15353 * isearch.el (isearch-lazy-highlight-new-loop):
15354 Remove condition `(not isearch-error)'. (Bug#9918)
15355
15356 * misearch.el (multi-isearch-search-fun): Add condition
15357 `(not bound)' to ignore lazy-highlighting search.
15358 Add the search-failed message "end of multi" when the end of
15359 multi-sequence is reached. Uncapitalize the search-failed
15360 message "Repeat for next buffer".
15361
15362 * info.el (Info-search): Add the search-failed message
15363 "end of the manual" when the end of the manual is reached
15364 in Isearch mode.
15365
15366 2011-11-19 Juri Linkov <juri@jurta.org>
15367
15368 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
15369 Use non-destructive `remove' instead of `delete' because
15370 `Info-history-list' stored to `Info-isearch-initial-history-list' in
15371 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
15372
15373 2011-11-19 Juri Linkov <juri@jurta.org>
15374
15375 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
15376 to nil instead of binding `search-ring' and `regexp-search-ring'.
15377 (Bug#9185)
15378
15379 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15380
15381 * simple.el (line-move): Force movement by logical lines for any
15382 hscrolled window, not only when auto-hscroll-mode is on.
15383 (line-move-visual): Update doc string to that effect. (Bug#10076)
15384
15385 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15386
15387 * language/european.el (macintosh): Define as alias for mac-roman.
15388
15389 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15390
15391 * mail/rmailmm.el (rmail-mime-display-header)
15392 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
15393 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
15394 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
15395 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
15396 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
15397 of a raw aref.
15398 (rmail-mime-entity-segment): To get past the tagline, move forward
15399 2 more lines, to account for the 2 empty lines that precede and
15400 follow the line with the buttons.
15401 (rmail-mime-update-tagline): Move one more line, to get past the
15402 empty line that follows the buttons in the tagline. (Bug#9520)
15403
15404 2011-11-19 Martin Rudalics <rudalics@gmx.at>
15405
15406 * window.el (window-max-delta-1, window-min-delta-1)
15407 (window-min-size-1, window-state-get-1, window-state-put-1)
15408 (window-state-put-2): Use "window--" prefix.
15409
15410 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15411
15412 * emacs-lisp/smie.el: Improve warnings and conflict detection.
15413 (smie-warning-count): New var.
15414 (smie-set-prec2tab): Use it.
15415 (smie-bnf->prec2): Improve warnings. Add docstring.
15416 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
15417 (smie-bnf--set-class): New function.
15418 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
15419 corner case.
15420
15421 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
15422 (compilation-error-properties, compilation-move-to-column):
15423 Handle compilation-first-column while in the target buffer.
15424
15425 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
15426 Don't hardcode point-min==1.
15427
15428 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
15429 (eshell-rewrite-for-command): Remove workaround.
15430 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
15431 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
15432 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
15433
15434 * files-x.el (modify-file-local-variable): Obey commenting conventions.
15435
15436 2011-11-17 Glenn Morris <rgm@gnu.org>
15437
15438 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15439 Ignore buffer-local generated-autoload-file if it is the same
15440 as the global value. (Bug#10049)
15441
15442 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
15443
15444 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
15445 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
15446 (reftex-toc-previous-heading, reftex-toc-max-level)
15447 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
15448 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
15449 (reftex-toc-do-promote, reftex-toc-promote-prepare)
15450 (reftex-toc-promote-action, reftex-toc-extract-section-number)
15451 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
15452 (reftex-toc-rename-label, reftex-toc-visit-location)
15453 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
15454 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
15455 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
15456 leaving "*toc*" only for references to the buffer.
15457
15458 2011-11-17 Martin Rudalics <rudalics@gmx.at>
15459
15460 * window.el (window-resize, delete-window, split-window):
15461 Replace window-splits by window-combination-resize.
15462 * cus-start.el (window-splits): Replace by window-combination-resize.
15463
15464 2011-11-17 Glenn Morris <rgm@gnu.org>
15465
15466 * progmodes/sh-script.el (sh-font-lock-keywords-var):
15467 Make bash entry derive from sh entry, not shell entry.
15468
15469 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
15470
15471 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
15472 local file name.
15473
15474 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15475
15476 * menu-bar.el (menu-bar-file-menu):
15477 * printing.el (pr-ps-utility):
15478 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
15479 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
15480 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
15481 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
15482 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
15483 (icalendar--convert-cyclic-to-ical)
15484 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
15485 (icalendar--convert-ical-to-diary)
15486 (icalendar--convert-recurring-to-diary)
15487 (icalendar--convert-non-recurring-all-day-to-diary)
15488 (icalendar-import-format-sample):
15489 * progmodes/idlw-shell.el (idlwave-shell-mode):
15490 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
15491 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
15492 (vhdl-ps-print-init): Fix typos.
15493
15494 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
15495
15496 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
15497 FSF and collapse date sequence, obscure author/maintainer email address
15498 better, remove extra version line, track relocation of author's webpage.
15499
15500 * progmodes/python.el (python-pdbtrack-input-prompt)
15501 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
15502 regular python pdb prompts. Adjustments shamelessly taken exactly as
15503 suggested in EmacsWiki page (tiny change):
15504 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
15505
15506 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15507
15508 * expand.el (expand-pos, expand-index, expand-point):
15509 Remove redundant info from docstring.
15510 (expand-add-abbrevs): Doc fix.
15511 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
15512 (expand-sample-perl-mode-expand-list): Fix typos.
15513
15514 * net/dbus.el (dbus-event-member-name):
15515 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
15516 * term/pc-win.el (msdos-create-frame-with-faces):
15517 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
15518
15519 2011-11-16 Martin Rudalics <rudalics@gmx.at>
15520
15521 * window.el (split-window, window-state-get-1)
15522 (window-state-put-1, window-state-put-2): Rename occurrences of
15523 window-nest to window-combination-limit.
15524 * cus-start.el (window-nest): Rename to window-combination-limit.
15525
15526 2011-11-16 Chong Yidong <cyd@gnu.org>
15527
15528 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
15529 regexp (Bug#10033).
15530
15531 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15532
15533 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
15534 `completing-read' will remove *Completions* and will preserve
15535 current-buffer for us.
15536 (tmm-add-prompt): Users of *Completions* will always (re)set its
15537 major mode.
15538 (tmm-old-comp-map): Remove.
15539
15540 2011-11-16 Glenn Morris <rgm@gnu.org>
15541
15542 * mail/rmailedit.el: Require rmailmm when compiling.
15543 (rmail-old-mime-state): New declaration.
15544 (rmail-edit-current-message): If editing a mime message,
15545 edit the "raw" message from the mbox buffer.
15546 (rmail-cease-edit): Handle mime messages. (Bug#9840)
15547
15548 2011-11-15 Glenn Morris <rgm@gnu.org>
15549
15550 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
15551 which wasn't being used. Add optional arg to force given state.
15552 (rmail-mime): Add optional arg to force given state.
15553
15554 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
15555
15556 * allout.el (allout-encryption-plaintext-sanitization-regexps):
15557 * frame.el (display-mm-dimensions-alist):
15558 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
15559 (outline-move-subtree-down):
15560 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
15561 (newsticker--treeview-do-get-node):
15562 * net/quickurl.el (quickurl-list-buffer-name):
15563 * progmodes/dcl-mode.el (dcl-mode):
15564 * progmodes/gdb-mi.el (gdb-mapcar*):
15565 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
15566
15567 2011-11-15 Glenn Morris <rgm@gnu.org>
15568
15569 * mail/rmail.el (rmail-file-coding-system): It's only ever used
15570 in a boolean sense, so just make it a boolean, and fix the doc.
15571 (rmail-show-mime-function, rmail-mime-feature)
15572 (rmail-require-mime-maybe): Doc fixes.
15573 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
15574
15575 * mail/rmailmm.el (rmail-show-mime): Doc fix.
15576
15577 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
15578
15579 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
15580 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
15581 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
15582 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
15583
15584 2011-11-15 Glenn Morris <rgm@gnu.org>
15585
15586 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
15587 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
15588 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
15589 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
15590 (rmail-mime, rmail-show-mime): Doc fixes.
15591
15592 * term/ns-win.el (mode-line-frame-identification):
15593 Leave it alone. (Bug#10051)
15594
15595 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
15596
15597 * mail/rmailout.el (rmail-output-to-rmail-buffer):
15598 Handle empty buffers. (Bug#9978)
15599
15600 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
15601
15602 * international/mule.el (define-charset):
15603 * mail/rmailmm.el (rmail-mime-find-header-encoding):
15604 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
15605 * progmodes/verilog-mode.el (verilog-backward-token):
15606 * textmodes/ispell.el (lookup-words):
15607 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
15608
15609 2011-11-14 Glenn Morris <rgm@gnu.org>
15610
15611 * progmodes/executable.el
15612 (executable-make-buffer-file-executable-if-script-p):
15613 Handle file-modes returning nil.
15614
15615 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
15616 message - not necessary, and causes problems. (Bug#9831)
15617
15618 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
15619
15620 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
15621
15622 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
15623 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
15624 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
15625
15626 2011-11-12 Martin Rudalics <rudalics@gmx.at>
15627
15628 * window.el (window-resize, delete-window): Use window-splits
15629 variable instead of function.
15630 (window-state-get-1, window-state-put-2, window-state-put):
15631 Don't deal with windows' splits status.
15632
15633 2011-11-12 Glenn Morris <rgm@gnu.org>
15634
15635 * apropos.el (apropos-do-all, apropos-library, apropos-value)
15636 (apropos-documentation): Doc fixes.
15637
15638 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
15639
15640 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
15641 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
15642
15643 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15644
15645 * electric.el (electric-indent-post-self-insert-function): Make it
15646 possible for a char to only indent in some circumstances.
15647 (electric-indent-mode): Simplify.
15648
15649 2011-11-11 Martin Rudalics <rudalics@gmx.at>
15650
15651 * window.el (windows-with-parameter): Remove unused function.
15652 (windows-at-side): Rename to window-at-side-list.
15653 (window-check, window-atom-check, window-atom-check-1)
15654 (window-side-check, window-size-ignore, window-size-fixed-1)
15655 (window-in-direction-2): Prefix with "window--".
15656 (window-tree-1): Rename to window--subtree, fix doc-string.
15657
15658 2011-11-11 Glenn Morris <rgm@gnu.org>
15659
15660 * subr.el (eval-after-load): If FILE is already loaded,
15661 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
15662
15663 2011-11-10 Glenn Morris <rgm@gnu.org>
15664
15665 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
15666 Call svn via vc-svn-command rather than vc-do-command.
15667 (vc-svn-command): Add --non-interactive. (Bug#9993)
15668 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
15669
15670 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15671 Add toggle-read-only. (Bug#7292)
15672 * files.el (toggle-read-only): Mention that it should only
15673 be used interactively. (Bug#10006)
15674
15675 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
15676
15677 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15678 Adjust regexp for OCaml warnings.
15679
15680 * electric.el (electric-pair-post-self-insert-function): Let user
15681 turn it off buffer-locally (bug#9932).
15682
15683 * progmodes/python.el (python-beginning-of-statement):
15684 Rewrite (bug#2703).
15685
15686 * progmodes/compile.el: Better handle TABs (bug#9749).
15687 (compilation-internal-error-properties)
15688 (compilation-next-error-function): Obey the target buffer's
15689 compilation-error-screen-columns.
15690
15691 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
15692
15693 * progmodes/meta-mode.el: Remove obsolete comments.
15694 (meta-right-comment-regexp, meta-ignore-comment-regexp):
15695 Fix typos in docstrings.
15696
15697 2011-11-09 Martin Rudalics <rudalics@gmx.at>
15698
15699 * window.el (window-size-fixed-p): Rewrite doc-string.
15700 (window-resizable-p): Rename to window--resizable-p. Update callers.
15701 (window--resizable): New function. Make all callers of
15702 window-resizable call window--resizable instead.
15703 (window-resizable): Rewrite in terms of window--resizable.
15704
15705 2011-11-08 Glenn Morris <rgm@gnu.org>
15706
15707 * progmodes/delphi.el (delphi-mode-syntax-table):
15708 Let define-derived-mode define a proper syntax table. (Bug#9994)
15709
15710 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15711
15712 * window.el: Stay away from defsubst.
15713 (window-list-no-nils): Remove.
15714 (window-state-get-1, window-state-get): Use backquote instead.
15715
15716 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15717
15718 * emacs-lisp/find-func.el (find-function-read):
15719 Fix incorrect use of default argument in `completing-read'.
15720
15721 2011-11-08 Martin Rudalics <rudalics@gmx.at>
15722
15723 * window.el (display-buffer-function, special-display-function):
15724 Mention display-buffer-record-window but do not mention
15725 help-setup parameter in doc-strings.
15726 (window-min-delta): Fix doc-string typo.
15727
15728 2011-11-08 Chong Yidong <cyd@gnu.org>
15729
15730 * window.el (window-total-height, window-total-width): Doc fix.
15731 (window-body-size): Move from C.
15732 (window-body-height, window-body-width): Move to C.
15733
15734 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15735
15736 * window.el: Make special-display like display-buffer-alist (bug#9532).
15737 (display-buffer--special-action): New function, morphed
15738 from display-buffer--special.
15739 (display-buffer): Use it to handle special-display-buffers at higher
15740 priority (just after display-buffer-alist).
15741 (display-buffer-fallback-action, display-buffer--other-frame-action)
15742 (pop-to-buffer-same-window): Remove display-buffer--special.
15743
15744 2011-11-07 Glenn Morris <rgm@gnu.org>
15745
15746 * calendar/cal-menu.el (cal-menu-set-date-title):
15747 Do nothing if not in a calendar. (Bug#9976)
15748
15749 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
15750
15751 * files.el (find-file): Always use selected-window.
15752
15753 2011-11-07 Martin Rudalics <rudalics@gmx.at>
15754
15755 * window.el (window-combinations): Make WINDOW argument
15756 mandatory. Rewrite doc-string.
15757 (walk-window-subtree, window-atom-check, window-min-delta)
15758 (window-max-delta, window--resize-this-window)
15759 (window--resize-root-window-vertically, window-tree)
15760 (balance-windows, window-state-put): Rewrite doc-strings as to
15761 not mention the term "subwindow".
15762 (window--resize-subwindows-skip-p): Rename to
15763 window--resize-child-windows-skip-p.
15764 (window--resize-subwindows-normal): Rename to
15765 window--resize-child-windows-normal.
15766 (window--resize-subwindows): Rename to
15767 window--resize-child-windows.
15768 (window-or-subwindow-p): Rename to window--in-subtree-p.
15769
15770 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15771
15772 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
15773 Ensure that mbox format messages end in two newlines (Bug#9974).
15774
15775 2011-11-06 Chong Yidong <cyd@gnu.org>
15776
15777 * window.el (window-combination-p): Function deleted; its
15778 side-effect is not used in any existing code.
15779 (window-combinations, window-combined-p): Call window-*-child
15780 directly.
15781
15782 2011-11-05 Chong Yidong <cyd@gnu.org>
15783
15784 * window.el (window-valid-p): Rename from window-any-p.
15785 (window-size-ignore, window-state-get): Callers changed.
15786 (window-normalize-window): Rename from window-normalize-any-window.
15787 New arg LIVE-ONLY, replacing window-normalize-live-window.
15788 (window-normalize-live-window): Delete.
15789 (window-combination-p, window-combined-p, window-combinations)
15790 (walk-window-subtree, window-atom-root, window-min-size)
15791 (window-sizable, window-sizable-p, window-size-fixed-p)
15792 (window-min-delta, window-max-delta, window-resizable)
15793 (window-resizable-p, window-full-height-p, window-full-width-p)
15794 (window-current-scroll-bars, window-point-1, set-window-point-1)
15795 (window-at-side-p, window-in-direction, window-resize)
15796 (adjust-window-trailing-edge, maximize-window, minimize-window)
15797 (window-deletable-p, delete-window, delete-other-windows)
15798 (record-window-buffer, unrecord-window-buffer)
15799 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
15800 (quit-window, split-window, window-state-put)
15801 (set-window-text-height, fit-window-to-buffer)
15802 (shrink-window-if-larger-than-buffer): Callers changed.
15803
15804 2011-11-04 Eli Zaretskii <eliz@gnu.org>
15805
15806 * mail/rmail.el (rmail-simplified-subject): Decode subject with
15807 rfc2047-decode-string.
15808 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
15809 warnings.
15810
15811 * window.el (window-body-height, window-body-width): Mention in
15812 the doc string that the return values are in frame's canonical
15813 units. (Bug#9949)
15814
15815 2011-11-03 Alan Mackenzie <acm@muc.de>
15816
15817 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
15818 change in cc-engine.el.
15819
15820 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
15821
15822 * window.el (switch-to-buffer): Use `force-same-window' interactively.
15823
15824 2011-11-02 Martin Rudalics <rudalics@gmx.at>
15825
15826 * window.el (quit-window): Call unrecord-window-buffer after
15827 showing another buffer in the window. (Bug#9937)
15828 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
15829
15830 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
15831
15832 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
15833 Accept status with more than 9 shelves. (Bug#9935)
15834 Reported by Colin D Bennett <colin@gibibit.com>.
15835
15836 2011-11-01 Martin Rudalics <rudalics@gmx.at>
15837
15838 * help.el (with-help-window): Don't reference
15839 temp-buffer-show-specifiers in doc-string.
15840
15841 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
15842
15843 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
15844 menu-item.
15845
15846 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15847
15848 * whitespace.el: New version 13.2.2.
15849 (whitespace-newline-mode): Disable properly. Reported by Sarah
15850 <EmacsWiki>.
15851
15852 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
15853
15854 * net/newst-treeview.el: Remove "Time-stamp".
15855 (newsticker--group-manage-orphan-feeds): Do not call
15856 newsticker--treeview-tree-update.
15857 (newsticker-treeview-update, newsticker-treeview):
15858 Call newsticker--treeview-tree-update if necessary.
15859
15860 2011-10-30 Martin Rudalics <rudalics@gmx.at>
15861
15862 * window.el (window-iso-combination-p, window-iso-combined-p)
15863 (window-iso-combinations): Remove "iso-" infix.
15864 Suggested by Chong Yidong.
15865 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
15866 (window-max-delta-1, window-resize, window--resize-siblings)
15867 (window--resize-this-window, adjust-window-trailing-edge)
15868 (split-window, balance-windows-1)
15869 (shrink-window-if-larger-than-buffer):
15870 * calendar/calendar.el (calendar-generate-window):
15871 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
15872
15873 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15874
15875 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
15876 in place (bug#9907).
15877 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
15878 (eshell-rewrite-if-command, eshell-rewrite-for-command)
15879 (eshell-structure-basic-command, eshell-rewrite-while-command)
15880 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
15881 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
15882 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
15883 (eshell-do-pipelines-synchronously, eshell-eval-command):
15884 Use backquotes and prefer setq to set.
15885 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
15886 (eshell-macrop): Use functionp.
15887 (eshell-do-eval): Handle multiple expressions in `while' body.
15888
15889 2011-10-30 Chong Yidong <cyd@gnu.org>
15890
15891 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
15892 instead of set-mark (Bug#9810).
15893
15894 2011-10-30 Chong Yidong <cyd@gnu.org>
15895
15896 * window.el (split-window-below, split-window-right): Rename from
15897 split-window-above-each-other and split-window-side-by-side
15898 respectively. All callers changed.
15899 (split-window-sensibly, split-window-sensibly): Use them.
15900 (split-window-keep-point): Doc fix.
15901
15902 * isearch.el: Add isearch-scroll property to split-window-below
15903 and split-window-right.
15904
15905 * follow.el (follow-mode):
15906 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15907 * progmodes/ada-xref.el (ada-gdb-application):
15908 * emulation/vip.el (vip-buffer-in-two-windows):
15909 * image-dired.el (image-dired-dired-with-window-configuration):
15910 * dired-x.el (dired-do-find-marked-files):
15911 * dired.el (dired-pop-to-buffer):
15912 * bs.el (bs--show-with-configuration):
15913 * vc/emerge.el (emerge-setup-windows):
15914 * textmodes/two-column.el (2C-two-columns):
15915 * textmodes/reftex-toc.el (reftex-toc):
15916 * progmodes/gdb-mi.el (gdb-setup-windows):
15917 * progmodes/fortran.el (fortran-window-create):
15918 * net/newst-treeview.el (newsticker--treeview-window-init):
15919 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
15920 * emulation/tpu-edt.el (tpu-gold-map):
15921 * emulation/crisp.el (crisp-mode-map):
15922 * calendar/calendar.el (calendar-basic-setup): Callers changed.
15923
15924 2011-10-29 Chong Yidong <cyd@gnu.org>
15925
15926 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
15927
15928 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
15929
15930 * textmodes/flyspell.el (flyspell-word): Fix char offset for
15931 forged Ispell output (Bug#7904).
15932
15933 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
15934
15935 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15936
15937 * doc-view.el: Avoid ugly errors about not finding nil.
15938 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
15939 (doc-view-dvipdf-program, doc-view-unoconv-program)
15940 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
15941 Avoid nil or absolute file name as default value.
15942 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
15943
15944 2011-10-28 Alan Mackenzie <acm@muc.de>
15945
15946 * progmodes/cc-defs.el (c-version): -> 5.32.2.
15947
15948 2011-10-28 Alan Mackenzie <acm@muc.de>
15949
15950 Amend the handling of c-beginning/end-of-defun in nested declaration
15951 scopes.
15952
15953 * progmodes/cc-vars.el (c-defun-tactic): Move here from
15954 cc-langs.el. Change it to a defcustom.
15955
15956 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
15957 cc-vars.el.
15958
15959 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15960 Prevent "class foo : bar" being spuriously recognized as a label.
15961
15962 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
15963 Add parameter `inclusive' (to include enclosing braces in the region).
15964 (c-widen-to-enclosing-decl-scope): New function.
15965 (c-while-widening-to-decl-block): New macro.
15966 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
15967 outward for defun boundaries, and correspondingly change symbol
15968 `respect-enclosure' to `go-outward'.
15969 (c-declaration-limits): Change algorithm to report only the "innermost"
15970 defun's boundaries.
15971
15972 2011-10-28 Deniz Dogan <deniz@dogan.se>
15973
15974 * net/rcirc.el (rcirc-mode): Use hard newlines.
15975
15976 2011-10-28 Alan Mackenzie <acm@muc.de>
15977
15978 Amend to indent and fontify macros "which include their own semicolon"
15979 correctly, using the "virtual semicolon" mechanism.
15980
15981 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
15982
15983 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
15984 Recode to scan one line at a time rather than having \n and \r
15985 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
15986 (c-forward-label): Amend for virtual semicolons.
15987 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
15988
15989 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
15990 of the new C macros.
15991
15992 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
15993 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
15994 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
15995 (c-opt-cpp-macro-define): Make into a full language variable.
15996 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
15997 AWK Mode (including \n, \r) removed, no longer needed.
15998
15999 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16000 Invoke c-make-macro-with-semi-re.
16001
16002 * progmodes/cc-vars.el (c-macro-with-semi-re):
16003 (c-macro-names-with-semicolon): New variables.
16004 (c-make-macro-with-semi-re): New function.
16005
16006 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16007
16008 * vc/log-edit.el: Fill empty field rather than adding new one.
16009 (log-edit-add-field): New function.
16010 (log-edit-insert-changelog): Use it.
16011
16012 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16013
16014 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16015
16016 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16017
16018 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16019 (gdb--check-interpreter): New function.
16020 (gdb): Use it.
16021
16022 2011-10-27 Glenn Morris <rgm@gnu.org>
16023
16024 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16025 (least-positive-float, least-negative-float)
16026 (least-positive-normalized-float, least-negative-normalized-float)
16027 (float-epsilon, float-negative-epsilon):
16028 Remove unnecessary declarations.
16029
16030 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16031 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16032 (least-positive-float, least-negative-float)
16033 (least-positive-normalized-float, least-negative-normalized-float)
16034 (float-epsilon, float-negative-epsilon): Add doc-strings,
16035 based on those in cl.texi.
16036
16037 * files.el (set-visited-file-name): If the major-mode changed,
16038 reload the local variables. (Bug#9796)
16039
16040 2011-10-27 Chong Yidong <cyd@gnu.org>
16041
16042 * subr.el (change-major-mode-after-body-hook): New hook.
16043 (run-mode-hooks): Run it.
16044
16045 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16046 Use change-major-mode-before-body-hook.
16047
16048 * simple.el (fundamental-mode):
16049 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16050 change introducing fundamental-mode-hook.
16051
16052 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
16053
16054 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
16055
16056 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
16057
16058 * ido.el (ido-file-name-all-completions-1): Do not require
16059 tramp.el explicitly. (Bug#7583)
16060
16061 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16062
16063 * progmodes/octave-mod.el:
16064 * progmodes/octave-inf.el: Update maintainer.
16065
16066 2011-10-26 Chong Yidong <cyd@gnu.org>
16067
16068 * subr.el (with-wrapper-hook): Rewrite doc.
16069
16070 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
16071
16072 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
16073 filenames "/method:foo:". (Bug#9793)
16074
16075 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16076
16077 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16078 (bug#9865).
16079
16080 2011-10-24 Glenn Morris <rgm@gnu.org>
16081
16082 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16083
16084 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
16085
16086 * notifications.el: Add the requirement of a running D-Bus session
16087 bus to the Commentary.
16088
16089 2011-10-24 Juri Linkov <juri@jurta.org>
16090
16091 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16092 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16093 (Bug#9364)
16094
16095 2011-10-24 Juri Linkov <juri@jurta.org>
16096
16097 * info.el (Info-following-node-name-re): Add newline to the list
16098 of allowed characters for leading space. (Bug#9824)
16099
16100 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16101
16102 * progmodes/octave-inf.el (inferior-octave-mode-map):
16103 Fix C-c C-h binding.
16104 * progmodes/octave-mod.el (octave-help): Remove.
16105
16106 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
16107
16108 Sync with Tramp 2.2.3.
16109
16110 * net/tramp-cache.el (top): Pacify byte-compiler using
16111 `init-file-user' and `site-run-file'.
16112
16113 * net/trampver.el: Update release number.
16114
16115 2011-10-23 Chong Yidong <cyd@gnu.org>
16116
16117 * files.el (toggle-read-only): Remove obsolete comment about
16118 version control.
16119
16120 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16121 for toggle-read-only. Note that this hasn't called vc-next-action
16122 since 2008-05-02, though it wasn't documented at the time.
16123
16124 * vc/ediff-init.el (ediff-toggle-read-only-function):
16125 Use toggle-read-only.
16126
16127 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
16128
16129 Fix bug #9560, sporadic wrong indentation; improve instrumentation
16130 of c-parse-state.
16131
16132 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
16133 correct faulty logical expression.
16134 (c-parse-state-state, c-record-parse-state-state):
16135 (c-replay-parse-state-state): New defvar/defuns.
16136 (c-debug-parse-state): Use new functions.
16137
16138 2011-10-22 Martin Rudalics <rudalics@gmx.at>
16139
16140 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
16141 last fix. Use window-in-direction correctly.
16142
16143 2011-10-21 Chong Yidong <cyd@gnu.org>
16144
16145 * progmodes/idlwave.el (idlwave-mode):
16146 * progmodes/vera-mode.el (vera-mode): No need to set
16147 require-final-newline; that's done in prog-mode.
16148 Suggested by Stefan Monnier.
16149
16150 2011-10-21 Martin Rudalics <rudalics@gmx.at>
16151
16152 * mouse.el (mouse-drag-window-above)
16153 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16154 (mouse-drag-mode-line-1, mouse-drag-header-line)
16155 (mouse-drag-vertical-line-rightward-window): Remove.
16156 (mouse-drag-line): New function.
16157 (mouse-drag-mode-line, mouse-drag-header-line)
16158 (mouse-drag-vertical-line): Call mouse-drag-line.
16159 * window.el (window-at-side-p, windows-at-side): New functions.
16160
16161 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
16162
16163 * tar-mode.el (tar-grind-file-mode):
16164 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
16165
16166 2011-10-21 Chong Yidong <cyd@gnu.org>
16167
16168 * progmodes/idlwave.el (idlwave-mode):
16169 * progmodes/vera-mode.el (vera-mode):
16170 Use mode-require-final-newline.
16171
16172 2011-10-20 Glenn Morris <rgm@gnu.org>
16173
16174 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
16175
16176 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16177
16178 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16179
16180 2011-10-20 Chong Yidong <cyd@gnu.org>
16181
16182 * emulation/cua-base.el (cua-mode):
16183 * mail/footnote.el (footnote-mode):
16184 * mail/mailabbrev.el (mail-abbrevs-mode):
16185 * net/xesam.el (xesam-minor-mode):
16186 * progmodes/bug-reference.el (bug-reference-mode):
16187 * progmodes/cap-words.el (capitalized-words-mode):
16188 * progmodes/compile.el (compilation-minor-mode)
16189 (compilation-shell-minor-mode):
16190 * progmodes/gud.el (gud-tooltip-mode):
16191 * progmodes/hideif.el (hide-ifdef-mode):
16192 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16193 * progmodes/subword.el (subword-mode):
16194 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16195 * progmodes/which-func.el (which-function-mode):
16196 * term/tvi970.el (tvi970-set-keypad-mode):
16197 * term/vt100.el (vt100-wide-mode):
16198 * textmodes/flyspell.el (flyspell-mode):
16199 * textmodes/ispell.el (ispell-minor-mode):
16200 * textmodes/nroff-mode.el (nroff-electric-mode):
16201 * textmodes/paragraphs.el (use-hard-newlines):
16202 * textmodes/refill.el (refill-mode):
16203 * textmodes/reftex.el (reftex-mode):
16204 * textmodes/rst.el (rst-minor-mode):
16205 * textmodes/sgml-mode.el (html-autoview-mode)
16206 (sgml-electric-tag-pair-mode):
16207 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16208 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16209 * emulation/crisp.el (crisp-mode):
16210 * emacs-lisp/eldoc.el (eldoc-mode):
16211 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16212 minor mode behavior.
16213
16214 2011-10-19 Juri Linkov <juri@jurta.org>
16215
16216 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16217 the list of hard-coded chars with escape-glyph face.
16218
16219 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16220
16221 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16222
16223 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
16224
16225 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16226 running process.
16227
16228 2011-10-19 Glenn Morris <rgm@gnu.org>
16229
16230 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16231 Ignore ignored files. (Bug#9726)
16232
16233 2011-10-19 Chong Yidong <cyd@gnu.org>
16234
16235 Doc fix for minor modes, stating that an omitted argument enables
16236 the mode unconditionally when called from Lisp.
16237
16238 * abbrev.el (abbrev-mode):
16239 * allout.el (allout-mode):
16240 * autoinsert.el (auto-insert-mode):
16241 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16242 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16243 (global-auto-revert-mode):
16244 * battery.el (display-battery-mode):
16245 * composite.el (global-auto-composition-mode)
16246 (auto-composition-mode):
16247 * delsel.el (delete-selection-mode):
16248 * desktop.el (desktop-save-mode):
16249 * dired-x.el (dired-omit-mode):
16250 * dirtrack.el (dirtrack-mode):
16251 * doc-view.el (doc-view-minor-mode):
16252 * double.el (double-mode):
16253 * electric.el (electric-indent-mode, electric-pair-mode):
16254 * emacs-lock.el (emacs-lock-mode):
16255 * epa-hook.el (auto-encryption-mode):
16256 * follow.el (follow-mode):
16257 * font-core.el (font-lock-mode):
16258 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16259 * help.el (temp-buffer-resize-mode):
16260 * hilit-chg.el (highlight-changes-mode)
16261 (highlight-changes-visible-mode):
16262 * hi-lock.el (hi-lock-mode):
16263 * hl-line.el (hl-line-mode, global-hl-line-mode):
16264 * icomplete.el (icomplete-mode):
16265 * ido.el (ido-everywhere):
16266 * image-file.el (auto-image-file-mode):
16267 * image-mode.el (image-minor-mode):
16268 * iswitchb.el (iswitchb-mode):
16269 * jka-cmpr-hook.el (auto-compression-mode):
16270 * linum.el (linum-mode):
16271 * longlines.el (longlines-mode):
16272 * master.el (master-mode):
16273 * mb-depth.el (minibuffer-depth-indicate-mode):
16274 * menu-bar.el (menu-bar-mode):
16275 * minibuf-eldef.el (minibuffer-electric-default-mode):
16276 * mouse-sel.el (mouse-sel-mode):
16277 * msb.el (msb-mode):
16278 * mwheel.el (mouse-wheel-mode):
16279 * outline.el (outline-minor-mode):
16280 * paren.el (show-paren-mode):
16281 * recentf.el (recentf-mode):
16282 * reveal.el (reveal-mode, global-reveal-mode):
16283 * rfn-eshadow.el (file-name-shadow-mode):
16284 * ruler-mode.el (ruler-mode):
16285 * savehist.el (savehist-mode):
16286 * scroll-all.el (scroll-all-mode):
16287 * scroll-bar.el (scroll-bar-mode):
16288 * server.el (server-mode):
16289 * shell.el (shell-dirtrack-mode):
16290 * simple.el (auto-fill-mode, transient-mark-mode)
16291 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16292 (line-number-mode, column-number-mode, size-indication-mode)
16293 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16294 * strokes.el (strokes-mode):
16295 * time.el (display-time-mode):
16296 * t-mouse.el (gpm-mouse-mode):
16297 * tool-bar.el (tool-bar-mode):
16298 * tooltip.el (tooltip-mode):
16299 * type-break.el (type-break-mode-line-message-mode)
16300 (type-break-query-mode):
16301 * view.el (view-mode):
16302 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16303 (global-whitespace-mode, global-whitespace-newline-mode):
16304 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16305
16306 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16307 Fix autogenerated docstring.
16308
16309 2011-10-19 Juri Linkov <juri@jurta.org>
16310
16311 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16312 by checking environment variables "DESKTOP_SESSION" and
16313 "XDG_CURRENT_DESKTOP". (Bug#9779)
16314
16315 2011-10-19 Juri Linkov <juri@jurta.org>
16316
16317 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16318 (browse-url-chromium-program, browse-url-chromium-arguments):
16319 New defcustoms.
16320 (browse-url-default-browser): Check for `browse-url-chromium' and
16321 call `browse-url-chromium-program'.
16322 (browse-url-chromium): New command. (Bug#9779)
16323
16324 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
16325
16326 * facemenu.el (list-colors-duplicates): On Windows, detect more
16327 duplicates by assuming that only colors matching "^System" are
16328 special "system colors". (Bug#9722)
16329
16330 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16331
16332 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16333 to distinguish the author from the committer.
16334
16335 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
16336
16337 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16338
16339 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
16340
16341 * international/mule.el (sgml-html-meta-auto-coding-function):
16342 Add support for detecting encoding in HTML5 specified only as
16343 <meta charset="UTF-8">. Implementation just makes http-equiv and
16344 content-type parts from HTML4 encoding string optional. (Bug#9716)
16345
16346 2011-10-18 Glenn Morris <rgm@gnu.org>
16347
16348 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
16349
16350 2011-10-18 Chong Yidong <cyd@gnu.org>
16351
16352 * faces.el (cursor): Doc fix.
16353
16354 2011-10-17 Chong Yidong <cyd@gnu.org>
16355
16356 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16357
16358 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
16359
16360 * dirtrack.el (dirtrack): Support shell buffers with path
16361 prefixes, e.g. tramp-based remote shells. (Bug#9647)
16362
16363 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
16364
16365 * json.el: Bump version to 1.3 and note change in History.
16366 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16367
16368 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16369
16370 * comint.el (comint-insert-input, comint-send-input)
16371 (comint-get-old-input-default, comint-backward-matching-input)
16372 (comint-next-prompt): Use nil instead of `input' for field property of
16373 past user input (bug#114).
16374
16375 * minibuffer.el (completion--replace): Inherit surrounding properties
16376 (bug#114).
16377 (minibuffer-complete-and-exit): Use it.
16378
16379 * comint.el (comint--table-subvert): Quote the all-completions output
16380 (bug#9160).
16381
16382 2011-10-17 Martin Rudalics <rudalics@gmx.at>
16383
16384 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
16385
16386 * menu-bar.el (menu-bar-file-menu): Add entry for making new
16387 window on right of selected. (Bug#9350) Reword other window
16388 entries and separate them from frame entries.
16389
16390 2011-10-15 Glenn Morris <rgm@gnu.org>
16391
16392 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
16393 Doc fixes.
16394
16395 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
16396
16397 * net/network-stream.el (network-stream-open-starttls):
16398 Improve detection of failure due to lack of TLS support.
16399
16400 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
16401 putting the input text in front and in bold.
16402
16403 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16404
16405 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
16406
16407 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
16408 empty buffer.
16409
16410 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
16411 unread-command-events rather than pushing yet-another event.
16412
16413 2011-10-14 Eli Zaretskii <eliz@gnu.org>
16414
16415 * mail/sendmail.el (sendmail-query-once): Improve the wording of
16416 the explanation of the possible choices. Make the options passed
16417 to completing-read shorter.
16418
16419 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16420
16421 * textmodes/flyspell.el (flyspell-large-region): Make sure
16422 extended character mode is used if defined (Bug#1339).
16423
16424 2011-10-13 Eli Zaretskii <eliz@gnu.org>
16425
16426 * simple.el (what-cursor-position): Fix the display of the
16427 character info for LRE, LRO, RLE, and RLO characters by appending
16428 an invisible PDF.
16429
16430 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
16431
16432 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
16433 even in case of error; add debug spec; simplify data flow.
16434 (with-timeout-handler): Remove.
16435
16436 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
16437
16438 Fix Bug#6019, Bug#9315.
16439
16440 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
16441 complete `buffer-file-name', the local file name part could look
16442 remotely (for example on VMS).
16443
16444 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
16445 `tramp-run-real-handler'.
16446 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
16447 already quoted by '"'.
16448
16449 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
16450 Let `file-name-handler-alist' be nil, the local file name part
16451 could look remotely (for example on VMS).
16452
16453 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
16454
16455 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
16456 from here...
16457 (flyspell-post-command-hook): ...to here.
16458
16459 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16460
16461 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
16462 if not needed.
16463 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
16464 using completion. Protect against "slow" callers.
16465 Remove the "message hack".
16466
16467 2011-10-11 Juri Linkov <juri@jurta.org>
16468
16469 * isearch.el (isearch-lazy-highlight-word): New variable.
16470 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
16471 Use it. (Bug#9727)
16472
16473 2011-10-11 Glenn Morris <rgm@gnu.org>
16474
16475 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
16476 like f90-previous-statement does.
16477
16478 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16479
16480 * eshell/eshell.el (eshell-command): History should be saved
16481 only in interactive use, to avoid error.
16482
16483 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16484
16485 * minibuffer.el (completion-file-name-table): Fix last change,
16486 i.e. ignore normal errors but not the other ones.
16487
16488 2011-10-10 Martin Rudalics <rudalics@gmx.at>
16489
16490 * window.el (special-display-buffer-names)
16491 (special-display-regexps): Remove some remnants of earlier
16492 changes from doc-strings.
16493 (quit-windows-on): New function.
16494
16495 * vc/vc.el (vc-revert, vc-rollback):
16496 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
16497 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
16498 (Bug#6183) (Bug#7074) (Bug#7447)
16499
16500 2011-10-09 Martin Rudalics <rudalics@gmx.at>
16501
16502 * window.el (frame-auto-hide-function): Add version tag.
16503 (Bug#9699)
16504
16505 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
16506
16507 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
16508 condition.
16509
16510 2011-10-09 Leo Liu <sdl.web@gmail.com>
16511
16512 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
16513 (Bug#9701)
16514
16515 2011-10-08 Glenn Morris <rgm@gnu.org>
16516
16517 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
16518 before the first code statement zero indent. (Bug#9690)
16519
16520 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
16521
16522 * simple.el (count-words-region): Always count in the region.
16523 Report the number of lines and characters too.
16524 (count-words): New command, which counts in the buffer if the
16525 region is inactive, as count-words-region used to.
16526 (count-words--message): New function. Handle plurals.
16527 (count-lines-region): Make it an alias for count-words-region.
16528
16529 * bindings.el (esc-map): Replace count-lines-region with
16530 count-words-region.
16531
16532 2011-10-08 Martin Rudalics <rudalics@gmx.at>
16533
16534 * window.el (window--delete): Delete dedicated frame
16535 unconditionally when argument KILL is non-nil. (Bug#9699)
16536 (switch-to-buffer): Fix doc-string typo.
16537
16538 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16539
16540 * eshell/eshell.el (eshell-command): Avoid using hooks.
16541
16542 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
16543
16544 * bindings.el ([M-left],[M-right]): Bind to left-word and
16545 right-word respectively.
16546
16547 2011-10-07 Glenn Morris <rgm@gnu.org>
16548
16549 * cus-start.el (debug-on-quit): Fix custom type.
16550
16551 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16552
16553 * subr.el (define-key-after): Clarify that the function is not
16554 useful for non-menu keymaps.
16555
16556 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
16557
16558 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16559
16560 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
16561 in current minibuffer (Fix bug with recursive minibuffers).
16562
16563 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
16564
16565 * progmodes/gdb-mi.el (gdb): Doc fix.
16566
16567 2011-10-05 Martin Rudalics <rudalics@gmx.at>
16568
16569 * window.el (frame-auto-hide-function): New option replacing
16570 frame-auto-delete. Suggested by Stefan Monnier.
16571 (window--delete): Call frame-auto-hide-function instead of
16572 investigating frame-auto-delete.
16573 (window-point-1, set-window-point-1): New functions.
16574 (window-in-direction, record-window-buffer, window-state-get-1)
16575 (display-buffer-record-window): Use window-point-1 instead of
16576 window-point.
16577 (set-window-buffer-start-and-point): Use set-window-point-1.
16578
16579 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16580
16581 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
16582
16583 2011-10-05 Glenn Morris <rgm@gnu.org>
16584
16585 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
16586 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
16587
16588 2011-10-05 Leo Liu <sdl.web@gmail.com>
16589
16590 * subr.el (read-char-choice): Fix argument to buffer-live-p which
16591 works with buffer object.
16592
16593 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16594
16595 * mpc.el (mpc-tool-bar-map): Add labels.
16596
16597 2011-10-04 Glenn Morris <rgm@gnu.org>
16598
16599 * calendar/holidays.el (calendar-check-holidays): Doc fix.
16600
16601 2011-10-04 Martin Rudalics <rudalics@gmx.at>
16602
16603 * window.el (window--delete): New function.
16604 (frame-auto-delete): Resuscitate option.
16605 (bury-buffer, replace-buffer-in-windows)
16606 (quit-window): Rewrite using window--delete.
16607 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16608 Pass display-buffer-mark-dedicated to window--display-buffer-2
16609 (Bug#9639).
16610
16611 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16612
16613 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
16614 returns a list (bug#9554). Add remote file name completion.
16615 * comint.el (comint--table-subvert): Curry and get quote&unquote
16616 functions as arguments.
16617 (comint--complete-file-name-data): Adjust call accordingly.
16618 * pcomplete.el (pcomplete--table-subvert): Remove.
16619 (pcomplete-completions-at-point): Use comint--table-subvert instead.
16620
16621 * minibuffer.el (completion-table-case-fold): Use currying.
16622 (completion--styles-type, completion--cycling-threshold-type):
16623 New constants.
16624 (completion-styles, completion-category-overrides)
16625 (completion-cycle-threshold): Use them.
16626 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
16627 completion-table-case-fold.
16628
16629 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
16630
16631 * minibuffer.el (completion-category-overrides): Fix type of styles
16632 and add more user friendly tags (bug#9660).
16633
16634 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16635
16636 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
16637 (mule-input-method-string): New widget.
16638 (default-input-method, language-info-custom-alist): Use it.
16639
16640 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16641
16642 * pcomplete.el: Require comint.
16643 (pcomplete--common-suffix): Remove.
16644 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
16645 (pcomplete--table-subvert): Sync with comint--table-subvert.
16646 (pcomplete--entries): Use comint-completion-file-name-table.
16647 * comint.el (comint-unquote-filename): Simplify.
16648 (comint-completion-file-name-table): New function (bug#9616).
16649 (comint--complete-file-name-data): Use it.
16650
16651 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
16652 (pcmpl-gnu-tar-buffer): Remove.
16653 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
16654 around. Make sure pcomplete-suffix-list is only changed temporarily.
16655 Don't look inside the tar's file if it's too large.
16656
16657 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
16658
16659 * cus-edit.el (custom-mode-map):
16660 * epa.el (epa-key-list-mode-map):
16661 * man.el (Man-mode-map):
16662 * startup.el (splash-screen-keymap):
16663 * simple.el (special-mode-map): Use scroll-up-command and
16664 scroll-down-command.
16665
16666 * progmodes/idlw-help.el (idlwave-help-mode-map):
16667 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
16668 * net/newst-plainview.el (newsticker-mode-map):
16669 * emulation/ws-mode.el (wordstar-mode-map):
16670 * emulation/vi.el (vi-com-map):
16671 * calc/calc-graph.el (calc-graph-show-dumb):
16672 * term/sun.el (terminal-init-sun):
16673 * term/ns-win.el (global-map):
16674 * progmodes/grep.el (grep-mode-map):
16675 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
16676 * mail/rmail.el (rmail-mode-map):
16677 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
16678
16679 * custom.el (custom-safe-themes, load-theme): Treat value of t for
16680 custom-safe-themes as special.
16681
16682 2011-10-01 Julien Danjou <julien@danjou.info>
16683
16684 * notifications.el (notifications-notify): Fix docstring.
16685
16686 2011-10-01 Per Starbäck <per@starback.se>
16687
16688 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
16689
16690 2011-09-30 Martin Rudalics <rudalics@gmx.at>
16691
16692 * startup.el (command-line-1): Fix last fix by inserting
16693 initial-scratch-message into *scratch* before displaying it.
16694 (Bug#9605) and (Bug#9636)
16695
16696 2011-09-29 Eli Zaretskii <eliz@gnu.org>
16697
16698 * simple.el (line-move): If auto-hscroll-mode is disabled and the
16699 window is hscrolled, move by logical lines. (Bug#9607)
16700 (line-move-visual): Update the doc string to the above effect.
16701
16702 2011-09-29 Martin Rudalics <rudalics@gmx.at>
16703
16704 * window.el (display-buffer-record-window): When WINDOW is the
16705 selected window use `point' instead of `window-point'. (Bug#9626)
16706
16707 * startup.el (command-line-1): Use insert-before-markers when
16708 inserting initial-scratch-message. (Bug#9605)
16709
16710 * help.el (help-window): Remove variable.
16711
16712 2011-09-29 Glenn Morris <rgm@gnu.org>
16713
16714 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
16715
16716 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
16717
16718 * descr-text.el (describe-char-categories): Accept category
16719 descriptions more than one line long.
16720
16721 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
16722
16723 * simple.el (delete-trailing-whitespace): Fix last change.
16724
16725 * progmodes/perl-mode.el (perl-syntax-propertize-function):
16726 Don't confuse "y => 3" as the beginning of a `y' operation.
16727
16728 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
16729 object has more than 4 slots (bug#9613).
16730
16731 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
16732
16733 * subr.el (with-output-to-temp-buffer):
16734 * net/quickurl.el (quickurl, quickurl-browse-url):
16735 Fix typos in docstrings.
16736
16737 2011-09-27 Eli Zaretskii <eliz@gnu.org>
16738
16739 * minibuffer.el (completion-styles)
16740 (completion-category-overrides): Cross reference each other in doc
16741 strings.
16742
16743 2011-09-27 Glenn Morris <rgm@gnu.org>
16744
16745 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
16746 to split-string. (Bug#9606)
16747
16748 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16749
16750 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
16751 (bug#9615).
16752
16753 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
16754
16755 * emacs-lisp/package.el (list-packages): Fix echo area message.
16756
16757 2011-09-27 Leo Liu <sdl.web@gmail.com>
16758
16759 * ido.el (ido-read-internal): Accept cons cell HIST arg.
16760
16761 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
16762
16763 * net/dbus.el (dbus-unregister-object): Don't release services for
16764 registered signals. (Bug#9581)
16765
16766 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
16767
16768 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
16769 function that picks between cfengine 2 and 3 support
16770 automatically. Update docs accordingly.
16771
16772 2011-09-22 Kenichi Handa <handa@m17n.org>
16773
16774 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
16775 ZERO.
16776 (indian-itrans-v5-table-for-tamil): New variable.
16777 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
16778
16779 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
16780
16781 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
16782 that's true if the current command involved collapsing of text.
16783 It's reset to false at the beginning of the next command.
16784 (allout-post-command-business): Move the cursor to the beginning
16785 of entry if the cursor is hidden and collapsing activity just
16786 happened.
16787
16788 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
16789
16790 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
16791 tracking (Bug#9541).
16792
16793 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
16794
16795 * net/newst-reader.el (newsticker-html-renderer)
16796 (newsticker-show-news): Automatically load html rendering package
16797 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
16798 because w3m-fill-column is let-bound" and the error "Symbol's value
16799 as variable is void: w3m-fill-column".
16800
16801 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
16802
16803 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
16804 Release services only if they are defined. (Bug#9581)
16805
16806 2011-09-23 Richard Stallman <rms@gnu.org>
16807
16808 * textmodes/paragraphs.el (forward-sentence): For backwards case,
16809 distinguish start of paragraph from start of its text.
16810
16811 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
16812
16813 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
16814 (rmail-generate-viewer-buffer): Put that hook on view buffer.
16815 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
16816
16817 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
16818
16819 * international/mule-diag.el (mule-diag): Insert a newline after
16820 each fontset description.
16821
16822 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16823
16824 * simple.el (delete-trailing-whitespace):
16825 Document last change; simplify.
16826
16827 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
16828
16829 * simple.el (delete-trailing-whitespace): Also delete
16830 extra newlines at the end of the buffer.
16831
16832 * textmodes/picture.el: Make motion commands obey shift-select-mode.
16833 (picture-newline): Use forward-line so as to ignore fields.
16834
16835 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16836
16837 * subr.el (with-wrapper-hook): Fix edebug spec.
16838
16839 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
16840
16841 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
16842 (bug#4538).
16843
16844 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
16845
16846 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
16847 Fix nasty bug using wrong cached values.
16848
16849 2011-09-23 Alan Mackenzie <acm@muc.de>
16850
16851 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
16852
16853 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
16854
16855 * window.el (pop-to-buffer): Ensure right window is selected if we
16856 chose another frame.
16857
16858 2011-09-22 Eli Zaretskii <eliz@gnu.org>
16859
16860 * simple.el (what-cursor-position): Use get-char-property-change
16861 and next-single-char-property-change, to be able to show display
16862 properties that come from overlays as well as text properties.
16863
16864 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
16865
16866 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
16867
16868 * cmuscheme.el (run-scheme, switch-to-scheme):
16869 * cus-edit.el (customize-group, custom-buffer-create)
16870 (customize-browse):
16871 * info.el (info):
16872 * shell.el (shell):
16873 * mail/sendmail.el (mail):
16874 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
16875
16876 2011-09-22 Richard Stallman <rms@gnu.org>
16877
16878 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
16879 move back only to line beg, don't move back over blank lines.
16880
16881 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
16882
16883 * files.el (copy-directory): Set directory attributes only in case
16884 they could be retrieved from the source directory. (Bug#9565)
16885
16886 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
16887
16888 * progmodes/hideshow.el (hs-looking-at-block-start-p)
16889 (hs-find-block-beginning, hs-hide-level-recursive):
16890 Ignore strings as well as comments. (Bug#9502)
16891
16892 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
16893
16894 * progmodes/sql.el (sql-comint-postgres):
16895 Convert port number to a string. (Bug#9566)
16896
16897 2011-09-22 Martin Rudalics <rudalics@gmx.at>
16898
16899 * window.el (quit-window): Undedicate window when switching to
16900 previous buffer. Reported by Thierry Volpiatto
16901 <thierry.volpiatto@gmail.com>.
16902 (special-display-popup-frame): When popping up a new frame reset
16903 its previous buffers to nil. Simplify code.
16904
16905 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
16906
16907 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
16908 and process filter, as done also in `shell-command'.
16909
16910 2011-09-21 Martin Rudalics <rudalics@gmx.at>
16911
16912 * window.el (set-window-buffer-start-and-point):
16913 Call set-window-start with NOFORCE argument t.
16914 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16915 (quit-window): Reword doc-string. Handle new format of
16916 quit-restore parameter. Don't delete window if it has a
16917 previous buffer we can show instead of the present one.
16918 (display-buffer-record-window): Rewrite using a new format for
16919 the quit-restore window parameter
16920 (special-display-popup-frame, display-buffer-same-window)
16921 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16922 (display-buffer-pop-up-window, display-buffer-use-some-window):
16923 Adapt symbol passed to display-buffer-record-window.
16924 * help.el (help-window-setup): Handle new format of quit-restore
16925 parameter.
16926
16927 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
16928
16929 * faces.el (face-list): Fix docstring (bug#9564).
16930
16931 * window.el (display-buffer--action-function-custom-type):
16932 Don't include internal functions in the Custom interface.
16933
16934 2011-09-20 Juri Linkov <juri@jurta.org>
16935
16936 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
16937 (Info-forward-node, Info-backward-node, Info-next-preorder)
16938 (Info-last-preorder): Use it. (Bug#9528)
16939
16940 2011-09-20 Juri Linkov <juri@jurta.org>
16941
16942 * info.el (Info-last-preorder): Visit last menu item only when
16943 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
16944
16945 2011-09-20 Julien Danjou <julien@danjou.info>
16946
16947 * password-cache.el (password-cache-remove): Remove entries even if the
16948 value is nil, so that password with a nil value (negative caching) is
16949 possible to invalidate.
16950
16951 2011-09-20 Lawrence Mitchell <wence@gmx.li>
16952
16953 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
16954 all whitespace around breakpoint. (Bug#9553)
16955 (f90-find-breakpoint): Only break at whitespace inside a comment.
16956
16957 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
16958
16959 * minibuffer.el (completion-file-name-table): Keep track of errors.
16960 (completion-table-with-predicate): Handle the case where pred1 is nil.
16961 * pcomplete.el (pcomplete-completions-at-point): Simplify.
16962
16963 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16964
16965 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
16966 (debugger-return-value): Signal an error if the debugging context does
16967 not await any return value.
16968
16969 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
16970 * image-mode.el (image-toggle-display-text)
16971 (image-toggle-display-image): Stay away from evil `intangible'.
16972
16973 2011-09-19 Leo Liu <sdl.web@gmail.com>
16974
16975 * replace.el (occur-revert-arguments): Make it permanent-local.
16976 (occur-mode): Don't call font-lock-defontify.
16977
16978 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
16979
16980 * net/ldap.el (ldap-search-internal): Don't push empty search
16981 result (Bug#9508).
16982
16983 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16984
16985 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
16986
16987 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
16988
16989 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
16990 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
16991
16992 2011-09-18 Juri Linkov <juri@jurta.org>
16993
16994 * buff-menu.el (Buffer-menu-mode-map):
16995 * dired.el (dired-mode-map):
16996 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
16997 (lisp-interaction-mode-map):
16998 * emacs-lisp/package.el (package-menu-mode-map):
16999 * epa.el (epa-key-list-mode-map):
17000 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17001 (menu-bar-options-menu):
17002 * outline.el (outline-mode-menu-bar-map):
17003 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17004 * vc/vc-dir.el (vc-dir-menu-map):
17005 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17006 Capitalize non-function content words in menu item strings.
17007
17008 * dired.el (dired-mode-map): Add menu item for
17009 `image-dired-dired-toggle-marked-thumbs'.
17010
17011 2011-09-18 Juri Linkov <juri@jurta.org>
17012
17013 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17014 to `isearch-case-fold-search' and restore its original value
17015 after the `isearch-mode' call.
17016
17017 2011-09-18 Juri Linkov <juri@jurta.org>
17018
17019 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17020 because `zgrep' returns 1 for successful matches (bug#9226).
17021
17022 2011-09-18 Juri Linkov <juri@jurta.org>
17023
17024 * info.el (Info-extract-menu-node-name): Check the second match
17025 for empty string (second test-case of bug#9528).
17026 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17027 intermediate nodes to the history (first test-case of bug#9528).
17028
17029 2011-09-18 Juri Linkov <juri@jurta.org>
17030
17031 * info.el (Info-mode-syntax-table): New variable.
17032 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
17033
17034 2011-09-18 Juri Linkov <juri@jurta.org>
17035
17036 * info.el (Info-file-supports-index-cookies):
17037 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17038 outputs one more line for long file names (bug#4142).
17039
17040 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17041
17042 * newcomment.el (comment-normalize-vars): If prompting for
17043 comment-start, set comment-start-skip too (Bug#8424).
17044
17045 2011-09-18 Johan Bockgård <bojohan@gnu.org>
17046
17047 * icomplete.el: Fix previous fix of Bug#5849.
17048 (icomplete-mode): Don't set completion-show-inline-help.
17049 (icomplete-minibuffer-setup): Set completion-show-inline-help
17050 locally during icompletion.
17051
17052 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17053
17054 * woman.el (woman2-process-escapes): Don't delete unrecognized
17055 escapes (Bug#7843).
17056
17057 * files.el (inhibit-first-line-modes-regexps): Add image files.
17058 (hack-local-variables-prop-line): Return nil for malformed
17059 prop-lines (Bug#9044).
17060
17061 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
17062
17063 * net/tramp.el (top): Don't require 'shell.
17064 (tramp-methods): Fix docstring.
17065 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
17066 Return complete remote file name. Handle "smb" case.
17067 Use `tramp-tmpdir', if defined for the respective method.
17068 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17069
17070 * net/tramp-compat.el (top): Require 'shell.
17071
17072 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17073 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17074 `tramp-current-host'.
17075 (tramp-get-remote-tmpdir): Remove.
17076
17077 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17078 `tramp-tmpdir' entries.
17079 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17080 (tramp-smb-handle-file-attributes): Ignore errors.
17081 (tramp-smb-wait-for-output): Check also for process end.
17082
17083 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17084
17085 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17086 when sending QUIT (bug#9312).
17087
17088 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
17089
17090 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17091 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17092 occur-mode-display-occurrence.
17093 (occur-edit-mode): Add usage message.
17094 (occur-cease-edit): New command.
17095 (occur-after-change-function): Use text properties to find the
17096 position of the prefix text.
17097 (occur-engine): Set stickiness of prefix text properties.
17098
17099 2011-09-17 Glenn Morris <rgm@gnu.org>
17100
17101 * progmodes/etags.el (complete-tag):
17102 Fix call to completion-in-region. (Bug#9526)
17103
17104 2011-09-17 Juri Linkov <juri@jurta.org>
17105
17106 * textmodes/ispell.el (ispell-word): Add to the error message
17107 the word, ispell program name and current dictionary (bug#9121).
17108 (ispell-tex-arg-end): Capitalize "error" in the error message.
17109
17110 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17111
17112 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17113 check. (Bug#4251)
17114
17115 2011-09-17 Juri Linkov <juri@jurta.org>
17116
17117 * window.el (window-safe-min-height, window-safe-min-width):
17118 Fix typos (followup to bug#9522).
17119
17120 2011-09-17 Sven Joachim <svenjoac@gmx.de>
17121
17122 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17123
17124 2011-09-16 Eli Zaretskii <eliz@gnu.org>
17125
17126 * simple.el (line-move): If goal-column is set, move by logical
17127 lines, not by display lines. (Bug#971)
17128 (next-line, previous-line, goal-column, line-move-visual): Doc fix
17129 to reflect the above change.
17130
17131 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17132
17133 * image.el (imagemagick-register-types): Use regexp-opt.
17134
17135 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17136
17137 * window.el (display-buffer-base-action): Rename from
17138 display-buffer-default-action. Make default value empty.
17139 (display-buffer-overriding-action): Convert to defvar.
17140 (display-buffer-fallback-action): New var.
17141
17142 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17143
17144 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
17145 declaration.
17146 (package--add-to-archive-contents): If there is a duplicate entry
17147 with an older version, remove it.
17148 (package-menu-mark-delete, package-menu-mark-install)
17149 (package-menu-mark-unmark): Make unused args optional.
17150 (package-menu-mark-obsolete-for-deletion):
17151 Use package-menu-get-status instead of a regexp search.
17152 (package-menu-get-status): Use tabulated-list-entry.
17153 (package-menu-mark-upgrades): New command.
17154 (package-menu-mode-map): Bind it to U. Add it to menu bar.
17155 (package-menu-execute): Do installation before deletion.
17156 (package-menu-refresh, package-menu-execute): Use derived-mode-p
17157 instead of checking major-mode.
17158 (package-menu--find-upgrades): New function.
17159
17160 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17161
17162 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17163 passwords in the log buffer.
17164 (smtpmail-process-filter): Update the process marker so that the
17165 "broken by peer" status message is inserted in the right place.
17166
17167 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17168
17169 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17170 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17171 bibtex-completion-at-point-function.
17172 (bibtex-completion-at-point-function): Use them.
17173
17174 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17175
17176 * mpc.el (mpc-constraints-tag-lookup): New function.
17177 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17178 also to browser "album|playlist".
17179
17180 2011-09-14 Juri Linkov <juri@jurta.org>
17181
17182 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17183 (isearch-edit-string): Use length of `isearch-string' when
17184 `isearch-fail-pos' returns nil.
17185 (isearch-message): Remove duplicate code and call
17186 `isearch-fail-pos' with arg `t'.
17187
17188 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
17189
17190 * replace.el (occur-mode-goto-occurrence): Don't force using other
17191 window (Bug#9499).
17192
17193 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17194
17195 2011-09-14 Martin Rudalics <rudalics@gmx.at>
17196
17197 * window.el (display-buffer-window): Remove.
17198 (display-buffer-record-window): Use help-setup window parameter
17199 instead of variable display-buffer-window.
17200 (display-buffer-function, special-display-buffer-names)
17201 (special-display-function): Mention help-setup parameter instead
17202 of display-buffer-window in doc-string.
17203 * help.el (help-window-setup): New argument help-window.
17204 Use help-window-setup parameter instead of display-buffer-window.
17205 Reword some messages.
17206 (with-help-window): Pass window used for displaying the buffer
17207 to help-window-setup. Don't set display-buffer-window.
17208
17209 2011-09-13 Glenn Morris <rgm@gnu.org>
17210
17211 * emacs-lisp/debug.el (debugger-make-xrefs):
17212 Preserve point. (Bug#9462)
17213
17214 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17215
17216 * window.el (window-deletable-p): Use next-frame.
17217
17218 2011-09-13 Martin Rudalics <rudalics@gmx.at>
17219
17220 * window.el (window-auto-delete): Remove.
17221 (window-deletable-p): Remove argument FORCE. Don't deal with
17222 dedication and previous buffers.
17223 (switch-to-prev-buffer): Don't delete window.
17224 (delete-windows-on): Delete a window's frame if and only if the
17225 window is dedicated.
17226 (replace-buffer-in-windows): Delete buffer's window or frame if
17227 and only if window is dedicated.
17228 (quit-window): Handle quit-restore as before last change.
17229 (bury-buffer): Delete window only if window-deletable-p returns t.
17230
17231 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17232
17233 * window.el (window-deletable-p): Never delete the last frame on a
17234 given terminal.
17235
17236 2011-09-13 Glenn Morris <rgm@gnu.org>
17237
17238 * help.el (describe-key-briefly): Copy previous standard-output change.
17239
17240 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
17241
17242 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17243
17244 2011-09-13 Glenn Morris <rgm@gnu.org>
17245
17246 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17247 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17248
17249 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
17250
17251 * dired-aux.el (dired-mark-read-string): Don't return default
17252 value on empty input (Bug#9361).
17253 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17254 Omit initial minibuffer contents.
17255 (dired-do-chmod): Signal an error on empty input.
17256 (dired-mark-read-string): Don't return default on empty input.
17257
17258 * files.el (file-modes-symbolic-to-number): Doc fix.
17259
17260 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17261
17262 * international/mule-cmds.el (ucs-completions): Remove.
17263 (read-char-by-name): Use complete-with-action instead; add metadata.
17264
17265 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17266
17267 * window.el (display-buffer--action-function-custom-type)
17268 (display-buffer--action-custom-type): New vars.
17269 (display-buffer-alist, display-buffer-default-action)
17270 (display-buffer-overriding-action): Add defcustom types.
17271
17272 * frame.el (delete-other-frames): Doc fix (Bug#276).
17273
17274 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17275
17276 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17277
17278 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17279
17280 Change modes that used same-window-* vars to use switch-to-buffer.
17281
17282 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17283 Use switch-to-buffer.
17284
17285 * cus-edit.el (customize-group, custom-buffer-create)
17286 (customize-browse, custom-buffer-create-other-window):
17287 Use switch-to-buffer or switch-to-buffer-other-window.
17288
17289 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17290 (Info-prev, Info-up, Info-speedbar-goto-node)
17291 (info-display-manual): Use switch-to-buffer.
17292 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17293
17294 * mail/sendmail.el (mail): Use switch-to-buffer.
17295 (mail-recover): Use switch-to-buffer-other-window.
17296
17297 * cmuscheme.el (run-scheme, switch-to-scheme):
17298 * ielm.el (ielm):
17299 * shell.el (shell):
17300 * net/rlogin.el (rlogin):
17301 * net/telnet.el (telnet, rsh):
17302 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17303
17304 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17305
17306 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17307
17308 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17309
17310 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17311 so don't mention it (bug#9301).
17312 (dired-sort-toggle-or-edit): Clarify string further.
17313
17314 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17315 match `x', `w32' and `ns', like the manual says (bug#9029).
17316
17317 * subr.el (eval-after-load): Doc string clarification (bug#9125).
17318 (process-kill-buffer-query-function): Mention the buffer name in
17319 the query.
17320
17321 * image-mode.el (image-next-line): The line parameter is mandatory
17322 (bug#9258).
17323
17324 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17325 which can be useful (bug#9301).
17326
17327 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17328
17329 * subr.el (match-string): Mention that the current buffer should
17330 be the same as the search was done in (bug#9282).
17331
17332 * facemenu.el: Disable the remove-* commands if the mark isn't
17333 active (bug#9162).
17334
17335 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17336
17337 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17338 of display-buffer.
17339 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17340
17341 * replace.el (occur-mode-goto-occurrence)
17342 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17343 and display-buffer.
17344
17345 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17346 display-buffer.
17347
17348 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17349 special-display and same-window variables.
17350 (mail-other-window): Use switch-to-buffer-other-window.
17351 (mail-other-frame): USe switch-to-buffer-other-frame.
17352
17353 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17354 Use display-buffer-other-frame.
17355 (gdb-display-gdb-buffer): Use pop-to-buffer.
17356
17357 * progmodes/gud.el (gud-goto-info): Use info-other-window.
17358
17359 * progmodes/python.el: Don't set same-window-buffer-names.
17360
17361 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17362
17363 * window.el (display-buffer-alist): Add *Python*.
17364
17365 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17366
17367 * window.el (display-buffer-alist): Add entry for buffers
17368 previously handled same-window-*.
17369 (display-buffer-alist, display-buffer-default-action)
17370 (display-buffer-overriding-action): Mark as risky.
17371 (display-buffer-alist): Document action function changes.
17372 (display-buffer--same-window-action)
17373 (display-buffer--other-frame-action): New variables.
17374 (switch-to-buffer, display-buffer-other-frame): Use them.
17375 (display-buffer): Rename reuse-frame entry to reusable-frames.
17376 (display-buffer-reuse-selected-window): Function deleted.
17377 (display-buffer-reuse-window): Handle reusable-frames alist entry.
17378 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
17379 (display-buffer-special): New function.
17380 (display-buffer--maybe-pop-up-frame-or-window): Rename from
17381 display-buffer-reuse-or-pop-window. Split off special-display
17382 part into display-buffer-special.
17383 (display-buffer-use-some-window): Don't perform any special
17384 pop-up-frames handling.
17385 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
17386 (display-buffer--maybe-same-window): Rename from
17387 display-buffer-maybe-same-window.
17388
17389 * info.el: Don't set same-window-regexps.
17390 (info-setup): New function.
17391 (info-other-window, info): Call it.
17392
17393 * cus-edit.el: Don't set same-window-regexps.
17394 (customize-group): New argument.
17395 (customize-group-other-window): Use it.
17396 (customize-face, customize-face-other-window): Likewise.
17397 (custom-buffer-create-other-window): Use pop-to-buffer directly.
17398
17399 * net/rlogin.el:
17400 * net/telnet.el:
17401 * progmodes/gud.el: Don't set same-window-regexps.
17402
17403 * cmuscheme.el:
17404 * ielm.el:
17405 * shell.el:
17406 * mail/sendmail.el:
17407 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
17408
17409 2011-09-10 Juri Linkov <juri@jurta.org>
17410
17411 * isearch.el (isearch-edit-string): Remove obsolete mention of
17412 `C-w' (`isearch-yank-word-or-char') from docstring.
17413 (isearch-query-replace): Fix typo in docstring (bug#9466).
17414
17415 2011-09-10 Juri Linkov <juri@jurta.org>
17416
17417 * paren.el (show-paren-function): Don't show escaped parens.
17418 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
17419
17420 2011-09-10 Eli Zaretskii <eliz@gnu.org>
17421
17422 * mail/sendmail.el (mml-to-mime, mml-attach-file)
17423 (mm-default-file-encoding): Remove autoload forms, they are
17424 replaced with autoload cookies in mml.el and mm-encode.el.
17425 (mail-add-attachment): New command.
17426 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
17427 (mail-mode): Mention mail-insert-file and mail-add-attachment in
17428 the doc string.
17429 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
17430
17431 2011-09-10 Reuben Thomas <rrt@sc3d.org>
17432
17433 * simple.el (count-words-region): Use buffer if there's no region
17434 (bug#9429).
17435
17436 2011-09-09 Juri Linkov <juri@jurta.org>
17437
17438 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
17439 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
17440 (wdired-isearch-filter-read-only): New function. (Bug#6362)
17441
17442 2011-09-09 Alan Mackenzie <acm@muc.de>
17443
17444 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
17445 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
17446
17447 2011-09-09 Eli Zaretskii <eliz@gnu.org>
17448
17449 Fix for Savannah bug#9392.
17450 * simple.el (mail-encode-mml): New defvar.
17451
17452 * mail/rmail.el (mail-encode-mml): Add a defvar.
17453 (rmail-enable-mime-composing): Default to t.
17454 (rmail-forward): Use MIME method of forwarding only if both
17455 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
17456 Set mail-encode-mml non-nil if the MIME method was used.
17457
17458 * mail/sendmail.el (mml-to-mime): Add autoload form.
17459 (mail-encode-mml): Add a defvar.
17460 (mail-mode): Make mail-encode-mml buffer-local and initialize it
17461 to nil.
17462 (mail-send): If mail-encode-mml is non-nil, run the outgoing
17463 message through mml-to-mime, and reset mail-encode-mml to nil.
17464
17465 2011-09-09 Glenn Morris <rgm@gnu.org>
17466
17467 * woman.el (woman-if-body): When processing an .el block,
17468 do not delete the next .el block as well. (Bug#9447)
17469 (woman-special-characters): Add oq, cq, and hy characters.
17470
17471 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17472
17473 * window.el (window-deletable-p): Make sure window is live before
17474 invoking window-prev-buffers.
17475
17476 2011-09-08 Leo Liu <sdl.web@gmail.com>
17477
17478 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
17479
17480 2011-09-08 Juri Linkov <juri@jurta.org>
17481
17482 * progmodes/compile.el (compilation-environment): Make it
17483 a defcustom (bug#8340).
17484
17485 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17486
17487 * window.el (frame-auto-delete): Rename to window-auto-delete.
17488 Make it control auto-deletion of windows and/or frames.
17489 (window-deletable-p): New argument FORCE. Rewrite conditions
17490 for deleting window/frame. (Bug#9419)
17491 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
17492 Rewrite handling of case when window/frame can be deleted.
17493 (delete-windows-on): Call window-deletable-p with new FORCE
17494 argument t. (Bug#9456)
17495
17496 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
17497
17498 * help-mode.el (help-mode): Restore autoload.
17499
17500 2011-09-07 Juri Linkov <juri@jurta.org>
17501
17502 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
17503 `compilation-environment'. Set buffer-local
17504 `compilation-environment' to `thisenv' later after (funcall mode).
17505 (Bug#8340)
17506
17507 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
17508 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
17509 instead of replacing its value. (Bug#8340)
17510
17511 2011-09-07 Juri Linkov <juri@jurta.org>
17512
17513 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
17514 based on text properties put by `grep-filter' instead of matching
17515 escape sequences.
17516 (grep-mode): Set buffer-local `compilation-error-screen-columns'
17517 to the value of `grep-error-screen-columns' (bug#9438).
17518
17519 2011-09-07 Juri Linkov <juri@jurta.org>
17520
17521 * simple.el (next-error-highlight, next-error-highlight-no-select):
17522 Doc fix (bug#9432).
17523
17524 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
17525
17526 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17527 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
17528
17529 2011-09-07 Leo Liu <sdl.web@gmail.com>
17530
17531 * net/rcirc.el (rcirc-mode): Conditionally initialize
17532 rcirc-input-ring.
17533
17534 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
17535
17536 * emacs-lisp/find-func.el (find-function-C-source): Only set
17537 find-function-C-source-directory after checking that we found a source
17538 file there (bug#9440).
17539
17540 2011-09-06 Alan Mackenzie <acm@muc.de>
17541
17542 * isearch.el (isearch-other-meta-char): Wherever a key list is
17543 unread, "unread" the prefix arg, too. This fixes bug #8901.
17544
17545 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
17546
17547 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
17548
17549 2011-09-05 Juri Linkov <juri@jurta.org>
17550
17551 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
17552
17553 2011-09-05 Juri Linkov <juri@jurta.org>
17554
17555 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
17556 keeping point where processing of grep matches begins, and
17557 continue to delete remaining escape sequences from the same point.
17558 (grep-filter): Make leading zero optional in "0?1;31m" because
17559 git-grep emits "\033[1;31m" escape sequences unlike expected
17560 "\033[01;31m" as GNU Grep does (bug#9408).
17561 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
17562
17563 2011-09-05 Juri Linkov <juri@jurta.org>
17564
17565 * subr.el (y-or-n-p): Capitalize "yes".
17566
17567 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
17568
17569 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
17570 `tramp-cache-unload-hook' where appropriate.
17571 (tramp-methods): Rename `tramp-remote-sh' to
17572 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
17573 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
17574
17575 * net/tramp-sh.el (top): Don't require 'shell.
17576 (tramp-methods): Add `tramp-remote-shell' and
17577 `tramp-remote-shell-args' entries.
17578 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
17579 (tramp-sh-handle-shell-command): Remove.
17580 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17581 Use `tramp-remote-shell'.
17582
17583 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
17584
17585 * mail/sendmail.el (sendmail-query-once-function): Delete.
17586 (sendmail-query-once): Save directly to send-mail-function.
17587 Update message-send-mail-function too.
17588
17589 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
17590
17591 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17592
17593 * progmodes/python.el (python-mode-map): Use correct function to
17594 start python interpreter from menu-bar (as reported by Geert
17595 Kloosterman).
17596 (inferior-python-mode-map): Fix typo.
17597 (python-shell-map): Remove.
17598
17599 2011-09-03 Deniz Dogan <deniz@dogan.se>
17600
17601 * net/rcirc.el (rcirc-print): Simplify code for
17602 rcirc-scroll-show-maximum-output. There is no need to walk
17603 through all windows to find the right one.
17604
17605 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17606
17607 * help.el (help-return-method): Doc fix.
17608
17609 2011-09-03 Martin Rudalics <rudalics@gmx.at>
17610
17611 * window.el (window-deletable-p): Don't return a non-nil value
17612 when there's a buffer that was shown in the window before.
17613 (Bug#9419)
17614 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17615 Set window's previous buffers to nil.
17616
17617 2011-09-03 Eli Zaretskii <eliz@gnu.org>
17618
17619 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
17620 newline before and after the tag line, so it doesn't interfere
17621 with determining the paragraph direction of bidirectional text.
17622
17623 2011-09-03 Leo Liu <sdl.web@gmail.com>
17624
17625 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
17626
17627 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
17628
17629 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
17630 (pop-to-buffer): Change interactive spec. Pass second argument
17631 directly to display-buffer.
17632 (display-buffer): Fix interactive spec. Use functionp to
17633 distinguish between a function and a list of functions.
17634
17635 * abbrev.el (edit-abbrevs):
17636 * arc-mode.el (archive-extract):
17637 * autoinsert.el (auto-insert):
17638 * bookmark.el (bookmark-bmenu-list):
17639 * files.el (find-file):
17640 * view.el (view-buffer):
17641 * progmodes/compile.el (compilation-goto-locus):
17642 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
17643
17644 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
17645
17646 * window.el (display-buffer-alist): Doc fix.
17647 (display-buffer): Add docstring. Don't treat
17648 display-buffer-default specially.
17649 (display-buffer-reuse-selected-window)
17650 (display-buffer-same-window, display-buffer-maybe-same-window)
17651 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17652 (display-buffer-pop-up-window)
17653 (display-buffer-reuse-or-pop-window)
17654 (display-buffer-use-some-window): New functions.
17655 (display-buffer-default-action): Use them.
17656 (display-buffer-default): Delete.
17657 (pop-to-buffer-1): Fix choice of actions.
17658
17659 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
17660
17661 * minibuffer.el (completion--insert-strings): Don't get confused by
17662 completion entries that end with an LF char.
17663
17664 2011-09-01 Eli Zaretskii <eliz@gnu.org>
17665
17666 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
17667
17668 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
17669
17670 * window.el (display-buffer): Restore interactive spec.
17671 (display-buffer-same-window, display-buffer-other-window):
17672 New functions.
17673 (pop-to-buffer-1): New function. Use the above.
17674 (pop-to-buffer, pop-to-buffer-same-window): Use it.
17675 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
17676
17677 * view.el (view-buffer-other-window, view-buffer-other-frame):
17678 Just use pop-to-buffer.
17679
17680 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17681
17682 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
17683
17684 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
17685
17686 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
17687
17688 2011-08-31 Richard Stallman <rms@gnu.org>
17689
17690 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
17691 of the separation of rmail-view-buffer from rmail-buffer.
17692 If you say no to "replace original", the decrypt is in the
17693 view buffer. If you say yes, the decrypt goes into the
17694 rmail buffer also.
17695
17696 2011-08-31 Martin Rudalics <rudalics@gmx.at>
17697
17698 * window.el (display-buffer-window): Rewrite doc-string.
17699 (display-buffer-record-window): New function.
17700 (display-buffer-macro-specifiers)
17701 (display-buffer-even-window-sizes, display-buffer-set-height)
17702 (display-buffer-set-width, display-buffer-in-window)
17703 (display-buffer-reuse-window, display-buffer-split-specifiers)
17704 (display-buffer-side-specifiers, display-buffer-split-window-1)
17705 (display-buffer-split-window, display-buffer-split-atom-window)
17706 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17707 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
17708 (display-buffer-other-window-means-other-frame)
17709 (display-buffer-normalize-special)
17710 (display-buffer-normalize-default)
17711 (display-buffer-normalize-argument)
17712 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
17713 (display-buffer-normalize-specifiers, display-buffer-frame)
17714 (display-buffer-same-window, display-buffer-same-frame)
17715 (display-buffer-other-window)
17716 (display-buffer-same-frame-other-window)
17717 (display-buffer-other-frame, pop-to-buffer-same-window)
17718 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
17719 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
17720 (switch-to-buffer-same-frame)
17721 (switch-to-buffer-other-window-same-frame)
17722 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
17723 (display-buffer-alist-set-1, display-buffer-alist-set-2)
17724 (display-buffer-alist-set): Remove.
17725 (display-buffer-function, special-display-buffer-names)
17726 (special-display-regexps, special-display-function):
17727 In doc-string refer to display-buffer-window and quit-restore
17728 parameter.
17729 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
17730 (special-display-frame-alist, special-display-popup-frame)
17731 (same-window-buffer-names, same-window-regexps, same-window-p)
17732 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17733 (split-window-preferred-function, split-height-threshold)
17734 (split-width-threshold, window-splittable-p)
17735 (split-window-sensibly, window--try-to-split-window)
17736 (window--frame-usable-p, even-window-heights)
17737 (window--even-window-heights, window--display-buffer-1)
17738 (window--display-buffer-2, display-buffer-other-frame):
17739 Restore old Emacs 23 code, order and doc-strings where applicable.
17740 (display-buffer-default, display-buffer-assq-regexp): New functions.
17741 (display-buffer-alist): Rewrite doc-string.
17742 (display-buffer-default-action)
17743 (display-buffer-overriding-action): New variables.
17744 (display-buffer, switch-to-buffer): Rewrite.
17745 (pop-to-buffer): Restore Emacs 23 behavior but use
17746 window-normalize-buffer-to-display.
17747 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
17748 Restore Emacs 23 behavior but use
17749 window-normalize-buffer-to-switch-to.
17750 (pop-to-buffer-same-window): Rewrite.
17751 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
17752 Rewrite using Emacs 23 options.
17753
17754 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
17755
17756 * net/tramp.el (tramp-root-regexp): Remove.
17757 (tramp-completion-file-name-regexp-unified)
17758 (tramp-completion-file-name-regexp-separate)
17759 (tramp-completion-file-name-regexp-url): Don't use leading volume
17760 letter on w32 systems. (Bug#5303, Bug#9311)
17761 (tramp-drop-volume-letter): Simplify definition.
17762 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
17763
17764 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17765
17766 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
17767 (bug#9356).
17768
17769 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
17770
17771 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
17772
17773 2011-08-29 Juri Linkov <juri@jurta.org>
17774
17775 * isearch.el (isearch-done): Don't display message "Mark saved"
17776 when arg `edit' is non-nil to prevent its flicker in the echo area.
17777
17778 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
17779
17780 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
17781 obsolete packages for deletion.
17782
17783 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
17784
17785 * help-mode.el (help-mode-map): Add special-mode-map to parent.
17786 (help-mode): Derive help-mode from special-mode. Don't invoke
17787 view-mode from help-mode.
17788 (help-xref-override-view-map): Remove.
17789 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
17790 view-mode is not used anymore.
17791
17792 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
17793
17794 * server.el (server-port): Doc fix.
17795
17796 * cus-theme.el (custom-theme-choose-mode): Inherit from
17797 special-mode (Bug#9124).
17798 (custom-theme-choose-mode-map): Add special-mode to parent.
17799
17800 2011-08-28 Alan Mackenzie <acm@muc.de>
17801
17802 * progmodes/cc-fonts.el
17803 (c-make-font-lock-BO-decl-search-function): New function.
17804 (c-basic-matchers-after - "Fontify the clauses after various
17805 keywords"): Extract the three keyword lists for the 3 erroneous
17806 constructs from the list of four, and use the new function above
17807 in place of an old one.
17808
17809 2011-08-28 Deniz Dogan <deniz@dogan.se>
17810
17811 * net/rcirc.el (rcirc-insert-prev-input)
17812 (rcirc-insert-next-input): Remove unused argument.
17813
17814 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17815
17816 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
17817
17818 2011-08-27 Alan Mackenzie <acm@muc.de>
17819
17820 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
17821 handle function pointer parameters properly.
17822
17823 2011-08-27 Martin Rudalics <rudalics@gmx.at>
17824
17825 * window.el (display-buffer-reuse-window): Fix case where
17826 selected window was reused with non-nil OTHER-WINDOW argument.
17827 (Bug#9381)
17828
17829 2011-08-27 Deniz Dogan <deniz@dogan.se>
17830
17831 * net/rcirc.el (rcirc-check-auth-status): Adding support for
17832 oftc's NickServ messages.
17833
17834 2011-08-27 Glenn Morris <rgm@gnu.org>
17835
17836 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
17837
17838 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
17839
17840 * emacs-lisp/package.el (package-install): Call package-initialize
17841 if called interactively.
17842
17843 2011-08-26 Leo Liu <sdl.web@gmail.com>
17844
17845 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
17846
17847 2011-08-25 Juri Linkov <juri@jurta.org>
17848
17849 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17850 `search-whitespace-regexp' (bug#9364).
17851
17852 2011-08-25 Juri Linkov <juri@jurta.org>
17853
17854 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
17855 `regexp-search-ring' to their global values to protect from
17856 updating by `read-from-minibuffer' (bug#9185).
17857
17858 2011-08-25 Juri Linkov <juri@jurta.org>
17859
17860 * textmodes/ispell.el (ispell-command-loop): Add newline
17861 at the end of the "Use option `i'..." line.
17862
17863 2011-08-25 Juri Linkov <juri@jurta.org>
17864
17865 * battery.el (display-battery-mode): If `battery-status-function'
17866 or `battery-mode-line-format' is nil, display the message and set
17867 `display-battery-mode' to nil (bug#9363).
17868
17869 2011-08-25 Eli Zaretskii <eliz@gnu.org>
17870
17871 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
17872 bidi-string-mark-left-to-right; they are unnecessary now.
17873
17874 2011-08-25 Deniz Dogan <deniz@dogan.se>
17875
17876 * net/quickurl.el: Documentation typo fixes.
17877
17878 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
17879
17880 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
17881
17882 2011-08-25 Glenn Morris <rgm@gnu.org>
17883
17884 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
17885
17886 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
17887 (smtpmail-via-smtp): Handle nil response from smtp.
17888
17889 2011-08-24 Juri Linkov <juri@jurta.org>
17890
17891 * proced.el (proced-marked): Inherit from `error' instead of
17892 `font-lock-warning-face'.
17893
17894 * ibuffer.el (ibuffer-marked-face): Change default face from
17895 `font-lock-warning-face' to `warning'.
17896 (ibuffer-deletion-face): Change default face from
17897 `font-lock-type-face' to `error'.
17898
17899 * battery.el (battery-update): Use the face `error' instead of
17900 `font-lock-warning-face' (bug#6117).
17901
17902 2011-08-24 Juri Linkov <juri@jurta.org>
17903
17904 * faces.el (success): Change face color from "Green3" to
17905 "ForestGreen" on light background (bug#9353).
17906
17907 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
17908
17909 * window.el (quit-window): Rename from quit-restore-window.
17910 Use same arglist as old quit-window.
17911 (frame-auto-delete): Doc fix.
17912
17913 * view.el (view-mode-exit): Use quit-window.
17914
17915 2011-08-24 Juri Linkov <juri@jurta.org>
17916
17917 * isearch.el (isearch-ring-adjust1): Start visiting previous
17918 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
17919 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
17920 for empty search string (when the last search string is reused
17921 automatically) to adjust the isearch ring to the last element and
17922 prepare the correct index for further M-p commands (bug#9185).
17923
17924 2011-08-24 Kenichi Handa <handa@m17n.org>
17925
17926 * international/ucs-normalize.el: If decomposition property of
17927 CHAR is the default one (i.e. a list of CHAR itself), treat it as
17928 nil.
17929 (nfd, nfkd): Likewise.
17930
17931 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17932
17933 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
17934 from process filters aren't reliably transmitted to the surrounding
17935 accept-process-output.
17936 (mpc-proc-check): New function.
17937 (mpc-proc-sync): Use it (bug#8293)
17938
17939 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17940
17941 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
17942 Add compatibility functions (bug#9313).
17943
17944 2011-08-23 Eli Zaretskii <eliz@gnu.org>
17945
17946 * cus-start.el (all): Add entry for bidi-paragraph-direction.
17947
17948 * international/uni-bidi.el: Regenerate.
17949
17950 2011-08-23 Kenichi Handa <handa@m17n.org>
17951
17952 * international/charprop.el:
17953 * international/uni-bidi.el:
17954 * international/uni-category.el:
17955 * international/uni-combining.el:
17956 * international/uni-comment.el:
17957 * international/uni-decimal.el:
17958 * international/uni-decomposition.el:
17959 * international/uni-digit.el:
17960 * international/uni-lowercase.el:
17961 * international/uni-mirrored.el:
17962 * international/uni-name.el:
17963 * international/uni-numeric.el:
17964 * international/uni-old-name.el:
17965 * international/uni-titlecase.el:
17966 * international/uni-uppercase.el: Regenerate.
17967
17968 2011-08-23 Martin Rudalics <rudalics@gmx.at>
17969
17970 * help.el (help-window-setup): Fix message displayed when other
17971 window is reused. (Bug#9341)
17972
17973 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17974
17975 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
17976 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
17977
17978 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
17979 Mark obsolete.
17980 * shell.el (shell-parse-pcomplete-arguments): New function.
17981 (shell-completion-vars): Use it instead (bug#9160).
17982
17983 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
17984
17985 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
17986 strings and comments (bug#9333).
17987
17988 * emacs-lisp/debug.el (debug-arglist): New function.
17989 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
17990 (debug-on-entry-1): Handle interpreted closures (bug#9120).
17991
17992 2011-08-22 Juri Linkov <juri@jurta.org>
17993
17994 * progmodes/compile.el (compilation-mode-font-lock-keywords):
17995 Revert regexp that highlights output switches to its old
17996 pre-2010-10-28 value and remove one `?' from it (bug#9319).
17997
17998 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
17999 to check for empty output (bug#9226).
18000
18001 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
18002
18003 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18004 symbol-constituent as the default, as that stops font-lock from
18005 working properly (Bug#8843).
18006
18007 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18008
18009 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18010 `coding-system-for-*' around the process open call to avoid
18011 auth-source side effects.
18012 (smtpmail-try-auth-methods): Expand the secret password.
18013 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18014 probe hangs.
18015
18016 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18017
18018 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18019
18020 * emacs-lisp/find-func.el (find-function-noselect): New arg
18021 lisp-only.
18022
18023 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18024 signal an error for built-in functions (Bug#6664).
18025
18026 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18027
18028 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18029 (smtpmail-try-auth-methods): Use it.
18030
18031 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18032
18033 * font-lock.el (font-lock-fontify-region)
18034 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18035 (font-lock-default-unfontify-buffer)
18036 (font-lock-default-fontify-region)
18037 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18038
18039 * progmodes/compile.el (compilation-error-properties):
18040 Fix confusion between file struct and message struct (Bug#9319).
18041 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18042 `ant' regexp.
18043
18044 * net/browse-url.el (browse-url-firefox): Don't call
18045 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18046
18047 2011-08-20 Glenn Morris <rgm@gnu.org>
18048
18049 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18050
18051 * tutorial.el (tutorial--default-keys): Update some default bindings.
18052
18053 * files.el (hack-local-variables): Fully ignore case for "mode:".
18054
18055 2011-08-20 Alan Mackenzie <acm@muc.de>
18056
18057 Resolve invalid use of a regexp in regexp-opt.
18058
18059 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18060 detection for a java annotation.
18061
18062 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
18063 detection for a java annotation.
18064
18065 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18066 handling for java.
18067 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18068
18069 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
18070
18071 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18072 (Bug#9274).
18073
18074 2011-08-20 Alan Mackenzie <acm@muc.de>
18075
18076 Fontify CPP expressions correctly when starting in the middle of
18077 such a construct. Mainly for when jit-lock etc. starts a chunk
18078 here.
18079
18080 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
18081 variable.
18082 (c-make-font-lock-search-form): New function, extracted from
18083 c-make-font-lock-search-function.
18084 (c-make-font-lock-search-function): Use the above function.
18085 (c-make-font-lock-context-search-function): New function.
18086 (c-cpp-matchers): Enhance the preprocessor expression case with
18087 the above function
18088 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18089 which takes an expression.
18090
18091 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18092
18093 2011-08-20 Martin Rudalics <rudalics@gmx.at>
18094
18095 * window.el (display-buffer-reuse-window)
18096 (display-buffer-pop-up-window): Don't reuse or split a side
18097 window.
18098
18099 2011-08-19 Glenn Morris <rgm@gnu.org>
18100
18101 * files.el (hack-local-variables-prop-line, hack-local-variables):
18102 Downcase "Mode:". (Bug#9331)
18103
18104 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
18105
18106 * international/characters.el: Add L and R categories.
18107
18108 * subr.el (bidi-string-mark-left-to-right): Rename from
18109 string-mark-left-to-right. Use category search.
18110
18111 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18112
18113 2011-08-18 Juri Linkov <juri@jurta.org>
18114
18115 * faces.el (error, warning, success): New faces with definitions
18116 copied from old default values of `font-lock-warning-face',
18117 `compilation-warning', `compilation-info' (bug#6117).
18118
18119 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18120
18121 * progmodes/compile.el (compilation-error): Inherit from `error'.
18122 (compilation-warning): Inherit from `warning'.
18123 (compilation-info): Inherit from `success'.
18124
18125 * dired.el (dired-marked): Inherit from `warning'.
18126 (dired-flagged): Inherit from `error'.
18127
18128 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18129
18130 * mail/smtpmail.el (auth-source): Require to avoid problems with
18131 binding variables (bug#9298). Also clean up some unused
18132 autoloads.
18133
18134 * net/network-stream.el (network-stream-open-starttls):
18135 Support using starttls.el without using gnutls-cli.
18136
18137 2011-08-17 Juri Linkov <juri@jurta.org>
18138
18139 * progmodes/grep.el (rgrep): Handle the case when
18140 `grep-find-command' is a cons cell (bug#9278).
18141
18142 2011-08-17 Martin Rudalics <rudalics@gmx.at>
18143
18144 * window.el (display-buffer-pop-up-frame): Run frame creation
18145 function with BUFFER current (as special-display-popup-frame
18146 does). Reported by Drew Adams.
18147
18148 2011-08-17 Daiki Ueno <ueno@unixuser.org>
18149
18150 * epa-mail.el: Simplify GnuPG group expansion using
18151 epg-expand-group.
18152 (epa-mail-group-alist, epa-mail-group-modtime)
18153 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18154 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18155 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18156 Remove.
18157
18158 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
18159
18160 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18161
18162 2011-08-16 Alan Mackenzie <acm@muc.de>
18163
18164 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18165 Correct, to avoid the inside of macros.
18166
18167 2011-08-16 Richard Stallman <rms@gnu.org>
18168
18169 * epa-mail.el: Handle GnuPG group definitions.
18170 (epa-mail-group-alist, epa-mail-group-modtime)
18171 (epa-mail-gnupg-conf-file): New variables.
18172 (epa-mail-parse-groups, epa-mail-sync-groups)
18173 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18174 (epa-mail-expand-recipients): New functions.
18175 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18176
18177 * mail/rmail.el (rmail-epa-decrypt): New command.
18178
18179 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18180 Don't bind buffer-read-only, just inhibit-read-only.
18181 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18182 (epa-decrypt-armor-in-region): Make error message clearer.
18183
18184 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18185
18186 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18187 and "a2b" to "ab" for `prefix'.
18188
18189 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
18190
18191 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18192 filter groups.
18193 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18194 Fourquet (Bug#8804).
18195
18196 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
18197
18198 * startup.el (argi): Declare as global variable (bug#9275).
18199
18200 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
18201
18202 * subr.el (string-mark-left-to-right): Search the entire string
18203 for RTL script, not just the terminating character. Doc fix.
18204
18205 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18206
18207 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18208 New function.
18209 (js--regexp-literal, js-syntax-propertize-function): Remove.
18210 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18211 (js-mode-map): Don't rebind electric keys.
18212 (js-insert-and-indent): Remove.
18213 (js-mode): Setup electric-layout and electric-indent instead.
18214
18215 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18216
18217 2011-08-12 Daiki Ueno <ueno@unixuser.org>
18218
18219 * epa.el (epa-progress-callback-function): Fix the logic of
18220 displaying progress.
18221 * epa-file.el (epa-file-insert-file-contents): Make progress
18222 display more user-friendly.
18223 (epa-file-write-region): Ditto.
18224
18225 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
18226
18227 * subr.el (string-mark-left-to-right): New function.
18228
18229 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18230 Use string-mark-left-to-right.
18231 (list-buffers-noselect): Caller changed.
18232
18233 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18234 Use string-mark-left-to-right.
18235 (tabulated-list-print): Recenter after moving point.
18236
18237 2011-08-10 Juri Linkov <juri@jurta.org>
18238
18239 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18240 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18241 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18242
18243 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
18244
18245 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18246 (Bug#7554).
18247
18248 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
18249
18250 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18251 character. (Bug#6594)
18252
18253 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
18254
18255 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18256 (image-dired--with-db-file): New macro.
18257 (image-dired-write-tags, image-dired-remove-tag)
18258 (image-dired-create-gallery-lists, image-dired-write-comments)
18259 (image-dired-get-comment, image-dired-mark-tagged-files)
18260 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18261 (image-dired-gallery-generate): Use insert-file-contents.
18262
18263 * time.el (display-time-world-list, display-time-world-display):
18264 * time-stamp.el (time-stamp-string):
18265 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18266 set-time-zone-rule (Bug#7337).
18267
18268 2011-08-08 Daiki Ueno <ueno@unixuser.org>
18269
18270 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18271 (epg-error-to-string, epg-errors-to-string): New function.
18272 (epg-wait-for-completion): Reverse errors list.
18273 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18274 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18275 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18276 (epg-sign-keys, epg-generate-key-from-file)
18277 (epg-generate-key-from-string): Format errors by using
18278 epg-errors-to-string (bug#9255).
18279 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18280
18281 2011-08-07 Juri Linkov <juri@jurta.org>
18282
18283 * faces.el (list-faces-display): Remove extra angle bracket
18284 from `help-mode-map'.
18285
18286 * info.el (Info-history-toc-nodes): Doc fix.
18287
18288 * longlines.el (longlines-mode): Doc fix.
18289
18290 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18291
18292 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18293 of statements and in a few more cases (bug#9183).
18294
18295 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18296 New functions.
18297 (cl-transform-lambda): Use them (bug#9239).
18298
18299 2011-08-05 Martin Rudalics <rudalics@gmx.at>
18300
18301 * window.el (display-buffer-same-window)
18302 (display-buffer-same-frame, display-buffer-other-window)
18303 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18304 (pop-to-buffer-other-window)
18305 (pop-to-buffer-same-frame-other-window)
18306 (pop-to-buffer-other-frame): Make them defuns.
18307 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18308
18309 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18310
18311 * subr.el (make-composed-keymap): Move from C. Change calling
18312 convention, and improve docstring to bring attention to a subtle point.
18313 * minibuffer.el (completing-read-default): Adjust accordingly.
18314
18315 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
18316
18317 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18318 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18319
18320 * net/trampver.el: Update release number.
18321
18322 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18323
18324 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18325 "in" (bug#9190).
18326
18327 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18328
18329 * mail/sendmail.el (sendmail-query-once): Restore the current
18330 buffer after querying (bug#9074).
18331
18332 * dired.el (dired-flagged): Use different faces for marked and
18333 flagged files (bug#6117).
18334
18335 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18336 (bug#4433).
18337
18338 * ido.el (ido-mode): Switch off the message if called
18339 non-interactively.
18340
18341 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18342 before 587, since it appears that that's more likely to work for
18343 more people.
18344
18345 * cus-edit.el (custom-file): When running under emacs -q, always
18346 refuse to save the customizations, even if the .emacs file doesn't
18347 exist.
18348
18349 * info.el: Remove the `Info-beginning-of-buffer' function
18350 (bug#8325).
18351
18352 * net/network-stream.el (network-stream-open-starttls):
18353 Use `starttls-available-p' to see whether starttls.el can be used.
18354
18355 2011-08-01 Martin Rudalics <rudalics@gmx.at>
18356
18357 * window.el (display-buffer-in-window): Don't set dedicated status
18358 of window here (Bug#9215).
18359 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18360 (display-buffer-pop-up-side-window)
18361 (display-buffer-in-side-window): Set dedicated status of window here.
18362
18363 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18364
18365 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18366 before binding generated-autoload-file.
18367
18368 2011-08-01 Deniz Dogan <deniz@dogan.se>
18369
18370 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
18371
18372 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
18373
18374 Sync with Tramp 2.2.2.
18375
18376 * net/trampver.el: Update release number.
18377
18378 2011-07-30 Juri Linkov <juri@jurta.org>
18379
18380 * dired-aux.el (dired-touch-initial): Remove function.
18381 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
18382 current time, and `default' to the last modification time of the
18383 current marked file (bug#6887).
18384
18385 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
18386
18387 * simple.el (goto-line): Use string-to-number to provide a
18388 numeric argument to read-number (bug#9163).
18389
18390 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
18391
18392 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
18393 connection process, it could be nil.
18394
18395 2011-07-27 Leo Liu <sdl.web@gmail.com>
18396
18397 Simplify url handling in rcirc-mode.
18398
18399 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
18400 (rcirc-browse-url-at-mouse): Remove.
18401 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
18402
18403 2011-07-26 Alan Mackenzie <acm@muc.de>
18404
18405 Fontify bitfield declarations properly.
18406
18407 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
18408 (c-symbol-chars): Now exported as a lang variable.
18409 (c-not-primitive-type-keywords): New lang variable.
18410
18411 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
18412 QT keyword "more" to prevent "more slots: ...." being spuriously
18413 parsed as a bitfield declaration.
18414
18415 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18416 Refactor and enhance to handle bitfield declarations.
18417 (c-punctuation-in): New function.
18418 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
18419 declarations properly.
18420
18421 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
18422
18423 * calendar/icalendar.el (icalendar--all-events): Take care of
18424 multiple vcalendars in a single file.
18425 (icalendar--convert-float-to-ical): Checkdoc fixes.
18426
18427 2011-07-25 Deniz Dogan <deniz@dogan.se>
18428
18429 * image.el (insert-image): Clarifying docstring.
18430
18431 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
18432
18433 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
18434 `tramp-send-command-and-check' if there is no error.
18435 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
18436
18437 2011-07-22 Alan Mackenzie <acm@muc.de>
18438
18439 Prevent cc-langs.elc being loaded at run time.
18440
18441 * progmodes/cc-mode.el: Remove two autoload forms which loaded
18442 cc-langs.
18443
18444 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
18445 "(require 'cc-langs)". Quote a form so it will evaluate at
18446 (cc-mode's) compilation time.
18447
18448 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
18449
18450 * net/tramp.el (tramp-file-name-handler): Avoid recursive
18451 loading. (Bug#9114)
18452
18453 2011-07-21 Martin Rudalics <rudalics@gmx.at>
18454
18455 * window.el (display-buffer-pop-up-window)
18456 (display-buffer-pop-up-side-window)
18457 (display-buffer-in-side-window): Call display-buffer-set-height
18458 and display-buffer-set-width after setting the new window's
18459 buffer so `fit-window-to-buffer' and friends work on the right buffer.
18460
18461 2011-07-20 Sam Steingold <sds@gnu.org>
18462
18463 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
18464 (etags-tags-included-tables): Call `convert-standard-filename' on
18465 the file names contained in TAGS so that windows Emacs can handle
18466 TAGS files created by cygwin ctags.
18467
18468 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
18469
18470 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
18471 which apparently didn't work.
18472
18473 2011-07-19 Roland Winkler <winkler@gnu.org>
18474
18475 * proced.el (proced-send-signal): For *Marked Processes* buffer
18476 put point at beginning of buffer.
18477
18478 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
18479
18480 * proced.el (proced-format): Make header lines align with the text
18481 (bug#1779).
18482
18483 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18484
18485 * view.el (view-buffer): Allow running in `special' modes if we're
18486 visiting a file (bug#8615).
18487
18488 2011-07-19 Martin Rudalics <rudalics@gmx.at>
18489
18490 * window.el (display-buffer-alist-of-strings-p)
18491 (display-buffer-alist-set-1, display-buffer-alist-set-2):
18492 New functions.
18493 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
18494 more accurately.
18495
18496 2011-07-18 Alan Mackenzie <acm@muc.de>
18497
18498 Fontify declarators properly when, e.g., a jit-lock chunk begins
18499 inside a declaration.
18500
18501 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
18502
18503 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18504 New function.
18505 (c-complex-decl-matchers): Insert reference to
18506 c-font-lock-enclosing-decls.
18507
18508 * progmodes/cc-engine.el (c-backward-single-comment):
18509 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
18510 to nil around calls to (forward-comment -1).
18511
18512 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18513
18514 * image.el (put-image): Doc typo fix.
18515
18516 * progmodes/etags.el (tags-search): Doc typo fix.
18517
18518 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
18519 password if we get errors 550 to 554.
18520
18521 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
18522
18523 * net/gnutls.el (gnutls-log-level): Remove.
18524
18525 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
18526 indentation character (bug#6380).
18527
18528 * files.el (buffer-offer-save): Made permanently local (bug#6241).
18529
18530 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
18531 to clarify what the problem is (bug#4291).
18532
18533 * simple.el (current-kill): Clarify what
18534 `interprogram-paste-function' does (bug#7500).
18535 (auto-fill-mode): Document `auto-fill-function' in relation to
18536 `auto-fill-mode' (bug#2470).
18537
18538 2011-07-16 Lawrence Mitchell <wence@gmx.li>
18539
18540 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
18541 method if slot is read-only (bug#9035).
18542
18543 2011-07-16 Martin Rudalics <rudalics@gmx.at>
18544
18545 * frame.el (select-frame-set-input-focus): New argument NORECORD.
18546 * window.el (pop-to-buffer): Select window used even if it was
18547 selected before, see discussion of (Bug#8615), (Bug#6954).
18548 Pass argument NORECORD on to select-frame-set-input-focus.
18549
18550 2011-07-15 Glenn Morris <rgm@gnu.org>
18551
18552 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
18553 Respect help-form.
18554
18555 2011-07-09 Lawrence Mitchell <wence@gmx.li>
18556
18557 * net/gnutls.el (gnutls-min-prime-bits): New variable.
18558 (gnutls-negotiate): Use it.
18559
18560 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18561
18562 * net/gnutls.el (gnutls-negotiate):
18563 Upcase `gnutls-algorithm-priority'.
18564
18565 2011-07-15 Glenn Morris <rgm@gnu.org>
18566
18567 * jka-compr.el (jka-compr-verbose): Move from here...
18568 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
18569 Add missing :version tag.
18570 * info.el: No need to require jka-compr when compiling.
18571
18572 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18573
18574 * net/gnutls.el (gnutls-algorithm-priority): New variable.
18575 (gnutls-negotiate): Use it.
18576
18577 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
18578
18579 * info.el (Info-beginning-of-buffer): New command.
18580 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
18581 announcing `b' as the key (bug#8325).
18582 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
18583
18584 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
18585
18586 * international/mule-cmds.el
18587 (describe-specified-language-support): Make the error message
18588 clearer (bug#8905).
18589
18590 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
18591
18592 * isearch.el (isearch-barrier): Add a doc string, since it's
18593 mentioned in a function doc string (bug#8678).
18594
18595 2011-07-15 Martin Rudalics <rudalics@gmx.at>
18596
18597 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
18598 buffer argument (Bug#9083) and self-identifying label argument.
18599
18600 2011-07-15 Glenn Morris <rgm@gnu.org>
18601
18602 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
18603
18604 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18605
18606 * man.el (Man-fontify-manpage): Fix message when formatting the
18607 man page (bug#7929).
18608
18609 2011-07-14 Eli Zaretskii <eliz@gnu.org>
18610
18611 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
18612 argument LRM; if non-nil, append an invisible LRM character to the
18613 buffer name.
18614 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
18615 last argument non-nil, when formatting buffer names.
18616 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
18617 paragraph direction.
18618
18619 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18620
18621 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
18622 the man page name (bug#7929).
18623
18624 * image.el (put-image): Mention the `put-image' overlay property
18625 (bug#7834).
18626
18627 * scroll-bar.el (set-scroll-bar-mode): Mention that
18628 `scroll-bar-mode' lists the values (bug#7772).
18629
18630 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
18631 command (bug#7729).
18632
18633 * rect.el (apply-on-rectangle): Return the point after the last
18634 operation.
18635 (string-rectangle): Go to the point after the last operation
18636 (bug#7522).
18637
18638 * printing.el (pr-toggle-region): Clarify the documentation
18639 slightly (bug#7493).
18640
18641 * time.el (display-time-update):
18642 Allow `display-time-mail-function' to return nil (bug#7158).
18643 Fix suggested by Detlev Zundel.
18644
18645 * vc/diff.el (diff): Clarify the order the file names are read
18646 (bug#7111).
18647
18648 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
18649 the doc string (bug#7015).
18650
18651 * font-lock.el (font-lock-maximum-decoration): Mention what
18652 numeric levels mean (bug#6935).
18653
18654 * startup.el (initial-buffer-choice): Don't mention the `none'
18655 selection, which is against policy.
18656
18657 2011-07-14 Martin Rudalics <rudalics@gmx.at>
18658
18659 * window.el (display-buffer-normalize-special):
18660 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
18661
18662 2011-07-14 Eli Zaretskii <eliz@gnu.org>
18663
18664 * subr.el (version<, version<=, version=): Mention "-CVS" and
18665 "-12345" alpha version numbers.
18666
18667 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
18668
18669 * bindings.el: Add advertised binding for set-mark-command
18670 (Bug#5772).
18671
18672 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
18673
18674 * bindings.el (mode-line-other-buffer):
18675 * bookmark.el (bookmark-bmenu-2-window):
18676 * bs.el (bs-cycle-next, bs-cycle-previous):
18677 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
18678 switch-to-buffer.
18679
18680 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18681 Delete.
18682
18683 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
18684
18685 * follow.el (follow-debug-message, follow-redisplay):
18686 * jka-cmpr-hook.el (with-auto-compression-mode):
18687 Fix typos in docstrings.
18688
18689 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18690
18691 * subr.el (with-silent-modifications): Clarify somewhat what the
18692 macro inhibits (bug#6525).
18693
18694 * simple.el (eval-expression): Note what it does if called
18695 interactively (bug#6495).
18696
18697 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
18698
18699 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
18700 Use pop-to-buffer buffer-or-name if it is nil.
18701
18702 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18703 Remove switch-to-buffer.
18704
18705 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18706
18707 * files.el (make-directory): Clarify that an error will be raised
18708 if there's an error (bug#6397).
18709
18710 * startup.el (initial-buffer-choice): Add `none' as a choice
18711 (bug#6234).
18712
18713 * subr.el (add-hook): Clarify section about buffer-local hooks
18714 (bug#6218).
18715
18716 * dired.el (dired-flagged): Clarify doc string (bug#6117).
18717
18718 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
18719
18720 * tabify.el (untabify): Preserve the current column so that point
18721 doesn't move (bug#6032).
18722
18723 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18724
18725 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
18726 Rewrite to avoid awkward possessive "s" (bug#5986).
18727
18728 2011-07-13 Glenn Morris <rgm@gnu.org>
18729
18730 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
18731 (dired-insert-directory): Give a message the first time
18732 if ls is found not to support --dired.
18733
18734 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18735
18736 * simple.el (toggle-truncate-lines): Clarify what is toggled
18737 (bug#5580). Text by Drew Adams.
18738
18739 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
18740
18741 * simple.el (blink-matching-open): Make the error message from the
18742 last change less verbose.
18743
18744 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
18745
18746 * font-lock.el (font-lock-comment-face): Use the high contrast
18747 "yellow" color for font-lock-comment-face on low color terminals
18748 using a dark background color (bug#4221).
18749
18750 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18751
18752 * dired.el (dired-insert-set-properties): Make the doc string
18753 reflect what it does now (bug#5325).
18754
18755 * simple.el (blink-matching-open): Say that we were unable to find
18756 the match within the limit, if we're limited (bug#5122).
18757
18758 * international/mule-cmds.el (prefer-coding-system): Add an
18759 example (bug#4869).
18760
18761 * progmodes/etags.el (tags-search): Document `file-list-form'
18762 (bug#4731).
18763
18764 2011-07-13 Lawrence Mitchell <wence@gmx.li>
18765
18766 * net/browse-url.el (browse-url-default-browser)
18767 (browse-url-browser-function): Make the default browser choice a
18768 bit more logical (bug#4300). Also clean up the doc string.
18769
18770 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
18771
18772 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
18773 binary endings (bug#4440).
18774
18775 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18776
18777 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
18778 which can be pretty annoying (bug#8971).
18779
18780 * jka-compr.el (jka-compr-verbose): New variable, and use
18781 throughout (bug#8971).
18782
18783 * info.el (Info-find-file): Fall back on the installation
18784 directory if we can't find the info node anywhere else.
18785
18786 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
18787
18788 * vc/vc.el (vc-revert-file):
18789 Don't set file time-stamp in the past. (Bug#5181)
18790
18791 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18792
18793 * files.el (after-find-file): Give a better error message when
18794 trying to find a symlink that points to a file that doesn't exist
18795 (bug#4398).
18796
18797 * progmodes/cc-vars.el: Remove (probably) misleading comment
18798 (bug#4396).
18799
18800 2011-07-12 Johan Bockgård <bojohan@gnu.org>
18801
18802 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
18803
18804 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
18805
18806 * mouse-sel.el: Hack restoring functionality, while keeping
18807 compatibility with 2010-07-03 changes to mouse selection.
18808 (mouse-sel-primary-overlay): New var.
18809 (mouse-sel-selection-alist): Use it.
18810 (mouse-sel-mode): Doc fix; remove points that are default features
18811 of mouse.el.
18812
18813 2011-07-12 Johan Bockgård <bojohan@gnu.org>
18814
18815 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18816 Fix previous fix (bug#2490).
18817
18818 2011-07-12 Roland Winkler <winkler@gnu.org>
18819
18820 * textmodes/bibtex.el (bibtex-initialize):
18821 Use pop-to-buffer-same-window.
18822 (bibtex-search-entries): Fix interactive call.
18823
18824 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18825
18826 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18827 Fontise bytecomp Error lines more correctly (bug#2490).
18828 Fix suggested by Johan Bockgård.
18829
18830 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
18831
18832 * dired-x.el (dired-guess-default): Use `delete-dups'.
18833
18834 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
18835
18836 * dired.el (dired-mark-prompt):
18837 * dired-aux.el (dired-read-shell-command): Doc fix.
18838
18839 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18840
18841 * mail/sendmail.el (sendmail-query-once):
18842 Use `customize-save-variable' unconditionally, now that it works under
18843 emacs -Q.
18844
18845 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18846
18847 * cus-edit.el (custom-file): Take an optional no-error variable.
18848 (customize-save-variable): Set the variable, and give a warning if
18849 running under "emacs -q".
18850
18851 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
18852
18853 * loadhist.el (unload-feature-special-hooks):
18854 Add `auto-coding-functions', `fill-nobreak-predicate' and
18855 `find-directory-functions' (bug#5327).
18856
18857 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18858
18859 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
18860
18861 * cus-edit.el (custom-guess-name-alist): -alist variables should
18862 use the `alist' type (bug#3120). Suggested by Drew Adams.
18863
18864 * printing.el: Add documentation to all the `pr-toggle-' commands.
18865
18866 2011-07-11 Leo Liu <sdl.web@gmail.com>
18867
18868 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
18869 backends where it makes sense (bug#2623).
18870
18871 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18872
18873 * dired-x.el (dired-guess-default): Remove duplicate shell command
18874 entries (bug#2028).
18875 (dired-guess-default): Fix grammar in doc string (bug#2028).
18876 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
18877
18878 * subr.el (remove-duplicates): New conveniency function.
18879
18880 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
18881
18882 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
18883 (bug#1526).
18884
18885 2011-07-10 Martin Rudalics <rudalics@gmx.at>
18886
18887 * window.el (display-buffer-normalize-default): Don't invert
18888 meaning of even-window-heights. Reported by Eli Zaretskii
18889 <eliz@gnu.org>.
18890
18891 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
18892
18893 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
18894
18895 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
18896
18897 * window.el (display-buffer): Fix arguments to
18898 display-buffer-reuse-window in last change.
18899
18900 * faces.el (link): Use a less saturated blue on light backgrounds.
18901
18902 * startup.el (fancy-startup-text, fancy-about-text)
18903 (fancy-startup-tail): Use font-lock faces, for background safety.
18904
18905 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
18906
18907 * emulation/viper-cmd.el (viper-change-state-to-vi):
18908 Limit triggering of abbrev expansion (Bug#9038).
18909
18910 2011-07-09 Martin Rudalics <rudalics@gmx.at>
18911
18912 * window.el (display-buffer-default-specifiers): Remove.
18913 (display-buffer-macro-specifiers): Remove default specifiers.
18914 (display-buffer-alist): Default to nil.
18915 (display-buffer-reuse-window): New optional argument other-window.
18916 (display-buffer-pop-up-window): Allow splitting internal
18917 windows. Check whether a live window was created.
18918 (display-buffer-other-window-means-other-frame)
18919 (display-buffer-normalize-arguments): Rename to
18920 display-buffer-normalize-argument and rewrite. Set the
18921 other-window specifier.
18922 (display-buffer-normalize-special): New function.
18923 (display-buffer-normalize-options): Rename to
18924 display-buffer-normalize-default and rewrite.
18925 (display-buffer-normalize-options-inhibit): Remove.
18926 (display-buffer-normalize-specifiers): Rewrite.
18927 (display-buffer): Process other-window specifier and call
18928 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
18929 more faithfully.
18930 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
18931 (display-buffer-alist-set): Don't handle 'unset default values.
18932 (display-buffer-in-window, display-buffer-alist-set):
18933 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
18934 <tassilo@member.fsf.org>.
18935
18936 2011-07-09 Leo Liu <sdl.web@gmail.com>
18937
18938 * register.el (insert-register): Restore accidental change on
18939 2011-06-26. (Bug#9028)
18940
18941 2011-07-09 Glenn Morris <rgm@gnu.org>
18942
18943 * subr.el (remq): Handle the empty list. (Bug#9024)
18944
18945 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
18946
18947 * mail/sendmail.el (send-mail-function): No longer delay custom
18948 initialization.
18949 * custom.el (custom-initialize-delay): Doc fix.
18950
18951 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18952
18953 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
18954
18955 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
18956
18957 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
18958 human-friendly prompt.
18959
18960 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18961
18962 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
18963 provided by a particular plugin.
18964
18965 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
18966
18967 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
18968 save customizations (with "emacs -Q"), just set the variable
18969 instead of erroring out.
18970
18971 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18972
18973 2011-07-08 Juri Linkov <juri@jurta.org>
18974
18975 * arc-mode.el (archive-zip-expunge, archive-zip-update)
18976 (archive-zip-update-case): Use 7z if found by `executable-find'.
18977 The order of searching the available programs is the same as in
18978 `archive-zip-extract' (bug#8968).
18979
18980 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
18981
18982 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
18983 (menu-bar-options-menu): Tweak descriptions.
18984
18985 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18986
18987 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
18988 menu items into verb phrases (bug#1421). Also refill to fit under
18989 80 columns.
18990
18991 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
18992
18993 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
18994 (Info-read-node-name): Doc fix (Bug#1084).
18995
18996 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
18997 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
18998 (end-of-sexp, beginning-of-sexp)
18999 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19000 (forward-symbol, forward-same-syntax, word-at-point)
19001 (sentence-at-point): Doc fix (Bug#1144).
19002
19003 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19004
19005 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19006 should cover it (bug#1281).
19007
19008 * cus-edit.el (custom-show): Mark as obsolete.
19009
19010 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
19011 negotiation fails, then possibly try again with a non-encrypted
19012 connection (bug#9017).
19013
19014 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19015 be used.
19016
19017 2011-07-07 Richard Stallman <rms@gnu.org>
19018
19019 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19020 property, and handle its changed format.
19021 Look for the correct line number.
19022 Use file's line contents (but not past first =) to find
19023 correct line in message.
19024
19025 2011-07-07 Kenichi Handa <handa@m17n.org>
19026
19027 * international/characters.el (build-unicode-category-table):
19028 Delete it.
19029 (unicode-category-table): Set it by unicode-property-table-internal.
19030
19031 * international/mule-cmds.el (char-code-property-alist): Move to
19032 to src/chartab.c.
19033 (get-char-code-property): Call unicode-property-table-internal to
19034 load a file. Call get-unicode-property-internal where necessary.
19035 (put-char-code-property): Call unicode-property-table-internal to
19036 load a file. Call put-unicode-property-internal where necessary.
19037 put-unicode-property-internal where necessary.
19038 (char-code-property-description):
19039 Call unicode-property-table-internal to load a file.
19040
19041 * international/charprop.el:
19042 * international/uni-bidi.el:
19043 * international/uni-category.el:
19044 * international/uni-combining.el:
19045 * international/uni-comment.el:
19046 * international/uni-decimal.el:
19047 * international/uni-decomposition.el:
19048 * international/uni-digit.el:
19049 * international/uni-lowercase.el:
19050 * international/uni-mirrored.el:
19051 * international/uni-name.el:
19052 * international/uni-numeric.el:
19053 * international/uni-old-name.el:
19054 * international/uni-titlecase.el:
19055 * international/uni-uppercase.el: Regenerate.
19056
19057 * loadup.el: Load international/charprop.el before
19058 international/characters.
19059
19060 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19061
19062 * window.el (next-buffer, previous-buffer): Signal an error if
19063 called from a minibuffer window.
19064
19065 * bindings.el: Revert 2011-07-04 change.
19066
19067 2011-07-06 Richard Stallman <rms@gnu.org>
19068
19069 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19070 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19071 Treat markers like ints.
19072 (rmail-mime-entity): Doc fix.
19073
19074 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19075
19076 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19077 defcustom again for backwards compatibility.
19078
19079 * simple.el (shell-command-on-region): Fill.
19080
19081 * dired-aux.el (dired-kill-line): Add a doc string.
19082
19083 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19084 to "\\sw\\|\\s_" (bug#358).
19085
19086 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19087 (dired-unmark-backward): Ditto.
19088 (dired-flag-backup-files): Ditto.
19089
19090 * dired-x.el (dired-mark-sexp): Ditto.
19091
19092 2011-07-06 Richard Stallman <rms@gnu.org>
19093
19094 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19095 (rmail-mime-entity): New arg TRUNCATED.
19096 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19097 New functions.
19098 (rmail-mime-save): Warn if entity is truncated.
19099 (rmail-mime-toggle-hidden): Likewise, for showing.
19100 (rmail-mime-process-multipart): Record when an entity is truncated.
19101
19102 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19103 if ENTITY is a string.
19104
19105 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19106
19107 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
19108 of faces when `M-C-x'-ing their definitions (bug#8378).
19109 Also clean up the code slightly.
19110
19111 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
19112 because that makes the colors go away.
19113
19114 * mail/sendmail.el (send-mail-function): Change the default to
19115 `sendmail-query-once'.
19116 (sendmail-query-once): Add an autoload cookie.
19117
19118 * net/network-stream.el (network-stream-open-starttls): Try using
19119 a plain connection even if the server offered STARTTLS, and we
19120 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19121 capability. This should make smtpmail.el work in slightly more
19122 configurations.
19123
19124 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
19125
19126 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19127 New defun.
19128 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
19129
19130 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
19131
19132 * progmodes/sql.el: Version 3.0
19133 (sql-product-alist): Add product :completion-object,
19134 :completion-column, and :statement attributes.
19135 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
19136 (sql-mode-syntax-table): Mark all punctuation.
19137 (sql-font-lock-keywords-builder): Temporarily remove fallback on
19138 ansi keywords.
19139 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
19140 (sql-mode-oracle-font-lock-keywords): Improve.
19141 (sql-oracle-show-reserved-words): New function for development.
19142 (sql-product-font-lock): Simplify for source code buffers.
19143 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
19144 New functions.
19145 (sql-highlight-product): Set product specific syntax table.
19146 (sql-mode-map): Add statement movement functions.
19147 (sql-ansi-statement-starters, sql-oracle-statement-starters):
19148 New variable.
19149 (sql-statement-regexp, sql-beginning-of-statement)
19150 (sql-end-of-statement, sql-signum): New functions.
19151 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
19152 (sql-show-sqli-buffer): Bug fix.
19153 (sql-interactive-mode): Store connection data as buffer local.
19154 (sql-connect): Add NEW-NAME parameter. Redesign interaction
19155 with sql-interactive-mode.
19156 (sql-save-connection): Save buffer local settings.
19157 (sql-connection-menu-filter): Change menu entry name.
19158 (sql-product-interactive): Bug fix.
19159 (sql-preoutput-hold): New variable.
19160 (sql-interactive-remove-continuation-prompt): Bug fixes.
19161 (sql-debug-redirect): New variable.
19162 (sql-str-literal): New function.
19163 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
19164 Redesign.
19165 (sql-oracle-save-settings, sql-oracle-restore-settings)
19166 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19167 (sql-completion-object, sql-completion-column)
19168 (sql-completion-sqlbuf): New variables.
19169 (sql-build-completions-1, sql-build-completions)
19170 (sql-try-completion): New functions.
19171 (sql-read-table-name): Use them.
19172 (sql-contains-names): New buffer local variable.
19173 (sql-list-all, sql-list-table): Use it.
19174 (sql-oracle-completion-types): New variable.
19175 (sql-oracle-completion-object, sql-sqlite-completion-object)
19176 (sql-postgres-completion-object): New functions.
19177
19178 2011-07-06 Glenn Morris <rgm@gnu.org>
19179
19180 * window.el (pop-to-buffer): Doc fix.
19181
19182 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
19183
19184 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19185
19186 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
19187
19188 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
19189
19190 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
19191
19192 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
19193
19194 * button.el (button): Inherit from link face. Suggested by Dan
19195 Nicolaescu.
19196
19197 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19198
19199 * progmodes/gdb-mi.el: Fit in 80 columns.
19200 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19201 switch-to-buffer.
19202
19203 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19204 if imenu is simply not configured (bug#8941).
19205
19206 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19207
19208 * allout.el (allout-post-undo-hook): New allout outline-change
19209 event hook to signal undo activity.
19210 (allout-post-command-business): Run allout-post-undo-hook if an
19211 undo just occurred.
19212 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19213 * allout-widgets.el (allout-widgets-after-undo-function):
19214 Ensure the integrity of the current item's decoration after it has been
19215 in the vicinity of an undo.
19216 (allout-widgets-mode): Include allout-widgets-after-undo-function
19217 on the new allout-post-undo-hook.
19218
19219 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19220
19221 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19222 Let define-derived-mode define it.
19223 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19224 cycles of abbrev-table inheritance (bug#8998).
19225
19226 2011-07-05 Roland Winkler <winkler@gnu.org>
19227
19228 * textmodes/bibtex.el: Add support for biblatex.
19229 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19230 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19231 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19232 (bibtex-entry-alist, bibtex-field-alist): New variables.
19233 (bibtex-entry-field-alist): Obsolete alias for
19234 bibtex-BibTeX-entry-alist.
19235 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19236 (bibtex-set-dialect): New command.
19237 (bibtex-entry-type, bibtex-entry-head)
19238 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19239 Bind via bibtex-set-dialect.
19240 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19241 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19242 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19243 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19244 Define via bibtex-set-dialect.
19245 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19246 Obey bibtex-no-opt-remove-re.
19247 (bibtex-vec-push, bibtex-vec-incr): New functions.
19248 (bibtex-format-entry, bibtex-field-list)
19249 (bibtex-print-help-message, bibtex-validate)
19250 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19251
19252 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19253
19254 * progmodes/compile.el (compilation-goto-locus):
19255 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19256 * bs.el (bs-cycle-next, bs-cycle-previous):
19257 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19258 * bindings.el (mode-line-other-buffer):
19259 * autoinsert.el (auto-insert):
19260 * arc-mode.el (archive-extract):
19261 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19262
19263 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19264
19265 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19266 Fix check of `emacs-lock-unlockable-modes'.
19267 Coerce true values of `emacs-lock--try-unlocking' to t.
19268
19269 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19270
19271 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19272 * emacs-lock.el: New file.
19273
19274 2011-07-05 Julien Danjou <julien@danjou.info>
19275
19276 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19277 than `boundp' to check if face is set.
19278
19279 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19280
19281 * register.el (registerv-make):
19282 * window.el (window-min-height): Fix typos in docstrings.
19283
19284 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19285
19286 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
19287 Update doc string.
19288
19289 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19290
19291 * server.el (server-execute): Catch quit and call
19292 `server-return-error' to pass the error back to emacsclient and
19293 close the connection (bug#8942).
19294
19295 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19296
19297 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19298 insecure exception for current topic. Also note that auto-saves
19299 are handled differently.
19300
19301 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
19302 State variables for tracking auto-save inhibition situation.
19303
19304 (allout-write-contents-hook-handler): Rename from
19305 'allout-write-file-hook-handler', and describe how it depends on
19306 write-contents-functions sensitivity to non-nil value to prevent
19307 file write.
19308
19309 (allout-auto-save-hook-handler): Remove. auto-save does not check
19310 this in individual buffers, only in the starting buffer, so this
19311 is not the right way for us to inhibit auto-save in a buffer
19312 according to its condition.
19313
19314 (allout-mode): Use new allout-write-contents-hook-handler, and
19315 only with write-contents-functions. Remove auto-save provisions -
19316 they're implemented elsewhere.
19317
19318 (allout-before-change-handler): If undo is in progress, note that
19319 for attention of allout-post-command-business.
19320
19321 (allout-post-command-business): If the command we're following was
19322 an undo, check for change in the status of encrypted items and
19323 adjust auto-save inhibitions accordingly.
19324
19325 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19326 according to whether there are or aren't any plain-text topics
19327 pending encryption.
19328
19329 (allout-inhibit-auto-save-info-for-decryption):
19330 Adjust buffer-saved-size and some allout state to inhibit auto-saves
19331 if there are plain-text topics pending encryption.
19332
19333 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19334 buffer-saved-size and some allout state to not inhibit auto-saves
19335 if there are no longer any plain-text topics pending encryption.
19336
19337 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19338 No longer provide for exemption of the current topic.
19339
19340 2011-07-04 Juri Linkov <juri@jurta.org>
19341
19342 Add 7z operations to delete and save changed members (bug#8968).
19343 * arc-mode.el (archive-7z-expunge, archive-7z-update):
19344 New defcustoms.
19345 (archive-7z-write-file-member): New function.
19346 (archive-7z-summarize): Fix the number of dashes in the
19347 listing output.
19348
19349 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19350
19351 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19352 (bug#8958).
19353
19354 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
19355
19356 * bindings.el: Ignore next-buffer and previous-buffer in
19357 minibuffer-local-map.
19358
19359 * font-lock.el (font-lock-builtin-face): Change light background
19360 color to dark slate blue (Bug#6693).
19361
19362 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
19363
19364 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19365
19366 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19367
19368 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
19369 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19370 Add switch-to-buffer.
19371
19372 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19373
19374 * isearch.el (isearch-search-fun-function): Clarify further the
19375 meaning of the function returned.
19376
19377 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
19378
19379 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
19380
19381 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
19382 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
19383 Use it.
19384 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
19385 `tramp-default-remote-path' does not exist.
19386 (tramp-send-command-and-read): New optional argument NOERROR.
19387 (tramp-open-connection-setup-interactive-shell)
19388 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
19389 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
19390 (tramp-process-sentinel): Flush also process' connection property.
19391 (tramp-sh-handle-start-file-process): Do not set process
19392 sentinel. It is done now ...
19393 (tramp-maybe-open-connection): ... here. (Bug#8929)
19394
19395 2011-07-04 MON KEY <monkey@sandpframing.com>
19396
19397 * play/animate.el (animate-string): Doc fixes and allow changing
19398 the buffer name (bug#5417).
19399
19400 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19401
19402 * play/animate.el (animation-buffer-name): Rename from *animate*.
19403
19404 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
19405
19406 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
19407 This is simpler and helps future-proof the code.
19408 (timer-until): Use time-subtract and float-time.
19409 (timer--time-less-p): Use time-less-p.
19410
19411 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19412
19413 * type-break.el (timep): Use the value of `float-time' to avoid a
19414 byte-compiler warning.
19415
19416 * server.el (server-eval-and-print): Return any result, even nil.
19417
19418 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
19419
19420 * type-break.el: Accept time formats that the builtins accept.
19421 (timep, type-break-time-difference): Accept any format that
19422 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
19423 This is simpler and helps future-proof the code.
19424 (type-break-time-difference): Round rather than ignoring
19425 subseconds components.
19426
19427 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19428
19429 * info.el (Info-apropos-matches): Make non-interactive, since it
19430 doesn't seem to do anything useful as a command (bug#8829).
19431
19432 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
19433
19434 * frame.el (frame-background-mode, frame-set-background-mode):
19435 Move from faces.el.
19436 (frame-default-terminal-background): New function.
19437
19438 * custom.el (custom-push-theme): Don't record faces in `changed'
19439 theme; this doesn't work correctly for per-frame face settings.
19440 (disable-theme): Use face-set-after-frame-default to reset faces.
19441 (custom--frame-color-default): New function.
19442
19443 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19444
19445 * dired.el (dired-flagging-regexp): Remove unused variable
19446 (bug#8769).
19447
19448 2011-03-29 Kevin Ryde <user42@zip.com.au>
19449
19450 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19451 `perl-Test2' extend to match possible "fail #N" rep count
19452 (bug#8377).
19453
19454 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19455
19456 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
19457 `smtpmail-via-smtp' now returns the error instead of nil.
19458
19459 * isearch.el (isearch-search-fun-function): Clarify the doc string
19460 (bug#8101).
19461
19462 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
19463
19464 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
19465 unnecessary spaces (bug#8987).
19466
19467 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19468
19469 * net/network-stream.el (open-network-stream): Use the
19470 :end-of-capability command thoughout.
19471
19472 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
19473
19474 * net/network-stream.el (open-network-stream): Add the
19475 :end-of-capability command parameter, used by pop3.el.
19476
19477 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19478
19479 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
19480
19481 * fringe.el (fringe-query-style): Remove redundant text " (type ?
19482 for list)" (bug#6475).
19483
19484 * files.el (file-expand-wildcards): Ignore non-readable
19485 sub-directories while trying to find matches instead of signaling
19486 an error (bug#6297).
19487
19488 * man.el (Man-reference-regexp): Allow matching possible
19489 word-wrapped references (bug#6289).
19490
19491 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
19492 for consistency with the other vc buffers (bug#6197).
19493 (vc-checkin): Ditto.
19494
19495 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
19496
19497 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
19498
19499 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19500
19501 * custom.el (defcustom): Clarify that :set is only used in the
19502 Customize user interface (bug#6089).
19503
19504 * progmodes/flymake.el (flymake-mode): If the buffer isn't
19505 associated with a file, refuse to run instead of erroring out
19506 (bug#6084).
19507
19508 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
19509 the doc string, since it appears that using `fill-column' always
19510 controls the width (bug#7845).
19511
19512 * simple.el (shell-command-on-region): Say where the error output
19513 went if `shell-command-default-error-buffer' is set (bug#6857).
19514
19515 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
19516
19517 * allout.el (allout-yank-processing): Adjust cursor position for
19518 backwards-deleted space.
19519
19520 (allout-rebullet-heading): Register changes with
19521 allout-exposure-changed-hook, so the modified topic is properly
19522 decorated.
19523
19524 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19525
19526 * minibuffer.el (completion-in-region): Document PREDICATE
19527 (bug#7136).
19528
19529 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
19530 of keyword/argument pairs (bug#6904).
19531
19532 * replace.el (multi-occur):
19533 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
19534
19535 2011-07-02 Drew Adams <drew.adams@oracle.com>
19536
19537 * dired.el (dired-mark-if): Make the message about whether it's
19538 marking or unmarking clearer (bug#8523).
19539
19540 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19541
19542 * disp-table.el (display-table-print-array): New function.
19543 (describe-display-table): Use it to print the vectors more pretty
19544 (Bug#8859).
19545
19546 2011-07-02 Martin Rudalics <rudalics@gmx.at>
19547
19548 * window.el (window-state-get-1): Don't assign clone numbers.
19549 Add clone-of item to list of window parameters.
19550 (window-state-put-2): Don't process clone numbers.
19551 (display-buffer-alist): Fix doc-string.
19552
19553 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
19554
19555 * subr.el (remq): Don't allocate if it's not needed.
19556 (keymap--menu-item-binding, keymap--menu-item-with-binding)
19557 (keymap--merge-bindings): New functions.
19558 (keymap-canonicalize): Use them to refine the canonicalization.
19559 * minibuffer.el (minibuffer-local-completion-map)
19560 (minibuffer-local-must-match-map): Move initialization from C.
19561 (minibuffer-local-filename-completion-map): Move initialization from C;
19562 don't inherit from anything here.
19563 (minibuffer-local-filename-must-match-map): Make obsolete.
19564 (completing-read-default): Use make-composed-keymap to combine
19565 minibuffer-local-filename-completion-map with either
19566 minibuffer-local-must-match-map or
19567 minibuffer-local-filename-completion-map.
19568
19569 2011-07-01 Glenn Morris <rgm@gnu.org>
19570
19571 * type-break.el (type-break-time-sum): Use dolist.
19572
19573 * textmodes/flyspell.el (flyspell-word-search-backward):
19574 Replace CL function.
19575
19576 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19577
19578 * mouse.el (mouse--strip-first-event): New function.
19579 (function-key-map): Use it to map fringe clicks to normal clicks
19580 by default.
19581
19582 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
19583 (vc-bzr-revision-completion-table): Add support for annotate and date.
19584
19585 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
19586 inherit from parent.
19587
19588 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19589
19590 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
19591 (dired-show-file-type): Doc fixup (bug#8818).
19592
19593 * dired.el (dired-mode): Fix up the doc string as suggested by
19594 Drew Adams (bug#8817).
19595
19596 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
19597 cookie, since the manual says that it should be possible to add
19598 this function to `find-file-hook' (bug#8709).
19599
19600 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19601
19602 * progmodes/cfengine.el: Moved all cfengine3.el functionality
19603 here. Noted Ted Zlatanov as the maintainer.
19604 (cfengine-common-settings, cfengine-common-syntax): New functions
19605 to set up common things between `cfengine-mode' and
19606 `cfengine3-mode'.
19607 (cfengine3-mode): New mode.
19608 (cfengine3-defuns cfengine3-defuns-regex
19609 (cfengine3-class-selector-regex cfengine3-category-regex)
19610 (cfengine3-vartypes cfengine3-font-lock-keywords)
19611 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
19612 (cfengine3-indent-line): Add from cfengine3.el.
19613
19614 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
19615
19616 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
19617
19618 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
19619
19620 2011-07-01 Martin Rudalics <rudalics@gmx.at>
19621
19622 * window.el (same-window-buffer-names, same-window-regexps)
19623 (same-window-p, special-display-frame-alist)
19624 (special-display-popup-frame, special-display-function)
19625 (special-display-buffer-names, special-display-regexps)
19626 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
19627 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19628 (split-window-preferred-function, split-height-threshold)
19629 (split-width-threshold, even-window-heights)
19630 (display-buffer-mark-dedicated, window-splittable-p)
19631 (split-window-sensibly, window-safely-shrinkable-p):
19632 Un-obsolete.
19633 (display-buffer): Don't spread args with function specifier
19634 because special-display-popup-frame won't like it.
19635
19636 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
19637
19638 Time-stamp simplifications and fixes.
19639 These improve accuracy slightly, and future-proof the code
19640 against some potential changes to current-time format.
19641
19642 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
19643 by using time-since and float-time.
19644
19645 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
19646 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
19647 + NNN microseconds".
19648
19649 * type-break.el (type-break-time-sum): Rewrite using time-add.
19650
19651 * play/hanoi.el (hanoi-current-time-float): Remove.
19652 All uses replaced by float-time.
19653
19654 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
19655 This yields a more-accurate answer.
19656 (rng-time-to-float): Remove; no longer needed.
19657
19658 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
19659
19660 * calendar/timeclock.el (timeclock-seconds-to-time):
19661 Defalias to seconds-to-time, since they're the same thing.
19662
19663 * emacs-lisp/elp.el (elp-elapsed-time):
19664 * emacs-lisp/benchmark.el (benchmark-elapse):
19665 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
19666
19667 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19668
19669 * window.el (bury-buffer): Don't iconify the only frame.
19670 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
19671 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
19672
19673 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
19674
19675 * eshell/em-smart.el (eshell-smart-display-navigate-list):
19676 Add mouse-yank-primary.
19677
19678 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19679
19680 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
19681
19682 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19683
19684 * emacs-lisp/find-func.el (find-library--load-name): New fun.
19685 (find-library-name): Use it to find relative load names when provided
19686 absolute file name (bug#8803).
19687
19688 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19689
19690 * textmodes/flyspell.el (flyspell-word): Consider words that
19691 differ only in case as potential doublons (bug#5687).
19692
19693 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
19694 Remove two rather uninteresting debugging-like messages to make
19695 debbugs.el more silent.
19696
19697 * comint.el (comint-password-prompt-regexp): Accept "Response" as
19698 a password-like phrase.
19699
19700 2011-06-30 Masatake YAMATO <yamato@redhat.com>
19701
19702 * progmodes/cc-guess.el: New file.
19703
19704 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
19705
19706 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
19707 derived from `c-basic-common-init'.
19708
19709 * progmodes/cc-mode.el (top-level): Require cc-guess.
19710 (c-basic-common-init): Use `cc-choose-style-for-mode'.
19711
19712 2011-06-30 Lawrence Mitchell <wence@gmx.li>
19713
19714 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
19715
19716 2011-06-30 Alan Mackenzie <acm@muc.de>
19717
19718 * progmodes/cc-engine.el (c-guess-continued-construct):
19719 Correct the handling of template-args-cont, particularly for when font
19720 lock is disabled. Name this case as "CASE G".
19721
19722 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
19723
19724 * allout.el (allout-yank-processing): Fix injection of extra space
19725 between bullet and non-whitespace character in first topic when
19726 pasting, ensuring that the actual spacing in the pasted topic
19727 following the bullet char is preserved. This extra space was
19728 causing pasted encrypted topics to get a decrypted status even
19729 when the content was actually still encrypted. Now the decryption
19730 status from before the paste is preserved.
19731
19732 (allout-flag-region): Set all allout overlays so they evaporate
19733 when reduced to zero length (evanescent), to prevent overlay
19734 leakage.
19735
19736 2011-06-30 Glenn Morris <rgm@gnu.org>
19737
19738 * w32-fns.el (w32-charset-info-alist): Declare.
19739
19740 * find-dired.el (find-grep-options): Simplify.
19741
19742 * term/ns-win.el (ns-set-resource): Declare.
19743
19744 * ses.el (row, col): Declare dynamic variables honestly.
19745
19746 * textmodes/reftex-parse.el (index-tags): Declare.
19747
19748 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
19749
19750 * cus-edit.el (customize-push-and-save): New function.
19751
19752 * files.el (hack-local-variables-confirm): Use it.
19753
19754 * custom.el (load-theme): New arg NO-CONFIRM.
19755 Use customize-push-and-save (Bug#8720).
19756 (custom-enabled-themes): Doc fix.
19757
19758 * cus-theme.el (customize-create-theme)
19759 (custom-theme-merge-theme): Callers to load-theme changed.
19760
19761 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19762
19763 * thingatpt.el (thing-at-point-short-url-regexp): Require that
19764 short URLs have at least one dot in them (bug #7614).
19765
19766 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
19767 nil, because using a pty is apparently too slow (bug #895).
19768
19769 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
19770
19771 * mail/sendmail.el (sendmail-query-once): New function.
19772 (sendmail-query-once-function): New variable.
19773
19774 2011-06-29 Glenn Morris <rgm@gnu.org>
19775
19776 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
19777
19778 * ses.el (top-level): Require cl when compiling.
19779 (ses-set-localvars): Fix error statement.
19780 Call it at compile time to silence a storm of warnings.
19781
19782 2011-06-29 Martin Rudalics <rudalics@gmx.at>
19783
19784 * window.el (normalize-live-buffer): Rename to
19785 window-normalize-buffer.
19786 (normalize-live-frame): Rename to window-normalize-frame.
19787 (normalize-any-window): Rename to window-normalize-any-window.
19788 (normalize-live-window): Rename to window-normalize-live-window.
19789 (make-window-atom): Rename to window-make-atom.
19790 (window-resize-reset): Rename to window--resize-reset.
19791 (window-resize-reset-1): Rename to window--resize-reset-1.
19792 (resize-mini-window): Rename to window--resize-mini-window.
19793 (resize-subwindows-skip-p): Rename to
19794 window--resize-subwindows-skip-p.
19795 (resize-subwindows-normal): Rename to
19796 window--resize-subwindows-normal.
19797 (resize-subwindows): Rename to window--resize-subwindows.
19798 (resize-other-windows): Rename to window--resize-siblings.
19799 (resize-this-window): Rename to window--resize-this-window.
19800 (resize-root-window): Rename to window--resize-root-window.
19801 (resize-root-window-vertically): Rename to
19802 window--resize-root-window-vertically.
19803 (normalize-buffer-to-display): Rename to
19804 window-normalize-buffer-to-display.
19805 (normalize-buffer-to-switch-to): Rename to
19806 window-normalize-buffer-to-switch-to.
19807 Correspondingly update all callers of the functions listed
19808 above.
19809 (display-buffer-alist, display-buffer-normalize-arguments)
19810 (display-buffer-normalize-options, display-buffer)
19811 (display-buffer-alist-set): Use "function" instead of
19812 "fun-with-args".
19813
19814 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
19815
19816 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
19817 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
19818 debbugs.gnu.org. Mention acknowledgment email.
19819
19820 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
19821
19822 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
19823 buffer multibyteness, since it shouldn't matter.
19824
19825 2011-06-28 Martin Rudalics <rudalics@gmx.at>
19826
19827 * window.el (display-buffer-in-side-window): Handle dedicated
19828 windows as in display-buffer-reuse-window.
19829 (display-buffer-normalize-alist): Use value of override
19830 specifier.
19831 (display-buffer-normalize-specifiers): Use value of
19832 other-window-means-other-frame specifier.
19833 (display-buffer-alist): Rewrite some texts in widgets.
19834 (display-buffer): Spread arguments when calling function
19835 specified by fun-with-args.
19836
19837 2011-06-28 Deniz Dogan <deniz@dogan.se>
19838
19839 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19840 Unnest `let'.
19841
19842 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
19843 selectors (Bug#5732).
19844 (css-proprietary-nmstart-re): Use `regexp-opt'.
19845
19846 2011-06-27 Jari Aalto <jari.aalto@cante.net>
19847
19848 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
19849 (eshell-ls-date-format): New defcustom.
19850 (eshell-ls-file): Use it.
19851
19852 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19853
19854 * help-fns.el (describe-variable): Fix message for terminal-local vars.
19855
19856 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
19857
19858 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
19859 (ange-ftp-make-tmp-name): New arg.
19860 (ange-ftp-file-local-copy): Use it.
19861
19862 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
19863
19864 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
19865 no-conversion (Bug#8870).
19866
19867 2011-06-27 Martin Rudalics <rudalics@gmx.at>
19868
19869 * window.el (window-right, window-left, window-child)
19870 (window-child-count, window-last-child)
19871 (window-iso-combination-p, walk-window-tree-1)
19872 (window-atom-check-1, window-tree-1, delete-window)
19873 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
19874 new naming conventions - window-vchild, window-hchild,
19875 window-next and window-prev are now called window-top-child,
19876 window-left-child, window-next-sibling and window-prev-sibling
19877 respectively.
19878 (resize-window-reset): Rename to window-resize-reset.
19879 (resize-window-reset-1): Rename to window-resize-reset-1.
19880 (resize-window): Rename to window-resize.
19881 (window-min-height, window-min-width)
19882 (resize-mini-window, resize-this-window, resize-root-window)
19883 (resize-root-window-vertically, adjust-window-trailing-edge)
19884 (enlarge-window, shrink-window, maximize-window)
19885 (minimize-window, delete-window, quit-restore-window)
19886 (split-window, balance-windows, balance-windows-area-adjust)
19887 (balance-windows-area, window-state-put-2)
19888 (display-buffer-even-window-sizes, display-buffer-set-height)
19889 (display-buffer-set-width, set-window-text-height)
19890 (fit-window-to-buffer): Rename all "resize-window" prefixed
19891 calls to use the "window-resize" prefix convention.
19892 (display-buffer-alist): Fix symbol for label specifier.
19893 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
19894 corresponding specifier.
19895 Reported by Juanma Barranquero <lekktu@gmail.com>.
19896
19897 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19898
19899 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
19900 convention.
19901 (ses-call-printer): Does not pass an empty string to formatter when the
19902 cell is empty to keep from barking printer Calc math-format-value.
19903
19904 2011-06-27 Richard Stallman <rms@gnu.org>
19905
19906 * battery.el (battery-mode-line-limit): New variable.
19907 (battery-update): Handle it.
19908
19909 * mail/rmailmm.el (rmail-mime-process-multipart):
19910 Handle truncated messages.
19911
19912 2011-06-27 Glenn Morris <rgm@gnu.org>
19913
19914 * progmodes/flymake.el (flymake-err-line-patterns):
19915 Allow for column numbers in the ant/javac pattern. (Bug#8866)
19916
19917 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19918
19919 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
19920 (ses--clean-!, ses--clean-_): New functions.
19921 (ses-range): Add configurability of readout order, and conversion
19922 to Calc vector.
19923
19924 * ses.el (ses-repair-cell-reference-all): New function.
19925 (ses-cell-symbol): Set macro as safe, so that it can be used in
19926 formulas.
19927
19928 * ses.el: Update cycle detection algorithm.
19929 (ses-localvars): Add ses--Dijkstra-attempt-nb and
19930 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
19931 (ses-set-localvars): New function.
19932 (ses-make-cell): Add property-list as a cell element.
19933 (ses-cell-property-get-fun, ses-cell-property-get)
19934 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
19935 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
19936 New functions.
19937 (ses-cell-property-set, ses-cell-property-pop)
19938 (ses-cell-property-get-handle): New macro.
19939 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
19940 New aliases, used for code readability.
19941 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
19942 cycle detection.
19943 (ses-self-reference-early-detection): New defcustom.
19944 (ses-formula-references): Robustify against self-referring cells.
19945 (ses-mode): Use ses-set-localvars.
19946 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
19947 before lauching the update processing.
19948 (ses-initialize-Dijkstra-attempt): New function.
19949 (ses-recalculate-cell): Update for cycle detection based on
19950 Dijkstra algorithm.
19951
19952 * ses.el: Fix commenting and indenting convention.
19953
19954 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19955
19956 * bs.el (bs-cycle-next): Complete last change.
19957
19958 2011-06-27 Drew Adams <drew.adams@oracle.com>
19959
19960 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
19961
19962 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19963
19964 * net/network-stream.el (network-stream-open-starttls):
19965 Don't re-get capabilities unless we've reestablished connection.
19966 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
19967
19968 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
19969 to binary to possibly avoid line encoding issues on Windows (among
19970 other things).
19971
19972 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19973
19974 * net/network-stream.el (open-network-stream): Return an :error
19975 saying what the problem was, if possible.
19976
19977 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
19978 server.
19979
19980 * net/network-stream.el (network-stream-open-starttls): If we
19981 wanted to use STARTTLS, and the server offered it, but we weren't
19982 able to because we had no STARTTLS support, then close the connection.
19983 (open-network-stream): Return an :error element, if present.
19984
19985 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
19986
19987 * hl-line.el (hl-line-sticky-flag): Doc fix.
19988 (global-hl-line-sticky-flag): New option (Bug#8323).
19989 (global-hl-line-highlight): Obey it.
19990
19991 * vc/vc.el (vc-revert-show-diff): Default to t.
19992
19993 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
19994
19995 * allout-widgets.el (allout-widgets-post-command-business):
19996 Stop decorating intermediate isearch matches. They're not being
19997 undecorated when an isearch is continued past, and isearch
19998 automatically collapses them. This leads to "widget leaks", where
19999 decorated items accumulate in collapsed areas. Lines with lots of
20000 hidden widgets can slow down cursor travel, substantially.
20001 Too much complicated machinery would be needed to ensure undecoration,
20002 so we're doing without this nicety.
20003
20004 (allout-widgets-tally-string): Don't try to do a hash-table-count
20005 of allout-widgets-tally when it's nil. This eliminates spurious "Error
20006 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20007 *Messages* when allout-widgets-maintain-tally is t.
20008
20009 2011-06-26 Martin Rudalics <rudalics@gmx.at>
20010
20011 * window.el (display-buffer-normalize-argument): Rename to
20012 display-buffer-normalize-arguments. Handle special meaning of
20013 LABEL argument. Respect special-display-function when popping up
20014 a new frame. Fix code searching for a window showing the buffer
20015 on another frame.
20016 (display-buffer-normalize-specifiers):
20017 Call display-buffer-normalize-arguments.
20018 (display-buffer-in-window): Don't undedicate the window if its
20019 buffer remains the same.
20020 Reported by Drew Adams <drew.adams@oracle.com>.
20021 (display-buffer-alist): Add choice for same-window macro
20022 specfier.
20023 (display-buffer): Mention special meaning of LABEL argument in
20024 doc-string. Fix quoting. Don't pop up a new frame even as
20025 fallback.
20026
20027 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
20028
20029 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20030 avoid deleting the current window in some cases (bug#8911).
20031
20032 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20033
20034 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20035 (Bug#8934)
20036
20037 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20038
20039 * net/network-stream.el (network-stream-open-starttls):
20040 Use built-in TLS support if `gnutls-available-p' is true.
20041 (network-stream-open-tls): Ditto.
20042
20043 2011-06-26 Leo Liu <sdl.web@gmail.com>
20044
20045 * register.el (registerv): New struct.
20046 (registerv-make): New function.
20047 (jump-to-register, describe-register-1, insert-register):
20048 Support the jump-func, print-func and insert-func slot of a registerv
20049 struct. (Bug#8415)
20050
20051 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20052
20053 * vc/vc.el (vc-revert-show-diff): New defcustom.
20054 (vc-diff-internal): New arg specifying diff buffer.
20055 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20056 reuse an existing *vc-diff* buffer (Bug#8927).
20057
20058 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20059
20060 2011-06-26 Glenn Morris <rgm@gnu.org>
20061
20062 * progmodes/f90.el (f90-critical-indent): New option.
20063 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20064 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20065 (f90-mode): Doc fix.
20066 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20067 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20068 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20069 (f90-match-end): Handle block, critical.
20070
20071 2011-06-25 Glenn Morris <rgm@gnu.org>
20072
20073 * calendar/diary-lib.el (diary-included-files): Doc fix.
20074 (diary-include-files): New function, extracted from
20075 diary-include-other-diary-files and diary-mark-included-diary-files.
20076 (diary-include-other-diary-files, diary-mark-included-diary-files):
20077 Just call diary-include-files.
20078 (diary-mark-entries): Reset diary-included-files on first call.
20079
20080 * calendar/diary-lib.el (diary-mark-entries)
20081 (diary-mark-included-diary-files):
20082 Visit included diary-files in temp buffers.
20083
20084 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20085 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20086 (f90-start-block-re, f90-imenu-generic-expression)
20087 (f90-looking-at-program-block-start, f90-no-block-limit):
20088 Add support for submodules.
20089
20090 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20091 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
20092
20093 2011-06-25 Eli Zaretskii <eliz@gnu.org>
20094
20095 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20096 buffer-file-type before setting its value, to avoid disastrous
20097 global effects on decoding files for DOS/Windows systems. (Bug#8780)
20098
20099 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20100
20101 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20102
20103 * ses.el (ses-unload-function):
20104 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20105
20106 * proced.el (proced-unload-function):
20107 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20108
20109 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20110
20111 * server.el (server-create-window-system-frame): Add parameters arg.
20112 (server-process-filter): Doc fix. Handle frame-parameters.
20113
20114 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20115
20116 Fix bug#8730, bug#8781.
20117
20118 * loadhist.el (unload--set-major-mode): New function.
20119 (unload-feature): Use it.
20120
20121 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20122 (python-unload-function): New function.
20123
20124 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20125
20126 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
20127
20128 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
20129
20130 * net/browse-url.el (browse-url-firefox-program): Add icecat to
20131 the candidates list.
20132
20133 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
20134
20135 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
20136
20137 2011-06-23 Richard Stallman <rms@gnu.org>
20138
20139 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
20140 (rmail-variables): Set next-error-move-function.
20141 (rmail-what-message): Take argument POS.
20142 (rmail-next-error-move): New function.
20143
20144 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
20145
20146 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20147 messages for adjacent non-terminals.
20148
20149 2011-06-23 Richard Stallman <rms@gnu.org>
20150
20151 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
20152 (rmail-show-message-1): Preserve buffer modified flag.
20153 (rmail-start-mail): Don't specify use of rmail-mail-return;
20154 that's done by mail-bury now.
20155 (rmail-mail-return): Handle arg NEWBUF.
20156
20157 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
20158
20159 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20160 SIZE is a number.
20161
20162 2011-06-23 Martin Rudalics <rudalics@gmx.at>
20163
20164 * window.el (get-lru-window, get-mru-window)
20165 (get-largest-window): Never return a minibuffer window.
20166 (display-buffer-pop-up-window): Fix a bug that could lead to
20167 reusing the minibuffer window.
20168 (display-buffer): Pass original specifier argument to
20169 display-buffer-function instead of the normalized one.
20170 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20171
20172 2011-06-22 Leo Liu <sdl.web@gmail.com>
20173
20174 * minibuffer.el (completing-read-function)
20175 (completing-read-default): Move from minibuf.c.
20176
20177 2011-06-22 Richard Stallman <rms@gnu.org>
20178
20179 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20180 to Rmail even if not started by a special Rmail command.
20181
20182 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20183 Copy the buffer currently showing just one message.
20184
20185 2011-06-22 Roland Winkler <winkler@gnu.org>
20186
20187 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20188 (bibtex-clean-entry): First delete the old key so that a
20189 customized algorithm for generating the new key does not get
20190 confused by the old key.
20191 (bibtex-url): Obey regexp of first step.
20192 (bibtex-search-entries): Do not use add-to-list with local
20193 list-var.
20194
20195 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20196
20197 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20198 stored a user name, then query for the password first, instead of
20199 waiting for SMTP to give an error message and the trying again.
20200
20201 2011-06-22 Lawrence Mitchell <wence@gmx.li>
20202
20203 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20204 BUFFER in call-process.
20205
20206 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20207
20208 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20209 QUIT twice.
20210 (smtpmail-try-auth-methods): Require user name and password from
20211 auth-source.
20212
20213 2011-06-22 Martin Rudalics <rudalics@gmx.at>
20214
20215 * window.el (display-buffer-default-specifiers)
20216 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20217 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
20218 (split-window): Normalize SIDE argument (Bug#8916).
20219
20220 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20221 (special-display-frame-alist, special-display-popup-frame):
20222 Remove duplicate declarations. These are now in window.el.
20223
20224 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20225
20226 * mail/smtpmail.el (smtpmail-via-smtp):
20227 Set :use-starttls-if-possible so that we always use STARTTLS if the
20228 server supports it. SMTP servers that support STARTTLS commonly
20229 require it.
20230
20231 * net/network-stream.el (network-stream-open-starttls): Support
20232 upgrading to STARTTLS always, even if we don't have built-in support.
20233 (open-network-stream): Add the :always-query-capabilities keyword.
20234
20235 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20236 upgrades with `open-network-stream', and rely solely on
20237 auth-source for all credentials. Big changes throughout the file,
20238 but in particular:
20239 (smtpmail-auth-credentials): Remove.
20240 (smtpmail-starttls-credentials): Remove.
20241 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20242 MAIL FROM, too.
20243
20244 * net/network-stream.el (network-stream-open-starttls):
20245 Provide support for client certificates both for external and built-in
20246 STARTTLS.
20247 (auth-source): Require.
20248 (open-network-stream): Document the :client-certificate keyword.
20249 (network-stream-certificate): Change cert-cert to cert and
20250 cert-key to key.
20251
20252 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
20253
20254 * net/tramp-cache.el (top): Don't load the persistency file when
20255 "emacs -Q" has been called.
20256
20257 2011-06-21 Tim Harper <timcharper@gmail.com>
20258
20259 * term/ns-win.el (ns-initialize-window-system):
20260 Set application-specific `ApplePressAndHoldEnabled' system
20261 resource to NO as it is not yet supported by the NS port.
20262
20263 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
20264
20265 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20266 (list-dynamic-libraries): ...not here.
20267
20268 2011-06-21 Leo Liu <sdl.web@gmail.com>
20269
20270 * subr.el (sha1): Implement sha1 using secure-hash.
20271
20272 2011-06-21 Martin Rudalics <rudalics@gmx.at>
20273
20274 * window.el (display-buffer-alist): In default value do not
20275 enforce searching a window on any but the selected frame.
20276 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20277 (display-buffer-select-window): Remove function.
20278 (display-buffer-in-window): When a window on another frame gets
20279 reused, do not select it any more but just raise its frame if
20280 necessary (Bug#8851) and (Bug#8856).
20281 (display-buffer-normalize-options): Handle pop-up-frames related
20282 options more faithfully.
20283 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20284 window if it is on another frame.
20285 (display-buffer-alist, display-buffer-default-specifiers):
20286 Don't make new frame unsplittable by default.
20287 (display-buffer-normalize-argument): Fix doc-string typo and use
20288 'same-frame-other-window instead of 'other-window when associating
20289 with display-buffer-macro-specifiers.
20290
20291 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20292
20293 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20294 New functions.
20295 (5x5-mode-map, 5x5-mode-menu): Bind them.
20296 (5x5-draw-grid): Tweak the solver's rendering.
20297
20298 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20299
20300 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20301 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20302
20303 2011-06-21 Drew Adams <drew.adams@oracle.com>
20304
20305 * menu-bar.el: Use function variable instead of switch-to-buffer.
20306 (menu-bar-select-buffer-function): New variable.
20307 (menu-bar-update-buffers): Use it (bug#8876).
20308
20309 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20310
20311 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20312 variable's status.
20313
20314 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20315
20316 * x-dnd.el (x-dnd-version-from-flags)
20317 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20318 and long as number (Bug#8899).
20319 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20320
20321 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20322
20323 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
20324 (completion-try-completion, completion-all-completions): Compute the
20325 metadata argument if it's missing; make it optional (bug#8795).
20326
20327 * wid-edit.el: Use lex-bind and move towards completion-at-point.
20328 (widget-complete): Use new :completion-function property.
20329 (widget-completions-at-point): New function.
20330 (default): Use :completion-function instead of :complete.
20331 (widget-default-completions): Rename from widget-default-complete;
20332 Rewrite.
20333 (widget-string-complete, widget-file-complete, widget-color-complete):
20334 Remove functions.
20335 (file, symbol, function, variable, coding-system, color):
20336 * international/mule-cmds.el (default-input-method, charset)
20337 (language-info-custom-alist):
20338 * cus-edit.el (face): Use new property :completions.
20339
20340 * progmodes/pascal.el (pascal-completions-at-point): New function.
20341 (pascal-mode): Use it.
20342 (pascal-mode-map): Use completion-at-point.
20343 (pascal-toggle-completions): Make obsolete.
20344 (pascal-complete-word, pascal-show-completions):
20345 * progmodes/octave-mod.el (octave-complete-symbol):
20346 Redefine as obsolete alias.
20347 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20348 Signal absence of completion info for old Octave,
20349 (inferior-octave-complete): Redefine as obsolete alias.
20350 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20351 (meta-completions-at-point): Rename from meta-complete-symbol and
20352 adapt it for use on completion-at-point-functions.
20353 (meta-common-mode): Use it.
20354 (meta-looking-at-backward, meta-match-buffer): Remove.
20355 (meta-complete-symbol): Redefine as obsolete alias.
20356 (meta-common-mode-map): Use completion-at-point.
20357 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20358 (makefile-mode-map): Use completion-at-point.
20359 (makefile-completions-at-point): Rename from makefile-complete and
20360 adapt it for use on completion-at-point-functions.
20361 (makefile-mode): Use it.
20362 (makefile-complete): Redefine as obsolete alias.
20363
20364 2011-06-20 Deniz Dogan <deniz@dogan.se>
20365
20366 * net/rcirc.el: Delete trailing whitespaces once and for all.
20367
20368 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
20369
20370 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
20371
20372 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
20373
20374 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
20375
20376 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
20377
20378 2011-06-19 Martin Rudalics <rudalics@gmx.at>
20379
20380 * window.el (display-buffer-other-window-means-other-frame):
20381 Call display-buffer-normalize-alist.
20382 (display-buffer-normalize-specifiers-1): Rename to
20383 display-buffer-normalize-argument. New argument other-frame.
20384 Rewrite.
20385 (display-buffer-normalize-specifiers-2): Rename to
20386 display-buffer-normalize-options.
20387 (display-buffer-normalize-alist-1): New function.
20388 (display-buffer-normalize-specifiers-3): Rename to
20389 display-buffer-normalize-alist.
20390 Call display-buffer-normalize-alist-1.
20391 (display-buffer-normalize-options-inhibit): New variable.
20392 (display-buffer-normalize-specifiers): Rewrite calling
20393 display-buffer-normalize-alist,
20394 display-buffer-normalize-argument, and
20395 display-buffer-normalize-options. Don't call the latter if
20396 display-buffer-normalize-options-inhibit is non-nil.
20397 (frame-auto-delete): New option.
20398 (window-deletable-p): Use frame-auto-delete.
20399 (window-list-no-nils, window-state-ignored-parameters)
20400 (window-state-get-1, window-state-get, window-state-put-list)
20401 (window-state-put-1, window-state-put-2, window-state-put):
20402 New functions.
20403 (display-buffer-normalize-options): Move special-display-p group
20404 after pop-up-frame group (Bug#8851) and (Bug#8856).
20405
20406 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
20407
20408 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
20409 groups (Bug#8776).
20410 (rx-submatch-n): New function.
20411 (rx): Document it.
20412
20413 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
20414 (Bug#8768).
20415
20416 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
20417
20418 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
20419
20420 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
20421 anytime existing face settings are present (Bug#8889).
20422
20423 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
20424 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
20425 Remove unused argument.
20426
20427 2011-06-18 Martin Rudalics <rudalics@gmx.at>
20428
20429 * window.el (display-buffer-default-specifiers):
20430 Remove pop-up-frame. Add pop-up-window-min-height,
20431 pop-up-window-min-width, and another reuse-window specifier
20432 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
20433 (display-buffer-normalize-specifiers-2):
20434 Handle split-height-threshold and split-width-threshold also when
20435 pop-up-windows is unset. Add a reuse-window specifier for the
20436 case popping up a new window fails.
20437 (special-display-popup-frame): Remove double quoting.
20438 (display-buffer-normalize-specifiers-1): Fix thinko.
20439
20440 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20441
20442 * shell.el (shell-completion-vars): Set pcomplete-termination-string
20443 according to comint-completion-addsuffix.
20444
20445 * pcomplete.el: Convert to lexical binding and fix bug#8819.
20446 (pcomplete-suffix-list): Mark as obsolete.
20447 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
20448 pcomplete-seen in the closure.
20449 (pcomplete-comint-setup): Setup completion-at-point as well.
20450 (pcomplete--entries): New function.
20451 (pcomplete--env-regexp): New var.
20452 (pcomplete-entries): Rewrite to work with partial-completion and
20453 without relying on pcomplete-suffix-list.
20454 (pcomplete-pare-list): Remove, unused.
20455
20456 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20457
20458 * window.el (display-buffer-alist): Set pop-up-window-min-height
20459 and pop-up-window-min-width in default value. Reported by
20460 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
20461 other-window-means-other-frame.
20462 (display-buffer-macro-specifiers): Comment out entry for
20463 other-window specifier.
20464 (display-buffer-other-window-means-other-frame): New function.
20465 (display-buffer-normalize-specifiers-1): New arguments
20466 buffer-name and label. Treat other-window case specially.
20467 (display-buffer-normalize-specifiers-2): Treat other-window case
20468 specially.
20469 (display-buffer-normalize-specifiers-3): New function.
20470 (display-buffer-normalize-specifiers):
20471 Call display-buffer-normalize-specifiers-3.
20472
20473 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20474
20475 * window.el (same-window-p): Fix two typos introduced when
20476 adding with-no-warnings.
20477 (display-buffer-normalize-specifiers-1): Don't check
20478 pop-up-frames for 'unset initialization.
20479 (display-buffer-normalize-specifiers-2): Major rewrite using
20480 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
20481 (pop-up-frames, display-buffer-reuse-frames)
20482 (display-buffer-mark-dedicated): Don't initialize to 'unset.
20483 Suggested by David Engster <deng@randomsample.de>.
20484 (even-window-heights): Initialize to 'unset.
20485 (display-buffer-alist-set): Handle new 'unset initializations.
20486 (display-buffer-macro-specifiers): Don't pop up a new frame in the
20487 other window case.
20488
20489 2011-06-16 Martin Rudalics <rudalics@gmx.at>
20490
20491 * window.el (display-buffer-normalize-specifiers-1):
20492 Respect current value of pop-up-frames for most reasonable values of
20493 second argument of display-buffer (Bug#8865).
20494 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
20495 (switch-to-buffer-other-window-same-frame)
20496 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
20497 Adams (Bug#8875).
20498 (display-buffer): Don't check noninteractive when calling
20499 display-buffer-pop-up-frame.
20500 (display-buffer-pop-up-frame): Never pop up a frame in
20501 noninteractive mode (Bug#8857).
20502 (enlarge-window, shrink-window): Don't report an error when the
20503 window can't be resized as requested (Bug#8862).
20504
20505 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20506
20507 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
20508
20509 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
20510
20511 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
20512
20513 2011-06-15 Alan Mackenzie <acm@muc.de>
20514
20515 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
20516 for declarators, disable knr checking to speed up for normal files.
20517 2: Refactor, replacing a sequence of nested if forms by a cond form.
20518
20519 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20520
20521 * net/network-stream.el (open-network-stream): Add the keyword
20522 :always-query-capabilities for the case where you want to force a
20523 `plain' network connection, but the protocol still requires the
20524 capabilitiy command (i.e., SMTP and EHLO).
20525
20526 * subr.el (process-live-p): Rename from `process-alive-p' for
20527 consistency with other `-live-p' functions.
20528
20529 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20530
20531 * window.el (same-window-buffer-names, same-window-regexps)
20532 (special-display-frame-alist, special-display-popup-frame)
20533 (special-display-function, special-display-buffer-names)
20534 (special-display-regexps, pop-up-frame-alist)
20535 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
20536 (pop-up-windows, split-window-preferred-function)
20537 (split-height-threshold, split-width-threshold, even-window-heights)
20538 (display-buffer-mark-dedicated): Don't encourage the use of
20539 display-buffer-alist from Elisp code.
20540
20541 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
20542
20543 * progmodes/python.el (python-mode): Derive from prog-mode.
20544 * progmodes/ps-mode.el (ps-mode):
20545 * progmodes/mixal-mode.el (mixal-mode):
20546 * progmodes/cfengine.el (cfengine-mode):
20547 * progmodes/ld-script.el (ld-script-mode): Likewise.
20548
20549 2011-06-15 Martin Rudalics <rudalics@gmx.at>
20550
20551 * window.el (display-buffer-alist): Trim default value to avoid
20552 popping up a new frame (Bug#8857) or reusing an arbitrary window
20553 on another frame.
20554 (display-buffer): Do not fall back on popping up a new frame in
20555 batch mode (Bug#8857).
20556
20557 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
20558
20559 * cus-theme.el (describe-theme-1): Use custom-theme-p.
20560 (custom-theme-summary): New function.
20561 (customize-themes): Use it.
20562
20563 2011-06-13 Glenn Morris <rgm@gnu.org>
20564
20565 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
20566
20567 2011-06-13 Martin Rudalics <rudalics@gmx.at>
20568
20569 * help.el (help-window): Remove variable.
20570 (help-window-point-marker, temp-buffer-max-height)
20571 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
20572 (help-print-return-message): Don't set help-window.
20573 (resize-temp-buffer-window): Rewrite cod eand doc-string.
20574 (help-window-setup-finish): Remove.
20575 (help-window-display-message, help-window-setup)
20576 (with-help-window): Major rewrite based on new
20577 display-buffer-window variable.
20578
20579 * help-mode.el (help-mode-finish): Remove help-window related
20580 code.
20581
20582 * view.el (view-exits-all-viewing-windows): Remove reference to
20583 view-return-to-alist in doc-string.
20584 (view-return-to-alist): Make obsolete.
20585 (view-buffer): Call pop-to-buffer-same-window and remove
20586 undo-window code.
20587 (view-buffer-other-window): Call pop-to-buffer-other-window and
20588 simplify code. Ignore second argument.
20589 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
20590 simplify code. Ignore second argument.
20591 (view-return-to-alist-update): Make obsolete.
20592 (view-mode-enter): Rename second argument to QUIT-RESTORE.
20593 Rewrite using quit-restore window parameters.
20594 (view-mode-exit): Rename second argument to EXIT-ONLY.
20595 Rewrite using quit-restore-window.
20596 (View-exit, View-exit-and-edit, View-leave, View-quit)
20597 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
20598 appropriate arguments.
20599 (view-end-message): Use quit-restore window parameter.
20600
20601 * window.el (display-buffer-function): Rewrite doc-string.
20602 (display-buffer-window, display-buffer-alist): New variables.
20603 (display-buffer-split-specifiers)
20604 (display-buffer-side-specifiers)
20605 (display-buffer-macro-specifiers): New constants.
20606 (display-buffer-even-window-sizes, display-buffer-set-height)
20607 (display-buffer-set-width, display-buffer-select-window)
20608 (display-buffer-in-window, display-buffer-reuse-window)
20609 (display-buffer-split-window-1, display-buffer-split-window)
20610 (display-buffer-split-atom-window, display-buffer-pop-up-window)
20611 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
20612 (display-buffer-in-side-window, normalize-buffer-to-display)
20613 (display-buffer-normalize-specifiers-1)
20614 (display-buffer-normalize-specifiers-2)
20615 (display-buffer-normalize-specifiers, display-buffer-frame):
20616 New functions.
20617 (display-buffer): Major rewrite.
20618 (display-buffer-other-window, display-buffer-other-frame)
20619 (pop-to-buffer, switch-to-buffer-other-window)
20620 (switch-to-buffer-other-frame): Rewrite.
20621 (display-buffer-same-window, display-buffer-same-frame)
20622 (display-buffer-same-frame-other-window)
20623 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20624 (pop-to-buffer-other-window)
20625 (pop-to-buffer-same-frame-other-window)
20626 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
20627 (switch-to-buffer-other-window-same-frame): New functions.
20628 (same-window-p, special-display-p): Rewrite disabling warnings.
20629 Make obsolete.
20630 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20631 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
20632 Make obsolete
20633 (same-window-buffer-names, same-window-regexps)
20634 (special-display-frame-alist, special-display-popup-frame)
20635 (special-display-function, special-display-buffer-names)
20636 (special-display-regexps, pop-up-frame-alist)
20637 (pop-up-frame-function, split-window-preferred-function)
20638 (split-height-threshold, split-width-threshold)
20639 (even-window-heights): Make obsolete.
20640
20641 2011-06-12 Glenn Morris <rgm@gnu.org>
20642
20643 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
20644 Misc simplifications.
20645
20646 2011-06-12 Martin Rudalics <rudalics@gmx.at>
20647
20648 * window.el (window-safely-shrinkable-p): Restore function which
20649 was inadvertently removed in change from 2011-06-11. Declare as
20650 obsolete.
20651
20652 * calendar/calendar.el (calendar-generate-window):
20653 Use window-iso-combined-p instead of combination of one-window-p and
20654 window-safely-shrinkable-p.
20655
20656 2011-06-12 Glenn Morris <rgm@gnu.org>
20657
20658 * progmodes/fortran.el (fortran-mode-syntax-table):
20659 * progmodes/f90.el (f90-mode-syntax-table):
20660 Set % to punctuation. (Bug#8820)
20661 (f90-find-tag-default): Remove, no longer needed.
20662
20663 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
20664
20665 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
20666
20667 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
20668
20669 * image.el (image-animated-p): Return animation delay in seconds.
20670 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
20671 (image-animate-timeout): Remove DELAY argument. Don't assume
20672 every subimage has the same delay; get it from image-animated-p.
20673 (image-animate): Caller changed.
20674
20675 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
20676
20677 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
20678 to ignored backtrace functions.
20679
20680 2011-06-11 Glenn Morris <rgm@gnu.org>
20681
20682 * calendar/appt.el (appt-disp-window-function): Doc fix.
20683 (appt-check): Handle overlapping appointments. (Bug#8337)
20684
20685 2011-06-11 Martin Rudalics <rudalics@gmx.at>
20686
20687 * window.el (window-tree-1, window-tree): New functions, moving
20688 the latter to window.el.
20689 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
20690 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
20691 (bw-refresh-edges): Remove.
20692 (balance-windows-1, balance-windows-2): New functions.
20693 (balance-windows): Rewrite in terms of window tree functions,
20694 balance-windows-1 and balance-windows-2.
20695 (bw-adjust-window): Remove.
20696 (balance-windows-area-adjust): New function with functionality of
20697 bw-adjust-window but using resize-window.
20698 (set-window-text-height): Rewrite doc-string.
20699 Use normalize-live-window and resize-window.
20700 (enlarge-window-horizontally, shrink-window-horizontally):
20701 Rename argument to DELTA.
20702 (window-buffer-height): New function.
20703 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
20704 Rewrite using new window resize routines.
20705 (kill-buffer-and-window, mouse-autoselect-window-select):
20706 Use ignore-errors instead of condition-case.
20707 (quit-window): Call delete-frame instead of delete-windows-on
20708 for the only buffer on frame.
20709
20710 2011-06-10 Martin Rudalics <rudalics@gmx.at>
20711
20712 * loadup.el (top-level): Load window before files for the sake
20713 of replace-buffer-in-windows.
20714
20715 * files.el (read-buffer-to-switch)
20716 (switch-to-buffer-other-window)
20717 (switch-to-buffer-other-frame, display-buffer-other-frame):
20718 Move to window.el.
20719
20720 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
20721 (previous-buffer): Move to window.el.
20722
20723 * bindings.el (unbury-buffer): Move to window.el.
20724
20725 * window.el (delete-other-windows-vertically): Move after
20726 definition of delete-other-windows.
20727 (other-window, delete-windows-on, replace-buffer-in-windows):
20728 Move here from window.c.
20729 (record-window-buffer, unrecord-window-buffer)
20730 (set-window-buffer-start-and-point, switch-to-prev-buffer)
20731 (switch-to-next-buffer): New functions.
20732 (get-next-valid-buffer, last-buffer, next-buffer): Move here
20733 from simple.el. Call switch-to-next-buffer.
20734 (previous-buffer): Move here from simple.el.
20735 Call switch-to-prev-buffer.
20736 (bury-buffer): Move here from buffer.c. Switch to previous
20737 buffer when window cannot be deleted.
20738 (unbury-buffer): Move here from bindings.el.
20739 (ctl-x-map): Move binding for other-window from window.c to
20740 here.
20741 (read-buffer-to-switch, switch-to-buffer-other-window)
20742 (switch-to-buffer-other-frame): Move here from files.el.
20743 (normalize-buffer-to-switch-to): New functions.
20744 (switch-to-buffer): Move here from buffer.c.
20745 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
20746
20747 2011-06-10 Martin Rudalics <rudalics@gmx.at>
20748
20749 * window.el (window-min-height, window-min-width): Move here
20750 from window.c. Add defcustoms and rewrite doc-strings.
20751 (resize-mini-window, resize-window): New functions.
20752 (adjust-window-trailing-edge, enlarge-window, shrink-window):
20753 Move here from window.c.
20754 (maximize-window, minimize-window): New functions.
20755 (delete-window, delete-other-windows, split-window): Move here
20756 from window.c.
20757 (window-split-min-size): New function.
20758 (split-window-keep-point): Mention split-window-above-each-other
20759 instead of split-window-vertically.
20760 (split-window-above-each-other, split-window-vertically):
20761 Rename split-window-vertically to split-window-above-each-other
20762 and provide defalias for old definition.
20763 (split-window-side-by-side, split-window-horizontally):
20764 Rename split-window-horizontally to split-window-side-by-side
20765 and provide defalias for the old definition.
20766 (ctl-x-map): Move bindings for delete-window,
20767 delete-other-windows and enlarge-window here from window.c.
20768 Replace bindings for split-window-vertically and
20769 split-window-horizontally by bindings for
20770 split-window-above-each-other and split-window-side-by-side.
20771
20772 * cus-start.el (all): Remove entries for window-min-height and
20773 window-min-width. Add entries for window-splits and
20774 window-nest.
20775
20776 2011-06-09 Glenn Morris <rgm@gnu.org>
20777
20778 * calendar/appt.el (appt-mode-line): New function.
20779 (appt-check, appt-disp-window): Use it.
20780
20781 * files.el (hack-one-local-variable-eval-safep):
20782 Allow minor-modes with explicit +/-1 arguments.
20783
20784 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
20785
20786 * term/xterm.el (xterm): Add defgroup.
20787 (xterm-extra-capabilities): Add defcustom to supply known xterm
20788 capabilities, skip querying them, or query them (default).
20789 (terminal-init-xterm): Use it.
20790 (terminal-init-xterm-modify-other-keys): New function to set up
20791 modifyOtherKeys support to simplify `terminal-init-xterm'.
20792
20793 2011-06-09 Martin Rudalics <rudalics@gmx.at>
20794
20795 * window.el (resize-window-reset, resize-window-reset-1)
20796 (resize-subwindows-skip-p, resize-subwindows-normal)
20797 (resize-subwindows, resize-other-windows, resize-this-window)
20798 (resize-root-window, resize-root-window-vertically)
20799 (window-deletable-p, window-or-subwindow-p)
20800 (frame-root-window-p): New functions.
20801
20802 2011-06-09 Glenn Morris <rgm@gnu.org>
20803
20804 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
20805 (ange-ftp-get-files): Use it.
20806
20807 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
20808
20809 * mail/sendmail.el (mail-recover-1, mail-recover):
20810 * files.el (recover-file, recover-session):
20811 Handle dired-listing-switches not being just a single short option.
20812
20813 2011-06-09 Glenn Morris <rgm@gnu.org>
20814
20815 * calendar/appt.el (appt-display-message, appt-disp-window):
20816 Handle lists of appointments.
20817
20818 2011-06-08 Martin Rudalics <rudalics@gmx.at>
20819
20820 * window.el (one-window-p): Move down in code.
20821 Rewrite doc-string.
20822 (window-current-scroll-bars): Rewrite doc-string.
20823 Normalize live window argument.
20824 (walk-windows, get-window-with-predicate, count-windows):
20825 Rewrite doc-string. Use window-list-1.
20826 (window-in-direction-2, window-in-direction, get-mru-window):
20827 New functions.
20828
20829 2011-06-08 Reuben Thomas <rrt@sc3d.org>
20830
20831 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
20832 Doc fix (Bug#8713).
20833
20834 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
20835
20836 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
20837
20838 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
20839
20840 * loadhist.el (unload-feature-special-hooks):
20841 Add `comint-output-filter-functions'.
20842
20843 2011-06-08 Ivan Kanis <gnu@kanis.fr>
20844
20845 * calendar/appt.el (appt-check): Move some initializations into the let.
20846
20847 2011-06-08 Martin Rudalics <rudalics@gmx.at>
20848
20849 * window.el (window-height): Defalias to window-total-height.
20850 (window-width): Defalias to window-body-width.
20851
20852 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
20853
20854 * image-mode.el (image-toggle-animation): New command.
20855 (image-mode-map): Bind it to RET.
20856 (image-mode): Update message.
20857 (image-toggle-display-image): Avoid a spurious cache flush.
20858 (image-transform-rotation): Doc fix.
20859 (image-transform-properties): Return quickly in the normal case.
20860 (image-animate-loop): Rename from image-animate-max-time.
20861
20862 * image.el (image-animate-max-time): Move to image-mode.el.
20863 (create-animated-image): Remove unnecessary function.
20864 (image-animate): Rename from image-animate-start. New arg.
20865 (image-animate-stop): Remove; just use image-animate-timer.
20866 (image-animate-timer): Use car-safe.
20867 (image-animate-timeout): Rename argument.
20868
20869 2011-06-07 Martin Rudalics <rudalics@gmx.at>
20870
20871 * window.el (get-lru-window, get-largest-window): Move here from
20872 window.c. Rename first argument to ALL-FRAMES.
20873 Rephrase doc-strings.
20874 (get-buffer-window-list): Rewrite using window-list-1.
20875 Rephrase doc-string.
20876 (window-safe-min-height, window-safe-min-width): New constants.
20877 (window-size-ignore, window-min-size, window-min-size-1)
20878 (window-sizable, window-sizable-p, window-size-fixed-1)
20879 (window-size-fixed-p, window-min-delta-1, window-min-delta)
20880 (window-max-delta-1, window-max-delta, window-resizable)
20881 (window-resizable-p, window-total-height, window-total-width)
20882 (window-body-width): New functions.
20883 (window-full-height-p, window-full-width-p): Rewrite using
20884 window-total-size.
20885 (window-body-height): Rewrite using window-body-size.
20886
20887 2011-06-06 Martin Rudalics <rudalics@gmx.at>
20888
20889 * window.el (window-right, window-left, window-child)
20890 (window-child-count, window-last-child, window-any-p)
20891 (normalize-live-buffer, normalize-live-frame)
20892 (normalize-any-window, normalize-live-window)
20893 (window-iso-combination-p, window-iso-combined-p)
20894 (window-iso-combinations)
20895 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
20896 (windows-with-parameter, window-with-parameter)
20897 (window-atom-root, make-window-atom, window-atom-check-1)
20898 (window-atom-check, window-side-check, window-check):
20899 New functions.
20900 (ignore-window-parameters, window-sides, window-sides-vertical)
20901 (window-sides-slots): New variables.
20902 (window-size-fixed): Move down in code. Minor doc-string fix.
20903
20904 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
20905
20906 * comint.el (comint-dynamic-complete-as-filename)
20907 (comint-dynamic-complete-filename): Correctly call
20908 completion-in-region.
20909
20910 2011-06-05 Deniz Dogan <deniz@dogan.se>
20911
20912 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
20913 in last change.
20914
20915 2011-06-05 Deniz Dogan <deniz@dogan.se>
20916
20917 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
20918 (rcirc): Use it to prompt for encryption.
20919
20920 2011-06-05 Roland Winkler <winkler@gnu.org>
20921
20922 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
20923 (bibtex-search-entries): New command bound to C-c C-a.
20924 (bibtex-display-entries): New function.
20925
20926 2011-06-05 Roland Winkler <winkler@gnu.org>
20927
20928 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
20929 (bibtex-insert-kill): After yanking insert newline if necessary.
20930 (bibtex-initialize): Call bibtex-string-files-init only once.
20931 (bibtex-mode): Do not call easy-menu-add.
20932 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
20933 (bibtex-yank): Set arg properly if nil.
20934
20935 2011-06-05 Roland Winkler <winkler@gnu.org>
20936
20937 * textmodes/bibtex.el (bibtex-search-entry-globally):
20938 New variable.
20939 (bibtex-search-entry): Use it.
20940
20941 2011-06-05 Roland Winkler <winkler@gnu.org>
20942
20943 * textmodes/bibtex.el (bibtex-entry-format): New option
20944 sort-fields.
20945 (bibtex-format-entry, bibtex-reformat): Honor this option.
20946 (bibtex-parse-entry): Return fields in proper order.
20947
20948 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
20949
20950 * doc-view.el (doc-view-remove-if): Move computation of result out
20951 of `dolist' to silence misleading lexical-binding warning.
20952
20953 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
20954
20955 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
20956 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
20957
20958 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
20959
20960 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
20961 "SunOS 5.10".
20962
20963 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
20964
20965 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
20966 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
20967 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
20968 (tramp-parse-putty):
20969 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
20970 (tramp-completion-function-alist-ssh)
20971 (tramp-completion-function-alist-telnet)
20972 (tramp-completion-function-alist-su)
20973 (tramp-completion-function-alist-putty): Set `tramp-autoload'
20974 cookie.
20975
20976 * net/tramp-ftp.el:
20977 * net/tramp-sh.el:
20978 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
20979 load "tramp.el" `tramp-set-completion-function'.
20980
20981 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
20982
20983 * shell.el: Require and use pcomplete.
20984 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
20985 (shell-completion-vars): Set pcomplete-default-completion-function.
20986
20987 2011-06-04 Deniz Dogan <deniz@dogan.se>
20988
20989 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
20990 `memq' (Bug#8799).
20991
20992 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20993
20994 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
20995
20996 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
20997
20998 * bs.el (bs--mark-unmark, bs--nth-wrapper):
20999 * mpc.el (mpc-select-extend, mpc-songpointer-context):
21000 * vc/log-view.el (log-view-beginning-of-defun):
21001 * vc/smerge-mode.el (smerge-apply-resolution-patch)
21002 (smerge-refine-forward, smerge-refine-chopup-region):
21003 Silence warning for unused `dotimes' counter variables.
21004
21005 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21006
21007 * net/tramp.el (tramp-with-progress-reporter): Rename from
21008 with-progress-reporter. Use `declare'.
21009 * net/tramp-smb.el:
21010 * net/tramp-sh.el:
21011 * net/tramp-gvfs.el: Update all uses.
21012
21013 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
21014
21015 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21016 buffer isn't killed before making it current.
21017
21018 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21019
21020 Silence various byte-compiler warnings.
21021 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21022 `access-type' and new obsolescence format.
21023 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21024 new format.
21025 (byte-compile-check-variable): New `access-type' argument.
21026 Only warn if the access-type is obsolete.
21027 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21028 (byte-compile-variable-set): Adjust callers.
21029 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21030 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21031 setting it as obsolete.
21032 * simple.el (minibuffer-completing-symbol):
21033 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21034 access as obsolete.
21035 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21036 obsolete yet.
21037 * international/quail.el (quail-mouse-choose-completion): Remove unused
21038 code referring to obsolete var.
21039 (quail-choose-completion-string): Remove.
21040 * server.el (server-clients-with, server-kill-buffer-query-function)
21041 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21042 * proced.el (proced-send-signal):
21043 * emacs-lisp/lisp.el (lisp-complete-symbol):
21044 Replace completion-annotate-function with completion-extra-properties.
21045
21046 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21047
21048 * simple.el (goto-line): Use read-number.
21049 (overriding-map-is-bound): Remove.
21050 (saved-overriding-map): Change default.
21051 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21052 Take the map as argument.
21053 (universal-argument, negative-argument, digit-argument): Use it.
21054 (restore-overriding-map): Adjust.
21055 (do-auto-fill): Use fill-forward-paragraph.
21056 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21057
21058 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21059 (minibuffer-inactive-mode): New major mode.
21060 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21061 the *Messages* buffer" hack.
21062 (mouse-popup-menubar): Don't burp if the event is a normal key.
21063
21064 Miscellaneous tweaks.
21065 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21066 lexical scoping as in subr.el's dolist and dotimes.
21067 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21068 Silence compiler warning.
21069 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21070 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21071 * international/ccl.el (ccl-compile): Trivial simplification.
21072 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21073 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21074 `printflag' argument.
21075 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21076 Purecopy the whole obsolescence data.
21077
21078 2011-06-01 Leo Liu <sdl.web@gmail.com>
21079
21080 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21081 improve doc-string as suggested by Marco Pessotto
21082 <melmothx@gmail.com>.
21083 (rcirc-print): Fix last change.
21084
21085 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21086
21087 * minibuffer.el (complete-with-action): Return nil for the metadata and
21088 boundaries of non-functional tables.
21089 (completion-table-dynamic): Return nil for the metadata.
21090 (completion-table-with-terminator): Add default case, using
21091 complete-with-action.
21092 (completion--metadata): New function.
21093 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21094 to try and avoid pathological performance problems.
21095 (completion--embedded-envvar-table): Return `category' metadata.
21096
21097 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21098
21099 * subr.el (process-alive-p): New tiny convenience function.
21100
21101 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21102
21103 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21104 content but also its previous major mode.
21105
21106 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
21107
21108 * emacs-lisp/debug.el (debug): Restore the previous content of the
21109 *Backtrace* buffer when we exit with C-M-c.
21110
21111 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21112
21113 * minibuffer.el: Add metadata method to completion tables.
21114 (completion-category-overrides): New defcustom.
21115 (completion-metadata, completion--field-metadata)
21116 (completion-metadata-get, completion--styles)
21117 (completion--cycle-threshold): New functions.
21118 (completion-try-completion, completion-all-completions):
21119 Add `metadata' argument to choose completion-styles.
21120 (completion--do-completion): Use metadata to choose cycling.
21121 (completion-all-sorted-completions): Use metadata for sorting.
21122 Remove :completion-cycle-penalty which is not needed any more.
21123 (completion--try-word-completion): Add `metadata' argument.
21124 (minibuffer-completion-help): Check metadata for annotation function
21125 and sorting.
21126 (completion-file-name-table): Return `category' metadata.
21127 (minibuffer-completing-file-name): Make obsolete.
21128 * simple.el (minibuffer-completing-symbol): Make obsolete.
21129 * icomplete.el (icomplete-completions): Pass new `metadata' param to
21130 completion-try-completion.
21131
21132 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21133
21134 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
21135
21136 2011-05-30 Leo Liu <sdl.web@gmail.com>
21137
21138 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
21139 (rcirc-print): Decode all incoming messages (bug#8744).
21140 (rcirc-decode-coding-system): Allow value nil for automatic coding
21141 system detection.
21142
21143 2011-06-01 Glenn Morris <rgm@gnu.org>
21144
21145 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21146
21147 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21148
21149 * image.el (image-animate-max-time): Allow nil and t values.
21150 Default to nil.
21151 (create-animated-image): Doc fix.
21152 (image-animate-start): Remove second arg; just use
21153 image-animate-max-time.
21154 (image-animate-timeout): Doc fix. Args changed.
21155
21156 * image-mode.el (image-toggle-display-image): Ensure that the
21157 image spec passed to the animate timer is the same object as in
21158 the buffer's display property (Bug#6981).
21159 (image-transform-properties): Doc fix.
21160
21161 * image.el (image-animate-max-time): Default to nil.
21162
21163 2011-05-29 Martin Rudalics <rudalics@gmx.at>
21164
21165 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21166 entire buffer list (Bug#8184).
21167
21168 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21169
21170 * image.el (imagemagick-types-inhibit)
21171 (imagemagick-register-types): Doc fix.
21172
21173 2011-05-29 Deniz Dogan <deniz@dogan.se>
21174
21175 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21176 default.
21177
21178 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21179
21180 * select.el: Don't perform clipboard-manager saving in hooks;
21181 leave the hooks empty.
21182
21183 2011-05-28 Leo Liu <sdl.web@gmail.com>
21184
21185 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21186 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21187 (occur-edit-mode): New major mode (Bug#8463).
21188 (occur-after-change-function): New function.
21189 (occur-engine): Give Occur tags a read-only property.
21190
21191 2011-05-28 Kevin Ryde <user42@zip.com.au>
21192
21193 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21194
21195 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21196
21197 * bindings.el (help-echo): Make the initial non-indicator dash
21198 empty on graphical terminals (Bug#7295).
21199
21200 * files.el (auto-mode-alist): Move config rule after the
21201 in-stripping one (Bug#8547).
21202
21203 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21204
21205 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21206 setting (Bug#8740).
21207
21208 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21209
21210 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21211 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21212 (Bug#8539).
21213
21214 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21215
21216 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21217
21218 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21219
21220 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21221 (hs-hide-block-at-point, hs-find-block-beginning)
21222 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21223 (Bug#8279).
21224
21225 2011-05-28 Glenn Morris <rgm@gnu.org>
21226
21227 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21228
21229 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21230
21231 * help-fns.el (describe-function-1): If the function is a derived
21232 major mode, print the parent mode.
21233
21234 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21235 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21236
21237 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21238
21239 * minibuffer.el (completion--capf-wrapper): Check applicability before
21240 returning non-nil for non-exclusive completion data.
21241 * progmodes/etags.el (tags-completion-at-point-function):
21242 * info-look.el (info-lookup-completions-at-point): Mark as
21243 non-exclusive.
21244 (info-complete): Adjust accordingly.
21245
21246 * info-look.el: Convert to lexical-binding and completion-at-point.
21247 (info-lookup-completions-at-point): New function.
21248 (info-complete): Use it and completion-in-region.
21249
21250 2011-05-28 Drew Adams <drew.adams@oracle.com>
21251
21252 * isearch.el: Let M-e start with point at the first mismatched char.
21253 (isearch-fail-pos): New function.
21254 (isearch-edit-string): Use it.
21255
21256 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21257
21258 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21259
21260 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
21261
21262 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21263 traversal functions for avl-trees.
21264 (avl-tree--stack): New struct.
21265 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21266 (avl-tree-enter): Add optional `updatefun' arg.
21267 (avl-tree--do-enter): Add optional `updatefun' arg.
21268 Change return value.
21269 (avl-tree-delete): Add optional `test' and `nilflag' args.
21270 (avl-tree--do-delete): Add `test' and `nilflag' args.
21271 Change return value.
21272 (avl-tree-member): Add optional `nilflag'
21273 (avl-tree-member-p): New function.
21274 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21275 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21276 (avl-tree-stack-empty-p): New functions.
21277
21278 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21279 avl-tree--del-balance1 and make it work both ways.
21280 (avl-tree--del-balance2): Remove.
21281 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21282 make it work both ways.
21283 (avl-tree--enter-balance2): Remove.
21284 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21285 New macros.
21286 (avl-tree--mapc, avl-tree-map): Add direction argument.
21287
21288 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
21289
21290 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21291
21292 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
21293
21294 * select.el: Support clipboard managers with built-in function
21295 x-clipboard-manager-save, via delete-frame-functions and
21296 kill-emacs-hook.
21297 (xselect-convert-to-targets): Add MULTIPLE target to list.
21298 (xselect-convert-to-save-targets): New function.
21299
21300 2011-05-27 Kenichi Handa <handa@m17n.org>
21301
21302 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21303 let-binding rfc2047-encode-encoded-words to nil.
21304
21305 2011-05-27 Glenn Morris <rgm@gnu.org>
21306
21307 * mail/emacsbug.el: Don't require url-util.
21308
21309 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21310
21311 * files.el (set-auto-mode):
21312 Also respect mode: entries at the end of the file. (Bug#8586)
21313
21314 2011-05-26 Glenn Morris <rgm@gnu.org>
21315
21316 * files.el (hack-local-variables-prop-line, hack-local-variables):
21317 Downcase mode names, as seems to be traditional.
21318 (hack-local-variables, hack-local-variables-apply): Doc fixes.
21319
21320 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21321 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21322
21323 2011-05-25 Julien Danjou <julien@danjou.info>
21324
21325 * textmodes/rst.el (rst-define-level-faces): Do not define face
21326 symbol if it is already defined.
21327
21328 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
21329
21330 * play/5x5.el (5x5-new-game, 5x5-randomize):
21331 Reset 5x5-solver-output to nil when a new grid is cast.
21332 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21333 these debugging traces, as defmacro breaks the compiled code.
21334
21335 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21336
21337 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21338
21339 2011-05-24 Leo Liu <sdl.web@gmail.com>
21340
21341 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21342 (vc-bzr-sha1): Adapt.
21343
21344 * sha1.el: Remove. Function `sha1' is now builtin.
21345
21346 * bindings.el: Provide sha1 feature.
21347
21348 2011-05-24 Kenichi Handa <handa@m17n.org>
21349
21350 * mail/sendmail.el: Require `rfc2047'.
21351 (mail-insert-from-field): Do not perform RFC2047 encoding.
21352 (mail-encode-header): New function.
21353 (sendmail-send-it): Set buffer-file-coding-system of the work
21354 buffer to the return value of select-message-coding-system.
21355 Call mail-encode-header.
21356
21357 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21358
21359 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
21360
21361 * mail/supercite.el (sc-default-cite-frame):
21362 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
21363
21364 2011-05-24 Glenn Morris <rgm@gnu.org>
21365
21366 * progmodes/python.el (brm-menu): Declare.
21367
21368 * emulation/viper.el (viper-set-hooks): Declare.
21369
21370 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
21371 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
21372 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
21373 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
21374 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
21375 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
21376
21377 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21378
21379 Add an :exit-function for completion-at-point.
21380
21381 * minibuffer.el (completion--done): New fun.
21382 (completion--do-completion): Use it. New arg `expect-exact'.
21383 (minibuffer-complete, minibuffer-complete-word): Don't output message,
21384 since completion--do-completion does it for us now.
21385 (minibuffer-force-complete): Use completion--done and
21386 completion--replace. Handle sole-completion case with more care.
21387 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
21388 (completion-extra-properties): New var.
21389 (completion-annotate-function): Make obsolete.
21390 (minibuffer-completion-help): Adjust accordingly.
21391 Use completion-list-insert-choice-function.
21392 (completion-at-point, completion-help-at-point):
21393 Bind completion-extra-properties.
21394 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
21395 * simple.el (completion-list-insert-choice-function): New var.
21396 (completion-setup-function): Preserve it.
21397 (choose-completion): Pay attention to it, shuffle the code a bit.
21398 (choose-completion-string): New arg `insert-function'.
21399
21400 * textmodes/bibtex.el: Convert to lexical binding.
21401 (bibtex-mode-map): Use completion-at-point.
21402 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
21403 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
21404 (bibtex-complete): Define as obsolete alias.
21405 (bibtex-complete-internal): Remove.
21406 (bibtex-format-entry): Remove unused sub-group in regexp.
21407 * shell.el (shell--command-completion-data)
21408 (shell-environment-variable-completion):
21409 * pcomplete.el (pcomplete-completions-at-point):
21410 * comint.el (comint--complete-file-name-data): Use :exit-function
21411 instead of completion-table-with-terminator so it also works for
21412 choose-completion.
21413
21414 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21415
21416 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
21417
21418 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
21419 (bug#8710).
21420
21421 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
21422
21423 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
21424
21425 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
21426 customization variable and implement: If non-nil, auto-fill will
21427 be inhibited while on topic's header line.
21428
21429 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
21430
21431 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
21432 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
21433 always have a solution in grid size = 5 cases.
21434 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
21435 (5x5-solver-output, 5x5-log-buffer): New vars.
21436 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
21437 Make these variables buffer local to achieve 5x5 multi-session-ness.
21438 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
21439 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
21440 (5x5-solve-suggest): New funs.
21441 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
21442 randomize a grid so that we ensure that there is always a solution.
21443 (5x5-make-random-grid): Allow other movement than flipping.
21444
21445 2011-05-23 Kevin Ryde <user42@zip.com.au>
21446
21447 * emacs-lisp/advice.el (ad-read-advised-function):
21448 Use `function-called-at-point' as the default, if it has
21449 advice and passes PREDICATE.
21450
21451 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21452
21453 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
21454 byte-compile-lambda if it's actually a lambda.
21455
21456 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
21457 Fix function quoting. Use backquote better.
21458
21459 2011-05-22 Yuanle Song <sylecn@gmail.com>
21460
21461 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
21462 matching (Bug#8516).
21463
21464 2011-05-22 Jari Aalto <jari.aalto@cante.net>
21465
21466 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
21467 different face (Bug#8178).
21468
21469 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
21470
21471 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
21472 defface (Bug#8144).
21473
21474 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
21475
21476 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
21477 funcall as well (bug#8712). Warn when performing those conversions.
21478 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
21479
21480 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
21481
21482 2011-05-22 Glenn Morris <rgm@gnu.org>
21483
21484 * files.el (hack-local-variables-prop-line): Small simplifications.
21485 (hack-local-variables, hack-local-variables-prop-line):
21486 If MODE-ONLY, return the mode, rather than just `t'.
21487
21488 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
21489
21490 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
21491
21492 2011-05-21 Glenn Morris <rgm@gnu.org>
21493
21494 * files.el (hack-local-variables-prop-line, hack-local-variables):
21495 If only interested in the mode, don't bother doing the other stuff.
21496
21497 * image-mode.el (image-after-revert-hook):
21498 Redraw all frames on which the image is visible. (Bug#8567)
21499
21500 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
21501
21502 * wid-edit.el (widget-checklist-match-inline):
21503 Fix 2011-04-19 change. (Bug#8649)
21504
21505 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
21506
21507 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
21508 Also allow singlespace after single-letter capitals followed by a dot.
21509
21510 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
21511 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
21512
21513 2011-05-20 Nix <nix@esperi.org.uk>
21514
21515 * files.el (basic-save-buffer-2):
21516 Fix handling of break-hardlink-on-save with non-existent files.
21517
21518 2011-05-19 Deniz Dogan <deniz@dogan.se>
21519
21520 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
21521 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
21522
21523 2011-05-19 Glenn Morris <rgm@gnu.org>
21524
21525 * progmodes/f90.el (f90-type-def-re):
21526 Handle "type, bind(c)". (Bug#8691)
21527
21528 * emacs-lisp/autoload.el (batch-update-autoloads):
21529 Set autoload-excludes by parsing loadup.el rather than Makefiles.
21530
21531 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
21532
21533 * net/tramp.el (tramp-process-actions): Set "first-password-request"
21534 property for the correct connection in case of multihops.
21535
21536 2011-05-18 Glenn Morris <rgm@gnu.org>
21537
21538 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
21539 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
21540
21541 Rationalize calendar handling of day and month abbrev-arrays.
21542 * calendar/calendar.el (calendar-customized-p): New function.
21543 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
21544 (calendar-day-name-array, calendar-month-name-array): Doc fix.
21545 Add :set function.
21546 (calendar-abbrev-length, calendar-day-abbrev-array)
21547 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
21548 (calendar-day-abbrev-array, calendar-month-abbrev-array):
21549 Elements may no longer be nil.
21550 (calendar-day-name, calendar-month-name):
21551 Update for changed nature of abbrev arrays.
21552 * calendar/diary-lib.el (diary-name-pattern):
21553 Update for changed nature of abbrev arrays.
21554 (diary-mark-entries-1): Update calendar-make-alist calls.
21555 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
21556 * calendar/cal-html.el (cal-html-day-abbrev-array):
21557 Simply inherit from calendar-day-abbrev-array.
21558
21559 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
21560
21561 * progmodes/grep.el (grep-mode): Disable default
21562 compilation-directory-matcher setting (bug#8684).
21563
21564 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
21565
21566 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
21567 instead of "head" and "tail". There were problems with SunOS 5.9,
21568 and it performs better.
21569
21570 2011-05-17 Glenn Morris <rgm@gnu.org>
21571
21572 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
21573
21574 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
21575 Replace obsolete function.
21576
21577 * shell.el (pcomplete-parse-arguments-function): Declare.
21578
21579 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
21580 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
21581 (appt-check): Doc fixes.
21582 (appt-disp-window-function, appt-delete-window-function):
21583 Remove needless special case in custom :type.
21584 (appt-display-count): Default to 0, not nil.
21585 (appt-check): Reset appt-display-count to 0, not nil.
21586
21587 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
21588
21589 * progmodes/python.el (python-font-lock-keywords):
21590 Add the Python 3.X keyword "nonlocal" (bug#8639).
21591
21592 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
21593
21594 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
21595
21596 2011-05-16 Kevin Ryde <user42@zip.com.au>
21597
21598 * info-look.el (makefile-automake-mode): New setups, looking in
21599 automake manual, then makefile-mode.
21600 (makefile-mode): Remove automake manual, have it just in
21601 makefile-automake-mode since there's various things different or
21602 not relevant to plain make.
21603 (makefile-mode): Remove "other-modes" non-existent automake-mode,
21604 believe a hypothetical automake-mode would go to makefile-mode,
21605 not the other way around.
21606
21607 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
21608
21609 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
21610 hunk-end tags (Bug#8672).
21611
21612 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
21613 vc-annotate-show-diff-revision-at-line (Bug#8671).
21614
21615 2011-05-14 Glenn Morris <rgm@gnu.org>
21616
21617 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
21618 in the middle of an existing one with multiple authors. (Bug#8645)
21619 (change-log-font-lock-keywords): Also handle multiple author lines
21620 with leading tabs. (Bug#8644)
21621
21622 * calendar/appt.el (appt-check): Rename some local variables.
21623 Some simplification/reordering.
21624
21625 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
21626 (feedmail-sendmail-f-doesnt-sell-me-out)
21627 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21628 (feedmail-debug-sit-for, feedmail-queue-express-hook)
21629 (feedmail-queue-runner-message-sender): Set :version.
21630 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
21631 (bbdb-dwim-net-address, vm-mail): Declare.
21632 (feedmail-binmail-gnulinuxish-template):
21633 Rename from feedmail-binmail-linuxish-template.
21634 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
21635 Use insert-buffer-substring.
21636
21637 2011-05-14 Bill Carpenter <bill@carpenter.org>
21638
21639 * mail/feedmail.el (feedmail-patch-level): Increase.
21640 (feedmail-debug): New custom group.
21641 (feedmail-confirm-outgoing-timeout)
21642 (feedmail-sendmail-f-doesnt-sell-me-out)
21643 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21644 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
21645 (feedmail-sender-line, feedmail-from-line)
21646 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
21647 (feedmail-spray-this-address)
21648 (feedmail-spray-address-fiddle-plex-list)
21649 (feedmail-queue-use-send-time-for-date)
21650 (feedmail-queue-use-send-time-for-message-id)
21651 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
21652 (feedmail-buffer-eating-function):
21653 Doc fixes.
21654 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
21655 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
21656 (feedmail-message-action-scroll-down): New functions.
21657 (feedmail-queue-directory, feedmail-queue-draft-directory):
21658 Use expand-file-name.
21659 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
21660 Remove C-v help entry.
21661 (feedmail-queue-buffer-file-name): New variable.
21662 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
21663 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
21664 (feedmail-message-action-send-strong, feedmail-message-action-edit)
21665 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
21666 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
21667 (feedmail-message-action-toggle-spray)
21668 (feedmail-run-the-queue-no-prompts)
21669 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
21670 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
21671 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
21672 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
21673 (feedmail-envelope-deducer, feedmail-fiddle-from)
21674 (feedmail-fiddle-sender, feedmail-default-date-generator)
21675 (feedmail-fiddle-date, feedmail-fiddle-message-id)
21676 (feedmail-fiddle-spray-address)
21677 (feedmail-fiddle-list-of-spray-fiddle-plexes)
21678 (feedmail-fiddle-list-of-fiddle-plexes)
21679 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
21680 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
21681 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
21682 Change default. Doc fix.
21683 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
21684 (feedmail-binmail-linuxish-template): New constant.
21685 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
21686 Respect feedmail-sendmail-f-doesnt-sell-me-out.
21687 (feedmail-send-it): Add debug call.
21688 Use feedmail-queue-buffer-file-name, and
21689 feedmail-send-it-immediately-wrapper.
21690 (feedmail-message-action-send): Add debug call.
21691 Use feedmail-send-it-immediately-wrapper.
21692 (feedmail-queue-express-to-queue): Add debug call.
21693 Run feedmail-queue-express-hook.
21694 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
21695 (feedmail-message-action-help-blat):
21696 Rename from feedmail-queue-send-edit-prompt-help-first.
21697 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
21698 Check line-endings. Handle errors better.
21699 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
21700 Doc fix. Add debug call.
21701 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
21702 Use feedmail-queue-send-edit-prompt-inner.
21703 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
21704 (feedmail-queue-send-edit-prompt-inner): New function, extracted
21705 from feedmail-queue-send-edit-prompt.
21706 (feedmail-queue-send-edit-prompt-help)
21707 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
21708 (feedmail-tidy-up-slug): Add debug call.
21709 Respect feedmail-queue-slug-suspect-regexp.
21710 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
21711 (feedmail-dump-message-to-queue): Add debug call.
21712 Expand queue-directory.
21713 (feedmail-dump-message-to-queue): Change message slightly.
21714 Use feedmail-say-chatter.
21715 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
21716 (feedmail-send-it-immediately-wrapper): New function.
21717 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
21718 Insert empty string rather than newline. Handle full-frame case.
21719 Use catch/throw. Use feedmail-say-chatter.
21720 (feedmail-fiddle-from): Try mail-host-address.
21721 (feedmail-default-message-id-generator): Doc fix.
21722 Bind system-time-locale. Handle missing end.
21723 (feedmail-fiddle-x-mailer): Add debug call.
21724 Handle feedmail-x-mailer-line being nil.
21725 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
21726 Add debug call. Use buffer-substring-no-properties.
21727 (feedmail-say-debug, feedmail-say-chatter): New functions.
21728 (feedmail-find-eoh): Give an explicit error.
21729
21730 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
21731
21732 * net/newst-treeview.el (newsticker-treeview-face): Change default
21733 family from helvetica to sans.
21734 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
21735 etc/images/newsticker.
21736
21737 * net/newst-reader.el (newsticker-feed-face): Change default
21738 family from helvetica to sans.
21739
21740 * net/newst-plainview.el (newsticker-new-item-face)
21741 (newsticker-old-item-face, newsticker-immortal-item-face)
21742 (newsticker-obsolete-item-face, newsticker-date-face)
21743 (newsticker-statistics-face): Change default family from
21744 helvetica to sans.
21745 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
21746 etc/images/newsticker.
21747
21748 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
21749 (newsticker--process-auto-mark-filter-match): Tell user about
21750 auto-marking.
21751
21752 2011-05-13 Didier Verna <didier@xemacs.org>
21753
21754 Common Lisp indentation improvements on defmethod and lambda-lists.
21755 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
21756 TODO entries.
21757 (lisp-lambda-list-keyword-parameter-indentation)
21758 (lisp-lambda-list-keyword-parameter-alignment)
21759 (lisp-lambda-list-keyword-alignment): New customizable user options.
21760 (lisp-indent-defun-method): Improve docstring.
21761 (extended-loop-p): Fix comment.
21762 (lisp-indent-lambda-list-keywords-regexp): New variable.
21763 (lisp-indent-lambda-list): New function.
21764 (lisp-indent-259): Use it.
21765 (lisp-indent-defmethod): Support for more than one
21766 method qualifier and properly indent methods lambda-lists.
21767 (defgeneric): Provide a missing common-lisp-indent-function property.
21768
21769 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
21770
21771 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
21772 bounds for the empty string (bug#8667).
21773
21774 2011-05-13 Glenn Morris <rgm@gnu.org>
21775
21776 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
21777
21778 * mail/sendmail.el (sendmail-program): Try executable-find first.
21779 (sendmail-send-it): `sendmail-program' cannot be unbound.
21780
21781 * calendar/appt.el (appt-make-list): Simplify.
21782 (appt-time-msg-list): Doc fix.
21783 (appt-check): Change mode-line message at the time of the appointment.
21784
21785 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
21786
21787 * progmodes/ld-script.el (ld-script-keywords)
21788 (ld-script-builtins): Update keywords list.
21789
21790 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21791
21792 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
21793
21794 * shell.el (shell-completion-vars): New function.
21795 (shell-mode):
21796 * simple.el (read-shell-command): Use it.
21797 (blink-matching-open): No need for " [...]" in minibuffer-message.
21798
21799 2011-05-12 Glenn Morris <rgm@gnu.org>
21800
21801 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
21802 (appt-check): Simplify.
21803
21804 2011-05-12 Eli Zaretskii <eliz@gnu.org>
21805
21806 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
21807 literal "/dev/null".
21808
21809 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21810
21811 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
21812 Fix typo.
21813
21814 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
21815
21816 * progmodes/which-func.el (which-function):
21817 Use add-log-current-defun instead of add-log-current-defun-function,
21818 which might not be defined (Bug#8260).
21819
21820 2011-05-12 Glenn Morris <rgm@gnu.org>
21821
21822 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
21823 Let byte-compile-initial-macro-environment always take precedence.
21824
21825 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21826
21827 * net/rcirc.el: Add support for SSL/TLS connections.
21828 (rcirc-server-alist): New field `encryption'.
21829 (rcirc): Check `encryption' settings.
21830 (rcirc-connect): New arg `encryption'. Use open-network-stream.
21831 Merge make-local-variable into `set'.
21832 (rcirc--connection-open-p): New function.
21833 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
21834 the process is not a network process (e.g. running gnutls-cli).
21835 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
21836 Make rcirc-(en|de)code-coding-system local here.
21837 (rcirc-mode): Merge make-local-variable into `set'.
21838 (rcirc-parent-buffer): Make permanent buffer-local.
21839 (rcirc-multiline-minor-mode): Don't do it here.
21840 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
21841 there's no server buffer.
21842
21843 2011-05-11 Glenn Morris <rgm@gnu.org>
21844
21845 * newcomment.el (comment-kill): Prefix "unused" local.
21846
21847 * term/w32console.el (get-screen-color): Declare.
21848
21849 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
21850 Handle symbol elements of byte-compile-initial-macro-environment.
21851
21852 2011-05-10 Leo Liu <sdl.web@gmail.com>
21853
21854 * bookmark.el (bookmark-bmenu-mode-map):
21855 Bind bookmark-bmenu-search to `/'.
21856
21857 * mail/footnote.el: Convert to utf-8 encoding.
21858 (footnote-unicode-string, footnote-unicode-regexp): New variable.
21859 (Footnote-unicode): New function.
21860 (footnote-style-alist): Add unicode style to the list.
21861 (footnote-style): Doc fix.
21862
21863 2011-05-10 Jim Meyering <meyering@redhat.com>
21864
21865 Fix doubled-word typos.
21866 * international/quail.el (quail-insert-kbd-layout): and and -> and
21867 * kermit.el: and and -> and
21868 * net/ldap.el (ldap-search-internal): to to -> to
21869 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
21870 * progmodes/js.el (js-mode): and and -> and
21871 * textmodes/artist.el (artist-move-to-xy): at at -> at
21872 (artist-draw-region-trim-line-endings): if if -> if
21873 And Safetyc -> Safety.
21874 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
21875
21876 2011-05-10 Glenn Morris <rgm@gnu.org>
21877 Stefan Monnier <monnier@iro.umontreal.ca>
21878
21879 * files.el (hack-one-local-variable-eval-safep):
21880 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
21881
21882 2011-05-10 Glenn Morris <rgm@gnu.org>
21883
21884 * calendar/diary-lib.el (diary-list-entries-hook)
21885 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
21886 (diary-nongregorian-marking-hook, diary-list-entries)
21887 (diary-include-other-diary-files, diary-mark-entries)
21888 (diary-mark-included-diary-files): Doc fixes.
21889
21890 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
21891
21892 * misc.el: Require tabulated-list.el during compilation.
21893
21894 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
21895
21896 * progmodes/compile.el (compilation-start):
21897 Run compilation-filter-hook for the async case too.
21898 (compilation-filter-hook): Doc fix.
21899
21900 2011-05-09 Deniz Dogan <deniz@dogan.se>
21901
21902 * wdired.el: Remove outdated installation comment. Fix usage
21903 comment.
21904
21905 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
21906
21907 * misc.el: Implement new command `list-dynamic-libraries'.
21908 (list-dynamic-libraries--loaded-only-p): New variable.
21909 (list-dynamic-libraries--refresh): New function.
21910 (list-dynamic-libraries): New command.
21911
21912 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
21913
21914 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21915 Fix the ant regexp to handle end-line and end-column info from jikes.
21916 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
21917 higher priority to avoid clobbering by gnu.
21918
21919 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
21920
21921 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
21922 if the face has existing theme settings (Bug#8454).
21923
21924 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
21925
21926 * progmodes/perl-mode.el (perl-imenu-generic-expression):
21927 Only match variables declared via `my' or `our' (Bug#8261).
21928
21929 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
21930 special file names `.' and `..' (Bug#8259).
21931
21932 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
21933
21934 * progmodes/grep.el (grep-mode-font-lock-keywords):
21935 Remove buffer-changing entries.
21936 (grep-filter): New function.
21937 (grep-mode): Add it to compilation-filter-hook.
21938
21939 * progmodes/compile.el (compilation-filter-hook)
21940 (compilation-filter-start): New defvars.
21941 (compilation-filter): Call compilation-filter-hook prior to
21942 updating the process mark.
21943
21944 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
21945
21946 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
21947
21948 2011-05-07 Eli Zaretskii <eliz@gnu.org>
21949
21950 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
21951 mailclient-send-it even if window-system is nil. (Bug#8595)
21952
21953 * term/w32console.el (terminal-init-w32console):
21954 Call get-screen-color and use its output to set the frame
21955 background-mode. (Bug#8597)
21956
21957 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
21958
21959 Make bytecomp.el understand that defmethod defines funs (bug#8631).
21960 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
21961 New functions.
21962 (defgeneric, eieio--defmethod): Use them.
21963 (eieio-defgeneric): Remove.
21964 (defmethod): Call defgeneric in a way visible to the byte-compiler.
21965
21966 2011-05-07 Glenn Morris <rgm@gnu.org>
21967
21968 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
21969 Use let rather than let*.
21970 (timeclock-find-discrep): Remove unused local.
21971
21972 * calendar/diary-lib.el (diary-comment-start): Doc fix.
21973
21974 * calendar/appt.el (appt-time-msg-list): Doc fix.
21975
21976 2011-05-06 Noah Friedman <friedman@splode.com>
21977
21978 * apropos.el (apropos-print-doc): Only use
21979 emacs-lisp-docstring-fill-column when it is bound to an integer,
21980 per that variable's documentation.
21981
21982 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
21983
21984 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
21985 and warnings are not silently discarded (e.g. use -d instead of -P).
21986
21987 2011-05-06 Glenn Morris <rgm@gnu.org>
21988
21989 * calendar/appt.el (appt-message-warning-time): Doc fix.
21990 (appt-warning-time-regexp): New option.
21991 (appt-make-list): Respect appt-message-warning-time.
21992
21993 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
21994 New options.
21995 (diary-add-to-list): Strip comments from the displayed string.
21996 (diary-mode): Set comment-start and comment-end.
21997
21998 * vc/diff-mode.el (smerge-refine-subst): Declare.
21999 (diff-refine-hunk): Don't require smerge-mode when compiling.
22000
22001 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
22002
22003 * simple.el (list-processes): Return nil as the docstring says.
22004
22005 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22006
22007 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22008 to "".
22009 (ange-ftp-write-region, ange-ftp-insert-file-contents)
22010 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22011 determining of binary transfer. (Bug#7383)
22012
22013 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22014
22015 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22016 Fix port computation bug. (Bug#8618)
22017
22018 2011-05-05 Glenn Morris <rgm@gnu.org>
22019
22020 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22021
22022 * simple.el (shell-dynamic-complete-functions)
22023 (comint-dynamic-complete-functions): Declare.
22024
22025 * net/network-stream.el (gnutls-negotiate):
22026 * simple.el (tabulated-list-print): Fix declarations.
22027
22028 * progmodes/gud.el (syntax-symbol, syntax-point):
22029 Remove unnecessary and incorrect declarations.
22030
22031 * emacs-lisp/check-declare.el (check-declare-scan):
22032 Handle byte-compile-initial-macro-environment in bytecomp.el.
22033
22034 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22035
22036 Fix earlier half-done eieio-defmethod change (bug#8338).
22037 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22038 Streamline and change calling convention.
22039 (defmethod): Adjust accordingly and simplify.
22040 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22041 new eieio--defmethod.
22042 (slot-boundp): Minor CSE simplification.
22043
22044 2011-05-05 Milan Zamazal <pdm@zamazal.org>
22045
22046 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22047 (glasses-make-readable): Use glasses-separate-capital-groups.
22048
22049 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
22050
22051 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22052 (warning-series): Doc fix.
22053 (display-warning): Don't try to create the buffer if we just found it.
22054
22055 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
22056
22057 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22058 (autoload-find-generated-file): New function.
22059 (generate-file-autoloads): Bind generated-autoload-file to
22060 buffer-file-name.
22061 (update-file-autoloads, update-directory-autoloads):
22062 Use autoload-find-generated-file. If called interactively, prompt for
22063 output file (Bug#7989).
22064 (batch-update-autoloads): Doc fix.
22065
22066 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
22067
22068 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22069
22070 2011-05-04 Glenn Morris <rgm@gnu.org>
22071
22072 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22073 function, so it follows changes in calendar-date-style.
22074 (diary-fancy-date-matcher): New function.
22075 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22076 (diary-fancy-font-lock-fontify-region-function):
22077 Use diary-fancy-date-pattern as a function.
22078
22079 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22080 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22081
22082 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22083
22084 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22085 instead of positional arguments. Allow :keylist and :crlfiles
22086 arguments.
22087 (open-gnutls-stream): Call it.
22088
22089 * net/network-stream.el (network-stream-open-starttls): Adjust to
22090 call `gnutls-negotiate' with :process and :hostname arguments.
22091
22092 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22093
22094 * minibuffer.el (completion--message): New function.
22095 (completion--do-completion, minibuffer-complete)
22096 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22097 (completion--do-completion): Don't ignore completion-auto-help when in
22098 icomplete-mode.
22099
22100 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22101 internal encoding (e.g. tibetan zero is not whitespace).
22102 (global-whitespace-mode): Prefer save-current-buffer.
22103 (whitespace-trailing-regexp): Remove useless save-match-data.
22104 (whitespace-empty-at-bob-regexp): Minor simplification.
22105
22106 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
22107
22108 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22109
22110 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22111
22112 * textmodes/ispell.el (ispell-add-per-file-word-list):
22113 Use `concat' to create string for insertion.
22114
22115 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22116
22117 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22118 Avoid open-line which runs post-self-insert-hook.
22119 (bibtex-fill-entry): Remove unused `end' var.
22120
22121 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22122
22123 * textmodes/ispell.el (ispell-add-per-file-word-list):
22124 Protect against `nil' value of `comment-start' (Bug#8579).
22125
22126 2011-05-03 Leo Liu <sdl.web@gmail.com>
22127
22128 * isearch.el (isearch-yank-pop): New command.
22129 (isearch-mode-map): Bind it to `M-y'.
22130 (isearch-forward): Mention it.
22131
22132 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22133
22134 * simple.el (minibuffer-complete-shell-command): Remove.
22135 (minibuffer-local-shell-command-map): Use completion-at-point.
22136 (read-shell-command): Setup completion vars here instead.
22137 (read-expression-map): Bind TAB to symbol completion.
22138
22139 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
22140 error directly rather via storing it into `results'.
22141
22142 2011-05-02 Leo Liu <sdl.web@gmail.com>
22143
22144 * vc/diff.el: Fix description.
22145
22146 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22147
22148 * server.el (server-eval-at): New function.
22149
22150 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22151
22152 * net/network-stream.el (open-network-stream): Take a :nowait
22153 parameter and pass it on to `make-network-process'.
22154 (network-stream-open-plain): Ditto.
22155
22156 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
22157
22158 * faces.el (face-spec-set-match-display): Don't match toolkit
22159 options on terminal frames.
22160
22161 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22162
22163 * progmodes/pascal.el: Use lexical binding.
22164 (pascal-mode-map): Remove author preferences.
22165
22166 * pcomplete.el (pcomplete-std-complete): Don't abuse
22167 completion-at-point.
22168
22169 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22170
22171 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22172 removing code that has been dead since 1991 or so.
22173
22174 * startup.el (command-line): When warning about "_emacs", use a
22175 delayed warning to allow the user to filter it out.
22176
22177 2011-04-28 Deniz Dogan <deniz@dogan.se>
22178
22179 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22180 user has not joined.
22181
22182 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22183
22184 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22185 aren't any completions at point.
22186
22187 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22188
22189 * subr.el (display-delayed-warnings): New function.
22190 (delayed-warnings-hook): New variable.
22191
22192 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22193
22194 * minibuffer.el (completion-at-point, completion-help-at-point):
22195 Don't presume that a given completion-at-point-function will always
22196 use the same calling convention.
22197
22198 * pcomplete.el (pcomplete-completions-at-point):
22199 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22200 pcomplete-seen is non-nil.
22201 (pcomplete-comint-setup): Also recognize the new comint/shell
22202 completion functions.
22203 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22204 pcomplete-seen is non-nil.
22205
22206 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
22207
22208 * calendar/icalendar.el (diary-lib): Add require statement.
22209 (icalendar--create-uid): Read out a uid from a text-property on
22210 the first character in the entry. This allows for code to add its
22211 own uid to the entry.
22212 (icalendar--convert-float-to-ical): Add export of
22213 `diary-float'-entries save for those with the optional DAY
22214 argument.
22215
22216 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22217
22218 * subr.el (shell-quote-argument): Use alternate escaping strategy
22219 when we spot a variable reference in a string.
22220
22221 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22222
22223 * cus-start.el (all): Define customization for debug-on-event.
22224
22225 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22226
22227 * subr.el (shell-quote-argument): Escape correctly under Windows.
22228
22229 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22230
22231 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22232
22233 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
22234
22235 * net/tramp.el (tramp-process-actions): Add POS argument.
22236 Delete region between POS and (pos).
22237
22238 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22239 Use `nil' position in `tramp-process-actions' call.
22240 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22241
22242 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22243 position in `tramp-process-actions' call.
22244
22245 * net/trampver.el: Update release number.
22246
22247 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22248
22249 * custom.el (defcustom): Obey lexical-binding.
22250
22251 Fix octave-inf completion problems reported by Alexander Klimov.
22252 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22253 Inherit from octave-mode-syntax-table.
22254 (inferior-octave-mode): Set info-lookup-mode.
22255 (inferior-octave-completion-at-point): New function.
22256 (inferior-octave-complete): Use it and completion-in-region.
22257 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22258 comint-filename-completion.
22259 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22260 symbol elements which shouldn't be word elements.
22261 (octave-font-lock-keywords, octave-beginning-of-defun)
22262 (octave-function-header-regexp): Adjust regexps accordingly.
22263 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22264
22265 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
22266
22267 * net/gnutls.el (gnutls-errorp): Declare before first use.
22268
22269 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22270
22271 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22272 verify-error, and verify-hostname-error parameters. Check whether
22273 default trustfile exists before going to use it. Add missing
22274 argument to gnutls-message-maybe call. Return value.
22275 Reported by Claudio Bley <claudio.bley@gmail.com>.
22276 (open-gnutls-stream): Add usage example.
22277
22278 * net/network-stream.el (network-stream-open-starttls): Give host
22279 parameter to `gnutls-negotiate'.
22280 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
22281 * subr.el (shell-quote-argument): Escape correctly under Windows.
22282
22283 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
22284
22285 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22286 Use correct match group (bug#8438).
22287
22288 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22289
22290 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22291 (package-menu--generate): New arg specifying packages to show.
22292 (package-menu-refresh, package-menu-execute, list-packages):
22293 Callers changed.
22294 (package-show-package-list): New function, replacing deleted
22295 package--list-packages (renamed because it is non-internal).
22296
22297 * finder.el (finder-list-matches): Use package-show-package-list
22298 instead of deleted package--list-packages.
22299
22300 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22301 Based on a previous implementation by Juanma Barranquero (Bug#8366).
22302 (vc-annotate-mode-map): Bind it to RET.
22303
22304 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22305
22306 * progmodes/etags.el (next-file): Don't use set-buffer to change
22307 buffers (Bug#8478).
22308
22309 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22310
22311 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22312
22313 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22314 (apropos-accumulator): Doc fix.
22315 (apropos-function, apropos-macro, apropos-command)
22316 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22317 (apropos-plist): Add face property.
22318 (apropos-symbols-internal): Fix indentation.
22319 (apropos-print): Simplify help, and recognize apropos-multi-type.
22320 (apropos-print-doc): Use button-type-get to extract the button's
22321 face property. Fill docstring (Bug#8352).
22322
22323 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
22324
22325 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22326
22327 * play/mpuz.el (mpuz-silent): Doc fix.
22328 (mpuz-mode-map): Use mapc.
22329 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22330 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22331 Fix typos in docstrings.
22332
22333 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22334 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22335
22336 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22337
22338 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
22339
22340 * minibuffer.el (completion--do-completion): Avoid the "Next char
22341 not unique" prompt if icomplete-mode is enabled (Bug#5849).
22342
22343 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22344 mouse-2 into unread-command-events, it is interpreted correctly.
22345
22346 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
22347 (image-toggle-display): Doc fix.
22348
22349 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
22350
22351 * textmodes/page.el (what-page): Use line-number-at-pos to
22352 calculate line number (Bug#6825).
22353
22354 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22355
22356 * eshell/esh-mode.el (find-tag-interactive): Declare function.
22357 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22358 Pass argument NO-DEFAULT to `find-tag-interactive'.
22359
22360 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22361
22362 Lexical-binding cleanup.
22363
22364 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22365 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22366 * progmodes/ada-prj.el (ada-prj-initialize-values)
22367 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22368 (ada-prj-show-value):
22369 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
22370 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
22371 (antlr-invalidate-context-cache, antlr-options-menu-filter)
22372 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
22373 * progmodes/bug-reference.el (bug-reference-push-button):
22374 * progmodes/fortran.el (fortran-line-length):
22375 * progmodes/glasses.el (glasses-change):
22376 * progmodes/octave-mod.el (octave-fill-paragraph):
22377 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
22378 (python-pdbtrack-grub-for-buffer, python-sentinel):
22379 * progmodes/sql.el (sql-save-connection):
22380 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
22381 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
22382 Mark unused parameters.
22383
22384 * progmodes/compile.el (compilation--flush-directory-cache)
22385 (compilation--flush-parse, compile-internal): Mark unused parameters.
22386 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
22387 (compilation-next-error-function): Remove unused variable `timestamp'.
22388
22389 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
22390 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
22391
22392 * progmodes/dcl-mode.el (dcl-end-of-command):
22393 Remove unused variable `start'.
22394 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
22395 (dcl-option-value-basic, dcl-option-value-offset)
22396 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
22397 Mark unused parameters.
22398 (dcl-save-local-variable): Remove unused variable `val'.
22399 (mode): Declare.
22400
22401 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
22402 Mark unused parameters.
22403 (delphi-ignore-changes): Move before first use.
22404 (delphi-charset-token-at): Remove unused variable `start'.
22405 (delphi-else-start): Remove unused variable `if-count'.
22406 (delphi-comment-block-start, delphi-comment-block-end):
22407 Remove unused variable `kind'.
22408 (delphi-indent-line): Remove unused variable `new-point'.
22409
22410 * progmodes/ebrowse.el (ebrowse-files-list)
22411 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
22412 Mark unused parameters. Don't quote `lambda'.
22413 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
22414 Don't quote `lambda'.
22415 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
22416 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
22417 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
22418 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
22419 Use `ignore-errors'.
22420 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
22421 (ebrowse-view/find-file-and-search-pattern)
22422 (ebrowse-view/find-member-declaration/definition):
22423 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
22424 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
22425 Rename parameter PREFIX-ARG to PREFIX.
22426 (ebrowse-tags-read-name): Remove unused variables `start' and
22427 `member-info'.
22428 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
22429 to `tags-file'.
22430
22431 * progmodes/etags.el (local-find-tag-hook): Declare.
22432 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
22433 Mark unused parameters.
22434
22435 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
22436 (executable-interpret): Mark unused parameter.
22437
22438 * progmodes/flymake.el (flymake-process-sentinel)
22439 (flymake-after-change-function)
22440 (flymake-create-temp-with-folder-structure)
22441 (flymake-get-include-dirs-dot): Mark unused parameters.
22442 (flymake-safe-delete-directory): Remove unused variable `err'.
22443
22444 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
22445 (speedbar-timer-fn, speedbar-line-text)
22446 (speedbar-change-expand-button-char, speedbar-delete-subblock)
22447 (speedbar-center-buffer-smartly): Declare functions.
22448 (gdb-find-watch-expression): Remove unused variable `array'.
22449 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
22450 (gdb-starting): Mark unused parameters.
22451 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
22452 (gdb-table-string): Remove unused variable `res'.
22453 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
22454 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
22455 (gdb-display-buffer): Remove unused variable `cur-size'.
22456
22457 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
22458 allow lexical-binding compilation.
22459 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
22460 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
22461 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
22462 Mark unused parameters.
22463 (gud-gdb-marker-filter): Remove unused variable `match'.
22464 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
22465 lambda expressions and funcall them, instead of using `fset'.
22466
22467 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
22468 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
22469
22470 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
22471 variable `header-beg'; use `let'.
22472
22473 * progmodes/icon.el (indent-icon-exp): Remove unused variables
22474 `restart', `last-sexp' and `at-do'.
22475
22476 * progmodes/js.el (js--debug): Mark unused parameter.
22477 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
22478 (js--splice-into-items): Remove unused variable `item'.
22479 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
22480
22481 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
22482 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
22483 (makefile-complete): Remove unused variable `try'.
22484 (makefile-fill-paragraph, makefile-match-function-end):
22485 Mark unused parameters.
22486
22487 * progmodes/octave-inf.el (inferior-octave-complete):
22488 Remove unused variable `proc'.
22489 (inferior-octave-output-digest): Mark unused parameter.
22490
22491 * progmodes/perl-mode.el (perl-calculate-indent):
22492 Remove unused variable `err'.
22493
22494 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
22495 (prolog-indent-line): Mark unused parameters.
22496 (prolog-indent-line): Remove unused variable `beg'.
22497
22498 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
22499 (reporter-dont-compact-list): Declare.
22500
22501 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
22502 Remove unused variable `char'.
22503 (sh-debug): Mark unused parameter.
22504 (sh-get-indent-info): Remove unused variable `start'.
22505 (sh-calculate-indent): Remove unused variable `var'.
22506
22507 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
22508 (simula-electric-keyword): Remove unused variable `null'.
22509 (simula-search-backward, simula-search-forward): Remove unused
22510 variables `begin' and `end'.
22511
22512 * progmodes/vera-mode.el (vera-guess-basic-syntax):
22513 Remove unused variable `pos'.
22514 (vera-electric-tab, vera-comment-uncomment-region):
22515 Mark unused parameters.
22516 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
22517
22518 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
22519
22520 * emacs-lisp/package.el (package--builtins, package-alist)
22521 (package-load-descriptor, package-built-in-p, package-activate)
22522 (define-package, package-installed-p)
22523 (package-compute-transaction, package-buffer-info)
22524 (package--push): Doc fix. Distinguish more clearly between
22525 version strings and version lists.
22526
22527 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
22528
22529 Lexical-binding cleanup.
22530
22531 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
22532 (5x5-make-mutate-best):
22533 * play/fortune.el (fortune-in-buffer):
22534 * play/gomoku.el (gomoku-init-display):
22535 * play/solitaire.el (solitaire, solitaire-do-check):
22536 * play/tetris.el (tetris-default-update-speed-function):
22537 Mark unused parameters.
22538
22539 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
22540 (bubbles--shift): Remove unused variable `char-org'.
22541 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
22542 (bubbles--show-images): Remove unused variable `char'.
22543
22544 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
22545 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
22546 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
22547 (decipher-analyze-buffer): Use ?\s.
22548 (decipher-make-checkpoint): Remove unused variable `mapping'.
22549
22550 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
22551
22552 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
22553 Remove unused variable `result'; use `let'.
22554
22555 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
22556 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
22557 (gametree-children-shown-p, gametree-compute-reduced-score):
22558 Use `ignore-errors'.
22559
22560 * play/handwrite.el (ps-lpr-switches): Declare.
22561 (handwrite): Remove unused variables `pmin' and `lastp'.
22562
22563 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
22564
22565 * play/landmark.el (landmark-init-display)
22566 (landmark-update-naught-weights): Mark unused parameters.
22567 (landmark-y): Remove unused variable `noise'. Simplify.
22568 (landmark-human-plays): Remove unused variable `score'.
22569
22570 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
22571 (mpuz-try-proposal): Remove unused variable `game'.
22572
22573 * play/zone.el (life-patterns): Declare.
22574
22575 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
22576
22577 * vc/vc.el (ediff-vc-internal): Declare function.
22578
22579 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22580
22581 * shell.el: Use lexical-binding and std completion UI.
22582 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
22583 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
22584 comint-preoutput-filter-functions rather than on
22585 comint-output-filter-functions.
22586 (shell-command-completion, shell--command-completion-data)
22587 (shell-filename-completion, shell-environment-variable-completion)
22588 (shell-c-a-p-replace-by-expanded-directory): New functions.
22589 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
22590 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
22591 (shell-dynamic-complete-environment-variable): Use them.
22592 (shell-dynamic-complete-as-environment-variable)
22593 (shell-dynamic-complete-as-command): Remove.
22594 (shell-match-partial-variable): Match past point.
22595 * comint.el: Clean up use of completion-at-point-functions.
22596 (comint-completion-at-point): New function.
22597 (comint-mode): Use it completion-at-point-functions.
22598 (comint-dynamic-complete): Make it obsolete.
22599 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
22600 (comint-c-a-p-replace-by-expanded-history): New function.
22601 (comint-dynamic-complete-functions)
22602 (comint-replace-by-expanded-history): Use it.
22603 * minibuffer.el (completion-table-with-terminator): Allow dynamic
22604 termination strings. Try harder to avoid second try-completion.
22605 (completion-in-region-mode-map): Disable bindings that don't work yet.
22606
22607 * comint.el: Use lexical-binding. Require CL.
22608 (comint-dynamic-complete-functions): Use comint-filename-completion.
22609 (comint-completion-addsuffix): Tweak custom type.
22610 (comint-filename-completion, comint--common-suffix)
22611 (comint--common-quoted-suffix, comint--table-subvert)
22612 (comint--complete-file-name-data): New functions.
22613 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
22614 (comint-dynamic-list-filename-completions): Use them.
22615 (comint-dynamic-simple-complete): Make obsolete.
22616
22617 * minibuffer.el (completion-in-region-mode):
22618 Keep completion-in-region-mode--predicate global.
22619 (completion-in-region--postch):
22620 Assume completion-in-region-mode--predicate is not null.
22621
22622 * progmodes/flymake.el (flymake-start-syntax-check-process):
22623 Obey `dir'. Simplify.
22624
22625 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
22626 we're in VC after all.
22627
22628 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
22629
22630 * vc/vc.el (vc-diff-build-argument-list-internal)
22631 (vc-version-ediff, vc-ediff): New commands.
22632 (vc-version-diff): Use vc-diff-build-argument-list-internal.
22633
22634 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22635
22636 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
22637 add sanity check.
22638
22639 * obsolete/erc-hecomplete.el: Make obsolete.
22640 * obsolete/: Standardize obsolescence info in the header.
22641
22642 2011-04-20 Glenn Morris <rgm@gnu.org>
22643
22644 * calendar/solar.el (solar-horizontal-coordinates):
22645 Use the longitude argument rather than `calendar-longitude'.
22646 (solar-date-next-longitude): Remove unused locals.
22647
22648 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
22649
22650 * whitespace.el: New version 13.2.1.
22651
22652 2011-04-20 felix <EmacsWiki> (tiny change)
22653
22654 * whitespace.el (global-whitespace-mode): Keep highlight when
22655 switching between major modes on a file.
22656
22657 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
22658
22659 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
22660 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
22661 multi-line comments as well.
22662
22663 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
22664
22665 Lexical-binding cleanup.
22666
22667 * arc-mode.el (archive-mode-revert):
22668 * cmuscheme.el (scheme-interactively-start-process):
22669 * custom.el (custom-initialize-delay):
22670 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
22671 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
22672 * emacs-lock.el (emacs-lock-clear-sentinel):
22673 * ezimage.el (defezimage):
22674 * follow.el (follow-avoid-tail-recenter):
22675 * fringe.el (set-fringe-mode-1):
22676 * generic-x.el (bat-generic-mode-compile):
22677 * help-mode.el (help-info-variable, help-do-xref)
22678 (help-mode-revert-buffer):
22679 * help.el (view-emacs-todo):
22680 * iswitchb.el (iswitchb-completion-help):
22681 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
22682 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
22683 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
22684 * locate.el (locate-update):
22685 * longlines.el (longlines-encode-region)
22686 (longlines-after-change-function):
22687 * outline.el (outline-isearch-open-invisible):
22688 * ps-def.el (declare-function, charset-dimension, char-width)
22689 (encode-char):
22690 * ps-mule.el (ps-mule-plot-string):
22691 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
22692 (recentf-edit-list-select, recentf-edit-list-validate)
22693 (recentf-open-files-action):
22694 * rect.el (delete-whitespace-rectangle-line)
22695 (rectangle-number-line-callback):
22696 * register.el (window-configuration-to-register)
22697 (frame-configuration-to-register):
22698 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
22699 * select.el (xselect-convert-to-string, xselect-convert-to-length)
22700 (xselect-convert-to-targets, xselect-convert-to-delete)
22701 (xselect-convert-to-filename, xselect-convert-to-charpos)
22702 (xselect-convert-to-lineno, xselect-convert-to-colno)
22703 (xselect-convert-to-os, xselect-convert-to-host)
22704 (xselect-convert-to-user, xselect-convert-to-class)
22705 (xselect-convert-to-name, xselect-convert-to-integer)
22706 (xselect-convert-to-atom, xselect-convert-to-identity):
22707 * subr.el (declare, ignore, process-kill-without-query)
22708 (text-clone-maintain):
22709 * terminal.el (te-get-char, te-tic-sentinel):
22710 * tool-bar.el (tool-bar-make-keymap):
22711 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
22712 * type-break.el (type-break-mode, type-break-noninteractive-query):
22713 * view.el (View-back-to-mark):
22714 * wid-browse.el (widget-browse-action, widget-browse-widget)
22715 (widget-browse-widgets, widget-browse-sexp):
22716 * widget.el (define-widget-keywords):
22717 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
22718 Mark unused parameters.
22719
22720 * align.el (align-adjust-col-for-rule): Mark unused parameter.
22721 (align-areas): Remove unused variable `look'.
22722 (align-region): Remove unused variables `real-end' and `pos-list'.
22723
22724 * apropos.el (apropos-score-doc): Remove unused variable `i'.
22725
22726 * bindings.el (mode-line-modified, mode-line-remote):
22727 Mark unused parameters.
22728 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
22729
22730 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
22731 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
22732
22733 * comint.el (comint-history-isearch-pop-state)
22734 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
22735 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
22736 (comint-substitute-in-file-name): Doc fix.
22737
22738 * completion.el (cmpl-statistics-block): Mark unused parameter.
22739 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
22740 (save-completions-to-file, load-completions-from-file):
22741 Remove unused local variable `e'.
22742
22743 * composite.el (compose-chars): Remove unused variable `len'.
22744 (lgstring-insert-glyph): Remove unused variable `g'.
22745 (compose-glyph-string): Remove unused variables `ascent',
22746 `descent', `lbearing' and `rbearing'.
22747 (compose-glyph-string-relative): Remove unused variables
22748 `lbearing', `rbearing' and `wadjust'.
22749 (compose-gstring-for-graphic): Remove unused variables `header',
22750 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
22751 (compose-gstring-for-terminal): Remove unused variables `header'
22752 and `nchars'. Use `let', not `let*'.
22753
22754 * cus-edit.el (Custom-set, Custom-save, custom-reset)
22755 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
22756 (Custom-buffer-done, custom-buffer-create-internal)
22757 (custom-browse-visibility-action, custom-browse-group-tag-action)
22758 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
22759 (widget-magic-mouse-down-action, custom-toggle-parent)
22760 (custom-add-parent-links, custom-toggle-hide-variable)
22761 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
22762 (custom-toggle-hide-face, face, hook, custom-group-link-action)
22763 (custom-face-menu-create, custom-variable-menu-create, get)
22764 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
22765 (custom-reset-standard-save-and-update): Remove unused variable `value'.
22766 (customize-apropos): Remove unused variable `tests'.
22767 (custom-group-value-create): Remove unused variable `hidden-p'.
22768 (sort-fold-case): Declare.
22769
22770 * cus-theme.el (custom-reset-standard-faces-list)
22771 (custom-reset-standard-variables-list): Declare.
22772 (customize-create-theme, custom-theme-revert, custom-theme-write)
22773 (custom-theme-choose-mode, customize-themes, custom-theme-save):
22774 Mark unused parameters.
22775
22776 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
22777
22778 * delim-col.el (delimit-columns-max): Move defvar before first use.
22779
22780 * descr-text.el (describe-char-categories): Don't quote `lambda'.
22781 (describe-char): Don't quote `lambda'. Mark unused parameter.
22782
22783 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
22784 (auto-insert): Declare.
22785 (desktop-restore-file-buffer): Rename desktop-* parameters;
22786 mark unused ones.
22787 (desktop-create-buffer): Rename desktop-* parameters and bind them.
22788 (desktop-buffer): Rename desktop-* parameters.
22789
22790 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
22791 (dframe-reposition-frame-xemacs, dframe-help-echo)
22792 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
22793 Mark unused parameters.
22794
22795 * dired-aux.el (backup-extract-version-start, overwrite-query)
22796 (overwrite-backup-query, rename-regexp-query)
22797 (rename-non-directory-query): Declare.
22798 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
22799 (dired-add-entry): Remove unused variable `orig-file-name'.
22800 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
22801 Use parameter PRESERVE-TIME instead of accessing dynamic variable
22802 `dired-copy-preserve-time' directly.
22803 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
22804 (dired-insert-subdir-newpos): Rename unused variable `pos'.
22805
22806 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
22807 (dired-virtual-revert, dired-make-relative-symlink):
22808 Mark unused parameters.
22809 (manual-program): Declare.
22810 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
22811 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
22812 wrapped in `with-no-warnings' to avoid replacing one warning by another.
22813
22814 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
22815
22816 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
22817
22818 * echistory.el (electric-history-in-progress, Helper-return-blurb):
22819 Declare.
22820
22821 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
22822
22823 * electric.el (Electric-command-loop): Rename parameter
22824 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
22825
22826 * expand.el (expand-in-literal): Remove unused variable `here'.
22827
22828 * facemenu.el (facemenu-add-new-color):
22829 Remove unused variable `docstring'.
22830
22831 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
22832 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
22833 (face-attr-construct): Mark unused parameter. Doc fix.
22834 (read-color): Remove unused variable `hex-string'.
22835
22836 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
22837 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
22838 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
22839 (display-buffer-other-frame): Remove unused variable `old-window'.
22840 (kill-buffer-hook): Declare.
22841 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
22842 Mark unused parameters.
22843 (after-find-file): Pass 1 to `auto-save-mode', not t.
22844
22845 * files-x.el (auto-insert): Declare.
22846 (modify-file-local-variable-prop-line): Remove unused variable `val'.
22847
22848 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
22849 variable `buf'. Mark unused parameter.
22850 (find-lisp-insert-directory): Mark unused parameter.
22851
22852 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
22853 (format-encode-region): Remove unused variables `cur-buf' and `result'.
22854 (format-common-tail): Remove, unused.
22855 (format-deannotate-region): Remove unused variable `loc'.
22856 (format-annotate-region): Remove unused variable `p'.
22857 (format-annotate-single-property-change): Remove unused variables
22858 `default' and `tail'.
22859
22860 * forms.el (read-file-filter): Declare.
22861 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
22862
22863 * frame.el (frame-creation-function-alist): Mark unused parameter.
22864 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
22865
22866 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
22867 Remove unused parameters.
22868 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
22869 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
22870
22871 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
22872 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
22873 (hfy-prepare-tag-map): Mark unused parameters.
22874 (htmlfontify-buffer): Use `called-interactively-p'.
22875
22876 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
22877 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
22878 (ibuffer-do-occur): Mark unused parameters.
22879 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
22880 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
22881
22882 * ibuffer.el: Don't quote `lambda'.
22883 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
22884 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
22885 Mark unused parameters.
22886
22887 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
22888 (ido-completing-read): Mark unused parameters.
22889 (ido-copy-current-word): Mark unused parameters;
22890 remove unused variable `name'.
22891 (ido-sort-merged-list): Remove unused parameter `dirs'.
22892
22893 * ielm.el (ielm-input-sender): Mark unused parameter.
22894 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
22895 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
22896 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
22897 `ielm-string' as a dynamic variable accessible from the IELM prompt.
22898 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
22899
22900 * image-dired.el (image-dired-display-thumbs): Remove unused
22901 variables `curr-file' and `count'.
22902 (image-dired-remove-tag): Remove unused variable `start'.
22903 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
22904 variable `curr-file'
22905 (image-dired-rotate-original): Remove unused variable `temp-file'.
22906 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
22907 Remove unused variable `file'.
22908 (image-dired-gallery-generate): Remove unused variable `curr'.
22909 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
22910
22911 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
22912
22913 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
22914
22915 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
22916
22917 * isearch.el (minibuffer-history-symbol): Declare.
22918 (isearch-edit-string): Remove unused variable `err'.
22919 (isearch-message-prefix, isearch-message-suffix):
22920 Mark unused parameters.
22921
22922 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
22923
22924 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
22925
22926 * makesum.el (double-column): Remove unused variable `cnt'.
22927
22928 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
22929 (ido-ignore-item-temp-list): Declare.
22930
22931 * mouse-drag.el (mouse-drag-throw): Remove unused variables
22932 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
22933 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
22934 (mouse-drag-drag): Remove unused variables `mouse-delta' and
22935 `mouse-col-delta'.
22936
22937 * mouse-sel.el (mouse-extend-internal):
22938 Remove unused variable `orig-window-frame'.
22939
22940 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
22941 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
22942 Move declarations before first use.
22943 (pcomplete-opt): Mark unused parameters; doc fix.
22944
22945 * proced.el (proced-revert): Mark unused parameter.
22946 (proced-send-signal): Remove unused variable `err'.
22947
22948 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
22949 Rename parameter PREFIX-ARG to ARG.
22950 (ps-basic-plot-string, ps-basic-plot-whitespace):
22951 Mark unused parameters.
22952
22953 * replace.el (replace-count): Define.
22954 (occur-revert-function): Mark unused parameters.
22955 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
22956 (isearch-case-fold-search, isearch-string): Declare.
22957 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
22958 bind `case-fold-search'. Remove unused variables `beg' and `end',
22959 and simplify.
22960 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
22961 COUNT and bind `replace-count'.
22962 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
22963 to COUNT.
22964
22965 * savehist.el (print-readably, print-string-length): Declare.
22966
22967 * shadowfile.el (shadow-expand-cluster-in-file-name):
22968 Remove unused variable `cluster'.
22969 (shadow-copy-file): Remove unused variable `i'.
22970 (shadow-noquery, shadow-clusters, shadow-site-cluster)
22971 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
22972 (shadow-define-literal-group, shadow-define-regexp-group)
22973 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
22974
22975 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
22976 (shell): Use `called-interactively-p'.
22977 (shell-directory-tracker): Remove unused variable `chdir-failure'.
22978
22979 * simple.el (compilation-context-lines, comint-file-name-quote-list)
22980 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
22981 (delete-backward-char): Remove unused variable `ocol'.
22982 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
22983 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
22984 (event-apply-hyper-modifier, event-apply-shift-modifier)
22985 (event-apply-control-modifier, event-apply-meta-modifier):
22986 Mark unused parameters.
22987 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
22988 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
22989
22990 * speedbar.el (speedbar-ignored-directory-expressions)
22991 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
22992 (speedbar-find-file, speedbar-dir-follow)
22993 (speedbar-directory-buttons-follow, speedbar-tag-find)
22994 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
22995 (speedbar-buffers-line-directory, speedbar-buffer-click):
22996 Mark unused parameters.
22997 (speedbar-tag-file): Remove unused variable `mode'.
22998 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
22999
23000 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23001
23002 * talk.el (talk): Remove unused variable `display'.
23003
23004 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23005 (tar-write-region-annotate): Mark unused parameter.
23006
23007 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23008 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23009 Declare them, wrapped in `with-no-warnings' to avoid replacing one
23010 warning by another.
23011
23012 * time-stamp.el (time-stamp-string-preprocess):
23013 Remove unused variable `require-padding'.
23014
23015 * tree-widget.el (widget-glyph-enable): Declare.
23016 (tree-widget-action): Mark unused parameter.
23017
23018 * w32-fns.el (x-get-selection): Mark unused parameter.
23019 (autoload-make-program, generated-autoload-file): Declare.
23020
23021 * wdired.el (wdired-revert): Mark unused parameters.
23022 (wdired-xcase-word): Remove unused variable `err'.
23023
23024 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23025 (whitespace-help-scroll): Remove unused variable `data-help'.
23026
23027 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23028 (widget-image-insert, widget-after-change, default)
23029 (widget-default-format-handler, widget-default-notify)
23030 (widget-default-prompt-value, widget-info-link-action)
23031 (widget-url-link-action, widget-function-link-action)
23032 (widget-variable-link-action, widget-file-link-action)
23033 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23034 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23035 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23036 (widget-insert-button-action, widget-delete-button-action, visibility)
23037 (widget-documentation-link-action, widget-documentation-string-action)
23038 (widget-const-prompt-value, widget-regexp-match, symbol)
23039 (widget-coding-system-prompt-value)
23040 (widget-key-sequence-value-to-external, sexp)
23041 (widget-sexp-value-to-internal, character, vector, cons)
23042 (widget-choice-prompt-value, widget-boolean-prompt-value)
23043 (widget-color--choose-action): Mark unused parameters.
23044 (widget-item-match-inline, widget-choice-match-inline)
23045 (widget-checklist-match, widget-checklist-match-inline)
23046 (widget-group-match): Rename parameter VALUES to VALS.
23047 (widget-field-value-set): Remove unused variable `size'.
23048 (widget-color-action): Remove unused variables `value' and `start'.
23049
23050 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
23051 variable `dir'. Doc fix.
23052 (windmove-find-other-window): Don't pass it.
23053
23054 * window.el (count-windows): Mark unused parameter.
23055 (bw-adjust-window): Remove unused variable `err'.
23056
23057 * woman.el (woman-file-name): Remove unused variable `default'.
23058 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23059 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23060 (global-font-lock-mode): Declare.
23061 (woman-decode-region): Mark unused parameter.
23062 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23063
23064 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23065 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23066 (x-dnd-handle-moz-url): Remove unused variable `title'.
23067 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23068
23069 * xml.el (xml-parse-tag, xml-parse-attlist):
23070 Remove unused variable `pos'.
23071
23072 2011-04-19 Glenn Morris <rgm@gnu.org>
23073
23074 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23075 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23076 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23077 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23078 * calendar/cal-html.el (cal-html-insert-minical):
23079 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23080 (calendar-mark-date-pattern):
23081 Prefix "unused" locals.
23082
23083 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23084 optional argument `style'.
23085
23086 * calendar/appt.el (appt-make-list):
23087 * calendar/cal-china.el (calendar-chinese-date-string):
23088 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23089 (diary-hebrew-yahrzeit):
23090 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23091 * calendar/calendar.el (calendar-generate-window):
23092 * calendar/time-date.el (time-to-days):
23093 Remove unused local variables.
23094
23095 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
23096
23097 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23098 glyphless-char-display table.
23099 (tabulated-list-glyphless-char-display): New var.
23100
23101 2011-04-18 Sam Steingold <sds@gnu.org>
23102
23103 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23104 to acknowledgments.
23105
23106 2011-04-17 Glenn Morris <rgm@gnu.org>
23107
23108 * calendar/diary-lib.el (diary-sexp-entry):
23109 * calendar/holidays.el (holiday-sexp):
23110 Set debug-on-error rather than the removed stack-trace-on-error.
23111
23112 2011-04-16 Glenn Morris <rgm@gnu.org>
23113
23114 * progmodes/f90.el: Use lexical-binding.
23115 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23116
23117 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23118
23119 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23120 (mail-mode): Setup mailalias completion here instead.
23121 * mail/mailalias.el: Use lexical-binding.
23122 (pattern, mailalias-done): Declare dynamic.
23123 (mail-completion-at-point-function): New function, from mail-complete.
23124 (mail-complete): Use it.
23125 (mail-completion-expand): New function.
23126 (mail-get-names): Use it.
23127 (mail-directory, mail-directory-process, mail-directory-stream):
23128 Don't use `pattern' for lexically bound arg.
23129
23130 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
23131
23132 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
23133 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
23134 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
23135
23136 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
23137 (byte-save-window-excursion, byte-temp-output-buffer-setup)
23138 (byte-interactive-p): Define them again, for use when inlining
23139 old code.
23140
23141 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
23142
23143 * loadup.el: Use `string-to-number', not `string-to-int'.
23144
23145 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23146
23147 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23148 gud-gdb-complete-command.
23149 (gud-gdb-completions): New function, from gud-gdb-complete-command.
23150 (gud-gdb-completion-at-point): New function.
23151 (gud-gdb-completions): Remove.
23152
23153 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
23154
23155 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23156 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
23157 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23158 whether `executable-find' is bound.
23159
23160 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23161
23162 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23163
23164 * minibuffer.el (completion-in-region-mode-predicate)
23165 (completion-in-region-mode--predicate): New vars.
23166 (completion-in-region, completion-in-region--postch)
23167 (completion-in-region-mode): Use them.
23168 (completion--capf-wrapper): Also return the hook function.
23169 (completion-at-point, completion-help-at-point):
23170 Adjust and provide a predicate.
23171
23172 Preserve arg names for advice of subr and lexical functions (bug#8457).
23173 * help-fns.el (help-function-arglist): Consolidate the subr and
23174 new-byte-code cases. Add argument `preserve-names' to extract names
23175 from the docstring when needed.
23176 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23177 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23178 (ad-arglist): Use help-function-arglist's new arg.
23179 (ad-definition-type): Use cond.
23180
23181 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
23182
23183 * autorevert.el (auto-revert-handler):
23184 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23185 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23186 Don't quote lambda.
23187
23188 * image-mode.el (image-transform-set-scale):
23189 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23190
23191 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23192
23193 * net/network-stream.el (network-stream-open-starttls): Only do
23194 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
23195 Upgrades via gnutls-cli are too slow to be done opportunistically.
23196
23197 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
23198
23199 * dframe.el (dframe-current-frame): Remove spurious quote.
23200
23201 2011-04-12 Glenn Morris <rgm@gnu.org>
23202
23203 * calendar/cal-tex.el (cal-tex-end-document):
23204 Try to automatically use latin1 input if needed.
23205
23206 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23207 Don't try to cons a mark onto an empty element.
23208
23209 2011-04-11 Leo Liu <sdl.web@gmail.com>
23210
23211 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23212 buffers.
23213 (ido-kill-buffer-at-head): Support killing virtual buffers.
23214
23215 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
23216
23217 * minibuffer.el (completion-show-inline-help): New var.
23218 (completion--do-completion, minibuffer-complete)
23219 (minibuffer-force-complete, minibuffer-complete-word):
23220 Inhibit minibuffer messages if completion-show-inline-help is nil.
23221
23222 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23223 to avoid interference from inline help (Bug#5849).
23224
23225 2011-04-10 Leo Liu <sdl.web@gmail.com>
23226
23227 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23228 Fix typo.
23229
23230 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
23231
23232 * image-mode.el (image-toggle-display-image): Signal an error if
23233 not in Image mode.
23234 (image-transform-mode, image-transform-resize)
23235 (image-transform-set-rotation): Doc fix.
23236 (image-transform-set-resize): Delete.
23237 (image-transform-set-scale, image-transform-fit-to-height)
23238 (image-transform-fit-to-width): Handle image-toggle-display-image
23239 and image-transform-resize directly.
23240
23241 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
23242
23243 * doc-view.el (doc-view-fit-width-to-window)
23244 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23245 New functions for fitting the shown image to the Emacs window size.
23246 (doc-view-mode-map): Add bindings for the new functions.
23247
23248 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
23249
23250 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
23251 Fix typo in docstring.
23252
23253 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23254
23255 * files.el (file-size-human-readable): Produce one digit after
23256 decimal, like "ls -lh" does.
23257
23258 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23259 the file size representation.
23260
23261 * simple.el (list-processes): If async subprocesses are not
23262 available, error out with a clear error message.
23263
23264 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
23265
23266 * help.el (help-form-show): New function, to be called from C.
23267 Put help-form output in a buffer named differently than *Help*.
23268
23269 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23270
23271 * files.el (file-size-human-readable): New function.
23272
23273 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23274 computing the representation inline. Don't require `cl'.
23275
23276 2011-04-08 Glenn Morris <rgm@gnu.org>
23277
23278 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23279
23280 * net/browse-url.el (browse-url-firefox):
23281 Test system-type, not system-configuration.
23282
23283 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23284 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23285 Use log-edit-empty-buffer-p. (Bug#7598)
23286
23287 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23288 (rlogin-mode-map): Initialize in the defvar.
23289 (rlogin): Use ignore-errors.
23290
23291 * replace.el (occur-mode-map): Some fixes for menu items.
23292
23293 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23294
23295 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23296
23297 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23298
23299 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23300 issuing unused warnings.
23301
23302 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23303 macro directly.
23304
23305 * simple.el: Lisp reimplement of list-processes. Based on an
23306 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23307 (process-menu-mode): New major mode.
23308 (list-processes--refresh, list-processes):
23309 (process-menu-visit-buffer): New functions.
23310
23311 * files.el (save-buffers-kill-emacs): Don't assume any return
23312 value of list-processes, which is undocumented anyway.
23313
23314 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23315
23316 * emacs-lisp/tabulated-list.el: New file.
23317
23318 * emacs-lisp/package.el: Use Tabulated List mode.
23319 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23320 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23321 table format using Tabulated List mode variables.
23322 (package--push): New macro, replacing package-list-maybe-add.
23323 (package-menu--generate): Use package--push. Renamed from
23324 package--generate-package-list.
23325 (package-menu-refresh, list-packages): Use it.
23326 (package-menu--print-info): Rename from package-print-package.
23327 Return insertion data instead of inserting it directly.
23328 (package-menu-describe-package, package-menu-execute):
23329 Use tabulated-list-get-id.
23330 (package-menu-mark-delete, package-menu-mark-install)
23331 (package-menu-mark-unmark, package-menu-backup-unmark)
23332 (package-menu-mark-obsolete-for-deletion):
23333 Use tabulated-list-put-tag.
23334 (package--list-packages, package-menu-revert)
23335 (package-menu-get-package, package-menu-get-version)
23336 (package-menu-sort-by-column): Functions deleted.
23337 (package-menu-package-list, package-menu-sort-key): Vars deleted.
23338 (package-menu--status-predicate, package-menu--version-predicate)
23339 (package-menu--name-predicate)
23340 (package-menu--description-predicate): Handle arguments in the
23341 Tabulated List format.
23342 (package-list-packages-no-fetch): Call list-packages.
23343
23344 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
23345
23346 * files.el (after-find-file-from-revert-buffer): Remove variable.
23347 (after-find-file): Don't bind it.
23348 (revert-buffer-in-progress-p): New variable.
23349 (revert-buffer): Bind it.
23350 Pass nil for `after-find-file-from-revert-buffer'.
23351
23352 * saveplace.el (save-place-find-file-hook): Use new variable
23353 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23354
23355 2011-04-06 Glenn Morris <rgm@gnu.org>
23356
23357 * Makefile.in (AUTOGEN_VCS): New variable.
23358 (autoloads): Use $AUTOGEN_VCS.
23359
23360 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23361 * calendar/calendar.el (calendar-mode-map):
23362 Check for toolkit scroll bars. (Bug#8305)
23363
23364 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23365
23366 * minibuffer.el (completion-in-region--postch)
23367 (completion-in-region-mode): Remove unnecessary messages.
23368
23369 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
23370
23371 * font-lock.el (font-lock-refresh-defaults):
23372 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
23373 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
23374
23375 * info.el (Info-directory-list, Info-read-node-name-2)
23376 (Info-split-parameter-string): Doc fixes.
23377 (Info-virtual-nodes): Reflow docstring.
23378 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
23379 (Info-apropos-toc-nodes, info-finder, Info-get-token)
23380 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
23381 Fix typos in docstrings.
23382 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
23383 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
23384 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
23385 (Info-restore-desktop-buffer): Mark unused parameters.
23386 (Info-directory-find-file, Info-directory-find-node)
23387 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
23388 (Info-virtual-index-find-node, Info-apropos-find-file)
23389 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
23390 Mark unused parameters; fix typos in docstrings.
23391 (Info-virtual-index): Remove unused local variable `nodename'.
23392
23393 2011-04-05 Deniz Dogan <deniz@dogan.se>
23394
23395 * net/rcirc.el: Update my e-mail address.
23396 (rcirc-mode-map): Remove M-o binding.
23397
23398 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23399
23400 * startup.el (command-line): Save the cursor's theme-face
23401 directly, instead of using face-override-spec.
23402
23403 * custom.el (load-theme): Minor optimization in assigning faces.
23404
23405 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23406
23407 * help-fns.el (describe-variable): Complete all variables having
23408 documentation, including keywords.
23409 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
23410
23411 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23412
23413 Convert to lexical-binding.
23414
23415 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
23416 (bs--get-marked-string, bs--get-modified-string)
23417 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
23418 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
23419 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
23420
23421 * ehelp.el (electric-help-execute-extended)
23422 (electric-help-ctrl-x-prefix):
23423 * hexl.el (hexl-revert-buffer-function):
23424 * linum.el (linum-after-change, linum-after-scroll):
23425 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
23426
23427 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
23428
23429 2011-04-04 Daiki Ueno <ueno@unixuser.org>
23430
23431 * epa-dired.el:
23432 * epa-mail.el:
23433 * epa-hook.el:
23434 * epa-file.el:
23435 * epa.el:
23436 * epg.el: Use lexical binding.
23437
23438 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
23439
23440 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
23441
23442 * textmodes/flyspell.el (flyspell-word): Recognize default
23443 dictionary case for flyspell-mark-duplications-exceptions.
23444 Use regexp matching for languages.
23445 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
23446 default dictionary (Bug#7926).
23447
23448 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
23449
23450 * emacs-lisp/package.el (package--with-work-buffer):
23451 Recognize https URLs.
23452
23453 * net/network-stream.el: Move from gnus/proto-stream.el.
23454 Change prefix to network-stream throughout.
23455 (open-protocol-stream): Merge into open-network-stream, leaving
23456 open-protocol-stream as an alias. Handle nil BUFFER args.
23457
23458 * subr.el (open-network-stream): Move to net/network-stream.el.
23459
23460 2011-04-02 Glenn Morris <rgm@gnu.org>
23461
23462 * find-dired.el (find-exec-terminator): New option.
23463 (find-ls-option): Test for -ls support.
23464 (find-ls-subdir-switches): Test for -b in find-ls-option.
23465 (find-dired, find-grep-dired): Doc fixes.
23466 (find-dired): Use find-exec-terminator.
23467
23468 * find-dired.el (find-ls-option, find-ls-subdir-switches)
23469 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
23470 (find-name-arg): Remove purecopy.
23471
23472 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
23473 (grep-compute-defaults): Check for `-exec COMMAND +' support.
23474 Set grep-find-use-xargs, grep-find-command, and grep-find-template
23475 accordingly. Don't add the null-device if not needed.
23476
23477 * files.el (save-some-buffers): Doc fix.
23478
23479 2011-04-02 Eli Zaretskii <eliz@gnu.org>
23480
23481 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
23482
23483 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
23484
23485 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
23486 Use `dolist' rather than `mapcar'.
23487
23488 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
23489
23490 Add lexical binding.
23491
23492 * subr.el (apply-partially): Use new closures rather than CL.
23493 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
23494 (dolist, dotimes): Use slightly different expansion for lexical code.
23495 (functionp): Move to C.
23496 (letrec): New macro.
23497 (with-wrapper-hook): Use it and apply-partially instead of CL.
23498 (eval-after-load): Preserve lexical-binding.
23499 (save-window-excursion, with-output-to-temp-buffer): Turn them
23500 into macros.
23501
23502 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
23503
23504 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
23505 than the arglist.
23506 (help-add-fundoc-usage): Don't add `Not documented'.
23507 (help-function-arglist): Handle closures, subroutines, and new
23508 byte-code-functions.
23509 (help-make-usage): Remove leading underscores.
23510 (describe-function-1): Handle closures.
23511 (describe-variable): Use special-variable-p for completion.
23512
23513 * files.el (lexical-binding): Declare safe.
23514
23515 * emacs-lisp/pcase.el: Don't use destructuring-bind.
23516 (pcase--memoize): Rename from pcase-memoize. Change weakness.
23517 (pcase): Add `let' pattern.
23518 Change memoization so it actually works.
23519 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
23520 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
23521 <let>: New case.
23522
23523 * emacs-lisp/macroexp.el: Use lexical binding.
23524 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
23525 Don't convert ' to #' without checking that it's indeed quoting
23526 a lambda.
23527
23528 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
23529 Use eval-sexp-add-defvars.
23530 (eval-sexp-add-defvars): New fun.
23531
23532 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
23533
23534 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
23535 Don't autoload.
23536 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
23537 than the internal `byte-compile-lambda'.
23538 (defmethod): Don't hide code under quotes.
23539 (eieio-defmethod): New `code' argument.
23540
23541 * emacs-lisp/eieio-comp.el: Remove.
23542
23543 * emacs-lisp/edebug.el (edebug-eval-defun)
23544 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
23545 (edebug-toggle): Avoid `eval'.
23546
23547 * emacs-lisp/disass.el (disassemble-internal): Handle new
23548 `closure' objects.
23549 (disassemble-1): Handle new byte codes.
23550
23551 * emacs-lisp/cl.el (pushnew): Silence warning.
23552
23553 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
23554 (cl-byte-compile-throw): Remove.
23555 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
23556
23557 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
23558 closures.
23559
23560 * emacs-lisp/cconv.el: New file.
23561
23562 * emacs-lisp/bytecomp.el: Use lexical binding instead of
23563 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
23564 (byte-compile-initial-macro-environment):
23565 Handle declare-function here.
23566 (byte-compile--lexical-environment): New var.
23567 (byte-stack-ref, byte-stack-set, byte-discardN)
23568 (byte-discardN-preserve-tos): New lap codes.
23569 (byte-interactive-p): Don't use any more.
23570 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
23571 New macros.
23572 (byte-compile-lapcode): Use them and handle new lap codes.
23573 (byte-compile-obsolete): Remove.
23574 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
23575 (byte-compile-arglist-warn): Check late def of inlinable funs.
23576 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
23577 since they should have been expanded by now.
23578 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
23579 (byte-compile-from-buffer): Remove unused second arg.
23580 (byte-compile-preprocess): New function.
23581 (byte-compile-toplevel-file-form): New function to distinguish
23582 file-form calls from outside from file-form calls from hunk-handlers.
23583 (byte-compile-file-form): Simplify.
23584 (byte-compile-file-form-defsubst): Remove.
23585 (byte-compile-file-form-defmumble): Simplify now that
23586 byte-compile-lambda always returns a byte-code-function.
23587 (byte-compile): Preprocess.
23588 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
23589 Remove, not used any more.
23590 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
23591 (byte-compile-make-args-desc): New funs.
23592 (byte-compile-lambda): Handle lexical functions. Always return
23593 a byte-code-function.
23594 (byte-compile-reserved-constants): New var, to make up room for
23595 closed-over variables.
23596 (byte-compile-constants-vector): Obey it.
23597 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
23598 (byte-compile-macroexpand-declare-function): New function.
23599 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
23600 byte-code-functions.
23601 (byte-compile-form): Check obsolescence here.
23602 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
23603 (byte-compile-variable-ref): Remove.
23604 (byte-compile-dynamic-variable-op): New fun.
23605 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23606 (byte-compile-variable-set): New funs.
23607 (byte-compile-discard): Add 2 args.
23608 (byte-compile-stack-ref, byte-compile-stack-set)
23609 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
23610 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
23611 macroexpand-all instead.
23612 (byte-compile-quote-form): Remove.
23613 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
23614 (byte-compile-bind, byte-compile-unbind): New funs.
23615 (byte-compile-let): Handle let* and lexical binding.
23616 (byte-compile-let*): Remove.
23617 (byte-compile-catch, byte-compile-unwind-protect)
23618 (byte-compile-track-mouse, byte-compile-condition-case):
23619 Handle a new :fun-body form, used for lexical scoping.
23620 (byte-compile-save-window-excursion)
23621 (byte-compile-with-output-to-temp-buffer): Remove.
23622 (byte-compile-defun): Simplify.
23623 (byte-compile-stack-adjustment): New fun.
23624 (byte-compile-out): Use it.
23625 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
23626
23627 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
23628 handler any more.
23629
23630 * emacs-lisp/byte-opt.el: Use lexical binding.
23631 (byte-inline-lapcode): Remove (to bytecomp).
23632 (byte-compile-inline-expand): Pay attention to inlining to/from
23633 lexically bound code.
23634 (byte-compile-unfold-lambda): Don't handle byte-code-functions
23635 any more.
23636 (byte-optimize-form-code-walker): Don't handle save-window-excursion
23637 any more and don't call compiler-macros.
23638 (byte-compile-splice-in-already-compiled-code): Remove.
23639 (byte-code): Don't inline any more.
23640 (disassemble-offset): Receive `bytes' as argument rather than via
23641 dynamic scoping.
23642 (byte-compile-tag-number): Declare before first use.
23643 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
23644 `return' even if make-spliceable.
23645 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
23646 obsolete interactive-p.
23647 (byte-optimize-lapcode): Optimize new lap-codes.
23648 Don't trip up on new form of `byte-constant' lap code.
23649
23650 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
23651
23652 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
23653
23654 * custom.el (custom-initialize-default, custom-declare-variable):
23655 Use `defvar'.
23656
23657 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
23658 New variables.
23659 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
23660 (COMPILE_FIRST): Add macroexp and cconv.
23661 * makefile.w32-in: Mirror changes in Makefile.in.
23662
23663 * vc/cvs-status.el:
23664 * vc/diff-mode.el:
23665 * vc/log-edit.el:
23666 * vc/log-view.el:
23667 * vc/smerge-mode.el:
23668 * textmodes/bibtex-style.el:
23669 * textmodes/css-mode.el:
23670 * startup.el:
23671 * uniquify.el:
23672 * minibuffer.el:
23673 * newcomment.el:
23674 * reveal.el:
23675 * server.el:
23676 * mpc.el:
23677 * emacs-lisp/smie.el:
23678 * doc-view.el:
23679 * dired.el:
23680 * abbrev.el: Use lexical binding.
23681
23682 2011-04-01 Eli Zaretskii <eliz@gnu.org>
23683
23684 * info.el (info-display-manual): New function.
23685
23686 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
23687
23688 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
23689
23690 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
23691
23692 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
23693 an entry for that server in rcirc-authinfo. (Bug#8385)
23694
23695 2011-03-31 Glenn Morris <rgm@gnu.org>
23696
23697 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
23698
23699 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
23700
23701 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
23702
23703 * progmodes/python.el (python-default-interpreter)
23704 (python-python-command-args, python-jython-command-args)
23705 (python-which-shell, python-which-args, python-which-bufname)
23706 (python-file-queue, python-comint-output-filter-function)
23707 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
23708 variables and functions.
23709
23710 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
23711
23712 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
23713 (completion-in-region-mode): New minor mode.
23714 (completion-in-region): Use it.
23715 (completion-in-region--data, completion-in-region-mode-map): New vars.
23716 (completion-in-region--postch): New function.
23717 (completion--capf-misbehave-funs, completion--capf-safe-funs):
23718 New vars.
23719 (completion--capf-wrapper): New function.
23720 (completion-at-point): Use it to track well-behavedness of
23721 hook functions.
23722 (completion-help-at-point): New command.
23723
23724 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
23725
23726 * vc/add-log.el (add-change-log-entry): Don't use whitespace
23727 syntax class to search for whitespace on a single line
23728 (Message-ID: <4D938140.4030905@redhat.com>).
23729
23730 2011-03-30 Leo Liu <sdl.web@gmail.com>
23731
23732 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
23733 New commands.
23734 (edit-abbrevs-map): Bind them here.
23735 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
23736
23737 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
23738
23739 * allout.el (allout-hide-by-annotation, allout-flag-region):
23740 Reduce possibility of overlay leakage by making them volatile.
23741
23742 * allout-widgets.el (allout-widgets-tally): Define as nil so the
23743 hash is not shared between buffers. Mode initialization is
23744 responsible for giving it a useful starting value.
23745 (allout-item-span): Reduce possibility of overlay leakage by
23746 making them volatile.
23747 (allout-widgets-count-buttons-in-region): Add diagnostic function
23748 for tracking down button overlay leaks.
23749
23750 2011-03-29 Leo Liu <sdl.web@gmail.com>
23751
23752 * ido.el (ido-read-internal): Use the default history var
23753 minibuffer-history if no HISTORY is specified.
23754
23755 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
23756
23757 * net/imap.el (imap-shell-open, imap-process-connection-type):
23758 Use imap-process-connection-type for 'shell' streams as well as
23759 Kerberos, SSL, other subprocesses.
23760
23761 2011-03-28 Leo Liu <sdl.web@gmail.com>
23762
23763 * abbrev.el (abbrev-table-empty-p): New function.
23764 (prepare-abbrev-list-buffer): Place empty abbrev tables after
23765 nonempty ones. (Bug#5937)
23766
23767 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
23768
23769 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
23770
23771 2011-03-27 Leo Liu <sdl.web@gmail.com>
23772
23773 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
23774 for foreground and background colors.
23775 (ansi-color-make-color-map): Adapt.
23776
23777 2011-03-25 Leo Liu <sdl.web@gmail.com>
23778
23779 * midnight.el (midnight-time-float): Remove. Note it calculates
23780 the microsecond component incorrectly and seconds-to-time does the
23781 same job.
23782 Remove redundant (require 'timer).
23783
23784 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
23785 (ido-completions): Remove unused arguments. (Bug#8329)
23786
23787 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
23788
23789 * minibuffer.el (completion--flush-all-sorted-completions):
23790 Remove itself from hook.
23791 (completion-at-point): Let the functions perform the completion
23792 immediately and return nil or t.
23793 * comint.el (comint-dynamic-complete-functions): Now identical to
23794 completion-at-point-functions.
23795 (comint-dynamic-list-input-ring): Remove unused var `index'.
23796 (comint--match-partial-filename, comint--unquote&expand-filename):
23797 New funs, split from comint-match-partial-filename.
23798 (comint-dynamic-complete): Use completion-at-point.
23799 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
23800
23801 2011-03-24 Drew Adams <drew.adams@oracle.com>
23802
23803 * thingatpt.el: Support `defun'.
23804
23805 2011-03-23 Leo Liu <sdl.web@gmail.com>
23806
23807 * abbrevlist.el: Move to obsolete/abbrevlist.el.
23808
23809 * help-mode.el (help-mode-finish): Tweak regexp.
23810
23811 2011-03-23 Glenn Morris <rgm@gnu.org>
23812
23813 * eshell/esh-opt.el (eshell-eval-using-options):
23814 Do not bind unused local variable `eshell-option-stub'.
23815
23816 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
23817
23818 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
23819
23820 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
23821 keymap variable in `with-no-warnings' to avoid a warning when the
23822 keymap has been already `defconst'ed.
23823
23824 2011-03-22 Leo Liu <sdl.web@gmail.com>
23825
23826 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
23827 encode all chars in abbrevs; otherwise use emacs-mule or
23828 utf-8-emacs. (Bug#8308)
23829
23830 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
23831
23832 * simple.el (backward-delete-char-untabify):
23833 Avoid warning about using `delete-backward-char'.
23834
23835 * image.el (image-type-file-name-regexps): Make it variable.
23836 `imagemagick-register-types' modifies it, and the user may want
23837 to add new extensions for known image types.
23838 (imagemagick-register-types): Throw error if not using ImageMagick.
23839
23840 2011-03-22 Leo Liu <sdl.web@gmail.com>
23841
23842 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
23843 located before rcirc-prompt-end-marker.
23844 (rcirc-complete): Error if point is not after rcirc prompt.
23845 Handle the case when table is nil.
23846 (rcirc-user-authenticated): Define to fix compiler warning.
23847
23848 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
23849
23850 * custom.el (custom--inhibit-theme-enable): Make it affect only
23851 custom-theme-set-variables and custom-theme-set-faces.
23852 (provide-theme): Ignore custom--inhibit-theme-enable.
23853 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
23854 (custom-enabling-themes): Delete variable.
23855 (enable-theme): Accept only loaded themes as arguments.
23856 Ignore the special custom-enabled-themes variable.
23857 (custom-enabled-themes): Forbid themes from setting this.
23858 Eliminate use of custom-enabling-themes.
23859 (custom-push-theme): Quote "changed" custom var entry.
23860
23861 2011-03-21 Leo Liu <sdl.web@gmail.com>
23862
23863 * ido.el (ido-read-internal): Add ido-selected to history instead
23864 of user input.
23865
23866 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
23867
23868 * subr.el (deferred-action-list, deferred-action-function):
23869 Mark obsolete.
23870
23871 2011-03-21 Leo Liu <sdl.web@gmail.com>
23872
23873 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
23874 change on 2011-02-13 (bug#8309).
23875
23876 * minibuffer.el (read-file-name-function): Change default value.
23877 (read-file-name--defaults): Rename from read-file-name-defaults.
23878 (read-file-name-default): Rename from read-file-name.
23879 (read-file-name): Call read-file-name-function.
23880
23881 2011-03-21 Glenn Morris <rgm@gnu.org>
23882
23883 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
23884 Doc fixes.
23885
23886 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
23887
23888 * cus-theme.el: Add missing provide statement.
23889 (customize-create-theme): Extract theme value correctly.
23890 (custom-theme-visit-theme): Autoload.
23891 (customize-create-theme): Prompt before inserting default faces.
23892
23893 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
23894
23895 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
23896 units and musical notes.
23897
23898 2011-03-20 Leo Liu <sdl.web@gmail.com>
23899
23900 * ido.el (ido-read-internal): Use completing-read-default.
23901 (ido-completing-read): Fix compatibility with completing-read.
23902
23903 2011-03-20 Christian Ohler <ohler@gnu.org>
23904
23905 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
23906 (ert-delete-all-tests): Use `called-interactively-p' rather than
23907 `interactive-p'.
23908 (ert--make-xrefs-region): Respect END.
23909
23910 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
23911
23912 * dired-aux.el (dired-create-directory): Signal an error if the
23913 directory already exists (Bug#8246).
23914
23915 * facemenu.el (list-colors-display): Call list-faces-display
23916 inside with-help-window.
23917 (list-colors-print): Use display property to align the final
23918 column, instead of checking window-width.
23919
23920 2011-03-19 Eli Zaretskii <eliz@gnu.org>
23921
23922 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
23923 windows-nt systems.
23924 (emerge-protect-metachars): Quote correctly for ms-dos and
23925 windows-nt systems.
23926
23927 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
23928
23929 * info.el (info-initialize): Replace all uses of `:' with
23930 path-separator for compatibility with non-Unix systems.
23931 Cache quoting of path-separator. (Bug#8258)
23932
23933 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
23934
23935 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
23936 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
23937 (mouse-avoidance-mode): Fix typos in docstrings.
23938
23939 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
23940
23941 * startup.el (package-subdirectory-regexp): Move from package.el.
23942 Omit \\` and \\', and let callers add them.
23943
23944 * emacs-lisp/package.el (package-strip-version)
23945 (package-load-all-descriptors): Add \\` and \\' to
23946 package-subdirectory-regexp before using it.
23947 (package-untar-buffer): New arg DIR; ensure that file untars only
23948 into this expected directory. Remove superfluous delete-region.
23949 (package-unpack): Caller changed.
23950 (package-tar-file-info): Use package-subdirectory-regexp.
23951
23952 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
23953
23954 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
23955 diff-mode-shared-map (bug#8284).
23956 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
23957
23958 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
23959
23960 * calendar/time-date.el (format-seconds): Use assoc instead of
23961 assoc-string, since assoc-string doesn't exist in XEmacs.
23962
23963 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
23964
23965 * custom.el (custom-known-themes): Reflow docstring.
23966 (custom-theme-load-path): Fix typo in docstring.
23967 (load-theme): Fix typo in error message.
23968 (custom-available-themes, custom-variable-theme-value):
23969 Use `let', not `let*'.
23970
23971 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
23972
23973 * calc/README: Mention inclusion of musical notes.
23974
23975 * calc/calc-units.el (calc-lu-quant): Rename from
23976 `calc-logunits-quantity'.
23977 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
23978 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
23979 (calc-db): Rename from `calc-dblevel'.
23980 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
23981 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
23982 (calc-np): Rename from `calc-nplevel'.
23983 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
23984 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
23985 (calc-lu-plus): Rename from `calc-logunits-add'.
23986 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
23987 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
23988 (calc-lu-minus): Rename from `calc-logunits-sub'.
23989 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
23990 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
23991 (calc-lu-times): Rename from `calc-logunits-mul'.
23992 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
23993 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
23994 (calc-lu-divide): Rename from `calc-logunits-div'.
23995 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
23996 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
23997
23998 * calc/calc-ext.el (calc-init-extensions): Update the names of the
23999 functions being autoloaded.
24000
24001 * calc/calc.el (calc-lu-power-reference): Rename from
24002 `calc-logunits-power-reference'.
24003 (calc-lu-field-reference): Rename from
24004 `calc-logunits-field-reference'.
24005
24006 * calc/calc-help.el (calc-l-prefix-help):
24007 Mention musical note functions.
24008
24009 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
24010
24011 * minibuffer.el (completion-all-sorted-completions):
24012 Use :completion-cycle-penalty text property if present.
24013
24014 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24015
24016 * allout.el (allout-yank-processing): Adjust for new rebulleting
24017 regime so bullet being yanked is used without prompting the user
24018 for a choice.
24019
24020 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24021
24022 * startup.el (command-line): Warn the user that _emacs is deprecated.
24023
24024 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24025
24026 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24027 (delphi-verbose, delphi-comment-face, delphi-string-face)
24028 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24029 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24030 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24031 (delphi-new-comment-line, delphi-font-lock-defaults)
24032 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24033 Fix typos in docstrings.
24034
24035 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24036
24037 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
24038 Invert the roles of character and string values for INSTEAD, so a
24039 string is used for the more common case of a defaulting prompt.
24040
24041 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24042
24043 * progmodes/ruby-mode.el (ruby-backward-sexp):
24044 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24045 * play/gamegrid.el (gamegrid-make-face):
24046 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24047 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24048 * notifications.el (notifications-notify):
24049 * net/xesam.el (xesam-search-engines):
24050 * net/quickurl.el (quickurl-list-insert):
24051 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24052
24053 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
24054
24055 * startup.el (command-line): Update package subdirectory regexp.
24056
24057 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24058
24059 * allout.el (allout-abbreviate-flattened-numbering)
24060 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24061
24062 * subr.el (read-char-choice): Only show the cursor after the prompt,
24063 not after the answer.
24064
24065 2011-03-15 Kevin Ryde <user42@zip.com.au>
24066
24067 * help-fns.el (variable-at-point): Skip leading quotes, if any
24068 (bug#8253).
24069
24070 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24071
24072 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24073 warning message.
24074
24075 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
24076
24077 * shell.el (shell): When called interactively, offer to change the
24078 shell file name on remote hosts.
24079
24080 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24081
24082 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24083 integration for LDAP parameters. The host, base, user or binddn,
24084 and secret tokens can be specified in a netrc file, for instance.
24085 This is optional because an `auth-source' parameter must be
24086 specified in the search attributes.
24087
24088 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
24089
24090 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24091
24092 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24093
24094 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24095 into declaration. Remove redundant and harmful binding.
24096
24097 2011-03-12 Eli Zaretskii <eliz@gnu.org>
24098
24099 * files.el (file-ownership-preserved-p): Pass `integer' as an
24100 explicit 2nd argument to `file-attributes'. If the file's owner
24101 is the Administrators group on Windows, and the current user is
24102 Administrator, consider that a match.
24103
24104 * server.el (server-ensure-safe-dir): Consider server directory
24105 safe on MS-Windows if its owner is the Administrators group while
24106 the current Emacs user is Administrator. Use `=' to compare
24107 numerical UIDs, since they could be integers or floats.
24108
24109 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
24110
24111 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24112
24113 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
24114
24115 Sync with Tramp 2.2.1.
24116
24117 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24118
24119 * net/trampver.el: Update release number.
24120
24121 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24122
24123 * progmodes/compile.el (compilation--previous-directory): Fix up
24124 various nil/dead-marker mismatches (bug#8014).
24125 (compilation-directory-properties, compilation-error-properties):
24126 Don't call it at a position past the one we're about to change.
24127
24128 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
24129 Disable obsolescence warnings in the file that declares it.
24130
24131 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
24132
24133 * allout-widgets.el (allout-widgets-tally):
24134 Initialize allout-widgets-tally as a hash table rather than nil to
24135 prevent mode-line redisplay warnings. Also, clarify the module
24136 description and fix a comment typo.
24137
24138 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
24139
24140 * help-fns.el (describe-variable): Don't complete keywords.
24141 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
24142
24143 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
24144
24145 * emacs-lisp/package.el (package-version-join): Impose a standard
24146 string representation for pre/alpha/beta version lists.
24147 (package-unpack-single): Standardize the directory name by passing
24148 it through package-version-join.
24149 (package-strip-rcs-id): Accept any version string that does not
24150 signal an error in version-to-list.
24151
24152 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
24153
24154 * simple.el (delete-trailing-whitespace): Return nil for the
24155 benefit of `write-file-functions'.
24156
24157 2011-03-10 Glenn Morris <rgm@gnu.org>
24158
24159 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24160
24161 * vc/vc-git.el (vc-git-program): New option.
24162 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24163 (vc-git--call): Use it.
24164
24165 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24166
24167 * cus-edit.el (Custom-newline): If no button at point, look
24168 for a subgroup button at start-of-line. (Bug#2298)
24169
24170 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24171
24172 2011-03-10 Julien Danjou <julien@danjou.info>
24173
24174 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24175 `cursor-type' is nil.
24176
24177 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24178
24179 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24180
24181 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24182
24183 * allout.el: Change so yank of distinctive-bullet items
24184 preserves the existing header prefix, rebulleting it if necessary,
24185 rather than replacing it. This is necessary for proper operation
24186 of cooperative addons like allout-widgets.
24187 (allout-make-topic-prefix, allout-rebullet-heading):
24188 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24189 value as alternate bullet to be used, instead of prompting the user
24190 for a bullet character.
24191
24192 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
24193
24194 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24195 Do not use `tramp-file-name-port', because this returns also
24196 `tramp-default-port'.
24197
24198 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24199
24200 * net/rcirc.el (rcirc-handler-001): Remove useless
24201 with-rcirc-process-buffer.
24202 (rcirc-check-auth-status): Swap arguments to string-match.
24203
24204 2011-03-09 Glenn Morris <rgm@gnu.org>
24205
24206 * shell.el (shell-mode):
24207 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24208
24209 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24210 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24211
24212 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24213
24214 * emacs-lisp/package.el (package-refresh-contents)
24215 (package-menu-execute): Use condition-case-no-debug.
24216
24217 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
24218
24219 * simple.el (shell-command-to-string): Use `process-file'.
24220
24221 * emacs-lisp/package.el (package-tar-file-info): Handle also
24222 remote files.
24223
24224 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24225 Use `equal' for upload base check.
24226
24227 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24228
24229 * textmodes/texinfo.el (texinfo-environments):
24230 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24231
24232 2011-03-08 Glenn Morris <rgm@gnu.org>
24233
24234 * cus-start.el (cursor-in-non-selected-windows):
24235 Fix :set quoting oddness. (Bug#8192)
24236
24237 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24238 in some setf expressions. (Bug#2159)
24239
24240 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24241
24242 * custom.el (custom-available-themes): Return themes in
24243 alphabetical order.
24244
24245 See ChangeLog.15 for earlier changes.
24246
24247 ;; Local Variables:
24248 ;; coding: utf-8
24249 ;; End:
24250
24251 Copyright (C) 2011-2013 Free Software Foundation, Inc.
24252
24253 This file is part of GNU Emacs.
24254
24255 GNU Emacs is free software: you can redistribute it and/or modify
24256 it under the terms of the GNU General Public License as published by
24257 the Free Software Foundation, either version 3 of the License, or
24258 (at your option) any later version.
24259
24260 GNU Emacs is distributed in the hope that it will be useful,
24261 but WITHOUT ANY WARRANTY; without even the implied warranty of
24262 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24263 GNU General Public License for more details.
24264
24265 You should have received a copy of the GNU General Public License
24266 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.