* doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
[bpt/emacs.git] / lisp / ChangeLog
1 2013-02-12 Tassilo Horn <tsdh@gnu.org>
2
3 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
4 UserInstallation when calling soffice to work around LibreOffice
5 bug 37531.
6
7 2013-02-12 Glenn Morris <rgm@gnu.org>
8
9 * files.el (basic-save-buffer):
10 Offer to create a non-existing directory. (Bug#3016)
11
12 * calc/calc-graph.el (calc-graph-show-dumb):
13 * calendar/calendar.el (calendar-mode-map):
14 * cus-edit.el (custom-mode-map):
15 * ehelp.el (electric-help-map):
16 * emulation/vip.el (vip-mode-map):
17 * epa.el (epa-key-list-mode-map):
18 * info.el (Info-mode-map):
19 * mail/rmail.el (rmail-mode-map):
20 * mail/rmailsum.el (rmail-summary-mode-map):
21 * man.el (Man-mode-map):
22 * net/newst-plainview.el (newsticker-mode-map):
23 * progmodes/cpp.el (cpp-edit-mode-map):
24 * progmodes/grep.el (grep-mode-map):
25 * progmodes/idlw-help.el (idlwave-help-mode-map):
26 * simple.el (special-mode-map):
27 * startup.el (splash-screen-keymap):
28 * view.el (view-mode-map):
29 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
30
31 2013-02-11 Elias Pipping <pipping@lavabit.com>
32
33 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
34 (bug#13679).
35
36 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
37
38 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
39
40 2013-02-11 Glenn Morris <rgm@gnu.org>
41
42 * vc/diff.el (diff-use-labels): New variable.
43 (diff-no-select): Use --label rather than -L, and first
44 check that it is supported. (Bug#11067)
45
46 * files.el (enable-dir-local-variables): New variable.
47 (hack-dir-local-variables): Respect enable-dir-local-variables.
48 * tutorial.el (help-with-tutorial):
49 Ignore directory-local variables. (Bug#11127)
50
51 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
52 (vc-svn-global-switches): ... to here. (Bug#13513)
53
54 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
55
56 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
57 Handle "foo (bar, default: xxx): " prompts.
58
59 2013-02-10 Chong Yidong <cyd@gnu.org>
60
61 * files.el (basic-save-buffer-1): Do not set
62 buffer-file-coding-system-explicit (Bug#4533).
63
64 * mail/emacsbug.el (report-emacs-bug): Change binding of
65 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
66
67 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
68
69 * calc/calc.el (calc-allow-units-as-numbers): New variable.
70 * calc/calc-units.el (calc-convert-units): Use new variable.
71
72 2013-02-09 Eli Zaretskii <eliz@gnu.org>
73
74 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
75
76 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
77 buffer-file-type.
78
79 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
80 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
81 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
82 coding-system-for-write instead.
83
84 * jka-compr.el (jka-compr-write-region): Don't bind
85 buffer-file-type.
86
87 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
88 buffer-file-type.
89
90 * files.el (file-name-buffer-file-type-alist): Remove defvar.
91 (insert-file-contents-literally): Remove reference to
92 file-name-buffer-file-type-alist.
93
94 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
95 make-obsolete.
96 (find-buffer-file-type-match, find-buffer-file-type): Remove.
97 (find-buffer-file-type-coding-system): Remove references to
98 find-buffer-file-type-match, find-buffer-file-type, and
99 buffer-file-type.
100 Don't put find-buffer-file-type-coding-system into
101 file-coding-system-alist.
102 (find-file-binary, find-file-text): Bind coding-system-for-read
103 instead of file-name-buffer-file-type-alist.
104
105 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
106
107 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
108 converter (Bug#13622).
109 (doc-view-unoconv-program): Make obsolete alias.
110 (doc-view-odf->pdf-converter-program): New variable.
111 (doc-view-odf->pdf-converter-function): New variable.
112 (doc-view-mode-p): Use it.
113 (doc-view-odf->pdf-converter-unoconv):
114 Rename from `doc-view-odf->pdf-converter-unoconv'.
115 (doc-view-odf->pdf-converter-soffice): New function.
116 (doc-view-convert-current-doc):
117 Use `doc-view-odf->pdf-converter-function'.
118
119 2013-02-09 Chong Yidong <cyd@gnu.org>
120
121 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
122 view-echo-area-messages (Bug#13340).
123
124 * help.el (view-echo-area-messages): Use display-buffer.
125
126 * dired-x.el (dired-do-run-mail): Prompt for confirmation
127 (Bug#13561).
128
129 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
130
131 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
132 Eval body right away, now that we do eager macroexpansion (bug#13605).
133
134 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
135 (fundamental-mode): Use run-mode-hooks.
136
137 * eshell/esh-proc.el (eshell/kill): Fix last change.
138 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
139
140 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
141
142 * eshell/esh-proc.el (eshell/kill): Rewrite.
143
144 * eshell/em-ls.el (show-almost-all): Declare.
145 (eshell-do-ls): Add support for -A argument.
146
147 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
148
149 * icomplete.el (icomplete-forward-completions)
150 (icomplete-backward-completions): Handle corner case (bug#13602).
151
152 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
153
154 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
155 be nil. Handle this. (Bug#13636)
156
157 2013-02-07 Richard Stallman <rms@gnu.org>
158
159 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
160 `save-buffer-coding-system'.
161
162 2013-02-07 Alan Mackenzie <acm@muc.de>
163
164 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
165 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
166 (c-parse-state-get-strategy): Don't return 'BOD any more.
167 (c-append-lower-brace-pair-to-state-cache):
168 Extra parameter HERE instead of narrowing.
169 Widen to top of buffer before searching backwards for a brace pair.
170 (c-state-push-any-brace-pair): Add HERE parameter to function call.
171 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
172 Narrow to parameter HERE, in place of being called narrowed.
173 (c-remove-stale-state-cache): Extra parameter HERE in place of
174 narrowing. Check there's an open brace in the cache before
175 searching for its match.
176 (c-invalidate-state-cache-1): Add HERE parameter to function call.
177 (c-parse-state-1): Don't narrow here for 'forward strategy,
178 instead passing extra parameter HERE to several functions.
179 Remove 'BOD strategy.
180
181 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
182
183 * emacs-lisp/package.el (describe-package-1): Tell what archive is
184 used to install the package.
185
186 2013-02-06 Glenn Morris <rgm@gnu.org>
187
188 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
189 if we can't get user input. (Bug#6567)
190
191 * startup.el (command-line): If simple.el is missing,
192 test and warn about for some possible causes.
193
194 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
195
196 * cus-start.el (all): Add ns-use-native-fullscreen.
197
198 2013-02-05 Glenn Morris <rgm@gnu.org>
199
200 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
201
202 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
203 Fix directory creation in fallback case.
204
205 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
206
207 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
208 (vc-update-change-log): Use dolist.
209
210 2013-02-04 Chong Yidong <cyd@gnu.org>
211
212 * thingatpt.el: Rewrite the URL detection routines, absorbing some
213 code from ffap.el.
214 (thing-at-point-beginning-of-url-regexp): New var.
215 (thing-at-point-uri-schemes): Update list of URI schemes.
216 (thing-at-point-url-regexp): Variable deleted.
217 (thing-at-point-markedup-url-regexp): Disallow newlines.
218 (thing-at-point-newsgroup-regexp)
219 (thing-at-point-newsgroup-heads)
220 (thing-at-point-default-mail-uri-scheme): New variables.
221 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
222 method to find the possible bounds of the URI at point.
223 New optional argument to find ill-formed URIs.
224 (thing-at-point-url-at-point): Rewrite. New arguments for finding
225 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
226 the scheme-adding heuristics from ffap-url-at-point.
227 (thing-at-point--bounds-of-well-formed-url): New function.
228 Do parens matching to decide whether to include parens in the URI
229 (Bug#9153).
230
231 * ffap.el: Require thingatpt.
232 (ffap-url-at-point): Delegate URI detection to thing-at-point.
233 All URI-valid characters are now recognized (Bug#5673).
234 (ffap-string-at-point): Use use-region-p.
235 (ffap-url-regexp): Extra character is handled by thing-at-point.
236 (ffap-string-at-point-mode-alist): Allow parentheses.
237 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
238 Convert to aliases; code moved to thingatpt.el.
239 (ffap-gnus-hook): Use setq-local.
240
241 2013-02-04 Glenn Morris <rgm@gnu.org>
242
243 * emacs-lisp/ert.el (ert--explain-format-atom):
244 Don't try to print non-characters as characters. (Bug#13543)
245
246 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
247
248 * net/tramp.el (tramp-debug-message): Extend function exclude list.
249 (tramp-backtrace): New defun.
250 (tramp-handle-insert-file-contents): Use `visit' when inserting
251 the local copy.
252
253 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
254 Use `remote-file-name-inhibit-cache'.
255
256 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
257
258 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
259 (bug#13614).
260
261 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
262 current-load-list (bug#13366).
263
264 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
265
266 * progmodes/compile.el (compilation-error-regexp-alist-alist):
267 Identify g++ template instantiation trace. (Bug#12287)
268 (compilation-mode-hook, compilation-start-hook)
269 (compilation-window-height): Simplify docstrings. (Bug#13379)
270
271 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
272
273 * mouse.el (mouse-drag-track): Always deactivate the mark before
274 running the final event's command since that command is in charge of
275 activating the mark if needed (bug#13523).
276
277 2013-02-02 Juri Linkov <juri@jurta.org>
278
279 * replace.el (perform-replace): Move let-bindings of isearch-*
280 variables deeper to the loop that searches for the next match.
281 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
282 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
283 (Bug#13579)
284
285 * isearch.el (isearch-search-fun-default): Check for null
286 first element of isearch-cmds as a precaution when it's used
287 with inactive isearch.
288
289 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
290
291 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
292 error when buffer in question is narrowed so position 1 is out of
293 visible part.
294
295 2013-02-02 Glenn Morris <rgm@gnu.org>
296
297 * textmodes/remember.el (remember-clipboard): Doc fix.
298
299 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
300
301 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
302 properties (bug#13179).
303
304 2013-02-02 Juri Linkov <juri@jurta.org>
305
306 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
307 instead of hard-coded default face `match'. (Bug#9438)
308
309 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
310
311 * vc/vc-arch.el (vc-arch-registered):
312 * vc/vc-bzr.el (vc-bzr-registered):
313 * vc/vc-cvs.el (vc-cvs-registered):
314 * vc/vc-git.el (vc-git-registered):
315 * vc/vc-hg.el (vc-hg-registered):
316 * vc/vc-mtn.el (vc-mtn-registered):
317 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
318 (Bug#13139)
319
320 * info.el (Info-next-reference, Info-prev-reference): Add numeric
321 prefix argument. (Bug#11656)
322
323 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
324
325 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
326
327 2013-02-01 Glenn Morris <rgm@gnu.org>
328
329 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
330 if the backend is known not to support it.
331
332 * imenu.el (imenu-default-create-index-function):
333 Tweak infinite loop test to check for forward motion as well as none.
334
335 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
336
337 * net/soap-client.el (soap-invoke): Encode the string for
338 `url-request-data' as UTF-8.
339 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
340
341 2013-02-01 Glenn Morris <rgm@gnu.org>
342
343 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
344
345 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
346
347 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
348
349 * net/tramp.el (tramp-tramp-file-p): Comment check for
350 `string-as-unibyte'. The function does not exist on XEmacs, and
351 likely we need another approach.
352
353 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
354 `tramp-gw-*' variables are bound.
355
356 2013-01-31 Glenn Morris <rgm@gnu.org>
357
358 * files.el (basic-save-buffer-2): Choose coding system for
359 writing the file before backing it up, to reduce delay between
360 backing up and writing the new version. (Bug#13522)
361
362 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
363
364 * simple.el (cycle-spacing): New command.
365 (just-one-space): Use it.
366
367 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
368
369 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
370 (opascal-newline-always-indents): Remove custom.
371 (opascal-tab, opascal-newline): Remove commands.
372 (opascal-new-comment-line): Insert "\n" instead of calling newline.
373 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
374 (opascal-save-match-data): Remove, use save-match-data instead.
375 (opascal-save-state): Use with-silent-modifications.
376
377 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
378 (bug#13585).
379
380 2013-01-30 Juri Linkov <juri@jurta.org>
381
382 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
383 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
384 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
385
386 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
387
388 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
389 column if we're just deleting the backslashes.
390 (makefile-fill-paragraph): Use eolp.
391
392 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
393
394 * autorevert.el (auto-revert-use-notify): Fix docstring.
395
396 2013-01-30 Leo Liu <sdl.web@gmail.com>
397
398 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
399
400 2013-01-30 Glenn Morris <rgm@gnu.org>
401
402 * mouse.el (mouse-drag-line): Avoid pushing same event onto
403 unread-command-events twice in some cases. This tries to implement
404 the 2012-07-26 changes in a different way. (Bug#13560)
405
406 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
407
408 * progmodes/python.el
409 (python-pdbtrack-comint-output-filter-function): Enhancements on
410 stacktrace detection. (thanks @gnovak)
411
412 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
413
414 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
415 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
416 Use defvar-local.
417 (jit-lock-register): Use setq-local.
418
419 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
420
421 * calc-units.el (math-default-units-table): Remove initial value.
422 (calc-convert-units): Treat expressions where all the units cancel as
423 if they didn't have units.
424
425 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
426
427 * net/tramp.el (tramp-process-connection-type): Fix docstring.
428 (tramp-completion-reread-directory-timeout): Fix type.
429 (tramp-connection-min-time-diff): New defcustom.
430
431 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
432
433 2013-01-30 Glenn Morris <rgm@gnu.org>
434
435 * imenu.el (imenu-default-create-index-function):
436 Put back a version of the infinite loop test removed 2013-01-23.
437
438 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
439
440 * progmodes/python.el (python-shell-parse-command):
441 Find python-shell-interpreter with modified environment.
442
443 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
444
445 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
446
447 2013-01-29 Alan Mackenzie <acm@muc.de>
448
449 Amend to fontify /regexp/s in actions correctly.
450 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
451 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
452 are no longer included.
453 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
454 What used to be these variables without "-line" in the name.
455 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
456 (c-awk-non-arith-op-bra-re): Now also matches {.
457 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
458 "return", and "case".
459 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
460 by /.
461 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
462 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
463
464 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
465
466 * autorevert.el (auto-revert-use-notify):
467 Use `custom-initialize-default' for initialization. (Bug#13583)
468
469 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
470
471 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
472 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
473 in `tramp-file-name-handler'.
474 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
475 compatibility.
476 (tramp-compute-multi-hops): Check, whether
477 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
478
479 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
480
481 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
482 (bug#13297).
483
484 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
485
486 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
487 checks made superfluous by the \_< operator.
488 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
489 temporarily) broken indentation.
490 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
491 Highlight nested constants, too. \_< broke that.
492
493 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
494
495 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
496 instead of "\\b".
497
498 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
499
500 * autorevert.el (auto-revert-handler): Notifications which result
501 from a saved file shall not be taken into account. (Bug#13557)
502
503 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
504
505 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
506 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
507 (lisp-mode): Pass t for it. (Bug#13556)
508
509 2013-01-25 Alan Mackenzie <acm@muc.de>
510
511 AWK Mode: Fix indentation bug at top level. Bug #12274.
512
513 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
514 just before CASE 5D.
515
516 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
517
518 * net/socks.el (socks-nslookup-host): Use string-to-number.
519
520 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
521
522 * autorevert.el (auto-revert-remote-files)
523 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
524 (auto-revert-notify-enabled, auto-revert-use-notify)
525 (auto-revert-notify-watch-descriptor-hash-list)
526 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
527 (auto-revert-notify-event-descriptor)
528 (auto-revert-notify-event-action)
529 (auto-revert-notify-event-file-name): Doc fix.
530 (global-auto-revert-mode): Reorder checks.
531 (auto-revert-notify-rm-watch): Respect changed values of
532 `auto-revert-notify-watch-descriptor-hash-list'.
533 (auto-revert-notify-add-watch): Check for
534 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
535 `inotify-add-watch'. Watch `default-directory' instead of
536 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
537 has a changed meaning now. (Bug#13540)
538 (auto-revert-notify-handler): Change implementation wrt events
539 returning from a directory.
540 (auto-revert-handler): Reorder implementation for checks of remote
541 files.
542 (auto-revert-buffers): Fix parentheses error.
543
544 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
545
546 * progmodes/python.el: Enhancements to header documentation about
547 skeletons. (Bug#5716)
548
549 * imenu.el (imenu-default-create-index-function): Remove useless
550 infinite loop check. (Bug#13438)
551
552 2013-01-25 Alan Mackenzie <acm@muc.de>
553
554 Fix a bug in the state cache mechanism. Refactor this a bit.
555
556 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
557 `cache-pos' element from the return value.
558 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
559 buffer to enable proper searching from beyond HERE. Amend the
560 test for detecting the sought brace pair. Amend the value written
561 to the "brace desert cache" when the brace isn't found.
562 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
563 and several other variables analogously.
564 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
565 parameter to a locally calculated variable.
566 (c-parse-state-1): Change the calling conventions to the two
567 defuns involving `cache-pos'.
568
569 2013-01-25 Chong Yidong <cyd@gnu.org>
570
571 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
572
573 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
574
575 * paren.el (show-paren-function): Make sure to set 'priority and
576 'face only if the overlay does exist.
577
578 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
579
580 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
581
582 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
583 basic attributes.
584 (tramp-sh-handle-set-file-acl): Improve error checking.
585
586 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
587
588 * doc-view.el (doc-view-display): Force mode line update until all
589 document is converted. Suggested by Stefan Monnier (Bug#13164).
590
591 2013-01-23 Bastien Guerry <bzg@gnu.org>
592
593 * paren.el (show-paren-function): Make sure an overlay exists
594 before trying to delete it. Also use `pos' as a position only
595 when it is an integer.
596
597 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
598
599 * play/gametree.el (gametree-break-line-here): Use point-marker.
600
601 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
602
603 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
604 Mark descriptive parts with `display' property.
605
606 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
607
608 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
609 New variable to map standard dict names to hunspell ones.
610 (ispell-set-spellchecker-params): Make sure specific dict names
611 are used for standard dicts with hunspell.
612
613 2013-01-21 Tassilo Horn <tsdh@gnu.org>
614
615 * textmodes/reftex-cite.el (reftex-format-citation): Add format
616 chars for note (%N) and url (%U).
617 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
618
619 2013-01-21 Juri Linkov <juri@jurta.org>
620
621 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
622 in addition to existing separate binding `meta f10' in `global-map'.
623 (Bug#13484)
624
625 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
626
627 Improve XEmacs compatibility.
628
629 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
630
631 * net/tramp-adb.el (top): Require `time-date'.
632 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
633 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
634 Use `tramp-file-name-handler'.
635 (tramp-adb-maybe-open-connection):
636 Use `tramp-compat-set-process-query-on-exit-flag'.
637
638 * net/tramp-sh.el (tramp-sh-handle-file-acl):
639 Use `tramp-compat-funcall'.
640
641 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
642 `tramp-compat-funcall'.
643
644 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
645
646 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
647 reimplementation using "adb shell command ..." instead of running
648 remote shell interactively.
649
650 2013-01-20 Glenn Morris <rgm@gnu.org>
651
652 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
653 Add native profiler menu entries.
654
655 * profiler.el (profiler-running-p): New function.
656 (profiler-cpu-profile): Use profiler-running-p.
657 (profiler-report-mode-map): Add some more menu entries.
658
659 2013-01-19 Glenn Morris <rgm@gnu.org>
660
661 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
662 fixes 2012-12-07 change. (Bug#13499)
663
664 2013-01-19 Leo Liu <sdl.web@gmail.com>
665
666 * dired.el (dired-get-marked-files): Prune erroneous values due to
667 last change. (Bug#13152)
668
669 2013-01-19 Glenn Morris <rgm@gnu.org>
670
671 * progmodes/etags.el (tags-table-check-computed-list):
672 Preserve point in tags buffer. (Bug#13412)
673
674 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
675
676 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
677 Chong Yidong <cyd@gnu.org>
678
679 * image-mode.el (image-next-file, image-previous-file):
680 New commands (Bug#8453).
681 (image-mode-map): Bind them to n and p.
682 (image-mode--images-in-directory): New helper function.
683
684 2013-01-19 Chong Yidong <cyd@gnu.org>
685
686 * image-mode.el (image-mode-fit-frame): Add a frame argument.
687 Suggested by Drew Adams (Bug#7730). Handle window decorations;
688 save and restore the old window configuration.
689
690 2013-01-18 Leo Liu <sdl.web@gmail.com>
691
692 * progmodes/js.el: Tweak autoload cookie for alias.
693
694 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
695
696 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
697 buffer local, again. This was lost with the fix on 2013-01-12.
698
699 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
700
701 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
702 order to support several eshell buffers in parallel.
703
704 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
705
706 * autorevert.el (auto-revert-use-notify): In the :set function, do
707 not modify `kill-buffer-hook'.
708 (auto-revert-notify-rm-watch):
709 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
710 (auto-revert-notify-add-watch): Do not call
711 `auto-revert-notify-rm-watch', but add it to a buffer local
712 `kill-buffer-hook'.
713
714 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
715
716 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
717 call to `eval' rather than a backquoted lambda.
718
719 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
720
721 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
722 to return an explicit nil.
723 (advice--remove-function): Change accordingly.
724
725 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
726 the use of nadvice.el.
727
728 * progmodes/which-func.el (which-function): Silence imenu errors
729 (bug#13433).
730
731 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
732
733 * progmodes/sql.el: (sql-imenu-generic-expression):
734 (sql-mode-font-lock-object-name): Match schema qualified names.
735 (sql-connect): Use string keys.
736 (sql-product-interactive): Wait for interpreter prompt.
737 (sql-comint-oracle): Set process coding based on NLS_LANG.
738
739 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
740
741 * progmodes/sql.el (sql-output-to-send): Remove, unused.
742 (sql-interactive-remove-continuation-prompt):
743 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
744
745 2013-01-14 Leo Liu <sdl.web@gmail.com>
746
747 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
748 (Bug#13420)
749
750 2013-01-14 Glenn Morris <rgm@gnu.org>
751
752 * progmodes/compile.el (compilation-error-regexp-alist-alist):
753 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
754
755 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
756
757 * progmodes/python.el (python-nav-end-of-statement):
758 Fix cornercase when handling multiline strings.
759
760 2013-01-13 Richard Stallman <rms@gnu.org>
761
762 * mail/sendmail.el (mail-position-on-field): Add doc string.
763
764 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
765 Get current message boundaries and pass them to
766 message-forward-make-body-mime. Minor style changes.
767
768 2013-01-13 Eli Zaretskii <eliz@gnu.org>
769
770 * cus-start.el (all): Avoid warnings about
771 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
772
773 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
774
775 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
776
777 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
778
779 * jit-lock.el (jit-lock-debug-mode): New minor mode.
780 (jit-lock--debug-fontifying): New var.
781 (jit-lock--debug-fontify): New function.
782 * subr.el (condition-case-unless-debug): Don't prevent catching the
783 error, just let the debbugger run.
784 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
785 timer code and don't drop errors silently.
786
787 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
788
789 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
790 `permanent-local' property.
791 (auto-revert-notify-handler): Use `file-equal-p'.
792
793 2013-01-12 Eli Zaretskii <eliz@gnu.org>
794
795 * autorevert.el (auto-revert-notify-handler): Fix filtering of
796 file notification by ACTION. For filtering by file name, compare
797 only the non-directory part of the file name.
798
799 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
800
801 * autorevert.el: Use cl-lib instead of cl.
802
803 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
804 (vc-bzr-checkin): Use it.
805 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
806 will preserve match-data.
807
808 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
809
810 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
811 (js--declaration-keyword-re): New var.
812 (js--multi-line-declaration-indentation): New function.
813 (js--proper-indentation): Use it.
814
815 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
816
817 * calc/calc.el (calc-highlight-selections-with-faces)
818 (calc-dispatch):
819 * comint.el (comint-history-isearch-message):
820 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
821 * ffap.el (ffap-string-at-point-region, ffap-next)
822 (ffap-string-at-point, ffap-string-around)
823 (ffap-copy-string-as-kill, ffap-highlight-overlay)
824 (ffap-literally):
825 * font-lock.el (font-lock-keywords-alist)
826 (font-lock-removed-keywords-alist):
827 * help-mode.el (help-xref-symbol-regexp):
828 * info.el (Info-find-emacs-command-nodes):
829 * international/mule.el (add-to-coding-system-list):
830 * isearch.el (isearch-message-function, isearch-fail-pos):
831 * misearch.el (multi-isearch-next-buffer-function):
832 * newcomment.el (comment-box):
833 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
834 (pr-setting-database):
835 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
836 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
837 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
838 (pike-font-lock-keywords-3):
839 * progmodes/compile.el (compile):
840 * progmodes/etags.el (tags-table-files)
841 (tags-table-files-function, tags-included-tables-function):
842 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
843 (gdb-restore-windows):
844 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
845 (ps-n-up-filling-database):
846 * server.el (server-buffer, server-log):
847 * simple.el (newline, delete-backward-char, delete-forward-char)
848 (minibuffer-history-isearch-message, kill-line, track-eol)
849 (temporary-goal-column):
850 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
851 (flyspell-default-deplacement-commands):
852 * textmodes/ispell.el (ispell-accept-output):
853 * textmodes/sgml-mode.el (html-tag-help):
854 * vc/compare-w.el (compare-ignore-whitespace)
855 (compare-ignore-case, compare-windows-dehighlight):
856 * vc/diff.el (diff):
857 * whitespace.el (whitespace-point)
858 (whitespace-font-lock-refontify, whitespace-bob-marker)
859 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
860
861 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
862
863 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
864 (auto-revert-notify-rm-watch): Ignore errors.
865 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
866 inotify, and '(size last-write-time) for w32notify.
867 Set buffer-local `auto-revert-use-notify' to nil when adding a file
868 watch fails - this is a fallback to the file modification check.
869 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
870 (auto-revert-notify-event-action)
871 (auto-revert-notify-event-file-name): New defuns.
872 (auto-revert-notify-handler): Use them. Implement first
873 plausibility checks.
874 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
875
876 2013-01-11 Julien Danjou <julien@danjou.info>
877
878 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
879 max are almost equal. Also return the correct value for V which is
880 already between 0 and 1.
881
882 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
883
884 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
885
886 2013-01-11 Eli Zaretskii <eliz@gnu.org>
887
888 * autorevert.el (auto-revert-notify-rm-watch)
889 (auto-revert-notify-add-watch): Fix typos in w32notify function
890 names.
891
892 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
893
894 * autorevert.el (auto-revert-notify-enabled): Move up.
895 (auto-revert-use-notify): New defcustom.
896 (auto-revert-mode, global-auto-revert-mode)
897 (auto-revert-notify-add-watch, auto-revert-handler)
898 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
899 `auto-revert-notify-enabled'.
900
901 2013-01-10 Elias Pipping <pipping@exherbo.org>
902
903 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
904 * doc-view.el (doc-view-document->bitmap):
905 Use doc-view-single-page-converter-function instead of
906 single-page-converter arg; adjust callers.
907
908 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
909
910 * progmodes/which-func.el (which-function): Understand Semantic's use
911 of overlays in imenu--index-alist.
912
913 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
914
915 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
916 (Man-man-k-use-anchor): New var.
917 (Man-parse-man-k): New function.
918 (Man-completion-table): Use it.
919 (man): Flush the completion cache between uses.
920
921 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
922
923 * autorevert.el: Add file watch support.
924 (auto-revert-notify-enabled): New defconst.
925 (auto-revert-notify-watch-descriptor-hash-list)
926 (auto-revert-notify-watch-descriptor)
927 (auto-revert-notify-modified-p): New defvars.
928 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
929 (auto-revert-notify-handler): New defuns.
930 (auto-revert-mode, global-auto-revert-mode): Remove file watches
931 when mode is disabled.
932 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
933 (auto-revert-buffers): Add file watches for active buffers.
934
935 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
936
937 * cus-start.el (toplevel): Only allow float values for
938 scroll-up-aggressively and scroll-down-aggressively.
939 Allow any number for line-spacing.
940
941 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
942
943 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
944 (doc-view-pdf->png-converter-function): Use mupdf if available.
945 (doc-view-djvu->png-converter-function)
946 (doc-view-ps->png-converter-function): Remove.
947 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
948 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
949 (doc-view-already-converted-p): Adjust accordingly.
950 (doc-view-mode-p): Simplify.
951 (doc-view-enlarge): Use setq-local.
952 (doc-view-pdf->png-converter-ghostscript)
953 (doc-view-djvu->png-converter-ddjvu)
954 (doc-view-pdf->png-converter-mupdf): Rework to call
955 doc-view-start-process directly.
956 (doc-view-pdf/ps->png): Simplify accordingly.
957 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
958 (doc-view-document->bitmap): Rename from doc-view-document->png.
959 (doc-view-convert-current-doc): Merge pdf and djvu cases.
960 (doc-view-set-slice-from-bounding-box): Fix completion table.
961 (doc-view-mode): Use add-hook for after-revert-hook.
962
963 2013-01-10 Glenn Morris <rgm@gnu.org>
964
965 * emacs-lisp/authors.el (authors-ignored-files)
966 (authors-valid-file-names, authors-renamed-files-alist):
967 Add some more entries.
968
969 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
970
971 * image-mode.el (image-mode-winprops): Don't throw away the fallback
972 `t' pseudo-window entry.
973
974 2013-01-10 Alan Mackenzie <acm@muc.de>
975
976 Fix bugs in the c-parse-state mechanism. Reuse some markers
977 instead of continually generating new ones.
978
979 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
980 (c-state-old-cpp-end-marker): New variables.
981 (c-append-lower-brace-pair-to-state-cache): Start a backward
982 search for "}" definitively outside CPP constructs.
983 (c-remove-stale-state-cache): Inform the caller of a need to
984 search back for a brace pair in certain circumstances.
985 (c-state-maybe-marker): New macro.
986 (c-parse-state): Reuse markers when appropriate.
987
988 2013-01-10 Glenn Morris <rgm@gnu.org>
989
990 * simple.el (execute-extended-command): Doc fix.
991 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
992
993 2013-01-10 Chong Yidong <cyd@gnu.org>
994
995 * faces.el (read-face-name): Doc fix.
996
997 2013-01-10 Roland Winkler <winkler@gnu.org>
998
999 * emacs-lisp/crm.el: Allow any regexp for separators.
1000 (crm-default-separator): All spaces around the default comma separator.
1001 (crm--completion-command): New macro.
1002 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1003 (crm-complete-and-exit): Handle non-single-char separators.
1004
1005 2013-01-09 Elias Pipping <pipping@lavabit.com>
1006
1007 * doc-view.el: Add support for DjVu (bug#13164).
1008 (doc-view-djvu->png-converter-function): New config var.
1009 (doc-view-single-page-converter-function, doc-view--image-type)
1010 (doc-view--image-file-extension): New vars.
1011 (doc-view-mode): Initialize them.
1012 (doc-view-goto-page): Use them.
1013 (doc-view-mode-p): Add support for ddjvu.
1014 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1015 (doc-view-set-up-single-converter): New funs.
1016 (doc-view-pdf/ps->png): Extend for djvu.
1017 (doc-view-document->png): Rename from doc-view-pdf->png.
1018 (doc-view-convert-current-doc): Handle djvu.
1019 (doc-view-insert-image, doc-view-display)
1020 (doc-view-already-converted-p): Don't hardcode png.
1021 (doc-view-set-doc-type): Recognize djvu docs.
1022
1023 2013-01-09 Elias Pipping <pipping@lavabit.com>
1024
1025 * doc-view.el: Add support for mupdf converter (bug#13164).
1026 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1027 (doc-view-ps->png-converter-function): New config vars.
1028 (doc-view-pdf->png-converter-ghostscript)
1029 (doc-view-ps->png-converter-ghostscript)
1030 (doc-view-pdf->png-converter-mupdf): New functions.
1031 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1032
1033 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1034
1035 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1036 first in session cache: When `tramp-own-remote-path' is in
1037 `tramp-remote-path', the remote path is only set in the session
1038 cache.
1039
1040 2013-01-09 Glenn Morris <rgm@gnu.org>
1041
1042 * emacs-lisp/trace.el (trace-function-foreground)
1043 (trace-function-background): Doc fix.
1044
1045 2013-01-09 Juri Linkov <juri@jurta.org>
1046
1047 * international/mule-cmds.el (read-char-by-name): Move let-binding
1048 of completion-ignore-case around completing-read to fix regression
1049 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1050 `string-match-p' using the nil value of `case-fold-search' and
1051 `completion-ignore-case' in `completion-pcm--all-completions'.
1052 (Bug#12615).
1053
1054 2013-01-09 Glenn Morris <rgm@gnu.org>
1055
1056 * progmodes/compile.el (compilation-parse-errors):
1057 Fix typo. (Bug#13369)
1058
1059 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1060
1061 * comint.el (comint-send-input): Check size of buffer before
1062 waiting for process output, in case already accepted. (Bug#13290)
1063
1064 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1065
1066 Spelling fixes.
1067 * net/tramp-adb.el (tramp-adb-get-toolbox):
1068 Fix misspelling of 'unknown'.
1069
1070 2013-01-08 Juri Linkov <juri@jurta.org>
1071
1072 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1073 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1074 Use underline style wave on terminals that support it. (Bug#13000)
1075
1076 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1077
1078 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1079 the predicate returns nil.
1080
1081 * simple.el: Use lexical-binding.
1082 (primitive-undo): Use pcase.
1083 (minibuffer-history-isearch-push-state): Use a closure.
1084
1085 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1086
1087 * simple.el (primitive-undo): Move from undo.c.
1088
1089 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1090
1091 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1092 (cvs-mode-remove-handled): Use it (bug#13380).
1093
1094 * emacs-lisp/nadvice.el (advice--tweak): New function.
1095 (advice--remove-function, advice--subst-main): Use it.
1096
1097 * emacs-lisp/advice.el: Update commentary.
1098
1099 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
1100
1101 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1102 Remove spurious entry.
1103
1104 2013-01-08 Glenn Morris <rgm@gnu.org>
1105
1106 * net/tramp.el (tramp-default-host-alist): Add :version.
1107
1108 2013-01-08 Juri Linkov <juri@jurta.org>
1109
1110 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1111 single completion. (Bug#12456)
1112 (info--manual-names): Expand node completions into an explicit list
1113 before appending it to another list. Filter out internal buffers
1114 with the leading space in the buffer name. (Bug#10771)
1115
1116 2013-01-08 Juri Linkov <juri@jurta.org>
1117
1118 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
1119 that defaults to the Top node.
1120 (Info-goto-node, Info-read-node-name): Doc fix to mention that
1121 the short format (FILENAME) goes to the Top node.
1122 (Info-build-node-completions): Rename arg `file' to `filename'.
1123 (Bug#13365)
1124
1125 2013-01-07 Bastien Guerry <bzg@gnu.org>
1126
1127 * menu-bar.el (menu-bar-search-documentation-menu):
1128 Use `apropos-user-option' and fix the help message.
1129
1130 2013-01-07 Bastien Guerry <bzg@gnu.org>
1131
1132 * apropos.el (apropos-do-all): Update docstring.
1133 (apropos-user-option-button): New face.
1134 (apropos-user-option): Rename from `apropos-variable' and update
1135 docstring.
1136 (apropos-variable): Rewrite, now show all variables by default.
1137 (apropos-print): Mention "User option" instead of "Variable" when
1138 printing doc for user options. (Bug#13276)
1139
1140 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
1141
1142 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1143 Handle filename correctly, when parsing "source -> target" symlink
1144 output.
1145 (tramp-adb-handle-set-file-times): New defun.
1146
1147 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
1148
1149 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1150 advice list when the interactive-spec of ad-Advice-* changes.
1151
1152 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1153
1154 * wid-edit.el (widget-default-get): Work for inlined elements.
1155 (Bug#12670)
1156
1157 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
1158
1159 * net/tramp.el (tramp-default-host-alist): New defcustom.
1160 (tramp-find-host): Use it.
1161 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
1162 `eshell-directory-change-hook'.
1163
1164 * net/tramp-adb.el (top): Add adb specific entry in
1165 `tramp-default-host-alist'.
1166 (tramp-adb-file-name-host): Remove function.
1167 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1168 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1169
1170 * net/tramp-sh.el: Move eshell integration code to tramp.el.
1171
1172 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1173
1174 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1175
1176 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
1177
1178 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
1179 consist of more than one digit.
1180 (tramp-adb-file-name-handler-alist):
1181 Use `tramp-handle-file-exists-p' consistently.
1182 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1183 (tramp-adb-handle-file-exists-p): Remove function.
1184 (tramp-adb-file-name-host): New defun.
1185 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1186 Use it.
1187 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1188
1189 2013-01-06 Chong Yidong <cyd@gnu.org>
1190
1191 * vc/vc.el (vc-next-action): Detect buffer modifications
1192 conflicting with locking VCS operation (Bug#11490).
1193
1194 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1195
1196 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
1197
1198 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1199 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1200
1201 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1202
1203 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1204 parsing of ls output using regular expression (handle filenames
1205 with spaces). Use virtual device number.
1206 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1207 cleanup).
1208
1209 2013-01-04 Daiki Ueno <ueno@gnu.org>
1210
1211 * epg.el: Silence byte-compiler warnings.
1212 (epg--start): Use delete-char instead of delete-backward-char.
1213 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1214
1215 2013-01-04 Daiki Ueno <ueno@gnu.org>
1216
1217 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1218 Suggested by Eli Zaretskii <eliz@gnu.org>.
1219
1220 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
1221
1222 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1223 non-negative integers. Otherwise, the default values are used.
1224 (tramp-convert-file-attributes): Convert uid and gid to integers.
1225
1226 2013-01-04 Glenn Morris <rgm@gnu.org>
1227
1228 * term.el (term-handle-colors-array): Ensure face attributes
1229 are fully specified, not nil. (Bug#13337)
1230
1231 * term.el (term-default-fg-color, term-default-bg-color):
1232 Fix custom type.
1233
1234 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1235 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1236 rather than 'jka-compr being loaded. (Bug#13338)
1237
1238 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1239
1240 * icomplete.el (icomplete-completions):
1241 Honor icomplete-prospects-height once more following
1242 2012-11-29 changes. (Bug#13224)
1243
1244 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1245
1246 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1247 of called-interactively-p as well (bug#13237).
1248
1249 * view.el (view--enable, view--disable): Rename from view-mode-enable
1250 and view-mode-disable and assume it's called from view-mode.
1251 (view-mode-enable, view-mode-disable): Redefine as obsolete
1252 compatibility layer above view-mode.
1253 (view-mode-enter): Call `view-mode'.
1254
1255 * files.el (after-find-file): Call `view-mode'.
1256
1257 * doc-view.el (doc-view-scale-internally): New var.
1258 (doc-view-enlarge, doc-view-insert-image): Obey it.
1259
1260 2013-01-03 Daiki Ueno <ueno@gnu.org>
1261
1262 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1263 exist. (Bug#13344)
1264
1265 2013-01-03 Glenn Morris <rgm@gnu.org>
1266
1267 * mail/rmail.el (rmail-set-header-1): Ignore case.
1268 Handle multi-line headers. (Bug#13330)
1269
1270 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1271 Handle paragraph starting at beginning of buffer.
1272
1273 * subr.el (eval-after-load): Don't purecopy the form, so that it
1274 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1275
1276 * emacs-lisp/byte-run.el (defun): Place cl declarations
1277 after any interactive spec. (Bug#13265)
1278
1279 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1280
1281 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1282 defun. Don't check for DECL if DOCSTRING isn't a string.
1283 (defun): Likewise.
1284
1285 2013-01-02 Glenn Morris <rgm@gnu.org>
1286
1287 * eshell/em-cmpl.el (eshell-pcomplete):
1288 More thoroughly imitate pcomplete. (Bug#13293)
1289
1290 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1291 Return nil for empty path elements. (Bug#13296)
1292
1293 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
1294
1295 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1296 order to improve efficiency (Based on Daniel Colascione's
1297 <dancol@dancol.org> patch). (Bug#13182)
1298
1299 2013-01-02 Glenn Morris <rgm@gnu.org>
1300
1301 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1302
1303 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1304
1305 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1306 neither DOCSTRING nor DECL was given. (Bug#13316)
1307
1308 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
1309
1310 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1311 `error' call.
1312 (tramp-do-copy-or-rename-file): Ignore errors when calling
1313 `set-file-extended-attributes'.
1314
1315 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1316 Add handler for `file-acl'.
1317 (tramp-smb-handle-file-acl): New defun.
1318
1319 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
1320
1321 * calc/README: Mention ISO 8601 week-numbering dates.
1322
1323 2013-01-01 Martin Rudalics <rudalics@gmx.at>
1324
1325 * view.el (view-mode-enable): New argument run-view-mode-hook.
1326 Run view-mode-hook only when it's non-nil (Bug#13315).
1327 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1328 argument t.
1329
1330 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
1331
1332 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1333 (No device connected, invalid device name). (Bug #13299)
1334
1335 2012-12-31 Martin Rudalics <rudalics@gmx.at>
1336
1337 * window.el (window-resizable--p): Rename to window-resizable-p.
1338 (window-resize-no-error): New function.
1339
1340 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1341 broken in fix from 2012-12-28.
1342
1343 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
1344
1345 * subr.el (special-form-p): Don't signal errors on undef aliases.
1346
1347 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
1348
1349 * calc/calc-forms.el (math-parse-date): Try using
1350 `math-parse-iso-date' when it looks like it might be needed.
1351 Allow times of 24:00.
1352 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
1353 of 24:00.
1354
1355 2012-12-30 Glenn Morris <rgm@gnu.org>
1356
1357 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
1358 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
1359 (rmail-summary-displayed, rmail-summary): Declare.
1360 (mairix-rmail-display): Just require rmail.
1361
1362 2012-12-30 Chong Yidong <cyd@gnu.org>
1363
1364 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
1365 check for the tarball contents.
1366
1367 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
1368
1369 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
1370 tarfile content listings (Bug#13136).
1371
1372 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
1373
1374 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1375 Insert the undecoded text of the message being forwarded. (Bug#9521)
1376
1377 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
1378
1379 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
1380 integers, if they are real numbers. (Bug#13282)
1381
1382 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
1383 Return `t' on success.
1384
1385 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1386 Add handler for `set-file-selinux-context'.
1387
1388 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
1389
1390 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
1391 (tramp-sh-handle-set-file-acl): Return `t' on success.
1392
1393 2012-12-29 Eli Zaretskii <eliz@gnu.org>
1394
1395 * files.el (backup-buffer-copy, basic-save-buffer-2):
1396 If set-file-extended-attributes fails, fall back on set-file-modes
1397 instead of signaling an error. (Bug#13298)
1398 (basic-save-buffer): Likewise.
1399
1400 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1401
1402 * progmodes/python.el: Support other commands triggering
1403 python-indent-line so indentation cycling continues to work.
1404 (python-indent-trigger-commands): New defcustom.
1405 (python-indent-line): Use it.
1406
1407 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1408
1409 * progmodes/python.el (python-shell-send-region): Add blank lines
1410 for non sent code so backtraces remain correct.
1411
1412 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1413
1414 * progmodes/python.el: Remove cl dependency.
1415 (python-syntax-count-quotes): Replace incf call.
1416 (python-fill-string): Replace setf call.
1417
1418 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
1419
1420 * info.el (info-other-window): New arg, for consistency with info.
1421
1422 2012-12-28 Martin Rudalics <rudalics@gmx.at>
1423
1424 * mail/rmail.el (rmail-maybe-display-summary):
1425 Rewrite (Bug#13066).
1426
1427 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
1428
1429 * epg.el (epg--start): Modify process-environment locally.
1430
1431 2012-12-28 Daiki Ueno <ueno@gnu.org>
1432
1433 * epg.el: Support pinentry-curses.
1434 Suggested by Werner Koch in
1435 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
1436 (epg-agent-file, epg-agent-mtime): New variable.
1437 (epg--start): Record the modified time of gpg-agent socket file,
1438 to restore Emacs frame after pinentry-curses termination.
1439 (epg-wait-for-completion): Restore Emacs frame here.
1440
1441 2012-12-27 Juri Linkov <juri@jurta.org>
1442
1443 * info.el (Info-file-completions): New variable.
1444 (Info-read-node-name-1): Complete node names in the Info file
1445 when a file name is given. Call `Info-build-node-completions'
1446 with a file name.
1447 (Info-build-node-completions): Add new arg `file'. When it is
1448 non-nil, visit it in a temporary buffer and cache its completions in
1449 `Info-current-file-completions'. Move most of the function body to
1450 `Info-build-node-completions-1'.
1451 (Info-build-node-completions-1): New function with the body from
1452 `Info-build-node-completions'. (Bug#12456)
1453
1454 2012-12-27 Juri Linkov <juri@jurta.org>
1455
1456 * frame.el (frame-maximization-style): Remove user option.
1457 (cycle-frame-maximized): Remove function.
1458 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
1459 (toggle-frame-fullscreen): New command bound to <f11> instead of
1460 `toggle-frame-maximized'.
1461 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
1462
1463 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
1464
1465 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
1466
1467 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1468 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1469 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1470 for `file-accessible-directory-p'. (Bug#13275)
1471
1472 2012-12-27 Sam Steingold <sds@gnu.org>
1473
1474 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
1475 continuations, see <http://stackoverflow.com/questions/3582436>.
1476
1477 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
1478
1479 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
1480 "module" and "def" to have indentation before them.
1481 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
1482
1483 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
1484
1485 2012-12-27 Alan Mackenzie <acm@muc.de>
1486
1487 Speed up fontification where there's large brace blocks.
1488 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
1489 to a call of c-beginning-of-decl-1.
1490
1491 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1492
1493 * comint.el (comint-adjust-window-point): New function.
1494 (comint-postoutput-scroll-to-bottom):
1495 Call comint-adjust-window-point (Bug#13248).
1496
1497 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
1498
1499 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
1500 Rakefile regexp.
1501 (auto-mode-alist): Associate .gemspec files with ruby-mode
1502 (https://bugs.ruby-lang.org/issues/5453).
1503
1504 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
1505
1506 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
1507 Suppress coloring, if possible (required for BusyBox based systems like
1508 CyanogenMod).
1509 (tramp-adb-handle-file-attributes)
1510 (tramp-adb-handle-insert-directory)
1511 (tramp-adb-handle-file-name-all-completions): Use it.
1512 (tramp-adb-get-toolbox): New defun. Check for remote shell
1513 implementation (BusyBox or Toolbox).
1514
1515 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
1516
1517 * startup.el (initial-buffer-choice): Allow function as value
1518 (Bug#13251).
1519 (command-line-1): Handle case where initial-buffer-choice
1520 specifies a function.
1521 * server.el (server-execute): Handle case where
1522 initial-buffer-choice specifies a function.
1523
1524 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1525
1526 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
1527 its own function.
1528 (smtpmail-try-auth-methods): Forget the user name/password if the
1529 login is unsuccessful (bug#12424).
1530
1531 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
1532
1533 * notifications.el (notifications-notify): Protect body with
1534 `with-demoted-errors'.
1535
1536 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1537 Check properties of remote device. Restart connection, if there is a
1538 change.
1539
1540 2012-12-21 Chong Yidong <cyd@gnu.org>
1541
1542 * sort.el (sort-subr): Doc fix (Bug#13056).
1543
1544 2012-12-21 Bastien Guerry <bzg@gnu.org>
1545
1546 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
1547
1548 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
1549
1550 * simple.el (process-file): Overwrite stderr file, if exists.
1551
1552 2012-12-21 Daiki Ueno <ueno@gnu.org>
1553
1554 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
1555 (epg-error): Set `error-message' property.
1556
1557 2012-12-21 Chong Yidong <cyd@gnu.org>
1558
1559 * international/mule-cmds.el (read-char-by-name): Signal an error
1560 if the user does not supply a valid character (Bug#13177).
1561
1562 * simple.el (transpose-subr-1): Preserve marker positions by
1563 changing the insertion sequence (Bug#13122).
1564
1565 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1566
1567 * simple.el (kill-region): Deactivate mark even for empty regions
1568 (Bug#13169).
1569
1570 2012-12-21 Chong Yidong <cyd@gnu.org>
1571
1572 * help-fns.el (describe-variable): Make sure we get the right
1573 buffer name (Bug#13105). Suggested by Kelly Dean.
1574
1575 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
1576
1577 * comint.el (comint-redirect-previous-input-string): New variable.
1578 (comint-redirect-setup, comint-redirect-cleanup)
1579 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
1580 (comint-redirect-preoutput-filter): Fix verbose message.
1581
1582 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
1583
1584 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
1585 is too long for Tramp. See discussion in
1586 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
1587
1588 * progmodes/compile.el (compilation-start): Remove line escape
1589 template.
1590
1591 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
1592
1593 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
1594 Adjust comment.
1595
1596 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
1597
1598 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
1599 following non-comment text (bug#13207).
1600 (lm-header-multiline): Continuation lines need to be indented more than
1601 the first line.
1602 (lm-homepage): New function.
1603 (lm-with-file): Don't be confused if narrowing is in effect.
1604
1605 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1606
1607 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
1608 very beginning of a hunk (e.g. killing the first line).
1609
1610 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
1611
1612 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
1613 and text properties from returned ACL string.
1614 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
1615 for "setfacl" command.
1616
1617 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
1618
1619 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
1620 `tramp-cleanup-this-connection', when the process has died.
1621 (Bug#13151)
1622
1623 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1624
1625 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
1626
1627 2012-12-17 Kevin Ryde <user42@zip.com.au>
1628
1629 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
1630
1631 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
1632
1633 Add support for preserving ACL entries of files.
1634
1635 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
1636 `set-file-acl' handlers.
1637
1638 * net/tramp-adb.el (tramp-adb-handle-copy-file):
1639 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1640
1641 * net/tramp-compat.el (tramp-compat-copy-file):
1642 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1643
1644 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1645 Add `file-acl' and `set-file-acl' handlers.
1646 (tramp-gvfs-handle-copy-file):
1647 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1648 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
1649 New defuns.
1650
1651 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1652 Add `file-acl' and `set-file-acl' handlers.
1653 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
1654 (tramp-sh-handle-set-file-acl): New defuns.
1655 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
1656 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1657
1658 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1659 Add `file-acl' and `set-file-acl' handlers.
1660 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
1661
1662 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1663
1664 * help-macro.el (make-help-screen): Instead of switch-to-buffer
1665 use pop-to-buffer with NORECORD argument t. As buffer name, use
1666 *Metahelp* with a leading space (Bug#13190).
1667
1668 2012-12-16 Romain Francoise <romain@orebokech.com>
1669
1670 * files.el (file-extended-attributes)
1671 (set-file-extended-attributes): New functions.
1672 (backup-buffer): Use them to handle both SELinux context and ACL
1673 entries.
1674 (backup-buffer-copy): Work with an alist of extended attributes,
1675 rather than an SELinux context.
1676 (basic-save-buffer-2): Ditto.
1677
1678 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
1679
1680 * battery.el (battery-bsd-apm): New function.
1681
1682 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
1683
1684 * calc/calc.el (calc-standard-date-formats): Adjust one of the
1685 standard date formats.
1686
1687 2012-12-15 Juri Linkov <juri@jurta.org>
1688
1689 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
1690 `isearch-insert-char-by-name'.
1691 (with-isearch-suspended): New defmacro with body mostly from
1692 `isearch-edit-string' except the part that sets
1693 `isearch-new-string' and `isearch-new-message'.
1694 (isearch-edit-string): Use new macro `with-isearch-suspended' with
1695 body that sets `isearch-new-string' and `isearch-new-message'.
1696 (isearch-insert-char-by-name): New command.
1697 * international/mule-cmds.el (read-char-by-name): Let-bind
1698 `enable-recursive-minibuffers' to t.
1699 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
1700
1701 2012-12-15 Juri Linkov <juri@jurta.org>
1702
1703 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
1704 (Bug#13175)
1705
1706 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
1707
1708 * dired-x.el (dired-guess-shell-command): Put colon at the end of
1709 the prompt. (Bug#13045)
1710
1711 2012-12-14 Glenn Morris <rgm@gnu.org>
1712
1713 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
1714 Try to include filename in non-bytecomp warning. (Bug#13132)
1715
1716 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
1717
1718 Fix permissions bugs with setgid directories etc. (Bug#13125)
1719 * files.el (backup-buffer): Don't rely on 9th output of
1720 file-attributes, as it's now a placeholder. Instead, use the new
1721 optional arg of file-ownership-preserved-p.
1722 (file-ownership-preserved-p): New optional arg GROUP.
1723 Fix mishandling of setuid directories that would cause this
1724 function to return t when it should have returned nil.
1725 Document what happens if the file does not exist, and when
1726 it's not known whether the ownership will be preserved.
1727 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
1728 Likewise.
1729 (tramp-get-local-gid): Use group-gid for integer, as that's
1730 faster and more reliable.
1731
1732 2012-12-14 Julien Danjou <julien@danjou.info>
1733
1734 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
1735 Update keywords list, data type and PL/pgSQL.
1736
1737 2012-12-14 Dave Abrahams <dave@boostpro.com>
1738
1739 * vc/ediff-util.el (ediff-buffer-type): New function.
1740 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
1741 rather than taking it as as argument.
1742 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
1743
1744 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
1745
1746 * json.el: Add pretty-print option (bug#12634).
1747 (json-encoding-separator, json-encoding-default-indentation)
1748 (json--encoding-current-indentation, json-encoding-pretty-print)
1749 (json-encoding-lisp-style-closings): New vars.
1750 (json--with-indentation): New macro.
1751 (json-encode-hash-table, json-encode-alist, json-encode-plist)
1752 (json-encode-array): Use it to obey json-encoding-pretty-print.
1753 (json-pretty-print-buffer, json-pretty-print): New commands.
1754
1755 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
1756
1757 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1758 Extract `ruby-syntax-propertize-expansions'.
1759 (ruby-syntax-propertize-expansions): Only change syntax on
1760 certain string delimiters, to punctuation. This way the common
1761 functions like forward-word and thing-at-point still work.
1762 (ruby-match-expression-expansion): Improve readability.
1763 (ruby-block-contains-point): New function.
1764 (ruby-add-log-current-method): Handle several edge cases.
1765
1766 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
1767
1768 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
1769 unload-feature finishes even when aborting an ongoing edebug session.
1770 Also, do not worry about edebug-mode, unload-feature takes care of it.
1771
1772 2012-12-13 Andreas Schwab <schwab@suse.de>
1773
1774 * net/tls.el (tls-program): Update customize type.
1775
1776 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
1777
1778 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
1779 (edebug-setup-hook, cl-read-load-hooks): Use it.
1780 (edebug-unload-function): New function. (Bug#13163)
1781
1782 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
1783
1784 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
1785 Otherwise, there could be errors in autoloading. (Bug#13151)
1786
1787 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
1788
1789 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
1790 sequences.
1791
1792 2012-12-13 Alan Mackenzie <acm@muc.de>
1793
1794 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
1795 * progmodes/cc-engine.el (c-backward-comments): Add code to work
1796 around `forward-comment' not recognizing ^M as whitespace.
1797
1798 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
1799
1800 * progmodes/python.el (python-skeleton-class)
1801 (python-skeleton-def): Do not add space after defun name.
1802
1803 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1804
1805 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
1806 (cl--symbol-function): Remove (now that funbound is like nil).
1807
1808 2012-12-12 Glenn Morris <rgm@gnu.org>
1809
1810 * button.el (button--area-button-p): Fix typo.
1811
1812 2012-12-12 Sam Steingold <sds@gnu.org>
1813
1814 * frame.el (frame-maximization-style): New user option.
1815 (toggle-frame-maximized): Toggle frame maximization according to
1816 `frame-maximization-style', bound to <f11>.
1817 (cycle-frame-maximized): Cycle between all maximization styles and
1818 non-maximized frame, bound to shift-<f11>.
1819
1820 2012-12-12 David Cadé <codename68@gmail.com>
1821
1822 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
1823
1824 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
1825
1826 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
1827 (eieio-override-prin1): Don't quote kewords and booleans.
1828 (object-write) <eieio-default-superclass>: Don't put closing parens
1829 on new line, avoid needless empty lines, align values that are objects
1830 with the slot keyword (instead of beginning on the same line).
1831 (eieio-list-prin1): Align value with slot keyword; increase
1832 eieio-print-depth before printing members of the list.
1833
1834 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1835
1836 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
1837 a display text-property.
1838 (report-emacs-bug-hook): Don't bother deleting it any more.
1839
1840 * hilit-chg.el (highlight-save-buffer-state): Delete.
1841 Use with-silent-modifications instead.
1842 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
1843
1844 * button.el: Handle buttons in display text-properties.
1845 (button--area-button-p, button--area-button-string):
1846 Use (STRING . STRING-POS) representation instead of just STRING.
1847
1848 2012-12-11 Eli Zaretskii <eliz@gnu.org>
1849
1850 * makefile.w32-in (compile4-SH): Fix a typo that caused term
1851 subdirectory be skipped.
1852
1853 2012-12-11 Glenn Morris <rgm@gnu.org>
1854
1855 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
1856
1857 * progmodes/f90.el (f90-line-continued, f90-indent-region):
1858 Treat preprocessor lines embedded in continuations like comments.
1859 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
1860
1861 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
1862
1863 * calc/calc.el (calc-standard-date-formats): Add more date
1864 formats.
1865 * calc/calc-forms.el (math-parse-iso-date): New function.
1866 (math-parse-date): Use `math-parse-iso-date' when appropriate.
1867 (math-parse-iso-date-validate): Add extra error checking.
1868 (calc-date-notation): Add ability to access new date formats.
1869
1870 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1871
1872 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
1873 font-lock as well as when there's no text-property.
1874
1875 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
1876
1877 * hi-lock.el: Refine the choice of default face.
1878 (hi-lock-keyword->face): New function. Use it wherever we used
1879 cadadadr instead.
1880 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
1881 (hi-lock--last-face): Remove var.
1882 (hi-lock--unused-faces): New var to replace it.
1883 (hi-lock-read-face-name): Use/maintain it.
1884 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
1885 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
1886 if it has another face.
1887
1888 2012-12-10 Eli Zaretskii <eliz@gnu.org>
1889
1890 * subr.el (w32notify-handle-event): New function.
1891 (inotify-handle-event): Doc fix.
1892
1893 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1894
1895 * subr.el (inotify-event-p, inotify-handle-event): New functions.
1896
1897 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
1898
1899 * simple.el (just-one-space): Doc fix.
1900
1901 2012-12-10 Eli Zaretskii <eliz@gnu.org>
1902
1903 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
1904
1905 2012-12-10 Le Wang <l26wang@gmail.com>
1906
1907 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
1908 narrowed buffer (bug#12361).
1909
1910 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
1911
1912 * vc/vc-hooks.el (vc-state): Doc fix.
1913
1914 2012-12-10 Glenn Morris <rgm@gnu.org>
1915
1916 * mail/rmail.el (rmail-maybe-display-summary):
1917 Preserve buffer, in case select-window changes it. (Bug#13066)
1918
1919 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1920
1921 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
1922 cl-load-hook where they belong.
1923
1924 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1925
1926 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
1927
1928 2012-12-09 Eli Zaretskii <eliz@gnu.org>
1929
1930 Parallelize byte compilation on MS-Windows.
1931 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
1932 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
1933 (WINS_BASIC): Define as concatenation of the above.
1934 (compile): Subdivide into 4 separate and independent jobs that can
1935 be run in parallel.
1936 (compile0-CMD, compile0-SH): New targets for compiling
1937 COMPILE_FIRST files, which are prerequisites for the rest of the
1938 byte-compilation.
1939 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
1940 New targets for parallel compilation with cmd.exe.
1941 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
1942 compiling under a Unixy shell.
1943
1944 2012-12-09 Chong Yidong <cyd@gnu.org>
1945
1946 * simple.el (set-mark-default-inactive): Delete this
1947 accidentally-introduced option.
1948 (set-mark-command, exchange-point-and-mark): Remove calls.
1949
1950 2012-12-09 Glenn Morris <rgm@gnu.org>
1951
1952 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
1953 Respect a defcustom's :set function, if appropriate. (Bug#109)
1954 (eval-defun): Doc fix.
1955
1956 2012-12-08 Juri Linkov <juri@jurta.org>
1957
1958 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
1959 (Info-fontify-node, Info-bookmark-make-record): Remove the
1960 file extension from Info-current-file (Bug#13016).
1961
1962 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1963
1964 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
1965 point, still provide some default.
1966 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
1967 names, since we don't use it right now. Actually return the list.
1968 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
1969
1970 2012-12-07 Chong Yidong <cyd@gnu.org>
1971
1972 * novice.el (disabled-command-function): Remove a spurious help
1973 xref (Bug#13043). Suggested by Kelly Dean.
1974
1975 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
1976 syntax is specified (Bug#13025).
1977
1978 * info.el (Info-set-mode-line): Remove the file extension from
1979 Info-current-file if there is one (Bug#13016).
1980
1981 2012-12-07 Glenn Morris <rgm@gnu.org>
1982
1983 * mail/rmail.el (rmail-mime-decoded): New permanent local.
1984 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
1985 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
1986 and rmail-mime-decoded. (Bug#9841)
1987
1988 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
1989 (batch-unrmail, unrmail): Doc fixes.
1990 (unrmail): Respect unrmail-mbox-format.
1991 * mail/rmail.el (rmail-mbox-format): New option.
1992 (rmail-show-message-1): Respect rmail-mbox-format.
1993
1994 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1995
1996 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
1997
1998 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1999
2000 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2001 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2002 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2003 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2004 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2005 (cl-progv): Don't rely on dynamic scoping to find the body.
2006 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2007 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2008 (cl-declaim): Use backquotes.
2009 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2010 Use "cl--" prefix for the object's tag.
2011
2012 * ses.el: Use advice-add/remove.
2013 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2014 (copy-region-as-kill, yank): Use advice-add.
2015 (ses-unload-function): Use advice-remove.
2016
2017 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2018
2019 * button.el: Make them work in header-lines (bug#12817).
2020 (button-map): Add bindings for header-line and mode-line use.
2021 (button-get, button-put, button-label): `button' may now be a string.
2022 (button-activate): Don't make it a defsubst.
2023 (button--area-button-p, button--area-button-string): New functions.
2024 (make-text-button): Fix the return value when `beg' was a string.
2025 (push-button): Handle the mode-line case.
2026
2027 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2028
2029 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2030 (sql-signum): Remove. Use `cl-signum' instead.
2031 (sql-read-passwd): Remove; use read-passwd instread.
2032 (sql-get-login-ext): Use read-string.
2033 (sql-get-login): Use dolist and pcase.
2034 (sql--completion-table): Rename from sql-try-completion.
2035 Use complete-with-action.
2036 (sql-mode): Don't change abbrev-all-caps globally.
2037 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2038 (sql-postgres-completion-object): Initialize vars in their `let'.
2039 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2040 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2041 (sql-comint-interbase): Use a single append, without setq.
2042 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2043
2044 * hi-lock.el: Rework the default face and the serialize regexp code.
2045 (hi-lock--auto-select-face-defaults): Remove.
2046 (hi-lock-string-serialize-serial): Remove.
2047 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2048 make weak.
2049 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2050 equal string.
2051 (hi-lock-set-pattern): Adjust accordingly.
2052 (hi-lock--regexps-at-point): Simplify accordingly.
2053 (hi-lock--auto-select-face-defaults): Remove.
2054 (hi-lock--last-face): New var to replace it.
2055 (hi-lock-read-face-name): Rewrite (bug#11095).
2056 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2057
2058 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
2059
2060 * net/tramp.el (tramp-replace-environment-variables):
2061 Hide compiler warning.
2062 (tramp-file-name-for-operation): Remove `executable-find',
2063 `start-process', `call-process' and `call-process-region'.
2064
2065 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
2066
2067 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2068 compatibility.
2069
2070 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2071
2072 2012-12-06 Chong Yidong <cyd@gnu.org>
2073
2074 * ffap.el (ffap-replace-file-component): Fix typo.
2075
2076 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2077
2078 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2079 fix open-paren-like token test (bug#12785).
2080
2081 2012-12-06 Glenn Morris <rgm@gnu.org>
2082
2083 * mail/rmailsum.el (rmail-new-summary): Tweak for
2084 rmail-maybe-display-summary changing buffer. (Bug#13066)
2085
2086 2012-12-06 Juri Linkov <juri@jurta.org>
2087
2088 * info.el (Info-fontify-node): Don't hide the last newline.
2089 (Bug#12272)
2090
2091 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2092
2093 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2094 so as to enable message-read-from-minibuffer to expand mail aliases.
2095
2096 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2097
2098 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2099 the `intangible' property.
2100 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2101
2102 2012-12-05 Deniz Dogan <deniz@dogan.se>
2103
2104 * net/rcirc.el (rcirc-urls): Update documentation.
2105 (rcirc-condition-filter): New function.
2106 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2107 and exclude consecutive duplicate URLs (Bug#6082).
2108
2109 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
2110
2111 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2112 Check return code of copy command.
2113
2114 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
2115 Use group `tramp'. Add version.
2116
2117 2012-12-05 Chong Yidong <cyd@gnu.org>
2118
2119 * ffap.el (ffap-url-regexp): Don't require matching at front of
2120 string (Bug#4952).
2121 (ffap-url-p): If only a substring matches, return that.
2122 (ffap-url-at-point): Use the return value of ffap-url-p.
2123 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
2124 (find-file-at-point, dired-at-point, dired-at-point-prompter)
2125 (ffap-guess-file-name-at-point): Likewise.
2126 (ffap-replace-file-component): Fix typo.
2127
2128 * info.el (info-display-manual): Add existing Info buffers, whose
2129 files may not be in Info-directory-list, to the completion.
2130 (info--manual-names): New helper function.
2131
2132 2012-12-05 Glenn Morris <rgm@gnu.org>
2133
2134 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2135 New functions, for detecting and resolving conflicts. (Bug#10709)
2136
2137 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
2138
2139 * hi-lock.el (hi-lock-auto-select-face): New user variable.
2140 (hi-lock-auto-select-face-defaults): New buffer local variable.
2141 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2142 (hi-lock-unface-buffer): Prompt user with useful defaults.
2143 With prefix arg, unhighlight all hi-lock patterns in buffer.
2144
2145 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2146
2147 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2148
2149 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
2150
2151 * Makefile.in (TRAMP_SRC):
2152 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2153
2154 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2155
2156 * net/tramp-adb.el: New package.
2157
2158 2012-12-04 Chong Yidong <cyd@gnu.org>
2159
2160 * terminal.el: Move to obsolete/.
2161
2162 * longlines.el: Move to obsolete/.
2163
2164 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2165 Remove code referring to longlines mode.
2166
2167 2012-12-03 Juri Linkov <juri@jurta.org>
2168
2169 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2170
2171 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2172
2173 * textmodes/ispell.el (ispell-init-process)
2174 (ispell-start-process, ispell-internal-change-dictionary):
2175 Make sure personal dictionary name is expanded after initial
2176 `default-directory' value. Use expanded strings for
2177 keep/restart checks and for value (Bug#13019).
2178
2179 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2180
2181 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2182
2183 2012-12-03 Leo Liu <sdl.web@gmail.com>
2184
2185 * files.el (dir-locals-read-from-file): Check file non-empty
2186 before reading. (Bug#13038)
2187
2188 2012-12-03 Glenn Morris <rgm@gnu.org>
2189
2190 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2191 Remove any version extension before checking filename. (Bug#13006)
2192 (jka-compr-compression-info-list): Belated :version bump.
2193
2194 2012-12-03 Chong Yidong <cyd@gnu.org>
2195
2196 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2197
2198 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2199 (buffer-menu): Doc fix (Bug#12294).
2200
2201 2012-12-03 Roland Winkler <winkler@gnu.org>
2202
2203 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2204 of diary-show-all-entries in the diary buffer (Bug#12994).
2205
2206 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
2207
2208 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2209 "<STDIN>". This is binary safe.
2210
2211 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2212
2213 * calc/calc-forms.el (math-absolute-from-iso-dt)
2214 (math-date-to-iso-dt, math-parse-iso-date-validate)
2215 (math-iso-dt-to-date): New functions.
2216 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2217 (math-fd-isoweekday): New variables.
2218 (calc-date-notation, math-parse-standard-date, math-format-date)
2219 (math-format-date-part): Add support for more formatting codes.
2220
2221 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2222
2223 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2224 current buffer's file name when called interactively (Bug#12488).
2225
2226 2012-12-02 Juri Linkov <juri@jurta.org>
2227
2228 * info.el (info-display-manual): Don't clobber an existing Info
2229 buffer (Bug#10770). Add completion (Bug#10771).
2230
2231 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2232
2233 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2234 before using it for comparison (Bug#5297).
2235
2236 2012-12-01 Jari Aalto <jari.aalto@cante.net>
2237
2238 * textmodes/css-mode.el (css-current-defun-name): New function.
2239 (css-mode): Use it.
2240
2241 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2242 (html-mode): Use it.
2243
2244 2012-12-01 Chong Yidong <cyd@gnu.org>
2245
2246 Modularize add-log-current-defun (Bug#2224).
2247 Suggested by Jari Aalto.
2248
2249 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2250 (add-log-current-defun): Move mode-specific code to other files.
2251 (add-log-lisp-like-modes, add-log-c-like-modes)
2252 (add-log-tex-like-modes): Variables deleted.
2253
2254 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2255 (lisp-mode-variables): Use it.
2256
2257 * progmodes/cc-mode.el (c-common-init):
2258 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2259 add-log-current-defun-function.
2260
2261 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2262 (m4-mode): Use it.
2263
2264 * progmodes/perl-mode.el (perl-current-defun-name): New.
2265 (perl-mode): Use it.
2266
2267 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2268 Use lisp-current-defun-name.
2269
2270 * textmodes/tex-mode.el (tex-current-defun-name): New.
2271 (tex-common-initialization): Use it.
2272
2273 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2274 (texinfo-mode): Use it.
2275
2276 2012-12-01 Chong Yidong <cyd@gnu.org>
2277
2278 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2279 * progmodes/autoconf.el (autoconf-mode):
2280 * progmodes/js.el (js-mode):
2281 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2282 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2283 * progmodes/perl-mode.el (perl-mode):
2284 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2285 * textmodes/css-mode.el (css-mode):
2286 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2287 (sgml-tags-invisible, sgml-guess-indent):
2288 * textmodes/tex-mode.el (tex-common-initialization)
2289 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2290 (doctex-mode, plain-tex-mode, latex-mode):
2291 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2292
2293 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2294
2295 * vc/vc-hg.el (vc-hg-next-revision):
2296 Ensure use of default "tip" output format. (Bug#6968)
2297
2298 2012-12-01 Kim F. Storm <storm@cua.dk>
2299
2300 * startup.el (fancy-startup-tail): Add a clickable link
2301 (Bug#2176).
2302
2303 2012-12-01 Chong Yidong <cyd@gnu.org>
2304
2305 * startup.el (fancy-startup-tail): Improve the message about
2306 auto-save files (Bug#2176).
2307
2308 * files.el (recover-session): Improve the descriptive message, and
2309 use substitute-command-keys.
2310
2311 2012-12-01 Glenn Morris <rgm@gnu.org>
2312
2313 * ido.el (ido-file-internal):
2314 Handle other-window, other-frame for dired. (Bug#13036)
2315
2316 2012-11-30 Glenn Morris <rgm@gnu.org>
2317
2318 * icomplete.el (icomplete-separator): Fix :version.
2319
2320 2012-11-30 Chong Yidong <cyd@gnu.org>
2321
2322 * shell.el (shell): For C-u M-x shell, use an inactive shell
2323 buffer as the default (Bug#1975).
2324 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2325 (shell-mode): Use them to reapply ansi colorization if Shell mode
2326 is re-enabled.
2327
2328 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2329
2330 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2331
2332 2012-11-30 Samuel Bronson <naesten@gmail.com>
2333
2334 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2335 flag to xargs, for compatibility with BSD xargs (Bug#11703).
2336
2337 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2338
2339 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2340 by move-to-column (Bug#3234).
2341
2342 2012-11-30 Chong Yidong <cyd@gnu.org>
2343
2344 * longlines.el (longlines-wrap-line, longlines-encode-region):
2345 Preserve text properties (Bug#1425).
2346
2347 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2348
2349 * vc/vc.el (vc-register): Allow registering a file which is
2350 already registered with a different backend (Bug#10589).
2351
2352 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
2353 Stefan Monnier <monnier@iro.umontreal.ca>
2354
2355 * icomplete.el: Change separator; add ido-style commands.
2356 (icomplete-show-key-bindings): Remove custom var.
2357 (icomplete-get-keys): Remove function.
2358 (icomplete-forward-completions, icomplete-backward-completions):
2359 New commands.
2360 (icomplete-minibuffer-map): New var.
2361 (icomplete-minibuffer-setup): Use it.
2362 (icomplete-exhibit): Don't delay if the list of completions is known.
2363 (icomplete-separator): New custom.
2364 (icomplete-completions): Use it.
2365 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
2366 (minibuffer-force-complete-and-exit): New command.
2367 (minibuffer--complete-and-exit): New function extracted from
2368 minibuffer-complete-and-exit.
2369 (minibuffer-complete-and-exit): Use it.
2370
2371 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
2372 error message when the file doesn't exist (bug#12974).
2373
2374 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2375
2376 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
2377
2378 2012-11-29 Glenn Morris <rgm@gnu.org>
2379
2380 * files.el (hack-dir-local-variables): Warn if try to set
2381 coding via dir-locals, since it doesn't work. (Bug#7169)
2382
2383 Add desktop support for restoring vc-dir buffers. (Bug#10606)
2384 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
2385 Set buffer-local value of desktop-save-buffer.
2386 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
2387 New functions.
2388 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
2389 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
2390
2391 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
2392 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
2393 Doc fix.
2394 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
2395 Doc fixes.
2396
2397 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
2398
2399 * calc/calc-forms.el (calc-date-notation): Fix regexp
2400 used to find time codes. Fix symbol for seconds.
2401
2402 2012-11-27 Glenn Morris <rgm@gnu.org>
2403
2404 * emacs-lisp/derived.el (derived-mode-make-docstring):
2405 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
2406
2407 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2408
2409 * textmodes/table.el (table-insert): Don't use `symbol-name' on
2410 lexically scoped variables (bug#13005).
2411
2412 2012-11-27 Glenn Morris <rgm@gnu.org>
2413
2414 * vc/vc-hooks.el (vc-mistrust-permissions):
2415 Default to t, to avoid data-loss. (Bug#11490)
2416
2417 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
2418
2419 * progmodes/python.el (python-indent-guess-indent-offset):
2420 If indentation is guessed make python-indent-offset buffer-local.
2421
2422 Fix Imenu regression.
2423 * progmodes/python.el (python-nav-beginning-of-defun):
2424 Fix forward movement when statement(s) separates point from defun.
2425 (python-imenu-prev-index-position): New function.
2426
2427 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2428
2429 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
2430
2431 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
2432 Don't set buffer-file-type. Return nil. (Bug#12989)
2433
2434 2012-11-27 Glenn Morris <rgm@gnu.org>
2435
2436 * hippie-exp.el (hippie-expand-try-functions-list):
2437 Re-autoload it. (Bug#12982)
2438
2439 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2440
2441 * descr-text.el (describe-char-padded-string):
2442 Call internal-char-font only on GUI frames. (Bug#11964)
2443
2444 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
2445
2446 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
2447 and obsoletion message.
2448
2449 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2450
2451 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
2452 the constructs to keep outside of the `cl-block' (bug#12977).
2453
2454 2012-11-27 Chong Yidong <cyd@gnu.org>
2455
2456 * mouse.el (mouse-drag-line): Even if the line is not draggable,
2457 keep reading until we get the up-event anyway, in order to process
2458 the up-event for mouse-1-click-follows-link (Bug#12971).
2459
2460 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
2461
2462 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
2463 base function is not yet defined (bug#12965).
2464 (ad-activate-advised-definition): Use ad-compile-function.
2465 (ad-activate): Use cond.
2466
2467 2012-11-25 Leo Liu <sdl.web@gmail.com>
2468
2469 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
2470 (Bug#12979)
2471
2472 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2473
2474 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
2475 reftex-section-info-function in order to be compatible with
2476 Texinfo integration.
2477
2478 * textmodes/reftex.el (reftex-section-pre-regexp)
2479 (reftex-section-post-regexp, reftex-section-info-function):
2480 New variable.
2481 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
2482 reftex-section-post-regexp, and reftex-section-info-function in order
2483 to be compatible with Texinfo integration.
2484
2485 * textmodes/reftex-toc.el (reftex-toc-promote-action):
2486 use reftex-section-pre-regexp variable in order to be compatible with
2487 Texinfo integration.
2488
2489 2012-11-25 Chong Yidong <cyd@gnu.org>
2490
2491 * faces.el: Make face-spec-set more analogous to setq.
2492 (face-spec-set): Change the third arg to specify whether this
2493 function is being called via defface, customize, or a third party.
2494 Set the appropriate symbol properties. Clear the override spec if
2495 setting via Custom. Initialize face if necessary. (Bug#4988)
2496 (face-spec-recalc): Allow theme faces to completely replace the
2497 defface spec, in the same way as custom faces (Bug#8454).
2498
2499 * cus-face.el (custom-declare-face): Move face initialization to
2500 face-spec-set.
2501 (custom-theme-set-faces): Don't initialize the face name here, as
2502 that is now done in face-spec-set.
2503
2504 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
2505 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
2506 Simplify by using the new arg to face-spec-set.
2507
2508 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
2509 reset face-override-spec too, and use custom-declare-face.
2510
2511 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
2512
2513 * term/ns-win.el (ns-initialize-window-system): Move creation of
2514 fontsets here (Bug#11964).
2515
2516 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2517
2518 * ses.el (ses-rename-cell): Correct bug on mode-line update after
2519 cell renaming.
2520
2521 2012-11-24 Chong Yidong <cyd@gnu.org>
2522
2523 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
2524 obsolete.
2525
2526 * custom.el (custom-theme-set-variables): Use a topological sort
2527 for ordering by custom dependencies (Bug#12952).
2528 (custom--sort-vars, custom--sort-vars-1): New functions.
2529
2530 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2531
2532 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
2533 lexical-binding (bug#12938).
2534
2535 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
2536
2537 * image-mode.el (image-transform-check-size): Use assertions only
2538 for images of type imagemagick.
2539
2540 Otherwise no error, image-transform-fit-to-{width,height} is
2541 silently ignored, as before. Doc fix.
2542
2543 2012-11-24 Chong Yidong <cyd@gnu.org>
2544
2545 * faces.el (color-defined-p): Doc fix (Bug#12853).
2546
2547 2012-11-24 Juri Linkov <juri@jurta.org>
2548
2549 * dired.el (dired-mark): Add optional arg `interactive'.
2550 Check for `use-region-p' if `interactive' is non-nil.
2551 (dired-unmark, dired-flag-file-deletion): Add optional arg
2552 `interactive'. Call `dired-mark' with the arg `interactive'.
2553 (Bug#10624)
2554
2555 * wdired.el: Revert 2012-10-17 change partly and replace it with
2556 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
2557 (wdired-finish-edit): Add marks for new file names to
2558 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
2559 after `revert-buffer'.
2560 (wdired-do-renames): Remove calls to `dired-remove-file',
2561 `dired-add-file', `dired-add-entry'. (Bug#11795)
2562
2563 2012-11-24 Alan Mackenzie <acm@muc.de>
2564
2565 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
2566
2567 Fix bugs in the state cache. Enhance a debugging mechanism.
2568 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
2569 "brace at column zero" strategy for C++.
2570 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
2571 (c-parse-state-point): New variable.
2572 (c-record-parse-state-state): Record old parse state with
2573 `copy-tree'. Record previous value of point.
2574 (c-debug-parse-state-double-cons): New debugging function.
2575 (c-debug-parse-state): Call the above new function.
2576 (c-toggle-parse-state-debug): Output a confirmatory message.
2577
2578 * progmodes/cc-mode.el (c-before-change, c-after-change):
2579 Call c-invalidate-state-cache from `c-before-change' instead of
2580 `c-after-change'.
2581
2582 2012-11-23 Chong Yidong <cyd@gnu.org>
2583
2584 * find-cmd.el (find-constituents): Add executable, ipath,
2585 readable, samefile, writable, daystart, regextype (Bug#12856).
2586
2587 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2588
2589 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
2590
2591 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
2592
2593 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
2594 definition. This fixes a bootstrap failure.
2595 (calc-gregorian-switch): In menu, put dates before regions.
2596 This is easier to follow, lines up better in the menu, and lets us
2597 coalesce regions that switch at the same time. Give country
2598 names, not "Vatican", as that's better for non-expert users.
2599 Use names that are stable between the date of switch and now, e.g.,
2600 Bohemia and Moravia (which existed then and now) and not
2601 Czechoslovakia (which didn't exist then and doesn't exist now).
2602 What is now the U.S. mostly did not switch at the same time as
2603 Britain, so omit the U.S. Correct spelling of "Britain".
2604 Catholic Switzerland was too much of a mess, so omit it.
2605
2606 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
2607
2608 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
2609 after the variable is changed.
2610
2611 2012-11-21 Daniel Colascione <dancol@dancol.org>
2612
2613 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
2614 in SQL declarations for font-lock.
2615 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
2616
2617 2012-11-21 Glenn Morris <rgm@gnu.org>
2618
2619 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
2620 (face-italic-p): Add optional argument "inherit".
2621
2622 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
2623 Remove -p suffix from names, for consistency with other set-face-*.
2624 (set-face-inverse-video): Fix interactive spec.
2625 * play/gamegrid.el (gamegrid-make-mono-tty-face):
2626 * textmodes/table.el (table--update-cell-face):
2627 Use set-face-inverse-video rather than now obsolete alias.
2628
2629 2012-11-21 Eli Zaretskii <eliz@gnu.org>
2630
2631 * simple.el (line-move): Don't call line-move-partial if
2632 scroll-conservatively is in effect. (Bug#12927)
2633
2634 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2635
2636 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
2637 Fallback on completion-at-point rather than
2638 pcomplete-expand-and-complete, and only if pcomplete actually failed.
2639 (eshell-cmpl-initialize): Setup completion-at-point.
2640
2641 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
2642
2643 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
2644
2645 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
2646
2647 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
2648 are remote, check out-of-band property for both.
2649
2650 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2651
2652 * window.el (switch-to-buffer): Re-add the warning that was lost in the
2653 code rewrite.
2654
2655 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
2656
2657 More minor time fixes.
2658 * calendar/time-date.el: Commentary fix.
2659 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
2660 too much other code depends on (0 0) time stamps.
2661 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
2662 Add a couple of FIXME comments.
2663
2664 Minor cleanup for times as lists of four integers.
2665 * files.el (dir-locals-directory-cache):
2666 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
2667 Doc fixes.
2668 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
2669 * ps-bdf.el (bdf-file-newer-than-time):
2670 Process four-integers time stamps, not two. Doc fixes.
2671
2672 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2673
2674 * uniquify.el (uniquify-managed): Use defvar-local.
2675 (rename-buffer, create-file-buffer): Advise with advice-add.
2676 (uniquify-unload-function): Unadvise accordingly.
2677
2678 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
2679 (trace-buffer): Don't purecopy.
2680 (trace-entry-message, trace-exit-message): Add `context' arg.
2681 (trace--timer): New var.
2682 (trace-make-advice): Adjust for use in nadvice.
2683 Add `context' argument. Delay `display-buffer' via a timer.
2684 (trace-function-internal): Use advice-add.
2685 (trace--read-args): New function.
2686 (trace-function-foreground, trace-function-background): Use it.
2687 (trace-function): Rename to trace-function-foreground and redefine as
2688 an alias to that new name.
2689 (untrace-function, untrace-all): Adjust to the use of nadvice.
2690
2691 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
2692
2693 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
2694
2695 * subr.el (called-interactively-p-functions): New var.
2696 (internal--called-interactively-p--get-frame): New macro.
2697 (called-interactively-p, interactive-p): Rewrite in Lisp.
2698 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
2699 (called-interactively-p-functions): Use it.
2700 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
2701 (called-interactively-p-functions): Use it.
2702 * allout.el (allout-called-interactively-p): Don't assume
2703 called-interactively-p is a subr.
2704
2705 2012-11-20 Glenn Morris <rgm@gnu.org>
2706
2707 * profiler.el (profiler-report-mode-map): Add a menu.
2708 No need to bind `q' because we derive from special-mode.
2709 (profiler-report-find-entry): Handle calls from the menu-bar.
2710
2711 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2712
2713 * emacs-lisp/byte-run.el (defun-declarations-alist):
2714 Allow a compiler-macro to be a lambda expression.
2715
2716 * progmodes/python.el: Use cl-lib. Move var declarations outside of
2717 eval-when-compile.
2718 (python-syntax-context): Add compiler-macro.
2719 (python-font-lock-keywords): Simplify with De Morgan.
2720
2721 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
2722
2723 * files.el (load-file): Require match in minibuffer selection, as was
2724 the case in Emacs-20 before we changed the spec to allow .elc files
2725 (bug#12935).
2726
2727 * json.el: Don't require cl since we don't use it.
2728 * color.el: Don't require cl.
2729 (color-complement): `caddr' -> `nth 2'.
2730
2731 * calendar/time-date.el (time-to-seconds): De-obsolete.
2732
2733 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2734
2735 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
2736 year numbers.
2737 (math-date-to-julian-dt): Adjust the initial approximation for the
2738 year to deal with the new definition of the DATE.
2739
2740 2012-11-19 Daniel Colascione <dancol@dancol.org>
2741
2742 * term/w32-win.el (cygwin-convert-path-from-windows):
2743 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
2744
2745 2012-11-18 Chong Yidong <cyd@gnu.org>
2746
2747 * filecache.el (file-cache--read-list): New function.
2748 (file-cache-add-directory-list, file-cache-add-file-list)
2749 (file-cache-delete-file-list, file-cache-delete-directory-list):
2750 Use it to read a list of files or directories (Bug#12846).
2751 (file-cache-add-file, file-cache-add-directory)
2752 (file-cache-delete-file-list, file-cache-delete-file-regexp)
2753 (file-cache-delete-directory): Print an message.
2754
2755 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
2756
2757 * calc/calc-forms.el (math-date-to-dt): Use integer date when
2758 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
2759
2760 2012-11-18 Glenn Morris <rgm@gnu.org>
2761
2762 * image.el (insert-image, insert-sliced-image): Doc fix.
2763
2764 2012-11-18 Chong Yidong <cyd@gnu.org>
2765
2766 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
2767 (Bug#12810).
2768
2769 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2770
2771 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
2772 response when the target file is in a subdirectory (Bug#12757).
2773
2774 2012-11-18 Chong Yidong <cyd@gnu.org>
2775
2776 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
2777
2778 2012-11-18 Glenn Morris <rgm@gnu.org>
2779
2780 * emacs-lisp/cl-lib.el (face-underline-p):
2781 Use set-face-underline rather than the alias set-face-underline-p.
2782
2783 * window.el (with-temp-buffer-window): Doc fix.
2784 * subr.el (with-output-to-temp-buffer):
2785 Add doc xref to with-temp-buffer-window.
2786
2787 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
2788
2789 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
2790 * calc/calc.el (math-format-date-cache): Declare.
2791
2792 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
2793
2794 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
2795 It also uses January 1, 1 AD as its day number 1.
2796 * calc/calc-forms.el (math-julian-date-beginning)
2797 (math-julian-date-beginning-int): Implement this.
2798
2799 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
2800
2801 * descr-text.el (quail-find-key):
2802 * dired.el (desktop-file-name):
2803 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
2804 * generic-x.el (comint-mode, comint-exec):
2805 * image-dired.el (widget-forward):
2806 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
2807 (speedbar-change-expand-button-char)
2808 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
2809 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
2810 * printing.el (easy-menu-add-item, easy-menu-remove-item)
2811 (widget-field-action, widget-value-set):
2812 * speedbar.el (imenu--make-index-alist):
2813 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
2814 (ring-length, ring-insert):
2815 * vcursor.el (compare-windows-skip-whitespace):
2816 * woman.el (dired-get-filename):
2817 Declare functions.
2818
2819 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
2820
2821 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2822
2823 * calc/calc.el (calc-gregorian-switch): New variable.
2824
2825 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
2826 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
2827 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
2828 (math-leap-year-p): Add option to distinguish between Julian
2829 and Gregorian calendars.
2830 (math-day-number): Use `math-day-in-year' to do the computations.
2831 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
2832 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
2833 to do the computations.
2834 (math-date-to-dt): Use `math-date-to-julian-dt' and
2835 `math-date-to-gregorian-dt' to do the computations.
2836 (calcFunc-weekday, math-format-date-part): Use the new version of
2837 the DATE to determine the weekday.
2838 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
2839 when necessary.
2840
2841 2012-11-17 Eli Zaretskii <eliz@gnu.org>
2842
2843 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
2844 Cygwin; otherwise use 'file:'. (Bug#12914)
2845 (cygwin-convert-path-from-windows): Declare, to avoid
2846 byte-compiler warnings.
2847
2848 2012-11-17 Andreas Politz <politza@fh-trier.de>
2849
2850 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
2851 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
2852 prefix and negative numeric prefix args (Bug#12795).
2853
2854 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
2855
2856 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
2857 Don't signal an error with a score that is too low to add to the
2858 list of top scores. (Bug#12779)
2859
2860 2012-11-17 Chong Yidong <cyd@gnu.org>
2861
2862 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
2863
2864 * filecache.el (file-cache-add-file): Handle relative file name in
2865 the argument (Bug#12694).
2866
2867 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
2868
2869 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
2870
2871 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2872
2873 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
2874
2875 * emacs-lisp/cl-lib.el: Set more meaningful version number.
2876
2877 2012-11-16 Martin Rudalics <rudalics@gmx.at>
2878
2879 * window.el (enlarge-window, shrink-window): Don't mention return
2880 value in doc-string (Bug#12896).
2881 (window--display-buffer): Don't resize frames - it won't work
2882 with all window managers and defeat pop-up-frame-alist.
2883 (display-buffer-alist): In doc-string explain that CONDITION can
2884 be a function and which arguments are passed to it (Bug#12854).
2885 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
2886 expressions (Bug#12854).
2887 (display-buffer): Pass ACTION argument to
2888 display-buffer-assq-regexp.
2889
2890 2012-11-16 Glenn Morris <rgm@gnu.org>
2891
2892 * window.el (fit-frame-to-buffer-bottom-margin)
2893 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
2894
2895 * faces.el (face-underline-p): Use face-attribute-specified-or.
2896
2897 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
2898
2899 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
2900
2901 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2902
2903 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
2904
2905 2012-11-16 Glenn Morris <rgm@gnu.org>
2906
2907 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
2908 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
2909
2910 * faces.el (face-underline-p): Doc fix. Handle :underline being
2911 things other than `t' (a string, a list).
2912 (face-inverse-video-p): Doc fix.
2913 (set-face-underline): Rename it back from set-face-underline-p.
2914 Doc fix. Allow interactive input of values other than t.
2915 (read-face-attribute): Apply formatting to :underline,
2916 since like :box and :stipple it can take list values.
2917
2918 * term.el (ansi-term): Don't let C-x escape-char binding
2919 clobber the more standard C-c binding. (Bug#12842)
2920
2921 * subr.el (set-temporary-overlay-map): Doc fix.
2922
2923 2012-11-16 Martin Rudalics <rudalics@gmx.at>
2924
2925 * window.el (record-window-buffer)
2926 (display-buffer-record-window): When copying the markers to
2927 window-point preserve window-point-insertion-type. (Bug#12588)
2928
2929 2012-11-16 Glenn Morris <rgm@gnu.org>
2930
2931 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
2932 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
2933 Use new names for hooks rather than obsolete aliases.
2934
2935 2012-11-15 Daniel Colascione <dancol@dancol.org>
2936
2937 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
2938 prefix instead of "file:" so that when FILE-NAME begins with "//",
2939 as it does when the target file is on a network share, url-handler
2940 isn't confused.
2941
2942 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2943
2944 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
2945 a preactivated advice from an old advice.el; they're not compatible!
2946
2947 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
2948
2949 * emacs-lisp/nadvice.el (advice--make-interactive-form):
2950 Fix string-spec case.
2951
2952 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
2953
2954 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2955
2956 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
2957 (advice--buffer-local-function-sample): New var.
2958 (advice--set-buffer-local, advice--buffer-local): New functions.
2959 (add-function, remove-function): Use them.
2960
2961 2012-11-15 Drew Adams <drew.adams@oracle.com>
2962
2963 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
2964
2965 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2966
2967 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
2968 potential binding of print-gensym to t, and prettify (back)quotes in
2969 case they appear in args's default values (bug#12884).
2970
2971 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2972
2973 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
2974 (advice-eval-interactive-spec): New function.
2975 (advice--make-interactive-form): Support around advice (bug#12844).
2976
2977 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
2978
2979 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
2980 more strict. Add docstring.
2981 (ruby-expression-expansion-re): Extract from
2982 `ruby-match-expression-expansion'.
2983 (ruby-syntax-propertize-function): After everything else, search
2984 for expansions in string literals, mark their insides as
2985 whitespace syntax and save match data for font-lock.
2986 (ruby-font-lock-keywords): Use the 2nd group from expression
2987 expansion matches.
2988 (ruby-match-expression-expansion): Use the match data saved to the
2989 text property in ruby-syntax-propertize-function.
2990
2991 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2992
2993 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
2994 (bug#12879).
2995
2996 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2997
2998 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
2999 start/end keyword a bit harder. Works with different values of N.
3000 Add more comments.
3001 (ruby-end-of-block): Update accordingly.
3002
3003 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3004
3005 * woman.el (woman-file-name): Don't mess with unread-command-events
3006 (bug#12861).
3007
3008 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3009 Remove out of date self-require hack.
3010 (ad-do-advised-functions): Use simple `dolist'.
3011 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3012 (ad-advice-definition): Redefine as functions.
3013 (ad-advice-classes): Move before first use.
3014 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
3015 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3016 (ad--defalias-fset): Remove functions.
3017 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3018 (ad-get-orig-definition): Rewrite.
3019 (ad-make-advised-definition-docstring): Change base docstring.
3020 (ad-real-orig-definition): Rewrite.
3021 (ad-map-arglists): Change name of called function.
3022 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3023 (ad-make-advised-definition): Simplify.
3024 (ad-assemble-advised-definition): Tweak for new calling context.
3025 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3026 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3027 function and call ad-activate if needed.
3028 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3029 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3030 (ad-compile-function): Compile ad-Advice-*.
3031 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3032 (ad-start-advice, ad-stop-advice): Remove.
3033
3034 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3035
3036 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3037 period before class method names, not after. Remove handling of
3038 one impossible case. Add comments.
3039
3040 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3041
3042 * emacs-lisp/advice.el: Remove support for freezing.
3043 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3044 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3045 Remove support for `freeze'.
3046
3047 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3048 override the default.
3049 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3050 cl--dotimes/dolist.
3051 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3052 `cl' is loaded.
3053
3054 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3055 from add-advice.
3056 (advice--strip-macro): New function.
3057 (advice--defalias-fset): Use them to handle macros.
3058 (advice-add): Use them.
3059 (advice-member-p): Correctly handle macros.
3060
3061 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3062
3063 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3064 Never font-lock the beginning of singleton class as heredoc.
3065
3066 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3067
3068 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3069
3070 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
3071
3072 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
3073 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3074 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
3075
3076 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
3077
3078 Fix end-of-defun misbehavior.
3079 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3080 python-beginning-of-defun-function. Handle nested defuns
3081 correctly.
3082 (python-nav-end-of-defun): Rename from
3083 python-end-of-defun-function. Ensure forward movement.
3084 (python-info-current-defun): Reimplement to work as intended
3085 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3086 parent defuns as soon as possible.
3087
3088 2012-11-13 Glenn Morris <rgm@gnu.org>
3089
3090 * progmodes/flymake.el (flymake-error-bitmap)
3091 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3092 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3093
3094 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3095
3096 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3097 backward, always stop at indentation. Reverts the change from
3098 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3099
3100 2012-11-13 Glenn Morris <rgm@gnu.org>
3101
3102 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3103 Add ibuffer-filter-by-derived-mode.
3104
3105 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3106 the same name shadowing each other.
3107
3108 * window.el (with-temp-buffer-window): Doc tweak.
3109
3110 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3111
3112 * help.el (temp-buffer-max-height):
3113 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
3114 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
3115
3116 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3117
3118 * emacs-lisp/nadvice.el: New package.
3119 * subr.el (special-form-p): New function.
3120 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
3121 (elp-all-instrumented-list): Remove var.
3122 (elp-not-profilable): Remove elp-wrapper.
3123 (elp-profilable-p): Use autoloadp and special-form-p.
3124 (elp--advice-name): New const.
3125 (elp-instrument-function): Use advice-add.
3126 (elp--instrumented-p): New predicate.
3127 (elp-restore-function): Use advice-remove.
3128 (elp-restore-all, elp-reset-all): Use mapatoms.
3129 (elp-set-master): Use elp--instrumented-p.
3130 (elp--make-wrapper): Rename from elp-wrapper, return a function
3131 suitable for advice-add. Use cl-inf.
3132 (elp-results): Use mapatoms+elp--instrumented-p.
3133 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3134 (debug-function-list): Remove var.
3135 (debug): Rename arg, and then let-bind it explicitly inside.
3136 (debugger-setup-buffer): Rename arg.
3137 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3138 (debugger-frame-number): Adjust to new debug-on-entry setup.
3139 (debug--implement-debug-on-entry): Rename from
3140 implement-debug-on-entry, add argument.
3141 (debugger-special-form-p): Remove, use special-form-p instead.
3142 (debug-on-entry): Use advice-add.
3143 (debug--function-list): New function.
3144 (cancel-debug-on-entry): Use it, along with advice-remove.
3145 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3146 (debugger-list-functions): Use debug--function-list instead of
3147 debug-function-list.
3148 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3149 (ad-special-form-p): Remove, use special-form-p instead.
3150 (ad-set-advice-info): Use add-function and remove-function.
3151 (ad--defalias-fset): Adjust accordingly.
3152
3153 2012-11-10 Glenn Morris <rgm@gnu.org>
3154
3155 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3156 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3157 (report-emacs-bug-create-existing-bugs-buffer)
3158 (report-emacs-bug-parse-query-results)
3159 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3160
3161 * term.el (term-default-fg-color, term-default-bg-color):
3162 Make obsolete, rather than just saying "deprecated" in the doc.
3163
3164 * term.el (term): Rename from `term-face'.
3165 (term-current-face, ansi-term-color-vector)
3166 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3167 Update all users.
3168
3169 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
3170
3171 * server.el (server-create-window-system-frame): Handle Nextstep
3172 specially (Bug#12780).
3173
3174 2012-11-10 Glenn Morris <rgm@gnu.org>
3175
3176 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3177 Unautoload, and make obsolete. (Bug#7449)
3178
3179 2012-11-10 Chong Yidong <cyd@gnu.org>
3180
3181 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3182 rename from diff-remove-trailing-whitespace (Bug#12831).
3183
3184 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3185
3186 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3187 miscompilation of trace.el.
3188
3189 2012-11-10 Glenn Morris <rgm@gnu.org>
3190
3191 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3192
3193 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3194
3195 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3196 (bug#12812).
3197
3198 2012-11-10 Chong Yidong <cyd@gnu.org>
3199
3200 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3201 a defcustom with an appropriate :set function.
3202 (minibuffer-default--in-prompt-regexps): New function.
3203
3204 2012-11-10 Glenn Morris <rgm@gnu.org>
3205
3206 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3207 (define-modify-macro): Doc fixes.
3208
3209 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3210 (gv-define-simple-setter): Update doc of `fix-return'.
3211
3212 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3213
3214 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3215 twice when `fix-return' is set (bug#12813).
3216
3217 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3218 gv-define-simple-setter (bug#12812).
3219
3220 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3221 (bug#12756).
3222
3223 2012-11-10 Glenn Morris <rgm@gnu.org>
3224
3225 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3226
3227 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3228 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3229 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3230 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3231
3232 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3233
3234 2012-11-10 Leo Liu <sdl.web@gmail.com>
3235
3236 * ido.el (ido-set-matches-1): Improve flex matching performance by
3237 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3238
3239 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3240
3241 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3242 (ad--defalias-fset): New function.
3243 (ad-safe-fset): Remove.
3244 (ad-make-freeze-definition): Use cl-letf*.
3245
3246 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3247
3248 * subr.el (dolist): Don't bind VAR in RESULT.
3249
3250 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3251 (fset, documentation): Don't save real def since we don't advise.
3252 (ad-do-advised-functions): Remove problematic `result-form'.
3253 (ad-safe-fset): `ad-real-fset' => `fset'.
3254 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3255 uses CL's dolist internally.
3256 (ad-arglist): Remove unused arg `name'.
3257 (ad-docstring, ad-make-advised-docstring):
3258 `ad-real-documentation' => `documentation'.
3259 (warning-suppress-types): Declare.
3260 (ad-set-arguments): Simple CSE.
3261 (ad-recover-normality): Sanity check.
3262
3263 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3264 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3265
3266 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3267
3268 * ses.el: symbol to coordinate mapping is made by symbol property
3269 `ses-cell'. This means that the same mapping is done for all SES
3270 sheets. That is good enough for cells with standard A1 names, but
3271 not for named cell. So a hash map is added for the latter.
3272 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
3273 (ses-sym-rowcol): Use hashmap for named cell.
3274 (ses-is-cell-sym-p): New defun.
3275 (ses-decode-cell-symbol): New defun.
3276 (ses-create-cell-variable): Add cell to hashmap when name is not
3277 A1-like.
3278 (ses-rename-cell): Check that cell new name is not already in
3279 spreadsheet with the use of ses-is-cell-sym-p
3280 (ses-rename-cell): Use hash map for named cells, but accept also
3281 renaming back to A1-like.
3282
3283 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3284
3285 * emacs-lisp/advice.el: Use new dynamic docstrings.
3286 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3287 Use dynamic-docstring-function instead of ad-advice-info.
3288 (ad--make-advised-docstring): New function extracted from
3289 ad-make-advised-docstring.
3290 (ad-make-advised-docstring): Use it.
3291 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3292 from sql-help.
3293 (sql-help): Use it with dynamic-docstring-function.
3294
3295 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3296
3297 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3298
3299 * files.el (hack-one-local-variable--obsolete): New function.
3300 (hack-one-local-variable): Use it for obsolete settings.
3301
3302 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3303 the new name.
3304
3305 * progmodes/js.el (js--filling-paragraph): New var.
3306 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3307 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3308 less sneaky.
3309
3310 2012-11-08 Julien Danjou <julien@danjou.info>
3311
3312 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3313 `auto-mode-alist' (Bug#12835).
3314
3315 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3316
3317 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3318 (perl--prettify-symbols-alist): New const.
3319 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3320 New functions.
3321 (perl-font-lock-keywords-2): Use them.
3322 (perl-electric-noindent-p): New function.
3323 (perl-mode): Use it to set up electric-indent-mode.
3324 (perl-electric-terminator, perl-indent-command): Mark obsolete.
3325 (perl-mode-map): Remove bindings for them.
3326 (perl-imenu-generic-expression, perl-outline-level):
3327 Match functions&packages in column>0.
3328
3329 * env.el (env--substitute-vars-regexp): New const.
3330 (substitute-env-vars): Use it. Add `only-defined' arg.
3331 * net/tramp.el (tramp-replace-environment-variables): Use it.
3332
3333 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3334 Byte-compile *before* eval in eval-and-compile.
3335 (byte-compile-log-warning): Remove redundant inhibit-read-only.
3336 (byte-compile-file-form-autoload): Don't hide actual definition.
3337 (byte-compile-maybe-guarded): Accept `functionp' as well.
3338
3339 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3340
3341 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
3342
3343 * notifications.el (notifications-get-server-information-method):
3344 New defconst.
3345 (notifications-get-capabilities): Fix docstring.
3346 (notifications-get-server-information): New defun.
3347
3348 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3349
3350 * textmodes/ispell.el (ispell-region): Standard re-indent for better
3351 readability.
3352
3353 * textmodes/ispell.el: Experimental support for support debugging.
3354 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
3355 buffer for ispell.
3356 (ispell-print-if-debug): New function to print stuff to
3357 `ispell-debug-buffer' if debugging is enabled.
3358 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
3359 show some debugging info.
3360 (ispell-buffer-with-debug): New function that creates a debugging
3361 buffer and calls `ispell-buffer' with debugging enabled.
3362
3363 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
3364 comment in autoconf mode. (Bug#12768)
3365
3366 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
3367
3368 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
3369 frame-first-window, frame-root-window, frame-selected-window,
3370 minibuffer-selected-window, minibuffer-window,
3371 window-absolute-pixel-edges, window-at, window-body-height,
3372 window-body-width, window-display-table, window-combination-limit,
3373 window-frame, window-fringes, window-inside-absolute-pixel-edges,
3374 window-inside-edges, window-inside-pixel-edges, window-left-child,
3375 window-left-column, window-margins, window-next-buffers,
3376 window-next-sibling, window-new-normal, window-new-total,
3377 window-normal-size, window-parameter, window-parameters, window-parent,
3378 window-pixel-edges, window-point, window-prev-buffers,
3379 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
3380 window-start, window-text-height, window-top-child, window-top-line,
3381 window-total-height, window-total-width and window-use-time to the list
3382 of functions without side-effects.
3383 (toplevel): Add window-valid-p to the list of error-free functions
3384 without side-effects.
3385
3386 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3387
3388 * textmodes/ispell.el (ispell-program-name):
3389 Update spellchecker parameters when customized.
3390
3391 2012-11-04 Glenn Morris <rgm@gnu.org>
3392
3393 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
3394
3395 2012-11-04 Chong Yidong <cyd@gnu.org>
3396
3397 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
3398 same-window-* variables.
3399
3400 2012-11-04 Juri Linkov <juri@jurta.org>
3401
3402 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
3403 (isearch-describe-key, isearch-describe-mode): Use a display
3404 action instead of binding same-window-* variables (Bug#10040).
3405
3406 2012-11-03 Glenn Morris <rgm@gnu.org>
3407
3408 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3409 Rename handler properties back from cl-- to cl-. (Bug#12788)
3410
3411 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
3412
3413 2012-11-03 Eli Zaretskii <eliz@gnu.org>
3414
3415 * term/pc-win.el: Don't load term/internal from here.
3416
3417 * loadup.el: Load term/internal from here.
3418
3419 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
3420
3421 * progmodes/python.el (inferior-python-mode): Fix hang in
3422 jit-lock (Bug#12645).
3423
3424 2012-11-03 Martin Rudalics <rudalics@gmx.at>
3425
3426 * window.el (switch-to-visible-buffer)
3427 (switch-to-buffer-preserve-window-point): Fix doc-strings.
3428
3429 2012-11-03 Glenn Morris <rgm@gnu.org>
3430
3431 * emacs-lisp/cl-lib.el (cl--random-time):
3432 Rename from cl-random-time. (Bug#12773)
3433 (cl--gensym-counter, cl--random-state): Update callers.
3434 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
3435
3436 2012-11-03 Chong Yidong <cyd@gnu.org>
3437
3438 * cus-start.el: Make cursor-type customizable (Bug#11633).
3439
3440 2012-11-02 Glenn Morris <rgm@gnu.org>
3441
3442 * filecache.el: No need to load find-lisp when compiling.
3443 (find-lisp-find-files): Autoload it.
3444 (file-cache-add-directory-recursively): Don't require find-lisp.
3445
3446 * image.el (image-type-from-file-name): Trivial simplification.
3447
3448 * emacs-lisp/bytecomp.el (byte-compile-eval):
3449 Decouple "noruntime" and "cl-functions" warnings.
3450
3451 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
3452
3453 * play/gomoku.el (gomoku-display-statistics): Update mode line
3454 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
3455
3456 2012-10-31 Martin Rudalics <rudalics@gmx.at>
3457
3458 * window.el (quit-restore-window): If the window has been
3459 created on an existing frame and ended up as the sole window on
3460 that frame, do not delete it (Bug#12764).
3461
3462 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3463
3464 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3465 Rename from sh--inside-arithmetic-expression, handle more cases
3466 (bug#11263).
3467
3468 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
3469 (sh-font-lock-open-heredoc): Use it (bug#12770).
3470
3471 2012-10-30 Glenn Morris <rgm@gnu.org>
3472
3473 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
3474
3475 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
3476
3477 2012-10-29 Chong Yidong <cyd@gnu.org>
3478
3479 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
3480 function key is stored in a keyboard macro (Bug#4894).
3481
3482 * thingatpt.el (number-at-point): Apply a thing-at-point property.
3483
3484 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3485
3486 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
3487 header comments".
3488 (diff-unified->context, diff-context->unified)
3489 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
3490
3491 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
3492
3493 * files.el (find-alternate-file): Only ask one question (bug#12487).
3494
3495 2012-10-29 Chong Yidong <cyd@gnu.org>
3496
3497 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
3498 Suggested by Dan Nicolaescu (Bug#6326).
3499
3500 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
3501
3502 * startup.el (fancy-about-screen): Don't message (Bug#12680).
3503
3504 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
3505
3506 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
3507
3508 * face-remap.el (face-remap-add-relative): Handle the case where a
3509 face-remapping-alist entry is a cons cell (Bug#12762).
3510
3511 2012-10-29 Kevin Ryde <user42@zip.com.au>
3512
3513 * woman.el (woman-parse-numeric-value): Handle picas correctly
3514 (Bug#12639).
3515
3516 2012-10-29 Glenn Morris <rgm@gnu.org>
3517
3518 * emacs-lisp/cl.el (defsetf): Doc fix.
3519
3520 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3521
3522 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
3523 syntax to the matching opener, if any (bug#12547).
3524 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
3525 matching open as a "case-(".
3526 (sh-smie-rc-grammar): Add a corresponding rule for it.
3527
3528 2012-10-28 Daniel Hackney <dan@haxney.org>
3529
3530 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
3531 "PKGNAME-autoloads.el" in case we created it.
3532
3533 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3534
3535 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
3536 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
3537 (completion--twq-all): Disable too-strict assertions.
3538
3539 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
3540
3541 2012-10-27 Eli Zaretskii <eliz@gnu.org>
3542
3543 * profiler.el (profiler-report-make-entry-part): Fix help-echo
3544 text to match the real keybindings.
3545
3546 2012-10-27 Juri Linkov <juri@jurta.org>
3547
3548 * wdired.el (wdired-keep-marker-rename): New defcustom.
3549 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
3550 (Bug#11795)
3551
3552 * dired.el (dired-keep-marker-rename): Add reference to
3553 `wdired-keep-marker-rename' in the docstring.
3554 Add default character value ?R to display initially in
3555 Customization UI instead of ?@.
3556
3557 2012-10-27 Martin Rudalics <rudalics@gmx.at>
3558
3559 * window.el (display-buffer): In doc-string describe
3560 window-height and window-width alist entries.
3561
3562 * time.el (display-time-world): Restore fit-window-to-buffer
3563 behavior.
3564
3565 2012-10-27 Chong Yidong <cyd@gnu.org>
3566
3567 * subr.el (insert-buffer-substring-as-yank): Doc fix.
3568
3569 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
3570
3571 * minibuffer.el (completion-category-overrides): New completion
3572 category `bookmark' (bug#11131).
3573
3574 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3575
3576 * emacs-lisp/advice.el (ad-assemble-advised-definition):
3577 Silence bogus compiler warnings for ad-do-it.
3578
3579 * bookmark.el (bookmark-completing-read): Set the completion category
3580 to `bookmark' (bug#11131).
3581
3582 2012-10-26 Bastien <bzg@altern.org>
3583 Stefan Monnier <monnier@iro.umontreal.ca>
3584
3585 * face-remap.el: Use lexical-binding.
3586 (text-scale-adjust): Improve docstring. Use itself for the temporary
3587 overlay-map bindings, so as to repeat the "Use..." message each time.
3588
3589 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3590
3591 * emacs-lisp/macroexp.el (macroexp--expand-all):
3592 Obey byte-compile-warning-enabled-p (bug#12486).
3593
3594 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
3595 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
3596
3597 2012-10-26 Martin Rudalics <rudalics@gmx.at>
3598
3599 * mouse.el (mouse-drag-line): Move last form into preceding when
3600 clause (Bug#12731).
3601
3602 * help.el (resize-temp-buffer-window): Fix doc-string.
3603
3604 2012-10-25 David Engster <deng@randomsample.de>
3605
3606 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
3607 Remove. This feature is already integrated in imenu.
3608
3609 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
3610 always loaded. Require `speedbar' unconditionally.
3611
3612 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3613
3614 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
3615
3616 * minibuffer.el (minibuffer-force-complete): Fix thinko.
3617
3618 * net/ldap.el (ldap-search-internal): The official ldif format starts
3619 with a "version: 1" header (bug#12724).
3620
3621 * emacs-lisp/package.el (package-installed-p): Warn if not ready
3622 (bug#12721).
3623
3624 2012-10-25 Glenn Morris <rgm@gnu.org>
3625
3626 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
3627
3628 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3629
3630 * minibuffer.el (minibuffer-force-complete): Use one more marker
3631 for the temporary-overlay-map command (bug#12619).
3632
3633 2012-10-24 Chong Yidong <cyd@gnu.org>
3634
3635 * time.el (display-time-world-mode): Derive from special-mode.
3636 (display-time-world): Use display-buffer (Bug#12708).
3637 (display-time-world-mode-map): Variable deleted.
3638 (display-time-world-display): Wrap the final delete-char inside
3639 inhibit-read-only.
3640
3641 2012-10-24 Chong Yidong <cyd@gnu.org>
3642
3643 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
3644 Doc fix.
3645
3646 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
3647
3648 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3649
3650 * minibuffer.el (completion--all-sorted-completions-location): New var.
3651 (completion--cache-all-sorted-completions)
3652 (completion--flush-all-sorted-completions): Use it.
3653 (completion-in-region, completion-in-region--postch)
3654 (completion-at-point, completion-help-at-point): Use markers in
3655 completion-in-region--data (bug#12619).
3656
3657 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3658
3659 * progmodes/compile.el (compilation-start): Try to handle common
3660 quoting of `cd' argument (bug#12640).
3661
3662 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
3663 (bug#12671).
3664
3665 2012-10-23 Glenn Morris <rgm@gnu.org>
3666
3667 * progmodes/gud.el (gud-menu-map):
3668 Check gdb-active-process is bound. (Bug#12358)
3669
3670 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3671
3672 * repeat.el (repeat): Set real-this-command (bug#12232).
3673
3674 * htmlfontify.el (hfy-post-html-hook):
3675 * filesets.el (filesets-cache-fill-content-hook):
3676 * arc-mode.el (archive-extract-hook):
3677 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
3678 * net/rcirc.el (rcirc-sentinel-functions)
3679 (rcirc-receive-message-functions, rcirc-activity-functions)
3680 (rcirc-print-functions):
3681 * net/dbus.el (dbus-event-error-functions):
3682 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
3683 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
3684 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
3685 * term/sun.el (sun-raw-prefix-hooks):
3686 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
3687
3688 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
3689
3690 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3691 Set `tramp-chunksize' to 1. This improves the performance.
3692 (tramp-smb-wait-for-output): Add timeout to
3693 `tramp-accept-process-output' calls.
3694
3695 2012-10-23 Chong Yidong <cyd@gnu.org>
3696
3697 * faces.el (font-list-limit): Define as an obsolete variable.
3698
3699 * startup.el (command-line):
3700 * cus-start.el: Don't refer to font-list-limit.
3701
3702 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
3703
3704 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3705
3706 * subr.el (internal-temp-output-buffer-show): Rename from
3707 temp-output-buffer-show, since previously compiled files expect this name.
3708
3709 2012-10-23 Glenn Morris <rgm@gnu.org>
3710
3711 * image.el (image-type-from-file-name): If multiple types match,
3712 return the first one that is supported. (Bug#9045)
3713
3714 2012-10-22 Glenn Morris <rgm@gnu.org>
3715
3716 * image.el (imagemagick-enabled-types): Doc fix.
3717
3718 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
3719
3720 * progmodes/which-func.el (which-func-current): The hash-table may have
3721 an explicit nil (bug#12338).
3722
3723 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3724
3725 * electric.el (electric-pair-delete-selection-self-insert-function):
3726 Rename to electric-pair-will-use-region, return a boolean.
3727 (electric-pair-mode): Adjust accordingly. Don't require delsel.
3728
3729 * delsel.el (delete-selection-helper): Use a function instead of a hook.
3730 (delete-selection-pre-hook): Use use-region-p.
3731 (delete-selection-self-insert-function): Remove.
3732 (self-insert-command): Obey self-insert-uses-region-functions.
3733 (self-insert-iso): Revert to previous setting, since we don't actually
3734 know what that command does.
3735 (delete-selection-self-insert-hooks): Remove.
3736
3737 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
3738
3739 * delsel.el (delete-selection-helper): New function, extracted from
3740 delete-selection-pre-hook.
3741 (delete-selection-pre-hook): Use it.
3742 (delete-selection-self-insert-function): New function.
3743 (delete-selection-self-insert-hooks): New hook.
3744 (self-insert-command, self-insert-iso): Use it.
3745 * electric.el (electric-pair-syntax): New function, extracted from
3746 electric-pair-post-self-insert-function.
3747 (electric-pair-post-self-insert-function): Use it.
3748 (electric-pair-delete-selection-self-insert-function): New function.
3749 (electric-pair-mode): Require delsel and setup
3750 delete-selection-self-insert-hooks (bug#11520).
3751
3752 2012-10-20 Chong Yidong <cyd@gnu.org>
3753
3754 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
3755 no changes to show (Bug#12586).
3756
3757 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
3758 list explicitly (Bug#12571).
3759
3760 2012-10-20 Arne Jørgensen <arne@arnested.dk>
3761
3762 * progmodes/flymake.el (flymake-create-temp-inplace):
3763 Use file-truename.
3764
3765 2012-10-20 Eli Zaretskii <eliz@gnu.org>
3766
3767 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
3768
3769 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
3770
3771 * calc/calc-units.el (math-extract-units): Properly extract powers
3772 of units.
3773
3774 2012-10-20 Daniel Colascione <dancol@dancol.org>
3775
3776 * frame.el (make-frame): Set x-display-name as we used to in order
3777 to unbreak creating an X11 frame from an Emacs daemon started
3778 without a display.
3779
3780 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3781
3782 * minibuffer.el (minibuffer-force-complete): Make the next completion use
3783 the same completion-field (bug#12221).
3784
3785 2012-10-19 Martin Rudalics <rudalics@gmx.at>
3786
3787 * emacs-lisp/debug.el (debug): Record height of debugger window
3788 also when debugger will be back (Bug#8789).
3789
3790 2012-10-18 Chong Yidong <cyd@gnu.org>
3791
3792 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3793 Convert to defcustom.
3794 (gdb-get-source-file): Don't bind pop-up-windows.
3795
3796 * progmodes/gud.el (gud-display-line): Don't specially re-use
3797 other frames for the gdb-mi case (Bug#12648).
3798
3799 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3800
3801 * emacs-lisp/advice.el: Clean up commentary a bit.
3802 (ad-do-advised-functions, ad-with-originals): Use `declare'.
3803 (byte-code-function-p): Never redefine.
3804
3805 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
3806
3807 2012-10-18 Glenn Morris <rgm@gnu.org>
3808
3809 * dired.el (dired-sort-toggle): Some ls implementations only allow
3810 a single option string. (Bug#12666)
3811
3812 * minibuffer.el (completion-cycle-threshold): Doc fix.
3813
3814 2012-10-17 Kenichi Handa <handa@gnu.org>
3815
3816 * international/mule.el (set-keyboard-coding-system):
3817 Recover input meta mode when the new coding system doesn not use 8-bit.
3818 Supply TERMINAL arg to set-input-meta-mode.
3819
3820 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
3821
3822 * wdired.el (wdired-old-marks): New variable.
3823 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
3824 (wdired-do-renames): Move point with renamed file and don't lose
3825 mark status (Bug#11795).
3826
3827 2012-10-16 Juri Linkov <juri@jurta.org>
3828
3829 * replace.el (query-replace-help): Mention multi-buffer replacement
3830 keys in the Help message. (Bug#12655)
3831
3832 2012-10-15 Chong Yidong <cyd@gnu.org>
3833
3834 * emacs-lisp/byte-run.el (defsubst): Doc fix.
3835
3836 2012-10-14 Eli Zaretskii <eliz@gnu.org>
3837
3838 * window.el (display-buffer): Doc fix.
3839
3840 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3841 Adjust the msft regexp to the output of Studio 2010, and move msft
3842 before edg-1. See the discussion on emacs-devel,
3843 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
3844 for the details.
3845
3846 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3847
3848 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
3849 (oset): Move uses of object-class-fast macro after its definition.
3850
3851 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
3852
3853 2012-10-13 Chong Yidong <cyd@gnu.org>
3854
3855 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
3856 enabled, re-enable it (Bug#11963).
3857
3858 2012-10-13 Martin Rudalics <rudalics@gmx.at>
3859
3860 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
3861 non-nil, restore window configuration (Bug#12623).
3862
3863 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3864
3865 * help-fns.el (describe-variable, describe-function-1):
3866 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
3867
3868 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
3869
3870 2012-10-12 Glenn Morris <rgm@gnu.org>
3871
3872 * mail/rmailsum.el (rmail-header-summary):
3873 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
3874
3875 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
3876
3877 * progmodes/python.el (python-mode-map):
3878 Replace subtitute-key-definition with proper command remapping.
3879 (python-nav--up-list): Fix behavior for blocks on the same level.
3880
3881 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3882
3883 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
3884
3885 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
3886 changes to the format of load-history.
3887
3888 * international/mule-cmds.el (read-char-by-name): Move let-binding of
3889 completion-ignore-case in case that var is buffer-local (bug#12615).
3890
3891 2012-10-11 Kenichi Handa <handa@gnu.org>
3892
3893 * international/eucjp-ms.el: Re-generated.
3894
3895 2012-10-10 Kenichi Handa <handa@gnu.org>
3896
3897 * select.el (xselect--encode-string): If a coding is specified for
3898 selection, and that is compatible with COMPOUND_TEXT, use it.
3899
3900 2012-10-10 Martin Rudalics <rudalics@gmx.at>
3901
3902 * window.el (switch-to-buffer-preserve-window-point): New option.
3903 (switch-to-buffer):
3904 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
3905
3906 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3907
3908 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
3909 Don't document nil as a useful value (bug#12583).
3910
3911 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
3912
3913 * net/tramp.el (tramp-debug-message):
3914 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
3915 (with-tramp-progress-reporter): Rename from
3916 `tramp-with-progress-reporter'.
3917 (with-tramp-file-property, with-tramp-connection-property):
3918 Move from tramp-cache.el, rename from `with-file-property' and
3919 `with-connection-property', respectively.
3920
3921 * net/tramp-cache.el: Remove `with-file-property' and
3922 `with-connection-property'.
3923
3924 * net/tramp.el:
3925 * net/tramp-gvfs.el:
3926 * net/tramp-sh.el:
3927 * net/tramp-smb.el: Adapt callees.
3928
3929 * net/trampver.el: Update release number.
3930
3931 2012-10-09 Glenn Morris <rgm@gnu.org>
3932
3933 * w32-fns.el (set-message-beep):
3934 * term/w32-win.el (set-message-beep): Update declarations.
3935
3936 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3937
3938 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
3939 (mode-line-widen, mode-line-input-method-map)
3940 (mode-line-coding-system-map, mode-line-remote)
3941 (mode-line-unbury-buffer, mode-line-bury-buffer)
3942 (mode-line-next-buffer, mode-line-previous-buffer):
3943 Replace save-selected-window+select-window => with-selected-window.
3944
3945 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
3946 * progmodes/cc-vars.el (bq-process): Remove, unused.
3947
3948 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
3949
3950 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
3951
3952 Implemented `backward-up-list'-like navigation.
3953 * progmodes/python.el (python-nav-up-list)
3954 (python-nav-backward-up-list): New functions.
3955 (python-mode-map): Define substitute key for backward-up-list to
3956 python-nav-backward-up-list.
3957
3958 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3959
3960 * progmodes/python.el (python-fill-paragraph): Rename from
3961 python-fill-paragraph-function. Fixed fill-paragraph for
3962 decorators (Bug#12605).
3963
3964 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3965
3966 * progmodes/python.el (python-shell-output-filter): Handle extra
3967 carriage return in OSX (Bug#12409).
3968
3969 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3970
3971 Fix shell handling of unbalanced quotes and parens in output.
3972 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
3973 (python-syntax-propertize-function): Use it.
3974 (python-shell-output-syntax-table): New var.
3975 (inferior-python-mode): Prevent unbalanced parens/quotes from
3976 previous output mess with current input context.
3977
3978 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
3979
3980 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
3981 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
3982
3983 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
3984
3985 * ffap.el (ffap-replace-file-component): Support Tramp file name
3986 syntax, not only ange-ftp's one.
3987
3988 2012-10-08 Glenn Morris <rgm@gnu.org>
3989
3990 * cus-start.el (message-log-max): Set :version.
3991
3992 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
3993
3994 2012-10-08 Martin Rudalics <rudalics@gmx.at>
3995
3996 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
3997 the minibuffer window (Bug#10851).
3998
3999 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4000
4001 Enhancements on forward-sexp movement.
4002 * progmodes/python.el (python-nav-beginning-of-statement)
4003 (python-nav-end-of-statement): Return point-marker.
4004 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4005 (python-info-current-symbol)
4006 (python-info-statement-starts-block-p): Rename from
4007 python-info-beginning-of-block-p.
4008 (python-info-statement-ends-block-p): Rename from
4009 python-info-end-of-block-p.
4010 (python-info-beginning-of-statement-p)
4011 (python-info-end-of-statement-p)
4012 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4013 New functions.
4014
4015 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4016
4017 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4018 frame-selected-windows.
4019
4020 2012-10-08 Daniel Colascione <dancol@dancol.org>
4021
4022 * battery.el (battery-status-function): Check for
4023 w32-battery-status itself, not system-time windows-nt.
4024
4025 * frame.el: Require cl-lib.
4026 (display-format-alist): New variable mapping frame types to
4027 functions that initialize them.
4028 (window-system-for-display): New function: interprets
4029 display-format-alist.
4030 (make-frame-on-display): Remove existing display-selection logic
4031 and just forward to make-frame, which will now DTRT.
4032 (make-frame): Restructure to use window-system-for-display to
4033 figure out how to create a frame on a given display.
4034 (display-mouse-p): Look for frame-type w32, not a particular
4035 system-type.
4036
4037 * loadup.el: Load w32 lisp code when we have the w32 feature.
4038
4039 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4040 system-type windows-nt.
4041
4042 * server.el (server-create-window-system-frame): Look for window
4043 type.
4044 (server-proces-filter): Only force a window system when windows-nt
4045 _and_ w32. Explain why.
4046
4047 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4048 of window systems we configure for the mode.
4049
4050 * startup.el (command-line): Mark window system is initialized
4051 after we've done it.
4052
4053 * common-win.el (x-select-text): Look for w32, not windows-nt.
4054
4055 * ns-win.el: Require cl-lib. Add ourselves to
4056 display-format-alist.
4057 (ns-initialize-window-system): Assert we're not initialized twice.
4058
4059 * w32-win.el: Enable lexical binding; require cl-lib; add
4060 ourselves to display-format-alist.
4061 (w32-handle-dropped-file): Convert incoming dropped files from
4062 Windows paths to Cygwin ones before passing them on to the rest of
4063 Emacs.
4064 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4065 (w32-initialize-window-system): Assert we're not initialized twice.
4066
4067 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4068 (x-initialize-window-system): Assert we're not initialized twice.
4069
4070 * w32-common-fns.el: New File.
4071 (w32-version, w32-using-nt, w32-get-clipboard-data)
4072 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4073 (w32-charset-info-alist, x-last-selected, text)
4074 (x-get-selection-value, x-selection-value): Move here.
4075
4076 * w32-fns.el: Require w32-common-fns.
4077 (w32-version, w32-using-nt, w32-get-clipboard-data)
4078 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4079 (w32-charset-info-alist, x-last-selected, text)
4080 (x-get-selection-value, x-selection-value): Move to
4081 w32-common-fns.
4082
4083 * w32-vars.el:
4084 (w32-allow-system-shell, w32-system-shells): Define only in
4085 non-cygwin case.
4086
4087 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4088
4089 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4090 (read-passwd): Remove a few more potential sources of leaks.
4091
4092 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4093
4094 * progmodes/python.el (inferior-python-mode)
4095 (python-shell-make-comint): Fix initialization of local
4096 variables copied from parent buffer.
4097
4098 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4099
4100 * term/ns-win.el (ns-read-file-name): Update declaration to match
4101 nsfns.m.
4102 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4103 it is set when font is acted upon.
4104
4105 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4106
4107 Enhancements to indentation.
4108 * progmodes/python.el (python-indent-context): Give priority to
4109 inside-string context. Make comments indentation markers.
4110 (python-indent-region): Do not mess with strings, unless it's the
4111 enclosing set of quotes.
4112
4113 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4114
4115 * window.el (internal--before-save-selected-window)
4116 (internal--after-save-selected-window): New functions extracted from
4117 save-selected-window. Make sure we return the `alist' we construct.
4118 (save-selected-window): Use them.
4119
4120 * textmodes/tex-mode.el (tex-recenter-output-buffer):
4121 Use with-selected-window.
4122
4123 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
4124 forms that define macros (bug#12593).
4125
4126 2012-10-07 Kenichi Handa <handa@gnu.org>
4127
4128 * international/mule-conf.el (compound-text-with-extensions):
4129 Add :mime-charset property as x-ctext.
4130
4131 2012-10-07 Stefan Merten <smerten@oekonux.de>
4132
4133 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4134 (rst-indent-literal-normal, rst-indent-literal-minimized)
4135 (rst-indent-comment): Correct :version tag.
4136 (rst-official-cvs-rev): Correct version string.
4137
4138 2012-10-07 Glenn Morris <rgm@gnu.org>
4139
4140 * mail/rmailmm.el (rmail-mime-process-multipart):
4141 Do not confuse a multipart message with an epilogue
4142 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
4143
4144 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4145
4146 Fix shell output retrieval and comint-prompt-regexp init.
4147 * progmodes/python.el (inferior-python-mode):
4148 (python-shell-make-comint): Fix initialization of
4149 comint-prompt-regexp from copied file local variables.
4150 (python-shell-fetched-lines): Remove var.
4151 (python-shell-output-filter-in-progress): Rename from
4152 python-shell-fetch-lines-in-progress.
4153 (python-shell-output-filter-buffer): Rename from
4154 python-shell-fetch-lines-string.
4155 (python-shell-fetch-lines-filter): Delete function.
4156 (python-shell-output-filter): New function.
4157 (python-shell-send-string-no-output): Use them.
4158
4159 2012-10-07 Glenn Morris <rgm@gnu.org>
4160
4161 * hi-lock.el (hi-lock-process-phrase):
4162 Try to make it less fragile. (Bug#7161)
4163
4164 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4165
4166 2012-10-06 Glenn Morris <rgm@gnu.org>
4167
4168 * ehelp.el (electric-help-mode): Use help-mode rather than
4169 non-existent mode `help'.
4170 (electric-help-map): Use button-buffer-map. (Bug#10917)
4171
4172 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4173 (reftex-create-bibtex-footer): Fix custom types.
4174
4175 * progmodes/sh-script.el (sh-indent-after-continuation):
4176 Add explicit :group.
4177
4178 * textmodes/rst.el (rst-preferred-decorations)
4179 (rst-shift-basic-offset): Clarify obsolescence versions.
4180
4181 * profiler.el (profiler): Add missing group :version tag.
4182 * avoid.el (mouse-avoidance-banish-position):
4183 * proced.el (proced-renice-command):
4184 * calc/calc.el (calc-ensure-consistent-units):
4185 * calendar/icalendar.el (icalendar-import-format-uid):
4186 * net/tramp.el (tramp-save-ad-hoc-proxies):
4187 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4188 * progmodes/flymake.el (flymake-error-bitmap)
4189 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4190 * progmodes/sh-script.el (sh-indent-after-continuation):
4191 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4192 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4193 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4194 (vhdl-array-index-record-field-in-sensitivity-list)
4195 (vhdl-indent-comment-like-next-code-line):
4196 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4197 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4198 (reftex-cite-key-separator, reftex-create-bibtex-header)
4199 (reftex-create-bibtex-footer):
4200 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4201 (rst-indent-literal-normal, rst-indent-literal-minimized)
4202 (rst-indent-comment): Add missing custom :version tags.
4203
4204 * calendar/timeclock.el (timeclock-modeline-display):
4205 Add missing obsolete alias for renamed user option.
4206
4207 * strokes.el (strokes-modeline-string):
4208 * emulation/crisp.el (crisp-mode-modeline-string):
4209 * eshell/esh-mode.el (eshell-status-in-modeline):
4210 Aliases to defcustoms must come before the defcustom.
4211
4212 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4213 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4214 (cal-tex-cursor-week-monday): Doc fixes.
4215 (cal-tex-cursor-week2-summary): Doc fix.
4216 Rename from cal-tex-cursor-week-at-a-glance.
4217
4218 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4219 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4220
4221 * calendar/calendar.el (calendar-mode-map):
4222 Add cal-tex-cursor-week2-summary.
4223
4224 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4225
4226 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4227
4228 * subr.el (read-passwd-map): New var.
4229 (read-passwd): Use `read-string' again.
4230 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4231
4232 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
4233
4234 * register.el (append-to-register, prepend-to-register):
4235 Deactivate mark, as does `copy-to-register' (bug#12389).
4236
4237 2012-10-06 Chong Yidong <cyd@gnu.org>
4238
4239 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4240
4241 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4242
4243 * international/characters.el: Fix simple mistake ((car chars) ->
4244 elt), delete duplicated code.
4245
4246 2012-10-06 Glenn Morris <rgm@gnu.org>
4247
4248 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4249
4250 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4251
4252 * color.el (color-hsl-to-rgb): Fix incorrect results for
4253 small and large hue values. (Bug#12559)
4254
4255 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4256
4257 Enhancements to docstring formatting when filling paragraphs.
4258 * progmodes/python.el (python-fill-docstring-style): Rename from
4259 python-fill-string-style. Added new style.
4260 (python-fill-string): Use new style. Better checks for
4261 docstrings.
4262
4263 2012-10-05 Glenn Morris <rgm@gnu.org>
4264
4265 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4266
4267 * color.el (color-name-to-rgb, color-rgb-to-hex)
4268 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4269 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4270 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4271 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4272
4273 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4274
4275 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
4276
4277 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4278 to get the correct size across symlinks.
4279
4280 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4281
4282 2012-10-04 Juri Linkov <juri@jurta.org>
4283
4284 * replace.el (query-replace-interactive): Declare obsolete.
4285 (query-replace-read-from): Add the last incremental search string
4286 to the list of default values accessible via M-n.
4287 (map-query-replace-regexp): Use `read-regexp'.
4288 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4289 (map-query-replace-regexp, replace-string, replace-regexp):
4290 Fix docstrings to replace mentions of `query-replace-interactive'
4291 with alternatives. (Bug#12526)
4292
4293 2012-10-04 Juri Linkov <juri@jurta.org>
4294
4295 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4296 (dired-pop-to-buffer): Declare obsolete.
4297 (dired-mark-pop-up): Doc fix.
4298
4299 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4300
4301 Allow user to set docstring style for fill-paragraph.
4302 * progmodes/python.el
4303 (python-fill-comment-function, python-fill-string-function)
4304 (python-fill-decorator-function, python-fill-paren-function):
4305 Remove :safe for defcustoms.
4306 (python-fill-string-style): New defcustom
4307 (python-fill-paragraph-function): Enhance context detection.
4308 (python-fill-string): Honor python-fill-string-style settings.
4309
4310 2012-10-04 Martin Rudalics <rudalics@gmx.at>
4311
4312 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4313 after setting its buffer (Bug#10805).
4314
4315 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
4316
4317 Fix cornercase for string syntax.
4318 * progmodes/python.el (python-syntax-propertize-function):
4319 Simplify and enhance the regexp for unescaped quotes. Now it also
4320 matches quotes in weird situations like the single quote in
4321 "something\"'".
4322 (python-syntax-stringify): Simplify num-quotes detecting code.
4323
4324 2012-10-03 Glenn Morris <rgm@gnu.org>
4325
4326 * help-macro.el (three-step-help):
4327 Revert 2012-09-29 change. (Bug#12567)
4328
4329 2012-10-03 Martin Rudalics <rudalics@gmx.at>
4330
4331 * menu-bar.el (kill-this-buffer): Don't do anything when
4332 `menu-frame' is not alive or visible (Bug#8184).
4333
4334 * emacs-lisp/debug.el (debug): When quitting the debugger window
4335 restore current buffer (Bug#12502).
4336
4337 2012-10-02 Chong Yidong <cyd@gnu.org>
4338
4339 * progmodes/hideif.el (hif-lookup, hif-defined):
4340 Handle semantic-c-takeover-hideif.
4341
4342 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
4343
4344 Change sampling interval units from ms to ns.
4345 * profiler.el (profiler-sampling-interval): Change units
4346 from ms to ns, multiplying the default by 1000000 so that
4347 it remains 1 ms.
4348 (profiler-report-cpu-line-format): Give enough room for
4349 the maximum counters on 64-bit hosts.
4350 (profiler-report-render-calltree-1): Call them "CPU samples",
4351 not "Time (ms)", since they are not milliseconds now (and
4352 never really were).
4353
4354 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4355
4356 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
4357 Fix querying BBDB for entries without a last name (Bug#11580).
4358
4359 2012-10-02 Chong Yidong <cyd@gnu.org>
4360
4361 * emacs-lisp/eieio.el: Restore Version header.
4362
4363 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4364
4365 * vc/diff-mode.el (diff--auto-refine-data): New var.
4366 (diff-hunk): Use it to delay refinement.
4367 (diff-mode): Remove overlays when we turn off font-lock.
4368
4369 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
4370 (table-initialize-table-fixed-width-mode)
4371 (table-set-table-fixed-width-mode): Remove functions.
4372 (table-command-list): Move initialization into declaration.
4373 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
4374 (table-with-cache-buffer): Use `declare'.
4375 (table-span-cell): Simplify via CSE.
4376 (table-fixed-width-mode): Use define-minor-mode.
4377 (table-call-interactively, table-funcall, table-apply): Remove.
4378 (table-function): New function, to replace them.
4379
4380 * bookmark.el (bookmark-search-pattern): Remove var.
4381 (bookmark-read-search-input): Remove function.
4382 (bookmark-bmenu-search): Reimplement using a minibuffer.
4383
4384 * faces.el (modeline): Remove obsolete face name.
4385
4386 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
4387 and give a non-nil default value.
4388 (add-change-log-entry): Simplify accordingly.
4389
4390 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
4391
4392 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
4393 (vc-git-log-edit-toggle-amend): New function.
4394 (vc-git-log-edit-toggle-signoff): New function.
4395 (vc-git-log-edit-mode): New major mode.
4396 (vc-git-log-edit-mode-map): Keymap for it.
4397 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
4398
4399 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
4400 header names.
4401 (log-edit-toggle-header): New function.
4402 (log-edit-extract-headers): Accept function values in HEADERS alist.
4403
4404 2012-10-01 David Engster <deng@randomsample.de>
4405
4406 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
4407 from symbol property and change message to be more consistent with
4408 Emacs proper.
4409 (eieio-describe-generic): Add filename for each implementation.
4410 Fix indices for generic and normal methods.
4411 (eieio-method-def, eieio-class-def): New buttons.
4412 (eieio-help-find-method-definition)
4413 (eieio-help-find-class-definition): New functions.
4414 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
4415 class, constructor and method definitions.
4416
4417 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
4418 information in symbol property.
4419 (scoped-class): Remove.
4420 (eieio-slot-name-index, call-next-method): Check if it is bound.
4421
4422 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
4423
4424 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
4425 (eieio-custom-mode): New major mode.
4426 (eieio-customize-object): Use it.
4427
4428 2012-10-01 Eric Ludlam <zappo@gnu.org>
4429
4430 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
4431 specifying the expected class, and whether subclassing is allowed.
4432 (eieio-persistent-convert-list-to-object):
4433 (eieio-persistent-validate/fix-slot-value)
4434 (eieio-persistent-slot-type-is-class-p): New functions.
4435 (eieio-named::slot-missing): Doc fix.
4436
4437 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
4438 Stop using unused publd variable.
4439
4440 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4441 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
4442 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
4443 (eieio-speedbar-handle-click): Do not specify a class for the
4444 method. Fixes method invocation order problems with EDE.
4445
4446 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4447
4448 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
4449 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
4450
4451 2012-10-01 Karl Fogel <kfogel@red-bean.com>
4452
4453 * bookmark.el (bookmark-version-control): Give tags in the
4454 :type choices (Bug#12309), and improve doc string.
4455 (bookmark-write-file): Bind `print-circle' to `t' to allow
4456 circular custom bookmark types. (Bug#12503)
4457
4458 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
4459
4460 Revert the FOLLOW-SYMLINKS change for file-attributes.
4461 * files.el (remote-file-name-inhibit-cache, after-find-file):
4462 * time.el (display-time-file-nonempty-p): Undo last change.
4463
4464 * profiler.el (profiler-sampling-interval): Change default back to 1.
4465 See Stefan Monnier in
4466 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
4467
4468 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
4469
4470 Shell output catching a la gud-gdb.
4471 * progmodes/python.el (python-shell-fetch-lines-in-progress)
4472 (python-shell-fetch-lines-string, python-shell-fetched-lines):
4473 New Vars.
4474 (python-shell-fetch-lines-filter): New function.
4475 (python-shell-send-string-no-output): Use them.
4476
4477 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
4478
4479 * profiler.el (profiler-sampling-interval): Rename from
4480 profiler-sample-interval.
4481 (profiler-sampling-interval): Default to 10.
4482 (profiler-find-profile): New command (was profiler-find-log).
4483 (profiler-find-profile-other-window): New command.
4484 (profiler-find-profile-other-frame): New command.
4485 (profiler-profile): Introduce API-level data structure.
4486
4487 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
4488
4489 file-attributes has a new optional arg FOLLOW-SYMLINKS.
4490 * files.el (remote-file-name-inhibit-cache):
4491 * time.el (display-time-file-nonempty-p): Use it.
4492 * files.el (after-find-file): Don't chase links before calling
4493 file-exists-p, as file-exists-p already does the right thing.
4494
4495 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
4496
4497 Merge from standalone RefTeX repository.
4498
4499 The following ChangeLog entries are shortened versions of the
4500 original ones with file paths adapted. A not so strongly edited
4501 version of the original ChangeLog can be found in the commit log.
4502
4503 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
4504 (reftex-arg-cite): Use `reftex-cite-key-separator'.
4505 Correctly handle new value type returned by `reftex-citation'.
4506
4507 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
4508 that entries with whitespace at various places are found.
4509 Doc fix. Include entries that are cross-referenced from cited entries.
4510 Include @String definitions in the resulting bib file. Add header
4511 and footer defined in `reftex-create-bibtex-header' and
4512 `reftex-create-bibtex-footer'.
4513 (reftex-do-citation): Make it possible again to insert
4514 non-existent entries. Save match data when asking for optional
4515 arguments. Return all keys, not just the first one.
4516 (reftex-all-used-citation-keys): Fix regexp to correctly extract
4517 all citations in the same line.
4518 (reftex-parse-bibtex-entry): Accept additional optional argument
4519 `raw' and keep quotes or braces if it is non-nil. Match fields
4520 containing hyphens besides word constituents.
4521 (reftex-get-string-refs): New function.
4522 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
4523 and ask if it should be reread in case it did.
4524 (reftex-pop-to-bibtex-entry)
4525 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
4526 entries with spaces or tabs in front of arguments.
4527 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4528 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
4529 Match entries containing numbers and symbol constituents.
4530 (reftex-do-citation, reftex-figure-out-cite-format):
4531 Use `reftex-cite-key-separator'.
4532
4533 * textmodes/reftex-dcr.el: Move provide statement to end of file.
4534 (reftex-mouse-view-crossref): Explain why point is set.
4535
4536 * textmodes/reftex-global.el: Whitespace changes.
4537
4538 * textmodes/reftex-index.el: Move provide statement to end of
4539 file.
4540 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
4541 (reftex-index-visit-phrases-buffer): Set marker when visiting
4542 buffer. This allows for returning from the phrases file to the
4543 file one was just editing instead of the file where the last
4544 phrases was added from.
4545 (reftex-index-phrases-syntax-table): New variable. Give ?\"
4546 punctuation syntax as it usually is not used as string quote in
4547 TeX-related modes and may occur unmatched. The change also
4548 prevents fontification of quoted content.
4549 (reftex-index-phrases-mode): Use it.
4550
4551 * textmodes/reftex-parse.el (reftex-parse-from-file):
4552 Move backward one char if a `\' was matched after a section macro.
4553 (reftex-parse-from-file): Use beginning of match instead of end as
4554 bound.
4555
4556 * textmodes/reftex-ref.el: Adapt creation of
4557 `reftex-<package>-<macro>' functions to new structure of
4558 `reftex-ref-style-alist'.
4559 (reftex-reference): Use `reftex-ref-style-list' function.
4560 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4561 reference macro if `reftex-ref-macro-prompt' is non-nil.
4562 (reftex-reference): Pass refstyle to `reftex-format-special'.
4563 Determine reference macro by looking at
4564 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
4565 Use only one special format function.
4566 (reftex-varioref-vref, reftex-fancyref-fref)
4567 (reftex-fancyref-Fref): Remove definitions. The functions are now
4568 generated from `reftex-ref-style-alist'.
4569 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
4570 Remove.
4571 (reftex-format-special): New function.
4572
4573 * textmodes/reftex-sel.el
4574 (reftex-select-cycle-ref-style-internal): Adapt to new structure
4575 of `reftex-ref-style-alist'. Remove code for testing macro type.
4576 (reftex-select-toggle-varioref)
4577 (reftex-select-toggle-fancyref): Remove.
4578 (reftex-select-cycle-ref-style-internal)
4579 (reftex-select-cycle-ref-style-forward)
4580 (reftex-select-cycle-ref-style-backward): New functions.
4581 (reftex-select-label-map): Use `v' and `V' for general cycling
4582 through reference styles. Add `p' for switching between number
4583 and page reference types.
4584
4585 * textmodes/reftex-toc.el (reftex-re-enlarge):
4586 Call `enlarge-window' only if there is something to do because in Emacs
4587 the horizontal version throws an error even if the parameter is 0.
4588
4589 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
4590 (reftex-plug-into-AUCTeX): Doc fix.
4591 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
4592 string. Adapt to new name.
4593 (reftex-ref-style-alist): Change structure so that it is not
4594 possible to use multiple different package names within a style.
4595 Remove the symbols for symbols for macro type distinction.
4596 Add characters for macro selection.
4597 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
4598 (reftex-create-bibtex-footer): New variables.
4599 (reftex-format-ref-function): Mention third argument of special
4600 format function.
4601 (reftex-ref-style-alist, reftex-ref-style-default-list):
4602 New variables.
4603 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
4604 to new implementation. Mark as obsolete. Add compatibility code
4605 for honoring the variable values in case they are set.
4606 (reftex-cite-format-builtin, reftex-bibliography-commands):
4607 Add support for ConTeXt.
4608 (reftex-format-ref-function, reftex-format-cite-function):
4609 Fix custom type.
4610 (reftex-cite-key-separator): New variable.
4611
4612 * textmodes/reftex.el (reftex-syntax-table-for-bib)
4613 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
4614 `reftex-syntax-table' because parens have to retain their paren
4615 syntax in order for parsing of BibTeX entries like @book(...) to
4616 work.
4617 (reftex-in-comment): Do not error out if `comment-start-skip' is
4618 not set. Deal correctly with escaped comment characters.
4619 (reftex-tie-multifile-symbols): Add doc string.
4620 Initialize `reftex-ref-style-list'.
4621 (reftex-untie-multifile-symbols): Add doc string.
4622 (reftex-add-index-macros): Doc fix.
4623 (reftex-ref-style-activate, reftex-ref-style-toggle)
4624 (reftex-ref-style-list): New functions.
4625 (reftex-mode-menu): Use them. Adapt to new structure of
4626 `reftex-ref-style-alist'.
4627 (reftex-select-with-char): Kill the RefTeX Select buffer when
4628 done.
4629 (reftex-remove-if): New function.
4630 (reftex-erase-all-selection-and-index-buffers)
4631 (reftex-mode-menu): Reference styles are now computed from
4632 `reftex-ref-style-alist'. Fix typo.
4633 (reftex-report-bug): New function.
4634 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
4635 algorithms with O(n log n). Introduce optional argument SORT (not
4636 yet used).
4637
4638 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
4639
4640 Enhancements for triple-quote string syntax.
4641 * progmodes/python.el (python-syntax-propertize-function):
4642 Match both quote cases in one regexp.
4643 (python-syntax-stringify): Handle matches properly.
4644
4645 2012-09-30 Juri Linkov <juri@jurta.org>
4646
4647 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
4648 to nil around the call to `insert' to prevent
4649 directory time modification by lock_file. (Bug#2295)
4650 * tar-mode.el (tar-summarize-buffer): Idem.
4651
4652 2012-09-30 Juri Linkov <juri@jurta.org>
4653
4654 * facemenu.el (list-colors-sort): Add option "Luminance".
4655 (list-colors-sort-key): Implement it.
4656
4657 * vc/diff-mode.el (diff-refine-removed):
4658 * vc/ediff-init.el (ediff-fine-diff-A):
4659 * vc/smerge-mode.el (smerge-refined-removed):
4660 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
4661
4662 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
4663
4664 * term/ns-win.el (x-file-dialog): New function.
4665
4666 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
4667
4668 * ido.el (ido-max-directory-size): Default to nil; the current
4669 default is small for POSIX systems, and impractical on Windows 7
4670 now that lstat returns directory sizes for NTFS.
4671
4672 2012-09-30 Martin Rudalics <rudalics@gmx.at>
4673
4674 In buffer display functions handle window-height/window-width
4675 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
4676 * window.el (window--display-buffer): New argument ALIST.
4677 Obey window-height and window-width alist entries.
4678 (window--try-to-split-window): New argument ALIST.
4679 Bind window-combination-limit to t when the window's size shall be
4680 changed and window-combination-limit equals `window-size'.
4681 (display-buffer-in-atom-window)
4682 (display-buffer-in-major-side-window)
4683 (display-buffer-in-side-window, display-buffer-same-window)
4684 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4685 (display-buffer-pop-up-window, display-buffer-below-selected)
4686 (display-buffer-at-bottom, display-buffer-in-previous-window)
4687 (display-buffer-use-some-window): Adjust all callers of
4688 window--display-buffer and window--try-to-split-window.
4689 (fit-frame-to-buffer): New option.
4690 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
4691 is non-nil.
4692 (display-buffer-in-major-side-window): Evaluate window-height /
4693 window-width alist entries.
4694
4695 * help.el (temp-buffer-resize-frames)
4696 (temp-buffer-resize-regexps): Remove options.
4697 (temp-buffer-resize-mode): Adjust doc-string.
4698 (resize-temp-buffer-window): Don't consult
4699 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
4700 temp-buffer-resize-frames.
4701
4702 * dired.el (dired-mark-pop-up):
4703 Call display-buffer-below-selected with a fit-window-to-buffer alist
4704 entry.
4705
4706 2012-09-30 Chong Yidong <cyd@gnu.org>
4707
4708 * server.el (server-host): Document the security implications.
4709 (server-auth-key): Doc fix.
4710
4711 * startup.el (initial-buffer-choice): Doc fix.
4712
4713 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
4714
4715 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
4716 restriction change.
4717
4718 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
4719
4720 * help-fns.el (help-fns--obsolete): Fix last change.
4721
4722 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
4723
4724 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
4725 (minor-mode-map-alist): Remove redundant code.
4726
4727 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
4728 visited in a buffer.
4729 (cvs-insert-visited-file): New function.
4730 (find-file-hook): Use it.
4731
4732 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
4733
4734 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
4735 chose face.
4736 (log-edit-empty-buffer-p): Don't require a space after a header.
4737
4738 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
4739
4740 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
4741
4742 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
4743 a proper minor-mode.
4744
4745 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
4746
4747 2012-09-29 Glenn Morris <rgm@gnu.org>
4748
4749 * winner.el (winner-mode): Remove variable (let define-minor-mode
4750 handle it).
4751 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
4752 Doc fixes.
4753 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
4754 (winner-mode): Use define-minor-mode.
4755
4756 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
4757 the full definition in loaddefs, rather than duplicating it.
4758
4759 * help-macro.el (three-step-help): No need to autoload defcustom.
4760
4761 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
4762 (inferior-lisp-program, inferior-lisp-load-command)
4763 (inferior-lisp-prompt, inferior-lisp-mode-hook):
4764 No need to autoload defcustoms.
4765
4766 * hippie-exp.el (hippie-expand-try-functions-list)
4767 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
4768 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
4769 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
4770 (hippie-expand-only-buffers): No need to autoload defcustoms.
4771 * progmodes/vhdl-mode.el (vhdl-line-expand):
4772 Explicitly load hippie-exp, so it does not get autoloaded
4773 while hippie-expand-try-functions-list is let-bound.
4774
4775 2012-09-28 Glenn Morris <rgm@gnu.org>
4776
4777 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
4778
4779 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
4780 Only "cl.el" counts as cl these days.
4781
4782 2012-09-28 Juri Linkov <juri@jurta.org>
4783
4784 Display archive errors in the echo area instead of inserting
4785 to the file buffer.
4786
4787 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
4788 to STDERR-TEST that can be a regexp matching a successful output.
4789 Create a temporary file and redirect stderr to it. Search for
4790 STDERR-TEST in the stderr output and display it in the echo area
4791 if no match is found.
4792 (archive-extract-by-file): New function like
4793 `archive-extract-by-stdout' but extracting archives to files
4794 and looking for successful matches in stdout. Function body is
4795 mostly copied from `archive-rar-extract'.
4796 (archive-rar-extract): Use `archive-extract-by-file'.
4797 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
4798
4799 2012-09-28 Leo Liu <sdl.web@gmail.com>
4800
4801 * pcomplete.el (pcomplete-show-completions):
4802 Use minibuffer-message to make pcomplete usable in minibuffer.
4803
4804 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
4805
4806 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4807
4808 * type-break.el: Use lexical-binding.
4809 (type-break-mode): Use define-minor-mode.
4810
4811 * emacs-lisp/pcase.el (pcase--mark-used): New.
4812 (pcase--u1): Use it (bug#12512).
4813
4814 * custom.el (load-theme): Set buffer-file-name so the load is recorded
4815 in load-history with the right file name.
4816
4817 2012-09-28 Tassilo Horn <tsdh@gnu.org>
4818
4819 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
4820 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
4821 (doc-view-get-bounding-box): Make bounding box slicing work for
4822 ODF and DVI documents.
4823
4824 2012-09-28 Glenn Morris <rgm@gnu.org>
4825
4826 * type-break.el (type-break-mode, type-break-interval)
4827 (type-break-good-rest-interval, type-break-keystroke-threshold):
4828 No need to autoload.
4829 (type-break-good-rest-interval, type-break-keystroke-threshold):
4830 Add :set-after.
4831
4832 2012-09-28 Chong Yidong <cyd@gnu.org>
4833
4834 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
4835 Add :version tag.
4836
4837 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4838
4839 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
4840
4841 2012-09-27 Glenn Morris <rgm@gnu.org>
4842
4843 * faces.el (x-display-name): Declare (for without-x builds).
4844
4845 * linum.el (linum-format): Don't autoload it. Improve :type.
4846
4847 * progmodes/tcl.el: Don't require outline when compiling.
4848 (outline-regexp, outline-level): Declare.
4849 * textmodes/sgml-mode.el: Don't require outline when compiling.
4850 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
4851
4852 * term.el (term-ansi-reset):
4853 Try setting term-ansi-face-already-done to nil. (Bug#11785)
4854
4855 * vc/vc.el (vc-next-action): Only gripe about committing read-only
4856 files for RCS and SCCS. (Bug#9781)
4857
4858 2012-09-27 Chong Yidong <cyd@gnu.org>
4859
4860 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
4861 change; value should be t.
4862
4863 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4864
4865 * image-mode.el: Use lexical-binding.
4866 (image-mode-winprops): Use t to stand for the window of
4867 a buffer that's not displayed.
4868 * doc-view.el (doc-view-new-window-function): Handle the new
4869 t in winprops.
4870 (doc-view-enlarge): Make it a real nop if the size is not changed.
4871 (doc-view-display): Handle the case where the buffer is not (yet?)
4872 displayed in any window.
4873 (doc-view-saved-settings): New var.
4874 (doc-view-mode): Use it.
4875 (doc-view-fallback-mode): Set it.
4876
4877 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
4878 Set lexical-binding.
4879 (minibuffer-eldef-shorten-default): New var.
4880 (minibuffer-default-in-prompt-regexps): Use it for new default.
4881 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
4882
4883 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
4884
4885 * international/uni-bidi.el:
4886 * international/uni-category.el:
4887 * international/uni-name.el:
4888 * international/uni-numeric.el: Regenerate.
4889
4890 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
4891 Stefan Monnier <monnier@iro.umontreal.ca>
4892
4893 * profiler.el: New file.
4894
4895 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4896
4897 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
4898 (testcover-reinstrument): Simplify with CSE.
4899
4900 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
4901
4902 * window.el (temp-buffer-window-setup): Fix typo in docstring.
4903
4904 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
4905
4906 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
4907 (verilog-auto-input, verilog-auto-insert-lisp)
4908 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
4909 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
4910 (verilog-auto-unused, verilog-auto-wire)
4911 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
4912 newline. Reported by Andrew Jones.
4913 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
4914 Reported by Brad Dobbie.
4915 (verilog-batch-delete-trailing-whitespace):
4916 Create verilog-batch-delete-trailing-whitespace.
4917 Reported by Brad Dobbie.
4918 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
4919 parameters from another module. Reported by Dan Katz.
4920 (verilog-auto, verilog-auto-assign-modport)
4921 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
4922 AUTOINOUTMODPORT for UVM interface module shell generation.
4923 Reported by Brad Dobbie.
4924 (verilog-auto-inst-interfaced-ports): Make default nil, as more
4925 standard behavior.
4926 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
4927 Reported by Matt Martin.
4928
4929 2012-09-25 Martin Rudalics <rudalics@gmx.at>
4930
4931 * window.el (window--resize-child-windows): When resizing child
4932 windows proportionally, process them in reverse order to
4933 preserve the "when splitting a window the new one gets the odd
4934 line" behavior.
4935 (window--resize-root-window-vertically): When resizing the
4936 minibuffer window try to affect only windows at the bottom of the
4937 frame. (Bug#12419)
4938
4939 2012-09-25 Chong Yidong <cyd@gnu.org>
4940
4941 * subr.el (declare): Doc fix.
4942
4943 * help-fns.el (help-fns--obsolete): Handle macros properly.
4944
4945 2012-09-25 Chong Yidong <cyd@gnu.org>
4946
4947 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
4948 this function obsolete.
4949
4950 * calendar/cal-x.el (calendar-two-frame-setup)
4951 (calendar-only-one-frame-setup, calendar-one-frame-setup):
4952 * calendar/calendar.el (american-calendar, european-calendar)
4953 (calendar-for-loop):
4954 * comint.el (comint-dynamic-simple-complete)
4955 (comint-dynamic-complete-as-filename, comint-unquote-filename):
4956 * desktop.el (desktop-load-default):
4957 * dired-x.el (dired-omit-here-always)
4958 (dired-hack-local-variables, dired-default-directory):
4959 * emacs-lisp/derived.el (derived-mode-class):
4960 * emacs-lisp/timer.el (timer-set-time-with-usecs):
4961 * emacs-lock.el (toggle-emacs-lock):
4962 * epa.el (epa-display-verify-result):
4963 * epg.el (epg-sign-keys, epg-start-sign-keys)
4964 (epg-passphrase-callback-function):
4965 * eshell/esh-util.el (eshell-for):
4966 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
4967 (eshell-add-to-window-buffer-names):
4968 * files.el (locate-file-completion):
4969 * imenu.el (imenu-example--create-c-index)
4970 (imenu-example--create-lisp-index)
4971 (imenu-example--lisp-extract-index-name)
4972 (imenu-example--name-and-position):
4973 * international/mule-cmds.el (princ-list):
4974 * international/mule-diag.el (decode-codepage-char):
4975 * international/mule-util.el (detect-coding-with-priority):
4976 * iswitchb.el (iswitchb-read-buffer):
4977 * mail/mailalias.el (mail-complete):
4978 * mail/sendmail.el (mail-sent-via):
4979 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
4980 (mouse-major-mode-menu):
4981 * password-cache.el (password-read-and-add):
4982 * pcomplete.el (pcomplete-parse-comint-arguments):
4983 * progmodes/sh-script.el (sh-maybe-here-document):
4984 * replace.el (query-replace-regexp-eval):
4985 * savehist.el (savehist-load):
4986 * simple.el (choose-completion-delete-max-match):
4987 * term.el (term-dynamic-simple-complete):
4988 * vc/ediff-init.el (ediff-check-version):
4989 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
4990 * vc/vc.el (vc-diff-switches-list):
4991 * view.el (view-return-to-alist-update): Likewise.
4992
4993 * subr.el (eval-next-after-load, makehash, insert-string)
4994 (assoc-ignore-representation, assoc-ignore-case): Use declare to
4995 mark obsolete.
4996 (mode-line-inverse-video): Variable deleted.
4997
4998 * international/mule-util.el (string-to-sequence): Remove.
4999
5000 * calendar/calendar.el (calendar-version):
5001 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5002 (icalendar-convert-diary-to-ical):
5003 * cus-edit.el (custom-mode):
5004 * ansi-color.el (ansi-color-unfontify-region):
5005 * international/latin1-disp.el (latin1-char-displayable-p):
5006 * progmodes/cwarn.el (turn-on-cwarn-mode):
5007 * progmodes/which-func.el (which-func-update-1):
5008 Use define-obsolete-function-alias.
5009
5010 * net/newst-backend.el (newsticker-cache-filename):
5011 * net/newst-treeview.el (newsticker-groups-filename):
5012 Fix incorrect obsolescence declaration.
5013
5014 * allout.el (allout-passphrase-hint-string): Likewise.
5015 (allout-init): Use a declare form to mark obsolete.
5016
5017 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5018 this applies to functions.
5019
5020 * iswitchb.el (iswitchb-read-buffer): Move code of
5021 iswitchb-define-mode-map here, and delete that obsolete function.
5022
5023 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5024 font-lock-reference-face.
5025
5026 2012-09-25 Glenn Morris <rgm@gnu.org>
5027
5028 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5029 Doc fixes.
5030
5031 * eshell/em-term.el (eshell-term-name):
5032 Default to term-term-name. (Bug#12485)
5033
5034 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5035
5036 * progmodes/python.el (python-shell-send-buffer): Better handling
5037 of "if __name__ == '__main__':" conditionals when sending the buffer.
5038
5039 2012-09-24 Glenn Morris <rgm@gnu.org>
5040
5041 * eshell/esh-cmd.el (eshell-find-alias-function):
5042 Tighten up file-name regexp. (Bug#12499)
5043
5044 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5045
5046 Enhancements for triple-quote string syntax.
5047 * progmodes/python.el (python-quote-syntax): Remove.
5048 (python-syntax-propertize-function): New value.
5049 (python-syntax-count-quotes, python-syntax-stringify):
5050 New functions.
5051
5052 2012-09-24 Chong Yidong <cyd@gnu.org>
5053
5054 * mail/supercite.el (sc-version): Remove obsolete function.
5055 (sc-describe): Don't mark as obsolete, since it is bound.
5056 (sc-submit-bug-report): Remove.
5057
5058 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5059 (cvs-commit-buffer-require-final-newline): Remove.
5060 (log-edit-require-final-newline)
5061 (log-edit-changelog-full-paragraphs): Default to t.
5062
5063 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5064 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5065 * vc/vc.el (vc-checkout-carefully): Likewise.
5066
5067 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5068 (emerge-version): Remove.
5069
5070 * progmodes/compile.el (compile-internal): Remove.
5071 (compilation-parse-errors-function): Fix typo.
5072
5073 * international/mule.el (set-char-table-default): Remove.
5074 (set-coding-priority, make-coding-system, generic-char-p)
5075 (charset-list, charset-bytes, charset-id): Use declare to mark
5076 functions as obsolete.
5077
5078 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5079 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5080 * vc/vc-hooks.el (vc-default-registered): Don't use
5081 vc-master-templates.
5082
5083 * font-lock.el (font-lock-reference-face):
5084 Use define-obsolete-variable-alias.
5085
5086 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5087 * calendar/calendar.el (calendar-font-lock-keywords):
5088 * calendar/diary-lib.el (diary-font-lock-keywords)
5089 (diary-fancy-font-lock-keywords):
5090 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5091 * textmodes/reftex-index.el (reftex-insert-index):
5092 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5093 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5094 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5095 * progmodes/prolog.el (prolog-font-lock-keywords):
5096 * progmodes/idlwave.el (idlwave-idl-keywords):
5097 * progmodes/ada-mode.el (ada-font-lock-keywords):
5098 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5099
5100 2012-09-24 Glenn Morris <rgm@gnu.org>
5101
5102 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5103
5104 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5105
5106 * progmodes/python.el (python-indent-line): More consistent cursor
5107 movement behavior.
5108
5109 2012-09-23 Stefan Merten <smerten@oekonux.de>
5110
5111 * textmodes/rst.el: Fix compiler warning.
5112
5113 2012-09-23 Roland Winkler <winkler@gnu.org>
5114
5115 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
5116 Transcribe also LaTeX hyphenation.
5117 (bibtex-reformat): Bug fix. Do not quote twice the elements of
5118 bibtex-reformat-previous-options.
5119
5120 2012-09-23 Roland Winkler <winkler@gnu.org>
5121
5122 * proced.el (proced-renice-command): New variable.
5123 (proced-marked-processes): New function.
5124 (proced-with-processes-buffer): New macro.
5125 (proced-send-signal): Use them.
5126 (proced-renice): New command bound to r.
5127
5128 2012-09-23 Roland Winkler <winkler@gnu.org>
5129
5130 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5131 ibuffer-saved-filter-groups has one element, shortcut the call of
5132 completing-read. (Bug#12331)
5133
5134 2012-09-23 Chong Yidong <cyd@gnu.org>
5135
5136 * bindings.el (mode-line-toggle-read-only):
5137 * bs.el (bs-toggle-readonly):
5138 * buff-menu.el (Buffer-menu-toggle-read-only):
5139 * dired.el (dired-toggle-read-only):
5140 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5141
5142 2012-09-23 Chong Yidong <cyd@gnu.org>
5143
5144 * image.el (image-type-available-p): Adapt to init-image-library
5145 argument changes.
5146
5147 2012-09-22 Juri Linkov <juri@jurta.org>
5148
5149 * dired.el (dired-mode-map): Add [remap read-only-mode] for
5150 `dired-toggle-read-only'. (Bug#12462)
5151
5152 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5153
5154 * subr.el (temp-output-buffer-show): New function.
5155 (with-output-to-temp-buffer): Call temp-output-buffer-show
5156 instead of internal-temp-output-buffer-show.
5157
5158 2012-09-22 Chong Yidong <cyd@gnu.org>
5159
5160 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5161 (Bug#12462).
5162
5163 * repeat.el (repeat): Doc fix (Bug#12348).
5164
5165 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5166 (Bug#10909).
5167
5168 * simple.el (shell-command-on-region): Doc fix.
5169 (read-only-mode): Doc fix.
5170
5171 2012-09-22 Eli Zaretskii <eliz@gnu.org>
5172
5173 * emacs-lisp/timer.el (run-with-idle-timer)
5174 (timer-activate-when-idle): Warn against reinvoking an idle timer
5175 from within its own timer action. (Bug#12447)
5176
5177 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5178
5179 * cus-start.el (window-combination-limit): Add new optional
5180 values.
5181 * window.el (temp-buffer-window-show)
5182 (window--try-to-split-window): Handle new values of
5183 window-combination-limit (Bug#1806).
5184 (split-window): Test window-combination-limit for t instead of
5185 non-nil.
5186 (display-buffer-at-bottom): New buffer display action function.
5187 * help.el (temp-buffer-resize-regexps): New option.
5188 (temp-buffer-resize-mode): Rewrite doc-string.
5189 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
5190 Don't resize reused window. Suggested by Glenn Morris.
5191
5192 2012-09-22 Stefan Merten <smerten@oekonux.de>
5193
5194 * textmodes/rst.el: Revamp section title faces.
5195 (rst-official-version)
5196 (rst-package-emacs-version-alist): Sync with official version
5197 V1.4.0.
5198 (rst-faces-defaults, rst-set-level-default)
5199 (rst-level-face-max, rst-level-face-base-color)
5200 (rst-level-face-base-light, rst-level-face-format-light)
5201 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5202 (rst-adornment-faces-alist): Match new setup.
5203 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5204 (rst-level-5, rst-level-6): New faces.
5205
5206 2012-09-22 Chong Yidong <cyd@gnu.org>
5207
5208 * simple.el (undo): Handle indirect buffers (Bug#8207).
5209
5210 2012-09-21 Leo Liu <sdl.web@gmail.com>
5211
5212 IDO: Disable match re-ordering for buffer switching.
5213 * ido.el (ido-buffer-disable-smart-matches): New variable.
5214 (ido-set-matches-1): Use it. (Bug#2042)
5215
5216 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
5217
5218 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5219 Fix 2011-05-17 change. (Bug#12418)
5220
5221 2012-09-21 Leo Liu <sdl.web@gmail.com>
5222
5223 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5224
5225 2012-09-21 Glenn Morris <rgm@gnu.org>
5226
5227 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5228 Be more robust about locating simple.el.
5229
5230 2012-09-21 Glenn Morris <rgm@gnu.org>
5231
5232 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5233
5234 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5235
5236 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5237
5238 2012-09-20 Juri Linkov <juri@jurta.org>
5239
5240 * replace.el (query-replace-read-from): Use `read-regexp' instead
5241 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5242 (occur-read-primary-args): Use `read-regexp' instead of
5243 `read-string'.
5244 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5245 `read-from-minibuffer'.
5246 * isearch.el (isearch-occur): Use `read-regexp' instead of
5247 `read-string'.
5248 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5249 `read-from-minibuffer'.
5250 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5251 of `read-string'. (Bug#7567)
5252
5253 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5254 and allow accepting a list of strings prepended to a list of
5255 standard default values. Doc fix. (Bug#12321)
5256
5257 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5258
5259 * replace.el (read-regexp): Don't add ": " when PROMPT already
5260 ends with a colon and space. (Bug#12321)
5261
5262 2012-09-20 Tassilo Horn <tsdh@gnu.org>
5263
5264 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5265 error.
5266
5267 2012-09-20 Stefan Merten <smerten@oekonux.de>
5268
5269 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
5270 Fixes feature request bug#11711.
5271 (rst-mode): Create `imenu-create-index-function'.
5272 (rst-get-stripped-line): Delete after refactoring.
5273 (rst-section-tree, rst-section-tree-rec)
5274 (rst-section-tree-point): Refactor and document properly.
5275 (rst-imenu-find-adornments-for-position)
5276 (rst-imenu-convert-cell, rst-imenu-create-index):
5277 New function.
5278
5279 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5280
5281 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5282 (macroexp--expand-all): Use it.
5283 (macroexp--funcall-and-return): Remove by folding it into its sole
5284 caller (macroexp--warn-and-return).
5285 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5286 Use macroexp--obsolete-warning.
5287
5288 * calc/calc.el: Fix last change by removing the whole chunk, since it
5289 was only needed back when Calc was not bundled.
5290
5291 2012-09-20 Martin Rudalics <rudalics@gmx.at>
5292
5293 * emacs-lisp/debug.el (debug): Restore assignment to
5294 debugger-old-buffer removed on 2012-09-08.
5295
5296 2012-09-20 Juri Linkov <juri@jurta.org>
5297
5298 * dired-aux.el (dired-diff): Remove (require 'diff) since
5299 `diff-latest-backup-file' is now autoloaded.
5300
5301 2012-09-20 Chong Yidong <cyd@gnu.org>
5302
5303 * vc/diff.el (diff-latest-backup-file): Autoload.
5304
5305 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5306
5307 * calc/calc.el: Remove redundant autoload shape check.
5308 (sel-mode): Don't defvar.
5309 (calc-get-stack-element): Add `sel-mode' arg instead.
5310 (calc-top, calc-top-list): Pass it this additional argument.
5311 * calc/calc-store.el (calc-store-map):
5312 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5313 (calc-map-equation, calc-outer-product, calc-inner-product):
5314 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5315
5316 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5317
5318 2012-09-19 Juri Linkov <juri@jurta.org>
5319
5320 * dired-aux.el (dired-diff): Add (require 'diff) because
5321 `diff-latest-backup-file' is not autoloaded.
5322 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5323 of `dired-get-filename' to t to not report error when there is
5324 no default file on the current line.
5325
5326 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5327
5328 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5329 macroexp--eval-if-compile.
5330 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5331 (macroexp--expand-all): Use them (bug#12371).
5332
5333 * doc-view.el (doc-view-guess-paper-size)
5334 (doc-view-scale-bounding-box): Fix unbound `caddr'.
5335
5336 2012-09-19 Tassilo Horn <tsdh@gnu.org>
5337
5338 New feature: set optimal slice from BoundingBox information.
5339 * doc-view.el (doc-view-mode-map): Add keybinding.
5340 (doc-view-menu): Add menu entry.
5341 (doc-view-set-slice): Adapt docstring.
5342 (doc-view-get-bounding-box, doc-view-guess-paper-size)
5343 (doc-view-scale-bounding-box)
5344 (doc-view-set-slice-from-bounding-box): New functions.
5345 (doc-view-paper-sizes): New defvar.
5346
5347 2012-09-19 Glenn Morris <rgm@gnu.org>
5348
5349 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5350 (byte-compile-log-warning): Autoload. (Bug#12371)
5351
5352 * calendar/calendar.el (calendar-american-month-header)
5353 (calendar-european-month-header, calendar-iso-month-header)
5354 (calendar-month-header): New options.
5355 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
5356 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
5357
5358 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
5359
5360 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
5361
5362 2012-09-18 Juri Linkov <juri@jurta.org>
5363
5364 * dired-aux.el (dired-diff): Restore original functionality of
5365 getting the default value, but keep new feature of using the
5366 latest existing backup file (`diff-latest-backup-file').
5367
5368 2012-09-18 Juri Linkov <juri@jurta.org>
5369
5370 * dired.el (dired-mark): If the region is active in Transient Mark
5371 mode, mark all files in the active region. Doc fix.
5372 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
5373 Doc fix. (Bug#10624)
5374
5375 2012-09-18 Juri Linkov <juri@jurta.org>
5376
5377 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
5378 attributes for M-n are pulled from the file at point.
5379 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
5380 Suggested by Drew Adams. (Bug#10624)
5381
5382 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
5383
5384 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
5385 whitespace after "end".
5386 (ruby-do-end-to-brace): Collapse block to one line if it fits
5387 within fill-column.
5388
5389 2012-09-18 Martin Rudalics <rudalics@gmx.at>
5390
5391 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
5392 value.
5393 (debug): Don't remove debugger window when debugger is expected
5394 to be back.
5395
5396 2012-09-18 Chong Yidong <cyd@gnu.org>
5397
5398 * custom.el (defface): Doc fix.
5399
5400 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
5401
5402 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
5403
5404 * progmodes/compile.el (compilation-start): Use compilation-always-kill
5405 to initialize query-on-exit; then test that instead (bug#12288).
5406
5407 2012-09-17 Stefan Merten <smerten@oekonux.de>
5408
5409 * textmodes/rst.el: Add support for `testcover'.
5410 (rst-defcustom-testcover, rst-testcover-add-compose)
5411 (rst-testcover-add-1value): New functions.
5412 (rst-portable-mark-active-p): Replace by `use-region-p'.
5413 (rst-update-section, rst-classify-adornment)
5414 (rst-find-title-line): Mark `1value' forms.
5415 (rst-classify-adornment): Remove superfluous form.
5416 (rst-update-section, rst-get-adornments-around)
5417 (rst-adornment-complete-p, rst-get-next-adornment)
5418 (rst-adjust, rst-promote-region)
5419 (rst-display-adornments-hierarchy, rst-straighten-adornments)
5420 (rst-find-pfx-in-region, rst-section-tree-rec)
5421 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
5422 (rst-toc-node, rst-toc, rst-forward-section)
5423 (rst-iterate-leftmost-paragraphs)
5424 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
5425 (rst-bullet-list-region)
5426 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
5427 (rst-compile-find-conf, rst-compile)
5428 (rst-repeat-last-character): Fix style.
5429
5430 2012-09-17 Chong Yidong <cyd@gnu.org>
5431
5432 * comint.el (comint--complete-file-name-data): Don't add a space
5433 if the status is `sole'; that adds a gratuitous space in the
5434 completion-cycling case (Bug#12092).
5435
5436 * pcomplete.el (pcomplete-completions-at-point): Likewise.
5437
5438 2012-09-17 Richard Stallman <rms@gnu.org>
5439
5440 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
5441 only in the mime-shown mode, not in raw mode.
5442 (rmail-mime): Toggle off mime by displaying the message without
5443 mime processing. (Bug#12305)
5444
5445 * mail/rmail.el (rmail-retry-failure):
5446 Turn off mime processing first. (Bug#12037)
5447
5448 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
5449
5450 2012-09-17 Chong Yidong <cyd@gnu.org>
5451
5452 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
5453 (shell-dynamic-complete-functions): Convert to defcustom.
5454 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
5455
5456 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
5457 * comint.el (comint-prompt-read-only):
5458 * custom.el (defcustom):
5459 * hi-lock.el (hi-lock-mode):
5460 * ibuffer.el (ibuffer-formats):
5461 * ielm.el (ielm-prompt-read-only):
5462 * novice.el (disable-command):
5463 * saveplace.el (toggle-save-place):
5464 * speedbar.el (speedbar-supported-extension-expressions):
5465 * startup.el (auto-save-list-file-prefix, init-file-user)
5466 (after-init-hook, inhibit-startup-echo-area-message):
5467 * strokes.el (strokes-help):
5468 * time-stamp.el (time-stamp):
5469 * calendar/calendar.el (calendar, diary-file):
5470 * calendar/diary-lib.el (diary-mail-entries, diary)
5471 (diary-list-entries-hook):
5472 * calendar/holidays.el (holidays, calendar-holidays):
5473 * calendar/lunar.el (lunar-phases):
5474 * calendar/solar.el (sunrise-sunset):
5475 * emulation/edt.el (edt-load-keys):
5476 * emulation/viper.el (viper-mode):
5477 * eshell/em-alias.el (eshell-command-aliases-list):
5478 * eshell/esh-util.el (eshell-convert-numeric-arguments):
5479 * international/ogonek.el (ogonek-information):
5480 * net/tramp-cmds.el (tramp-bug):
5481 * net/quickurl.el (quickurl-reread-hook-postfix):
5482 * play/decipher.el (decipher-font-lock-keywords):
5483 * progmodes/cc-styles.el (c-set-style):
5484 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
5485 * progmodes/inf-lisp.el (inferior-lisp-prompt):
5486 * progmodes/octave-mod.el (octave-mode):
5487 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
5488 * progmodes/verilog-mode.el (verilog-read-defines):
5489 * textmodes/two-column.el (2C-mode): Likewise.
5490
5491 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
5492
5493 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
5494 that holds many addresses.
5495
5496 2012-09-16 Chong Yidong <cyd@gnu.org>
5497
5498 * align.el (align-areas): Call the indication function with
5499 positions instead of markers for arguments (Bug#12343).
5500
5501 * files.el (parse-colon-path): Use split-string (Bug#12351).
5502
5503 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
5504 (display-buffer-function): Mark as obsolete.
5505
5506 * progmodes/compile.el (compilation-parse-errors): Accept list
5507 values similar to font-lock-keywords (Bug#12136).
5508 Suggested by Oleksandr Manzyuk.
5509 (compilation-error-regexp-alist): Doc fix.
5510
5511 2012-09-15 Glenn Morris <rgm@gnu.org>
5512
5513 * version.el (emacs-bzr-version-bzr): New function.
5514 (emacs-bzr-get-version): Add optional EXTERNAL argument.
5515
5516 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
5517 checkouts, check the parent dirstate matches the branch.
5518 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
5519 empty string.
5520
5521 * version.el (emacs-bzr-version): Doc fix.
5522 (emacs-bzr-version-dirstate): New function.
5523 (emacs-bzr-get-version): For lightweight checkouts, if the parent
5524 is local try and check that it matches the branch. If not, just
5525 use dirstate information. (Bug#12441)
5526
5527 2012-09-14 Juri Linkov <juri@jurta.org>
5528
5529 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
5530 (Bug#12399)
5531
5532 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5533
5534 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
5535
5536 * emacs-lisp/edebug.el: Miscellaneous cleanup.
5537 Remove obsolete byte-compiler hack that tried to silence some warnings.
5538 (edebug-submit-bug-report): Remove.
5539 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
5540 Remove aliases, use the un-prefixed name instead.
5541 (edebug-pop-to-buffer): Consider other frames.
5542 (edebug-original-read):: Make it more obvious that it's always defined.
5543 (edebug--make-form-data-entry, edebug--form-data-name)
5544 (edebug--form-data-begin, edebug--form-data-end): Rename from the
5545 single-dashed name, and implement with cl-defstruct.
5546 (edebug-set-form-data-entry): Use the standard accessors.
5547 (edebug-make-top-form-data-entry): Use push.
5548 (edebug-no-match): Drop useless `funcall'.
5549 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
5550 to functions.
5551 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
5552 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
5553 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
5554 (easy-menu-define, with-custom-print): Remove redundant specs.
5555 (edebug-outside-overriding-local-map)
5556 (edebug-outside-overriding-terminal-local-map): Remove, unused.
5557 (edebug--display): Bind unread-command-events directly to nil rather
5558 than binding it to unread-command-events and later setting it to nil.
5559 (edebug--display): Kill edebug-eval-buffer here...
5560 (edebug--recursive-edit): ...rather than here.
5561 Bind standard-output and standard-input.
5562 (edebug-eval): Check cl-macroexpand-all is fboundp.
5563 (edebug-temp-display-freq-count): Fix last change.
5564
5565 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
5566 * subr.el (noreturn, 1value): Add `debug' spec.
5567 * emacs-lisp/advice.el: Require cl-lib.
5568 (ad-copy-tree): Remove, use copy-tree instead.
5569 (ad-dolist): Remove use dolist or cl-dolist instead.
5570 (ad-do-return): Remove, use cl-return instead.
5571 (defadvice): Add `debug' spec.
5572
5573 2012-09-13 Juri Linkov <juri@jurta.org>
5574
5575 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
5576 (Bug#12399)
5577
5578 2012-09-13 Glenn Morris <rgm@gnu.org>
5579
5580 * calc/calc.el (math-compose-expr):
5581 * calc/calc-ext.el (math-compose-expr):
5582 * progmodes/cc-defs.el (cl-macroexpand-all):
5583 * progmodes/cc-langs.el (delete-duplicates, mapcan)
5584 (cl-macroexpand-all): Update declarations.
5585
5586 * vc/vc.el: No need to require ediff.
5587 (ediff-load-version-control): Declare.
5588 (ediff-vc-internal): Fix declaration.
5589 (vc-version-ediff): Require ediff.
5590
5591 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5592
5593 Use a more backwards-compatible timer format (Bug#12430).
5594 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
5595 being right after USECS, as that better supports old code that
5596 inadvisedly looked directly at the timer vector.
5597
5598 2012-09-13 Kenichi Handa <handa@gnu.org>
5599
5600 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
5601 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
5602 `coding-priority' property of these language environment.
5603
5604 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5605
5606 Fix glitches caused by addition of psec to timers (Bug#12430).
5607 * image.el (image-animate-timer):
5608 * time.el (display-time-world-timer):
5609 Use timer--function and timer--args rather than raw access to
5610 timer vector.
5611
5612 2012-09-13 Glenn Morris <rgm@gnu.org>
5613
5614 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
5615 If not compiling a file, try using load-file-name.
5616
5617 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5618
5619 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
5620 Fix last change.
5621 (edebug-update-eval-list): Use `push'.
5622
5623 * emacs-lisp/edebug.el: Use lexical-binding.
5624 Remove the "edebug-" prefix from non-dynamically-scoped variables.
5625 Mark unused args with underscore.
5626 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
5627 (edebug-form-data): Use defvar-local.
5628 (edebug-make-before-and-after-form, edebug-make-after-form):
5629 Use backquote.
5630 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
5631 Not dynamically scoped any more.
5632 (edebug--enter-trace): Add arguments `function' and `args'.
5633 Rename from edebug-enter-trace.
5634 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
5635 (edebug--update-coverage): Add `after-index' and `value' args.
5636 Rename from edebug-update-coverage.
5637 (edebug-slow-after): Call it accordingly.
5638 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
5639 edebug-recursive-edit.
5640 (edebug--display): Call it accordingly. Add args `value',
5641 `offset-index', and `arg-mode'. Rename from edebug-display.
5642 (edebug-debugger, edebug): Call it accordingly.
5643 (edebug-eval-display-list): Use dolist.
5644
5645 2012-09-12 Juri Linkov <juri@jurta.org>
5646
5647 * info.el (Info-search): Don't check for isearch-mode and
5648 isearch-regexp before let-binding search-spaces-regexp to
5649 Info-search-whitespace-regexp.
5650 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
5651 search-whitespace-regexp if isearch-lax-whitespace or
5652 isearch-regexp-lax-whitespace is non-nil.
5653 (Info-mode): Don't set local variable search-whitespace-regexp.
5654 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
5655
5656 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5657
5658 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
5659 (debugger-env-macro): Remove support for unread-command-char.
5660
5661 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
5662 the temporary map re-appearing on emulation-mode-map-alists.
5663
5664 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
5665 since 22.1.
5666
5667 * ehelp.el (with-electric-help): Accept functions in
5668 electric-help-form-to-execute.
5669 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
5670 And replace unread-command-char -> unread-command-events.
5671
5672 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
5673
5674 Sync with Tramp 2.2.6.
5675
5676 * net/tramp.el (tramp-accept-process-output): Don't use
5677 JUST-THIS-ONE in the XEmacs case.
5678
5679 * net/trampver.el: Update release number.
5680
5681 2012-09-12 Martin Rudalics <rudalics@gmx.at>
5682
5683 * emacs-lisp/debug.el (debugger-previous-window-height):
5684 New variable.
5685 (debug): When debugger-jumping-flag is non-nil try to restore
5686 height of debugger window. (Bug#8789)
5687
5688 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5689
5690 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
5691 overriding-local-map and pre/post-command-hook here.
5692 (edebug-recursive-edit): Do it here instead (bug#12345).
5693 (edebug-outside-unread-command-char): Remove all uses of
5694 unread-command-char.
5695
5696 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
5697 inhibit-debugger is bound instead.
5698
5699 2012-09-11 Bastien Guerry <bzg@gnu.org>
5700
5701 * subr.el (set-temporary-overlay-map): Add a docstring.
5702 (Bug#12346)
5703
5704 2012-09-11 Bastien Guerry <bzg@gnu.org>
5705
5706 * minibuffer.el (completion-table-subvert): Fix docstring.
5707 (Bug#12347)
5708
5709 2012-09-11 Bastien Guerry <bzg@gnu.org>
5710
5711 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
5712
5713 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
5714
5715 * progmodes/sql.el: Version 3.1
5716 (sql-db2-escape-newlines): New variable.
5717 (sql-escape-newlines-filter): Use it.
5718
5719 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
5720
5721 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
5722
5723 2012-09-10 Dan Nicolaescu <dann@gnu.org>
5724
5725 * vc/diff-mode.el (diff-mode-menu):
5726 Bind diff-remove-trailing-whitespace.
5727
5728 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5729
5730 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
5731 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
5732 (emacs-lisp-byte-code-mode): New functions.
5733 (eval-sexp-add-defvars): Don't skip defvars in column >0.
5734 (eval-defun-2): Remove bogus interactive spec.
5735 (lisp-indent-line): Remove redundant whole-exp code, now done in
5736 indent-according-to-mode.
5737 (save-match-data): Remove redundant indent data.
5738
5739 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
5740 Use `declare'.
5741
5742 2012-09-09 Juri Linkov <juri@jurta.org>
5743
5744 * replace.el (replace-regexp-lax-whitespace): New defcustom.
5745 (replace-lax-whitespace, query-replace-regexp)
5746 (query-replace-regexp-eval, replace-regexp): Doc fix.
5747 (perform-replace, replace-highlight): Let-bind
5748 isearch-lax-whitespace to replace-lax-whitespace and
5749 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
5750
5751 * isearch.el (isearch-query-replace): Let-bind
5752 replace-lax-whitespace to isearch-lax-whitespace and
5753 replace-regexp-lax-whitespace to
5754 isearch-regexp-lax-whitespace. (Bug#10885)
5755
5756 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
5757
5758 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
5759
5760 2012-09-09 Alan Mackenzie <acm@muc.de>
5761
5762 * progmodes/cc-engine.el (c-state-cache-init):
5763 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
5764 (c-record-parse-state-state):
5765 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
5766
5767 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
5768
5769 * register.el (register-separator): Rename from
5770 separator-register. All uses changed. Doc fix.
5771 (register): Fix version.
5772
5773 2012-09-09 Chong Yidong <cyd@gnu.org>
5774
5775 * replace.el (query-replace-map): Bind four new symbols for
5776 requesting window scrolling.
5777
5778 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
5779 query-replace-map (Bug#8948).
5780
5781 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
5782
5783 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
5784 since they are now in query-replace-map.
5785
5786 * window.el (scroll-other-window-down): Make the arg optional.
5787
5788 2012-09-09 Chong Yidong <cyd@gnu.org>
5789
5790 * files.el (hack-local-variables-confirm): Use quit-window to kill
5791 the *Local Variables* buffer.
5792
5793 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5794
5795 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
5796 not just expect to be at its beginning. Adjust callees.
5797 Succeed when do-end block has no space before the pipe character.
5798 (ruby-brace-to-do-end): When the original block is one-liner,
5799 convert to multiline. Reindent the result.
5800
5801 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
5802
5803 * register.el (register): New group.
5804 (separator-register): New user option.
5805 (increment-register): Route it to `append-to-register', if
5806 register contains text. Implication is that `C-x r +' can now be
5807 used for appending to a text register (bug#12217).
5808 (append-to-register, prepend-to-register): Add separator based on
5809 `separator-register'.
5810
5811 2012-09-08 Alan Mackenzie <acm@muc.de>
5812
5813 AWK Mode: make auto-newline work when there's "==" in the pattern.
5814 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
5815 correctly.
5816 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
5817 Test more rigorously for "=" token.
5818
5819 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5820
5821 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
5822 Only fail when reached LIMIT.
5823
5824 2012-09-08 Chong Yidong <cyd@gnu.org>
5825
5826 * dired.el (dired-mode-map): Don't bind M-=.
5827
5828 * dired-aux.el (dired-diff): Use backup file as default.
5829
5830 2012-09-08 Drew Adams <drew.adams@oracle.com>
5831
5832 * subr.el (add-to-history): Fix delete usage (Bug#12314).
5833
5834 2012-09-08 Chong Yidong <cyd@gnu.org>
5835
5836 * subr.el (syntax-after, syntax-class): Doc fix.
5837
5838 2012-09-08 Martin Rudalics <rudalics@gmx.at>
5839
5840 * window.el (display-buffer-in-previous-window): New buffer
5841 display action function.
5842
5843 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
5844 (debugger-previous-window): New variable.
5845 (debug): Rewrite using display-buffer-in-previous-window,
5846 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
5847
5848 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5849
5850 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
5851
5852 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
5853
5854 * progmodes/python.el (python-shell-send-string):
5855 When default-directory is remote, create temp file on remote
5856 filesystem.
5857 (python-shell-send-file): When file is remote, pass local view of
5858 file paths to remote Python interpreter. (Bug#12340)
5859
5860 2012-09-07 Chong Yidong <cyd@gnu.org>
5861
5862 * window.el (switch-to-buffer): Doc fix (Bug#12181).
5863
5864 * files.el (after-find-file): Don't fail on a read-only buffer if
5865 require-final-newline is `visit' or `visit-save' (Bug#11156).
5866
5867 * subr.el (read-char-choice): Allow quitting via ESC ESC.
5868
5869 * userlock.el (ask-user-about-supersession-threat):
5870 Use read-char-choice (Bug#12093).
5871
5872 2012-09-07 Chong Yidong <cyd@gnu.org>
5873
5874 * subr.el (buffer-narrowed-p): New function.
5875
5876 * ses.el (ses-widen):
5877 * simple.el (count-words--buffer-message):
5878 * net/browse-url.el (browse-url-of-buffer): Use it.
5879
5880 * simple.el (count-words-region): Don't signal an error if there
5881 is a non-nil prefix arg and the mark is not set.
5882
5883 * help.el (describe-key-briefly): Allow the message to be seen
5884 when invoked from the minibuffer (Bug#7014).
5885
5886 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5887
5888 * progmodes/ruby-mode.el (ruby-end-of-defun)
5889 (ruby-beginning-of-defun): Simplify, allow indentation before
5890 block beginning and end keywords.
5891 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
5892 (ruby-end-of-defun): Expect that the point is at the beginning of
5893 the defun.
5894
5895 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5896
5897 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
5898 (bug#12367).
5899 (cl--make-usage-args): Strip _ from argument names.
5900
5901 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5902
5903 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
5904 obsolete alias speedbar-key-map.
5905 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
5906 (vhdl-index-menu-init): Don't use obsolete variable
5907 font-lock-maximum-size.
5908
5909 2012-09-06 Chong Yidong <cyd@gnu.org>
5910
5911 * frame.el (window-system-version): Mark as obsolete.
5912
5913 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
5914 of obsolete variable speedbar-key-map.
5915
5916 2012-09-06 Juri Linkov <juri@jurta.org>
5917
5918 * replace.el (replace-lax-whitespace): New defcustom.
5919 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5920 (replace-string, replace-regexp): Mention it in docstrings.
5921 (perform-replace, replace-highlight): Let-bind
5922 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
5923 to the values of replace-lax-whitespace and regexp-flag.
5924 Don't let-bind search-whitespace-regexp. (Bug#10885)
5925
5926 * isearch.el (isearch-query-replace): Let-bind
5927 replace-lax-whitespace instead of let-binding
5928 replace-search-function and replace-re-search-function.
5929 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
5930 and isearch-regexp-lax-whitespace to lazy-highlight variables.
5931 (isearch-toggle-symbol): Set isearch-regexp to nil
5932 in isearch-word mode (like in isearch-toggle-word).
5933
5934 2012-09-06 Juri Linkov <juri@jurta.org>
5935
5936 * replace.el (replace-search-function)
5937 (replace-re-search-function): Set default values to nil.
5938 (perform-replace): Let-bind isearch-related variables based on
5939 replace-related values, call `isearch-search-fun' and let-bind
5940 the result to `search-function'. Remove code that sets
5941 `search-function' and `search-string' separately for
5942 `delimited-flag'.
5943 (replace-highlight): Add new argument `delimited-flag' and
5944 rename other arguments to the names used in `perform-replace'.
5945 Let-bind `isearch-word' to the argument `delimited-flag'.
5946 (Bug#10885, bug#10887)
5947
5948 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5949
5950 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
5951 ruby-beginning-of-indent, simplify, allow all keywords to have
5952 indentation before them.
5953 (ruby-beginning-of-indent): Adjust for above. Search until the
5954 found point is not inside a string or comment.
5955 (ruby-font-lock-keywords): Allow symbols to start with "@"
5956 character, give them higher priority than variables.
5957 (ruby-syntax-propertize-function)
5958 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
5959 matchers. Expression expansions are not comments when inside a
5960 string, and there comment syntax status is irrelevant.
5961 (ruby-match-expression-expansion): New function. Check that
5962 expression expansion is inside a string, and it's not escaped.
5963 (ruby-font-lock-keywords): Use it.
5964
5965 2012-09-05 Martin Rudalics <rudalics@gmx.at>
5966
5967 * help.el (temp-buffer-max-height): New default value.
5968 (temp-buffer-resize-frames): New option.
5969 (resize-temp-buffer-window): Optionally resize frame.
5970
5971 * window.el (fit-frame-to-buffer-bottom-margin): New option.
5972 (fit-frame-to-buffer): New function.
5973
5974 2012-09-05 Glenn Morris <rgm@gnu.org>
5975
5976 * emulation/cua-rect.el (cua--init-rectangles):
5977 * textmodes/picture.el (picture-mode-map):
5978 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
5979 like forward-char and backward-char. (Bug#12317)
5980
5981 2012-09-05 Leo Liu <sdl.web@gmail.com>
5982
5983 * progmodes/flymake.el (flymake-warning-re): New variable.
5984 (flymake-parse-line): Use it.
5985
5986 2012-09-05 Glenn Morris <rgm@gnu.org>
5987
5988 * calendar/holidays.el (holiday-christian-holidays):
5989 Rename an entry. (Bug#12289)
5990
5991 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5992
5993 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
5994 (bug#12222).
5995
5996 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5997
5998 * loadup.el: Load macroexp. Remove hack.
5999 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6000 (macroexp--expand-all): Use it to get better warnings.
6001 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6002 (internal-macroexpand-for-load): New functions.
6003 (macroexp--pending-eager-loads): New var.
6004 (emacs-startup-hook): New hack to replace one in loadup.el.
6005 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6006 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6007 (cl-psetf): Simplify.
6008 (cl-defstruct): Add indent rule.
6009
6010 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6011
6012 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6013 over `user-mail-address' for the SMTP MAIL FROM envelope.
6014 (smtpmail-via-smtp): Ditto.
6015
6016 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6017
6018 * progmodes/ruby-mode.el: Clean up keybindings.
6019 (ruby-mode-map): Don't bind ruby-electric-brace,
6020 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6021 backward-kill-word, reindent-then-newline-and-indent.
6022 (ruby-mark-defun): Remove.
6023 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6024 (ruby-mode): Set local beginning-of-defun-function and
6025 end-of-defun-function values.
6026
6027 2012-09-03 Martin Rudalics <rudalics@gmx.at>
6028
6029 * window.el (temp-buffer-window-setup-hook)
6030 (temp-buffer-window-show-hook): New hooks.
6031 (temp-buffer-window-setup, temp-buffer-window-show)
6032 (with-temp-buffer-window): New functions.
6033 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6034 (special-display-popup-frame): Make sure the window used shows BUFFER.
6035
6036 * help.el (temp-buffer-resize-mode): Fix doc-string.
6037 (resize-temp-buffer-window): New optional argument WINDOW.
6038
6039 * files.el (recover-file, save-buffers-kill-emacs):
6040 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6041
6042 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
6043
6044 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6045 remote definition of `default-directory', ensure we can connect.
6046
6047 2012-09-02 Juri Linkov <juri@jurta.org>
6048
6049 Toggle whitespace matching mode with M-s SPC.
6050 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6051
6052 * isearch.el (search-whitespace-regexp): Doc fix.
6053 Remove cons cell customization.
6054 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6055 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6056 New variables.
6057 (isearch-forward, isearch-forward-regexp): Doc fix.
6058 (isearch-toggle-lax-whitespace): New command.
6059 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6060 (re-search-forward-lax-whitespace)
6061 (re-search-backward-lax-whitespace): New functions.
6062 (isearch-whitespace-regexp): Remove function.
6063 (isearch-query-replace): Let-bind replace-search-function and
6064 replace-re-search-function.
6065 (isearch-occur): Let-bind search-spaces-regexp according to the
6066 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6067 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6068 condition for C-q SPC.
6069 (isearch-search-fun-default): Use new functions mentioned above.
6070 (isearch-search-forward, isearch-search-backward): Remove functions.
6071 (isearch-search): Don't let-bind search-spaces-regexp.
6072 (isearch-lazy-highlight-space-regexp): Remove variable.
6073 (isearch-lazy-highlight-lax-whitespace)
6074 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6075 (isearch-lazy-highlight-new-loop): Use them.
6076 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6077
6078 2012-09-02 Chong Yidong <cyd@gnu.org>
6079
6080 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6081
6082 2012-09-02 Glenn Morris <rgm@gnu.org>
6083
6084 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6085
6086 2012-09-01 Glenn Morris <rgm@gnu.org>
6087
6088 * term.el: Tidy up menu definitions.
6089 (term-mode-map): Use easymenu for In/Out, Complete menus.
6090 (term-pager-break-map): Initialize in the defvar.
6091 (term-terminal-menu, term-signals-menu): Define with easymenu.
6092 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6093 (term-pager-menu): New, extracted from term-process-pager.
6094 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6095 (term-update-mode-line): Propertize line/char and page items.
6096 (term-process-pager): Move keymap initialization elsewhere.
6097
6098 2012-09-01 Martin Rudalics <rudalics@gmx.at>
6099
6100 * window.el (switch-to-prev-buffer): Handle additional values of
6101 BURY-OR-KILL argument. Don't switch in minibuffer window.
6102 (switch-to-next-buffer): Don't switch in minibuffer window.
6103 (quit-restore-window): New function based on quit-window.
6104 Handle additional values of former KILL argument.
6105 (quit-window): Call quit-restore-window with appropriate
6106 interpretation of KILL argument.
6107 (display-buffer-below-selected): New buffer display action
6108 function.
6109
6110 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6111
6112 * minibuffer.el (completion-at-point-functions): Complete docstring
6113 (bug#12254).
6114
6115 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
6116
6117 Better seed support for (random).
6118 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
6119 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6120 * play/mpuz.el, play/tetris.el, play/zone.el:
6121 * calc/calc-comb.el (math-init-random-base):
6122 * play/blackbox.el (bb-init-board):
6123 * play/life.el (life):
6124 * server.el (server-use-tcp):
6125 * type-break.el (type-break):
6126 Remove unnecessary call to (random t).
6127 * net/sasl.el (sasl-unique-id-function):
6128 Change (random t) to (random), now that the latter is more random.
6129 * play/life.el (life-initialized): Remove no-longer-needed var.
6130
6131 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
6132
6133 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6134 Consider frame's buffer predicate when choosing the buffer.
6135 (Bug#12081)
6136
6137 2012-08-30 Richard Stallman <rms@gnu.org>
6138
6139 * simple.el (special-mode-map): Delete binding for `z'.
6140
6141 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
6142
6143 * progmodes/compile.el (compilation-always-kill): Doc fix.
6144
6145 2012-08-30 Chong Yidong <cyd@gnu.org>
6146
6147 * window.el (display-buffer-reuse-frames): Make the obsolescence
6148 message more informative.
6149
6150 2012-08-30 Glenn Morris <rgm@gnu.org>
6151
6152 * paren.el (show-paren-delay):
6153 Add a :set function. Doc fix. (Bug#12297)
6154
6155 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6156
6157 * progmodes/compile.el (compilation-always-kill): New var.
6158 (compilation-start): Use it.
6159
6160 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6161
6162 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6163 * files.el (read-only-mode): Move to simple.el.
6164
6165 * files.el (read-only-mode): New minor mode.
6166 (toggle-read-only): Use it and mark obsolete.
6167 (find-file--read-only):
6168 * vc/vc.el (vc-next-action, vc-checkout):
6169 * vc/vc-cvs.el (vc-cvs-checkout):
6170 * obsolete/vc-mcvs.el (vc-mcvs-update):
6171 * ffap.el (ffap--toggle-read-only): Update callers.
6172
6173 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
6174
6175 * eshell/esh-ext.el (eshell-external-command): Do not examine
6176 remote shell scripts.
6177 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
6178
6179 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6180 "/usr/local/sbin".
6181
6182 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6183
6184 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6185
6186 2012-08-28 Leo Liu <sdl.web@gmail.com>
6187
6188 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6189 completion-at-point. (Bug#12220)
6190
6191 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6192
6193 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6194
6195 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6196
6197 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6198 be buffer-local; add delete-trailing-whitespace (bug#12259).
6199
6200 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
6201
6202 * progmodes/hideif.el (hif-compress-define-list):
6203 Fix typo. (Bug#11951)
6204
6205 2012-08-28 Dan Nicolaescu <dann@gnu.org>
6206
6207 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6208 buffer local setting.
6209
6210 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6211 rcirc-encode-coding-system.
6212
6213 2012-08-28 Leo Liu <sdl.web@gmail.com>
6214
6215 * net/rcirc.el (rcirc-split-message): New function.
6216 (rcirc-send-message): Use it. (Bug#12051)
6217
6218 2012-08-28 Juri Linkov <juri@jurta.org>
6219
6220 * info.el (Info-fontify-node): Hide empty lines at the end of
6221 the node. (Bug#12272)
6222
6223 2012-08-27 Drew Adams <drew.adams@oracle.com>
6224
6225 * dired.el (dired-pop-to-buffer): Make window start at beginning
6226 of buffer (Bug#12281).
6227
6228 2012-08-26 Chong Yidong <cyd@gnu.org>
6229
6230 * window.el (special-display-regexps, special-display-frame-alist)
6231 (special-display-buffer-names, special-display-function)
6232 (display-buffer-reuse-frames): Mark as obsolete.
6233
6234 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6235
6236 * help.el (help-print-return-message): Don't treat
6237 display-buffer-reuse-frames specially.
6238
6239 2012-08-26 Chong Yidong <cyd@gnu.org>
6240
6241 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6242 New variable, replacing gdb-frame-parameters.
6243 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6244 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6245 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6246 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6247 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6248 the functions directly with gdb-display-buffer-other-frame-action.
6249 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6250 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6251 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6252 (gdb-display-registers-buffer): Define directly.
6253 (def-gdb-display-buffer): Macro deleted.
6254 (gdb-display-buffer): Remove second and third args, callers don't
6255 use them. Defer to the default display-buffer behavior, apart
6256 from making windows dedicated.
6257 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6258
6259 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6260
6261 * window.el (display-buffer-pop-up-frame): Handle a
6262 pop-up-frame-parameters alist entry.
6263 (display-buffer): Document it.
6264
6265 2012-08-26 Chong Yidong <cyd@gnu.org>
6266
6267 * isearch.el (search-whitespace-regexp): Make string and nil
6268 values apply to both ordinary and regexp search. Allow a cons
6269 cell value to distinguish between the two.
6270 (isearch-whitespace-regexp, isearch-search-forward)
6271 (isearch-search-backward): New functions.
6272 (isearch-occur, isearch-search-fun-default, isearch-search)
6273 (isearch-lazy-highlight-new-loop): Use them.
6274 (isearch-forward, isearch-forward-regexp): Doc fix.
6275
6276 2012-08-26 Chong Yidong <cyd@gnu.org>
6277
6278 * faces.el (help-argument-name): Always inherit from italic
6279 (Bug#12213).
6280
6281 2012-08-25 Martin Rudalics <rudalics@gmx.at>
6282
6283 * window.el (window--even-window-heights): Even heights when
6284 WINDOW and the selected window form a vertical combination.
6285 (display-buffer-use-some-window): Provide that window used gets
6286 sized back by quit-window. (Bug#11880) and (Bug#12091)
6287
6288 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6289
6290 Fix file time stamp problem with bzr and CVS (Bug#12001).
6291 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6292 in the file's time stamp, since the version control system loses
6293 that information.
6294
6295 2012-08-22 Juri Linkov <juri@jurta.org>
6296
6297 * info.el (Info-fontify-node): Hide the suffix of the
6298 Info file name in the header line. (Bug#12187)
6299
6300 2012-08-22 Glenn Morris <rgm@gnu.org>
6301
6302 * calendar/cal-tex.el (cal-tex-weekly-common):
6303 Restore leading blank page.
6304
6305 2012-08-22 Le Wang <l26wang@gmail.com>
6306
6307 * misc.el (forward-to-word, backward-to-word): Activate or extend
6308 the region under `shift-select-mode'. (Bug#12231)
6309
6310 2012-08-22 Bastien Guerry <bzg@gnu.org>
6311
6312 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6313 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
6314 gives details on why the space is never needed.
6315
6316 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6317
6318 * window.el (walk-window-tree, window-with-parameter):
6319 New optional argument MINIBUF to control whether these functions
6320 should run on the minibuffer window.
6321 (window-at-side-list): Don't operate on minibuffer window.
6322 (window-in-direction): Simplify and rewrite doc-string.
6323 (window--size-ignore): Rename to window--size-ignore-p.
6324 Update callers.
6325 (display-buffer-in-atom-window, window--major-non-side-window)
6326 (window--major-side-window, display-buffer-in-major-side-window)
6327 (delete-side-window, display-buffer-in-side-window):
6328 New functions.
6329 (window--side-check, window-deletable-p, delete-window)
6330 (delete-other-windows, split-window): Handle side windows and
6331 atomic windows appropriately.
6332 (window--display-buffer): Call display-buffer-record-window also
6333 when the window buffer did not change.
6334
6335 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
6336
6337 * help-fns.el (help-fns--key-bindings):
6338 Abbreviate non-symbol remap targets. (Bug#12174)
6339
6340 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6341
6342 * dired.el (dired-mark-remembered): Don't clobber point.
6343 (Bug#11795)
6344
6345 2012-08-22 Glenn Morris <rgm@gnu.org>
6346
6347 * progmodes/bug-reference.el (bug-reference): New custom group.
6348 (bug-reference-bug-regexp): Make it a defcustom.
6349
6350 2012-08-22 Daiki Ueno <ueno@unixuser.org>
6351
6352 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6353 (js-paren-indent-offset, js-square-indent-offset)
6354 (js-curly-indent-offset): Add :safe (Bug#12257).
6355
6356 2012-08-22 Edward O'Connor <hober0@gmail.com>
6357
6358 * json.el (json-key-format): Add error properties.
6359 (json-encode-key): New function.
6360 (json-encode-hash-table, json-encode-alist, json-encode-plist):
6361 Use json-encode-key.
6362
6363 2012-08-22 Glenn Morris <rgm@gnu.org>
6364
6365 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
6366 (cal-tex-leftday, cal-tex-rightday): Remove functions.
6367 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
6368 Update for above change.
6369
6370 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
6371
6372 * cus-face.el (custom-face-attributes): Fix customize type for the
6373 :underline attribute. (Bug#11805)
6374
6375 2012-08-21 Martin Rudalics <rudalics@gmx.at>
6376
6377 * window.el (window-point-1, set-window-point-1): Remove.
6378 (window-in-direction, record-window-buffer)
6379 (set-window-buffer-start-and-point, split-window-below)
6380 (window--state-get-1, display-buffer-record-window):
6381 Replace calls to window-point-1 and set-window-point-1 by calls to
6382 window-point and set-window-point respectively.
6383
6384 2012-08-21 Glenn Morris <rgm@gnu.org>
6385
6386 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
6387 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
6388 Use it.
6389
6390 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
6391 (cal-tex-shortday): New function.
6392 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
6393 (cal-tex-cursor-filofax-daily): Use the above.
6394
6395 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
6396 New functions.
6397 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6398 (cal-tex-cursor-filofax-week): Use them.
6399
6400 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
6401 New constants.
6402 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6403 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
6404
6405 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
6406 (cal-tex-end-document): Don't rely on buffer name.
6407
6408 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
6409 Use cal-tex-vspace.
6410 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
6411 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
6412 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
6413 Use cal-tex-arg.
6414
6415 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
6416 (cal-tex-cursor-week, cal-tex-cursor-week2)
6417 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
6418 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6419 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
6420 (cal-tex-insert-preamble, cal-tex-b-document)
6421 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
6422 Improve cal-tex-cmd usage.
6423
6424 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
6425 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
6426 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
6427 (cal-tex-weekly-paper): New function.
6428 (cal-tex-cursor-week, cal-tex-cursor-week2)
6429 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
6430 (cal-tex-cursor-day): Use it.
6431
6432 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
6433 (cal-tex-cursor-filofax-week): Remove leading blank page.
6434
6435 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6436 Add autoload cookie. For now at least, don't use color, since
6437 no other cal-tex function does.
6438
6439 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
6440 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6441 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
6442
6443 2012-08-21 Juri Linkov <juri@jurta.org>
6444
6445 * info.el (Info-file-attributes): New variable.
6446 (info-insert-file-contents): Add file attributes to
6447 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
6448 `Info-toc-nodes' when previous modtime of the Info file is less
6449 than new modtime.
6450 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
6451 of info.el. (Bug#12230)
6452
6453 2012-08-20 Glenn Morris <rgm@gnu.org>
6454
6455 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
6456 * calendar/holidays.el (calendar-holiday-list):
6457 Report errors with display-warning rather than beep'n'sleep.
6458
6459 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
6460
6461 * net/tramp.el (tramp-accept-process-output): Accept only output
6462 from PROC. Otherwise, process filters and sentinels might be
6463 confused. (Bug#12145)
6464
6465 2012-08-20 Chong Yidong <cyd@gnu.org>
6466
6467 * descr-text.el (describe-text-properties-1): Use overlays-in to
6468 report on empty overlays (Bug#3322).
6469
6470 2012-08-20 Glenn Morris <rgm@gnu.org>
6471
6472 * mail/rmailout.el (rmail-output-read-file-name):
6473 Trap and report errors in rmail-output-file-alist elements.
6474
6475 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
6476 since most non-font-lock faces are not also variables).
6477
6478 2012-08-20 Edward Reingold <reingold@iit.edu>
6479
6480 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6481 New function. (Bug12160)
6482
6483 2012-08-19 Glenn Morris <rgm@gnu.org>
6484
6485 * mail/rmailout.el (rmail-output-read-file-name):
6486 Fix previous change (when the alist is nil or does not match).
6487
6488 2012-08-19 Chong Yidong <cyd@gnu.org>
6489
6490 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
6491 (Bug#12228).
6492
6493 2012-08-18 Chong Yidong <cyd@gnu.org>
6494
6495 * simple.el (yank-handled-properties): New defcustom.
6496 (yank-excluded-properties): Add font-lock-face and category.
6497 (yank): Doc fix.
6498
6499 * subr.el (remove-yank-excluded-properties):
6500 Obey yank-handled-properties. The special handling of font-lock-face
6501 and category is now done this way, instead of being hard-coded.
6502 (insert-for-yank-1): Remove font-lock-face handling.
6503 (yank-handle-font-lock-face-property)
6504 (yank-handle-category-property): New function.
6505
6506 2012-08-17 Glenn Morris <rgm@gnu.org>
6507
6508 * mail/rmailout.el (rmail-output-read-file-name):
6509 Check rmail-output-file-alist against the full message body
6510 in the correct rmail buffer. (Bug#12214)
6511
6512 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
6513
6514 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6515 Eliminate superfluous prompt. (Bug#12203)
6516
6517 2012-08-17 Chong Yidong <cyd@gnu.org>
6518
6519 * mouse.el (mouse-appearance-menu): If x-select-font returns a
6520 font spec, set the font directly (Bug#3228).
6521
6522 2012-08-17 Martin Rudalics <rudalics@gmx.at>
6523
6524 * window.el (delete-window): Fix last fix.
6525
6526 2012-08-16 Martin Rudalics <rudalics@gmx.at>
6527
6528 * window.el (window-valid-p): Move to window.c.
6529 (window-child, window-child-count, window-last-child)
6530 (window-normalize-window, window-combined-p)
6531 (window-combinations, window-atom-root, window-min-size)
6532 (window-sizable, window-sizable-p, window-size-fixed-p)
6533 (window-min-delta, window-max-delta, window--resizable)
6534 (window--resizable-p, window-resizable, window-total-size)
6535 (window-full-height-p, window-full-width-p, window-body-size)
6536 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
6537 (minimize-window, window-deletable-p, delete-window)
6538 (delete-other-windows, set-window-buffer-start-and-point)
6539 (next-buffer, previous-buffer, split-window, balance-windows-2)
6540 (set-window-text-height, window-buffer-height)
6541 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
6542 (truncated-partial-width-window-p): Minor code adjustments.
6543 In doc-strings state whether the argument window has to denote a
6544 live, valid or any window.
6545
6546 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
6547
6548 * progmodes/subword.el (subword-forward-function)
6549 (subword-backward-function, subword-forward-regexp)
6550 (subword-backward-regexp): New variables.
6551 (subword-forward, subword-forward-internal, subword-backward-internal):
6552 Use new variables, eg so that different "word" definitions
6553 can be easily used. (Bug#11411)
6554
6555 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6556
6557 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
6558 for composite selectors.
6559 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
6560 operation just because we can't find a previous revision.
6561
6562 2012-08-15 Chong Yidong <cyd@gnu.org>
6563
6564 * frame.el (set-frame-font): Accept font objects.
6565
6566 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6567
6568 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
6569
6570 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
6571
6572 * man.el (Man-overstrike-face, Man-underline-face)
6573 (Man-reverse-face): Remove variables.
6574 (Man-overstrike, Man-underline, Man-reverse): New faces.
6575 (Man-fontify-manpage): Use them instead of the variables.
6576 (Man-cleanup-manpage): Comment change.
6577 (Man-ansi-color-map): New variable.
6578 (Man-fontify-manpage): Use it.
6579 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
6580
6581 Implement ANSI SGR parameters 22-27 (bug#12146).
6582 * ansi-color.el (ansi-colors): Doc fix.
6583 (ansi-color-context, ansi-color-context-region): Doc fix.
6584 (ansi-color--find-face): New function.
6585 (ansi-color-apply, ansi-color-apply-on-region): Use it.
6586 Rename the local variable `face' to `codes' since it is now a list of
6587 ansi codes. Doc fix.
6588 (ansi-color-get-face): Remove.
6589 (ansi-color-parse-sequence): New function, derived from
6590 ansi-color-get-face.
6591 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
6592 codes 22-27.
6593
6594 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
6595
6596 * subr.el (read-passwd): Allow use from a minibuffer.
6597
6598 2012-08-14 Eli Zaretskii <eliz@gnu.org>
6599
6600 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
6601 inside comments and strings as identifiers.
6602
6603 * progmodes/gud.el (gud-tooltip-print-command): Quote the
6604 expression to evaluate. This allows to evaluate expressions with
6605 embedded whitespace.
6606 (gud-tooltip-tips): Add a blank before the newline in the
6607 message-box text, for the benefit of message-box emulation on
6608 MS-Windows.
6609
6610 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
6611 messages from GDB, pop them up in a tooltip to give feedback to
6612 user.
6613 (gdb-tooltip-print-1): Quote the expression to evaluate.
6614 This allows to evaluate expressions with embedded whitespace.
6615 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
6616 if the TTY name is nil or empty (which happens when communicating
6617 with the inferior via pipes, e.g. on MS-Windows).
6618 (gdb-internals): If GDB sends a "&\n" empty debugging message,
6619 don't send that to the GUD buffer.
6620
6621 2012-08-14 Glenn Morris <rgm@gnu.org>
6622
6623 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
6624 Optimize away setq-default with no args, as for setq. (Bug#12195)
6625
6626 2012-08-14 Chong Yidong <cyd@gnu.org>
6627
6628 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
6629
6630 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
6631 (Bug#12085).
6632
6633 2012-08-14 Glenn Morris <rgm@gnu.org>
6634
6635 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
6636
6637 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
6638
6639 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
6640 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6641 Use cached shell name.
6642
6643 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6644
6645 * progmodes/python.el (python-shell-send-string):
6646 (python-shell-send-setup-code): Do not use `format' with `message'.
6647
6648 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
6649
6650 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
6651 (ruby-percent-literal-beg-re): New constant.
6652 (ruby-syntax-general-delimiters-goto-beg): Rename to
6653 `ruby-syntax-enclosing-percent-literal', improve literal type check.
6654 (ruby-syntax-propertize-general-delimiters): Rename to
6655 `ruby-syntax-propertize-percent-literal', it's a shorter and more
6656 popular term. Adjust comments everywhere.
6657 (ruby-syntax-propertize-percent-literal): Only propertize when not
6658 inside a simple string or comment. When the literal is unclosed,
6659 leave the text after it unpropertized.
6660 (ruby-syntax-methods-before-regexp): New constant.
6661 (ruby-syntax-propertize-function): Use it to recognize regexps.
6662 Don't look at the text after regexp, just use the whitelist.
6663
6664 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
6665
6666 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
6667 non-nil always load the compiled file if it exists. (Bug#12197)
6668
6669 2012-08-14 Chong Yidong <cyd@gnu.org>
6670
6671 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
6672 (hi-lock-set-pattern): When deciding whether to use font lock or
6673 overlays, look at font-lock-mode instead of font-lock-fontified
6674 (Bug#12168).
6675 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
6676 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
6677
6678 2012-08-14 Daiki Ueno <ueno@unixuser.org>
6679
6680 * subr.el (internal--after-with-selected-window): Fix typo
6681 (Bug#12193).
6682
6683 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6684
6685 Use `completion-table-dynamic' for completion functions.
6686 * progmodes/python.el
6687 (python-shell-completion--do-completion-at-point)
6688 (python-shell-completion--get-completions):
6689 Remove functions.
6690 (python-shell-completion-complete-at-point): New function.
6691 (python-completion-complete-at-point): Use it.
6692
6693 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
6694
6695 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
6696 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
6697
6698 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6699
6700 * subr.el (function-get): Refine `autoload' arg so it can also
6701 autoload functions for gv.el (bug#12191).
6702 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
6703 autoloads macros.
6704
6705 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
6706 Prefer pcase-let over destructuring-bind.
6707 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
6708 Also, remove whitespace as we go, rather than after accumulating the
6709 various places.
6710
6711 * subr.el (internal--before-with-selected-window)
6712 (internal--after-with-selected-window): Fix typo seleted->selected.
6713 (with-selected-window): Adjust callers.
6714 Reported by Dmitry Gutov <dgutov@yandex.ru>.
6715
6716 2012-08-13 Bastien Guerry <bzg@gnu.org>
6717
6718 * window.el (special-display-popup-frame): Minor docstring
6719 enhancement. (Bug#12172)
6720
6721 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
6722
6723 * tar-mode.el (tar-header-data-end): Only ignore size for files of
6724 type 1-6.
6725 (tar-header-block-summarize, tar-get-descriptor): Handle pax
6726 extended headers.
6727
6728 * files.el (hack-local-variables-filter): Remove useless eval.
6729
6730 2012-08-13 Martin Rudalics <rudalics@gmx.at>
6731
6732 * subr.el (with-selected-window): Fix last change.
6733
6734 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6735
6736 * subr.el (internal--before-with-seleted-window)
6737 (internal--after-with-seleted-window): New functions.
6738 (with-selected-window): Use them, to replace dependency on
6739 tty-top-frame.
6740
6741 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
6742
6743 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
6744 binding for `newline'.
6745 (ruby-move-to-block): When moving backward, stop at block opening,
6746 not indentation.
6747 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
6748 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
6749 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6750 `ruby-toggle-block'.
6751
6752 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6753
6754 * ibuffer.el (ibuffer-do-toggle-read-only):
6755 * dired.el (dired-toggle-read-only):
6756 * buff-menu.el (Buffer-menu-toggle-read-only):
6757 * bindings.el (mode-line-toggle-read-only):
6758 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
6759
6760 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
6761
6762 * descr-text.el (describe-char): Put the overlays over the
6763 "displayed as" character.
6764
6765 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
6766
6767 * calc/calc-units.el (math-default-units-table): Give an
6768 initial value.
6769 (math-put-default-units): Add options to put composite units and
6770 unit systems in the default units table.
6771 (calc-convert-units): Send composite units to
6772 `math-put-default-units' when appropriate.
6773
6774 2012-08-11 Glenn Morris <rgm@gnu.org>
6775
6776 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
6777
6778 * tutorial.el (help-with-tutorial):
6779 * emacs-lisp/copyright.el (copyright-update-directory):
6780 * emacs-lisp/autoload.el (autoload-find-generated-file)
6781 (autoload-find-file): Disable local eval: (for insurance).
6782
6783 * files.el (hack-local-variables-filter): If an eval: form is not
6784 known to be safe, and enable-local-variables is :safe, then ignore
6785 the form totally, as is done for non-eval forms. (Bug#12155)
6786 This is CVE-2012-3479.
6787
6788 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6789
6790 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
6791 (rx-form): Simplify.
6792
6793 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
6794
6795 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
6796 ?, _, and : are symbol constituents, ! is not (but kinda should be).
6797 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
6798 (ruby-syntax-propertize-function): Adjust for changes in
6799 `ruby-syntax-propertize-heredoc'.
6800
6801 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
6802
6803 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
6804 binding (use `M-;' instead).
6805 (ruby-singleton-class-p): New function.
6806 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
6807
6808 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6809
6810 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
6811
6812 2012-08-10 Chong Yidong <cyd@gnu.org>
6813
6814 * progmodes/python.el (python-shell-get-process-name): Don't mess
6815 with same-window-buffer-names.
6816
6817 * eshell/eshell.el (eshell-add-to-window-buffer-names)
6818 (eshell-remove-from-window-buffer-names): Make obsolete.
6819 (eshell-buffer-name, eshell-unload-hook): Don't use them.
6820 (eshell): Just use pop-to-buffer-same-window instead.
6821
6822 2012-08-10 Chong Yidong <cyd@gnu.org>
6823
6824 * bindings.el: Bind M-= back to count-words-region.
6825
6826 * simple.el (count-words-region): Accept a prefix arg for acting
6827 on the entire buffer.
6828 (count-words--buffer-message): New helper function.
6829
6830 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6831
6832 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
6833 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
6834 (event-start, event-end): Use posn-at-point to return a more
6835 informative posn.
6836 (posnp): New function.
6837 * mouse.el (popup-menu-normalize-position): Use it.
6838
6839 2012-08-10 Masatake YAMATO <yamato@redhat.com>
6840
6841 * mouse.el (popup-menu-normalize-position): New function.
6842 (popup-menu): Use `popup-menu-normalize-position' to normalize
6843 the form for POSITION argument.
6844
6845 * term/x-win.el (x-menu-bar-open):
6846 Use the value returend from (posn-at-point) as position
6847 passed to `popup-menu'.
6848
6849 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6850
6851 * calc/calccomp.el (math-compose-expr): Add extra argument
6852 indicating that parentheses should be put around products in
6853 denominators. Give multiplication precedence over division during
6854 composition.
6855
6856 2012-08-09 Chong Yidong <cyd@gnu.org>
6857
6858 * man.el (Man-switches, Man-sed-command, Man-awk-command)
6859 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
6860 (Man-untabify-command, manual-program): Convert to defcustom
6861 (Bug#10429).
6862
6863 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
6864
6865 * descr-text.el (describe-char): Don't insert extra newlines
6866 (Bug#10127).
6867
6868 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
6869 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
6870
6871 * align.el (align-region): Delete temporary markers (Bug#10047).
6872 Plus some code cleanups.
6873
6874 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6875
6876 * progmodes/python.el (python-pdbtrack-tracked-buffer)
6877 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
6878 (python-shell-internal-last-output): Use make-local-variable
6879 instead of make-variable-buffer-local.
6880
6881 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6882
6883 * progmodes/python.el: Enhancements to forward-sexp.
6884 (python-nav-forward-sexp): Rename from
6885 python-nav-forward-sexp-function.
6886 (python-nav--forward-sexp, python-nav--backward-sexp):
6887 New functions.
6888
6889 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6890
6891 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
6892 modes and simplification modes.
6893
6894 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6895
6896 * delsel.el (delete-selection-pre-hook): Don't propagate the
6897 file-supersession signals (bug#12161).
6898
6899 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6900
6901 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
6902 (cl-map-extents): Add compatibility aliases (bug#12135).
6903
6904 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
6905
6906 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
6907 tests by `ignore-error'.
6908 (tramp-find-shell): Open also a new shell, when cache is already
6909 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
6910
6911 2012-08-08 Juri Linkov <juri@jurta.org>
6912
6913 * bookmark.el: Add `defaults' property to the bookmark record.
6914 (bookmark-current-buffer): Doc fix.
6915 (bookmark-make-record): Add `defaults' property with default values
6916 to the bookmark record.
6917 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
6918 with `bookmark-insert-current-bookmark'.
6919 (bookmark-set): Get `defaults' property from the bookmark record
6920 and use it in `read-from-minibuffer'.
6921 (bookmark-insert-current-bookmark): Remove function.
6922
6923 * info.el (Info-bookmark-make-record): Add `defaults' property
6924 with values of canonical Info node name, the current Info file
6925 name and the current Info node name. (Bug#12107)
6926
6927 2012-08-08 Juri Linkov <juri@jurta.org>
6928
6929 * files.el (basic-save-buffer): Use `buffer-name' as the default
6930 of `read-file-name' when buffer is not visiting a file (bug#12128).
6931
6932 2012-08-08 Juri Linkov <juri@jurta.org>
6933
6934 * info.el (Info-isearch-search): Doc fix.
6935 (Info-search): Change search-failed message from "initial node" to
6936 "end of node" (bug#12078).
6937 (Info-isearch-search): Change `isearch-string-state' to
6938 `isearch--state-string'.
6939
6940 2012-08-08 Glenn Morris <rgm@gnu.org>
6941
6942 * language/persian.el: Remove file.
6943 * language/misc-lang.el: Move unique part of persian.el here.
6944 * loadup.el: Remove language/persian.
6945
6946 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
6947
6948 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
6949
6950 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
6951
6952 * progmodes/python.el: Fix defsubst warning.
6953 (python-syntax-context) Rename from python-info-ppss-context.
6954 (python-syntax-context-type): Rename from
6955 python-info-ppss-context-type.
6956 (python-syntax-comment-or-string-p): Rename from
6957 python-info-ppss-comment-or-string-p.
6958
6959 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6960
6961 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
6962
6963 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
6964
6965 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
6966 a defcustom that is quoted with backquote.
6967
6968 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
6969 Fix handling of interactive spec when the body uses return.
6970 (math-do-arg-check, math-define-function-body): Use backquote forms.
6971 * calc/calc-ext.el (math-defcache): Likewise.
6972 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
6973 * allout.el (allout-new-exposure): Likewise.
6974 * calc/calcalg2.el (math-tracing-integral): Likewise.
6975 * info.el (Info-last-menu-item): Likewise.
6976 * emulation/vip.el (vip-loop): Likewise.
6977 * textmodes/artist.el (artist-funcall): Likewise.
6978 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
6979 Construct menu-item directly.
6980
6981 * progmodes/autoconf.el (font-lock-syntactic-keywords):
6982 Don't declare.
6983
6984 2012-08-07 Chong Yidong <cyd@gnu.org>
6985
6986 * simple.el (deactivate-mark): Preserve text properties when
6987 saving the primary selection (Bug#8384).
6988
6989 2012-08-07 Kevin Ryde <user42@zip.com.au>
6990
6991 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
6992 (woman-parse-numeric-value): On a bad .IP line, issue a warning
6993 and continue processing (Bug#12110).
6994
6995 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6996
6997 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
6998 syntax-propertize-function (bug#10095).
6999
7000 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7001
7002 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7003 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7004 describe-function-1.
7005 (describe-function-1): Use them. Move compiler macro after sig.
7006 (help-fns--compiler-macro): Use function-get. Assume we're already in
7007 standard-output. Adjust layout to new call order.
7008
7009 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7010 re-binding a symbol that has a symbol-macro (bug#12119).
7011
7012 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7013
7014 * language/persian.el: New file. (Bug#11812)
7015 * loadup.el: Add language/persian.el.
7016
7017 2012-08-06 Chong Yidong <cyd@gnu.org>
7018
7019 * window.el (window--maybe-raise-frame): New function.
7020 (window--display-buffer): Split off from here.
7021 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7022 (display-buffer-pop-up-window, display-buffer-use-some-window):
7023 Obey an inhibit-switch-frame action alist entry.
7024 (display-buffer): Update doc.
7025
7026 * replace.el (occur-after-change-function): Avoid losing focus by
7027 using the inhibit-switch-frame display parameter (Bug#12139).
7028
7029 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7030
7031 Make internal shell process buffer names start with space.
7032 * progmodes/python.el (python-shell-make-comint): Add optional
7033 argument INTERNAL.
7034 (run-python-internal): Use it.
7035 (python-shell-internal-get-or-create-process): Check for new
7036 internal buffer names.
7037
7038 2012-08-06 Glenn Morris <rgm@gnu.org>
7039
7040 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
7041 Do less getting and setting of environment variables.
7042
7043 2012-08-05 Chong Yidong <cyd@gnu.org>
7044
7045 * proced.el (proced): Add substitution string to docstring to
7046 trigger autoloading of the proced library on C-h f (Bug#1768).
7047
7048 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7049 Don't show defvars which have no second argument (Bug#8638).
7050
7051 * imenu.el (imenu-generic-expression): Move documentation here
7052 from imenu--generic-function.
7053 (imenu--generic-function): Refer to imenu-generic-expression.
7054
7055 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
7056
7057 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7058 indentation declaration.
7059 (viper-loop): Add indentation declaration (Bug#7025).
7060
7061 2012-08-05 Chong Yidong <cyd@gnu.org>
7062
7063 * help-fns.el (describe-variable): Add hyperlink for
7064 directory-local variables files. Improve buffer-local and
7065 permanent-local reporting; suggested by MON KEY (Bug#6644).
7066
7067 * help-mode.el (help-dir-local-var-def): New button type.
7068
7069 * files.el (kill-buffer-hook): Provide a defvar.
7070
7071 2012-08-05 Glenn Morris <rgm@gnu.org>
7072
7073 * eshell/esh-ext.el (eshell/addpath):
7074 Also update eshell-path-env. (Bug#12013)
7075
7076 2012-08-05 Chong Yidong <cyd@gnu.org>
7077
7078 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
7079
7080 * fringe.el (fringe-styles): Add docstring.
7081 (fringe--check-mode): New function.
7082 (set-fringe-mode, set-fringe-style): Use it.
7083 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7084
7085 * files.el (set-auto-mode): Fix invalid setq call.
7086
7087 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7088
7089 * isearch.el: Misc simplification; use defstruct.
7090 (isearch-mode-map): Dense maps now work like sparse ones.
7091 (isearch--state): New defstruct.
7092 (isearch-string-state, isearch-message-state, isearch-point-state)
7093 (isearch-success-state, isearch-forward-state)
7094 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7095 (isearch-wrapped-state, isearch-barrier-state)
7096 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7097 replaced by defstruct's accessors.
7098 (isearch--set-state): Rename from isearch-top-state and change
7099 calling convention.
7100 (isearch-push-state): Use new isearch--get-state.
7101 (isearch-toggle-word): Disable regexp when enabling word.
7102 (isearch-message-prefix): Remove unused arg _c-q-hack.
7103 (isearch-message-suffix): Remove unused arg _ellipsis.
7104
7105 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7106
7107 * simple.el (list-processes--refresh): For a server use :host or
7108 :local as the address.
7109 (list-processes): Doc fix.
7110
7111 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
7112
7113 * lisp/mpc.el: Support password in host argument.
7114 (mpc--proc-connect): Parse and use new password element.
7115 Set mpc-proc variable instead of returning process.
7116 (mpc-proc): Adjust accordingly.
7117
7118 2012-08-03 Eli Zaretskii <eliz@gnu.org>
7119
7120 * whitespace.el (whitespace-display-mappings): Use Unicode
7121 codepoints, instead of emacs-mule codepoints. See
7122 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
7123 for the details.
7124
7125 * files.el (file-truename): Don't skip symlink-chasing part on
7126 windows-nt. Incorporate the resolution of 8+3 short aliases on
7127 Windows into the loop that recursively chases symlinks.
7128 Compare directory and its parent case-insensitively on MS-Windows and
7129 MS-DOS.
7130
7131 2012-08-03 Chong Yidong <cyd@gnu.org>
7132
7133 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7134
7135 * sort.el (sort-regexp-fields): Doc fix.
7136
7137 2012-08-03 Tassilo Horn <tsdh@gnu.org>
7138
7139 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7140 labels regex position point at the expected place.
7141
7142 2012-08-03 MON KEY <monkey@sandpframing.com>
7143
7144 * net/imap.el (imap-interactive-login, imap-authenticate)
7145 (imap-mailbox-lsub, imap-mailbox-list)
7146 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7147 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7148 (imap-parse-response): Doc fix.
7149
7150 2012-08-03 João Távora <joaotavora@gmail.com>
7151
7152 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7153 if sexp scanning does not move point (Bug#5734).
7154
7155 2012-08-02 Tassilo Horn <tsdh@gnu.org>
7156
7157 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7158 Add listings, minted, and ctable packages.
7159 (reftex-label-alist-builtin): Move listings, minted, and ctable
7160 entries before LaTeX.
7161 (reftex-label-alist): Docfix.
7162
7163 2012-08-02 Bastien Guerry <bzg@gnu.org>
7164
7165 * replace.el (occur): Fix docstring (bug#12122).
7166
7167 2012-08-02 Glenn Morris <rgm@gnu.org>
7168
7169 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7170
7171 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7172
7173 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7174 * international/mule-cmds.el: Create
7175 inactivate-current-input-method-function as an obsolete alias for
7176 deactivate-current-input-method-function. See Katsumi Yamaoka in
7177 <http://bugs.gnu.org/10150#46>.
7178
7179 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7180
7181 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7182 of nested `if's.
7183
7184 2012-08-01 Glenn Morris <rgm@gnu.org>
7185
7186 * progmodes/autoconf.el (autoconf-definition-regexp):
7187 Add AH_TEMPLATE, adjust submatch numbering.
7188 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7189 (autoconf-current-defun-function): Update for above change.
7190 (autoconf-current-defun-function): First skip to end of current word.
7191
7192 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7193
7194 * calendar/cal-html.el (cal-html-insert-agenda-days):
7195 Fix typo. (Bug#12018)
7196
7197 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7198
7199 Shell processes: enhancements to startup and CEDET compatibility.
7200 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7201 (python-shell-make-comint): accept-process-output at startup.
7202 (run-python-internal): Set inferior-python-mode-hook to nil.
7203 (python-shell-internal-get-or-create-process): call sit-for.
7204 (python-preoutput-result): Add obsolete alias.
7205 (python-shell-internal-send-string): Use it.
7206 (python-shell-send-setup-code): Remove call to
7207 accept-process-output.
7208
7209 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7210
7211 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7212 (Bug#12108)
7213
7214 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7215
7216 * calc-mode.el (calc-basic-simplification-mode): Rename from
7217 `calc-limited-simplification-mode'.
7218 (calc-alg-simplification-mode): New function.
7219 (calc-set-simplify-mode): Adjust message.
7220
7221 * calc.el (calc-set-mode-line): Adjust mode line display for
7222 basic simplification mode.
7223
7224 * calc-help.el (calc-m-prefix-help): Update help message.
7225
7226 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7227 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7228
7229 2012-07-31 Bastien Guerry <bzg@gnu.org>
7230
7231 * man.el (man): Fix comment. (bug#12101)
7232
7233 2012-07-31 Martin Rudalics <rudalics@gmx.at>
7234
7235 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7236 Don't return a non-nil value when no suitable buffer was found.
7237
7238 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7239
7240 * progmodes/python.el (run-python-internal): Disable font lock for
7241 internal shells.
7242
7243 2012-07-30 Stefan Merten <smerten@oekonux.de>
7244
7245 * textmodes/rst.el: Silence `checkdoc-ispell'.
7246 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7247 (rst-official-version, rst-official-cvs-rev)
7248 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7249 (rst-mode-map): New key binding.
7250
7251 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7252
7253 Update .PHONY listings in makefiles.
7254 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7255 autoloads, update-subdirs, updates, bzr-update, update-authors,
7256 compile-onefile, compile-calc, backup-compiled-files,
7257 compile-after-backup, compile-one-process, mh-autoloads,
7258 bootstrap-clean, distclean, maintainer-clean.
7259
7260 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7261
7262 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7263 (calc-set-mode-line): Don't display "AlgSimp ".
7264
7265 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7266 (calc-lim-simplify-mode): New function.
7267 (calc-set-simplify-mode): Default to 'alg.
7268 (calc-default-simplify-mode): Make algebraic simplifications
7269 the default.
7270
7271 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7272 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7273
7274 * calc/calc-help.el (calc-m-prefix-help): Change messages to
7275 indicate new simplification modes.
7276
7277 * calc/README: Mention new default simplification mode.
7278
7279 * calc/calc.el (math-normalize-error): New variable.
7280 (math-normalize): Set `math-normalize-error' to t
7281 when there's an error.
7282
7283 * calc/calc-alg.el (math-simplify): Don't simplify when
7284 `math-normalize' returns an error.
7285
7286 2012-07-29 Eli Zaretskii <eliz@gnu.org>
7287
7288 * international/mule-cmds.el (set-locale-environment): Revert last
7289 change, since display-graphic-p returns nil when this function is
7290 called during startup. Instead...
7291
7292 * term/w32console.el (terminal-init-w32console): ...setup the
7293 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7294
7295 2012-07-29 Juri Linkov <juri@jurta.org>
7296
7297 * simple.el (goto-line): Don't display default line number in the
7298 prompt because it should be displayed by `read-number' (bug#9952).
7299 Add the current line number to the defaults of `goto-line' to
7300 allow its easier modification by users with `M-n' (bug#9201).
7301
7302 * subr.el (read-number): Support multiple default values like in
7303 other minibuffer reading functions. Replace `read' with
7304 `string-to-number' for consistency with `number-to-string'.
7305
7306 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7307
7308 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7309 * emulation/viper-init.el (viper-deactivate-input-method-action):
7310 Rename from viper-inactivate-input-method-action.
7311 (viper-deactivate-input-method):
7312 Rename from viper-inactivate-input-method.
7313 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7314 * international/mule-cmds.el (deactivate-input-method):
7315 Rename from inactivate-input-method.
7316 Also run input-method-deactivate-hook.
7317 (deactivate-current-input-method-function):
7318 Rename from inactivate-current-input-method-function.
7319 (input-method-deactivate-hook): New hook.
7320 (input-method-inactivate-hook): Mark obsolete.
7321 (inactivate-input-method): Mark obsolete.
7322
7323 * international/quail.el (quail-activate):
7324 Also run quail-deactivate-hook.
7325 (quail-deactivate): Rename from quail-inactivate.
7326 * international/robin.el (robin-activate):
7327 Also run robin-deactivate-hook.
7328 (robin-deactivate): Rename from robin-inactivate.
7329
7330 2012-07-29 Chong Yidong <cyd@gnu.org>
7331
7332 * simple.el (indicate-copied-region): New function.
7333 (kill-ring-save): Split off from here.
7334
7335 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7336 (kill-rectangle): Set deactivate-mark to t on read-only error.
7337
7338 * register.el (copy-to-register, copy-rectangle-to-register):
7339 Deactivate the mark, and use indicate-copied-region (Bug#10056).
7340 (append-to-register, prepend-to-register): Call indicate-copied-region.
7341
7342 2012-07-29 Juri Linkov <juri@jurta.org>
7343
7344 * simple.el (async-shell-command-buffer): New defcustom.
7345 (shell-command): Use it. (Bug#4719)
7346
7347 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7348
7349 * international/mule-cmds.el (set-locale-environment): In a
7350 console session on MS-Windows, set up keyboard and terminal
7351 encoding from the OEM codepage, not the ANSI codepage.
7352 (Bug#12055)
7353
7354 2012-07-28 Chong Yidong <cyd@gnu.org>
7355
7356 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
7357 gdb-get-location.
7358
7359 2012-07-28 Leo Liu <sdl.web@gmail.com>
7360
7361 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
7362 the alist (bug#12029).
7363
7364 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7365
7366 * makefile.w32-in (custom-deps, finder-data, updates, compile)
7367 (compile-always, compile-first)
7368 ($(lisp)/calendar/cal-loaddefs.el)
7369 ($(lisp)/calendar/diary-loaddefs.el)
7370 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7371 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
7372 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
7373 instead of on update-subdirs.
7374 (bootstrap-clean): Delete $(lisp)/subdirs.el.
7375
7376 2012-07-28 Chong Yidong <cyd@gnu.org>
7377
7378 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
7379 directory if vc-deduce-backend returns nil (Bug#7350).
7380
7381 * simple.el (delete-trailing-lines): New option.
7382 (delete-trailing-whitespace): Obey it (Bug#11879).
7383
7384 2012-07-28 David Engster <deng@randomsample.de>
7385
7386 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
7387 Explanation of new 'symbol-qnames feature in doc-strings.
7388 (xml-maybe-do-ns): Return expanded names as plain symbols if
7389 'symbol-qnames was provided in XML-NS argument (Bug#11916).
7390 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
7391
7392 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7393
7394 Consistent completion in inferior python with emacs -nw.
7395 * progmodes/python.el (inferior-python-mode): replace "<tab>"
7396 binding in inferior-python-mode-map with "\t".
7397 (python-shell-completion-complete-at-point)
7398 (python-completion-complete-at-point): Remove interactive spec.
7399
7400 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7401
7402 * calc/calccomp.el (math-compose-expr): Undo previous change.
7403
7404 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7405
7406 * progmodes/python.el (python-mode-map): Add keybinding for
7407 run-python.
7408 (python-shell-make-comint): Fix pop-to-buffer call.
7409 (run-python): Autoload. New arg SHOW.
7410 (python-shell-get-or-create-process): Do not pop python process
7411 buffer.
7412
7413 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
7414
7415 * notifications.el (notifications-on-action-signal)
7416 (notifications-on-closed-signal): Use also the bus address for the map.
7417 (notifications-notify, notifications-close-notification)
7418 (notifications-get-capabilities): Add optional argument BUS.
7419
7420 2012-07-27 Tassilo Horn <tsdh@gnu.org>
7421
7422 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7423 Add support for the lstlisting and minted environments, and for the
7424 ctable macro.
7425 * textmodes/reftex.el (reftex-compile-variables): Also recognize
7426 labels written in keyvals syntax.
7427
7428 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7429
7430 * calc/calccomp.el (math-compose-expr): Use parentheses when
7431 there is a product in the denominator of a fraction.
7432
7433 2012-07-26 Eli Zaretskii <eliz@gnu.org>
7434
7435 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
7436 ($(lisp)/calendar/diary-loaddefs.el)
7437 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7438 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
7439 Fixes failures in parallel bootstrap because subdirs.el is being
7440 rewritten while the autoload files are built at the same time,
7441 which needs to load subdirs.el.
7442
7443 2012-07-26 Martin Rudalics <rudalics@gmx.at>
7444
7445 * mouse.el (popup-menu): Fix doc-string and re-indent code.
7446 (mouse-drag-line): Don't exit tracking when a switch-frame or
7447 switch-window event occurs (Bug#12006).
7448
7449 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7450
7451 * mouse.el (popup-menu): Fix last change.
7452
7453 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7454
7455 Autoload from Lisp with more care. Follow aliases when looking for
7456 function properties.
7457 * subr.el (autoloadp): New function.
7458 (symbol-file): Use it.
7459 (function-get): New function.
7460 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
7461 autoload-do-load.
7462 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
7463 (lisp-indent-function):
7464 * emacs-lisp/gv.el (gv-get):
7465 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
7466 * emacs-lisp/byte-opt.el (byte-optimize-form):
7467 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7468 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
7469 Use function-get.
7470 * emacs-lisp/cl.el: Don't propagate function properties any more.
7471
7472 * speedbar.el (speedbar-add-localized-speedbar-support):
7473 * emacs-lisp/disass.el (disassemble-internal):
7474 * desktop.el (desktop-load-file):
7475 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
7476 (describe-function-1):
7477 * emacs-lisp/find-func.el (find-function-noselect):
7478 * emacs-lisp/elp.el (elp-instrument-function):
7479 * emacs-lisp/advice.el (ad-has-proper-definition):
7480 * apropos.el (apropos-safe-documentation, apropos-macrop):
7481 * emacs-lisp/debug.el (debug-on-entry):
7482 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
7483 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7484 * calc/calc.el (name): Use autoloadp & autoload-do-load.
7485
7486 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
7487
7488 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
7489 function, not an obsolete variable (Bug#12046).
7490
7491 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7492
7493 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
7494
7495 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
7496
7497 * emacs-lisp/pp.el (pp-display-expression): Select old selected
7498 window only if it is still live (Bug#12034).
7499
7500 2012-07-25 Martin Rudalics <rudalics@gmx.at>
7501
7502 * subr.el (redirect-frame-focus): Add advertised calling
7503 convention (Bug#12030).
7504
7505 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
7506
7507 Prefer typical American spelling for "acknowledgment".
7508 * vc/add-log.el (change-log-acknowledgment): Rename from
7509 change-log-acknowledgement, with an alias for the old name.
7510
7511 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
7512
7513 * calc-alg.el (math-simplify-divide): Don't cross multiply
7514 in an equation when the lhs is a variable.
7515
7516 2012-07-24 Julien Danjou <julien@danjou.info>
7517
7518 * net/netrc.el (netrc-find-service-number, netrc-store-data):
7519 Remove, unused.
7520
7521 2012-07-23 Eli Zaretskii <eliz@gnu.org>
7522
7523 * startup.el (command-line): Don't display an empty user name in
7524 the error message about non-existent home directory, when
7525 init-file-user was set to an empty string. See
7526 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
7527 for the details and context.
7528
7529 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
7530
7531 * ses.el (ses-cell-formula-aset): New macro.
7532 (ses-cell-references-aset): New macro.
7533 (ses-cell-p): New function.
7534 (ses-rename-cell): Do no longer rely on complex operations like
7535 ses-cell-set-formula or ses-set-cell to change the cell and handle
7536 the undo at the same time, but rather use lower level new macros
7537 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
7538 the undo directly. Refresh the mode line.
7539
7540 2012-07-21 Leo Liu <sdl.web@gmail.com>
7541
7542 * progmodes/cc-cmds.el (c-defun-name):
7543 Use match-string-no-properties instead for consistency.
7544
7545 2012-07-20 Leo Liu <sdl.web@gmail.com>
7546
7547 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
7548 (Bug#7879)
7549
7550 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
7551
7552 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
7553
7554 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
7555 * progmodes/bug-reference.el, misearch.el: Provide themselves
7556 (bug#11915).
7557
7558 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
7559 of narrowed buffer (bug#11966).
7560
7561 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
7562
7563 * ses.el (ses-rename-cell): Set new name also in reference list of
7564 cells of which the renamed cell depends.
7565
7566 2012-07-20 Masatake YAMATO <yamato@redhat.com>
7567
7568 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
7569 to check whether menu-bar is shown or not. If not shown,
7570 show the menu-bar as a popup menu instead of using tmm.
7571 * mouse.el (popup-menu): Accept `point' as `position' argument.
7572
7573 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
7574
7575 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
7576 up inside string symbol literal (bug#11923).
7577
7578 2012-07-20 Eli Zaretskii <eliz@gnu.org>
7579
7580 * startup.el (fancy-startup-text): Read the whole tutorial, not
7581 just its first 256 bytes. Prevents gibberish in display of the
7582 tutorial title.
7583
7584 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
7585
7586 Drop idle buffer compaction due to an absence of the
7587 proved efficiency.
7588 * compact.el: Remove.
7589
7590 2012-07-19 Sam Steingold <sds@gnu.org>
7591
7592 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
7593 vc-bzr-pull & vc-bzr-merge-branch.
7594 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
7595 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
7596 for consistency with compilation-error-regexp-alist.
7597 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
7598 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
7599 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
7600 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
7601
7602 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7603
7604 * emacs-lisp/chart.el: Use lexical-binding.
7605 (chart-emacs-storage): Don't hardcode the list of entries.
7606
7607 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7608
7609 Next round of tweaks caused by Fgarbage_collect changes.
7610 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
7611
7612 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7613
7614 Compact buffers when idle.
7615 * compact.el: New file.
7616
7617 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7618
7619 * subr.el (eventp): Presume that if it looks vaguely like an event,
7620 it's an event (bug#10190).
7621
7622 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
7623
7624 Enhancements to ppss related code (thanks Stefan).
7625 * progmodes/python.el (python-indent-context)
7626 (python-indent-calculate-indentation, python-indent-dedent-line)
7627 (python-indent-electric-colon, python-nav-forward-block)
7628 (python-mode-abbrev-table)
7629 (python-info-assignment-continuation-line-p): Simplify checks
7630 for ppss context.
7631 (python-info-continuation-line-p): Cleanup.
7632 (python-info-ppss-context): Do not catch 'quote.
7633 (python-info-ppss-context-type)
7634 (python-info-ppss-comment-or-string-p): Simplify.
7635
7636 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
7637
7638 * progmodes/python.el: Enhancements to eldoc support.
7639 (python-info-current-symbol): New function.
7640 (python-eldoc-at-point): Use python-info-current-symbol.
7641 (python-info-current-defun): Fix cornercase on first defun scan.
7642 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
7643 and signal error when no inferior python process is available.
7644
7645 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
7646
7647 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
7648 assume it's always t.
7649 (vc-git-registered): Remove caching, the function is only called
7650 once.
7651 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
7652
7653 2012-07-18 Chong Yidong <cyd@gnu.org>
7654
7655 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
7656
7657 * simple.el (count-words): Report on narrowing (Bug#9959).
7658
7659 * bindings.el: Bind M-= to count-words.
7660
7661 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
7662
7663 2012-07-18 Masatake YAMATO <yamato@redhat.com>
7664
7665 * progmodes/sh-script.el (sh-imenu-generic-expression):
7666 Capture a function with `function' keyword and without parentheses
7667 like "function FOO" (bug#11856).
7668
7669 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
7670
7671 * window.el (split-window-sensibly): Make WINDOW argument
7672 optional.
7673
7674 2012-07-18 Chong Yidong <cyd@gnu.org>
7675
7676 * subr.el (keyboard-translate): Doc fix (Bug#7261).
7677
7678 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
7679 and make C-x 8 RET exit isearch (Bug#11439).
7680
7681 * international/iso-transl.el: Move isearch-mode-map key
7682 definitions to isearch.el.
7683
7684 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
7685
7686 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
7687 (eieio-defclass): Use gv-define-setter when possible.
7688
7689 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
7690
7691 Reflect recent changes in Fgarbage_collect.
7692 * emacs-lisp/chart.el (chart-emacs-storage): Change to
7693 reflect new format of data returned by Fgarbage_collect.
7694
7695 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7696
7697 New utility functions + python-info-ppss-context fix (Bug#11910).
7698 * progmodes/python.el (python-info-beginning-of-block-statement-p)
7699 (python-info-ppss-comment-or-string-p): New functions.
7700 (python-info-ppss-context): Small fix for string check.
7701
7702 2012-07-17 Juri Linkov <juri@jurta.org>
7703
7704 * dired-aux.el (dired-do-async-shell-command): Doc fix.
7705 (dired-do-async-shell-command): Don't add `*' at the end of the
7706 command (Bug#11815).
7707 (dired-do-shell-command): Doc fix.
7708 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
7709 Join the individual commands using either "&" or ";" as the
7710 separator depending on the values of these trailing characters.
7711 At the end re-add the trailing "&". (Bug#10598)
7712
7713 * simple.el (async-shell-command): Sync the interactive spec with
7714 `shell-command'. Doc fix.
7715 (shell-command): Doc fix.
7716
7717 2012-07-17 Juri Linkov <juri@jurta.org>
7718
7719 * descr-text.el (describe-char): Fix format args. (Bug#10129)
7720
7721 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7722
7723 Final renames and doc fixes for movement commands (bug#11899).
7724 * progmodes/python.el (python-nav-beginning-of-statement):
7725 Rename from python-nav-statement-start.
7726 (python-nav-end-of-statement): Rename from
7727 python-nav-statement-end.
7728 (python-nav-beginning-of-block): Rename from
7729 python-nav-block-start.
7730 (python-nav-end-of-block): Rename from python-nav-block-end.
7731
7732 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7733
7734 * progmodes/python.el (python-shell-send-string-no-output):
7735 Allow accept-process-output to quit, keeping shell process ready for
7736 future interactions (Bug#11868).
7737
7738 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
7739
7740 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
7741
7742 * emacs-lisp/elint.el (elint-find-args-in-code):
7743 Use help-function-arglist, so as to handle lexical byte-code.
7744
7745 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
7746 change (bug#11826).
7747
7748 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
7749
7750 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
7751 Avoid spuriously marking the buffer as modified because of c-is-sws.
7752
7753 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
7754 as not-a-comment (bug#11946).
7755
7756 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
7757 for uninterned vars.
7758
7759 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
7760 Use read-event since we don't really want to read chars but bytes.
7761
7762 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
7763 $$..$$ but also $..$ using regexps (bug#11953).
7764 Use tex-verbatim for \url and \path.
7765 (tex-font-lock-keywords): Define as defconst like the others.
7766 (tex-common-initialization): Don't use font-lock-syntax-table any more.
7767
7768 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
7769
7770 * international/mule-cmds.el (ucs-insert): Make it an obsolete
7771 alias for insert-char.
7772
7773 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7774
7775 * progmodes/python.el: Simplified imenu implementation.
7776 (python-nav-jump-to-defun): Remove command.
7777 (python-mode-map): Use `imenu' instead.
7778 (python-nav-list-defun-positions-cache)
7779 (python-imenu-include-defun-type, python-imenu-make-tree)
7780 (python-imenu-subtree-root-label, python-imenu-index-alist):
7781 Remove vars.
7782 (python-nav-list-defun-positions, python-nav-read-defun)
7783 (python-imenu-tree-assoc, python-imenu-make-element-tree)
7784 (python-imenu-make-tree, python-imenu-create-index):
7785 Remove functions.
7786 (python-mode): Update to interact with imenu by setting
7787 `imenu-extract-index-name-function' only.
7788
7789 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7790
7791 * progmodes/python.el: Enhancements to navigation commands.
7792 (python-nav-backward-sentence)
7793 (python-nav-forward-sentence): Remove.
7794 (python-nav-backward-statement, python-nav-forward-statement)
7795 (python-nav-statement-start, python-nav-statement-end)
7796 (python-nav-backward-block, python-nav-forward-block)
7797 (python-nav-block-start, python-nav-block-end)
7798 (python-nav-forward-sexp-function)
7799 (python-info-current-line-comment-p)
7800 (python-info-current-line-empty-p): New functions.
7801 (python-indent-context): Use `python-nav-statement-start'.
7802
7803 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
7804
7805 * eshell/em-ls.el (eshell/ls): Use `apply'.
7806
7807 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
7808 multi-hops, instead of Tramp internals.
7809
7810 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
7811
7812 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
7813 when F1 and F2 are located on different hosts.
7814
7815 2012-07-14 Chong Yidong <cyd@gnu.org>
7816
7817 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
7818 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
7819 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
7820 (xterm-mouse--read-event-sequence-1000)
7821 (xterm-mouse--read-event-sequence-1006): New functions. For old
7822 mouse protocol, handle M-mouse-X events correctly.
7823 (xterm-mouse-event): New arg specifying mouse protocol.
7824 (turn-on-xterm-mouse-tracking-on-terminal)
7825 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
7826 sequence to toggle extended coordinates on newer XTerms.
7827 This appears to be harmless on terminals which do not support this.
7828
7829 2012-07-14 Leo Liu <sdl.web@gmail.com>
7830
7831 Add fringe bitmap indicators for flymake. (Bug#11253)
7832 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
7833 (flymake-make-overlay): New arg BITMAP.
7834 (flymake-error-bitmap, flymake-warning-bitmap)
7835 (flymake-fringe-indicator-position): New user variables.
7836
7837 * fringe.el: New bitmap exclamation-mark.
7838
7839 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
7840
7841 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
7842 also (Bug#7879).
7843
7844 2012-07-14 Chong Yidong <cyd@gnu.org>
7845
7846 * electric.el (electric-pair-post-self-insert-function): Fix pair
7847 insertion in empty-region case (Bug#11520).
7848
7849 2012-07-14 Chong Yidong <cyd@gnu.org>
7850
7851 * bindings.el: Consolidate ctl-x-r-map bindings.
7852 Bind copy-rectangle-as-kill to C-x r w.
7853
7854 * rect.el, register.el: Move bindings to bindings.el.
7855
7856 2012-07-14 Reuben Thomas <rrt@sc3d.org>
7857
7858 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
7859
7860 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
7861
7862 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
7863
7864 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
7865
7866 * bindings.el (top): Use `mapc' instead of `mapcar'.
7867
7868 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
7869
7870 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
7871
7872 * progmodes/sql.el (sql-comint): Suppress the check for program on
7873 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
7874 (Bug#11908)
7875
7876 2012-07-13 Chong Yidong <cyd@gnu.org>
7877
7878 * bindings.el: Assign a non-nil permanent-local property to
7879 per-buffer variables which lack a default value (Bug#11930).
7880
7881 * help-fns.el (describe-variable): In the "automatically becomes
7882 local" notice, take note of permanent-local variables.
7883
7884 2012-07-13 Chong Yidong <cyd@gnu.org>
7885
7886 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
7887 to allow printing the message when called from Lisp.
7888
7889 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7890 Remove toggle-read-only.
7891
7892 * bs.el (bs-toggle-readonly):
7893 * buff-menu.el (Buffer-menu-toggle-read-only):
7894 Remove with-no-warnings around toggle-read-only.
7895
7896 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
7897 Remove with-no-warnings around toggle-read-only.
7898 (ffap-read-only, ffap-read-only-other-window)
7899 (ffap-read-only-other-frame): Callers changed.
7900
7901 * help-mode.el: Don't require view package.
7902 (help-mode-finish): Set buffer-read-only instead of calling
7903 toggle-read-only.
7904
7905 * bindings.el (mode-line-toggle-read-only):
7906 * dired.el (dired-toggle-read-only):
7907 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
7908 with non-nil second arg.
7909
7910 * emacs-lisp/eieio-custom.el (eieio-customize-object):
7911 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
7912 directly.
7913
7914 2012-07-12 Eli Zaretskii <eliz@gnu.org>
7915
7916 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
7917 not incf.
7918
7919 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
7920
7921 More CL cleanups and reduction of use of cl.el.
7922 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
7923 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
7924 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
7925 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
7926 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
7927 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
7928 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
7929 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
7930 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
7931 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
7932 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
7933 * eshell/em-cmpl.el, eshell/em-banner.el:
7934 * calendar/parse-time.el: Use cl-lib.
7935 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
7936 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
7937 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
7938 * term/ns-win.el, term.el, shell.el, ps-samp.el:
7939 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
7940 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
7941 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
7942 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
7943 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
7944 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
7945 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
7946 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
7947 `lambda' rather than with `quote'.
7948 (eshell-do-opt): Adjust accordingly.
7949 (eshell-process-option): Simplify.
7950 * eshell/esh-var.el:
7951 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
7952 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
7953 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
7954 to `pcase--dontcare'.
7955 * emacs-lisp/cl.el (labels): Mark obsolete.
7956 (cl--letf, letf): Move to cl-lib.
7957 (cl--letf*, letf*): Remove.
7958 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
7959 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
7960 (cl-progv): Rewrite.
7961 (cl--letf, cl-letf): Move from cl.el.
7962 (cl-letf*): New macro.
7963 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
7964
7965 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
7966
7967 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
7968
7969 2012-07-11 Chong Yidong <cyd@gnu.org>
7970
7971 * vc/log-edit.el (log-edit-vc-backend): New variable.
7972 (log-edit): Doc fix.
7973
7974 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
7975 argument of log-edit to set up all local variables.
7976 (vc-start-logentry): New optional arg specifying VC backend.
7977
7978 * vc/vc.el (vc-checkin): Use it.
7979 (vc-deduce-fileset): Handle Log Edit buffers.
7980 (vc-diff): Make first argument optional too.
7981
7982 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
7983
7984 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
7985
7986 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
7987 command, just in case. The function is not needed anymore.
7988 (eshell-external-command): Do not call `eshell-remote-command'.
7989
7990 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
7991
7992 Reduce use of (require 'cl).
7993 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
7994 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
7995 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
7996 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
7997 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
7998 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
7999 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8000 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8001 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8002 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8003 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8004 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8005 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8006 (byte-compile-unfold-bcf, byte-compile-check-variable):
8007 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8008 (byte-compile-nilconstp):
8009 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8010 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8011
8012 * emacs-lisp/gv.el (cond): Make it a valid place.
8013 (if): Simplify slightly.
8014
8015 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8016 (pcase--self-quoting-p): New function.
8017 (pcase--u1): Use it.
8018
8019 2012-07-10 Glenn Morris <rgm@gnu.org>
8020
8021 * emacs-lisp/authors.el (authors-fixed-entries):
8022 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8023
8024 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8025
8026 Rename configure.in to configure.ac (Bug#11603).
8027 * emacs-lisp/authors.el (authors-canonical-file-name):
8028 * progmodes/autoconf.el (autoconf-mode):
8029 Prefer configure.ac to configure.in.
8030
8031 2012-07-08 Chong Yidong <cyd@gnu.org>
8032
8033 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8034 Implement the mouse-1-click-follows-link handling properly.
8035
8036 * info.el (Info-link-keymap): Use follow-link mechanism for
8037 header-line links (Bug#374).
8038
8039 * simple.el (deactivate-mark): Do not set the primary selection
8040 if another program has acquired it (Bug#11772).
8041
8042 2012-07-07 Kevin Ryde <user42@zip.com.au>
8043
8044 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8045 (woman-decode-region): Replace escaped-escapes without destroying
8046 bold or underline (Bug#11552).
8047 (woman2-process-escapes): Handle nofill regions (Bug#11591).
8048
8049 2012-07-07 Chong Yidong <cyd@gnu.org>
8050
8051 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
8052 (interprogram-cut-function, interprogram-paste-function):
8053 Mention that we typically mean the clipboard.
8054
8055 2012-07-06 Glenn Morris <rgm@gnu.org>
8056
8057 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8058
8059 * files.el (toggle-read-only): Restrict message to interactive use.
8060
8061 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
8062
8063 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8064
8065 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8066
8067 2012-07-06 Glenn Morris <rgm@gnu.org>
8068
8069 * Makefile.in (compile-one-process): Rename from "recompile".
8070
8071 * Makefile.in (bzr-update): "compile" is the same as "recompile
8072 autoloads", but parallelizable, so use that instead.
8073
8074 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8075
8076 * window.el (quit-window): Always restore window height when
8077 it's saved in quit-restore parameter (Bug#11810).
8078
8079 2012-07-06 Glenn Morris <rgm@gnu.org>
8080
8081 * simple.el (kill-whole-line): Doc tweak.
8082
8083 2012-07-06 Eli Zaretskii <eliz@gnu.org>
8084
8085 * files.el (file-relative-name): Compare file names
8086 case-insensitively if on MS-Windows or MS-DOS, or if
8087 read-file-name-completion-ignore-case is non-nil. Don't use
8088 case-fold-search for this purpose. (Bug#11827)
8089
8090 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8091
8092 * calendar/cal-dst.el (calendar-current-time-zone):
8093 Return calendar-current-time-zone-cache if non-nil.
8094
8095 2012-07-17 Masatake YAMATO <yamato@redhat.com>
8096 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8097
8098 * calendar/cal-dst.el (calendar-current-time-zone):
8099 Return calendar-current-time-zone-cache if non-nil.
8100
8101 2012-07-06 Glenn Morris <rgm@gnu.org>
8102
8103 * Makefile.in (cvs-update): Remove old alias.
8104
8105 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
8106
8107 Sync with Tramp 2.2.6-pre.
8108
8109 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8110 compatible declaration.
8111
8112 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8113 Protect `list-load-path-shadows' call.
8114
8115 * net/tramp-compat.el (top): Require packages, which aren't
8116 autoloaded anymore for XEmacs. Protect call of
8117 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
8118 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
8119 it hurts at least for SXEmacs.
8120 (tramp-compat-temporary-file-directory): In XEmacs, there is no
8121 standard-value for `temporary-file-directory'.
8122
8123 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
8124 Redirect stderr to /dev/null.
8125 (tramp-sh-handle-write-region): uid and gid can be floats.
8126 Reported by Russell Sim <russell.sim@gmail.com>.
8127 (tramp-sh-handle-vc-registered): Hide errors.
8128 (tramp-vc-file-name-handler): Use dummy results for `process-file'
8129 and `start-file-process'.
8130 (tramp-maybe-open-connection): Check also whether `non-essential'
8131 is bound.
8132
8133 2012-07-04 Chong Yidong <cyd@gnu.org>
8134
8135 * xml.el (xml--parse-buffer): Use xml-syntax-table.
8136 (xml-parse-tag): Likewise, and avoid changing entity tables.
8137 (xml-syntax-table): Define from scratch, making sure not to give
8138 x2000 and other Unicode spaces whitespace syntax, since those are
8139 not spaces in XML.
8140 (xml-parse-fragment): Delete unused function.
8141 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8142 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8143 (xml-entity-ref, xml-pe-reference-re)
8144 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8145 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8146 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8147 (xml-entity-value-re): Use syntax references in regexps where
8148 possible; no need to define inside a let-binding.
8149 (xml-parse-dtd): Use xml-pe-reference-re.
8150 (xml-entity-or-char-ref-re): New defconst.
8151 (xml-parse-string, xml-substitute-special): Use it.
8152
8153 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8154
8155 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8156 (find-file--read-only): New function.
8157 (find-file-read-only, find-file-read-only-other-window)
8158 (find-file-read-only-other-frame): Use it.
8159 (insert-file-contents-literally): Don't `fset'.
8160 (get-free-disk-space): Use locate-dominating-file.
8161
8162 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8163 function is already compiled.
8164
8165 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8166
8167 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
8168
8169 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8170 files on the same host.
8171
8172 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8173
8174 * help-fns.el (describe-function-1): Only call
8175 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8176
8177 2012-07-03 Chong Yidong <cyd@gnu.org>
8178
8179 * xml.el: Protect parser against XML bombs.
8180 (xml-entity-expansion-limit): New variable.
8181 (xml-parse-string, xml-substitute-special): Use it.
8182 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8183
8184 2012-07-03 Glenn Morris <rgm@gnu.org>
8185
8186 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8187 Allow linking to specific messages in debbugs reports (eg 123#5).
8188
8189 2012-07-02 Chong Yidong <cyd@gnu.org>
8190
8191 * xml.el: Fix entity and character reference expansion, allowing
8192 them to expand into markup as per XML spec.
8193 (xml-default-ns): New variable.
8194 (xml-entity-alist): Use XML spec definitions for lt and amp.
8195 (xml-parse-region): Make first two arguments optional.
8196 Discard text properties.
8197 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8198 All callers changed.
8199 (xml-parse-tag): Call xml-parse-tag-1. For backward
8200 compatibility, this function should not modify buffer contents.
8201 (xml-parse-tag-1): Fix opening-tag regexp.
8202 (xml-parse-string): Rewrite, handling entity and character
8203 references properly.
8204 (xml--entity-replacement-text): Signal an error if a parameter
8205 entity is undefined.
8206
8207 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8208
8209 * comint.el (comint-output-filter): Filter out repeated prompts.
8210
8211 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8212 and file-name-absolute-p.
8213 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8214 internal calls.
8215
8216 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8217
8218 Spelling fixes.
8219 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8220 Rename from byte-compile--refiy-function. All uses changed.
8221
8222 2012-07-01 Chong Yidong <cyd@gnu.org>
8223
8224 * xml.el (xml--parse-buffer): New function. Move most of
8225 xml-parse-region here.
8226 (xml-parse-region): Copy region into a temporary buffer, since
8227 parameter entity substitution requires changing buffer contents.
8228 Use xml--parse-buffer.
8229 (xml-parse-file): Use xml--parse-buffer.
8230 (xml-parse-dtd): Make parameter entity substitution work right.
8231 Use proper regexps for ELEMENT declarations (Bug#7172).
8232
8233 2012-06-30 Glenn Morris <rgm@gnu.org>
8234
8235 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8236
8237 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8238 Remove outdated and unnecessary dbus declarations.
8239
8240 2012-06-30 Eli Zaretskii <eliz@gnu.org>
8241
8242 * emacs-lisp/timer.el (timer-until): Subtract results of
8243 float-time, instead of taking float-time of the result of
8244 time-subtract, since float-time signals an error for negative time
8245 arguments.
8246
8247 2012-06-30 Chong Yidong <cyd@gnu.org>
8248
8249 * xml.el (xml-*-re): Convert defvars into defconsts, and
8250 eval-and-compile them so eval-and-compile works on derivatives.
8251 (xml--entity-replacement-text): Use eval-and-comple.
8252
8253 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
8254
8255 * vc/vc-git.el (vc-git-registered): Use cache property
8256 `git-registered'.
8257 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8258 `vc-git-working-revision' in order to benefit from the cache.
8259 (vc-git-root): Use cache property `git-root'. (Bug#11757)
8260
8261 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8262
8263 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
8264 removed (likely outside Emacs). (Bug#11757)
8265
8266 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8267
8268 * emacs-lisp/cl-lib.el: Require macroexp.
8269
8270 2012-06-30 Chong Yidong <cyd@gnu.org>
8271
8272 * xml.el: Implement XML parameter entities.
8273 (xml-parameter-entity-alist): New variable.
8274 (xml-parse-region, xml-parse-fragment): Preserve previous values
8275 of xml-entity-alist and xml-parameter-entity-alist, so that
8276 repeated calls on different documents do not change them.
8277 (xml-parse-tag): Fix doctype regexp.
8278 (xml--entity-replacement-text): New function.
8279 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8280 properly requires url retrieval which is unimplemented.
8281 (xml-escape-string): Doc fix.
8282
8283 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8284
8285 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8286
8287 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8288
8289 * fringe.el (fringe-mode): Doc fix.
8290
8291 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
8292
8293 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8294 is non-nil.
8295 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8296 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8297
8298 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
8299
8300 * calendar/cal-dst.el (calendar-current-time-zone):
8301 Return calendar-current-time-zone-cache if non-nil.
8302
8303 2012-06-29 Masatake YAMATO <yamato@redhat.com>
8304
8305 * progmodes/which-func.el (which-func-format):
8306 Add mouse-face. (Bug#11698)
8307
8308 2012-06-29 Leo Liu <sdl.web@gmail.com>
8309
8310 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8311
8312 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8313
8314 * minibuffer.el (minibuffer-confirm-exit-commands):
8315 Add completion-at-point (bug#11725).
8316
8317 2012-06-29 Glenn Morris <rgm@gnu.org>
8318
8319 * progmodes/f90.el (f90-font-lock-keywords-2):
8320 Add some preprocessor elements. (Bug#10499)
8321
8322 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8323
8324 * progmodes/cperl-mode.el (cperl-update-syntaxification):
8325 Use syntax-propertize (bug#11739).
8326
8327 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
8328
8329 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8330
8331 2012-06-28 Julien Danjou <julien@danjou.info>
8332
8333 * term.el (term-handle-colors-array): Use a set of new faces to
8334 color the terminal. Also uses :inverse-video property.
8335 (term-default-fg-color): Set to nil by default, deprecate in favor
8336 of `term-face'.
8337 (term-default-bg-color): Set to nil by default, deprecate in favor
8338 of `term-face'.
8339 (term-current-face): Use `term-face' by default.
8340 (term-bold-attribute): Variable deleted.
8341
8342 2012-06-28 Glenn Morris <rgm@gnu.org>
8343
8344 * simple.el (completion-list-mode-finish):
8345 Don't use toggle-read-only. (Since completion-list-mode has
8346 a special mode-class, it wasn't doing anything extra anyway.)
8347
8348 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8349
8350 Make inlining of other-mode interpreted functions work (bug#11799).
8351 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8352 (byte-compile): Use it to fix compilation of lexical-binding closures.
8353 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
8354 function, if needed.
8355
8356 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8357
8358 * help-mode.el (help-make-xrefs): Don't just withstand
8359 cyclic-variable-indirection but any error in documentation-property.
8360
8361 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
8362 memory use.
8363 * bindings.el (bindings--define-key): New function.
8364 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
8365 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
8366 * bindings.el: Use it to purecopy define-key bindings.
8367
8368 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
8369
8370 * emacs-lisp/cl.el (flet): Mark obsolete.
8371 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
8372 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
8373 * progmodes/js.el (js-c-fill-paragraph):
8374 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
8375 (ebrowse-switch-member-buffer-to-derived-class):
8376 * play/5x5.el (5x5-solver): Use cl-flet.
8377
8378 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
8379 (cl--symbol-function): New macro.
8380 (cl--letf, cl--letf*): Use it.
8381
8382 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
8383 Strip "toggle-" if any.
8384
8385 2012-06-27 Glenn Morris <rgm@gnu.org>
8386
8387 * info.el (Info-default-directory-list): Move here from paths.el.
8388 * paths.el: Remove file, which is now empty.
8389 * loadup.el: No longer load "paths".
8390
8391 * custom.el (custom-initialize-delay): Doc fix.
8392
8393 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8394 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
8395 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
8396 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
8397 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
8398 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
8399 * eshell/eshell.el (eshell-defgroup): Remove alias.
8400
8401 2012-06-27 Chong Yidong <cyd@gnu.org>
8402
8403 * help.el (help-enable-auto-load): New variable.
8404
8405 * help-fns.el (help-fns--autoloaded-p): New function.
8406 (describe-function-1): Refer to a function as "autoloaded" if it
8407 was autoloaded at any time in the past. Perform autoloading if
8408 help-enable-auto-load is non-nil.
8409
8410 2012-06-26 Eli Zaretskii <eliz@gnu.org>
8411
8412 * makefile.w32-in (compile, compile-always): Depend on
8413 update-subdirs, not on subdirs.el. Otherwise, several different
8414 sub-targets of 'bootstrap' running in parallel could
8415 simultaneously write to subdirs.el, producing a garbled file.
8416
8417 2012-06-26 Sam Steingold <sds@gnu.org>
8418
8419 * files.el (file-name-base): New convenience function.
8420 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
8421 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
8422 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
8423 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
8424 * textmodes/ispell.el, textmodes/reftex-ref.el:
8425 * textmodes/tex-mode.el: Use it.
8426 Did not touch cedet and org because they are maintained elsewhere.
8427
8428 2012-06-26 Martin Rudalics <rudalics@gmx.at>
8429
8430 * calendar/calendar.el (calendar-exit): Don't try to delete or
8431 iconify last frame. See:
8432 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
8433
8434 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
8435
8436 * server.el (server-process-filter): Remember dir in the
8437 process's `server-client-directory' properties.
8438
8439 2012-06-24 Chong Yidong <cyd@gnu.org>
8440
8441 * xml.el (xml-parse-tag): Correctly handle comment embedded in
8442 non-tag text.
8443
8444 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
8445
8446 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
8447
8448 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8449
8450 * help-fns.el (describe-variable): Don't croak when doc is not found.
8451 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
8452 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
8453 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
8454 * emacs-lisp/smie.el (smie-next-sexp): CSE.
8455 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
8456 ((lambda ..) ..).
8457 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
8458
8459 2012-06-23 Chong Yidong <cyd@gnu.org>
8460
8461 * info.el (Info-mouse-follow-link): Accept symbol values of
8462 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
8463 (Info-fontify-node): Use Info-link-keymap for all navigation
8464 buttons, with link-args property to perform the desired action.
8465 (Info-link-keymap): Doc fix.
8466 (Info-next-link-keymap, Info-prev-link-keymap)
8467 (Info-up-link-keymap): Delete now-unused keymaps.
8468
8469 2012-06-23 Chong Yidong <cyd@gnu.org>
8470
8471 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
8472
8473 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
8474 system abbrevs.
8475
8476 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
8477
8478 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8479
8480 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
8481 (bug#11719).
8482
8483 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
8484 the requote function doesn't work properly (bug#11714).
8485
8486 2012-06-23 Glenn Morris <rgm@gnu.org>
8487
8488 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
8489
8490 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8491
8492 Further GV/CL cleanups.
8493 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
8494 gv-expander.
8495 (gv--defun-declaration): New function.
8496 (defun-declarations-alist): Use it.
8497 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
8498 (gv-place): Autoload.
8499 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
8500 original definition of dotimes and dolist.
8501 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
8502 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
8503 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
8504 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8505 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
8506 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
8507 to the function's definition.
8508 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
8509 * window.el:
8510 * files.el:
8511 * faces.el:
8512 * env.el: Don't use CL.
8513
8514 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
8515
8516 Support higher-resolution time stamps (Bug#9000).
8517
8518 * calendar/time-date.el (with-decoded-time-value): New arg
8519 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
8520 (encode-time-value): New optional arg PICO. New type 3.
8521 (time-to-seconds) [!float-time]: Support the new picoseconds
8522 component if it's used.
8523 (seconds-to-time, time-subtract, time-add):
8524 Support ps-resolution time stamps as well.
8525
8526 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
8527 (timerp): Timer vectors now have length 9, not 8.
8528 (timer--time): Support new-style (4-part) time stamps.
8529 (timer-next-integral-multiple-of-time): Time stamps now have
8530 picosecond resolution, so take a bit more care about rounding.
8531 (timer-relative-time, timer-inc-time): New optional arg psecs.
8532 (timer-set-time-with-usecs): Set psecs to 0.
8533 (timer--activate): Check psecs component, too.
8534
8535 * proced.el (proced-time-lessp): Support ps-resolution stamps.
8536
8537 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8538
8539 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
8540 Move the non-essential binding to the post/pre-command-hook where it is
8541 more obviously correct.
8542
8543 * subr.el (read-passwd): Don't use a history at all.
8544 * savehist.el (savehist-save): Remove password saved accidentally
8545 because of the above bug.
8546
8547 2012-06-22 Bastien Guerry <bzg@gnu.org>
8548
8549 * files.el (toggle-read-only): Display a message telling whether
8550 the buffer is read-only or not (bug#11726).
8551
8552 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8553
8554 * emacs-lisp/gv.el: New file.
8555 * subr.el (push, pop): Extend to generalized variables.
8556 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
8557 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
8558 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
8559 gv-define-simple-setter, and gv-define-expander.
8560 Remove setf-methods defined in gv. Rename cl-setf -> setf.
8561 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
8562 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
8563 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
8564 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
8565 gv-letplace.
8566 (cl-defstruct): Don't define setf-method any more.
8567 * emacs-lisp/cl.el (flet): Don't autoload.
8568 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
8569 (define-setf-expander, defsetf, define-modify-macro)
8570 (cl-struct-setf-expander): Move from cl-lib.el.
8571 * emacs-lisp/syntax.el:
8572 * emacs-lisp/ewoc.el:
8573 * emacs-lisp/smie.el:
8574 * emacs-lisp/cconv.el:
8575 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
8576 (timer--time): Use gv-define-simple-setter.
8577 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
8578 to avoid coding-system problems in subr.el. Adjust all users.
8579 (macroexp--maxsize, macroexp-small-p): New functions.
8580 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
8581 * scroll-bar.el (scroll-bar-mode):
8582 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8583 (normal-erase-is-backspace-mode): Don't use the `eq' place.
8584 * winner.el (winner-configuration, winner-make-point-alist)
8585 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
8586 * files.el (locate-file-completion-table): Avoid list*.
8587
8588 2012-06-22 Chong Yidong <cyd@gnu.org>
8589
8590 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
8591 (dired-create-files): Doc fix (Bug#11329).
8592 (dired-do-copy): Doc fix (Bug#11334).
8593 (dired-mark-read-string): Doc fix (Bug#11553).
8594
8595 * dired.el (dired-recursive-copies, dired-recursive-deletes):
8596 Doc fix (Bug#11326).
8597 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
8598 (dired-dwim-target): Doc fix.
8599
8600 * wdired.el (wdired-mode): Doc fix.
8601
8602 2012-06-22 Glenn Morris <rgm@gnu.org>
8603
8604 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
8605 (pcmpl-rpm-cache-stamp-file): New constant.
8606 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
8607 (pcmpl-rpm-packages): Optionally cache list of packages.
8608
8609 * pcmpl-rpm.el (pcmpl-rpm): New group.
8610 (pcmpl-rpm-query-options): New option.
8611 (pcmpl-rpm-packages): No need to inline it.
8612 Use pcmpl-rpm-query-options.
8613
8614 * calendar/calendar.el (calendar-in-read-only-buffer):
8615 Avoid some needless mode changes.
8616
8617 2012-06-21 Chong Yidong <cyd@gnu.org>
8618
8619 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
8620 (desktop-path): Remove . from the default value (Bug#10977).
8621 (desktop-read): Use user-emacs-directory if desktop-path is nil.
8622
8623 2012-06-20 Chong Yidong <cyd@gnu.org>
8624
8625 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
8626
8627 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
8628
8629 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
8630 (bug#11201).
8631
8632 2012-06-20 Chong Yidong <cyd@gnu.org>
8633
8634 * term.el (term-window-width): Handle the case of a missing right
8635 fringe (Bug#8837).
8636 (term-check-size): Use window-text-height (Bug#5445).
8637 (term-mode): Use define-derived-mode. Minor cleanups.
8638 Set font-lock-defaults (Bug#7692).
8639 (term-move-columns, term-insert-char, term-emulate-terminal)
8640 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
8641
8642 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
8643
8644 * net/ange-ftp.el (ange-ftp-get-passwd):
8645 Bind `enable-recursive-minibuffers'.
8646 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
8647
8648 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
8649
8650 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
8651
8652 2012-06-19 Glenn Morris <rgm@gnu.org>
8653
8654 * progmodes/python.el (python-mode): Derive from prog-mode.
8655
8656 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
8657
8658 * emulation/edt.el (edt-default-menu-bar-update-buffers)
8659 (edt-user-menu-bar-update-buffers): New functions.
8660 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
8661
8662 2012-06-19 Chong Yidong <cyd@gnu.org>
8663
8664 * subr.el (with-selected-window): Preserve the selected window's
8665 terminal's top-frame (Bug#4702).
8666
8667 * window.el (save-selected-window): Likewise.
8668
8669 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8670
8671 * progmodes/python.el (python-rx-constituents): Move backquote.
8672 (python-skeleton-define, python-define-auxiliary-skeleton):
8673 Use `declare'.
8674
8675 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
8676
8677 * minibuffer.el (read-file-name-default): Revert the patch from
8678 2012-06-17.
8679
8680 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8681
8682 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
8683 (pcase--u1, pcase--q1): Don't use apply-partially.
8684
8685 2012-06-18 Glenn Morris <rgm@gnu.org>
8686
8687 * progmodes/python.el (python-proc, python-buffer)
8688 (python-send-receive, python-send-string): Fix obsolete versions.
8689
8690 2012-06-18 Martin Rudalics <rudalics@gmx.at>
8691
8692 * window.el (special-display-p): Completely remove stringp
8693 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
8694
8695 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
8696
8697 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
8698
8699 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
8700
8701 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
8702 * net/tramp-sh.el (tramp-maybe-open-connection):
8703 Throw if `non-essential' is non-nil.
8704
8705 2012-06-17 Martin Rudalics <rudalics@gmx.at>
8706
8707 * window.el (special-display-p): Signal an error if BUFFER-NAME
8708 is not a string (Bug#11713).
8709
8710 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
8711
8712 * progmodes/python.el (python-info-beginning-of-backslash):
8713 Rename from python-info-beginning-of-backlash, as a spelling fix.
8714
8715 2012-06-17 Chong Yidong <cyd@gnu.org>
8716
8717 * term.el (term-emulate-terminal): If term-check-size is called,
8718 move point to the process mark without resetting point (Bug#4635).
8719
8720 2012-06-17 Glenn Morris <rgm@gnu.org>
8721
8722 * international/mule-cmds.el (mule-menu-keymap)
8723 (set-language-environment, set-locale-environment): Doc tweaks.
8724
8725 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
8726
8727 * cus-face.el (custom-face-attributes): Add wave-style underline
8728 attribute.
8729 * faces.el (set-face-attribute): Update docstring to describe
8730 wave-style underline attribute.
8731
8732 2012-06-16 Chong Yidong <cyd@gnu.org>
8733
8734 * term/xterm.el (terminal-init-xterm): Discard input before
8735 querying background mode (Bug#10959).
8736
8737 2012-06-16 Stefan Merten <smerten@oekonux.de>
8738
8739 * textmodes/rst.el: Added and corrected some comments.
8740 (rst-re-alist-def): Improve symbol syntax.
8741 (rst-mode-syntax-table): Correct syntax entries.
8742 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8743 (rst-official-version, rst-official-cvs-rev): Update version
8744 information.
8745
8746 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
8747
8748 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
8749 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
8750
8751 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
8752
8753 * progmodes/python.el: New python.el merge.
8754 (python-guess-indent): Obsolete var.
8755 (python-indent-guess-indent-offset): New defcustom.
8756 (python-indent): Obsolete var.
8757 (python-indent-offset): New defcustom.
8758 (python-python-command, python-jython-command): Delete var.
8759 (python-shell-interpreter): New defcustom.
8760 (python-pdbtrack-do-tracking-p): Delete var.
8761 (python-pdbtrack-activate): New defcustom.
8762 (python-use-skeletons): Obsolete var.
8763 (python-skeleton-autoinsert): New defcustom.
8764 (inferior-python-filter-regexp, python-continuation-offset)
8765 (python-honour-comment-indentation, python-indent-string-contents)
8766 (python-jython-packages, python-mode-hook)
8767 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
8768 (python-shell-prompt-alist)
8769 (python-source-modes): Delete defcustoms.
8770 (python-check-buffer-name, python-eldoc-setup-code)
8771 (python-eldoc-string-code, python-ffap-setup-code)
8772 (python-ffap-string-code, python-fill-comment-function)
8773 (python-fill-decorator-function, python-fill-paren-function)
8774 (python-fill-string-function, python-imenu-include-defun-type)
8775 (python-imenu-make-tree, python-imenu-subtree-root-label)
8776 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
8777 (python-shell-compilation-regexp-alist)
8778 (python-shell-completion-module-string-code)
8779 (python-shell-completion-pdb-string-code)
8780 (python-shell-completion-setup-code)
8781 (python-shell-completion-string-code)
8782 (python-shell-enable-font-lock, python-shell-exec-path)
8783 (python-shell-extra-pythonpaths)
8784 (python-shell-internal-buffer-name, python-shell-interpreter-args)
8785 (python-shell-process-environment)
8786 (python-shell-prompt-block-regexp)
8787 (python-shell-prompt-output-regexp)
8788 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
8789 (python-shell-send-setup-max-wait, python-shell-setup-codes)
8790 (python-shell-virtualenv-path): New defcustoms.
8791 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
8792 (inferior-python-mode-syntax-table, python--prompt-regexp)
8793 (python-buffer, python-command python-python-command)
8794 (python-default-template, python-imports, python-indent-index)
8795 (python-indent-list, python-indent-list-length)
8796 (python-mode-running, python-pdbtrack-is-tracking-p)
8797 (python-preoutput-continuation, python-preoutput-leftover)
8798 (python-preoutput-result, python-preoutput-skip-next-prompt)
8799 (python-prev-dir/file, python-recursing)
8800 (python-saved-check-command, python-version-checked)
8801 (python-which-func-length-limit)
8802 (view-return-to-alist): Delete vars.
8803 (python-check-custom-command, python-dotty-syntax-table)
8804 (python-imenu-index-alist, python-indent-current-level)
8805 (python-indent-dedenters, python-indent-levels)
8806 (python-nav-beginning-of-defun-regexp)
8807 (python-nav-list-defun-positions-cache)
8808 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
8809 (python-shell-internal-buffer)
8810 (python-skeleton-available): New vars.
8811 (def-python-skeleton): Delete macro.
8812 (python-skeleton-define): New macro.
8813 (python-define-auxiliary-skeleton, python-rx): New macros.
8814 (python-insert-class): Delete command.
8815 (python-skeleton-class): New command.
8816 (python-insert-def): Delete command.
8817 (python-skeleton-def): New command.
8818 (python-insert-for): Delete command.
8819 (python-skeleton-for): New command.
8820 (python-insert-if): Delete command.
8821 (python-skeleton-if): New command.
8822 (python-insert-try/except, python-insert-try/finally): Delete commands.
8823 (python-skeleton-try): New command.
8824 (python-insert-while): Delete command.
8825 (python-skeleton-while): New command.
8826 (python-backspace): Delete command.
8827 (python-indent-dedent-line-backspace): New command.
8828 (python-electric-colon): Delete command.
8829 (python-indent-electric-colon): New command.
8830 (python-guess-indent): Delete command.
8831 (python-indent-guess-indent-offset): New command.
8832 (python-shift-left): Delete command.
8833 (python-indent-shift-left): New command.
8834 (python-shift-right): Delete command.
8835 (python-indent-shift-right): New command.
8836 (python-find-function): Delete command.
8837 (python-nav-jump-to-defun): New command.
8838 (python-next-statement): Delete command.
8839 (python-nav-forward-sentence): New command.
8840 (python-previous-statement): Delete command.
8841 (python-nav-backward-sentence): New command.
8842 (python-fill-paragraph): Delete command.
8843 (python-fill-paragraph-function): New command.
8844 (python-send-buffer): Delete command.
8845 (python-shell-send-buffer): New command.
8846 (python-send-defun): Delete command.
8847 (python-shell-send-defun): New command.
8848 (python-send-region, python-send-region-and-go): Delete commands.
8849 (python-shell-send-region)
8850 (python-shell-switch-to-shell): New commands.
8851 (python-send-string): Delete command.
8852 (python-shell-send-string): New command.
8853 (python-switch-to-python): Delete command.
8854 (python-shell-switch-to-shell): New command.
8855 (python-describe-symbol): Delete command.
8856 (python-eldoc-at-point): New command.
8857 (python--set-prompt-regexp, python-args-to-list)
8858 (python-after-info-look, python-check-version)
8859 (python-check-comint-prompt, python-find-imports)
8860 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
8861 (python-unload-function, python-expand-template)
8862 (python-maybe-jython, python-preoutput-filter)
8863 (python-pdbtrack-get-source-buffer)
8864 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
8865 (python-pdbtrack-toggle-stack-tracking)
8866 (python-pdbtrack-track-stack-file, python-initial-text)
8867 (python-first-word, python-comment-line-p, python-send-command)
8868 (python-setup-brm, python-sentinel, python-set-proc)
8869 (python-skip-out, python-input-filter, python-outdent-p)
8870 (python-outline-level, python-backslash-continuation-line-p)
8871 (python-end-of-block, python-end-of-statement, python-mark-block)
8872 (python-beginning-of-block, python-beginning-of-statement)
8873 (python-blank-line-p, python-beginning-of-string)
8874 (python-open-block-statement-p): Delete functions.
8875 (python-indent-line, python-indent-line-1): Delete functions.
8876 (python-indent-line): New function.
8877 (python-indentation-levels): Delete function.
8878 (python-indent-calculate-levels): New function.
8879 (python-proc): Delete function.
8880 (python-shell-get-process): New function.
8881 (python-send-receive): Delete function.
8882 (python-shell-send-string-no-output): New function.
8883 (python-module-path): Delete function.
8884 (python-ffap-module-path): New function.
8885 (python-completion-at-point)
8886 (python-symbol-completions): Delete functions.
8887 (python-completion-complete-at-point): New function.
8888 (python-load-file): Delete function.
8889 (python-shell-send-file): New function.
8890 (python-calculate-indentation): Delete function.
8891 (python-indent-calculate-indentation): New function.
8892 (python-skip-comments/blanks): Delete function.
8893 (python-util-forward-comment): New function.
8894 (python-continuation-line-p): Delete function.
8895 (python-info-continuation-line-p): New function.
8896 (python-which-func, python-current-defun): Delete function.
8897 (python-info-current-defun): New function.
8898 (python-beginning-of-defun): Delete function.
8899 (python-nav-beginning-of-defun): New function.
8900 (python-close-block-statement-p)
8901 (python-block-end-p): Delete function.
8902 (python-info-closing-block): New function.
8903 (python-comint-output-filter-function)
8904 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
8905 (python-fill-comment, python-fill-decorator, python-fill-paren)
8906 (python-fill-string, python-imenu-make-element-tree)
8907 (python-imenu-make-tree, python-imenu-tree-assoc)
8908 (python-indent-context, python-indent-dedent-line)
8909 (python-indent-line-function)
8910 (python-indent-post-self-insert-function)
8911 (python-indent-toggle-levels)
8912 (python-info-assignment-continuation-line-p)
8913 (python-info-beginning-of-backlash)
8914 (python-info-block-continuation-line-p)
8915 (python-info-closing-block-message)
8916 (python-info-line-ends-backslash-p)
8917 (python-info-looking-at-beginning-of-defun)
8918 (python-info-ppss-context, python-info-ppss-context-type)
8919 (python-nav-list-defun-positions, python-nav-read-defun)
8920 (python-nav-sentence-end, python-nav-sentence-start)
8921 (python-pdbtrack-comint-output-filter-function)
8922 (python-pdbtrack-set-tracked-buffer)
8923 (python-shell-calculate-exec-path)
8924 (python-shell-calculate-process-environment)
8925 (python-shell-completion--do-completion-at-point)
8926 (python-shell-completion--get-completions)
8927 (python-shell-completion-complete-at-point)
8928 (python-shell-completion-complete-or-indent)
8929 (python-shell-get-or-create-process)
8930 (python-shell-get-process-name)
8931 (python-shell-internal-get-or-create-process)
8932 (python-shell-internal-get-process-name)
8933 (python-shell-internal-send-string, python-shell-make-comint)
8934 (python-shell-parse-command, python-shell-send-setup-code)
8935 (python-skeleton-add-menu-items)
8936 (python-util-clone-local-variables, python-util-position)
8937 (run-python-internal, python-indentation-levels)
8938 (python-nav-beginning-of-defun)
8939 (python-completion-complete-at-point): New functions.
8940 (run-python): Change arguments. New API requirements.
8941
8942 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8943
8944 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
8945 (bug#11649).
8946
8947 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
8948 (macroexp--expand-all): Use it.
8949
8950 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
8951 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
8952 Use `cl-function' instead.
8953
8954 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
8955
8956 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
8957 Suggested by Stefan Monnier while discussing bug#11657.
8958
8959 2012-06-14 Sam Steingold <sds@gnu.org>
8960
8961 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
8962
8963 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
8964
8965 * play/doctor.el (doctor-doc): Remove parameter and use
8966 doctor-sent instead of sent.
8967 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
8968
8969 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8970
8971 * files.el: Require cl-lib.
8972 (file-name-non-special): Replace case -> cl-case.
8973
8974 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
8975
8976 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
8977 mapping from #' to function*.
8978
8979 2012-06-13 Chong Yidong <cyd@gnu.org>
8980
8981 * mouse.el (mouse-drag-track): Do not set the mark if the user
8982 releases the mouse without selecting anything (Bug#11588).
8983
8984 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8985
8986 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
8987 as well (bug#11646).
8988
8989 * loadup.el: Count byte-code functions as well.
8990
8991 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
8992 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
8993
8994 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
8995 (bug#11649). Add cl-defun and cl-defmacro.
8996
8997 2012-06-13 Drew Adams <drew.adams@oracle.com>
8998
8999 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9000 Fix last change.
9001
9002 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
9003
9004 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9005 Otherwise, it blocks in batch mode.
9006
9007 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
9008
9009 * help-mode.el (bookmark-make-record-default): Declare.
9010
9011 2012-06-13 Chong Yidong <cyd@gnu.org>
9012
9013 * emacs-lisp/package.el (list-packages): Compute a list of
9014 packages that are newly-available since the last list-packages
9015 invocation.
9016 (package-menu--new-package-list): New var.
9017 (package-menu--generate, package-menu--print-info)
9018 (package-menu--status-predicate, package-menu-mark-install):
9019 Handle new status label "new".
9020
9021 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9022
9023 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9024 conversion to backquotes.
9025
9026 2012-06-12 Chong Yidong <cyd@gnu.org>
9027
9028 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9029 Rename from gud-inhibit-global-bindings.
9030
9031 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9032
9033 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9034 hook from nxml-glyph-set-hook.
9035
9036 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9037 declaration.
9038
9039 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9040
9041 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9042 Convert to defcustom.
9043
9044 2012-06-12 Drew Adams <drew.adams@oracle.com>
9045
9046 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9047 New functions.
9048 (help-mode): Use them.
9049
9050 2012-06-11 Glenn Morris <rgm@gnu.org>
9051
9052 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9053 Use preprocessor face for directives.
9054 (fortran-directive-re): Doc fix.
9055
9056 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9057
9058 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9059 conversion to backquotes (bug#11652).
9060
9061 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9062 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9063 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9064 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9065 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9066 (cl-ninth, cl-tenth): Mark them as inlinable.
9067 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9068 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9069 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9070 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9071 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9072 (cl-list*, cl-adjoin): Don't put an autoload manually.
9073 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9074 (cl--compiler-macro-list*): Add autoload cookie.
9075 (cl--compiler-macro-cXXr): New function.
9076
9077 * help-fns.el (help-fns--compiler-macro): New function extracted from
9078 describe-function-1; follow aliases and use `compiler-macro' property.
9079 (describe-function-1): Use it.
9080
9081 2012-06-11 Chong Yidong <cyd@gnu.org>
9082
9083 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9084 is uninstalled, if imagemagick is installed.
9085
9086 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9087
9088 * emacs-lisp/cl-lib.el: Use lexical-binding.
9089 (cl-map-extents, cl-maclisp-member): Remove.
9090 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9091 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9092 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9093 * emacs-lisp/cl-extra.el: Use lexical-binding.
9094 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9095 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9096 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9097 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9098 * emacs-lisp/cl-seq.el: Use lexical-binding.
9099 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9100 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9101 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9102 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9103 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9104 CL's internals.
9105
9106 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
9107
9108 Sync with Tramp 2.2.6-pre.
9109
9110 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9111 `print-length' and `print-level' to nil, in order to avoid
9112 truncation. Reported by Christopher Schmidt
9113 <christopher@ristopher.com>.
9114
9115 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
9116
9117 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
9118 New defmacro.
9119 (tramp-compat-copy-directory): Add optional argument
9120 COPY-CONTENTS. It is not handled yet.
9121
9122 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
9123 (tramp-ftp-file-name-p): Simplify.
9124
9125 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
9126 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
9127 connection vector.
9128
9129 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
9130 (tramp-methods): Do not use `tramp-password-end-of-line'.
9131 (tramp-completion-function-alist-putty): Handle UNIX case.
9132 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9133 (tramp-do-file-attributes-with-stat)
9134 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9135 gid as real numbers. They could run out of integer range on cygwin.
9136 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9137 (tramp-sh-handle-expand-file-name): Handle hops.
9138 (tramp-open-connection-setup-interactive-shell):
9139 Use `tramp-cleanup'. Move check for busyboxes ...
9140 (tramp-find-shell): ... here. Simplify implementation.
9141 Set "remote-shell" property also for alternative shells.
9142 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9143 If failing, a regular file would be written otherwise.
9144 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
9145 (tramp-find-inline-encoding): Cache the coding commands in the
9146 process cache. Apply test command on the remote side, if defined.
9147 (tramp-find-inline-compress): Cache the compress commands in the
9148 process cache.
9149 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9150 when requested. Handle hops.
9151 (tramp-current-connection): New defvar.
9152 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9153 Throw `suppress', if there was a failed connection shortly before.
9154 Handle user interrupt. (Bug#10187)
9155 (tramp-get-inline-compress, tramp-get-inline-coding):
9156 Read connection properties from the process cache.
9157
9158 * net/tramp-smb.el (tramp-smb-server-version)
9159 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9160 New defconsts.
9161 (tramp-smb-prompt): Extend for powershell prompt.
9162 (tramp-smb-file-name-handler-alist): Add handlers for
9163 `process-file', `shell-command' and `start-file-process'.
9164 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9165 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9166 (tramp-smb-file-name-p): Simplify.
9167 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9168 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9169 (tramp-smb-shell-quote-argument): New defuns.
9170 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9171 Implement using "tar". By this, time-stamps are preserved.
9172 (tramp-smb-handle-copy-file): Handle also the case of directories.
9173 (tramp-smb-do-file-attributes-with-stat)
9174 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9175 Use `tramp-get-connection-buffer').
9176 (tramp-smb-handle-rename-file): Use "rename", when source and
9177 target are on the same share.
9178 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9179 Use `tramp-smb-server-version'.
9180 (tramp-smb-wait-for-output): Remove prompt.
9181
9182 * net/tramp.el (top): Require 'cl.
9183 (tramp-methods, tramp-rsh-end-of-line):
9184 Remove `tramp-password-end-of-line' from docstring.
9185 (tramp-save-ad-hoc-proxies): New defcustom.
9186 (tramp-completion-function-alist): Adapt docstring.
9187 (tramp-default-password-end-of-line): Remove defcustom.
9188 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9189 (tramp-user-regexp, tramp-file-name-regexp-unified)
9190 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9191 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9192 (tramp-remote-file-name-spec-regexp): New defconst.
9193 (tramp-file-name-structure): Extend structure for hops.
9194 (tramp-get-method-parameter): Move up.
9195 (tramp-file-name-p, tramp-dissect-file-name)
9196 (with-parsed-tramp-file-name): Handle hops.
9197 (tramp-file-name-hop): New defun.
9198 (tramp-make-tramp-file-name): New optional arg HOP.
9199 (tramp-message-show-progress-reporter-message): New defvar.
9200 (tramp-with-progress-reporter): Use it. We cannot use
9201 `tramp-message-show-message' here, because this suppresses also
9202 error buffers.
9203 (tramp-error-with-buffer): Suppress buffer view, if
9204 `tramp-message-show-message' is nil.
9205 Use `tramp-get-connection-buffer'.
9206 (tramp-cleanup): New defun.
9207 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9208 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9209 an error unchanged.
9210 (tramp-completion-handle-file-name-all-completions): Handle hops.
9211 Fix an error when called from ido.
9212 (tramp-completion-dissect-file-name): Use better local variable
9213 name. Add hop to the vector.
9214 (tramp-handle-insert-file-contents): Use progress-reporter for the
9215 whole scenario.
9216 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9217 to `t'.
9218 (tramp-check-for-regexp): Simplify search.
9219 (tramp-enter-password): Remove it. Move implementation ...
9220 (tramp-action-password): ... here.
9221 (tramp-mode-string-to-int, tramp-local-host-p)
9222 (tramp-make-tramp-temp-file, tramp-read-passwd)
9223 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9224 Set tramp-autoload cookie.
9225
9226 * net/trampver.el: Update release number.
9227
9228 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9229 Michael Albinus <michael.albinus@gmx.de>
9230
9231 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9232 (tramp-parse-group, tramp-parse-file)
9233 (tramp-parse-shostkeys-sknownhosts): New defuns.
9234 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9235 (tramp-parse-shosts-group, tramp-parse-sconfig)
9236 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9237 (tramp-parse-sknownhosts, tramp-parse-hosts)
9238 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9239 Use them.
9240 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9241 (tramp-parse-putty-group): Don't narrow.
9242 (tramp-parse-putty): Make a loop.
9243 (tramp-file-name-handler): Catch the `suppress' signal.
9244
9245 2012-06-11 Chong Yidong <cyd@gnu.org>
9246
9247 * image.el (imagemagick-register-types): Put the ImageMagick entry
9248 at the end of image-type-file-name-regexps.
9249
9250 2012-06-11 Johan Bockgård <bojohan@gnu.org>
9251
9252 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9253 (pcase, pcase-let*, pcase-dolist): Use them.
9254
9255 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9256
9257 * emacs-lisp/pcase.el (pcase--let*): New function.
9258 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9259 (pcase--expand): Use macroexp-let².
9260
9261 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9262
9263 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9264 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9265 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9266 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9267 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9268 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9269
9270 2012-06-10 Glenn Morris <rgm@gnu.org>
9271
9272 * mail/rmail.el (rmail-yank-current-message): Leave point at
9273 correct position. (Bug#11660)
9274
9275 2012-06-10 Chong Yidong <cyd@gnu.org>
9276
9277 * allout-widgets.el: Fix code header.
9278
9279 2012-06-10 Chong Yidong <cyd@gnu.org>
9280
9281 * cus-edit.el (customize-changed-options-previous-release):
9282 Bump to 24.1.
9283
9284 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9285
9286 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9287
9288 2012-06-09 Chong Yidong <cyd@gnu.org>
9289
9290 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9291
9292 2012-06-09 Martin Rudalics <rudalics@gmx.at>
9293
9294 * window.el (special-display-popup-frame): Don't use
9295 window--display-buffer (Bug#11651).
9296
9297 2012-06-09 Eli Zaretskii <eliz@gnu.org>
9298
9299 Fix parallel builds: make sure loaddefs.el is not being written
9300 while Lisp files are compiled.
9301 (compile): Don't depend on 'mh-autoloads'.
9302 (compile-CMD, compile-SH): Depend on 'autoloads'.
9303 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9304
9305 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9306
9307 2012-06-09 Chong Yidong <cyd@gnu.org>
9308
9309 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9310 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9311 Doc fixes (Bug#11225).
9312
9313 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9314
9315 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9316 a function if there's a clear indication that it has a compiler-macro.
9317 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9318 (macro-declarations-alist): Add arglist to declaration functions.
9319 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9320 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9321 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9322 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9323 Also add autoload to find the compiler macro.
9324 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9325 (cl--compiler-macro-member, cl--compiler-macro-assoc)
9326 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9327 (cl--compiler-macro-get): New functions, replacing calls to
9328 cl-define-compiler-macro.
9329 (cl-typep) [compiler-macro]: Use macroexp-let².
9330
9331 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
9332
9333 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9334 string properly, fixes Bug#11473.
9335
9336 2012-06-08 Chong Yidong <cyd@gnu.org>
9337
9338 * faces.el (set-face-attribute): Doc fix.
9339 (modify-face): Don't use :bold and :italic.
9340 (error, warning, success): Tweak definitions.
9341
9342 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9343 (custom-modified, custom-set, custom-changed, custom-themed)
9344 (custom-saved, custom-button, custom-button-mouse)
9345 (custom-button-pressed, custom-state, custom-comment-tag)
9346 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9347 (custom-group-subtitle): Use new-style face specs.
9348 (custom-invalid-face, custom-rogue-face, custom-modified-face)
9349 (custom-set-face, custom-changed-face, custom-saved-face)
9350 (custom-button-face, custom-button-pressed-face)
9351 (custom-documentation-face, custom-state-face)
9352 (custom-comment-face, custom-comment-tag-face)
9353 (custom-variable-tag-face, custom-variable-button-face)
9354 (custom-face-tag-face, custom-group-tag-face-1)
9355 (custom-group-tag-face): Remove obsolete face alias.
9356
9357 * epa.el (epa-validity-high, epa-validity-medium)
9358 (epa-validity-low, epa-mark, epa-field-name, epa-string)
9359 (epa-field-name, epa-field-body):
9360 * font-lock.el (font-lock-comment-face, font-lock-string-face)
9361 (font-lock-keyword-face, font-lock-builtin-face)
9362 (font-lock-function-name-face, font-lock-variable-name-face)
9363 (font-lock-type-face, font-lock-constant-face):
9364 * ido.el (ido-first-match, ido-only-match, ido-subdir)
9365 (ido-virtual, ido-indicator, ido-incomplete-regexp):
9366 * speedbar.el (speedbar-button-face, speedbar-file-face)
9367 (speedbar-directory-face, speedbar-tag-face)
9368 (speedbar-selected-face, speedbar-highlight-face)
9369 (speedbar-separator-face):
9370 * whitespace.el (whitespace-newline, whitespace-space)
9371 (whitespace-hspace, whitespace-tab, whitespace-trailing)
9372 (whitespace-line, whitespace-space-before-tab)
9373 (whitespace-space-after-tab, whitespace-indentation)
9374 (whitespace-empty):
9375 * emulation/cua-base.el (cua-global-mark):
9376 * eshell/em-prompt.el (eshell-prompt):
9377 * net/newst-plainview.el (newsticker-new-item-face)
9378 (newsticker-old-item-face, newsticker-immortal-item-face)
9379 (newsticker-obsolete-item-face, newsticker-date-face)
9380 (newsticker-statistics-face, newsticker-default-face):
9381 * net/newst-reader.el (newsticker-feed-face)
9382 (newsticker-extra-face, newsticker-enclosure-face):
9383 * net/newst-treeview.el (newsticker-treeview-face)
9384 (newsticker-treeview-new-face, newsticker-treeview-old-face)
9385 (newsticker-treeview-immortal-face)
9386 (newsticker-treeview-obsolete-face)
9387 (newsticker-treeview-selection-face):
9388 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
9389 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
9390 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
9391 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
9392 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
9393 (nxml-outline-active-indicator, nxml-outline-ellipsis):
9394 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
9395 (mpuz-text):
9396 * progmodes/vera-mode.el (vera-font-lock-number)
9397 (vera-font-lock-function, vera-font-lock-interface):
9398 * textmodes/table.el (table-cell): Use new-style face specs, and
9399 don't use the old :bold and :italic attributes.
9400
9401 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
9402 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
9403 (ebrowse-member-class, ebrowse-progress): Likewise.
9404 (ebrowse-tree-mark-face, ebrowse-root-class-face)
9405 (ebrowse-file-name-face, ebrowse-default-face)
9406 (ebrowse-member-attribute-face, ebrowse-member-class-face)
9407 (ebrowse-progress-face): Remove obsolete faces.
9408
9409 * progmodes/flymake.el (flymake-errline, flymake-warnline):
9410 Inherit from error and warning faces respectively.
9411
9412 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
9413 Likewise.
9414 (flyspell-incorrect-face, flyspell-duplicate-face):
9415 Remove obsolete aliases.
9416
9417 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
9418
9419 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9420 Avoid infloop.
9421
9422 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9423
9424 * startup.el (argv, argi): Make lexically scoped.
9425 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
9426 * emacs-lisp/cl-macs.el: Use lexical-binding.
9427 Rename cl-bind-* to cl--bind-*.
9428 * files.el: Don't require `cl' since it doesn't use it.
9429 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
9430
9431 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
9432
9433 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
9434 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
9435 instead of calling external sort utility.
9436 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
9437
9438 2012-06-08 Eli Zaretskii <eliz@gnu.org>
9439
9440 * descr-text.el (describe-char): Mention how to insert the
9441 character, if the current input method doesn't support it.
9442 See the discussion in this thread for the details:
9443 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
9444
9445 2012-06-08 Sam Steingold <sds@gnu.org>
9446
9447 * bindings.el (global-map): Bind XF86Forward to next-buffer and
9448 XF86Back to previous-buffer.
9449 (minibuffer-local-map): Bind them to next-history-element and
9450 previous-history-element respectively.
9451 * help-mode.el (help-mode-map): Bind them to help-go-forward and
9452 help-go-back respectively.
9453 * info.el (Info-mode-map): Bind them to Info-history-forward and
9454 Info-history-back respectively.
9455 These are the keys next to Up on the ThinkPad keyboard.
9456
9457 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9458
9459 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
9460 * emacs-lisp/cl-macs.el: Provide itself.
9461 (cl--labels-convert-cache): New var.
9462 (cl--labels-convert): New function.
9463 (cl-flet, cl-labels): New implementation with new semantics, relying on
9464 lexical-binding.
9465 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
9466 (cl-closure-vars, cl--function-convert-cache)
9467 (cl--function-convert): Move from cl-macs.el.
9468 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
9469 rename by removing the "cl-" prefix.
9470 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
9471
9472 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9473
9474 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
9475 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
9476 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
9477 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
9478 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
9479 (cl-hash-table-count): Add old compatibility aliases.
9480
9481 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
9482 Use macroexpand-all-environment instead.
9483 (cl--old-macroexpand): New var.
9484 (cl--sm-macroexpand): New function.
9485 (cl-symbol-macrolet): Use it during macro expansion.
9486 (cl--function-convert-cache): New var.
9487 (cl--function-convert): New function, extracted from
9488 cl-macroexpand-all.
9489 (cl-lexical-let): Use it.
9490
9491 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
9492 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
9493 (cl-member): Remove old alias.
9494
9495 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
9496 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
9497 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
9498 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
9499 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
9500 (cl-macroexpand-cmacs): Remove var.
9501 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
9502 Use macroexpand-all instead.
9503
9504 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9505
9506 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
9507 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
9508 (macroexp-copyable-p): New functions and macros.
9509 * emacs-lisp/edebug.el (edebug-unwrap):
9510 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
9511 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
9512 (pcase--let*): Remove.
9513 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
9514 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
9515 macroexp-const-p instead.
9516 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
9517
9518 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
9519 instead of "cl-" for internal definitions. Use macroexp-const-p.
9520 (cl-old-bc-file-form): Remove var.
9521 (cl-const-exprs-p): Remove fun.
9522 (cl-labels, cl-macrolet): Use backquote.
9523 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
9524 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
9525 (cl-define-setf-expander): Rename from cl-define-setf-method.
9526 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
9527
9528 * international/mule-cmds.el: Don't require CL.
9529 (view-hello-file): Don't use `letf'.
9530
9531 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9532
9533 * tmm.el (tmm-prompt): Use string-prefix-p.
9534 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
9535 (tmm-add-prompt): Use minibuffer-completion-help.
9536 (tmm-delete-map): Remove.
9537
9538 * subr.el (kbd): Make it its own function.
9539
9540 2012-06-07 Stefan Merten <smerten@oekonux.de>
9541
9542 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
9543 Silence compiler warnings. Fix versions.
9544 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
9545 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
9546 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
9547 (rst-package-emacs-version-alist): Correct Emacs version to
9548 represent major merge with upstream.
9549 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
9550
9551 2012-06-06 Glenn Morris <rgm@gnu.org>
9552
9553 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
9554 Only print environment variables if set.
9555
9556 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9557
9558 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
9559 (macroexp--cons): Rename from maybe-cons.
9560 (macroexp--accumulate): Rename from macroexp-accumulate.
9561 (macroexp--all-forms): Rename from macroexpand-all-forms.
9562 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
9563 (macroexp--expand-all): Rename from macroexpand-all-1.
9564
9565 2012-06-06 Sam Steingold <sds@gnu.org>
9566
9567 * calendar/calendar.el (calendar-in-read-only-buffer):
9568 Call `special-mode' to enable the standard read-only keybindings.
9569
9570 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9571
9572 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
9573 with "loading" messages (bug#11635).
9574
9575 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
9576
9577 * files.el (enable-remote-dir-locals): New option.
9578 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
9579
9580 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9581 Ensure, that the temp directory is local.
9582
9583 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
9584 `temporary-file-directory'.
9585
9586 * progmodes/python.el (python-send-region): Ensure, that the
9587 temporary file is created also in the remote case.
9588
9589 2012-06-06 Glenn Morris <rgm@gnu.org>
9590
9591 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
9592 (vc-rcs-update-changelog): Use it.
9593
9594 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
9595
9596 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
9597 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
9598 (vc-sccs-diff): Replace use of the external vcdiff script.
9599
9600 2012-06-05 Glenn Morris <rgm@gnu.org>
9601
9602 * ledit.el: Move to obsolete/.
9603
9604 2012-06-05 Sam Steingold <sds@gnu.org>
9605
9606 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
9607 patch (Bug#11140).
9608
9609 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9610
9611 * emacs-lisp/cust-print.el: Move to obsolete.
9612
9613 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
9614 compiler-macro expansion.
9615
9616 Add native compiler-macro support.
9617 * emacs-lisp/macroexp.el (macroexpand-all-1):
9618 Support compiler-macros directly. Properly follow aliases and apply
9619 the compiler macros more thoroughly.
9620 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
9621 macroexpand now properly follows aliases.
9622 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
9623 (cl-compiler-macroexpand): Use new prop.
9624 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
9625
9626 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
9627
9628 2012-06-05 Martin Rudalics <rudalics@gmx.at>
9629
9630 * window.el (get-lru-window, get-mru-window, get-largest-window):
9631 New argument NOT-SELECTED to avoid picking the selected window.
9632 (window--display-buffer-1, window--display-buffer-2): Replace by
9633 new function window--display-buffer
9634 (display-buffer-same-window, display-buffer-reuse-window)
9635 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9636 Use window--display-buffer.
9637 (display-buffer-use-some-window): Remove temporary dedication
9638 hack by calling get-lru-window and get-largest-window with
9639 NOT-SELECTED argument non-nil. Call window--display-buffer.
9640
9641 2012-06-05 Glenn Morris <rgm@gnu.org>
9642
9643 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
9644 Replace external vcdiff script.
9645
9646 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9647
9648 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
9649
9650 2012-06-04 Chong Yidong <cyd@gnu.org>
9651
9652 * image.el (imagemagick-types-inhibit): Revert last change.
9653 Add INFO and M.
9654 (imagemagick-enabled-types): Remove CIN and EPS*.
9655
9656 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9657
9658 * emacs-lisp/cl-lib.el: Rename from cl.el.
9659 * emacs-lisp/cl.el: New compatibility file.
9660 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
9661 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
9662 to obey the "cl-" prefix.
9663 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
9664
9665 2012-06-03 Glenn Morris <rgm@gnu.org>
9666
9667 * emacs-lisp/authors.el (authors-aliases): Addition.
9668
9669 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
9670 Fix :version.
9671
9672 2012-06-03 Stefan Merten <smerten@oekonux.de>
9673
9674 * textmodes/rst.el: Add comments.
9675 (rst-transition, rst-adornment): New faces.
9676 (rst-adornment-faces-alist): Make default safe to reevaluate.
9677 Fixes
9678 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
9679 Improve customization tags.
9680 (rst-define-level-faces): Clarify meaning.
9681
9682 2012-06-03 Chong Yidong <cyd@gnu.org>
9683
9684 * progmodes/compile.el (compilation-mode-line-fail)
9685 (compilation-mode-line-run, compilation-mode-line-exit):
9686 New faces.
9687 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
9688
9689 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
9690
9691 * progmodes/which-func.el (which-func-update-ediff-windows):
9692 New function. Use it in ediff-select-hook (Bug#11478).
9693
9694 2012-06-03 Chong Yidong <cyd@gnu.org>
9695
9696 * bindings.el: Remove explicit help text from format-mode-line.
9697 It is now supplied by mode-line-default-help-echo.
9698 (mode-line-front-space, mode-line-end-spaces)
9699 (mode-line-misc-info): New variables.
9700 (mode-line-modes, mode-line-position): Move the default value to
9701 the variable definition.
9702 (mode-line-default-help-echo): New defcustom.
9703 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
9704 (mode-line-modified-help-echo): New functions.
9705 (mode-line-mule-info, mode-line-modified): Use them.
9706 (mode-line-eol-desc, propertized-buffer-identification):
9707 Consistency fixes for help text.
9708 (mode-line-coding-system-map): Allow using mouse-3 to invoke
9709 set-buffer-file-coding-system (Bug#289).
9710 (mode-line-mule-info-help-echo): Update help text.
9711
9712 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9713
9714 * simple.el (execute-extended-command): Set real-this-command
9715 (bug#11506).
9716
9717 2012-06-02 Chong Yidong <cyd@gnu.org>
9718
9719 Remove incorrect uses of "modeline" in comments, docstrings, and
9720 function/variable names (Bug#10329).
9721
9722 * cus-edit.el (mode-line):
9723 * dframe.el (dframe-mouse-hscroll):
9724 * emacs-lisp/re-builder.el:
9725 * emacs-lisp/easy-mmode.el (define-minor-mode):
9726 * frame.el (set-frame-name):
9727 * help.el (lookup-minor-mode-from-indicator):
9728 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
9729 * progmodes/cc-cmds.el (c-toggle-auto-newline)
9730 (c-toggle-hungry-state):
9731 * progmodes/antlr-mode.el (antlr-language-alist):
9732 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
9733 * progmodes/vhdl-mode.el (vhdl-mode):
9734 * progmodes/which-func.el (which-func, which-func-cleanup-function):
9735 * term/ns-win.el (ns-face-at-pos):
9736 * term/sup-mouse.el (sup-mouse-report):
9737 * textmodes/flyspell.el (flyspell-mode-line-string):
9738 * textmodes/ispell.el (ispell-highlight-face):
9739 * textmodes/reftex-global.el:
9740 * vc/vc-arch.el (vc-arch-mode-line-string):
9741 * vc/vc-cvs.el (vc-cvs-mode-line-string):
9742 * vc/vc-git.el (vc-git-mode-line-string):
9743 * vc/vc-hooks.el (vc-display-status)
9744 (vc-default-mode-line-string):
9745 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
9746
9747 * ansi-color.el (ansi-color-faces-vector): Change default faces.
9748
9749 * dired.el (dired-sort-set-mode-line): Rename from
9750 dired-sort-set-modeline. All callers changed.
9751
9752 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
9753 eshell-status-in-modeline.
9754
9755 * foldout.el (foldout-mode-line-string): Rename from
9756 foldout-modeline-string. All callers changed.
9757 (foldout-update-mode-line): Rename from foldout-update-modeline.
9758
9759 * subr.el (redraw-modeline): Make into obsolete alias.
9760
9761 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
9762 timeclock-modeline-display. Make old name an alias.
9763 (timeclock-update-mode-line): Likewise. All callers changed.
9764 (timeclock-mode-line-display): No need to check before using
9765 add-hook.
9766 (timeclock-relative, timeclock-day-over-hook)
9767 (timeclock-use-elapsed, timeclock-mode-string)
9768 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
9769
9770 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
9771 crisp-mode-modeline-string.
9772
9773 * play/solitaire.el (solitaire-build-mode-line): Rename from
9774 solitaire-build-modeline. All callers changed.
9775
9776 * play/zone.el (zone-hiding-mode-line): Rename from
9777 zone-hiding-modeline. All callers changed.
9778 (zone): Remove unusued `modeline-hidden-level' property.
9779
9780 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
9781 xscheme-modeline-initialize. All callers changed.
9782
9783 * strokes.el (strokes-lighter): Rename from
9784 strokes-modeline-string.
9785
9786 * textmodes/sgml-mode.el (html-face-tag-alist)
9787 (html-tag-face-alist): Use mode-line face instead of obsolete
9788 alias modeline.
9789
9790 2012-06-02 Stefan Merten <smerten@oekonux.de>
9791
9792 * textmodes/rst.el: Always require `cl'.
9793 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
9794
9795 2012-06-02 Chong Yidong <cyd@gnu.org>
9796
9797 * image.el (imagemagick-enabled-types): Rename from
9798 imagemagick-types-enable. Add many more types.
9799 (imagemagick-types-inhibit): Change default to nil.
9800 (imagemagick-filter-types): Caller changed.
9801
9802 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9803
9804 * emacs-lisp/cl-macs.el: Use backquotes.
9805 (cl-transform-function-property): Use eval-and-compile rather than
9806 abusing `require'.
9807 (defstruct): Use declare-function instead of with-no-warnings.
9808
9809 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
9810 (byte-compile-output-docform): Re-add the print-circle bindings.
9811 (byte-compile-fix-header): Use #$ just because it's shorter.
9812 (byte-compile-output-file-form): Remove defun/defmacro.
9813
9814 2012-06-01 Martin Rudalics <rudalics@gmx.at>
9815
9816 * simple.el (choose-completion): Remove now obsolete binding for
9817 owindow.
9818
9819 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
9820
9821 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
9822 in order to avoid "Stack overflow in regexp matcher".
9823
9824 2012-05-31 Glenn Morris <rgm@gnu.org>
9825
9826 * image.el: For clarity, call imagemagick-register-types at
9827 top-level, rather than relying on a custom :initialize.
9828 (imagemagick-types-enable): New option. (Bug#11557)
9829 (imagemagick-filter-types): New function. (Bug#7406)
9830 (imagemagick-register-types): Use imagemagick-filter-types.
9831 If disabling support, remove elements altogether rather
9832 than using an impossible regexp.
9833 (imagemagick-types-inhibit): Give it the default init function.
9834
9835 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9836
9837 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
9838 Handle arbitrary file name lengths (Bug#11585).
9839
9840 2012-05-31 Martin Rudalics <rudalics@gmx.at>
9841
9842 * desktop.el (desktop-read): Clear previous and next buffers for
9843 all windows and bury *Messages* buffer (bug#11556).
9844
9845 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9846
9847 Add `declare' for `defun'. Align `defmacro's with it.
9848 * emacs-lisp/easy-mmode.el (define-minor-mode)
9849 (define-globalized-minor-mode): Don't autoload the var definitions.
9850 * emacs-lisp/byte-run.el: Use lexical-binding.
9851 (defun-declarations-alist, macro-declarations-alist): New vars.
9852 (defmacro, defun): Use them.
9853 (make-obsolete, define-obsolete-function-alias)
9854 (make-obsolete-variable, define-obsolete-variable-alias):
9855 Use `declare'.
9856 (macro-declaration-function): Mark obsolete.
9857 * emacs-lisp/autoload.el: Use lexical-binding.
9858 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
9859
9860 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9861
9862 * textmodes/ispell.el (ispell-with-no-warnings):
9863 Define as a macro.
9864 (ispell-kill-ispell, ispell-change-dictionary):
9865 Use `called-interactively-p' for Emacs instead of obsolete
9866 `interactive-p'.
9867
9868 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9869
9870 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
9871 (macro-declaration-function): Move var from C code.
9872 (macro-declaration-function): Define function with defalias.
9873 * emacs-lisp/macroexp.el (macroexpand-all-1):
9874 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
9875 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
9876 defun/defmacro any more.
9877 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
9878 Provide fallback for unknown arglist.
9879 (byte-compile-arglist-warn): Change calling convention.
9880 (byte-compile-output-file-form): Move print-vars binding.
9881 (byte-compile-output-docform): Simplify accordingly.
9882 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
9883 (byte-compile-defmacro-declaration): Remove.
9884 (byte-compile-file-form-defmumble): Generalize to defalias.
9885 (byte-compile-output-as-comment): Return byte-positions.
9886 Simplify callers accordingly.
9887 (byte-compile-lambda): Use `assert'.
9888 (byte-compile-defun, byte-compile-defmacro): Remove.
9889 (byte-compile-file-form-defalias):
9890 Use byte-compile-file-form-defmumble.
9891 (byte-compile-defalias-warn): Remove.
9892
9893 2012-05-29 Stefan Merten <smerten@oekonux.de>
9894
9895 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
9896 possible. Fix authors. Improve comments. Improve loading of `cl'.
9897
9898 (rst-mode-abbrev-table): Merge definition.
9899 (rst-mode): Make sure `font-lock-defaults' is buffer local.
9900 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
9901
9902 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
9903
9904 * calendar/icalendar.el
9905 (icalendar-export-region): Export UID properly.
9906
9907 2012-05-29 Leo Liu <sdl.web@gmail.com>
9908 * calendar/icalendar.el (icalendar-import-format):
9909 Add `icalendar-import-format-uid' (Bug#11525).
9910 (icalendar-import-format-uid): New.
9911 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
9912 Export UID.
9913
9914 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9915
9916 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
9917 different alternative patterns.
9918 (pcase-codegen): Be more careful to preserve identity.
9919 (pcase--u1): Don't forget to mark vars as used.
9920
9921 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
9922 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
9923 (byte-compile-from-buffer): ...rather than here.
9924
9925 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
9926 functions from byte-compile-function-environment.
9927
9928 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
9929
9930 * window.el (window-deletable-p): Avoid deleting the root window
9931 of a frame with an active minibuffer.
9932
9933 2012-05-29 Martin Rudalics <rudalics@gmx.at>
9934
9935 * simple.el (choose-completion): Use quit-window (Bug#11567).
9936
9937 2012-05-29 Chong Yidong <cyd@gnu.org>
9938
9939 * whitespace.el (whitespace-cleanup): Fix usage of
9940 whitespace-empty-at-bob-regexp (Bug#11492).
9941
9942 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9943
9944 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
9945 revert (Bug#11488).
9946
9947 2012-05-29 Juri Linkov <juri@jurta.org>
9948
9949 * isearch.el (isearch-mode-map): Bind `M-s _' to
9950 `isearch-toggle-symbol'. Bind `M-s c' to
9951 `isearch-toggle-case-fold'.
9952 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
9953 (isearch-forward): Add `M-s _' to the docstring.
9954 (isearch-forward-symbol, isearch-toggle-case-fold)
9955 (isearch-symbol-regexp): New functions. (Bug#11381)
9956
9957 2012-05-29 Juri Linkov <juri@jurta.org>
9958
9959 * isearch.el (isearch-word): Add docstring. (Bug#11381)
9960 (isearch-occur, isearch-search-and-update): If `isearch-word' is
9961 a function, call it to get the regexp.
9962 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
9963 property `isearch-message-prefix' instead of the string "word ".
9964 (isearch-search-fun-default): For the case of `isearch-word',
9965 return a lambda that calls re-search-forward/re-search-backward
9966 with a regexp returned by `word-search-regexp' or by the function
9967 in `isearch-word'.
9968
9969 2012-05-29 Juri Linkov <juri@jurta.org>
9970
9971 * isearch.el (isearch-search-fun-default): New function.
9972 (isearch-search-fun): Move default part to the new function
9973 `isearch-search-fun-default'.
9974 (isearch-search-fun-function): Set the default value to
9975 `isearch-search-fun-default'. (Bug#11381)
9976
9977 * comint.el (comint-history-isearch-end):
9978 Use `isearch-search-fun-default'.
9979 (comint-history-isearch-search): Use `isearch-search-fun-default'
9980 and remove spacial case for `isearch-word'.
9981 (comint-history-isearch-wrap): Remove spacial case for
9982 `isearch-word'.
9983
9984 * hexl.el (hexl-isearch-search-function):
9985 Use `isearch-search-fun-default'.
9986
9987 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
9988 Use `word-search-regexp' for `isearch-word'.
9989
9990 * misearch.el (multi-isearch-search-fun):
9991 Use `isearch-search-fun-default'.
9992
9993 * simple.el (minibuffer-history-isearch-search):
9994 Use `isearch-search-fun-default' and remove spacial case for
9995 `isearch-word'.
9996 (minibuffer-history-isearch-wrap): Remove spacial case for
9997 `isearch-word'.
9998
9999 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10000 Remove spacial case for `isearch-word'.
10001 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10002
10003 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10004
10005 Decrease XEmacs incompatibilities.
10006 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10007 Use `string-match'.
10008 (flyspell-delete-region-overlays): Use alternative definition for
10009 XEmacs.
10010 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10011 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10012 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10013 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10014 `define-obsolete-face-alias' under XEmacs, but old method.
10015
10016 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10017 `with-no-warnings' definition or Emacs alias.
10018 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10019 (ispell-word): Do not use `region-p' if XEmacs.
10020
10021 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10022
10023 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10024 Check for `ispell-dictionary-base-alist' instead of full
10025 `ispell-dictionary-alist'.
10026 (ispell-init-process): Show spellchecker when starting new Ispell
10027 process.
10028
10029 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10030
10031 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10032 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10033
10034 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
10035
10036 * version.el (motif-version-string, gtk-version-string)
10037 (ns-version-string): Declare.
10038
10039 2012-05-27 Juri Linkov <juri@jurta.org>
10040
10041 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10042 after the `eval-defun-1' specialcaseing
10043 like in `edebug-eval-defun' (bug#10181).
10044
10045 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10046 like in `eval-defun-1'.
10047
10048 2012-05-27 Eli Zaretskii <eliz@gnu.org>
10049
10050 * mail/sendmail.el (mail-yank-region):
10051 Recognize rmail-yank-current-message in addition to insert-buffer.
10052 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
10053 a *mail* buffer created through rmail-start-mail with sendmail as
10054 mail-user-agent.
10055
10056 2012-05-27 Chong Yidong <cyd@gnu.org>
10057
10058 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10059 Default to 256 (Bug#11267).
10060
10061 * help.el (describe-mode): Doc fix.
10062
10063 2012-05-26 Glenn Morris <rgm@gnu.org>
10064
10065 * w32-fns.el (w32-init-info): Remove.
10066 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10067
10068 * info.el (info-initialize): For self-contained NS builds, put the
10069 included info/ directory at the front. (Bug#2791)
10070
10071 * paths.el (Info-default-directory-list): Make it a defcustom,
10072 mainly so that we can use custom-initialize-delay.
10073
10074 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10075
10076 * subr.el (buffer-has-markers-at): Mark obsolete.
10077
10078 * subr.el (lambda): Use declare.
10079
10080 * emacs-lisp/lisp-mode.el (lambda):
10081 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10082
10083 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10084
10085 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10086
10087 2012-05-26 Glenn Morris <rgm@gnu.org>
10088
10089 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10090
10091 2012-05-25 Glenn Morris <rgm@gnu.org>
10092
10093 * paths.el: Remove no-byte-compile.
10094 * loadup.el: No need to load paths.el uncompiled.
10095
10096 * image.el (imagemagick-types-inhibit): Doc fix.
10097
10098 * version.el: Remove no-byte-compile and associated formatting.
10099 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10100 is ancient code from when there was an "inc-vers.el".
10101
10102 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10103
10104 * progmodes/gdb-mi.el: Minor style changes.
10105 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10106 Turn into minor modes.
10107 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10108 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10109 (gdb-shell): Remove unneeded let-binding.
10110 (gdb-get-many-fields): Eliminate O(n²) behavior.
10111
10112 2012-05-25 Eli Zaretskii <eliz@gnu.org>
10113
10114 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
10115 platforms that don't link in fontset.c.
10116
10117 2012-05-25 Juri Linkov <juri@jurta.org>
10118
10119 Use the same diff color scheme as in modern VCSes (bug#10181).
10120
10121 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
10122 to avoid confusion with `diff-added' that now uses green colors.
10123 (diff-removed): Use shades of red.
10124 (diff-added): Use shades of green.
10125 (diff-changed): Leave just the yellow color.
10126 (diff-use-changed-face): New variable.
10127 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
10128 how to highlight context diff changes.
10129 (diff-refine-change): Use shades of yellow.
10130 (diff-refine-removed): New face that uses shades of red.
10131 (diff-refine-added): New face that uses shades of green.
10132 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10133 `diff-refine-removed' in the call to `smerge-refine-subst'
10134 depending on the value of `diff-use-changed-face'.
10135
10136 * vc/smerge-mode.el (smerge-mine): Use shades of red.
10137 (smerge-other): Use shades of green.
10138 (smerge-base): Use shades of yellow.
10139 (smerge-refined-change): Empty face.
10140 (smerge-refined-removed): New face that uses shades of red.
10141 (smerge-refined-added): New face that uses shades of green.
10142 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
10143 args `props-r' and `props-a', and use them. Doc fix.
10144 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10145 on its value use different faces `smerge-refined-change',
10146 `smerge-refined-removed', `smerge-refined-added' in the call to
10147 `smerge-refine-subst'.
10148
10149 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10150 Add face condition `min-colors 88' with shades of red.
10151 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10152 `min-colors 88' with shades of green.
10153 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10154 `min-colors 88' with shades of yellow.
10155
10156 2012-05-24 Glenn Morris <rgm@gnu.org>
10157
10158 * paths.el (prune-directory-list, remote-shell-program): Move to...
10159 * files.el (prune-directory-list, remote-shell-program): ...here.
10160 For the latter, delay initialization, prefer ssh, just search PATH.
10161
10162 * paths.el (term-file-prefix): Move to faces.el (the only user).
10163 * faces.el (term-file-prefix): Move here, make it a defcustom.
10164
10165 * paths.el (news-directory, news-path, news-inews-program):
10166 Move to gnus/nnspool.el.
10167
10168 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10169
10170 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10171 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10172 Make the latter a defcustom, with a delayed initialization.
10173
10174 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10175 These were deleted from Gnus itself late 2010.
10176
10177 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
10178
10179 * progmodes/which-func.el (which-func-ff-hook):
10180 Check against user-error, not error.
10181
10182 * emacs-lisp/edebug.el (top): Do not load or set up loading of
10183 cl-specs.el, which no longer exists.
10184
10185 2012-05-22 Glenn Morris <rgm@gnu.org>
10186
10187 * info.el (info-emacs-bug): New command.
10188 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10189 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10190
10191 2012-05-21 Glenn Morris <rgm@gnu.org>
10192
10193 * makefile.w32-in (update-subdirs-SH):
10194 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10195
10196 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10197
10198 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10199
10200 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10201 Simplify Maven regexp, and make sure the file can't start with a space
10202 (bug#11517).
10203
10204 2012-05-21 Glenn Morris <rgm@gnu.org>
10205
10206 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10207 Scrap superfluous subshells.
10208
10209 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10210
10211 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10212 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10213
10214 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10215
10216 * calc/calc.el (calc-ensure-consistent-units): New variable.
10217
10218 * calc/calc-units.el (math-consistent-units-p)
10219 (math-check-unit-consistency): New functions.
10220 (calc-quick-units, calc-convert-units):
10221 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10222 is non-nil.
10223 (calc-extract-units): Fix typo.
10224
10225 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10226
10227 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10228
10229 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10230 (flyspell-default-deplacement-commands): Don't spell check after
10231 repeated window/frame switches (e.g. triggered by mouse-movement).
10232 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10233 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10234 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10235 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10236 Remove unused vars.
10237 (flyspell-get-casechars, flyspell-get-not-casechars):
10238 Simplify; Don't bother removing a ] just to add it back.
10239 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10240
10241 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10242
10243 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10244 New functions.
10245 (math-function-table): Add support for more C functions.
10246
10247 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10248
10249 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10250 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10251 Protect delay handling for otherchars against empty otherchars.
10252
10253 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10254
10255 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10256 their respective macro declarations.
10257 * skeleton.el (define-skeleton):
10258 * progmodes/compile.el (define-compilation-mode):
10259 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10260 (define-ibuffer-filter):
10261 * emacs-lisp/generic.el (define-generic-mode):
10262 * emacs-lisp/easy-mmode.el (define-minor-mode)
10263 (define-globalized-minor-mode):
10264 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10265 * emacs-lisp/byte-run.el (defsubst):
10266 * custom.el (deftheme): Add doc-string metadata.
10267
10268 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10269
10270 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10271
10272 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10273
10274 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10275
10276 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10277 * emacs-lisp/cl-macs.el: Idem.
10278 * emacs-lisp/cl-specs.el: Remove.
10279
10280 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10281
10282 Minor renaming of internal CL functions and variables.
10283 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10284 (cl--position): Rename from cl-position.
10285 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10286 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10287 (cl--random-state): Rename from *random-state*.
10288
10289 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10290
10291 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10292 parens around the arg list (bug#11499).
10293
10294 2012-05-17 Juri Linkov <juri@jurta.org>
10295
10296 * isearch.el (word-search-regexp, word-search-backward)
10297 (word-search-forward, word-search-backward-lax)
10298 (word-search-forward-lax): Move functions from search.c
10299 (bug#10145, bug#11381).
10300
10301 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10302
10303 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10304 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10305 Delay for otherchars as for normal word components.
10306
10307 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10308
10309 * minibuffer.el (completion--sifn-requote): Fix last change.
10310 (minibuffer-local-must-match-filename-map):
10311 Move define-obsolete-variable-alias before its var.
10312
10313 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10314
10315 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10316
10317 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10318 behavior.
10319 (completion--string-equal-p): New function.
10320 (completion--twq-all): Use it to get better assertion failure data.
10321
10322 Only handle ".." and '..' quoting in shell-mode (bug#11466).
10323 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10324 (shell--requote-argument): New functions.
10325 (shell-completion-vars): Use them.
10326 (shell--parse-pcomplete-arguments): Rename from
10327 shell-parse-pcomplete-arguments.
10328 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
10329 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10330 Obey comint-file-name-quote-list.
10331
10332 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10333 (smie-indent-keyword): Use it.
10334
10335 2012-05-14 Stefan Merten <smerten@oekonux.de>
10336
10337 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10338
10339 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10340
10341 * net/rlogin.el (rlogin-mode-map): Fix last change.
10342
10343 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
10344
10345 * mail/smtpmail.el (smtpmail-send-command): Send the command and
10346 the following \r\n using a single `process-send-string', since the
10347 Lotus SMTP server refuses to accept any commands if they are sent
10348 with two `process-send-string's (Bug#11444).
10349
10350 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10351
10352 * shell.el (shell-parse-pcomplete-arguments):
10353 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
10354
10355 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10356
10357 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
10358 (image-transform-scale, image-transform-right-angle-fudge): New vars.
10359 (image-transform-width, image-transform-fit-width): New functions.
10360 (image-transform-properties): Use them.
10361 (image-transform-check-size): New function.
10362 (image-toggle-display-image): Use it (for testing).
10363 (image-transform-set-rotation): Reduce angle mod 360.
10364 Delete obsolete comment.
10365
10366 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10367
10368 * image-mode.el: Fix scaling (bug#11399).
10369 (image-transform-resize): Doc fix.
10370 (image-transform-properties): Default scale is 1 and height should
10371 be an integer.
10372
10373 2012-05-13 Johan Bockgård <bojohan@gnu.org>
10374
10375 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
10376 than hard-coding `car', to fix misbehavior when moving forward.
10377
10378 2012-05-13 Chong Yidong <cyd@gnu.org>
10379
10380 * emacs-lisp/tabulated-list.el (tabulated-list-format)
10381 (tabulated-list-entries, tabulated-list-padding)
10382 (tabulated-list-sort-key): Make permanent-local.
10383
10384 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
10385 (electric-buffer-list): Put electric buffer menu
10386 command descriptions in this docstring, instead of the docstring
10387 of electric-buffer-menu-mode. Code cleanups.
10388 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
10389 Electric-buffer-menu-mode.
10390 (electric-buffer-update-highlight): Minor code cleanup.
10391
10392 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
10393
10394 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
10395 (Bug#11447)
10396
10397 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10398
10399 Move define-obsolete-variable-alias before the var's definition.
10400 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
10401 * tooltip.el (tooltip-hook):
10402 * textmodes/reftex-toc.el (reftex-toc-map):
10403 * textmodes/reftex-sel.el (reftex-select-label-map)
10404 (reftex-select-bib-map):
10405 * textmodes/reftex-index.el (reftex-index-map)
10406 (reftex-index-phrases-map):
10407 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
10408 * progmodes/meta-mode.el (meta-mode-map):
10409 * novice.el (disabled-command-hook):
10410 * loadhist.el (unload-hook-features-list):
10411 * frame.el (blink-cursor):
10412 * files.el (find-file-not-found-hooks, write-file-hooks)
10413 (write-contents-hooks):
10414 * emulation/tpu-edt.el (GOLD-map):
10415 * emacs-lock.el (emacs-lock-from-exiting):
10416 * emacs-lisp/generic.el (generic-font-lock-defaults):
10417 * emacs-lisp/chart.el (chart-map):
10418 * dos-fns.el (register-name-alist):
10419 * dired-x.el (dired-omit-files-p):
10420 * desktop.el (desktop-enable):
10421 * cus-edit.el (custom-mode-hook):
10422 * buff-menu.el (buffer-menu-mode-hook):
10423 * bookmark.el (bookmark-read-annotation-text-func)
10424 (bookmark-exit-hooks):
10425 * allout.el (allout-mode-deactivate-hook)
10426 (allout-exposure-change-hook, allout-structure-added-hook)
10427 (allout-structure-deleted-hook, allout-structure-shifted-hook):
10428 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
10429 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
10430 comes before the corresponding variable's definition.
10431
10432 2012-05-12 Chong Yidong <cyd@gnu.org>
10433
10434 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
10435 (Buffer-menu-mouse-select): Restore function (Bug#11459).
10436 (Buffer-menu-mode-map): Bind it.
10437 (Buffer-menu--pretty-name): Add a mouse-face property.
10438
10439 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10440
10441 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
10442 (prolog-upper-case-string, prolog-lower-case-string)
10443 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
10444 (prolog-use-smie, prolog-smie-grammar): New vars.
10445 (prolog-smie-forward-token, prolog-smie-backward-token)
10446 (prolog-smie-rules): New funs.
10447 (prolog-comment-indent): Remove.
10448 (prolog-mode-variables): Use default comment indentation instead.
10449 Setup SMIE.
10450 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
10451 (prolog-mode): Don't call them any more.
10452 (prolog-electric-colon, prolog-electric-dash)
10453 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
10454
10455 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
10456
10457 * minibuffer.el (completion--twq-all): Again, allow case differences.
10458
10459 * term.el: Move keymap initialization code to be more idiomatic.
10460 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
10461 (term-terminal-menu): Move initialization into declaration.
10462 (term-escape-char): Let the user set it in her .emacs.
10463
10464 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
10465 Provide SMIE-based indentation (not enabled by default yet).
10466 (sh-mode-map): Don't bind electric keys.
10467 Use electric-pair-mode instead of skeleton-pair.
10468 (sh-assignment-regexp): Fit within 80 columns.
10469 (sh-indent-supported): Specify actual shell name instead of boolean.
10470 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
10471 (sh-maybe-here-document): Use it. Make obsolete.
10472 (sh-electric-here-document-mode) New minor mode.
10473 (sh-mode): Use it. Don't set sh-indent-supported-here here.
10474 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
10475 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
10476 (sh-smie-rc-grammar, sh-use-smie): New vars.
10477 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
10478 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
10479 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
10480 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
10481 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
10482 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
10483 (sh-set-shell): Use smie-setup if requested.
10484
10485 * term.el (term-set-escape-char): Properly set term-escape-char.
10486 See http://stackoverflow.com/questions/10524656.
10487
10488 2012-05-10 Chong Yidong <cyd@gnu.org>
10489
10490 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
10491 Use url-generic-parse-url, and handle host names and Windows
10492 filenames properly.
10493 (ffap-url-unwrap-remote): Use url-generic-parse-url.
10494 (ffap-url-unwrap-remote): Accept list values, specifying a list of
10495 URL schemes to work on.
10496 (ffap--toggle-read-only): New function.
10497 (ffap-read-only, ffap-read-only-other-window)
10498 (ffap-read-only-other-frame): Use it.
10499 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
10500 necessary for ffap-url-unwrap-remote.
10501
10502 2012-05-10 Dave Abrahams <dave@boostpro.com>
10503
10504 * cus-start.el (create-lockfiles): Add it.
10505
10506 2012-05-09 Chong Yidong <cyd@gnu.org>
10507
10508 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
10509 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
10510
10511 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10512
10513 * shell.el (shell-completion-vars): Fix last change (bug#11348).
10514
10515 2012-05-09 Chong Yidong <cyd@gnu.org>
10516
10517 * ansi-color.el (ansi-color-process-output): Check for validity of
10518 comint-last-output-start before using it. This avoids a bad
10519 interaction with gdb-mi's input/output buffer.
10520
10521 2012-05-09 Glenn Morris <rgm@gnu.org>
10522
10523 * files.el (dir-locals-read-from-file):
10524 Mention dir-locals in any error message.
10525
10526 2012-05-09 Chong Yidong <cyd@gnu.org>
10527
10528 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
10529 package (Bug#11410).
10530
10531 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
10532 variables into description.
10533
10534 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10535
10536 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
10537 shell-delimiter-argument-list (bug#11348).
10538 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
10539
10540 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
10541
10542 * textmodes/rst.el: Silence byte-compiler warnings.
10543 (rst-re-alist, rst-reset-section-caches): Move around.
10544 (rst-re): Use `characterp', not `char-valid-p'.
10545 (font-lock-beg, font-lock-end): Declare.
10546
10547 * progmodes/idlw-shell.el (specs): Remove reference to deleted
10548 variable `idlwave-shell-activate-alt-keybindings' and simplify.
10549
10550 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
10551
10552 2012-05-08 Glenn Morris <rgm@gnu.org>
10553
10554 * files.el (auto-mode-alist): Treat ".make" like ".mk".
10555
10556 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10557
10558 * vc/log-edit.el: Add GNU coding standards highlighting.
10559 (log-edit-font-lock-gnu-style)
10560 (log-edit-font-lock-gnu-keywords): New vars.
10561 (log-edit-font-lock-keywords): New fun.
10562 (log-edit-mode): Don't fold case in font-lock.
10563 (log-edit-font-lock-keywords): Do not assume case-folding.
10564
10565 * imenu.el: Misc cleanup. Make docstrings out of comments.
10566 Use lexical-binding.
10567 (imenu--index-alist, imenu--last-menubar-index-alist)
10568 (imenu-menubar-modified-tick): Use defvar-local.
10569 (imenu--split-menu): Remove unused var.
10570 (imenu--cleanup-seen): Declare as global.
10571 (imenu--cleanup): Use dolist.
10572
10573 * subr.el (defvar-local): Add debug spec and doc-string position.
10574
10575 2012-05-08 Glenn Morris <rgm@gnu.org>
10576
10577 * language/burmese.el, language/cham.el, language/czech.el:
10578 * language/english.el, language/georgian.el, language/greek.el:
10579 * language/japanese.el, language/khmer.el, language/korean.el:
10580 * language/lao.el, language/misc-lang.el, language/romanian.el:
10581 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
10582 * language/thai.el, language/utf-8-lang.el:
10583 Remove no-byte-compile setting.
10584
10585 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
10586
10587 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10588
10589 * progmodes/make-mode.el (makefile-browse):
10590 Remove unnecessary interactive. (Bug#11324)
10591
10592 2012-05-07 Glenn Morris <rgm@gnu.org>
10593
10594 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
10595
10596 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
10597
10598 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10599
10600 * loadup.el: Preload newcomment.el.
10601 * newcomment.el: Move autoload-only code to toplevel.
10602
10603 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
10604 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10605 Handle new :right-align column property.
10606 (tabulated-list-print-col): Idem, plus use `display' text-property to
10607 try and preserve alignment for variable pitch fonts.
10608
10609 2012-05-07 Chong Yidong <cyd@gnu.org>
10610
10611 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
10612 (tabulated-list-use-header-line): New var.
10613 (tabulated-list-init-header): Use it.
10614 (tabulated-list-print-fake-header): New function.
10615 (tabulated-list-print): Use it.
10616 (tabulated-list-sort-button-map): Add non-header-line commands.
10617 (tabulated-list-init-header): Add column name property to basic
10618 labels as well.
10619 (tabulated-list-col-sort): Handle non-header-line button case.
10620 (tabulated-list--sort-by-column-name): Fix a corner case.
10621
10622 * buff-menu.el (list-buffers--refresh):
10623 Handle Buffer-menu-use-header-line.
10624
10625 2012-05-06 Chong Yidong <cyd@gnu.org>
10626
10627 * buff-menu.el: Convert to Tabulated List mode.
10628 (Buffer-menu-buffer+size-width): Make obsolete.
10629 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
10630 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
10631 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
10632 documentation into docstring of buffer-menu.
10633 (Buffer-menu-toggle-files-only): Add an informative message.
10634 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
10635 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
10636 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
10637 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
10638 (Buffer-menu-execute, Buffer-menu-select)
10639 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
10640 (Buffer-menu-bury): Use Tabulated List machinery.
10641 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
10642 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
10643 Delete.
10644 (list-buffers--refresh): New function.
10645 (list-buffers-noselect): Use it.
10646 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
10647 (Buffer-menu--pretty-file-name): New helper functions.
10648
10649 * loadup.el: Preload tabulated-list.
10650
10651 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
10652 tabulated-list-sort-column.
10653 (tabulated-list-init-header): Add the initial aligning space even
10654 if tabulated-list-padding is zero.
10655
10656 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
10657
10658 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
10659 whose cdr is not a cons cell correctly (bug#11038).
10660
10661 2012-05-06 Chong Yidong <cyd@gnu.org>
10662
10663 * emacs-lisp/tabulated-list.el (tabulated-list-format):
10664 Accept additional plist in column descriptors.
10665 (tabulated-list-init-header): Obey it.
10666 (tabulated-list-get-entry): New function.
10667 (tabulated-list-put-tag): Use it. Use string-width instead of
10668 length.
10669 (tabulated-list--column-number): New function.
10670 (tabulated-list-print): Use it.
10671 (tabulated-list-print-col): New function.
10672 Set `tabulated-list-column-name' property on each column's text.
10673 (tabulated-list-print-entry): Use it.
10674 (tabulated-list-delete-entry, tabulated-list-set-col):
10675 New functions.
10676 (tabulated-list-sort-column): New command (Bug#11337).
10677
10678 * buff-menu.el (list-buffers): Move C-x C-b binding from
10679 buff-menu.el to bindings.el.
10680
10681 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
10682 :advertised-binding feature.
10683
10684 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
10685
10686 * progmodes/compile.el (compilation-internal-error-properties):
10687 Calculate start position correctly when end-col is set but
10688 end-line is not (Bug#11382).
10689
10690 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
10691
10692 * man.el (Man-unindent): Use text-property-default-nonsticky to
10693 prevent untabify from inheriting face properties (Bug#11408).
10694
10695 2012-05-05 Stefan Merten <smerten@oekonux.de>
10696
10697 * textmodes/rst.el: Major merge with upstream development up to
10698 Docutils SVN r7399 / rst.el V1.2.1.
10699
10700 Clarify maintainership and authors.
10701
10702 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
10703 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
10704 (rst-official-version, rst-official-cvs-rev, rst-version)
10705 (rst-package-emacs-version-alist): New functions and variables
10706 for version information.
10707
10708 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
10709 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
10710 (rst-mode-syntax-table, rst-mode): New and corrected functions
10711 and variables representing reStructuredText features.
10712
10713 (rst-re): New function for reStructuredText regexes. Use in
10714 many places.
10715
10716 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
10717 (rst-mode-map): Rebind keys.
10718
10719 (rst-mode-lazy, rst-font-lock-keywords)
10720 (rst-font-lock-extend-region)
10721 (rst-font-lock-extend-region-internal)
10722 (rst-font-lock-extend-region-extend)
10723 (rst-font-lock-find-unindented-line-limit)
10724 (rst-font-lock-find-unindented-line-match)
10725 (rst-adornment-level, rst-font-lock-adornment-level)
10726 (rst-font-lock-adornment-match)
10727 (rst-font-lock-handle-adornment-pre-match-form)
10728 (rst-font-lock-handle-adornment-matcher): Major revision of
10729 font-locking. Integrate with other code. Use `jit-lock-mode'.
10730
10731 (rst-preferred-adornments, rst-adjust-hook)
10732 (rst-new-adornment-down, rst-preferred-bullets)
10733 (rst-preferred-bullets, rst-indent, rst-indent-width)
10734 (rst-indent-field, rst-indent-literal-normal)
10735 (rst-indent-literal-minimized, rst-indent-comment): Change,
10736 extend and improve customization.
10737
10738 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
10739 (rst-normalize-cursor-position, rst-get-decoration)
10740 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
10741 (rst-rstrip, rst-toc-insert-find-delete-contents)
10742 (rst-shift-fill-region, rst-compute-bullet-tabs)
10743 (rst-debug-print-tabs, rst-debug-mark-found)
10744 (rst-shift-region-guts, rst-shift-region-right)
10745 (rst-shift-region-left, rst-use-char-classes)
10746 (rst-font-lock-keywords-function)
10747 (rst-font-lock-indentation-point)
10748 (rst-font-lock-find-unindented-line-begin)
10749 (rst-font-lock-find-unindented-line-end)
10750 (rst-font-lock-find-unindented-line)
10751 (rst-font-lock-adornment-point, rst-font-lock-level)
10752 (rst-adornment-level-alist): Remove functions and variables.
10753
10754 (rst-compare-adornments, rst-get-adornment-match)
10755 (rst-suggest-new-adornment, rst-get-adornments-around)
10756 (rst-adornment-complete-p, rst-get-next-adornment)
10757 (rst-adjust-adornment, rst-display-adornments-hierarchy)
10758 (rst-straighten-adornments): Standardize function names to
10759 use "adornment" instead of "decoration". Correct callers.
10760 Similar standardizing in many places.
10761
10762 (rst-update-section, rst-adjust, rst-promote-region)
10763 (rst-enumerate-region, rst-bullet-list-region)
10764 (rst-repeat-last-character): Correct use of `interactive'.
10765
10766 (rst-classify-adornment, rst-find-all-adornments)
10767 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
10768 (rst-find-leftmost-column, rst-repeat-last-character):
10769 Refactor functions.
10770
10771 (rst-find-title-line, rst-reset-section-caches)
10772 (rst-get-adornments-around, rst-adjust-adornment-work)
10773 (rst-arabic-to-roman, rst-roman-to-arabic)
10774 (rst-insert-list-pos, rst-insert-list-new-item)
10775 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
10776 New functions.
10777
10778 (rst-all-sections, rst-section-hierarchy)
10779 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
10780 New variables.
10781
10782 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
10783 configuration instead of only buffer. Change where necessary.
10784
10785 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
10786 (rst-shift-region, rst-adaptive-fill): New functions for
10787 indentation and filling.
10788
10789 (rst-comment-line-break, rst-comment-indent)
10790 (rst-comment-insert-comment, rst-comment-region)
10791 (rst-uncomment-region): New functions for handling comments.
10792
10793 (rst-compile): Quote shell arguments.
10794
10795 (rst-compile-pdf-preview, rst-compile-slides-preview):
10796 Delete temporary files after use.
10797
10798 2012-05-05 Glenn Morris <rgm@gnu.org>
10799
10800 * calendar/cal-html.el: Optionally include holidays in the output.
10801 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
10802 (cal-html-holidays): New option.
10803 (cal-html-css-default): Add holiday entry.
10804 (holiday-in-range): Autoload it.
10805 (cal-html-htmlify-entry): Add optional class argument.
10806 (cal-html-htmlify-list): Add optional holidays argument.
10807 (cal-html-insert-agenda-days): Include holidays in the output.
10808 (cal-html-one-month): Maybe include holidays.
10809
10810 * calendar/holidays.el (holiday-in-range):
10811 Move here from cal-tex-list-holidays.
10812 * calendar/cal-tex.el (cal-tex-list-holidays):
10813 Make it an obsolete alias for holiday-in-range. Update all callers.
10814
10815 2012-05-05 Chong Yidong <cyd@gnu.org>
10816
10817 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
10818 Nextstep.
10819
10820 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
10821
10822 * files.el (file-auto-mode-skip): New var.
10823 (set-auto-mode-1): Use it.
10824
10825 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10826
10827 * repeat.el: Use lexical-binding.
10828 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
10829 (repeat-undo-count): Remove.
10830 (repeat):
10831 * progmodes/octave-mod.el (octave-abbrev-start):
10832 * progmodes/f90.el (f90-abbrev-start):
10833 * face-remap.el (text-scale-adjust):
10834 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
10835
10836 * emacs-lisp/pcase.el (pcase--let*): New function.
10837 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
10838 a bit more.
10839 (pcase--split-pred): Be more clever about ruling out overlap between
10840 a predicate and some constant pattern.
10841 (pcase--q1): Use `null' instead of (eq foo nil).
10842
10843 * subr.el (setq-local, defvar-local): New macros.
10844 (kbd): Redefine as an alias.
10845 (with-selected-window): Leave unrelated frames alone.
10846 (set-temporary-overlay-map): New function.
10847
10848 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10849
10850 * subr.el (user-error): New function.
10851 * window.el (switch-to-buffer):
10852 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
10853 (smerge-match-conflict):
10854 * simple.el (previous-matching-history-element)
10855 (next-matching-history-element, goto-history-element, undo-more)
10856 (undo-start):
10857 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
10858 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
10859 (next-file, tags-loop-scan, list-tags, complete-tag):
10860 * progmodes/compile.el (compilation-loop):
10861 * mouse.el (mouse-minibuffer-check):
10862 * man.el (Man-bgproc-sentinel, Man-goto-page):
10863 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
10864 (Info-history-forward, Info-follow-reference, Info-menu)
10865 (Info-extract-menu-item, Info-extract-menu-counting)
10866 (Info-forward-node, Info-backward-node, Info-next-menu-item)
10867 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
10868 (Info-next-reference, Info-prev-reference, Info-index)
10869 (Info-index-next, Info-follow-nearest-node)
10870 (Info-copy-current-node-name):
10871 * imenu.el (imenu--make-index-alist)
10872 (imenu-default-create-index-function, imenu-add-to-menubar):
10873 * files.el (basic-save-buffer, recover-file):
10874 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10875 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
10876 (checkdoc-message-text, checkdoc-defun):
10877 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
10878 * cus-edit.el (customize-changed-options, customize-rogue)
10879 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
10880 (custom-variable-mark-to-reset-standard)
10881 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
10882 (custom-file):
10883 * completion.el (check-completion-length):
10884 * comint.el (comint-search-arg)
10885 (comint-previous-matching-input-string-position)
10886 (comint-previous-matching-input)
10887 (comint-replace-by-expanded-history-before-point, comint-send-input)
10888 (comint-copy-old-input, comint-backward-matching-input)
10889 (comint-goto-process-mark, comint-set-process-mark):
10890 * calendar/calendar.el (calendar-cursor-to-date): Use it.
10891 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
10892
10893 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10894
10895 * dabbrev.el (dabbrev--ignore-case-p): New function.
10896 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
10897 Use it.
10898
10899 * files.el (automount-dir-prefix): Mark as obsolete.
10900
10901 2012-05-04 Glenn Morris <rgm@gnu.org>
10902
10903 * patcomp.el, play/bruce.el: Move to obsolete/.
10904
10905 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
10906
10907 Fix minor Y10k bugs.
10908 * arc-mode.el (archive-unixdate):
10909 * autoinsert.el (auto-insert-alist):
10910 * calc/calc-forms.el (math-this-year):
10911 * emacs-lisp/copyright.el (copyright-current-year)
10912 (copyright-update-year, copyright):
10913 * tar-mode.el (tar-clip-time-string):
10914 * time.el (display-time-update):
10915 Don't assume years have 4 digits.
10916
10917 2012-05-04 Chong Yidong <cyd@gnu.org>
10918
10919 * dos-w32.el (file-name-buffer-file-type-alist)
10920 (direct-print-region-use-command-dot-com):
10921 * ffap.el (ffap-menu-regexp):
10922 * find-file.el (ff-special-constructs):
10923 * follow.el (follow-debug):
10924 * forms.el (forms--debug):
10925 * iswitchb.el (iswitchb-all-frames):
10926 * ido.el (ido-all-frames):
10927 * emacs-lisp/timer.el (timer-max-repeats):
10928 * mail/feedmail.el (feedmail-mail-send-hook)
10929 (feedmail-mail-send-hook-queued):
10930 * mail/footnote.el (footnote-signature-separator):
10931 * mail/mailabbrev.el (mail-alias-separator-string)
10932 (mail-abbrev-mode-regexp):
10933 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
10934 * progmodes/idlwave.el (idlwave-libinfo-file)
10935 (idlwave-default-completion-case-is-down)
10936 (idlwave-library-routines): Convert defvars to defcustoms.
10937
10938 * mail/rmail.el (rmail-decode-mime-charset):
10939 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
10940 (idlwave-shell-fix-inserted-breaks)
10941 (idlwave-shell-activate-alt-keybindings)
10942 (idlwave-shell-use-breakpoint-glyph):
10943 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
10944
10945 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10946
10947 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
10948
10949 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
10950
10951 * progmodes/verilog-mode.el (font-lock-keywords):
10952 Fix mis-highligting auto. Reported by Craig Barner.
10953 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
10954 defines from global name space. Reported by Dan Dever.
10955 (verilog-auto-reset, verilog-auto-reset-widths)
10956 (verilog-auto-tieoff): Support using unbased numbers for
10957 AUTORESET and AUTOTIEOFF.
10958 (verilog-submit-bug-report): Update variable list.
10959 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
10960 parenthesis from not matching. Reported by Michael Rytting.
10961 (verilog-auto-template-lint): Fix hash error when linting modules
10962 with no used templates.
10963 (verilog-warn, verilog-warn-error)
10964 (verilog-warn-fatal): When non-interactive report multiple
10965 warnings before exiting. Suggested by Brad Dobbie.
10966 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
10967 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
10968 to report unused template errors. Reported by Brad Dobbie.
10969 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
10970 nets, bug438. Reported by Vns Blore.
10971 (verilog-auto-inout-module, verilog-auto-reg)
10972 (verilog-read-decls, verilog-read-sub-decls-sig)
10973 (verilog-signals-edit-wire-reg, verilog-signals-with):
10974 Fix passing of Verilog data types in ANSI input/output ports
10975 such as "output logic" into the AUTOs. Special case "wire" and
10976 "reg" for backwards compatibility presuming Verilog 2001.
10977 (verilog-auto-ascii-enum): Add "auto enum" as alias.
10978 (verilog-preprocess): Fix replication of preprocess output.
10979 Reported by Brad Dobbie.
10980 (verilog-auto-inst-interfaced-ports):
10981 Create verilog-auto-inst-interfaced-ports, bug429.
10982 Reported by Julian Gorfajn.
10983 (verilog-after-save-font-hook)
10984 (verilog-before-save-font-hook): New variable.
10985 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
10986 (verilog-save-font-mods): Wrap disabling fontification, reported
10987 by David Rogoff.
10988 (verilog-do-indent, verilog-pretty-declarations-auto)
10989 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
10990 Reported by Pierre-David Pfister.
10991 (verilog-set-auto-endcomments): Fix endtask auto comments outside
10992 of class declarations, bug292. Reported by Kevin Heilman.
10993 (verilog-read-decls): Fix 'parameter type' not appearing in
10994 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
10995 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
10996 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
10997 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
10998 Reported by David Kravitz.
10999
11000 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
11001
11002 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11003 assignment with tests in ifs and for loops.
11004 (verilog-extended-complete-re, verilog-complete-reg): Change so
11005 that DPI inport functions don't look like fuction declarations.
11006 (verilog-pretty-expr): Don't line up assignment
11007 operations to the test and increment in if and for loops
11008 (verilog-extended-complete-re, verilog-complete-reg): Change so
11009 that DPI inport functions don't look like fuction declarations.
11010
11011 2012-05-03 Kenichi Handa <handa@m17n.org>
11012
11013 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
11014 decoding, and show a warning message without signaling an error
11015 (Bug#11282).
11016
11017 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11018
11019 * emacs-lisp/bytecomp.el
11020 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11021 since cconv.el might have introduced :fun-body, internal-make-closure,
11022 and friends for bytecomp to handle (bug#11391).
11023 * custom.el (defcustom): Avoid ((λ ..) ..).
11024
11025 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11026
11027 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11028
11029 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
11030
11031 * notifications.el (dbus-debug):
11032 * term/linux.el (gpm-mouse-enable):
11033 * term/screen.el (xterm-register-default-colors): Declare.
11034
11035 2012-05-02 Chong Yidong <cyd@gnu.org>
11036
11037 * cus-start.el (gc-cons-percentage, exec-suffixes)
11038 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11039 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11040 (make-cursor-line-fully-visible, void-text-area-pointer)
11041 (font-list-limit): Add customization data.
11042
11043 * allout.el (allout-exposure-change-functions)
11044 (allout-structure-added-functions)
11045 (allout-structure-deleted-functions)
11046 (allout-structure-shifted-functions): Rename abnormal hooks from
11047 *-hook, and convert to defcustoms.
11048 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11049 Convert to defcustoms.
11050 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11051
11052 * allout-widgets.el: Hook callers changed.
11053
11054 2012-05-02 Eli Zaretskii <eliz@gnu.org>
11055
11056 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11057 the yanked message in preference to the default value of
11058 buffer-file-coding-system.
11059
11060 2012-05-02 Martin Rudalics <rudalics@gmx.at>
11061
11062 * window.el (display-buffer--action-function-custom-type):
11063 Fix entry.
11064
11065 2012-05-02 Alan Mackenzie <acm@muc.de>
11066
11067 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11068
11069 2012-05-01 Glenn Morris <rgm@gnu.org>
11070
11071 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11072
11073 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11074
11075 * cus-edit.el (custom-variable-documentation): Simplify with format.
11076
11077 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11078 Stefan Monnier <monnier@iro.umontreal.ca>
11079
11080 * simple.el (suggest-key-bindings, execute-extended-command):
11081 Move from keyboard.c.
11082
11083 2012-05-01 Chong Yidong <cyd@gnu.org>
11084
11085 * follow.el: Eliminate advice.
11086 (set-process-filter, process-filter, sit-for): Advice deleted.
11087 (follow-mode-off-hook): Obsolete hook removed.
11088 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11089 Vars deleted.
11090 (follow-auto): Use a :set function.
11091 (follow-mode): Rewritten. Don't advise process filters.
11092 (follow-switch-to-current-buffer-all, follow-scroll-up)
11093 (follow-scroll-down): Assume follow-mode is bound.
11094 (follow-comint-scroll-to-bottom)
11095 (follow-align-compilation-windows): New functions.
11096 (follow--window-sorter): New function.
11097 (follow-all-followers): Use it to explicitly sort windows by their
11098 positions; don't make assumptions about next-window order.
11099 (follow-windows-start-end, follow-delete-other-windows-and-split)
11100 (follow-calc-win-start): Doc fix.
11101 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11102 vertical-motion unnecessarily.
11103 (follow-adjust-window): New function.
11104 (follow-post-command-hook): Use it.
11105 (follow-call-set-process-filter, follow-call-process-filter)
11106 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11107 (follow-stop-intercept-process-output, follow-generic-filter):
11108 Functions deleted.
11109 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
11110 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11111 New functions, replacing advice on scroll-bar-* commands.
11112 (follow-mwheel-scroll): New function (Bug#4112).
11113
11114 * comint.el (comint-adjust-point): New function.
11115 (comint-postoutput-scroll-to-bottom): Use it.
11116 Call follow-comint-scroll-to-bottom for Follow mode buffers.
11117
11118 2012-05-01 Glenn Morris <rgm@gnu.org>
11119
11120 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
11121 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
11122 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
11123 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
11124 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
11125 Remove no-byte-compile setting.
11126
11127 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11128
11129 * minibuffer.el (completion-table-with-quoting): Fix compatibility
11130 all-completions code to not return a number in the last cdr.
11131
11132 2012-04-30 Leo Liu <sdl.web@gmail.com>
11133
11134 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11135 read-only error.
11136
11137 2012-04-29 Chong Yidong <cyd@gnu.org>
11138
11139 * follow.el (follow-calc-win-end): Rewrite to handle partial
11140 screen lines correctly (Bug#8390).
11141 (follow-avoid-tail-recenter): Minor cleanup.
11142
11143 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11144
11145 Avoid the obsolete `assoc' package.
11146 * speedbar.el (speedbar-refresh): Avoid adelete.
11147 (speedbar-file-lists): Simplify and avoid aput.
11148 * man.el (Man--sections, Man--refpages): New vars, replacing
11149 Man-sections-alist and Man-refpages-alist.
11150 (Man-build-section-alist, Man-build-references-alist):
11151 Use them; avoid aput.
11152 (Man--last-section, Man--last-refpage): New vars.
11153 (Man-follow-manual-reference): Use them.
11154 Use the `default' arg of completing-read.
11155 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11156
11157 2012-04-27 Chong Yidong <cyd@gnu.org>
11158
11159 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11160
11161 * startup.el (x-apply-session-resources): New function.
11162
11163 * term/ns-win.el (ns-initialize-window-system):
11164 * term/w32-win.el (w32-initialize-window-system):
11165 * term/x-win.el (x-initialize-window-system): Use it to properly
11166 set menu-bar-mode and other vars from X resources, even if the
11167 initial frame is not a window-system frame (Bug#2299).
11168
11169 * subr.el (read-key): Avoid running filter function when setting
11170 up temporary tool bar entries (Bug#9922).
11171
11172 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11173
11174 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11175 (Bug#11344)
11176
11177 2012-04-27 Chong Yidong <cyd@gnu.org>
11178
11179 * select.el (xselect--encode-string): New function, split from
11180 xselect-convert-to-string.
11181 (xselect-convert-to-string): Use it.
11182 (xselect-convert-to-filename, xselect-convert-to-os)
11183 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11184 returned strings are properly encoded (Bug#11315).
11185
11186 2012-04-27 Chong Yidong <cyd@gnu.org>
11187
11188 * simple.el (delete-active-region): Move to killing custom group.
11189
11190 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11191
11192 * progmodes/which-func.el (which-func-current): Quote %
11193 characters for mode-line processing.
11194
11195 2012-04-27 Chong Yidong <cyd@gnu.org>
11196
11197 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11198 reaching eob (Bug#11286).
11199
11200 2012-04-27 Eli Zaretskii <eliz@gnu.org>
11201
11202 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11203 (gdb): Make it buffer-local and init to zero.
11204 (gdb-control-commands-regexp): New variable.
11205 (gdb-send): Don't wrap in "-interpreter-exec console" if
11206 gdb-control-level is positive. Increment gdb-control-level
11207 whenever the command matches gdb-control-commands-regexp, and
11208 decrement it each time the command is "end". (Bug#11279)
11209
11210 2012-04-27 Martin Rudalics <rudalics@gmx.at>
11211
11212 * window.el (adjust-window-trailing-edge, enlarge-window)
11213 (shrink-window, window-resize):
11214 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11215 windows (Bug#11276).
11216
11217 2012-04-27 Chong Yidong <cyd@gnu.org>
11218
11219 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
11220 fix "missing prefix" warning. All callers changed.
11221
11222 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11223
11224 * emacs-lisp/assoc.el: Move to obsolete/.
11225
11226 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11227
11228 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
11229
11230 * term/ns-win.el (ns-define-service):
11231 * progmodes/pascal.el (pascal-goto-defun):
11232 * progmodes/js.el (js--read-tab):
11233 * progmodes/etags.el (tags-lazy-completion-table):
11234 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11235 * emacs-lisp/ewoc.el (ewoc--wrap):
11236 * emacs-lisp/assoc.el (aput, adelete, amake):
11237 * doc-view.el (doc-view-convert-current-doc):
11238 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11239
11240 2012-04-26 Chong Yidong <cyd@gnu.org>
11241
11242 * image.el (image-type-from-buffer): Only return supported image
11243 type (Bug#9045).
11244
11245 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11246 value, for symmetry with diff-end-of-hunk.
11247 (diff-split-hunk, diff-find-source-location)
11248 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11249 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11250 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11251 compute the relevant hunk or file properly (Bug#6005).
11252 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11253
11254 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11255
11256 * vc/vc-mtn.el:
11257 * vc/vc-hg.el:
11258 * vc/vc-git.el:
11259 * vc/vc-dir.el:
11260 * vc/vc-cvs.el:
11261 * vc/vc-bzr.el:
11262 * vc/vc-arch.el:
11263 * vc/vc.el: Replace lexical-let by lexical-binding.
11264 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11265 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11266 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11267
11268 2012-04-26 Chong Yidong <cyd@gnu.org>
11269
11270 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11271 (diff-mode-shared-map): Bind it to / and [remap undo].
11272
11273 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11274 (ediff-window-setup-function): Use it as the default, to set up
11275 windows based on whether the current frame is graphical (Bug#2138).
11276 (ediff-choose-window-setup-function-automatically): Make obsolete.
11277
11278 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11279
11280 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11281
11282 * ffap.el: Remove old code for obsolete package.
11283 (ffap-complete-as-file-p): Remove.
11284
11285 Use completion-table-with-quoting for comint and pcomplete.
11286 * comint.el (comint--unquote&requote-argument)
11287 (comint--unquote-argument, comint--requote-argument): New functions.
11288 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11289 (comint-quote-filename): Use regexp-opt-charset.
11290 (comint--common-suffix, comint--common-quoted-suffix)
11291 (comint--table-subvert): Remove.
11292 (comint-unquote-function, comint-requote-function): New vars.
11293 (comint--complete-file-name-data): Use them with
11294 completion-table-with-quoting.
11295 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11296 * pcomplete.el (pcomplete-arg-quote-list)
11297 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11298 (pcomplete-unquote-argument-function): Default to non-nil.
11299 (pcomplete-unquote-argument): Simplify.
11300 (pcomplete--common-quoted-suffix): Remove.
11301 (pcomplete-requote-argument-function): New var.
11302 (pcomplete--common-suffix): New function.
11303 (pcomplete-completions-at-point): Use completion-table-with-quoting
11304 and completion-table-subvert.
11305
11306 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11307 (minibuffer--double-dollars): Preserve properties.
11308 (completion--sifn-requote): New function.
11309 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11310
11311 * minibuffer.el: Add support for completion of quoted/escaped data.
11312 (completion-table-with-quoting, completion-table-subvert): New funs.
11313 (completion--twq-try, completion--twq-all): New functions.
11314 (completion--nth-completion): New function.
11315 (completion-try-completion, completion-all-completions): Use it.
11316
11317 2012-04-25 Leo Liu <sdl.web@gmail.com>
11318
11319 * progmodes/python.el (python-pdbtrack-get-source-buffer):
11320 Use compilation-message if available to find real filename.
11321
11322 2012-04-25 Chong Yidong <cyd@gnu.org>
11323
11324 * vc/diff-mode.el (diff-setup-whitespace): New function.
11325 (diff-mode): Use it.
11326
11327 * vc/diff.el (diff-sentinel):
11328 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11329 Whitespace mode variables based on diff style (Bug#8612).
11330
11331 2012-04-25 Leo Liu <sdl.web@gmail.com>
11332
11333 * progmodes/python.el (python-send-region): Add suffix .py to the
11334 temp file.
11335
11336 * files.el (auto-mode-alist): Use javascript-mode instead.
11337
11338 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
11339
11340 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
11341
11342 * net/soap-client.el (soap-resolve-references-for-sequence-type)
11343 (soap-resolve-references-for-array-type): Hack to prevent self
11344 references, see Bug#9.
11345 (soap-parse-envelope): Report the contents of the 'detail' node
11346 when receiving a fault reply.
11347 (soap-parse-envelope): Report the contents of the entire 'detail' node.
11348
11349 * net/soap-inspect.el (soap-sample-value-for-simple-type)
11350 (soap-inspect-simple-type): New function.
11351
11352 * net/soap-client.el (soap-simple-type): New struct.
11353 (soap-default-xsd-types, soap-default-soapenc-types)
11354 (soap-decode-basic-type, soap-encode-basic-type):
11355 support unsignedInt and double basic types.
11356 (soap-resolve-references-for-simple-type)
11357 (soap-parse-simple-type, soap-encode-simple-type): New function.
11358 (soap-parse-schema): Parse xsd:simpleType declarations.
11359
11360 * net/soap-client.el (soap-default-xsd-types)
11361 (soap-default-soapenc-types): Add integer, byte and anyURI types.
11362 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
11363 the local name of "soapenc:Array".
11364 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
11365 decoding integer, byte and anyURI xsd types.
11366
11367 2012-04-25 Chong Yidong <cyd@gnu.org>
11368
11369 * cus-edit.el (custom-buffer-create-internal): Update header text.
11370
11371 2012-04-25 Eli Zaretskii <eliz@gnu.org>
11372
11373 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
11374 settings on 'system-type', not on 'window-system'. On MS-Windows,
11375 set interactive-mode on in GDB.
11376
11377 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11378
11379 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
11380 (ruby-syntax-propertize-regexp): Remove.
11381 (ruby-syntax-propertize-function): Split regexp into chunks.
11382 Match following code directly.
11383
11384 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
11385
11386 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
11387 (ruby-syntax-propertize-regexp): New function.
11388 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
11389 by a special keyword.
11390
11391 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
11392 (ruby-syntax-general-delimiters-goto-beg)
11393 (ruby-syntax-propertize-general-delimiters): New functions.
11394 (ruby-syntax-propertize-function): Use them to handle GDL.
11395 (ruby-font-lock-keywords): Move old handling of GDL...
11396 (ruby-font-lock-syntactic-keywords): .. to here.
11397 (ruby-calculate-indent): Adjust indentation for GDL.
11398
11399 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
11400
11401 * notifications.el (top): Remove unneeded declarations.
11402 (notifications-specification-version): Change to "1.2".
11403 (notifications-interface, notifications-notify-method)
11404 (notifications-close-notification-method): Fix docstring.
11405 (notifications-get-capabilities-method): New defconst.
11406 (notifications-notify): Add :action-items, :resident and
11407 :transient hints. Change "image_data" to "image-data" and
11408 "image_path" to "image-path".
11409 (notifications-get-capabilities): New defun.
11410
11411 2012-04-24 Leo Liu <sdl.web@gmail.com>
11412
11413 * progmodes/python.el: Move hideshow setup to the end.
11414
11415 2012-04-24 Martin Rudalics <rudalics@gmx.at>
11416
11417 * window.el (handle-select-window): Clear echo area since this is
11418 no more done by read_char (Bug#11304).
11419
11420 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11421
11422 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
11423 and `/ M' to filter-derived-mode.
11424 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
11425 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
11426 (ibuffer-mark-by-mode): Use default rather than initial-input.
11427 (ibuffer-filter-by-derived-mode): Autoload and require-match.
11428
11429 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
11430
11431 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
11432 (ibuffer-filter-by-derived-mode): New filter.
11433 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
11434
11435 2012-04-23 Andreas Politz <politza@fh-trier.de>
11436
11437 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
11438
11439 2012-04-23 Chong Yidong <cyd@gnu.org>
11440
11441 * cus-edit.el (customize-apropos, customize-apropos-options):
11442 Disable matching of non-option variables (Bug#11176).
11443 (customize-option, customize-option-other-window)
11444 (customize-changed-options): Doc fix.
11445 (customize-apropos-options, customize-apropos-faces)
11446 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
11447
11448 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
11449 Fix word list splitting (Bug#11132).
11450 (apropos-symbol, apropos-keybinding, apropos-label)
11451 (apropos-property, apropos-function-button)
11452 (apropos-variable-button, apropos-misc-button): New faces.
11453 (apropos-symbol-face, apropos-keybinding-face)
11454 (apropos-label-face, apropos-property-face, apropos-match-face):
11455 Variables removed (Bug#8396).
11456 (apropos-library-button, apropos-format-plist, apropos-print)
11457 (apropos-print-doc, apropos-describe-plist): Callers changed.
11458
11459 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
11460
11461 * net/xesam.el (xesam-mode-map): Use let-bound map in
11462 initialization. (Bug#11292)
11463
11464 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11465
11466 Preserve ispell session localwords when switching back to
11467 original buffer.
11468
11469 * textmodes/ispell.el (ispell-buffer-session-localwords):
11470 New buffer-local variable to hold buffer session localwords.
11471 (ispell-kill-ispell): Add option 'clear to delete session
11472 localwords.
11473 (ispell-command-loop, ispell-change-dictionary)
11474 (ispell-buffer-local-words): Preserve session localwords when
11475 needed.
11476
11477 * textmodes/flyspell.el (flyspell-process-localwords)
11478 (flyspell-do-correct): Preserve session localwords when needed.
11479
11480 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11481
11482 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
11483 using obsolete `translation-table-for-input'.
11484 (ispell-word, ispell-process-line, ispell-complete-word):
11485 Use plain `insert' instead of removed `ispell-insert-word'.
11486
11487 2012-04-22 Chong Yidong <cyd@gnu.org>
11488
11489 * cus-edit.el (custom-variable-menu)
11490 (custom-variable-reset-saved, custom-face-menu)
11491 (custom-face-reset-saved): If there is no saved value, make the
11492 "reset-saved" operation bring back the default (Bug#9509).
11493 (custom-face-state): Properly detect themed faces.
11494
11495 * faces.el (face-spec-set): Stop supporting deprecated form of
11496 third arg.
11497
11498 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
11499
11500 Move functions from C to Lisp. Make non-blocking method calls
11501 the default. Implement further D-Bus standard interfaces.
11502
11503 * net/dbus.el (dbus-message-internal): Declare function.
11504 Remove unneeded function declarations.
11505 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
11506 (dbus-message-type-method-return, dbus-message-type-error)
11507 (dbus-message-type-signal): Declare variables. Remove local
11508 definitions.
11509 (dbus-interface-dbus, dbus-interface-peer)
11510 (dbus-interface-introspectable, dbus-interface-properties)
11511 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
11512 Adapt docstring.
11513 (dbus-interface-objectmanager): New defconst.
11514 (dbus-call-method, dbus-call-method-asynchronously)
11515 (dbus-send-signal, dbus-method-return-internal)
11516 (dbus-method-error-internal, dbus-register-service)
11517 (dbus-register-signal, dbus-register-method): New defuns, moved
11518 from dbusbind.c
11519 (dbus-call-method-handler, dbus-setenv)
11520 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
11521 New defuns.
11522 (dbus-call-method-non-blocking): Make it an obsolete function.
11523 (dbus-unregister-object, dbus-unregister-service)
11524 (dbus-handle-event, dbus-register-property)
11525 (dbus-property-handler): Obey the new structure of
11526 `bus-registered-objects'.
11527 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
11528 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11529 Use `dbus-call-method'.
11530
11531 2012-04-22 Chong Yidong <cyd@gnu.org>
11532
11533 * cus-edit.el (custom-commands, custom-reset-menu)
11534 (Custom-reset-standard): Tweak labels.
11535 (custom-reset-button-menu): Change default to t.
11536 (custom-buffer-create-internal): For the custom-reset-button-menu
11537 case, put the revert button first.
11538 (custom-group-subtitle): New face.
11539 (custom-group-value-create): Align docstring to a specific column.
11540
11541 * wid-edit.el (widget-documentation-link-add): Don't handle
11542 indentation in this function.
11543 (widget-documentation-string-indent-to): New function.
11544 (widget-documentation-string-value-create): Use it.
11545
11546 * autorevert.el (auto-revert):
11547 * epg-config.el (epg):
11548 * ibuffer.el (ibuffer):
11549 * mpc.el (mpc):
11550 * ses.el (ses):
11551 * eshell/eshell.el (eshell):
11552 * net/ange-ftp.el (ange-ftp):
11553 * progmodes/ebnf2ps.el (postscript):
11554 * progmodes/flymake.el (flymake):
11555 * progmodes/prolog.el (prolog):
11556 * progmodes/verilog-mode.el (verilog-mode):
11557 * progmodes/which-func.el (which-func):
11558 * term/xterm.el (xterm):
11559 * textmodes/picture.el (picture):
11560 * textmodes/tildify.el (tildify):
11561 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
11562 customization buffers.
11563
11564 2012-04-22 Alan Mackenzie <acm@muc.de>
11565
11566 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11567 Adding a ) can hide the resulting (..) from searches. Fix it.
11568 Bound the backward search to the position of the existing (.
11569
11570 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
11571
11572 * progmodes/verilog-mode.el (verilog-mode): Check whether
11573 which-func-modes is t before adding verilog-mode.
11574 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
11575
11576 2012-04-21 Leo Liu <sdl.web@gmail.com>
11577
11578 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
11579
11580 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
11581
11582 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
11583 filling of the last column of a table (Bug#5635).
11584 (woman-find-next-control-line): New arg, specifying an additional
11585 regexp component for the control line.
11586 (woman2-roff-buffer): Use it.
11587 (woman-break-table): New function.
11588 (woman2-TS): Use it.
11589
11590 2012-04-21 Chong Yidong <cyd@gnu.org>
11591
11592 * woman.el (woman-set-buffer-display-table, woman-decode-region)
11593 (woman-horizontal-escapes, woman-negative-vertical-space)
11594 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
11595 (WoMan-warn-ignored): Use ?\s instead of ?\ .
11596
11597 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11598
11599 * minibuffer.el (completion-file-name-table): Complete user names.
11600
11601 2012-04-20 Leo Liu <sdl.web@gmail.com>
11602
11603 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
11604 and pcase-let*.
11605
11606 2012-04-20 Chong Yidong <cyd@gnu.org>
11607
11608 * server.el (server-execute): Respect initial-buffer-choice if it
11609 is a string and there are no files to open (Bug#2825).
11610 (server-create-window-system-frame, server-create-tty-frame):
11611 Don't switch buffers here.
11612 (server-process-filter): Only try to open a window system frame if
11613 compiled with graphical support (Bug#8314).
11614
11615 2012-04-20 Dan Nicolaescu <dann@gnu.org>
11616
11617 * battery.el (battery-echo-area-format): Display remaining time
11618 for sysfs backend too (Bug#11269).
11619 (battery-linux-sysfs): Fix conditional for the charge.
11620
11621 2012-04-20 Chong Yidong <cyd@gnu.org>
11622
11623 * progmodes/gdb-mi.el (gdb): Revert previous change.
11624 (gdb-inferior-io--init-proc): New function.
11625 (gdb-init-1): Use it.
11626 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
11627 responsible for allocating a new pty and hooking it to gdb when
11628 the old pty gets an EIO due to process exit.
11629 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
11630 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
11631 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
11632
11633 2012-04-20 Eli Zaretskii <eliz@gnu.org>
11634
11635 * window.el (window-min-size, window-sizable, window-min-delta)
11636 (window-max-delta, window--resizable, window-resizable)
11637 (window-total-size, window-full-height-p, window-full-width-p)
11638 (window-in-direction, window--resize-mini-window, window-resize)
11639 (window--resize-child-windows-normal)
11640 (window--resize-child-windows, window--resize-siblings)
11641 (window--resize-this-window, adjust-window-trailing-edge)
11642 (enlarge-window, shrink-window): Doc fixes.
11643
11644 2012-04-20 Chong Yidong <cyd@gnu.org>
11645
11646 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
11647 New function to call delete-process on the gdb-inferior buffer's pty.
11648 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
11649 pty process (Bug#11273).
11650 (gdb-update): New arg to suppress talking to the gdb process.
11651 (gdb-done-or-error): Use it.
11652 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
11653 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
11654 sentinel not being called.
11655
11656 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
11657
11658 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
11659
11660 2012-04-20 Glenn Morris <rgm@gnu.org>
11661
11662 * net/network-stream.el (open-network-stream): Doc fix.
11663
11664 2012-04-20 Chong Yidong <cyd@gnu.org>
11665
11666 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
11667
11668 2012-04-20 Alan Mackenzie <acm@muc.de>
11669
11670 Ensure searching for keywords is case sensitive.
11671
11672 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
11673 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
11674 (c-defun-name, c-mark-function, c-cpp-define-name)
11675 (c-comment-indent, c-scan-conditionals, c-indent-defun)
11676 (c-context-line-break): Bind case-fold-search to nil.
11677
11678 * progmodes/cc-mode.el (c-font-lock-fontify-region):
11679 Bind case-fold-search to nil.
11680
11681 2012-04-20 Chong Yidong <cyd@gnu.org>
11682
11683 * mail/sendmail.el (mail-bury): Call return action with the right
11684 Rmail buffer (Bug#11242).
11685
11686 * server.el (server-process-filter): Handle corner case where both
11687 tty and nowait options are present (Bug#11102).
11688
11689 2012-04-20 Eli Zaretskii <eliz@gnu.org>
11690
11691 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
11692 (top level): Put into the executable the ident-style '$Id:' tag on
11693 windows-nt as well.
11694
11695 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11696
11697 * electric.el (electric-indent-post-self-insert-function): Check that
11698 electric-indent-mode is enabled in current buffer.
11699
11700 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
11701
11702 * imenu.el (imenu-progress-message): Restore; it is "used" in
11703 erc/erc-imenu.el and net/snmp-mode.el.
11704
11705 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
11706
11707 * avoid.el (mouse-avoidance-mode): Mark unused arg.
11708 (mouse-avoidance-nudge-mouse): Remove unused binding.
11709
11710 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
11711
11712 * descr-text.el (describe-char):
11713 * progmodes/python.el (python-describe-symbol):
11714 Don't call `toggle-read-only', set `buffer-read-only'.
11715
11716 * imenu.el (imenu-default-goto-function): Mark unused args.
11717 (imenu-progress-message): Remove obsolete macro; all callers changed.
11718
11719 * subr.el (keymap-canonicalize): Remove unused binding.
11720 (read-passwd): Mark unused arg.
11721
11722 * tutorial.el (tutorial--display-changes): Remove unused binding.
11723 (tutorial--save-tutorial-to): Remove unused variable.
11724
11725 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
11726 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
11727 (package-generate-autoloads, package-menu--generate)
11728 (package-menu--find-upgrades): Remove unused bindings.
11729
11730 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
11731 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
11732 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
11733 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
11734 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
11735 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
11736 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
11737 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
11738 (cua-delete-char-rectangle): Mark unused args.
11739 (cua-align-rectangle): Remove unused binding.
11740
11741 * mail/rmail.el (compilation--message->loc)
11742 (epa--find-coding-system-for-mime-charset): Declare.
11743
11744 * net/dbus.el (dbus-register-service): Declare.
11745 (dbus-name-owner-changed-handler): Remove unused binding.
11746
11747 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
11748 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
11749 (nxml-scan-backward-within): Mark unused arg.
11750 (nxml-dynamic-markup-word): Remove unused binding.
11751
11752 * mouse.el (mouse-menu-major-mode-map):
11753 * emacs-lisp/authors.el (authors-scan-change-log)
11754 (authors-add-to-author-list):
11755 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
11756 * emacs-lisp/smie.el (smie-auto-fill):
11757 * mail/sendmail.el (mail-bury):
11758 * mail/unrmail.el (unrmail):
11759 * net/tls.el (open-tls-stream):
11760 * textmodes/picture.el (picture-mouse-set-point):
11761 Remove unused bindings.
11762
11763 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
11764
11765 * net/tramp.el (tramp-action-password): Let-bind
11766 `enable-recursive-minibuffers' to t.
11767
11768 2012-04-18 Sam Steingold <sds@gnu.org>
11769
11770 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
11771 instead of 'string to accommodate values like [f11].
11772 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
11773 * progmodes/gdb-mi.el: Likewise.
11774
11775 2012-04-18 Leo Liu <sdl.web@gmail.com>
11776
11777 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
11778 current buffer.
11779 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
11780 LOCAL is nil.
11781
11782 2012-04-18 Chong Yidong <cyd@gnu.org>
11783
11784 * simple.el (line-move): Use forward-line if in batch mode
11785 (Bug#11053).
11786
11787 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
11788
11789 * files.el (after-find-file): Do not try to add a final newline if
11790 the buffer is read-only (Bug#11156).
11791
11792 2012-04-17 Richard Stallman <rms@gnu.org>
11793
11794 * mail/rmail.el (rmail-start-mail):
11795 Pass (rmail-mail-return...) for the return-action.
11796 Pass (rmail-yank-current-message...) for the yank-action.
11797 (rmail-yank-current-message): New function.
11798 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
11799 (rmail-reply): Likewise.
11800 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
11801
11802 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
11803 buffer, not the last. Reject temp buffers. Use the rmail-mode
11804 buffer, not newbuf.
11805
11806 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
11807
11808 * server.el (server-ensure-safe-dir): Simplify.
11809
11810 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11811
11812 * emacs-lisp/smie.el: Provide smarter auto-filling.
11813 (smie-auto-fill): New function.
11814 (smie-setup): Use it.
11815
11816 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
11817
11818 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
11819
11820 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
11821 (comment-indent): Use it.
11822
11823 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
11824
11825 * ses.el: The overall change is to add cell renaming, that is
11826 setting fancy names for cell symbols other than name matching
11827 "\\`[A-Z]+[0-9]+\\'" regexp .
11828 (ses-localvars): Add ses--renamed-cell-symb-list.
11829 (ses-create-cell-variable): New defun.
11830 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
11831 (ses-relocate-formula): Relocate formulas only for cells the
11832 symbols of which are not renamed, i.e. symbols whose names do not
11833 match regexp "\\`[A-Z]+[0-9]+\\'".
11834 (ses-relocate-all): Relocate values only for cells the symbols of
11835 which are not renamed.
11836 (ses-load): Create cells variables as the (ses-cell ...) are read,
11837 in order to check row col consistency with cell symbol name only
11838 for cells that are not renamed.
11839 (ses-replace-name-in-formula): New defun.
11840 (ses-rename-cell): New defun.
11841
11842 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
11843
11844 * progmodes/perl-mode.el (perl-indent-parens-as-block):
11845 New option (bug#11118).
11846 (perl-calculate-indent): Respect it.
11847
11848 2012-04-17 Glenn Morris <rgm@gnu.org>
11849
11850 * dired-aux.el (dired-mark-read-string): Doc fix.
11851
11852 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
11853
11854 * dired-aux.el (dired-mark-read-string): Offer optional completion.
11855 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
11856
11857 2012-04-17 Glenn Morris <rgm@gnu.org>
11858
11859 * mouse.el (mouse-drag-track):
11860 * speedbar.el (speedbar-frame-mode):
11861 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
11862
11863 2012-04-16 Leo Liu <sdl.web@gmail.com>
11864
11865 * progmodes/python.el: Trivial cleanup.
11866
11867 2012-04-16 Glenn Morris <rgm@gnu.org>
11868
11869 * vc/vc.el (vc-string-prefix-p):
11870 * vc/pcvs-util.el (cvs-string-prefix-p):
11871 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
11872 * mpc.el (mpc-string-prefix-p):
11873 Make all of these into obsolete aliases for string-prefix-p.
11874 Update callers.
11875 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
11876
11877 * textmodes/two-column.el: Move custom options to the start.
11878 (frame-width): Remove compat definition.
11879 (2C-associate-buffer, 2C-dissociate):
11880 Use with-current-buffer rather than save-excursion.
11881 (2C-dissociate): Force a mode-line update.
11882 (2C-autoscroll): Use ignore-errors.
11883
11884 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
11885 Autoload trivia.
11886
11887 * emacs-lisp/cl-extra.el (*random-state*):
11888 Remove unnecessary declaration.
11889
11890 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
11891
11892 * play/cookie1.el (cookie-snarf):
11893 Give an explicit error if input file cannot be read.
11894
11895 * play/yow.el (yow-file): Use expand-file-name rather than concat.
11896
11897 * progmodes/perl-mode.el (c-macro-expand):
11898 Remove unnecessary autoload (it is in loaddefs.el).
11899
11900 * textmodes/picture.el (picture-desired-column)
11901 (picture-update-desired-column): Convert comments to doc-strings.
11902 (picture-substitute): Remove function.
11903 (picture-mode-map): Initialize in the defvar.
11904
11905 * woman.el: Remove eval-after-load for tar-mode.
11906 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
11907 (woman-tar-extract-file): Autoload it.
11908
11909 * frame.el (automatic-hscrolling): Make this alias obsolete.
11910
11911 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11912
11913 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
11914 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
11915 (ispell-dictionary-base-alist): Revert to original XEmacs
11916 friendly version for default. [:alpha:] will be added in
11917 `ispell-set-spellchecker-params' if needed.
11918
11919 2012-04-16 Chong Yidong <cyd@gnu.org>
11920
11921 * image.el (imagemagick--file-regexp): New variable.
11922 (imagemagick-register-types): Use it.
11923 (imagemagick-types-inhibit): Add :set function. Allow new value
11924 of t to inhibit all types.
11925
11926 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
11927 so we can preload it.
11928
11929 * loadup.el (fboundp): Preload regexp-opt, needed by
11930 imagemagick-register-types.
11931
11932 2012-04-15 Chong Yidong <cyd@gnu.org>
11933
11934 * frame.el (scrolling): Remove nearly unused customization group.
11935
11936 * scroll-all.el (scroll-all-mode): Move to windows group.
11937
11938 2012-04-15 Chong Yidong <cyd@gnu.org>
11939
11940 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
11941
11942 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11943
11944 Avoid the use of ((lambda ...) ...) in lexical-binding code.
11945 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
11946
11947 2012-04-15 Glenn Morris <rgm@gnu.org>
11948
11949 * simple.el (process-file-side-effects): Doc fix.
11950
11951 2012-04-15 Glenn Morris <rgm@gnu.org>
11952
11953 * international/mule-cmds.el (set-language-environment): Doc fix.
11954
11955 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
11956
11957 * server.el (server-auth-key, server-generate-key): Doc fixes.
11958 (server-get-auth-key): Doc fix. Use `string-match-p'.
11959 (server-start): Reflow docstring.
11960
11961 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
11962
11963 * server.el (server-generate-key): `called-interactively-p'
11964 requires a parameter.
11965
11966 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
11967
11968 * server.el (server-auth-key): New variable.
11969 (server-generate-key, server-get-auth-key): New function.
11970 (server-start): Use the new variable and functions to allow
11971 setting a permanent server key (bug#9423).
11972
11973 2012-04-14 Leo Liu <sdl.web@gmail.com>
11974
11975 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
11976
11977 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
11978
11979 Spelling fixes.
11980 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
11981 Emacs uses American spelling.
11982
11983 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
11984
11985 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
11986 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
11987 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
11988 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
11989
11990 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11991
11992 * progmodes/which-func.el (which-func-modes): Change default.
11993
11994 2012-04-14 Kim F. Storm <storm@cua.dk>
11995
11996 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
11997 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
11998
11999 2012-04-14 Chong Yidong <cyd@gnu.org>
12000
12001 * custom.el (custom-theme-set-variables): Doc fix.
12002
12003 2012-04-14 Glenn Morris <rgm@gnu.org>
12004
12005 * international/mule.el (set-auto-coding-for-load): Doc fix.
12006
12007 2012-04-14 Alan Mackenzie <acm@muc.de>
12008
12009 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12010 imenu work again for Objective C Mode. Correct the *-index values,
12011 these having been disturbed by a previous change in 2011-08.
12012
12013 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12014 Correct two search limits.
12015
12016 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12017
12018 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12019
12020 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
12021
12022 * international/characters.el: Fix sorting.
12023
12024 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12025
12026 * international/characters.el: Add more missing Latin case pairs.
12027
12028 2012-04-14 Glenn Morris <rgm@gnu.org>
12029
12030 * files.el (dir-locals-set-class-variables): Doc fix.
12031
12032 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12033
12034 * international/characters.el: Add set-case-syntax-pair call for
12035 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12036 counterpart. (Bug#11209)
12037
12038 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12039
12040 2012-04-14 Glenn Morris <rgm@gnu.org>
12041
12042 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12043
12044 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12045
12046 * textmodes/ispell.el (ispell-dictionary-base-alist):
12047 Add data for Hebrew.
12048
12049 2012-04-14 Chong Yidong <cyd@gnu.org>
12050
12051 * net/rcirc.el (rcirc-cmd-quit):
12052 Revert 2012-03-18 change (Bug#11192).
12053
12054 2012-04-14 Glenn Morris <rgm@gnu.org>
12055
12056 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12057
12058 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12059
12060 * minibuffer.el (completion-in-region-mode-map):
12061 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
12062
12063 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12064
12065 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12066
12067 2012-04-13 Masatake YAMATO <yamato@redhat.com>
12068
12069 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12070 to allow `C-M-f' and `C-M-b' to move to the nearest path
12071 separator (bug#9511).
12072
12073 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12074
12075 * avoid.el: Require cl when compiling. And also move the
12076 `provide' to the end.
12077
12078 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12079
12080 * avoid.el (mouse-avoidance-banish-position): New variable.
12081 (mouse-avoidance-banish-destination): Use it (bug#10165).
12082
12083 2012-04-13 Leo Liu <sdl.web@gmail.com>
12084
12085 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12086
12087 2012-04-13 Ken Brown <kbrown@cornell.edu>
12088
12089 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
12090 this is no longer needed now that cygstart understands file:// URLs.
12091 (browse-url-filename-alist): For the same reason, don't modify
12092 file:// URLs on Cygwin.
12093
12094 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12095
12096 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12097 the region on shift if the binding is already shifted (bug#11221).
12098
12099 2012-04-12 Glenn Morris <rgm@gnu.org>
12100
12101 * mail/mailpost.el: Move to obsolete/.
12102
12103 2012-04-12 Drew Adams <drew.adams@oracle.com>
12104
12105 * imenu.el (imenu--generic-function): Ignore invisible definitions
12106 (bug#10123).
12107
12108 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
12109
12110 * hexl.el (hexl-bits): New variable.
12111 (hexl-options): Mention the variable in the doc string.
12112 (hexl-rulerise, hexl-line-displen): New functions.
12113 (hexl-mode): Mention the new variable.
12114 (hexl-mode, hexl-current-address, hexl-current-address):
12115 Use the displen.
12116 (hexl-ascii-start-column): New function.
12117 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12118 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
12119
12120 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12121
12122 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
12123 '("-i" ENCODING), in 2 separate command-line arguments, to specify
12124 the encoding, as expected by hunspell.
12125
12126 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12127
12128 * battery.el (battery--linux-sysfs-regexp): New const.
12129 (battery-status-function): Use it. Remove yeeloong special case.
12130 (battery-yeeloong-sysfs): Remove.
12131 (battery-echo-area-format): Remove yeeloong special case.
12132
12133 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12134
12135 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12136 Reported by Noah Friedman.
12137
12138 * subr.el (read-passwd): Use read-string.
12139
12140 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12141
12142 * vcursor.el (vcursor-move): Increase the priority of the overlay
12143 (bug#9663).
12144
12145 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12146
12147 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12148 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12149
12150 2012-04-11 William Stevenson <yhvh2000@gmail.com>
12151
12152 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12153 define-minor-mode (bug#10760).
12154
12155 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12156
12157 * progmodes/grep.el (rgrep): Tweak the find command line so
12158 that directories matching `grep-find-ignored-files' won't be
12159 pruned (bug#10351).
12160
12161 2012-04-11 Chong Yidong <cyd@gnu.org>
12162
12163 * startup.el (command-line): Remove support for long-obsolete
12164 variable font-lock-face-attributes.
12165
12166 2012-04-11 Glenn Morris <rgm@gnu.org>
12167
12168 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12169
12170 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12171
12172 * window.el (window--state-get-1): Obey window-point-insertion-type.
12173
12174 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12175
12176 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12177 to previous function when point is on the first character of a
12178 function. Take care of that in `narrow-to-defun' (bug#6157).
12179
12180 2012-04-11 Glenn Morris <rgm@gnu.org>
12181
12182 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12183 not just file-errors.
12184
12185 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12186 (vc-bzr-sha1): Use internal sha1.
12187
12188 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12189
12190 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12191
12192 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12193
12194 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12195 that start in the middle of the line (bug#10496).
12196
12197 2012-04-10 Dan Nicolaescu <dann@gnu.org>
12198
12199 * battery.el (battery-linux-proc-acpi): Only one battery is
12200 discharged at a time, but that seems to confuse battery.el when
12201 computing `rate-type' for the battery not being discharged
12202 (bug#10332).
12203
12204 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12205
12206 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12207
12208 * international/quail.el: Use dolist and simplify.
12209 (quail-define-package, quail-update-keyboard-layout)
12210 (quail-define-rules): Use dolist.
12211 (quail-insert-kbd-layout, quail-get-translation): CSE.
12212
12213 * tmm.el: Use dolist, remove left over hook.
12214 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12215 Use dolist.
12216 (calendar-load-hook): Don't mess with it.
12217
12218 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12219 Use derived-mode-p. Run the diff asynchronously.
12220
12221 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12222
12223 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12224
12225 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
12226
12227 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12228 (list-dynamic-libraries--loaded): New function.
12229 (list-dynamic-libraries--refresh): Use it.
12230
12231 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
12232
12233 * progmodes/python.el (python-fill-paragraph):
12234 Make python-fill-region in a multiline string work when font-lock is
12235 disabled (bug#7018).
12236
12237 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
12238
12239 * language/european.el (cp775): Add oem/legacy (en)coding on
12240 DOS/MS Windows for the Baltic languages. There are still plenty
12241 of texts written in this encoding/codepage (bug#6519).
12242
12243 2012-04-10 Glenn Morris <rgm@gnu.org>
12244
12245 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12246 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12247
12248 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12249
12250 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
12251 next-line "n" and previous-line "p" in order to make recentf more
12252 consistent with ibuffer, dired or org-mode (bug#9387).
12253
12254 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12255
12256 * image.el (put-image): Return the overlay created instead of the
12257 optional input string (bug#7834). Note that this may break code
12258 that is (for some reason or other) depending on `put-image'
12259 returning the string.
12260
12261 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12262
12263 * simple.el (zap-to-char): Allow zapping using input methods
12264 (bug#1580).
12265
12266 * textmodes/fill.el (fill-region): Leave point and mark where they
12267 were before filling (bug#5399).
12268
12269 2012-04-09 Glenn Morris <rgm@gnu.org>
12270
12271 * version.el (emacs-bzr-get-version):
12272 Handle lightweight checkouts of local branches.
12273
12274 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12275
12276 * international/characters.el: Recover lost case pairs. (Bug#11209)
12277
12278 2012-04-09 Chong Yidong <cyd@gnu.org>
12279
12280 * custom.el (custom-variable-p): Return nil for non-symbol
12281 arguments instead of signaling an error.
12282 (user-variable-p): Obsolete alias for custom-variable-p.
12283
12284 * apropos.el (apropos-variable):
12285 * files-x.el (read-file-local-variable):
12286 * simple.el (set-variable):
12287 * woman.el (woman-mini-help):
12288 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12289
12290 2012-04-09 Glenn Morris <rgm@gnu.org>
12291
12292 * startup.el (normal-top-level): Don't look for leim-list.el
12293 in places where it will not be found. (Bug#910)
12294
12295 * international/mule-cmds.el (set-default-coding-systems):
12296 * files.el (normal-mode):
12297 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12298 This function was removed with ucs-tables.el in 2008.
12299
12300 2012-04-08 Eli Zaretskii <eliz@gnu.org>
12301
12302 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12303 ispell-encoding8-command to "-i", without a trailing space.
12304 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12305 separate command-line arguments, to specify the encoding, since
12306 that's how hunspell expects it.
12307
12308 2012-04-08 Glenn Morris <rgm@gnu.org>
12309
12310 * loadup.el: Load bindings before cus-start.
12311 This reduces somewhat the number of "rogue" settings in emacs -Q.
12312
12313 2012-04-07 Glenn Morris <rgm@gnu.org>
12314
12315 * version.el (emacs-bzr-get-version): New function.
12316 (emacs-bzr-version): New variable.
12317 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
12318 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12319
12320 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12321
12322 * international/uni-bidi.el, international/uni-category.el:
12323 * international/uni-combining.el, international/uni-decimal.el:
12324 * international/uni-decomposition.el, international/uni-digit.el:
12325 * international/uni-lowercase.el, international/uni-mirrored.el:
12326 * international/uni-name.el, international/uni-numeric.el:
12327 * international/uni-titlecase.el, international/uni-uppercase.el:
12328 Update for Unicode 6.1.
12329
12330 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12331
12332 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12333
12334 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12335
12336 * window.el (shrink-window): Mention the `window-min-height'
12337 variable in the doc string.
12338
12339 2012-04-05 Bastien Guerry <bzg@altern.org>
12340
12341 * color.el (color-lighten-name): Fix typo.
12342
12343 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12344
12345 * server.el (server--on-display-p): New function.
12346 (server--on-display-p): Use it.
12347
12348 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
12349
12350 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12351 (bug#11145).
12352
12353 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12354
12355 * comint.el (comint--common-quoted-suffix): Check string boundary
12356 before comparing (bug#11158).
12357 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
12358
12359 2012-04-04 Chong Yidong <cyd@gnu.org>
12360
12361 * minibuffer.el (completion-extra-properties): Doc fix.
12362
12363 * subr.el (delayed-warnings-hook): Doc fix.
12364
12365 2012-04-04 Daiki Ueno <ueno@unixuser.org>
12366
12367 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
12368 selection (Bug#11159).
12369 (epa-insert-keys): Inform that the default public key will be
12370 exported if no key is selected.
12371
12372 2012-04-04 Richard Stallman <rms@gnu.org>
12373
12374 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
12375
12376 2012-04-03 Chong Yidong <cyd@gnu.org>
12377
12378 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
12379 mail-insert-file, not its obsolete alias mail-attach-file.
12380
12381 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
12382
12383 * notifications.el (notifications-notify): Fix docstring.
12384
12385 2012-04-02 Glenn Morris <rgm@gnu.org>
12386
12387 * emacs-lisp/authors.el (authors-aliases): Another addition.
12388
12389 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
12390
12391 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
12392 `tramp-compat-call-process' instead of `tramp-local-call-process'.
12393 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
12394
12395 2012-04-01 Chong Yidong <cyd@gnu.org>
12396
12397 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
12398 Handle root directory properly.
12399 (copy-directory): Caller changed.
12400
12401 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12402 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
12403
12404 2012-03-31 Glenn Morris <rgm@gnu.org>
12405
12406 * term/xterm.el (xterm-extra-capabilities): Doc fix.
12407
12408 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
12409
12410 * calendar/calendar.el (calendar-window-list)
12411 (calendar-hide-window): Restore. (Bug#11140)
12412 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
12413
12414 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
12415
12416 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12417
12418 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12419 Check if file is a symlink (Bug#10489).
12420
12421 * files.el (copy-directory): Likewise.
12422
12423 2012-03-30 Chong Yidong <cyd@gnu.org>
12424
12425 * image.el (imagemagick-types-inhibit)
12426 (imagemagick-register-types): Doc fix.
12427
12428 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12429
12430 * textmodes/ispell.el (ispell-get-extended-character-mode):
12431 Disable extended-char-mode for hunspell. hunspell does not support it
12432 and treats ~word as ordinary words in pipe mode.
12433
12434 2012-03-30 Glenn Morris <rgm@gnu.org>
12435
12436 * tutorial.el (help-with-tutorial): Ensure local variables don't
12437 happen to make the buffer read-only. (Bug#11127)
12438
12439 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12440
12441 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
12442 (perl-calculate-indent): Return `noindent' in strings.
12443
12444 2012-03-28 Sam Steingold <sds@gnu.org>
12445
12446 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
12447 instead of the broken adhockery which does not prevent calendar
12448 buffers from being displayed at random after exit.
12449 (calendar-window-list, calendar-hide-window): Remove the broken
12450 adhockery.
12451
12452 2012-03-28 Glenn Morris <rgm@gnu.org>
12453
12454 * replace.el (query-replace-map): Doc fix.
12455
12456 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
12457
12458 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
12459 contents. (Bug#11109)
12460
12461 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12462
12463 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
12464 (bug#11077).
12465 (avl-tree--check, avl-tree--check-node): New funs.
12466
12467 2012-03-27 Martin Rudalics <rudalics@gmx.at>
12468
12469 * window.el (switch-to-visible-buffer): New option.
12470 (switch-to-prev-buffer, switch-to-next-buffer):
12471 Observe switch-to-visible-buffer. Make sure that checking for a window
12472 showing a buffer already is done on the same frame.
12473
12474 2012-03-27 Glenn Morris <rgm@gnu.org>
12475
12476 * startup.el (mail-host-address): Doc fix.
12477
12478 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12479
12480 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
12481 than 197 variables.
12482
12483 2012-03-26 Ami Fischman <ami@fischman.org>
12484
12485 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
12486
12487 2012-03-26 Glenn Morris <rgm@gnu.org>
12488
12489 * files.el (save-buffers-kill-emacs): Doc fix.
12490
12491 * startup.el (normal-top-level, command-line, command-line-1):
12492 Give them doc strings.
12493
12494 2012-03-25 Eli Zaretskii <eliz@gnu.org>
12495
12496 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
12497 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
12498
12499 2012-03-25 Chong Yidong <cyd@gnu.org>
12500
12501 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
12502 theme if it was previously enabled before (Bug#11031).
12503
12504 * cus-theme.el (custom-theme-write-faces): Retrieve current face
12505 spec with custom-face-get-current-spec if its :shown-value is not
12506 determined yet (Bug#9337).
12507 (customize-create-theme, custom-theme-revert): Doc fixes.
12508
12509 * button.el (button-at): Minor addition to docstring.
12510
12511 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
12512
12513 * vc/vc.el (vc-merge): Fix a prompt.
12514
12515 2012-03-24 Chong Yidong <cyd@gnu.org>
12516
12517 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
12518 point (Bug#9623).
12519
12520 * button.el (button-at): Minor addition to docstring.
12521
12522 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12523
12524 * newcomment.el (comment-choose-indent): No space after BOL.
12525
12526 2012-03-22 Sam Steingold <sds@gnu.org>
12527
12528 * window.el (switch-to-prev-buffer): Revert last patch because the
12529 bug turned out to be an advertised feature (Elisp manual 28.14).
12530
12531 2012-03-22 Glenn Morris <rgm@gnu.org>
12532
12533 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
12534 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
12535
12536 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12537
12538 * net/network-stream.el (network-stream-open-starttls): Make error
12539 message under Windows be less misleading.
12540
12541 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
12542
12543 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
12544 understands (bug#9942).
12545
12546 2012-03-22 Chong Yidong <cyd@gnu.org>
12547
12548 * simple.el (end-of-visible-line): Handle return value of
12549 next-single-property-change properly (Bug#9371).
12550
12551 2012-03-22 Kenichi Handa <handa@m17n.org>
12552
12553 * international/quail.el (quail-insert-kbd-layout): Fix previous
12554 change. To avoid unwanted bidi reordering, use
12555 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
12556
12557 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
12558
12559 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
12560 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
12561 (ruby-beginning-of-indent): Be more careful with the difference
12562 between word-boundary and symbol boundary.
12563 (ruby-mode-syntax-table): Make : a symbol constituent.
12564
12565 2012-03-21 Andreas Politz <politza@fh-trier.de>
12566
12567 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
12568
12569 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12570
12571 * progmodes/etags.el (tags-completion-at-point-function):
12572 Improve last fix.
12573
12574 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
12575
12576 2012-03-21 Sam Steingold <sds@gnu.org>
12577
12578 * progmodes/etags.el (tags-completion-at-point-function):
12579 Avoid the error when point is inside the pattern.
12580
12581 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
12582
12583 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
12584 line (Bug#10855).
12585
12586 2012-03-21 Drew Adams <drew.adams@oracle.com>
12587
12588 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
12589
12590 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
12591
12592 * ido.el (ido-set-current-directory, ido-read-internal)
12593 (ido-choose-completion-string, ido-completion-help): Handle nil
12594 value of ido-completion-buffer (Bug#11008).
12595
12596 2012-03-21 Sam Steingold <sds@gnu.org>
12597
12598 * window.el (switch-to-prev-buffer): Do not switch to a visible
12599 window previous buffer, just like with the frame previous buffers.
12600
12601 2012-03-21 Chong Yidong <cyd@gnu.org>
12602
12603 * faces.el (make-face, make-empty-face, copy-face):
12604 * face-remap.el (face-remap-add-relative, face-remap-set-base):
12605 Doc fixes.
12606
12607 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12608
12609 * wid-edit.el (widget-complete-field): Remove (bug#11051).
12610 (widget-complete): Remove broken use of it.
12611
12612 2012-03-20 Chong Yidong <cyd@gnu.org>
12613
12614 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12615 Use string-width and truncate-string-width to handle arbitrary
12616 characters.
12617
12618 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
12619
12620 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
12621 to draw rectangles, not squares. (Regression introduced by revno
12622 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
12623
12624 2012-03-18 Chong Yidong <cyd@gnu.org>
12625
12626 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
12627 it is not yet defined (for temacs).
12628
12629 2012-03-18 Leo Liu <sdl.web@gmail.com>
12630
12631 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
12632 prefix.
12633
12634 2012-03-17 Eli Zaretskii <eliz@gnu.org>
12635
12636 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
12637 (ispell-choices-win-default-height, ispell-silently-savep)
12638 (ispell-dictionary-alist, ispell-encoding8-command)
12639 (ispell-check-version, ispell-aspell-find-dictionary)
12640 (ispell-valid-dictionary-list, ispell-words-keyword)
12641 (ispell-get-word, ispell-internal-change-dictionary)
12642 (ispell-region, ispell-skip-region-list)
12643 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
12644 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
12645 (ispell-message-text-end, ispell-message)
12646 (ispell-buffer-local-parsing): Doc fix.
12647
12648 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
12649
12650 * htmlfontify.el: Add support for code block fontification for ODT
12651 export (Bug #9914).
12652 (hfy-optimisations): Define new option
12653 `body-text-only'
12654 (hfy-fontify-buffer): Honor above setting.
12655 (hfy-begin-span, hfy-end-span): New routines factored out form
12656 `hfy-fontify-buffer'.
12657 (hfy-begin-span-handler, hfy-end-span-handler): New variables
12658 that permit insertion of custom tags.
12659 (hfy-fontify-buffer): Use above handlers.
12660 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
12661 (hfy-face-to-css): Re-defined to be a variable.
12662 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
12663 over multiple runs. This is made possible by having the caller let
12664 bind a special variable `hfy-user-sheet-assoc'.
12665 (htmlfontify-string): New defun.
12666 (hfy-compile-face-map): Make sure that the last char in the
12667 buffer is correctly fontified.
12668 (hfy-face-resolve-face): Whitespace only change.
12669
12670 2012-03-17 Eli Zaretskii <eliz@gnu.org>
12671
12672 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
12673 message more clear.
12674
12675 2012-03-16 Leo Liu <sdl.web@gmail.com>
12676
12677 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
12678
12679 2012-03-16 Alan Mackenzie <acm@muc.de>
12680
12681 Further optimize the handling of large macros.
12682
12683 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
12684 limit to a call of `c-literal-limits'.
12685 (c-determine-+ve-limit): New function.
12686 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
12687 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
12688 In CASE 5B, restrict a search limit to 500.
12689 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
12690
12691 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
12692 Restrict macro bounds to +-500 from after-change's BEG END.
12693
12694 2012-03-16 Leo Liu <sdl.web@gmail.com>
12695
12696 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
12697
12698 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
12699
12700 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
12701 `special-mode' setting of `buffer-read-only'. (Bug#11010)
12702
12703 2012-03-16 Glenn Morris <rgm@gnu.org>
12704
12705 * view.el (view-buffer, view-buffer-other-window)
12706 (view-buffer-other-frame): Doc fixes re special mode-class.
12707
12708 * subr.el (eval-after-load): If named feature is provided not from
12709 a file, run after-load forms. (Bug#10946)
12710
12711 * calendar/calendar.el (calendar-insert-at-column):
12712 Handle non-unit-width characters a bit better. (Bug#10978)
12713
12714 2012-03-15 Chong Yidong <cyd@gnu.org>
12715
12716 * emacs-lisp/ring.el (ring-extend): New function.
12717 (ring-insert+extend): Extend the ring correctly (Bug#11019).
12718
12719 * comint.el (comint-read-input-ring)
12720 (comint-add-to-input-history): Grow comint-input-ring lazily.
12721
12722 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12723
12724 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
12725 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
12726
12727 * imenu.el: Fix multiple inheritance breakage (bug#9199).
12728 (imenu-add-to-menubar): Don't add a redundant index.
12729 (imenu-update-menubar): Handle a dynamically composed keymap.
12730
12731 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
12732
12733 * mail/sendmail.el (mail-encode-header):
12734 Bind rfc2047-encode-encoded-words to nil.
12735
12736 2012-03-13 Glenn Morris <rgm@gnu.org>
12737
12738 * calendar/calendar.el (calendar-string-spread):
12739 Handle non-unit-width characters a bit better. (Bug#10978)
12740
12741 2012-03-13 Leo Liu <sdl.web@gmail.com>
12742
12743 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
12744 directory and file as argument (Bug#10822).
12745
12746 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12747
12748 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
12749 For dynamically generated code, follow $PC.
12750 (gdb-disassembly-handler-custom): Handle no function name case.
12751
12752 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
12753
12754 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
12755 * emulation/ws-mode.el (ws-query-replace):
12756 * sort.el (sort-regexp-fields):
12757 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
12758
12759 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12760
12761 * dabbrev.el: Fix cycle completion order (bug#10963).
12762 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
12763 (dabbrev-completion): Don't use an obarray; provide
12764 a cycle-sort-function.
12765
12766 2012-03-12 Leo Liu <sdl.web@gmail.com>
12767
12768 * simple.el (kill-new): Use equal-including-properties for comparison.
12769 (kill-do-not-save-duplicates): Doc fix.
12770
12771 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12772
12773 * dabbrev.el: Fix cycle completion (bug#10963).
12774 Use lexical binding and wrap to 80 columns.
12775 (dabbrev-completion): Delay computing the list of completions.
12776
12777 2012-03-12 Kenichi Handa <handa@m17n.org>
12778
12779 * international/quail.el (quail-insert-kbd-layout): Surround each
12780 row by LRO and PDF instead of inserting many LRMs. Pad the left
12781 and right of each non-spacing marks. Insert invisible space
12782 between lower and upper characters to prevent composition.
12783
12784 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12785
12786 * minibuffer.el (minibuffer-complete): Don't get confused when the
12787 function is run twice via different commands (bug#10958).
12788 (complete-with-action): Fix docstring.
12789
12790 2012-03-12 Chong Yidong <cyd@gnu.org>
12791
12792 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
12793 (nxml-completion-at-point-function): New function.
12794 (nxml-mode): Use it.
12795 (nxml-bind-meta-tab-to-complete-flag): Default to t.
12796
12797 * emacs-lisp/package.el (package-unpack, package-unpack-single):
12798 Load generated autoloads file before byte compiling (Bug#10970).
12799 (package--make-autoloads-and-compile): New helper fun.
12800
12801 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
12802
12803 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
12804
12805 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
12806
12807 * autorevert.el (auto-revert-handler): Ensure, that
12808 file-readable-p is applied only for local files or in
12809 auto-revert-tail-mode.
12810
12811 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
12812
12813 * server.el (server-eval-at): Handle non-tcp connections.
12814 Decode result string.
12815
12816 * server.el (server-msg-size): New constant.
12817 (server-reply-print): New function.
12818 (server-eval-and-print): Use it.
12819 (server-eval-at): Use server-quote-arg and server-unquote-arg.
12820 Handle -print-nonl.
12821
12822 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
12823
12824 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
12825 (Bug#10987).
12826
12827 2012-03-11 Chong Yidong <cyd@gnu.org>
12828
12829 * simple.el (goto-line): Doc fix (Bug#9938).
12830
12831 * subr.el (save-window-excursion): Doc fix (Bug#9979).
12832
12833 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
12834 when finished (Bug#10963).
12835
12836 2012-03-11 Martin Rudalics <rudalics@gmx.at>
12837
12838 * window.el (split-window-below): Fix bug in case where
12839 split-window-keep-point is nil (Bug#10971).
12840
12841 2012-03-11 Juri Linkov <juri@jurta.org>
12842
12843 * replace.el (replace-highlight): Set isearch-word to nil
12844 unconditionally. (Bug#10887)
12845
12846 2012-03-10 Eli Zaretskii <eliz@gnu.org>
12847
12848 * net/mairix.el (mairix-replace-invalid-chars): Rename from
12849 mairix-replace-illegal-chars; all callers changed. Don't remove
12850 ^, ~, and = characters: they are meaningful in mairix search specs.
12851 (mairix-widget-create-query): Add usage information about mairix
12852 search forms: negating words, searching for substrings, etc.
12853
12854 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
12855
12856 * international/fontset.el (font-encoding-alist): Add an entry for
12857 ksx1001 (Bug#5667).
12858
12859 2012-03-10 Richard Stallman <rms@gnu.org>
12860
12861 * mail/sendmail.el (mail-encode-header):
12862 Set rfc2047-encode-encoded-words.
12863
12864 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
12865
12866 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
12867 view buffer means not swapped.
12868 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
12869 (rmail-write-region-annotate): Error if real text has disappeared.
12870
12871 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
12872
12873 2012-03-10 Chong Yidong <cyd@gnu.org>
12874
12875 * emulation/cua-rect.el (cua--init-rectangles):
12876 * emulation/cua-base.el (cua--init-keymaps):
12877 Add delete-forward-char to remappings (Bug#9666).
12878
12879 2012-03-10 Martin Rudalics <rudalics@gmx.at>
12880
12881 * speedbar.el (speedbar-unhighlight-one-tag-line):
12882 Avoid unhighlighting due to frame switching (Bug#10275).
12883
12884 2012-03-10 Chong Yidong <cyd@gnu.org>
12885
12886 * minibuffer.el (completion-in-region, completion-help-at-point):
12887 Give the completion field overlay a high priority (Bug#6830).
12888
12889 * dired.el (dired-goto-file): Recognize absolute file name
12890 listings (Bug#7126).
12891 (dired-goto-file-1): New helper function.
12892 (dired-toggle-read-only): Inhibit warnings.
12893
12894 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
12895
12896 * net/dbus.el (dbus-property-handler): Return empty array if
12897 there are no properties.
12898
12899 2012-03-09 Leo Liu <sdl.web@gmail.com>
12900
12901 * savehist.el (savehist-printable): Stricter check for string
12902 value (Bug#10937).
12903
12904 2012-03-09 Eli Zaretskii <eliz@gnu.org>
12905
12906 * mail/smtpmail.el (smtpmail-send-it):
12907 Bind coding-system-for-write to *-unix, so that FCC files are kept in
12908 valid mbox format.
12909
12910 2012-03-09 Glenn Morris <rgm@gnu.org>
12911
12912 * files.el (dir-locals-find-file):
12913 Don't check result is regular, readable.
12914 (dir-locals-read-from-file): Demote errors.
12915
12916 2012-03-08 Eli Zaretskii <eliz@gnu.org>
12917
12918 * international/quail.el (quail-insert-kbd-layout):
12919 Insert invisible LRM characters before each character in a keyboard
12920 layout cell, to prevent their reordering by bidi display engine.
12921 For details, see the discussion in
12922 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
12923
12924 2012-03-08 Alan Mackenzie <acm@muc.de>
12925
12926 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
12927 the starting position; make it extend the marked region when
12928 invoked repeatedly - all under appropriate circumstances.
12929 Fixes bugs #5525, #10906.
12930
12931 2012-03-08 Glenn Morris <rgm@gnu.org>
12932
12933 * files.el (locate-dominating-file, dir-locals-find-file):
12934 Undo 2012-03-06 change.
12935
12936 2012-03-07 Eli Zaretskii <eliz@gnu.org>
12937
12938 * international/quail.el (quail-help):
12939 Force bidi-paragraph-direction be left-to-right. See discussion in
12940 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
12941 for the reason.
12942
12943 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
12944
12945 Avoid superfluous registering of signals. (Bug#10807)
12946
12947 * notifications.el (notifications-on-action-object)
12948 (notifications-on-close-object): New defvars.
12949 (notifications-on-action-signal, notifications-on-closed-signal):
12950 Unregister the signal if not needed any longer.
12951 (notifications-notify): Register `notifications-action-signal' or
12952 `notifications-closed-signal', if :on-action or :on-close has been
12953 passed as argument.
12954
12955 2012-03-07 Chong Yidong <cyd@gnu.org>
12956
12957 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
12958 non-X platforms.
12959
12960 2012-03-06 Glenn Morris <rgm@gnu.org>
12961
12962 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12963 (x-disown-selection-internal, x-get-selection-internal):
12964 Doc fix (add arglist signatures). (Bug#10783)
12965
12966 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12967
12968 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
12969 Handle breakpoints with no "type".
12970
12971 2012-03-06 Glenn Morris <rgm@gnu.org>
12972
12973 * files.el (locate-dominating-file): Add optional predicate argument.
12974 (dir-locals-find-file): Make use of above change.
12975
12976 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
12977
12978 * info.el (Info-insert-dir): Also try "dir.gz".
12979
12980 2012-03-06 Glenn Morris <rgm@gnu.org>
12981
12982 * files.el (dir-locals-find-file):
12983 Ignore non-readable or non-regular files. (Bug#10928)
12984
12985 * files.el (locate-dominating-file): Doc fix.
12986
12987 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
12988
12989 * calendar/calendar.el (calendar-set-mode-line):
12990 `getenv' returns a string. (Bug#10951)
12991
12992 2012-03-05 Leo Liu <sdl.web@gmail.com>
12993
12994 * simple.el (backward-delete-char-untabify): Constrain point to
12995 field (Bug#10939).
12996
12997 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
12998
12999 2012-03-05 Chong Yidong <cyd@gnu.org>
13000
13001 * simple.el (count-words): If called from Lisp, return the word
13002 count, for symmetry with `count-lines'. Arglist changed.
13003 (count-words--message): Args changed. Consolidate counting code
13004 from count-words and count-words-region.
13005 (count-words-region): Caller changed.
13006 (count-lines-region): Make it an obsolete alias.
13007
13008 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13009
13010 * saveplace.el (save-place-to-alist)
13011 (save-place-ignore-files-regexp): Allow value nil to disable this
13012 feature.
13013
13014 2012-03-04 Chong Yidong <cyd@gnu.org>
13015
13016 * faces.el (face-spec-reset-face): For the default face, reset the
13017 attributes to default values (Bug#10748).
13018
13019 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13020
13021 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13022 previous patch: Check `message-send-mail-function', and not the
13023 default function (bug#10897).
13024
13025 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
13026
13027 * notifications.el (notifications-on-action-signal)
13028 (notifications-on-closed-signal): Check for unique service name of
13029 incoming event. Fix error in removing entry.
13030 (top): Register for signals with wildcard service name.
13031 (notifications-notify): Use daemon unique service name for map entries.
13032
13033 2012-03-04 Chong Yidong <cyd@gnu.org>
13034
13035 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
13036
13037 2012-03-04 Glenn Morris <rgm@gnu.org>
13038
13039 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13040 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13041 (expand-abbrev, define-abbrev-table): Doc fixes.
13042
13043 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13044
13045 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13046 `message-default-send-mail-function' and not `send-mail-function'
13047 when doing the prompting for `sendmail-query-once' before sending
13048 in Message buffers (bug#10897).
13049
13050 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13051 This is inconsistent with all the other stream functions, which leave
13052 the setting up to the higher levels (if so wanted) (bug#10931).
13053
13054 2012-03-02 Alan Mackenzie <acm@muc.de>
13055
13056 Depessimize the handling of very large macros.
13057
13058 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13059 (c-macro-cache-syntactic): New variables to implement a one
13060 element macro cache.
13061 (c-invalidate-macro-cache): New function.
13062 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13063 Adapt to use the new cache.
13064 (c-state-safe-place): Use better the cache of safe positions.
13065 (c-state-semi-nonlit-pos-cache)
13066 (c-state-semi-nonlit-pos-cache-limit):
13067 New variables for...
13068 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13069 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
13070 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13071 Use c-state-semi-safe-place.
13072
13073 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13074 Add c-invalidate-macro-cache to the C, C++, Obj entries.
13075
13076 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
13077
13078 * jka-compr.el (jka-compr-call-process):
13079 Apply `file-accessible-directory-p' only when the default directory is
13080 not remote.
13081
13082 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
13083
13084 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13085 access of FILE2, if FILE1 does not exist.
13086
13087 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13088 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13089
13090 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13091 Add "PAGER=" to `process-environment'.
13092
13093 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13094
13095 * progmodes/sql.el: Bug fix
13096 (sql-get-login-ext): Save login values in globals.
13097 (sql-get-login): Use new version of `sql-get-login-ext'.
13098 (sql-interactive-mode): Set global `sql-connection' to nil.
13099 (sql-connect): Set global values for connection.
13100 (sql-product-interactive): Save global values as buffer local.
13101
13102 2012-02-29 Leo Liu <sdl.web@gmail.com>
13103
13104 * abbrev.el (define-abbrevs): Reset sys to nil.
13105
13106 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13107
13108 * files.el (file-equal-p): Rename from `files-equal-p'.
13109 Return nil when one or both files don't exist.
13110 (file-subdir-of-p): Now only top directory must exists,
13111 return nil if it doesn't.
13112 (copy-directory): No need to test with `file-subdir-of-p' after
13113 creating dir.
13114 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
13115 to `file-equal-p'.
13116
13117 2012-02-28 Glenn Morris <rgm@gnu.org>
13118
13119 * shell.el (shell-mode):
13120 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
13121 * play/landmark.el (landmark-font-lock-face-O):
13122 * play/handwrite.el (handwrite):
13123 * play/gomoku.el (gomoku-O):
13124 * net/browse-url.el (browse-url-browser-display):
13125 * international/mule.el (define-charset):
13126 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
13127 * filesets.el (filesets-find-file-delay):
13128 * eshell/em-xtra.el (eshell-xtra):
13129 * eshell/em-unix.el (eshell-grep):
13130 * emulation/viper.el (viper-mode):
13131 * emacs-lisp/regexp-opt.el (regexp-opt-group):
13132 * emacs-lisp/easymenu.el (easy-menu-define):
13133 * calendar/timeclock.el (timeclock-use-display-time):
13134 * bs.el (bs-mode):
13135 * bookmark.el (bookmark-save-flag):
13136 Doc fix (standardize possessive apostrophe usage).
13137
13138 2012-02-27 Chong Yidong <cyd@gnu.org>
13139
13140 * emulation/viper-cmd.el (viper-intercept-ESC-key):
13141 Fix key-binding lookup for ESC key (Bug#9146).
13142
13143 * font-lock.el (font-lock-specified-p): Rename from
13144 font-lock-spec-present. Callers changed.
13145
13146 2012-02-27 Daniel Hackney <dan@haxney.org>
13147
13148 * emacs-lisp/package.el (package-compute-transaction):
13149 Handle holding a package version to t in package-load-list.
13150
13151 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
13152
13153 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13154 (tramp-get-inode, tramp-get-device): Use cached values.
13155
13156 2012-02-26 Alan Mackenzie <acm@muc.de>
13157
13158 Check there is a font-lock specification before doing initial
13159 fontification.
13160
13161 * font-core.el (font-lock-mode): Move the conditional from
13162 :after-hook to font-lock-initial-fontify.
13163 (font-lock-default-function): Move the check for a specification
13164 to font-lock-spec-present.
13165
13166 * font-lock.el (font-lock-initial-fontify): Call ...
13167 (font-lock-spec-present): New function.
13168
13169 2012-02-26 Jim Blandy <jimb@red-bean.com>
13170
13171 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13172 (gdb-send): Apply it to the operand of the '-interpreter-exec
13173 console' command, so that we can pass arguments with (say) quotes
13174 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13175
13176 2012-02-26 Chong Yidong <cyd@gnu.org>
13177
13178 * help-fns.el (describe-function-1): Clarify description of
13179 remapping (Bug#10844).
13180
13181 * files.el (files-equal-p): Doc fix.
13182 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13183 and quit the loop once a mismatch is found.
13184
13185 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
13186
13187 * bs.el (bs--show-with-configuration): Don't throw an error
13188 if the window cannot be split; otherwise, subsequent calls to
13189 bs-show fail, restoring a stale window config. (Bug#10882)
13190
13191 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13192
13193 * term/ns-win.el (global-map): Bind ns-drag-file to
13194 ns-find-file (Bug#5855, Bug#10050).
13195
13196 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13197
13198 * calendar/parse-time.el (parse-time-string): Allow extractor to
13199 return nil.
13200
13201 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
13202
13203 * net/tramp.el (tramp-file-name-for-operation):
13204 Add `files-equal-p' and `file-subdir-of-p'.
13205
13206 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13207 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13208 Add COPY-CONTENTS argument.
13209
13210 2012-02-25 Chong Yidong <cyd@gnu.org>
13211
13212 Add custom groups for VC backends, for consistency with vc-bzr.
13213
13214 * vc/vc-arch.el (vc-arch):
13215 * vc/vc-cvs.el (vc-cvs):
13216 * vc/vc-git.el (vc-git):
13217 * vc/vc-hg.el (vc-hg):
13218 * vc/vc-mtn.el (vc-mtn):
13219 * vc/vc-rcs.el (vc-rcs):
13220 * vc/vc-sccs.el (vc-sccs):
13221 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13222 All relevant defcustoms reassigned.
13223
13224 2012-02-25 Chong Yidong <cyd@gnu.org>
13225
13226 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13227
13228 * term/x-win.el (x-initialize-window-system): Reduce default for
13229 x-selection-timeout to 5 seconds (Bug#8869).
13230
13231 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13232
13233 * files.el (files-equal-p, file-subdir-of-p): New functions.
13234 (copy-directory): Error when trying to copy a directory on itself.
13235 Add missing copy-contents arg to tramp handler.
13236 * dired-aux.el (dired-copy-file-recursive): Same.
13237 (dired-create-files): Modify destination when source is equal to
13238 dest when copying files.
13239 Return also when dest is a subdir of source. (Bug#10489)
13240
13241 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
13242
13243 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13244 (Bug#10874)
13245
13246 2012-02-23 Alan Mackenzie <acm@muc.de>
13247
13248 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13249 parameter "after-hook:" to allow the expansion to run code after
13250 the execution of the mode hooks.
13251
13252 * font-lock.el (font-lock-initial-fontify): New function extracted
13253 from font-lock-mode-internal.
13254
13255 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
13256 :after-hook.
13257
13258 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13259
13260 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13261 (completion--cache-all-sorted-completions): New function.
13262 (completion-all-sorted-completions): Use it.
13263 (completion--do-completion, minibuffer-force-complete):
13264 Use it to re-instate the flush hook.
13265
13266 * icomplete.el (icomplete-completions): Replace last fix with a better
13267 one (bug#10850).
13268
13269 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13270
13271 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13272 when it might call us back infinitely (bug#10797).
13273
13274 2012-02-23 Glenn Morris <rgm@gnu.org>
13275
13276 * minibuffer.el (completion-category-overrides): Doc fix.
13277
13278 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13279
13280 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13281 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13282
13283 2012-02-23 Glenn Morris <rgm@gnu.org>
13284
13285 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
13286 (authors-obsolete-files-regexps, authors-ignored-files)
13287 (authors-ambiguous-files, authors-renamed-files-alist):
13288 Add more entries.
13289
13290 2012-02-23 Juri Linkov <juri@jurta.org>
13291
13292 * isearch.el (isearch-occur): Sync interactive spec with occur's
13293 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13294
13295 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13296
13297 2012-02-22 Juri Linkov <juri@jurta.org>
13298
13299 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13300 (ucs-insert): Doc fix. Check for hex digits in the string.
13301 Don't display `nil' in the error message. (Bug#10857)
13302
13303 2012-02-22 Alan Mackenzie <acm@muc.de>
13304
13305 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
13306
13307 2012-02-22 Glenn Morris <rgm@gnu.org>
13308
13309 * ffap.el (ffap-c-path):
13310 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13311
13312 2012-02-22 Chong Yidong <cyd@gnu.org>
13313
13314 * custom.el (load-theme): Doc fix.
13315
13316 2012-02-22 Glenn Morris <rgm@gnu.org>
13317
13318 * dired-x.el (dired-guess-shell-alist-default):
13319 Remove escape sequences from nroff output. (Bug#172)
13320
13321 2012-02-21 Glenn Morris <rgm@gnu.org>
13322
13323 * vc/emerge.el (emerge-defvar-local):
13324 Set `permanent-local' property rather than unused `preserved'.
13325
13326 * textmodes/picture.el (picture-delete-char): New alias.
13327 (picture-mode-map): Use it. (Bug#10860)
13328 (picture-mode): Doc fix.
13329
13330 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
13331
13332 * newcomment.el (uncomment-region-default): Remove unused binding.
13333
13334 2012-02-21 Glenn Morris <rgm@gnu.org>
13335
13336 * textmodes/picture.el (picture-motion, picture-motion-reverse)
13337 (picture-self-insert, picture-tab-chars): Doc fix.
13338 (picture-mode-map): Fix C-a, C-e.
13339
13340 2012-02-20 Glenn Morris <rgm@gnu.org>
13341
13342 * emacs-lisp/authors.el (authors-aliases): Add another entry.
13343
13344 2012-02-20 Leo Liu <sdl.web@gmail.com>
13345
13346 * icomplete.el (icomplete-completions): Check FROM arg before
13347 passing to substring (Bug#10850).
13348
13349 2012-02-19 Chong Yidong <cyd@gnu.org>
13350
13351 * comint.el: Require ansi-color.
13352 (comint-output-filter-functions): Add ansi-color-process-output.
13353
13354 * ansi-color.el: Don't set comint-output-filter-functions; it is
13355 now in the initial value defined in comint.el.
13356 (ansi-color-apply-face-function): New variable.
13357 (ansi-color-apply-on-region): Use it.
13358 (ansi-color-apply-overlay-face): New function.
13359
13360 * shell.el (shell): No need to require ansi-color.
13361 (shell-mode): Use ansi-color-apply-face-function to highlight
13362 color escapes using font-lock-face property (Bug#10835).
13363
13364 2012-02-19 Chong Yidong <cyd@gnu.org>
13365
13366 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
13367 mode-line formats (Bug#10839).
13368
13369 2012-02-18 Glenn Morris <rgm@gnu.org>
13370
13371 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
13372
13373 * mail/undigest.el (unforward-rmail-message): Doc fix.
13374
13375 * saveplace.el (save-place-ignore-files-regexp): Add :version.
13376
13377 2012-02-18 Eli Zaretskii <eliz@gnu.org>
13378
13379 * international/characters.el (script-list): Sync with the latest
13380 Unicode Character Database.
13381
13382 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
13383
13384 * international/titdic-cnv.el: Remove duplicate coding tag.
13385 * language/cham.el: Likewise.
13386 * language/tai-viet.el: Likewise.
13387
13388 2012-02-18 Glenn Morris <rgm@gnu.org>
13389
13390 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
13391 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
13392 (calendar-bahai-all-holidays-flag, calendar-other-dates):
13393 * calendar/diary-lib.el (diary-abbreviated-year-flag):
13394 * calendar/holidays.el (holiday-bahai-holidays)
13395 (calendar-holidays, list-holidays):
13396 Use utf-8 Bahá'í in doc-strings, menus, etc.
13397
13398 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
13399
13400 * saveplace.el (save-place-ignore-files-regexp): New variable
13401 allowing for excluding files from saving their location of point.
13402 The default value matches the temporary commit message editing
13403 files from Git, SVN, Bazaar, and Mercurial.
13404 (save-place-to-alist): Use it.
13405
13406 2012-02-17 Lawrence Mitchell <wence@gmx.li>
13407 Stefan Monnier <monnier@iro.umontreal.ca>
13408
13409 * newcomment.el (uncomment-region-default): Don't leave extra space
13410 when an arg is provided (bug#8150).
13411
13412 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
13413
13414 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
13415
13416 2012-02-17 Glenn Morris <rgm@gnu.org>
13417
13418 * net/socks.el: Require network-stream. (Bug#10599)
13419
13420 2012-02-17 Kenichi Handa <handa@m17n.org>
13421
13422 * international/charprop.el:
13423 * international/uni-name.el:
13424 * international/uni-old-name.el:
13425 * international/uni-comment.el: Regenerate.
13426
13427 2012-02-16 Glenn Morris <rgm@gnu.org>
13428
13429 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
13430 Interactively in calendar buffer, give an error if not on a date.
13431
13432 2012-02-15 Glenn Morris <rgm@gnu.org>
13433
13434 * shell.el (shell-delimiter-argument-list):
13435 Revert 2011-02-17 change. (Bug#8027)
13436
13437 2012-02-15 Chong Yidong <cyd@gnu.org>
13438
13439 * minibuffer.el (completion-at-point-functions): Doc fix.
13440
13441 * custom.el (defcustom): Doc fix; note use of defvar.
13442
13443 2012-02-15 Glenn Morris <rgm@gnu.org>
13444
13445 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
13446 Doc fixes.
13447
13448 2012-02-14 Glenn Morris <rgm@gnu.org>
13449
13450 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
13451
13452 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
13453
13454 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
13455 way the ports list is computed.
13456 (smtpmail-query-smtp-server): Prompt the user for a port number if
13457 we can't connect to any of the standard ports (bug#10810).
13458
13459 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
13460
13461 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
13462
13463 2012-02-13 Glenn Morris <rgm@gnu.org>
13464
13465 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
13466
13467 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
13468
13469 * net/gnutls.el (gnutls-trustfiles): New variable.
13470 (gnutls-negotiate): Use it.
13471
13472 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
13473
13474 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
13475 does its stuff if Gnus is running.
13476
13477 2012-02-13 Alan Mackenzie <acm@muc.de>
13478
13479 Fix a loop in c-set-fl-decl-start.
13480
13481 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
13482 c-backward-syntactic-ws actually moves backwards.
13483
13484 2012-02-13 Leo Liu <sdl.web@gmail.com>
13485
13486 * net/rcirc.el (rcirc-markup-attributes): Move point to the
13487 beginning so that all \C-o chars are removed.
13488
13489 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
13490
13491 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
13492
13493 2012-02-12 Alan Mackenzie <acm@muc.de>
13494
13495 Fix infinite loop with long macros.
13496 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
13497
13498 2012-02-12 Chong Yidong <cyd@gnu.org>
13499
13500 * window.el (display-buffer): Doc fix (Bug#10785).
13501
13502 2012-02-12 Glenn Morris <rgm@gnu.org>
13503
13504 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13505 (x-disown-selection-internal, x-get-selection-internal):
13506 Sync docs with the xselect.c versions.
13507
13508 * allout-widgets.el: Add missing license notice.
13509
13510 2012-02-11 Glenn Morris <rgm@gnu.org>
13511
13512 * select.el (x-get-selection-internal, x-own-selection-internal)
13513 (x-disown-selection-internal):
13514 * x-dnd.el (x-get-selection-internal): Update declarations.
13515
13516 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
13517
13518 * window.el (window-sides-slots):
13519 * tool-bar.el (tool-bar-position):
13520 * term/xterm.el (xterm-extra-capabilities):
13521 * ses.el (ses-self-reference-early-detection):
13522 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
13523 (verilog-auto-wire-type)
13524 (verilog-auto-delete-trailing-whitespace)
13525 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
13526 (verilog-auto-tieoff-declaration):
13527 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
13528 (sql-oracle-statement-starters, sql-oracle-scan-on):
13529 * progmodes/prolog.el (prolog-align-comments-flag)
13530 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
13531 (prolog-left-indent-regexp, prolog-paren-indent-p)
13532 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
13533 (prolog-types, prolog-mode-specificators)
13534 (prolog-determinism-specificators, prolog-directives)
13535 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
13536 (prolog-electric-dot-flag)
13537 (prolog-electric-dot-full-predicate-template)
13538 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
13539 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
13540 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
13541 (prolog-program-switches, prolog-prompt-regexp)
13542 (prolog-debug-on-string, prolog-debug-off-string)
13543 (prolog-trace-on-string, prolog-trace-off-string)
13544 (prolog-zip-on-string, prolog-zip-off-string)
13545 (prolog-use-standard-consult-compile-method-flag)
13546 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
13547 (prolog-imenu-max-lines, prolog-info-predicate-index)
13548 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
13549 (prolog-char-quote-workaround):
13550 * progmodes/cc-vars.el (c-defun-tactic):
13551 * net/tramp.el (tramp-encoding-command-interactive)
13552 (tramp-local-end-of-line):
13553 * net/soap-client.el (soap-client):
13554 * net/netrc.el (netrc-file):
13555 * net/gnutls.el (gnutls):
13556 * minibuffer.el (completion-category-overrides)
13557 (completion-cycle-threshold)
13558 (completion-pcm-complete-word-inserts-delimiters):
13559 * man.el (Man-name-local-regexp):
13560 * mail/feedmail.el (feedmail-display-full-frame):
13561 * international/characters.el (glyphless-char-display-control):
13562 * eshell/em-ls.el (eshell-ls-date-format):
13563 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
13564 (lisp-lambda-list-keyword-parameter-indentation)
13565 (lisp-lambda-list-keyword-parameter-alignment):
13566 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
13567 * dired-x.el (dired-omit-verbose):
13568 * cus-theme.el (custom-theme-allow-multiple-selections):
13569 * calc/calc.el (calc-highlight-selections-with-faces)
13570 (calc-lu-field-reference, calc-lu-power-reference)
13571 (calc-note-threshold):
13572 * battery.el (battery-mode-line-limit):
13573 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
13574 (archive-7z-update):
13575 * allout.el (allout-prefixed-keybindings)
13576 (allout-unprefixed-keybindings)
13577 (allout-inhibit-auto-fill-on-headline)
13578 (allout-flattened-numbering-abbreviation):
13579 * allout-widgets.el (allout-widgets-auto-activation)
13580 (allout-widgets-icons-dark-subdir)
13581 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
13582 (allout-widgets-theme-dark-background)
13583 (allout-widgets-theme-light-background)
13584 (allout-widgets-item-image-properties-emacs)
13585 (allout-widgets-item-image-properties-xemacs)
13586 (allout-widgets-run-unit-tests-on-load)
13587 (allout-widgets-time-decoration-activity)
13588 (allout-widgets-hook-error-post-time)
13589 (allout-widgets-track-decoration):
13590 Add missing :version tags to new defcustoms and defgroups.
13591
13592 * progmodes/sql.el (sql-ansi-statement-starters)
13593 (sql-oracle-statement-starters): Add custom type.
13594
13595 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
13596 (prolog-system-version): Give it a type.
13597
13598 2012-02-11 Eli Zaretskii <eliz@gnu.org>
13599
13600 * term/pc-win.el (x-select-text, x-selection-owner-p)
13601 (x-own-selection-internal, x-disown-selection-internal)
13602 (x-get-selection-internal): Sync doc strings and argument lists
13603 with xselect.c, common-win.el and x-win.el. (Bug#10783)
13604
13605 2012-02-11 Leo Liu <sdl.web@gmail.com>
13606
13607 * progmodes/python.el (python-end-of-statement): Fix infinite
13608 loop. (Bug#10788)
13609
13610 2012-02-10 Glenn Morris <rgm@gnu.org>
13611
13612 * international/mule-cmds.el (unify-8859-on-encoding-mode)
13613 (unify-8859-on-decoding-mode): Properly mark as obsolete.
13614
13615 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
13616
13617 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
13618 about SMTP before checking the From header.
13619
13620 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
13621 into own function for reuse by emacsbug.el.
13622
13623 2012-02-10 Leo Liu <sdl.web@gmail.com>
13624
13625 * subr.el (condition-case-unless-debug): Rename from
13626 condition-case-no-debug. All callers changed.
13627 (with-demoted-errors): Fix caller.
13628
13629 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
13630 * nxml/rng-valid.el (rng-do-some-validation):
13631 * emacs-lisp/package.el (package-refresh-contents)
13632 (package-menu-execute):
13633 * desktop.el (desktop-create-buffer):
13634 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
13635
13636 2012-02-10 Glenn Morris <rgm@gnu.org>
13637
13638 * textmodes/bibtex.el:
13639 Add missing :version tags for new/changed defcustoms.
13640
13641 * files.el (remote-file-name-inhibit-cache): Doc fixes.
13642
13643 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
13644
13645 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
13646 (smtpmail-via-smtp): Use it, or fall back on the From address.
13647 (smtpmail-send-it): Ditto.
13648
13649 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
13650
13651 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
13652 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
13653 (byte-compile-tmp-var): New const.
13654 (byte-compile-defvar): Use it to minimize .elc size.
13655 Just use `defvar' rather than simulate it (bug#10761).
13656
13657 2012-02-09 Glenn Morris <rgm@gnu.org>
13658
13659 * files.el (rename-uniquely): Doc fix. (Bug#3806)
13660
13661 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
13662 Add :version tags.
13663
13664 * progmodes/compile.el (compilation-error-screen-columns)
13665 (compilation-first-column, compilation-filter-start): Doc fixes.
13666
13667 * vc/log-view.el (log-view-toggle-entry-display):
13668 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
13669
13670 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
13671 (report-emacs-bug-can-use-xdg-email):
13672 (report-emacs-bug-insert-to-mailer): Doc fixes.
13673 (report-emacs-bug): Message fix.
13674
13675 * net/browse-url.el (browse-url-can-use-xdg-open)
13676 (browse-url-xdg-open): Doc fixes.
13677
13678 * electric.el (electric-indent-mode, electric-pair-mode)
13679 (electric-layout-rules, electric-layout-mode): Doc fixes.
13680 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
13681
13682 2012-02-08 Martin Rudalics <rudalics@gmx.at>
13683
13684 * server.el (server-unselect-display): Don't inadvertently kill
13685 the current buffer. (Bug#10729)
13686
13687 2012-02-08 Glenn Morris <rgm@gnu.org>
13688
13689 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
13690 (sql-list-table): Doc fixes.
13691
13692 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
13693 Comment out (does nothing).
13694
13695 * completion.el (dynamic-completion-mode):
13696 * dirtrack.el (dirtrack-debug-mode):
13697 * electric.el (electric-layout-mode):
13698 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
13699 * face-remap.el (text-scale-mode, buffer-face-mode):
13700 * iimage.el (iimage-mode):
13701 * image-mode.el (image-transform-mode):
13702 * minibuffer.el (completion-in-region-mode):
13703 * scroll-lock.el (scroll-lock-mode):
13704 * simple.el (next-error-follow-minor-mode):
13705 * tar-mode.el (tar-subfile-mode):
13706 * tooltip.el (tooltip-mode):
13707 * vcursor.el (vcursor-use-vcursor-map):
13708 * wid-browse.el (widget-minor-mode):
13709 * emulation/tpu-edt.el (tpu-edt-mode):
13710 * emulation/tpu-extras.el (tpu-cursor-free-mode):
13711 * international/iso-ascii.el (iso-ascii-mode):
13712 * language/thai-util.el (thai-word-mode):
13713 * mail/supercite.el (sc-minor-mode):
13714 * net/goto-addr.el (goto-address-mode):
13715 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
13716 * progmodes/cwarn.el (cwarn-mode):
13717 * progmodes/flymake.el (flymake-mode):
13718 * progmodes/glasses.el (glasses-mode):
13719 * progmodes/hideshow.el (hs-minor-mode):
13720 * progmodes/pascal.el (pascal-outline-mode):
13721 * textmodes/enriched.el (enriched-mode):
13722 * vc/smerge-mode.el (smerge-mode):
13723 Doc fixes (minor mode argument).
13724
13725 2012-02-07 Eli Zaretskii <eliz@gnu.org>
13726
13727 * ls-lisp.el (ls-lisp-sanitize): New function.
13728 (ls-lisp-insert-directory): Use it to fix or remove any elements
13729 in file-alist with missing attributes. (Bug#4673)
13730
13731 2012-02-07 Alan Mackenzie <acm@muc.de>
13732
13733 Fix spurious recognition of c-in-knr-argdecl.
13734
13735 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
13736 putative K&R region.
13737
13738 2012-02-07 Alan Mackenzie <acm@muc.de>
13739
13740 * progmodes/cc-engine.el (c-forward-objc-directive):
13741 Prevent looping in "#pragma mark @implementation".
13742
13743 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
13744
13745 * notifications.el (notifications-on-closed-signal): Make `reason'
13746 optional. (Bug#10744)
13747
13748 2012-02-07 Glenn Morris <rgm@gnu.org>
13749
13750 * emacs-lisp/easy-mmode.el (define-minor-mode):
13751 Doc fixes for the macro and the mode it defines.
13752
13753 * image.el (imagemagick-types-inhibit): Doc fix.
13754
13755 * cus-start.el (imagemagick-render-type): Add it.
13756
13757 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
13758
13759 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
13760 Set the default at load time, too, so that `font-lock-fontify-buffer'
13761 can be called without setting up the entire mode first. This fixes
13762 a bug in `mm-inline-text' with C MIME parts.
13763
13764 2012-02-06 Chong Yidong <cyd@gnu.org>
13765
13766 * simple.el (list-processes--refresh): Delete exited processes
13767 (Bug#8094).
13768
13769 * comint.el (comint-next-prompt): next-single-char-property-change
13770 and prev-single-char-property-change never return nil (Bug#8657).
13771
13772 * custom.el (defcustom): Doc fix (Bug#9711).
13773
13774 2012-02-05 Chong Yidong <cyd@gnu.org>
13775
13776 * cus-edit.el (custom-variable-reset-backup): Quote the value
13777 before storing it in the customized-value property (Bug#6712).
13778 (custom-display): Add a customization type tag.
13779 (custom-buffer-create-internal): Improve tooltip message.
13780
13781 * wid-edit.el (widget-field-value-get): New optional arg to
13782 suppress trailing whitespace truncation.
13783 (character): Use it (Bug#2689).
13784
13785 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
13786
13787 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
13788 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
13789
13790 2012-02-05 Chong Yidong <cyd@gnu.org>
13791
13792 * cus-edit.el (custom-variable-value-create): For mismatched
13793 types, show the current value (Bug#7600).
13794
13795 * custom.el (defcustom): Doc fix.
13796
13797 2012-02-05 Glenn Morris <rgm@gnu.org>
13798
13799 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
13800
13801 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
13802
13803 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
13804 (pp-buffer): Use `ignore-errors', `looking-at-p'.
13805 (pp-last-sexp): Use `looking-at-p'.
13806
13807 2012-02-04 Glenn Morris <rgm@gnu.org>
13808
13809 * files.el (revert-buffer):
13810 Doc fix (mention revert-buffer-in-progress-p).
13811
13812 * emacs-lisp/ert-x.el (ert-simulate-command):
13813 Check deferred-action-list (which is obsolete) is bound.
13814
13815 * subr.el (with-wrapper-hook): Doc fixes.
13816
13817 * simple.el (filter-buffer-substring-functions)
13818 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
13819
13820 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
13821
13822 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
13823 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
13824
13825 2012-02-04 Leo Liu <sdl.web@gmail.com>
13826
13827 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
13828
13829 2012-02-04 Glenn Morris <rgm@gnu.org>
13830
13831 * image.el (image-extension-data): Add obsolete alias.
13832
13833 * isearch.el (isearch-update): Doc fix.
13834
13835 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
13836
13837 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
13838
13839 2012-02-03 Glenn Morris <rgm@gnu.org>
13840
13841 * image.el (image-animated-p): Doc fix. Use image-animated-types.
13842 (image-animate-timeout): Doc fix.
13843
13844 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
13845
13846 2012-02-02 Glenn Morris <rgm@gnu.org>
13847
13848 * server.el (server-auth-dir): Doc fix.
13849 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
13850
13851 * subr.el (run-mode-hooks): Doc fix.
13852
13853 2012-02-02 Juri Linkov <juri@jurta.org>
13854
13855 * image-mode.el (image-toggle-display-image): Remove tautological
13856 `major-mode' from the `derived-mode-p' test.
13857
13858 2012-02-02 Kenichi Handa <handa@m17n.org>
13859
13860 * composite.el (compose-region): Cancel previous change.
13861
13862 2012-02-02 Kenichi Handa <handa@m17n.org>
13863
13864 * composite.el (compose-region, compose-string): Signal error for
13865 a null string component (Bug#6988).
13866
13867 2012-02-01 Chong Yidong <cyd@gnu.org>
13868
13869 * view.el (view-buffer-other-window, view-buffer-other-frame):
13870 Handle special modes like view-buffer (Bug#10650).
13871 (view-buffer): Simplify.
13872
13873 * frame.el (set-frame-font): Tweak meaning of third argument.
13874
13875 * dynamic-setting.el (font-setting-change-default-font):
13876 Use set-frame-font (Bug#9982).
13877
13878 2012-02-01 Glenn Morris <rgm@gnu.org>
13879
13880 * progmodes/compile.el (compilation-internal-error-properties):
13881 Respect compilation-first-column in the "*compilation*" buffer.
13882
13883 * emacs-lisp/easy-mmode.el (define-minor-mode):
13884 Relax :variable's test for a named function.
13885
13886 2012-01-31 Alan Mackenzie <acm@muc.de>
13887
13888 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
13889 off by one error.
13890
13891 2012-01-31 Chong Yidong <cyd@gnu.org>
13892
13893 * frame.el (set-frame-font): New arg ALL-FRAMES.
13894
13895 * menu-bar.el (menu-set-font): Use set-frame-font.
13896
13897 * faces.el (face-spec-reset-face): Don't apply unspecified
13898 attribute values to the default face.
13899
13900 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
13901
13902 * progmodes/cwarn.el (cwarn): Remove dead link.
13903 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
13904 Remove * from defcustom docstrings.
13905 (turn-on-cwarn-mode): Make obsolete.
13906 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
13907 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
13908
13909 2012-01-31 Glenn Morris <rgm@gnu.org>
13910
13911 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
13912 Fix :variable handling of mode a symbol not equal to modefun.
13913 Allow named functions to be used as the cdr of :variable.
13914
13915 2012-01-30 Glenn Morris <rgm@gnu.org>
13916
13917 * emacs-lisp/authors.el (authors-fixed-entries):
13918 Remove reference to deleted file rnewspost.el.
13919
13920 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
13921
13922 * window.el (window-with-parameter): Remove unused variable `windows'.
13923 (window--side-check): Remove unused variable `code'.
13924 (window--resize-siblings): Remove unused variable `first'.
13925 (adjust-window-trailing-edge): Remove unused variable `failed'.
13926 (window-deletable-p, window--delete): Remove unused variable `buffer'.
13927 Use `let', not `let*'.
13928 (balance-windows-2): Remove unused variable `found'.
13929 (window--state-put-2): Remove unused variable `splits'.
13930 (window-state-put): Remove unused variable `selected'.
13931 (same-window-p): Use `string-match-p'.
13932 (display-buffer-assq-regexp): Remove unused variable `value'.
13933 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13934 Mark argument ALIST as ignored.
13935 (pop-to-buffer): Remove unused variable `old-window'.
13936
13937 2012-01-29 Eli Zaretskii <eliz@gnu.org>
13938
13939 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
13940 and .lzma compressed files.
13941
13942 2012-01-29 Chong Yidong <cyd@gnu.org>
13943
13944 * frame.el (window-system-default-frame-alist): Doc fix.
13945
13946 * dynamic-setting.el (font-setting-change-default-font): Don't
13947 change the default face if SET-FONT argument is non-nil (Bug#9982).
13948
13949 2012-01-29 Samuel Bronson <naesten@gmail.com>
13950
13951 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
13952
13953 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
13954
13955 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
13956 breakpoints in files outside current directory (Bug#6098).
13957
13958 2012-01-29 Chong Yidong <cyd@gnu.org>
13959
13960 * progmodes/python.el: Require ansi-color at top-level.
13961
13962 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
13963 Define and use in Emacs Lisp mode (Bug#9360).
13964 (lisp-mode-abbrev-table): Add doc.
13965 (lisp-mode-variables): Don't set local-abbrev-table.
13966 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
13967
13968 2012-01-28 Roland Winkler <winkler@gnu.org>
13969
13970 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
13971
13972 2012-01-28 Roland Winkler <winkler@gnu.org>
13973
13974 * textmodes/bibtex.el (bibtex-entry-alist): New function.
13975 (bibtex-set-dialect): Use it. Either set global values of
13976 dialect-dependent variables or bind these variables buffer-locally
13977 (Bug#10254).
13978 (bibtex-mode): Call bibtex-set-dialect via
13979 hack-local-variables-hook.
13980 (bibtex-dialect): Update docstring.
13981 Add safe-local-variable predicate.
13982 (bibtex-entry-alist, bibtex-field-alist): Initialize via
13983 bibtex-set-dialect.
13984 (bibtex-mode-map): Define menu for each dialect.
13985 (bibtex-entry): Fix docstring.
13986
13987 2012-01-28 Chong Yidong <cyd@gnu.org>
13988
13989 * eshell/esh-arg.el (eshell-quote-argument): New function.
13990
13991 * eshell/esh-ext.el (eshell-invoke-batch-file):
13992 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
13993 first arg to eshell-parse-command (Bug#10523).
13994
13995 2012-01-28 Drew Adams <drew.adams@oracle.com>
13996
13997 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
13998 `default-directory' is non-nil.
13999
14000 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14001
14002 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14003 line that displays system-configuration-options. (Bug#9924)
14004
14005 2012-01-28 Drew Adams <drew.adams@oracle.com>
14006
14007 * descr-text.el (describe-char): Show information about POS, in
14008 addition to information about the character at POS. Improve and
14009 update the doc string. Change "code point" to "code point in
14010 charset", to avoid confusion with the character's Unicode code
14011 point shown above that. (Bug#10129)
14012
14013 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14014
14015 * descr-text.el (describe-char): Show the raw character, not only
14016 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14017 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14018 for the reasons.
14019
14020 2012-01-28 Phil Hagelberg <phil@hagelb.org>
14021
14022 * emacs-lisp/package.el (package-install):
14023 Run package-refresh-contents if there is no archive yet (Bug#9798).
14024
14025 2012-01-28 Chong Yidong <cyd@gnu.org>
14026
14027 * emacs-lisp/package.el (package-maybe-load-descriptor):
14028 New function, split from package-maybe-load-descriptor.
14029 (package-maybe-load-descriptor): Use it.
14030 (package-download-transaction): Fully load required packages
14031 inside the loop, so that `require' calls work (Bug#10593).
14032 (package-install): No need to call package-initialize now.
14033
14034 2012-01-28 Chong Yidong <cyd@gnu.org>
14035
14036 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14037
14038 * tooltip.el (tooltip-mode): Doc fix.
14039 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14040
14041 * frame.el (set-cursor-color): Doc fix (Bug#352).
14042
14043 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14044 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14045
14046 * cus-edit.el (custom-buffer-create-internal): Fix search button
14047 action (Bug#10542).
14048 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
14049
14050 2012-01-27 Eduard Wiebe <usenet@pusto.de>
14051
14052 * dired.el (dired-mark-files-regexp):
14053 Include any subdirectory components. (Bug#10445)
14054
14055 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14056
14057 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14058 Handle [host]:port syntax. (Bug#10533)
14059
14060 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
14061
14062 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14063
14064 2012-01-26 Glenn Morris <rgm@gnu.org>
14065
14066 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14067 * term.el (term-raw-escape-map): Use Control-X-prefix.
14068 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14069
14070 2012-01-25 Martin Rudalics <rudalics@gmx.at>
14071
14072 * window.el (window-state-get, window--state-get-1): Don't deal
14073 with fixed-sizeness of windows. Simplify code.
14074
14075 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14076
14077 * window.el (window--state-get-1, window--state-put-2):
14078 Don't save and restore the mark.
14079
14080 2012-01-25 Chong Yidong <cyd@gnu.org>
14081
14082 * custom.el (custom-variable-p): Doc fix.
14083
14084 2012-01-25 Glenn Morris <rgm@gnu.org>
14085
14086 * dired.el (dired-goto-file): Handle some of the more common
14087 characters that `ls -b' escapes. (Bug#10596)
14088
14089 * progmodes/compile.el (compilation-next-error-function):
14090 Respect compilation-first-column in the "*compilation*" buffer.
14091 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14092
14093 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14094
14095 2012-01-24 Glenn Morris <rgm@gnu.org>
14096
14097 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14098
14099 2012-01-24 Julien Danjou <julien@danjou.info>
14100
14101 * color.el (color-rgb-to-hsl): Fix value computing.
14102 (color-hue-to-rgb): New function.
14103 (color-hsl-to-rgb): New function.
14104 (color-clamp, color-saturate-hsl, color-saturate-name)
14105 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14106 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14107
14108 2012-01-24 Glenn Morris <rgm@gnu.org>
14109
14110 * vc/vc-rcs.el (vc-rcs-create-tag):
14111 * vc/vc-sccs.el (vc-sccs-create-tag):
14112 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
14113
14114 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
14115
14116 * eshell/esh-util.el (eshell-read-hosts-file):
14117 Skip comment lines. (Bug#10549)
14118
14119 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
14120
14121 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
14122
14123 * subr.el (display-delayed-warnings): Doc fix.
14124 (collapse-delayed-warnings): New function to collapse identical
14125 adjacent warnings.
14126 (delayed-warnings-hook): Add it.
14127
14128 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
14129
14130 * net/tramp.el (tramp-action-login): Set connection property "login-as".
14131
14132 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14133 (tramp-default-user-alist): Don't add "pscp".
14134 (tramp-do-copy-or-rename-file-out-of-band): Use connection
14135 property "login-as", if set. (Bug#10530)
14136
14137 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
14138
14139 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14140 "plink1" and "psftp". (Bug#10530)
14141
14142 2012-01-21 Kenichi Handa <handa@m17n.org>
14143
14144 * international/mule-cmds.el (prefer-coding-system): Show a
14145 warning message if the default value of file-name-coding-system
14146 was not changed.
14147
14148 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14149
14150 * windmove.el (windmove-reference-loc):
14151 Fix windmove-reference-loc miscalculation.
14152
14153 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14154
14155 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14156 default unit.
14157
14158 2012-01-21 Glenn Morris <rgm@gnu.org>
14159
14160 * international/mule.el (auto-coding-alist): Add .tbz.
14161
14162 * files.el (local-enable-local-variables): Doc fix.
14163 (inhibit-local-variables-regexps): Rename from
14164 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14165 Doc fix. Add some extensions from auto-coding-alist.
14166 (inhibit-local-variables-suffixes):
14167 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14168 (inhibit-local-variables-p):
14169 New function, extracted from set-auto-mode-1.
14170 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14171 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14172 (hack-local-variables): Doc fix. Make the mode-only case
14173 respect enable-local-variables and friends.
14174 Respect inhibit-local-variables-regexps for file-locals, but
14175 not for directory-locals.
14176 (set-visited-file-name):
14177 Take account of inhibit-local-variables-regexps.
14178 Whether it applies may change as the file name is changed.
14179 * jka-cmpr-hook.el (jka-compr-install):
14180 * jka-compr.el (jka-compr-uninstall):
14181 Update for inhibit-first-line-modes-suffixes name change.
14182
14183 2012-01-20 Martin Rudalics <rudalics@gmx.at>
14184
14185 * help-macro.el (make-help-screen): Temporarily restore original
14186 binding for minor-mode-map-alist (Bug#10454).
14187
14188 2012-01-19 Julien Danjou <julien@danjou.info>
14189
14190 * color.el (color-name-to-rgb): Use the white color to find the max
14191 color component value and return correctly computed values.
14192 (color-name-to-rgb): Add missing float conversion for max value.
14193
14194 2012-01-19 Martin Rudalics <rudalics@gmx.at>
14195
14196 * window.el (window--state-get-1, window-state-get): Do not use
14197 special state value for window-persistent-parameters.
14198 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
14199 (window--state-put-2): Reset all window parameters to nil before
14200 assigning values of persistent parameters.
14201
14202 2012-01-18 Alan Mackenzie <acm@muc.de>
14203
14204 Eliminate sluggishness and hangs in fontification of "semicolon
14205 deserts".
14206
14207 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14208 Change value 10000 -> 3000.
14209 (c-state-safe-place): Reformulate so it doesn't stack up an
14210 infinite number of wrong entries in c-state-nonlit-pos-cache.
14211 (c-determine-limit-get-base, c-determine-limit): New functions to
14212 determine backward search limits disregarding literals.
14213 (c-find-decl-spots): Amend commenting.
14214 (c-cheap-inside-bracelist-p): New function which detects "={".
14215
14216 * progmodes/cc-fonts.el
14217 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14218 backward search.
14219 (c-font-lock-declarations): Fix an occurrence of point being
14220 undefined. Check additionally for point being in a bracelist or
14221 near a macro invocation without a semicolon so as to avoid a
14222 fruitless time consuming search for a declarator. Give a more
14223 precise search limit for declarators using the new
14224 c-determine-limit.
14225
14226 2012-01-18 Glenn Morris <rgm@gnu.org>
14227
14228 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14229 (set-auto-mode): Doc fixes.
14230
14231 2012-01-17 Glenn Morris <rgm@gnu.org>
14232
14233 * isearch.el (search-nonincremental-instead): Fix doc typo.
14234
14235 * dired.el (dired-insert-directory): Handle newlines in directory name.
14236 (dired-build-subdir-alist): Unescape newlines in directory name.
14237
14238 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
14239
14240 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14241 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14242 (tramp-action-terminal): Use it. (Bug#10530)
14243
14244 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14245
14246 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14247
14248 2012-01-16 Martin Rudalics <rudalics@gmx.at>
14249
14250 * window.el (window-state-ignored-parameters): Remove variable.
14251 (window--state-get-1): Rename argument MARKERS to IGNORE.
14252 Handle persistent window parameters. Make copy of clone-of
14253 parameter only if requested. (Bug#10348)
14254 (window--state-put-2): Install a window parameter only if it has
14255 a non-nil value or an existing parameter shall be overwritten.
14256
14257 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
14258
14259 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14260
14261 2012-01-14 Eli Zaretskii <eliz@gnu.org>
14262
14263 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14264 don't pass the (nil) value of `upnode' to string-match.
14265
14266 2012-01-14 Chong Yidong <cyd@gnu.org>
14267
14268 * startup.el (command-line): Fix X resource class for cursorColor.
14269 Fix values recognized by the cursorBlink resource.
14270
14271 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14272
14273 * epg.el (epg--make-temp-file): Avoid permission race condition
14274 when running on old Emacs versions (bug#10403).
14275
14276 2012-01-14 Glenn Morris <rgm@gnu.org>
14277
14278 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14279
14280 2012-01-13 Alan Mackenzie <acm@muc.de>
14281
14282 Fix filling for when filladapt mode is enabled.
14283
14284 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14285 c-mask-paragraph, pass in `fill-paragraph' rather than
14286 `fill-region-as-paragraph'. (This is a reversion of a previous
14287 change.)
14288 * progmodes/cc-mode.el (c-basic-common-init):
14289 Make fill-paragraph-handle-comment buffer local and set it to nil.
14290
14291 2012-01-13 Glenn Morris <rgm@gnu.org>
14292
14293 * dired.el (dired-switches-escape-p): New function.
14294 (dired-insert-directory): Use dired-switches-escape-p.
14295 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14296
14297 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14298
14299 2012-01-12 Glenn Morris <rgm@gnu.org>
14300
14301 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14302 changes in adaptive-fill-regexp. (Bug#10276)
14303
14304 2012-01-11 Alan Mackenzie <acm@muc.de>
14305
14306 Fix Emacs bug #10463 - put `widen's around the critical spots.
14307
14308 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
14309 widen around each invocation of c-state-pp-to-literal. Remove an
14310 unused let variable.
14311
14312 2012-01-11 Glenn Morris <rgm@gnu.org>
14313
14314 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
14315 Doc fix.
14316
14317 2012-01-10 Chong Yidong <cyd@gnu.org>
14318
14319 * net/network-stream.el (network-stream-open-starttls):
14320 Avoid emitting a confusing error message when the server gives a bad
14321 response to the capability command.
14322
14323 2012-01-10 Glenn Morris <rgm@gnu.org>
14324
14325 * mail/unrmail.el (unrmail): Tweak previous change.
14326
14327 2012-01-09 Chong Yidong <cyd@gnu.org>
14328
14329 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14330
14331 2012-01-08 Alan Mackenzie <acm@muc.de>
14332
14333 Optimize font locking in long enum definitions.
14334
14335 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14336 arm to a cond form to handle enums.
14337 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14338 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14339
14340 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
14341
14342 * files.el (move-file-to-trash): Preserve default file modes on error.
14343 (Bug#10401)
14344
14345 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14346
14347 * faces.el (set-face-attribute): Clarify the meaning of the nil
14348 frame (bug#10294).
14349
14350 * subr.el (with-selected-frame): Mention that the selected frame
14351 is restored (bug#9980).
14352
14353 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
14354 (bug#9759).
14355
14356 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
14357 (password-read): Don't autoload unused function.
14358
14359 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
14360
14361 * progmodes/which-func.el (which-func-mode): Turn into a
14362 non-interactive function and mark as obsolete (bug#10428).
14363
14364 2012-01-06 Chong Yidong <cyd@gnu.org>
14365
14366 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
14367 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
14368 functions, along with 1 and -1.
14369
14370 2012-01-06 Eli Zaretskii <eliz@gnu.org>
14371
14372 * time.el (display-time-load-average)
14373 (display-time-default-load-average): Doc fixes. See the thread
14374 starting at
14375 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
14376 for the details.
14377
14378 2012-01-06 Glenn Morris <rgm@gnu.org>
14379
14380 * mail/unrmail.el (unrmail): Give an explicit error if the input file
14381 has no messages. (Bug#10377)
14382
14383 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
14384 than Info-edit. (Bug#10385)
14385
14386 * time.el (display-time-load-average, display-time-next-load-average):
14387 Doc fixes.
14388
14389 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
14390 local setting of buffer-read-only to the input buffer. (Bug#10419)
14391
14392 * calendar/calendar.el (calendar-mode):
14393 Locally set scroll-margin to 0. (Bug#10379)
14394
14395 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
14396
14397 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
14398
14399 2012-01-05 Glenn Morris <rgm@gnu.org>
14400
14401 * eshell/em-unix.el (diff-no-select): Autoload it.
14402 (eshell/diff): Use diff-no-select. (Bug#10420)
14403
14404 2012-01-05 Chong Yidong <cyd@gnu.org>
14405
14406 * shell.el (shell-dynamic-complete-functions): Revert last change.
14407 (shell-command-completion-function): New function.
14408 (shell-completion-vars): Use it to implement
14409 shell-completion-execonly (Bug#10417).
14410
14411 * custom.el (enable-theme): Don't set custom-safe-themes.
14412
14413 * cus-theme.el (custom-theme-merge-theme):
14414 Ignore custom-enabled-themes and custom-safe-themes.
14415
14416 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
14417
14418 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
14419 first prompt in `sql-interacive-mode'.
14420 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
14421 keywords.
14422 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
14423 (sql-product-interactive): Bug fix: Set `sql-buffer' in
14424 context of original buffer. Invoke `sql-login-hook'.
14425
14426 2012-01-04 Eli Zaretskii <eliz@gnu.org>
14427
14428 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
14429 letters in cite-prefix.
14430
14431 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14432
14433 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
14434
14435 2012-01-03 Chong Yidong <cyd@gnu.org>
14436
14437 * shell.el (shell-dynamic-complete-functions):
14438 Put pcomplete-completions-at-point, so as to try
14439 comint-filename-completion first (Bug#10417).
14440
14441 2012-01-02 Richard Stallman <rms@gnu.org>
14442
14443 * battery.el (battery-status-function):
14444 Detect when to use battery-yeeloong-sysfs.
14445 (battery-echo-area-format): Add string for Yeeloong.
14446 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
14447 (battery-yeeloong-sysfs): New function.
14448
14449 2012-01-02 Chong Yidong <cyd@gnu.org>
14450
14451 * dirtrack.el (dirtrack-list): Eliminate unused third element.
14452 (dirtrack): Merge code for handling relative filenames in prompt
14453 from shell-dir-cookie-watcher.
14454 (dirtrack-debug-message): New arg to avoid excess format calls.
14455
14456 * shell.el (shell-dir-cookie-re): Variable deleted.
14457 (shell-dir-cookie-watcher): Function deleted.
14458 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
14459 with dirtrack-mode.
14460
14461 2012-01-01 Eli Zaretskii <eliz@gnu.org>
14462
14463 * term/w32-win.el (dynamic-library-alist) <gnutls>:
14464 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
14465 libgnutls-26.dll.
14466
14467 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
14468
14469 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
14470
14471 2011-12-31 Eli Zaretskii <eliz@gnu.org>
14472
14473 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
14474 headers of non-MIME messages, when rmail-enable-mime is non-nil.
14475
14476 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
14477
14478 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
14479 also for alternative shells.
14480 (tramp-open-connection-setup-interactive-shell): Check, whether
14481 the shell is a busybox.
14482 (tramp-send-command): Don't suppress multiple prompts for
14483 busyboxes, it hurts.
14484
14485 2011-12-28 Chong Yidong <cyd@gnu.org>
14486
14487 * progmodes/gdb-mi.el (gdb-get-source-file-list)
14488 (gdb-get-source-file): Move mode line update to
14489 gdb-get-source-file (Bug#10087).
14490
14491 2011-12-25 Chong Yidong <cyd@gnu.org>
14492
14493 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
14494 gud-gdb-marker-filter without taking it as an argument.
14495 (gud-gdb-run-command-fetch-lines): Caller changed.
14496 (gud-gdb-completion-function): New variable.
14497 (gud-gdb-completion-at-point): Use it.
14498 (gud-gdb-completions-1): Split from gud-gdb-completions.
14499
14500 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
14501 function as separate arguments.
14502 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
14503 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
14504 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
14505 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
14506 (gdb-stopped, def-gdb-auto-update-trigger)
14507 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
14508 (gdb-get-changed-registers, gdb-get-main-selected-frame):
14509 Callers changed.
14510 (gud-gdbmi-completions): New function.
14511 (gdb): Use it for generating the completion table.
14512
14513 2011-12-24 Alan Mackenzie <acm@muc.de>
14514
14515 Introduce a mechanism to widen the region used in context font
14516 locking. Use this to protect declarations from losing their contexts.
14517
14518 * progmodes/cc-langs.el (c-before-font-lock-functions):
14519 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
14520 (c-before-context-fontification-functions): New defvar, a list of
14521 functions to be run just before context (etc.) font locking.
14522
14523 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
14524 New, functionality extracted from
14525 c-neutralize-syntax-in-and-mark-CPP.
14526 (c-in-after-change-fontification): New variable.
14527 (c-after-change): Set c-in-after-change-fontification.
14528 (c-set-fl-decl-start): Rejig its interface, so it can be called
14529 from both after-change and context fontifying.
14530 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
14531 New functions.
14532 (c-standard-font-lock-fontify-region-function): New variable.
14533 (c-font-lock-fontify-region): New function.
14534
14535 2011-12-24 Juri Linkov <juri@jurta.org>
14536
14537 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
14538 (Bug#10348)
14539
14540 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
14541
14542 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
14543 existence of source file. (Bug#10325)
14544
14545 2011-12-23 Alan Mackenzie <acm@muc.de>
14546
14547 Fix unstable fontification inside templates.
14548
14549 * progmodes/cc-langs.el (c-before-font-lock-functions):
14550 Newly created from the singular version. The (c c++ objc) entry now
14551 additionally has c-set-fl-decl-start. The other languages (apart
14552 from AWK) have that as a single entry.
14553
14554 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14555 The functionality for "local" declarations has been extracted to
14556 c-set-fl-decl-start.
14557
14558 * progmodes/cc-mode.el (c-common-init, c-after-change):
14559 Changes due to pluralisation of c-before-font-lock-functions.
14560 (c-set-fl-decl-start): New function, extracted from
14561 c-font-lock-enclosing-decls and enhanced.
14562
14563 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
14564
14565 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
14566
14567 2011-12-22 Juri Linkov <juri@jurta.org>
14568
14569 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
14570
14571 2011-12-22 Chong Yidong <cyd@gnu.org>
14572
14573 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
14574
14575 2011-12-21 Drew Adams <drew.adams@oracle.com>
14576
14577 * files.el (file-remote-p): Fix docstring. (Bug#10319)
14578
14579 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14580
14581 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
14582
14583 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
14584
14585 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
14586 highlighting and support. Fix up comments for capitalization.
14587 (cfengine-mode-debug): New var.
14588 (cfengine3-mode): Change the modeline indicator to "CFE3".
14589 (cfengine3-font-lock-keywords): Improve defun highlighting.
14590 (cfengine2-actions): Rename from `cfengine-actions'.
14591 (cfengine2-font-lock-keywords): Rename from
14592 `cfengine-font-lock-keywords'.
14593 (cfengine2-imenu-expression): Rename from
14594 `cfengine-imenu-expression'.
14595 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
14596 (cfengine2-beginning-of-defun): Rename from
14597 `cfengine-beginning-of-defun'.
14598 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
14599 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
14600 (cfengine2-mode): Rename from `cfengine-mode'. Change the
14601 modeline indicator to "CFE2".
14602 (cfengine-mode): Defalias to `cfengine-auto-mode'.
14603 (cfengine-mode-abbrevs): Mark obsolete.
14604
14605 2011-12-21 Chong Yidong <cyd@gnu.org>
14606
14607 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
14608 filename argument.
14609
14610 2011-12-20 Martin Rudalics <rudalics@gmx.at>
14611
14612 * window.el (window-normalize-buffer-to-display): Remove.
14613 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
14614
14615 2011-12-19 Chong Yidong <cyd@gnu.org>
14616
14617 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
14618 Don't signal an error in a predicate function; return non-nil.
14619 (vc-dir-mark-file): Move the error here.
14620 (vc-dir-mark-unmark): If acting on the region, keep going if one
14621 of the entries cannot be marked/unmarked.
14622 (vc-dir-mark-all-files): If current entry is a directory, mark
14623 only child files, as documented.
14624
14625 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
14626
14627 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
14628 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
14629 addition.
14630
14631 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
14632
14633 * term/ns-win.el (ns-get-selection-internal)
14634 (ns-store-selection-internal): Declare.
14635 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
14636 Declare as obsolete.
14637 (ns-get-pasteboard, ns-paste-secondary):
14638 Use ns-get-selection-internal.
14639 (ns-set-pasteboard, ns-copy-including-secondary):
14640 Use ns-store-selection-internal.
14641
14642 2011-12-17 Chong Yidong <cyd@gnu.org>
14643
14644 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
14645 (vc-deduce-fileset): Doc fix.
14646
14647 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
14648
14649 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
14650
14651 2011-12-13 Sam Steingold <sds@gnu.org>
14652
14653 * man.el (Man-getpage-in-background): When running under a
14654 window-system, ignore $MANWIDTH and $COLUMNS.
14655
14656 2011-12-15 Kenichi Handa <handa@m17n.org>
14657
14658 * language/ethio-util.el: Change coding tag to utf-8-emacs.
14659 (setup-ethiopic-environment-internal): Comment out key-binding for
14660 ethio-toggle-punctuation.
14661
14662 2011-12-13 Alan Mackenzie <acm@muc.de>
14663
14664 Add the switch statement to AWK Mode.
14665
14666 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
14667 "default" to the keywords regexp.
14668
14669 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
14670 expression as the rest.
14671 (c-nonlabel-token-key): Allow string literals for AWK.
14672 Refactor for the other modes.
14673
14674 Large brace-block initialisation makes CC Mode slow: Fix.
14675 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
14676 routines. Limit backward searching in c-font-lock-enclosing.decl.
14677
14678 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
14679 pp-state and literal type in addition to the limits.
14680 (c-state-safe-place): New defun, extracted from c-state-literal-at.
14681 (c-state-literal-at): Use the above new defun.
14682 (c-slow-in-literal, c-fast-in-literal): Remove.
14683 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
14684
14685 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
14686 being in a literal. Add a limit for backward searching.
14687
14688 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
14689 c-slow-in-literal.
14690
14691 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
14692
14693 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
14694
14695 2011-12-13 Martin Rudalics <rudalics@gmx.at>
14696
14697 * window.el (delete-other-windows): Use correct frame in call to
14698 window-with-parameter.
14699
14700 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
14701
14702 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
14703 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
14704 (makefile-gmake-statements, makefile-makepp-statements):
14705 Use it and add new makepp keywords.
14706 (makefile-makepp-font-lock-keywords): Add new patterns.
14707 (makefile-match-function-end): Match new [...] and [[...]].
14708
14709 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
14710
14711 * ses.el (ses-call-printer-return, ses-cell-property-get)
14712 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
14713 (ses-create-cell-variable, ses-reset-header-string)
14714 (ses-cell-set-formula, ses-repair-cell-reference-all)
14715 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
14716 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
14717 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
14718 (ses-aset-with-undo, ses-load, ses-truncate-cell)
14719 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
14720 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
14721 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
14722 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
14723 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
14724 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
14725 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
14726 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
14727
14728 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
14729
14730 * ses.el: The overall change is to add cell renaming, that is
14731 setting fancy names for cell symbols other than name matching
14732 "\\`[A-Z]+[0-9]+\\'" regexp .
14733 (ses-create-cell-variable): New defun.
14734 (ses-relocate-formula): Relocate formulas only for cells the
14735 symbols of which are not renamed, i.e. symbols whose names do not
14736 match regexp "\\`[A-Z]+[0-9]+\\'".
14737 (ses-relocate-all): Relocate values only for cells the symbols of
14738 which are not renamed.
14739 (ses-load): Create cells variables as the (ses-cell ...) are read,
14740 in order to check row col consistency with cell symbol name only
14741 for cells that are not renamed.
14742 (ses-replace-name-in-formula): New defun.
14743 (ses-rename-cell): New defun.
14744
14745 2011-12-11 Chong Yidong <cyd@gnu.org>
14746
14747 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
14748 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
14749
14750 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
14751
14752 * window.el (other-window): Fix docstring.
14753
14754 2011-12-10 Eli Zaretskii <eliz@gnu.org>
14755
14756 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
14757 `from' or `to' address before taking its substring.
14758 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
14759 encoded name is chopped in the middle of the encoded string, and
14760 thus displayed encoded.
14761
14762 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
14763
14764 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
14765
14766 2011-12-10 Eli Zaretskii <eliz@gnu.org>
14767
14768 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
14769 to use texinfo-update-node and commands that call it if the
14770 Texinfo file uses @node lines without next/prev/up pointers.
14771 Correct outdated description about texinfo-master-menu.
14772 (texinfo-all-menus-update, texinfo-master-menu)
14773 (texinfo-update-node, texinfo-every-node-update)
14774 (texinfo-multiple-files-update): Doc fix. Warn against updating
14775 all the @node lines.
14776 (texinfo-master-menu): Only call texinfo-update-node if the prefix
14777 argument is numeric. Explain better in the doc string what the
14778 function really does.
14779 (texinfo-insert-master-menu-list): Improve the error message
14780 displayed if there's no menu in the Top node.
14781 (Bug#2975) See also this thread:
14782 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
14783
14784 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
14785
14786 * speedbar.el (speedbar-supported-extension-expressions):
14787 Add .adb and .ads, commonly used for Ada source code (bug#10256).
14788
14789 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
14790
14791 * printing.el (pr-mode-alist):
14792 * simple.el (filter-buffer-substring-functions)
14793 (completion-list-insert-choice-function):
14794 * window.el (window-with-parameter, window-atom-root)
14795 (window-sides-slots, window-size-fixed, window-min-delta)
14796 (window-max-delta, window--resize-mini-window)
14797 (window--resize-child-windows-normal, window-tree)
14798 (delete-other-windows, quit-window, split-window)
14799 (display-buffer-record-window, special-display-buffer-names)
14800 (special-display-regexps, special-display-popup-frame)
14801 (same-window-p, split-window-sensibly)
14802 (display-buffer-overriding-action, display-buffer-alist)
14803 (display-buffer-base-action, display-buffer, switch-to-buffer)
14804 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
14805 (fit-window-to-buffer, recenter-positions)
14806 (mouse-autoselect-window-state, mouse-autoselect-window-select):
14807 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
14808 and remove unneeded backslashes in docstrings.
14809
14810 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
14811
14812 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
14813
14814 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
14815 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
14816 end in ".mk".
14817 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
14818 when reading the makefile (bug#10116).
14819
14820 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14821
14822 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
14823 (bug#10116).
14824
14825 2011-12-06 Glenn Morris <rgm@gnu.org>
14826
14827 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
14828
14829 2011-12-06 Chong Yidong <cyd@gnu.org>
14830
14831 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
14832
14833 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
14834
14835 * textmodes/table.el (table-shorten-cell): Fix typo.
14836
14837 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
14838
14839 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
14840
14841 2011-12-05 Eli Zaretskii <eliz@gnu.org>
14842
14843 * descr-text.el (describe-char): Fix display of strong
14844 right-to-left characters and directional embeddings and overrides.
14845
14846 * simple.el (what-cursor-position): Fix display of codepoints of
14847 strong right-to-left characters.
14848
14849 2011-12-05 Chong Yidong <cyd@gnu.org>
14850
14851 * faces.el (read-color): Doc fix.
14852
14853 2011-12-05 Glenn Morris <rgm@gnu.org>
14854
14855 * align.el (align--set-marker): Add doc-string.
14856 Don't try to move something that is not a marker. (Bug#10216)
14857
14858 2011-12-04 Glenn Morris <rgm@gnu.org>
14859
14860 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
14861 overly zealous deletion of trailing whitespace.
14862
14863 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
14864
14865 * server.el (server-delete-client): On Windows, do not try to delete
14866 the only terminal.
14867 (server-process-filter): On Windows, treat requests for a tty frame as
14868 if they were for a GUI frame if the running server is in GUI mode.
14869
14870 2011-12-03 Glenn Morris <rgm@gnu.org>
14871
14872 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
14873
14874 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14875
14876 * electric.el: Streamline electric-indent's hook.
14877 (electric-indent-chars): Revert to simple list.
14878 (electric-indent-functions): New var.
14879 (electric-indent-post-self-insert-function): Use it.
14880
14881 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
14882 there's no inferior buffer (bug#10196).
14883 (prolog-consult-compile): Don't use toggle-read-only.
14884
14885 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
14886
14887 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
14888 interrupt. (Bug#10187)
14889
14890 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14891
14892 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
14893 (bug#9160).
14894
14895 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
14896 (bug#10191).
14897
14898 2011-12-02 Juri Linkov <juri@jurta.org>
14899
14900 * info.el (Info-search): Display "end of manual" when Isearch
14901 reaches the end of single-file Info manual. (Bug#9918)
14902
14903 2011-12-02 Eli Zaretskii <eliz@gnu.org>
14904
14905 * isearch.el (isearch-message-prefix): Run the input method part
14906 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
14907
14908 2011-12-02 Juri Linkov <juri@jurta.org>
14909
14910 * isearch.el (isearch-occur): Use `word-search-regexp' for
14911 `isearch-word'.
14912 (isearch-search-and-update): Add condition for `isearch-word' and
14913 call `word-search-regexp'. (Bug#10145)
14914
14915 2011-12-01 Glenn Morris <rgm@gnu.org>
14916
14917 * eshell/em-hist.el (eshell-hist-initialize):
14918 Handle eshell-history-size nil and HISTSIZE set or unset.
14919 (eshell-history-file-name, eshell-history-size): Fix custom type.
14920
14921 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14922
14923 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
14924
14925 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
14926
14927 * progmodes/verilog-mode.el (verilog-pretty-expr):
14928 Rework verilog-pretty-expr to handle new assignment operators in system
14929 verilog, such as += *= and the like.
14930 (verilog-assignment-operator-re): Regular expression to find the
14931 assigment operator in a verilog assignment.
14932 (verilog-assignment-operation-re): Regular expression to find an
14933 assignment statement for pretty-expr.
14934 (verilog-in-attribute-p): Query returns true if point is in an
14935 attribute context; used to skip these for expression line up from
14936 pretty-expr.
14937 (verilog-in-parameter-p): Query returns true if point is in an
14938 parameter definition context; used to skip these for expression
14939 line up from pretty-expr.
14940 (verilog-in-parenthesis-p): Query returns true if point is in a
14941 parenthetical expression, specifically ( ) but not [ ] or { };
14942 used by pretty-expr.
14943 (verilog-just-one-space): If there is no space, don't add one.
14944 (verilog-get-lineup-indent-2): Specifically skip just attribute
14945 contexts for expression lineup, rather than skipping all
14946 parenthetical expressions.
14947 (verilog-calculate-indent): Fix comment, and fix indent.
14948 (verilog-do-indent): Indent declarations in lists (suggested by
14949 Joachim Lechner).
14950 (verilog-mode-abbrev-table): Populate abbrev mode with the various
14951 skeleton items.
14952 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
14953 by Alain Mellan).
14954
14955 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
14956
14957 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
14958 parameters with embedded comments. Reported by Ray Stevens.
14959 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
14960 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
14961 Reported by Tim Holt.
14962 (verilog-auto): Fix AUTOing a upper module then AUTOing module
14963 instantiated by upper module causing wrong expansion until AUTOed a
14964 second time. Reported by K C Buckenmaier.
14965 (verilog-diff-auto): Fix showing .* as a difference when
14966 `verilog-auto-star-save' off. Reported by Dan Dever.
14967 (verilog-auto-reset, verilog-read-always-signals)
14968 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
14969 temporary signals in reset list if
14970 verilog-auto-reset-blocking-in-non is nil, and match assignment
14971 style to each signal's assignment type, bug381.
14972 Reported by Thomas Esposito.
14973 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
14974 (verilog-uvm-statement-re): Support UVM indentation and
14975 highlighting, with old OVM keywords only.
14976 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
14977 Support AUTOTIEOFF creating non-wire data types.
14978 Suggested by Jonathan Greenlaw.
14979 (verilog-auto-insert-lisp, verilog-delete-to-paren)
14980 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
14981 (verilog-inject-sense, verilog-read-inst-pins)
14982 (verilog-read-sub-decls, verilog-read-sub-decls-line):
14983 Fix mismatching parenthesis inside commented out code when deleting
14984 AUTOINST, bug383. Reported by Jonathan Greenlaw.
14985 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
14986 non-numeric vector width. Reported by Alex Reed.
14987 (verilog-auto-ascii-enum): Add "onehot" option to work around not
14988 detecting signals with parameter widths. Reported by Alex Reed.
14989 (verilog-auto-delete-trailing-whitespace):
14990 With `verilog-auto-delete-trailing-whitespace' remove trailing
14991 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
14992 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
14993 Fix verilog-scan-cache corruption when running user AUTO expansion
14994 hooks that call indentation routines.
14995 (verilog-simplify-range-expression): Fix typo ignoring lower case
14996 identifiers.
14997 (verilog-delete-auto): Fix delete-autos to also remove user created
14998 automatics, as long as they start with AUTO.
14999 (verilog-batch-diff-auto, verilog-diff-auto)
15000 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15001 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15002 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15003 (verilog-in-paren-quick, verilog-re-search-backward-quick)
15004 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15005 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
15006 is disabled and its cache will get corrupt, causing AUTOS not to
15007 expand. Instead use only -quick functions.
15008 (verilog-scan-region): Fix scanning over escaped quotes.
15009 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15010 (verilog-re-search-backward-quick)
15011 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15012 related functions now ignore strings, to fix misparsing of strings
15013 with magic comments embedded in them.
15014 (verilog-read-auto-template):
15015 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15016 Reported by Brad Dobbie.
15017 (verilog-read-auto-template):
15018 Fix 'verilog-auto-inst-template-numbers' with comments.
15019 Reported by Brad Dobbie.
15020 (verilog-auto-inst, verilog-auto-inst-param)
15021 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15022 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15023 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
15024 debugging templates without merge conflicts, bug357.
15025 Reported by Brad Dobbie.
15026 (verilog-read-auto-template):
15027 Fix verilog-auto-inst-template-numbers with multiple templates.
15028 Reported by Brad Dobbie.
15029 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15030 abbrevs so user won't be asked to save.
15031 (verilog-read-auto-lisp-present): Fix to start at beginning of
15032 buffer in case called outside of verilog-auto.
15033 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15034 to "X-2". Reported by Matthew Myers.
15035 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15036 all inputs from module templates. Reported by Leith Johnson.
15037 (verilog-module-inside-filename-p): Fix locating programs as with
15038 modules.
15039 (verilog-auto-inst-port): Fix vl-width expressions when using
15040 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15041 (verilog-decls-get-regs, verilog-decls-get-signals,
15042 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15043 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15044 verilog-read-decls): Combine reg and wire structures into one var
15045 structure to represent SystemVerilog concepts.
15046 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15047 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
15048 (verilog-auto-wire-type, verilog-insert-definition):
15049 Add verilog-auto-wire-type and AUTOLOGIC to support using
15050 SystemVerilog "logic" keyword instead of "wire"/"reg".
15051 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15052 to declares outputs that also have assignments (presumably in an
15053 ifdef or generate if so there's not a driver conflict).
15054 Reported by Matthew Myers.
15055 (verilog-auto-declare-nettype, verilog-insert-definition):
15056 Add verilog-auto-declare-nettype to fix declarations using
15057 `default_nettype none. Reported by Julian Gorfajn.
15058 (verilog-read-always-signals-recurse, verilog-read-decls)
15059 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15060 malformed end statement, bug325. Reported by Joshua Wise and
15061 Andrew Drake.
15062 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15063 (verilog-inst-comment-re): Fix not deleting Interfaced comment
15064 when expanding .* in interfaces, bug320.
15065 Reported by Pierre-David Pfister.
15066 (verilog-read-module-name): Fix import statements between module
15067 name and open parenthesis, bug317.
15068 Reported by Pierre-David Pfister.
15069 (verilog-simplify-range-expression): Fix simplification of
15070 multiplications inside AUTOWIRE connections, bug303.
15071 (verilog-auto-inst-port): Support parameter expansion in
15072 multidimensional arrays.
15073 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15074 after "assert property". Reported by Julian Gorfajn.
15075 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15076 with multiplication, bug303.
15077 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15078 Reported by Jan Frode Lonnum.
15079
15080 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
15081
15082 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15083 (hfy-shell-file-name, hfy-shell):
15084 * international/fontset.el (x-decompose-font-name): Fix typos.
15085
15086 2011-11-29 Ken Brown <kbrown@cornell.edu>
15087
15088 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15089 (gdb-version): Remove defvar.
15090 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15091 (gdb-gud-context-command, gdb-non-stop-handler)
15092 (gdb-current-context-command, gdb-stopped): Use it.
15093 (gdb-init-1): Enable pretty printing here.
15094 (gdb-non-stop-handler): Don't enable pretty-printing here.
15095 Check to see if the target supports non-stop mode; if not, turn off
15096 non-stop mode. Use the following.
15097 (gdb-check-target-async): New defun.
15098 (gud-watch, gdb-stopped): Fix whitespace.
15099 (gdb-get-source-file): Don't try to display the source file if
15100 `gdb-main-file' is nil.
15101
15102 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15103
15104 * align.el: Try to generate fewer markers (bug#10047).
15105 (align--set-marker): New macro.
15106 (align-region): Use it.
15107
15108 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15109
15110 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15111
15112 2011-11-29 Chong Yidong <cyd@gnu.org>
15113
15114 * indent.el (indent-for-tab-command, indent-according-to-mode):
15115 Doc fix.
15116 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
15117
15118 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
15119
15120 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
15121 aware of remote file names. (Bug#10124)
15122
15123 2011-11-29 Chong Yidong <cyd@gnu.org>
15124
15125 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15126
15127 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15128
15129 * files.el (find-file): Don't use force-same-window (bug#10144).
15130 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15131 use pop-to-buffer if the selected window can't be used.
15132 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15133
15134 2011-11-28 Eli Zaretskii <eliz@gnu.org>
15135
15136 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15137 special-mode-map.
15138
15139 2011-11-28 Chong Yidong <cyd@gnu.org>
15140
15141 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15142
15143 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
15144
15145 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15146 gdb-get-source-file-list on gdb-create-source-file-list.
15147
15148 2011-11-26 Eli Zaretskii <eliz@gnu.org>
15149
15150 * whitespace.el (whitespace-newline): Use a different foreground
15151 color for 16-color light-background displays.
15152
15153 2011-11-24 Chong Yidong <cyd@gnu.org>
15154
15155 * window.el (display-buffer--special-action): Doc fix.
15156
15157 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
15158
15159 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15160 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15161 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15162 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15163 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15164 (avl-tree-stack-first):
15165 * emacs-lisp/cconv.el (cconv--analyse-use):
15166 * net/gnutls.el (gnutls-negotiate): Fix typos.
15167
15168 2011-11-24 Glenn Morris <rgm@gnu.org>
15169
15170 * lpr.el (lpr-windows-system, lpr-lp-system):
15171 * mail/binhex.el (binhex-begin-line):
15172 * progmodes/grep.el (grep-history, grep-find-history):
15173 * textmodes/flyspell.el:
15174 * vc/pcvs-defs.el (cvs-global-menu):
15175 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15176 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15177 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15178
15179 * net/tls.el: Fix case of "GnuTLS".
15180
15181 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15182
15183 * version.el (emacs-build-system): Give it a doc-string.
15184
15185 2011-11-24 Juri Linkov <juri@jurta.org>
15186
15187 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15188
15189 2011-11-24 Glenn Morris <rgm@gnu.org>
15190
15191 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15192 if called on a non-mime message just toggle the headers. (Bug#8006)
15193
15194 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
15195
15196 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15197 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15198 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15199 (allout-rebullet-heading, allout-open-sibtopic)
15200 (allout-toggle-current-subtree-encryption)
15201 (allout-toggle-subtree-encryption, allout-encrypt-string)
15202 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15203 (allout-distinctive-bullets-string, allout-auto-activation):
15204 * window.el (window-normalize-buffer-to-display):
15205 * progmodes/verilog-mode.el (verilog-batch-indent):
15206 * textmodes/bibtex.el (bibtex-field-braces-opt)
15207 (bibtex-field-strings-opt):
15208 * vc/cvs-status.el (cvs-tree-merge):
15209 Fix typos.
15210
15211 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
15212
15213 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15214 `non-essential' to t, in order to avoid remote connections.
15215
15216 2011-11-23 Eli Zaretskii <eliz@gnu.org>
15217
15218 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15219 On MS-DOS and MS-Windows, compare with loaddefs.el
15220 case-insensitively.
15221
15222 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15223
15224 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15225
15226 2011-11-23 Glenn Morris <rgm@gnu.org>
15227
15228 * paths.el (rmail-file-name): Reformat the doc-string so that it
15229 is picked up.
15230
15231 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15232 (rmail-auto-file): Ignore case in the "special" field names,
15233 as mail-fetch-field does for all others.
15234
15235 * mail/rmail.el (rmail-forward):
15236 * mail/rmailkwd.el (rmail-set-label):
15237 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15238 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15239
15240 * mail/rmail.el (rmail-current-message): Doc fix.
15241
15242 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15243
15244 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15245
15246 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15247
15248 2011-11-22 Glenn Morris <rgm@gnu.org>
15249
15250 * mail/rmailmm.el (test-rmail-mime-handler)
15251 (test-rmail-mime-bulk-handler)
15252 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15253
15254 2011-11-21 Juri Linkov <juri@jurta.org>
15255
15256 * calc/calc.el (calc-read-key-sequence):
15257 Let-bind `input-method-function' to nil. (Bug#10018)
15258
15259 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15260
15261 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15262 Tell the caller that the next line needs recomputation, even
15263 though it doesn't start a sexp (bug#10094).
15264
15265 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15266
15267 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15268
15269 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15270
15271 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15272 Use force-same-window.
15273
15274 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15275
15276 * descr-text.el (describe-char-unicode-data):
15277 * json.el (json-string-escape):
15278 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15279 (Footnote-unicode, Footnote-style-p):
15280 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15281
15282 2011-11-20 Chong Yidong <cyd@gnu.org>
15283
15284 * window.el (replace-buffer-in-windows): Restore interactive spec.
15285
15286 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15287
15288 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15289
15290 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15291 (byte-compile-global-not-obsolete-vars): New var.
15292 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15293 Use it.
15294 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15295
15296 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15297
15298 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15299 * progmodes/pascal.el (electric-pascal-equal):
15300 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15301 * xml.el (xml-substitute-special): Fix typos.
15302
15303 2011-11-20 Glenn Morris <rgm@gnu.org>
15304
15305 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15306 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15307 Doc fixes.
15308 (rmail-decode-mime-charset): Mark as obsolete.
15309
15310 * mail/rmailsum.el (rmail-message-regexp-p-1):
15311 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15312 Before using mime functions, check they are set. (Bug#10077)
15313
15314 2011-11-19 Juri Linkov <juri@jurta.org>
15315
15316 * info.el (Info-finder-find-node): Use `package--builtins' instead
15317 of `package-alist'. Use node names formed by the pattern "Keyword "
15318 and the keyword name.
15319
15320 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15321
15322 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
15323
15324 2011-11-19 Juri Linkov <juri@jurta.org>
15325
15326 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15327 that calls `revert-buffer' on all Info buffers. (Bug#9915)
15328 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15329 `old-history', `old-history-forward'. Add let-binding
15330 `window-selected'. Remove calls to `kill-buffer',
15331 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
15332 before calling `Info-find-node', so `Info-find-node-2' will reread
15333 the Info file. Restore window positions only when `window-selected'
15334 is non-nil.
15335
15336 2011-11-19 Juri Linkov <juri@jurta.org>
15337
15338 * isearch.el (isearch-lazy-highlight-new-loop):
15339 Remove condition `(not isearch-error)'. (Bug#9918)
15340
15341 * misearch.el (multi-isearch-search-fun): Add condition
15342 `(not bound)' to ignore lazy-highlighting search.
15343 Add the search-failed message "end of multi" when the end of
15344 multi-sequence is reached. Uncapitalize the search-failed
15345 message "Repeat for next buffer".
15346
15347 * info.el (Info-search): Add the search-failed message
15348 "end of the manual" when the end of the manual is reached
15349 in Isearch mode.
15350
15351 2011-11-19 Juri Linkov <juri@jurta.org>
15352
15353 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
15354 Use non-destructive `remove' instead of `delete' because
15355 `Info-history-list' stored to `Info-isearch-initial-history-list' in
15356 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
15357
15358 2011-11-19 Juri Linkov <juri@jurta.org>
15359
15360 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
15361 to nil instead of binding `search-ring' and `regexp-search-ring'.
15362 (Bug#9185)
15363
15364 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15365
15366 * simple.el (line-move): Force movement by logical lines for any
15367 hscrolled window, not only when auto-hscroll-mode is on.
15368 (line-move-visual): Update doc string to that effect. (Bug#10076)
15369
15370 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15371
15372 * language/european.el (macintosh): Define as alias for mac-roman.
15373
15374 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15375
15376 * mail/rmailmm.el (rmail-mime-display-header)
15377 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
15378 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
15379 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
15380 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
15381 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
15382 of a raw aref.
15383 (rmail-mime-entity-segment): To get past the tagline, move forward
15384 2 more lines, to account for the 2 empty lines that precede and
15385 follow the line with the buttons.
15386 (rmail-mime-update-tagline): Move one more line, to get past the
15387 empty line that follows the buttons in the tagline. (Bug#9520)
15388
15389 2011-11-19 Martin Rudalics <rudalics@gmx.at>
15390
15391 * window.el (window-max-delta-1, window-min-delta-1)
15392 (window-min-size-1, window-state-get-1, window-state-put-1)
15393 (window-state-put-2): Use "window--" prefix.
15394
15395 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15396
15397 * emacs-lisp/smie.el: Improve warnings and conflict detection.
15398 (smie-warning-count): New var.
15399 (smie-set-prec2tab): Use it.
15400 (smie-bnf->prec2): Improve warnings. Add docstring.
15401 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
15402 (smie-bnf--set-class): New function.
15403 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
15404 corner case.
15405
15406 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
15407 (compilation-error-properties, compilation-move-to-column):
15408 Handle compilation-first-column while in the target buffer.
15409
15410 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
15411 Don't hardcode point-min==1.
15412
15413 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
15414 (eshell-rewrite-for-command): Remove workaround.
15415 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
15416 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
15417 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
15418
15419 * files-x.el (modify-file-local-variable): Obey commenting conventions.
15420
15421 2011-11-17 Glenn Morris <rgm@gnu.org>
15422
15423 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15424 Ignore buffer-local generated-autoload-file if it is the same
15425 as the global value. (Bug#10049)
15426
15427 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
15428
15429 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
15430 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
15431 (reftex-toc-previous-heading, reftex-toc-max-level)
15432 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
15433 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
15434 (reftex-toc-do-promote, reftex-toc-promote-prepare)
15435 (reftex-toc-promote-action, reftex-toc-extract-section-number)
15436 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
15437 (reftex-toc-rename-label, reftex-toc-visit-location)
15438 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
15439 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
15440 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
15441 leaving "*toc*" only for references to the buffer.
15442
15443 2011-11-17 Martin Rudalics <rudalics@gmx.at>
15444
15445 * window.el (window-resize, delete-window, split-window):
15446 Replace window-splits by window-combination-resize.
15447 * cus-start.el (window-splits): Replace by window-combination-resize.
15448
15449 2011-11-17 Glenn Morris <rgm@gnu.org>
15450
15451 * progmodes/sh-script.el (sh-font-lock-keywords-var):
15452 Make bash entry derive from sh entry, not shell entry.
15453
15454 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
15455
15456 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
15457 local file name.
15458
15459 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15460
15461 * menu-bar.el (menu-bar-file-menu):
15462 * printing.el (pr-ps-utility):
15463 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
15464 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
15465 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
15466 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
15467 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
15468 (icalendar--convert-cyclic-to-ical)
15469 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
15470 (icalendar--convert-ical-to-diary)
15471 (icalendar--convert-recurring-to-diary)
15472 (icalendar--convert-non-recurring-all-day-to-diary)
15473 (icalendar-import-format-sample):
15474 * progmodes/idlw-shell.el (idlwave-shell-mode):
15475 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
15476 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
15477 (vhdl-ps-print-init): Fix typos.
15478
15479 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
15480
15481 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
15482 FSF and collapse date sequence, obscure author/maintainer email address
15483 better, remove extra version line, track relocation of author's webpage.
15484
15485 * progmodes/python.el (python-pdbtrack-input-prompt)
15486 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
15487 regular python pdb prompts. Adjustments shamelessly taken exactly as
15488 suggested in EmacsWiki page (tiny change):
15489 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
15490
15491 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15492
15493 * expand.el (expand-pos, expand-index, expand-point):
15494 Remove redundant info from docstring.
15495 (expand-add-abbrevs): Doc fix.
15496 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
15497 (expand-sample-perl-mode-expand-list): Fix typos.
15498
15499 * net/dbus.el (dbus-event-member-name):
15500 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
15501 * term/pc-win.el (msdos-create-frame-with-faces):
15502 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
15503
15504 2011-11-16 Martin Rudalics <rudalics@gmx.at>
15505
15506 * window.el (split-window, window-state-get-1)
15507 (window-state-put-1, window-state-put-2): Rename occurrences of
15508 window-nest to window-combination-limit.
15509 * cus-start.el (window-nest): Rename to window-combination-limit.
15510
15511 2011-11-16 Chong Yidong <cyd@gnu.org>
15512
15513 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
15514 regexp (Bug#10033).
15515
15516 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15517
15518 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
15519 `completing-read' will remove *Completions* and will preserve
15520 current-buffer for us.
15521 (tmm-add-prompt): Users of *Completions* will always (re)set its
15522 major mode.
15523 (tmm-old-comp-map): Remove.
15524
15525 2011-11-16 Glenn Morris <rgm@gnu.org>
15526
15527 * mail/rmailedit.el: Require rmailmm when compiling.
15528 (rmail-old-mime-state): New declaration.
15529 (rmail-edit-current-message): If editing a mime message,
15530 edit the "raw" message from the mbox buffer.
15531 (rmail-cease-edit): Handle mime messages. (Bug#9840)
15532
15533 2011-11-15 Glenn Morris <rgm@gnu.org>
15534
15535 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
15536 which wasn't being used. Add optional arg to force given state.
15537 (rmail-mime): Add optional arg to force given state.
15538
15539 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
15540
15541 * allout.el (allout-encryption-plaintext-sanitization-regexps):
15542 * frame.el (display-mm-dimensions-alist):
15543 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
15544 (outline-move-subtree-down):
15545 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
15546 (newsticker--treeview-do-get-node):
15547 * net/quickurl.el (quickurl-list-buffer-name):
15548 * progmodes/dcl-mode.el (dcl-mode):
15549 * progmodes/gdb-mi.el (gdb-mapcar*):
15550 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
15551
15552 2011-11-15 Glenn Morris <rgm@gnu.org>
15553
15554 * mail/rmail.el (rmail-file-coding-system): It's only ever used
15555 in a boolean sense, so just make it a boolean, and fix the doc.
15556 (rmail-show-mime-function, rmail-mime-feature)
15557 (rmail-require-mime-maybe): Doc fixes.
15558 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
15559
15560 * mail/rmailmm.el (rmail-show-mime): Doc fix.
15561
15562 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
15563
15564 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
15565 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
15566 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
15567 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
15568
15569 2011-11-15 Glenn Morris <rgm@gnu.org>
15570
15571 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
15572 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
15573 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
15574 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
15575 (rmail-mime, rmail-show-mime): Doc fixes.
15576
15577 * term/ns-win.el (mode-line-frame-identification):
15578 Leave it alone. (Bug#10051)
15579
15580 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
15581
15582 * mail/rmailout.el (rmail-output-to-rmail-buffer):
15583 Handle empty buffers. (Bug#9978)
15584
15585 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
15586
15587 * international/mule.el (define-charset):
15588 * mail/rmailmm.el (rmail-mime-find-header-encoding):
15589 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
15590 * progmodes/verilog-mode.el (verilog-backward-token):
15591 * textmodes/ispell.el (lookup-words):
15592 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
15593
15594 2011-11-14 Glenn Morris <rgm@gnu.org>
15595
15596 * progmodes/executable.el
15597 (executable-make-buffer-file-executable-if-script-p):
15598 Handle file-modes returning nil.
15599
15600 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
15601 message - not necessary, and causes problems. (Bug#9831)
15602
15603 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
15604
15605 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
15606
15607 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
15608 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
15609 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
15610
15611 2011-11-12 Martin Rudalics <rudalics@gmx.at>
15612
15613 * window.el (window-resize, delete-window): Use window-splits
15614 variable instead of function.
15615 (window-state-get-1, window-state-put-2, window-state-put):
15616 Don't deal with windows' splits status.
15617
15618 2011-11-12 Glenn Morris <rgm@gnu.org>
15619
15620 * apropos.el (apropos-do-all, apropos-library, apropos-value)
15621 (apropos-documentation): Doc fixes.
15622
15623 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
15624
15625 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
15626 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
15627
15628 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15629
15630 * electric.el (electric-indent-post-self-insert-function): Make it
15631 possible for a char to only indent in some circumstances.
15632 (electric-indent-mode): Simplify.
15633
15634 2011-11-11 Martin Rudalics <rudalics@gmx.at>
15635
15636 * window.el (windows-with-parameter): Remove unused function.
15637 (windows-at-side): Rename to window-at-side-list.
15638 (window-check, window-atom-check, window-atom-check-1)
15639 (window-side-check, window-size-ignore, window-size-fixed-1)
15640 (window-in-direction-2): Prefix with "window--".
15641 (window-tree-1): Rename to window--subtree, fix doc-string.
15642
15643 2011-11-11 Glenn Morris <rgm@gnu.org>
15644
15645 * subr.el (eval-after-load): If FILE is already loaded,
15646 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
15647
15648 2011-11-10 Glenn Morris <rgm@gnu.org>
15649
15650 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
15651 Call svn via vc-svn-command rather than vc-do-command.
15652 (vc-svn-command): Add --non-interactive. (Bug#9993)
15653 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
15654
15655 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15656 Add toggle-read-only. (Bug#7292)
15657 * files.el (toggle-read-only): Mention that it should only
15658 be used interactively. (Bug#10006)
15659
15660 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
15661
15662 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15663 Adjust regexp for OCaml warnings.
15664
15665 * electric.el (electric-pair-post-self-insert-function): Let user
15666 turn it off buffer-locally (bug#9932).
15667
15668 * progmodes/python.el (python-beginning-of-statement):
15669 Rewrite (bug#2703).
15670
15671 * progmodes/compile.el: Better handle TABs (bug#9749).
15672 (compilation-internal-error-properties)
15673 (compilation-next-error-function): Obey the target buffer's
15674 compilation-error-screen-columns.
15675
15676 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
15677
15678 * progmodes/meta-mode.el: Remove obsolete comments.
15679 (meta-right-comment-regexp, meta-ignore-comment-regexp):
15680 Fix typos in docstrings.
15681
15682 2011-11-09 Martin Rudalics <rudalics@gmx.at>
15683
15684 * window.el (window-size-fixed-p): Rewrite doc-string.
15685 (window-resizable-p): Rename to window--resizable-p. Update callers.
15686 (window--resizable): New function. Make all callers of
15687 window-resizable call window--resizable instead.
15688 (window-resizable): Rewrite in terms of window--resizable.
15689
15690 2011-11-08 Glenn Morris <rgm@gnu.org>
15691
15692 * progmodes/delphi.el (delphi-mode-syntax-table):
15693 Let define-derived-mode define a proper syntax table. (Bug#9994)
15694
15695 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15696
15697 * window.el: Stay away from defsubst.
15698 (window-list-no-nils): Remove.
15699 (window-state-get-1, window-state-get): Use backquote instead.
15700
15701 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15702
15703 * emacs-lisp/find-func.el (find-function-read):
15704 Fix incorrect use of default argument in `completing-read'.
15705
15706 2011-11-08 Martin Rudalics <rudalics@gmx.at>
15707
15708 * window.el (display-buffer-function, special-display-function):
15709 Mention display-buffer-record-window but do not mention
15710 help-setup parameter in doc-strings.
15711 (window-min-delta): Fix doc-string typo.
15712
15713 2011-11-08 Chong Yidong <cyd@gnu.org>
15714
15715 * window.el (window-total-height, window-total-width): Doc fix.
15716 (window-body-size): Move from C.
15717 (window-body-height, window-body-width): Move to C.
15718
15719 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15720
15721 * window.el: Make special-display like display-buffer-alist (bug#9532).
15722 (display-buffer--special-action): New function, morphed
15723 from display-buffer--special.
15724 (display-buffer): Use it to handle special-display-buffers at higher
15725 priority (just after display-buffer-alist).
15726 (display-buffer-fallback-action, display-buffer--other-frame-action)
15727 (pop-to-buffer-same-window): Remove display-buffer--special.
15728
15729 2011-11-07 Glenn Morris <rgm@gnu.org>
15730
15731 * calendar/cal-menu.el (cal-menu-set-date-title):
15732 Do nothing if not in a calendar. (Bug#9976)
15733
15734 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
15735
15736 * files.el (find-file): Always use selected-window.
15737
15738 2011-11-07 Martin Rudalics <rudalics@gmx.at>
15739
15740 * window.el (window-combinations): Make WINDOW argument
15741 mandatory. Rewrite doc-string.
15742 (walk-window-subtree, window-atom-check, window-min-delta)
15743 (window-max-delta, window--resize-this-window)
15744 (window--resize-root-window-vertically, window-tree)
15745 (balance-windows, window-state-put): Rewrite doc-strings as to
15746 not mention the term "subwindow".
15747 (window--resize-subwindows-skip-p): Rename to
15748 window--resize-child-windows-skip-p.
15749 (window--resize-subwindows-normal): Rename to
15750 window--resize-child-windows-normal.
15751 (window--resize-subwindows): Rename to
15752 window--resize-child-windows.
15753 (window-or-subwindow-p): Rename to window--in-subtree-p.
15754
15755 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15756
15757 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
15758 Ensure that mbox format messages end in two newlines (Bug#9974).
15759
15760 2011-11-06 Chong Yidong <cyd@gnu.org>
15761
15762 * window.el (window-combination-p): Function deleted; its
15763 side-effect is not used in any existing code.
15764 (window-combinations, window-combined-p): Call window-*-child
15765 directly.
15766
15767 2011-11-05 Chong Yidong <cyd@gnu.org>
15768
15769 * window.el (window-valid-p): Rename from window-any-p.
15770 (window-size-ignore, window-state-get): Callers changed.
15771 (window-normalize-window): Rename from window-normalize-any-window.
15772 New arg LIVE-ONLY, replacing window-normalize-live-window.
15773 (window-normalize-live-window): Delete.
15774 (window-combination-p, window-combined-p, window-combinations)
15775 (walk-window-subtree, window-atom-root, window-min-size)
15776 (window-sizable, window-sizable-p, window-size-fixed-p)
15777 (window-min-delta, window-max-delta, window-resizable)
15778 (window-resizable-p, window-full-height-p, window-full-width-p)
15779 (window-current-scroll-bars, window-point-1, set-window-point-1)
15780 (window-at-side-p, window-in-direction, window-resize)
15781 (adjust-window-trailing-edge, maximize-window, minimize-window)
15782 (window-deletable-p, delete-window, delete-other-windows)
15783 (record-window-buffer, unrecord-window-buffer)
15784 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
15785 (quit-window, split-window, window-state-put)
15786 (set-window-text-height, fit-window-to-buffer)
15787 (shrink-window-if-larger-than-buffer): Callers changed.
15788
15789 2011-11-04 Eli Zaretskii <eliz@gnu.org>
15790
15791 * mail/rmail.el (rmail-simplified-subject): Decode subject with
15792 rfc2047-decode-string.
15793 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
15794 warnings.
15795
15796 * window.el (window-body-height, window-body-width): Mention in
15797 the doc string that the return values are in frame's canonical
15798 units. (Bug#9949)
15799
15800 2011-11-03 Alan Mackenzie <acm@muc.de>
15801
15802 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
15803 change in cc-engine.el.
15804
15805 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
15806
15807 * window.el (switch-to-buffer): Use `force-same-window' interactively.
15808
15809 2011-11-02 Martin Rudalics <rudalics@gmx.at>
15810
15811 * window.el (quit-window): Call unrecord-window-buffer after
15812 showing another buffer in the window. (Bug#9937)
15813 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
15814
15815 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
15816
15817 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
15818 Accept status with more than 9 shelves. (Bug#9935)
15819 Reported by Colin D Bennett <colin@gibibit.com>.
15820
15821 2011-11-01 Martin Rudalics <rudalics@gmx.at>
15822
15823 * help.el (with-help-window): Don't reference
15824 temp-buffer-show-specifiers in doc-string.
15825
15826 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
15827
15828 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
15829 menu-item.
15830
15831 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15832
15833 * whitespace.el: New version 13.2.2.
15834 (whitespace-newline-mode): Disable properly. Reported by Sarah
15835 <EmacsWiki>.
15836
15837 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
15838
15839 * net/newst-treeview.el: Remove "Time-stamp".
15840 (newsticker--group-manage-orphan-feeds): Do not call
15841 newsticker--treeview-tree-update.
15842 (newsticker-treeview-update, newsticker-treeview):
15843 Call newsticker--treeview-tree-update if necessary.
15844
15845 2011-10-30 Martin Rudalics <rudalics@gmx.at>
15846
15847 * window.el (window-iso-combination-p, window-iso-combined-p)
15848 (window-iso-combinations): Remove "iso-" infix.
15849 Suggested by Chong Yidong.
15850 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
15851 (window-max-delta-1, window-resize, window--resize-siblings)
15852 (window--resize-this-window, adjust-window-trailing-edge)
15853 (split-window, balance-windows-1)
15854 (shrink-window-if-larger-than-buffer):
15855 * calendar/calendar.el (calendar-generate-window):
15856 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
15857
15858 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15859
15860 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
15861 in place (bug#9907).
15862 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
15863 (eshell-rewrite-if-command, eshell-rewrite-for-command)
15864 (eshell-structure-basic-command, eshell-rewrite-while-command)
15865 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
15866 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
15867 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
15868 (eshell-do-pipelines-synchronously, eshell-eval-command):
15869 Use backquotes and prefer setq to set.
15870 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
15871 (eshell-macrop): Use functionp.
15872 (eshell-do-eval): Handle multiple expressions in `while' body.
15873
15874 2011-10-30 Chong Yidong <cyd@gnu.org>
15875
15876 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
15877 instead of set-mark (Bug#9810).
15878
15879 2011-10-30 Chong Yidong <cyd@gnu.org>
15880
15881 * window.el (split-window-below, split-window-right): Rename from
15882 split-window-above-each-other and split-window-side-by-side
15883 respectively. All callers changed.
15884 (split-window-sensibly, split-window-sensibly): Use them.
15885 (split-window-keep-point): Doc fix.
15886
15887 * isearch.el: Add isearch-scroll property to split-window-below
15888 and split-window-right.
15889
15890 * follow.el (follow-mode):
15891 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15892 * progmodes/ada-xref.el (ada-gdb-application):
15893 * emulation/vip.el (vip-buffer-in-two-windows):
15894 * image-dired.el (image-dired-dired-with-window-configuration):
15895 * dired-x.el (dired-do-find-marked-files):
15896 * dired.el (dired-pop-to-buffer):
15897 * bs.el (bs--show-with-configuration):
15898 * vc/emerge.el (emerge-setup-windows):
15899 * textmodes/two-column.el (2C-two-columns):
15900 * textmodes/reftex-toc.el (reftex-toc):
15901 * progmodes/gdb-mi.el (gdb-setup-windows):
15902 * progmodes/fortran.el (fortran-window-create):
15903 * net/newst-treeview.el (newsticker--treeview-window-init):
15904 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
15905 * emulation/tpu-edt.el (tpu-gold-map):
15906 * emulation/crisp.el (crisp-mode-map):
15907 * calendar/calendar.el (calendar-basic-setup): Callers changed.
15908
15909 2011-10-29 Chong Yidong <cyd@gnu.org>
15910
15911 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
15912
15913 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
15914
15915 * textmodes/flyspell.el (flyspell-word): Fix char offset for
15916 forged Ispell output (Bug#7904).
15917
15918 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
15919
15920 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15921
15922 * doc-view.el: Avoid ugly errors about not finding nil.
15923 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
15924 (doc-view-dvipdf-program, doc-view-unoconv-program)
15925 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
15926 Avoid nil or absolute file name as default value.
15927 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
15928
15929 2011-10-28 Alan Mackenzie <acm@muc.de>
15930
15931 * progmodes/cc-defs.el (c-version): -> 5.32.2.
15932
15933 2011-10-28 Alan Mackenzie <acm@muc.de>
15934
15935 Amend the handling of c-beginning/end-of-defun in nested declaration
15936 scopes.
15937
15938 * progmodes/cc-vars.el (c-defun-tactic): Move here from
15939 cc-langs.el. Change it to a defcustom.
15940
15941 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
15942 cc-vars.el.
15943
15944 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15945 Prevent "class foo : bar" being spuriously recognized as a label.
15946
15947 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
15948 Add parameter `inclusive' (to include enclosing braces in the region).
15949 (c-widen-to-enclosing-decl-scope): New function.
15950 (c-while-widening-to-decl-block): New macro.
15951 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
15952 outward for defun boundaries, and correspondingly change symbol
15953 `respect-enclosure' to `go-outward'.
15954 (c-declaration-limits): Change algorithm to report only the "innermost"
15955 defun's boundaries.
15956
15957 2011-10-28 Deniz Dogan <deniz@dogan.se>
15958
15959 * net/rcirc.el (rcirc-mode): Use hard newlines.
15960
15961 2011-10-28 Alan Mackenzie <acm@muc.de>
15962
15963 Amend to indent and fontify macros "which include their own semicolon"
15964 correctly, using the "virtual semicolon" mechanism.
15965
15966 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
15967
15968 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
15969 Recode to scan one line at a time rather than having \n and \r
15970 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
15971 (c-forward-label): Amend for virtual semicolons.
15972 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
15973
15974 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
15975 of the new C macros.
15976
15977 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
15978 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
15979 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
15980 (c-opt-cpp-macro-define): Make into a full language variable.
15981 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
15982 AWK Mode (including \n, \r) removed, no longer needed.
15983
15984 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
15985 Invoke c-make-macro-with-semi-re.
15986
15987 * progmodes/cc-vars.el (c-macro-with-semi-re):
15988 (c-macro-names-with-semicolon): New variables.
15989 (c-make-macro-with-semi-re): New function.
15990
15991 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15992
15993 * vc/log-edit.el: Fill empty field rather than adding new one.
15994 (log-edit-add-field): New function.
15995 (log-edit-insert-changelog): Use it.
15996
15997 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15998
15999 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16000
16001 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16002
16003 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16004 (gdb--check-interpreter): New function.
16005 (gdb): Use it.
16006
16007 2011-10-27 Glenn Morris <rgm@gnu.org>
16008
16009 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16010 (least-positive-float, least-negative-float)
16011 (least-positive-normalized-float, least-negative-normalized-float)
16012 (float-epsilon, float-negative-epsilon):
16013 Remove unnecessary declarations.
16014
16015 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16016 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16017 (least-positive-float, least-negative-float)
16018 (least-positive-normalized-float, least-negative-normalized-float)
16019 (float-epsilon, float-negative-epsilon): Add doc-strings,
16020 based on those in cl.texi.
16021
16022 * files.el (set-visited-file-name): If the major-mode changed,
16023 reload the local variables. (Bug#9796)
16024
16025 2011-10-27 Chong Yidong <cyd@gnu.org>
16026
16027 * subr.el (change-major-mode-after-body-hook): New hook.
16028 (run-mode-hooks): Run it.
16029
16030 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16031 Use change-major-mode-before-body-hook.
16032
16033 * simple.el (fundamental-mode):
16034 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16035 change introducing fundamental-mode-hook.
16036
16037 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
16038
16039 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
16040
16041 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
16042
16043 * ido.el (ido-file-name-all-completions-1): Do not require
16044 tramp.el explicitly. (Bug#7583)
16045
16046 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16047
16048 * progmodes/octave-mod.el:
16049 * progmodes/octave-inf.el: Update maintainer.
16050
16051 2011-10-26 Chong Yidong <cyd@gnu.org>
16052
16053 * subr.el (with-wrapper-hook): Rewrite doc.
16054
16055 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
16056
16057 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
16058 filenames "/method:foo:". (Bug#9793)
16059
16060 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16061
16062 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16063 (bug#9865).
16064
16065 2011-10-24 Glenn Morris <rgm@gnu.org>
16066
16067 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16068
16069 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
16070
16071 * notifications.el: Add the requirement of a running D-Bus session
16072 bus to the Commentary.
16073
16074 2011-10-24 Juri Linkov <juri@jurta.org>
16075
16076 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16077 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16078 (Bug#9364)
16079
16080 2011-10-24 Juri Linkov <juri@jurta.org>
16081
16082 * info.el (Info-following-node-name-re): Add newline to the list
16083 of allowed characters for leading space. (Bug#9824)
16084
16085 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16086
16087 * progmodes/octave-inf.el (inferior-octave-mode-map):
16088 Fix C-c C-h binding.
16089 * progmodes/octave-mod.el (octave-help): Remove.
16090
16091 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
16092
16093 Sync with Tramp 2.2.3.
16094
16095 * net/tramp-cache.el (top): Pacify byte-compiler using
16096 `init-file-user' and `site-run-file'.
16097
16098 * net/trampver.el: Update release number.
16099
16100 2011-10-23 Chong Yidong <cyd@gnu.org>
16101
16102 * files.el (toggle-read-only): Remove obsolete comment about
16103 version control.
16104
16105 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16106 for toggle-read-only. Note that this hasn't called vc-next-action
16107 since 2008-05-02, though it wasn't documented at the time.
16108
16109 * vc/ediff-init.el (ediff-toggle-read-only-function):
16110 Use toggle-read-only.
16111
16112 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
16113
16114 Fix bug #9560, sporadic wrong indentation; improve instrumentation
16115 of c-parse-state.
16116
16117 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
16118 correct faulty logical expression.
16119 (c-parse-state-state, c-record-parse-state-state):
16120 (c-replay-parse-state-state): New defvar/defuns.
16121 (c-debug-parse-state): Use new functions.
16122
16123 2011-10-22 Martin Rudalics <rudalics@gmx.at>
16124
16125 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
16126 last fix. Use window-in-direction correctly.
16127
16128 2011-10-21 Chong Yidong <cyd@gnu.org>
16129
16130 * progmodes/idlwave.el (idlwave-mode):
16131 * progmodes/vera-mode.el (vera-mode): No need to set
16132 require-final-newline; that's done in prog-mode.
16133 Suggested by Stefan Monnier.
16134
16135 2011-10-21 Martin Rudalics <rudalics@gmx.at>
16136
16137 * mouse.el (mouse-drag-window-above)
16138 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16139 (mouse-drag-mode-line-1, mouse-drag-header-line)
16140 (mouse-drag-vertical-line-rightward-window): Remove.
16141 (mouse-drag-line): New function.
16142 (mouse-drag-mode-line, mouse-drag-header-line)
16143 (mouse-drag-vertical-line): Call mouse-drag-line.
16144 * window.el (window-at-side-p, windows-at-side): New functions.
16145
16146 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
16147
16148 * tar-mode.el (tar-grind-file-mode):
16149 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
16150
16151 2011-10-21 Chong Yidong <cyd@gnu.org>
16152
16153 * progmodes/idlwave.el (idlwave-mode):
16154 * progmodes/vera-mode.el (vera-mode):
16155 Use mode-require-final-newline.
16156
16157 2011-10-20 Glenn Morris <rgm@gnu.org>
16158
16159 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
16160
16161 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16162
16163 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16164
16165 2011-10-20 Chong Yidong <cyd@gnu.org>
16166
16167 * emulation/cua-base.el (cua-mode):
16168 * mail/footnote.el (footnote-mode):
16169 * mail/mailabbrev.el (mail-abbrevs-mode):
16170 * net/xesam.el (xesam-minor-mode):
16171 * progmodes/bug-reference.el (bug-reference-mode):
16172 * progmodes/cap-words.el (capitalized-words-mode):
16173 * progmodes/compile.el (compilation-minor-mode)
16174 (compilation-shell-minor-mode):
16175 * progmodes/gud.el (gud-tooltip-mode):
16176 * progmodes/hideif.el (hide-ifdef-mode):
16177 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16178 * progmodes/subword.el (subword-mode):
16179 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16180 * progmodes/which-func.el (which-function-mode):
16181 * term/tvi970.el (tvi970-set-keypad-mode):
16182 * term/vt100.el (vt100-wide-mode):
16183 * textmodes/flyspell.el (flyspell-mode):
16184 * textmodes/ispell.el (ispell-minor-mode):
16185 * textmodes/nroff-mode.el (nroff-electric-mode):
16186 * textmodes/paragraphs.el (use-hard-newlines):
16187 * textmodes/refill.el (refill-mode):
16188 * textmodes/reftex.el (reftex-mode):
16189 * textmodes/rst.el (rst-minor-mode):
16190 * textmodes/sgml-mode.el (html-autoview-mode)
16191 (sgml-electric-tag-pair-mode):
16192 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16193 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16194 * emulation/crisp.el (crisp-mode):
16195 * emacs-lisp/eldoc.el (eldoc-mode):
16196 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16197 minor mode behavior.
16198
16199 2011-10-19 Juri Linkov <juri@jurta.org>
16200
16201 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16202 the list of hard-coded chars with escape-glyph face.
16203
16204 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16205
16206 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16207
16208 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
16209
16210 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16211 running process.
16212
16213 2011-10-19 Glenn Morris <rgm@gnu.org>
16214
16215 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16216 Ignore ignored files. (Bug#9726)
16217
16218 2011-10-19 Chong Yidong <cyd@gnu.org>
16219
16220 Doc fix for minor modes, stating that an omitted argument enables
16221 the mode unconditionally when called from Lisp.
16222
16223 * abbrev.el (abbrev-mode):
16224 * allout.el (allout-mode):
16225 * autoinsert.el (auto-insert-mode):
16226 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16227 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16228 (global-auto-revert-mode):
16229 * battery.el (display-battery-mode):
16230 * composite.el (global-auto-composition-mode)
16231 (auto-composition-mode):
16232 * delsel.el (delete-selection-mode):
16233 * desktop.el (desktop-save-mode):
16234 * dired-x.el (dired-omit-mode):
16235 * dirtrack.el (dirtrack-mode):
16236 * doc-view.el (doc-view-minor-mode):
16237 * double.el (double-mode):
16238 * electric.el (electric-indent-mode, electric-pair-mode):
16239 * emacs-lock.el (emacs-lock-mode):
16240 * epa-hook.el (auto-encryption-mode):
16241 * follow.el (follow-mode):
16242 * font-core.el (font-lock-mode):
16243 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16244 * help.el (temp-buffer-resize-mode):
16245 * hilit-chg.el (highlight-changes-mode)
16246 (highlight-changes-visible-mode):
16247 * hi-lock.el (hi-lock-mode):
16248 * hl-line.el (hl-line-mode, global-hl-line-mode):
16249 * icomplete.el (icomplete-mode):
16250 * ido.el (ido-everywhere):
16251 * image-file.el (auto-image-file-mode):
16252 * image-mode.el (image-minor-mode):
16253 * iswitchb.el (iswitchb-mode):
16254 * jka-cmpr-hook.el (auto-compression-mode):
16255 * linum.el (linum-mode):
16256 * longlines.el (longlines-mode):
16257 * master.el (master-mode):
16258 * mb-depth.el (minibuffer-depth-indicate-mode):
16259 * menu-bar.el (menu-bar-mode):
16260 * minibuf-eldef.el (minibuffer-electric-default-mode):
16261 * mouse-sel.el (mouse-sel-mode):
16262 * msb.el (msb-mode):
16263 * mwheel.el (mouse-wheel-mode):
16264 * outline.el (outline-minor-mode):
16265 * paren.el (show-paren-mode):
16266 * recentf.el (recentf-mode):
16267 * reveal.el (reveal-mode, global-reveal-mode):
16268 * rfn-eshadow.el (file-name-shadow-mode):
16269 * ruler-mode.el (ruler-mode):
16270 * savehist.el (savehist-mode):
16271 * scroll-all.el (scroll-all-mode):
16272 * scroll-bar.el (scroll-bar-mode):
16273 * server.el (server-mode):
16274 * shell.el (shell-dirtrack-mode):
16275 * simple.el (auto-fill-mode, transient-mark-mode)
16276 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16277 (line-number-mode, column-number-mode, size-indication-mode)
16278 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16279 * strokes.el (strokes-mode):
16280 * time.el (display-time-mode):
16281 * t-mouse.el (gpm-mouse-mode):
16282 * tool-bar.el (tool-bar-mode):
16283 * tooltip.el (tooltip-mode):
16284 * type-break.el (type-break-mode-line-message-mode)
16285 (type-break-query-mode):
16286 * view.el (view-mode):
16287 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16288 (global-whitespace-mode, global-whitespace-newline-mode):
16289 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16290
16291 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16292 Fix autogenerated docstring.
16293
16294 2011-10-19 Juri Linkov <juri@jurta.org>
16295
16296 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16297 by checking environment variables "DESKTOP_SESSION" and
16298 "XDG_CURRENT_DESKTOP". (Bug#9779)
16299
16300 2011-10-19 Juri Linkov <juri@jurta.org>
16301
16302 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16303 (browse-url-chromium-program, browse-url-chromium-arguments):
16304 New defcustoms.
16305 (browse-url-default-browser): Check for `browse-url-chromium' and
16306 call `browse-url-chromium-program'.
16307 (browse-url-chromium): New command. (Bug#9779)
16308
16309 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
16310
16311 * facemenu.el (list-colors-duplicates): On Windows, detect more
16312 duplicates by assuming that only colors matching "^System" are
16313 special "system colors". (Bug#9722)
16314
16315 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16316
16317 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16318 to distinguish the author from the committer.
16319
16320 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
16321
16322 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16323
16324 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
16325
16326 * international/mule.el (sgml-html-meta-auto-coding-function):
16327 Add support for detecting encoding in HTML5 specified only as
16328 <meta charset="UTF-8">. Implementation just makes http-equiv and
16329 content-type parts from HTML4 encoding string optional. (Bug#9716)
16330
16331 2011-10-18 Glenn Morris <rgm@gnu.org>
16332
16333 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
16334
16335 2011-10-18 Chong Yidong <cyd@gnu.org>
16336
16337 * faces.el (cursor): Doc fix.
16338
16339 2011-10-17 Chong Yidong <cyd@gnu.org>
16340
16341 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16342
16343 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
16344
16345 * dirtrack.el (dirtrack): Support shell buffers with path
16346 prefixes, e.g. tramp-based remote shells. (Bug#9647)
16347
16348 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
16349
16350 * json.el: Bump version to 1.3 and note change in History.
16351 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16352
16353 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16354
16355 * comint.el (comint-insert-input, comint-send-input)
16356 (comint-get-old-input-default, comint-backward-matching-input)
16357 (comint-next-prompt): Use nil instead of `input' for field property of
16358 past user input (bug#114).
16359
16360 * minibuffer.el (completion--replace): Inherit surrounding properties
16361 (bug#114).
16362 (minibuffer-complete-and-exit): Use it.
16363
16364 * comint.el (comint--table-subvert): Quote the all-completions output
16365 (bug#9160).
16366
16367 2011-10-17 Martin Rudalics <rudalics@gmx.at>
16368
16369 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
16370
16371 * menu-bar.el (menu-bar-file-menu): Add entry for making new
16372 window on right of selected. (Bug#9350) Reword other window
16373 entries and separate them from frame entries.
16374
16375 2011-10-15 Glenn Morris <rgm@gnu.org>
16376
16377 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
16378 Doc fixes.
16379
16380 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
16381
16382 * net/network-stream.el (network-stream-open-starttls):
16383 Improve detection of failure due to lack of TLS support.
16384
16385 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
16386 putting the input text in front and in bold.
16387
16388 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16389
16390 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
16391
16392 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
16393 empty buffer.
16394
16395 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
16396 unread-command-events rather than pushing yet-another event.
16397
16398 2011-10-14 Eli Zaretskii <eliz@gnu.org>
16399
16400 * mail/sendmail.el (sendmail-query-once): Improve the wording of
16401 the explanation of the possible choices. Make the options passed
16402 to completing-read shorter.
16403
16404 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16405
16406 * textmodes/flyspell.el (flyspell-large-region): Make sure
16407 extended character mode is used if defined (Bug#1339).
16408
16409 2011-10-13 Eli Zaretskii <eliz@gnu.org>
16410
16411 * simple.el (what-cursor-position): Fix the display of the
16412 character info for LRE, LRO, RLE, and RLO characters by appending
16413 an invisible PDF.
16414
16415 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
16416
16417 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
16418 even in case of error; add debug spec; simplify data flow.
16419 (with-timeout-handler): Remove.
16420
16421 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
16422
16423 Fix Bug#6019, Bug#9315.
16424
16425 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
16426 complete `buffer-file-name', the local file name part could look
16427 remotely (for example on VMS).
16428
16429 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
16430 `tramp-run-real-handler'.
16431 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
16432 already quoted by '"'.
16433
16434 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
16435 Let `file-name-handler-alist' be nil, the local file name part
16436 could look remotely (for example on VMS).
16437
16438 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
16439
16440 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
16441 from here...
16442 (flyspell-post-command-hook): ...to here.
16443
16444 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16445
16446 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
16447 if not needed.
16448 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
16449 using completion. Protect against "slow" callers.
16450 Remove the "message hack".
16451
16452 2011-10-11 Juri Linkov <juri@jurta.org>
16453
16454 * isearch.el (isearch-lazy-highlight-word): New variable.
16455 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
16456 Use it. (Bug#9727)
16457
16458 2011-10-11 Glenn Morris <rgm@gnu.org>
16459
16460 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
16461 like f90-previous-statement does.
16462
16463 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16464
16465 * eshell/eshell.el (eshell-command): History should be saved
16466 only in interactive use, to avoid error.
16467
16468 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16469
16470 * minibuffer.el (completion-file-name-table): Fix last change,
16471 i.e. ignore normal errors but not the other ones.
16472
16473 2011-10-10 Martin Rudalics <rudalics@gmx.at>
16474
16475 * window.el (special-display-buffer-names)
16476 (special-display-regexps): Remove some remnants of earlier
16477 changes from doc-strings.
16478 (quit-windows-on): New function.
16479
16480 * vc/vc.el (vc-revert, vc-rollback):
16481 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
16482 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
16483 (Bug#6183) (Bug#7074) (Bug#7447)
16484
16485 2011-10-09 Martin Rudalics <rudalics@gmx.at>
16486
16487 * window.el (frame-auto-hide-function): Add version tag.
16488 (Bug#9699)
16489
16490 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
16491
16492 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
16493 condition.
16494
16495 2011-10-09 Leo Liu <sdl.web@gmail.com>
16496
16497 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
16498 (Bug#9701)
16499
16500 2011-10-08 Glenn Morris <rgm@gnu.org>
16501
16502 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
16503 before the first code statement zero indent. (Bug#9690)
16504
16505 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
16506
16507 * simple.el (count-words-region): Always count in the region.
16508 Report the number of lines and characters too.
16509 (count-words): New command, which counts in the buffer if the
16510 region is inactive, as count-words-region used to.
16511 (count-words--message): New function. Handle plurals.
16512 (count-lines-region): Make it an alias for count-words-region.
16513
16514 * bindings.el (esc-map): Replace count-lines-region with
16515 count-words-region.
16516
16517 2011-10-08 Martin Rudalics <rudalics@gmx.at>
16518
16519 * window.el (window--delete): Delete dedicated frame
16520 unconditionally when argument KILL is non-nil. (Bug#9699)
16521 (switch-to-buffer): Fix doc-string typo.
16522
16523 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16524
16525 * eshell/eshell.el (eshell-command): Avoid using hooks.
16526
16527 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
16528
16529 * bindings.el ([M-left],[M-right]): Bind to left-word and
16530 right-word respectively.
16531
16532 2011-10-07 Glenn Morris <rgm@gnu.org>
16533
16534 * cus-start.el (debug-on-quit): Fix custom type.
16535
16536 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16537
16538 * subr.el (define-key-after): Clarify that the function is not
16539 useful for non-menu keymaps.
16540
16541 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
16542
16543 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16544
16545 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
16546 in current minibuffer (Fix bug with recursive minibuffers).
16547
16548 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
16549
16550 * progmodes/gdb-mi.el (gdb): Doc fix.
16551
16552 2011-10-05 Martin Rudalics <rudalics@gmx.at>
16553
16554 * window.el (frame-auto-hide-function): New option replacing
16555 frame-auto-delete. Suggested by Stefan Monnier.
16556 (window--delete): Call frame-auto-hide-function instead of
16557 investigating frame-auto-delete.
16558 (window-point-1, set-window-point-1): New functions.
16559 (window-in-direction, record-window-buffer, window-state-get-1)
16560 (display-buffer-record-window): Use window-point-1 instead of
16561 window-point.
16562 (set-window-buffer-start-and-point): Use set-window-point-1.
16563
16564 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16565
16566 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
16567
16568 2011-10-05 Glenn Morris <rgm@gnu.org>
16569
16570 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
16571 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
16572
16573 2011-10-05 Leo Liu <sdl.web@gmail.com>
16574
16575 * subr.el (read-char-choice): Fix argument to buffer-live-p which
16576 works with buffer object.
16577
16578 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16579
16580 * mpc.el (mpc-tool-bar-map): Add labels.
16581
16582 2011-10-04 Glenn Morris <rgm@gnu.org>
16583
16584 * calendar/holidays.el (calendar-check-holidays): Doc fix.
16585
16586 2011-10-04 Martin Rudalics <rudalics@gmx.at>
16587
16588 * window.el (window--delete): New function.
16589 (frame-auto-delete): Resuscitate option.
16590 (bury-buffer, replace-buffer-in-windows)
16591 (quit-window): Rewrite using window--delete.
16592 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16593 Pass display-buffer-mark-dedicated to window--display-buffer-2
16594 (Bug#9639).
16595
16596 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16597
16598 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
16599 returns a list (bug#9554). Add remote file name completion.
16600 * comint.el (comint--table-subvert): Curry and get quote&unquote
16601 functions as arguments.
16602 (comint--complete-file-name-data): Adjust call accordingly.
16603 * pcomplete.el (pcomplete--table-subvert): Remove.
16604 (pcomplete-completions-at-point): Use comint--table-subvert instead.
16605
16606 * minibuffer.el (completion-table-case-fold): Use currying.
16607 (completion--styles-type, completion--cycling-threshold-type):
16608 New constants.
16609 (completion-styles, completion-category-overrides)
16610 (completion-cycle-threshold): Use them.
16611 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
16612 completion-table-case-fold.
16613
16614 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
16615
16616 * minibuffer.el (completion-category-overrides): Fix type of styles
16617 and add more user friendly tags (bug#9660).
16618
16619 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16620
16621 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
16622 (mule-input-method-string): New widget.
16623 (default-input-method, language-info-custom-alist): Use it.
16624
16625 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16626
16627 * pcomplete.el: Require comint.
16628 (pcomplete--common-suffix): Remove.
16629 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
16630 (pcomplete--table-subvert): Sync with comint--table-subvert.
16631 (pcomplete--entries): Use comint-completion-file-name-table.
16632 * comint.el (comint-unquote-filename): Simplify.
16633 (comint-completion-file-name-table): New function (bug#9616).
16634 (comint--complete-file-name-data): Use it.
16635
16636 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
16637 (pcmpl-gnu-tar-buffer): Remove.
16638 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
16639 around. Make sure pcomplete-suffix-list is only changed temporarily.
16640 Don't look inside the tar's file if it's too large.
16641
16642 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
16643
16644 * cus-edit.el (custom-mode-map):
16645 * epa.el (epa-key-list-mode-map):
16646 * man.el (Man-mode-map):
16647 * startup.el (splash-screen-keymap):
16648 * simple.el (special-mode-map): Use scroll-up-command and
16649 scroll-down-command.
16650
16651 * progmodes/idlw-help.el (idlwave-help-mode-map):
16652 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
16653 * net/newst-plainview.el (newsticker-mode-map):
16654 * emulation/ws-mode.el (wordstar-mode-map):
16655 * emulation/vi.el (vi-com-map):
16656 * calc/calc-graph.el (calc-graph-show-dumb):
16657 * term/sun.el (terminal-init-sun):
16658 * term/ns-win.el (global-map):
16659 * progmodes/grep.el (grep-mode-map):
16660 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
16661 * mail/rmail.el (rmail-mode-map):
16662 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
16663
16664 * custom.el (custom-safe-themes, load-theme): Treat value of t for
16665 custom-safe-themes as special.
16666
16667 2011-10-01 Julien Danjou <julien@danjou.info>
16668
16669 * notifications.el (notifications-notify): Fix docstring.
16670
16671 2011-10-01 Per Starbäck <per@starback.se>
16672
16673 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
16674
16675 2011-09-30 Martin Rudalics <rudalics@gmx.at>
16676
16677 * startup.el (command-line-1): Fix last fix by inserting
16678 initial-scratch-message into *scratch* before displaying it.
16679 (Bug#9605) and (Bug#9636)
16680
16681 2011-09-29 Eli Zaretskii <eliz@gnu.org>
16682
16683 * simple.el (line-move): If auto-hscroll-mode is disabled and the
16684 window is hscrolled, move by logical lines. (Bug#9607)
16685 (line-move-visual): Update the doc string to the above effect.
16686
16687 2011-09-29 Martin Rudalics <rudalics@gmx.at>
16688
16689 * window.el (display-buffer-record-window): When WINDOW is the
16690 selected window use `point' instead of `window-point'. (Bug#9626)
16691
16692 * startup.el (command-line-1): Use insert-before-markers when
16693 inserting initial-scratch-message. (Bug#9605)
16694
16695 * help.el (help-window): Remove variable.
16696
16697 2011-09-29 Glenn Morris <rgm@gnu.org>
16698
16699 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
16700
16701 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
16702
16703 * descr-text.el (describe-char-categories): Accept category
16704 descriptions more than one line long.
16705
16706 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
16707
16708 * simple.el (delete-trailing-whitespace): Fix last change.
16709
16710 * progmodes/perl-mode.el (perl-syntax-propertize-function):
16711 Don't confuse "y => 3" as the beginning of a `y' operation.
16712
16713 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
16714 object has more than 4 slots (bug#9613).
16715
16716 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
16717
16718 * subr.el (with-output-to-temp-buffer):
16719 * net/quickurl.el (quickurl, quickurl-browse-url):
16720 Fix typos in docstrings.
16721
16722 2011-09-27 Eli Zaretskii <eliz@gnu.org>
16723
16724 * minibuffer.el (completion-styles)
16725 (completion-category-overrides): Cross reference each other in doc
16726 strings.
16727
16728 2011-09-27 Glenn Morris <rgm@gnu.org>
16729
16730 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
16731 to split-string. (Bug#9606)
16732
16733 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16734
16735 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
16736 (bug#9615).
16737
16738 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
16739
16740 * emacs-lisp/package.el (list-packages): Fix echo area message.
16741
16742 2011-09-27 Leo Liu <sdl.web@gmail.com>
16743
16744 * ido.el (ido-read-internal): Accept cons cell HIST arg.
16745
16746 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
16747
16748 * net/dbus.el (dbus-unregister-object): Don't release services for
16749 registered signals. (Bug#9581)
16750
16751 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
16752
16753 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
16754 function that picks between cfengine 2 and 3 support
16755 automatically. Update docs accordingly.
16756
16757 2011-09-22 Kenichi Handa <handa@m17n.org>
16758
16759 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
16760 ZERO.
16761 (indian-itrans-v5-table-for-tamil): New variable.
16762 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
16763
16764 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
16765
16766 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
16767 that's true if the current command involved collapsing of text.
16768 It's reset to false at the beginning of the next command.
16769 (allout-post-command-business): Move the cursor to the beginning
16770 of entry if the cursor is hidden and collapsing activity just
16771 happened.
16772
16773 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
16774
16775 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
16776 tracking (Bug#9541).
16777
16778 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
16779
16780 * net/newst-reader.el (newsticker-html-renderer)
16781 (newsticker-show-news): Automatically load html rendering package
16782 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
16783 because w3m-fill-column is let-bound" and the error "Symbol's value
16784 as variable is void: w3m-fill-column".
16785
16786 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
16787
16788 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
16789 Release services only if they are defined. (Bug#9581)
16790
16791 2011-09-23 Richard Stallman <rms@gnu.org>
16792
16793 * textmodes/paragraphs.el (forward-sentence): For backwards case,
16794 distinguish start of paragraph from start of its text.
16795
16796 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
16797
16798 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
16799 (rmail-generate-viewer-buffer): Put that hook on view buffer.
16800 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
16801
16802 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
16803
16804 * international/mule-diag.el (mule-diag): Insert a newline after
16805 each fontset description.
16806
16807 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16808
16809 * simple.el (delete-trailing-whitespace):
16810 Document last change; simplify.
16811
16812 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
16813
16814 * simple.el (delete-trailing-whitespace): Also delete
16815 extra newlines at the end of the buffer.
16816
16817 * textmodes/picture.el: Make motion commands obey shift-select-mode.
16818 (picture-newline): Use forward-line so as to ignore fields.
16819
16820 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16821
16822 * subr.el (with-wrapper-hook): Fix edebug spec.
16823
16824 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
16825
16826 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
16827 (bug#4538).
16828
16829 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
16830
16831 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
16832 Fix nasty bug using wrong cached values.
16833
16834 2011-09-23 Alan Mackenzie <acm@muc.de>
16835
16836 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
16837
16838 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
16839
16840 * window.el (pop-to-buffer): Ensure right window is selected if we
16841 chose another frame.
16842
16843 2011-09-22 Eli Zaretskii <eliz@gnu.org>
16844
16845 * simple.el (what-cursor-position): Use get-char-property-change
16846 and next-single-char-property-change, to be able to show display
16847 properties that come from overlays as well as text properties.
16848
16849 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
16850
16851 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
16852
16853 * cmuscheme.el (run-scheme, switch-to-scheme):
16854 * cus-edit.el (customize-group, custom-buffer-create)
16855 (customize-browse):
16856 * info.el (info):
16857 * shell.el (shell):
16858 * mail/sendmail.el (mail):
16859 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
16860
16861 2011-09-22 Richard Stallman <rms@gnu.org>
16862
16863 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
16864 move back only to line beg, don't move back over blank lines.
16865
16866 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
16867
16868 * files.el (copy-directory): Set directory attributes only in case
16869 they could be retrieved from the source directory. (Bug#9565)
16870
16871 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
16872
16873 * progmodes/hideshow.el (hs-looking-at-block-start-p)
16874 (hs-find-block-beginning, hs-hide-level-recursive):
16875 Ignore strings as well as comments. (Bug#9502)
16876
16877 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
16878
16879 * progmodes/sql.el (sql-comint-postgres):
16880 Convert port number to a string. (Bug#9566)
16881
16882 2011-09-22 Martin Rudalics <rudalics@gmx.at>
16883
16884 * window.el (quit-window): Undedicate window when switching to
16885 previous buffer. Reported by Thierry Volpiatto
16886 <thierry.volpiatto@gmail.com>.
16887 (special-display-popup-frame): When popping up a new frame reset
16888 its previous buffers to nil. Simplify code.
16889
16890 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
16891
16892 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
16893 and process filter, as done also in `shell-command'.
16894
16895 2011-09-21 Martin Rudalics <rudalics@gmx.at>
16896
16897 * window.el (set-window-buffer-start-and-point):
16898 Call set-window-start with NOFORCE argument t.
16899 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16900 (quit-window): Reword doc-string. Handle new format of
16901 quit-restore parameter. Don't delete window if it has a
16902 previous buffer we can show instead of the present one.
16903 (display-buffer-record-window): Rewrite using a new format for
16904 the quit-restore window parameter
16905 (special-display-popup-frame, display-buffer-same-window)
16906 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16907 (display-buffer-pop-up-window, display-buffer-use-some-window):
16908 Adapt symbol passed to display-buffer-record-window.
16909 * help.el (help-window-setup): Handle new format of quit-restore
16910 parameter.
16911
16912 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
16913
16914 * faces.el (face-list): Fix docstring (bug#9564).
16915
16916 * window.el (display-buffer--action-function-custom-type):
16917 Don't include internal functions in the Custom interface.
16918
16919 2011-09-20 Juri Linkov <juri@jurta.org>
16920
16921 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
16922 (Info-forward-node, Info-backward-node, Info-next-preorder)
16923 (Info-last-preorder): Use it. (Bug#9528)
16924
16925 2011-09-20 Juri Linkov <juri@jurta.org>
16926
16927 * info.el (Info-last-preorder): Visit last menu item only when
16928 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
16929
16930 2011-09-20 Julien Danjou <julien@danjou.info>
16931
16932 * password-cache.el (password-cache-remove): Remove entries even if the
16933 value is nil, so that password with a nil value (negative caching) is
16934 possible to invalidate.
16935
16936 2011-09-20 Lawrence Mitchell <wence@gmx.li>
16937
16938 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
16939 all whitespace around breakpoint. (Bug#9553)
16940 (f90-find-breakpoint): Only break at whitespace inside a comment.
16941
16942 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
16943
16944 * minibuffer.el (completion-file-name-table): Keep track of errors.
16945 (completion-table-with-predicate): Handle the case where pred1 is nil.
16946 * pcomplete.el (pcomplete-completions-at-point): Simplify.
16947
16948 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16949
16950 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
16951 (debugger-return-value): Signal an error if the debugging context does
16952 not await any return value.
16953
16954 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
16955 * image-mode.el (image-toggle-display-text)
16956 (image-toggle-display-image): Stay away from evil `intangible'.
16957
16958 2011-09-19 Leo Liu <sdl.web@gmail.com>
16959
16960 * replace.el (occur-revert-arguments): Make it permanent-local.
16961 (occur-mode): Don't call font-lock-defontify.
16962
16963 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
16964
16965 * net/ldap.el (ldap-search-internal): Don't push empty search
16966 result (Bug#9508).
16967
16968 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16969
16970 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
16971
16972 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
16973
16974 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
16975 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
16976
16977 2011-09-18 Juri Linkov <juri@jurta.org>
16978
16979 * buff-menu.el (Buffer-menu-mode-map):
16980 * dired.el (dired-mode-map):
16981 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
16982 (lisp-interaction-mode-map):
16983 * emacs-lisp/package.el (package-menu-mode-map):
16984 * epa.el (epa-key-list-mode-map):
16985 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
16986 (menu-bar-options-menu):
16987 * outline.el (outline-mode-menu-bar-map):
16988 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
16989 * vc/vc-dir.el (vc-dir-menu-map):
16990 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
16991 Capitalize non-function content words in menu item strings.
16992
16993 * dired.el (dired-mode-map): Add menu item for
16994 `image-dired-dired-toggle-marked-thumbs'.
16995
16996 2011-09-18 Juri Linkov <juri@jurta.org>
16997
16998 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
16999 to `isearch-case-fold-search' and restore its original value
17000 after the `isearch-mode' call.
17001
17002 2011-09-18 Juri Linkov <juri@jurta.org>
17003
17004 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17005 because `zgrep' returns 1 for successful matches (bug#9226).
17006
17007 2011-09-18 Juri Linkov <juri@jurta.org>
17008
17009 * info.el (Info-extract-menu-node-name): Check the second match
17010 for empty string (second test-case of bug#9528).
17011 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17012 intermediate nodes to the history (first test-case of bug#9528).
17013
17014 2011-09-18 Juri Linkov <juri@jurta.org>
17015
17016 * info.el (Info-mode-syntax-table): New variable.
17017 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
17018
17019 2011-09-18 Juri Linkov <juri@jurta.org>
17020
17021 * info.el (Info-file-supports-index-cookies):
17022 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17023 outputs one more line for long file names (bug#4142).
17024
17025 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17026
17027 * newcomment.el (comment-normalize-vars): If prompting for
17028 comment-start, set comment-start-skip too (Bug#8424).
17029
17030 2011-09-18 Johan Bockgård <bojohan@gnu.org>
17031
17032 * icomplete.el: Fix previous fix of Bug#5849.
17033 (icomplete-mode): Don't set completion-show-inline-help.
17034 (icomplete-minibuffer-setup): Set completion-show-inline-help
17035 locally during icompletion.
17036
17037 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17038
17039 * woman.el (woman2-process-escapes): Don't delete unrecognized
17040 escapes (Bug#7843).
17041
17042 * files.el (inhibit-first-line-modes-regexps): Add image files.
17043 (hack-local-variables-prop-line): Return nil for malformed
17044 prop-lines (Bug#9044).
17045
17046 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
17047
17048 * net/tramp.el (top): Don't require 'shell.
17049 (tramp-methods): Fix docstring.
17050 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
17051 Return complete remote file name. Handle "smb" case.
17052 Use `tramp-tmpdir', if defined for the respective method.
17053 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17054
17055 * net/tramp-compat.el (top): Require 'shell.
17056
17057 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17058 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17059 `tramp-current-host'.
17060 (tramp-get-remote-tmpdir): Remove.
17061
17062 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17063 `tramp-tmpdir' entries.
17064 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17065 (tramp-smb-handle-file-attributes): Ignore errors.
17066 (tramp-smb-wait-for-output): Check also for process end.
17067
17068 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17069
17070 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17071 when sending QUIT (bug#9312).
17072
17073 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
17074
17075 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17076 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17077 occur-mode-display-occurrence.
17078 (occur-edit-mode): Add usage message.
17079 (occur-cease-edit): New command.
17080 (occur-after-change-function): Use text properties to find the
17081 position of the prefix text.
17082 (occur-engine): Set stickiness of prefix text properties.
17083
17084 2011-09-17 Glenn Morris <rgm@gnu.org>
17085
17086 * progmodes/etags.el (complete-tag):
17087 Fix call to completion-in-region. (Bug#9526)
17088
17089 2011-09-17 Juri Linkov <juri@jurta.org>
17090
17091 * textmodes/ispell.el (ispell-word): Add to the error message
17092 the word, ispell program name and current dictionary (bug#9121).
17093 (ispell-tex-arg-end): Capitalize "error" in the error message.
17094
17095 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17096
17097 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17098 check. (Bug#4251)
17099
17100 2011-09-17 Juri Linkov <juri@jurta.org>
17101
17102 * window.el (window-safe-min-height, window-safe-min-width):
17103 Fix typos (followup to bug#9522).
17104
17105 2011-09-17 Sven Joachim <svenjoac@gmx.de>
17106
17107 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17108
17109 2011-09-16 Eli Zaretskii <eliz@gnu.org>
17110
17111 * simple.el (line-move): If goal-column is set, move by logical
17112 lines, not by display lines. (Bug#971)
17113 (next-line, previous-line, goal-column, line-move-visual): Doc fix
17114 to reflect the above change.
17115
17116 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17117
17118 * image.el (imagemagick-register-types): Use regexp-opt.
17119
17120 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17121
17122 * window.el (display-buffer-base-action): Rename from
17123 display-buffer-default-action. Make default value empty.
17124 (display-buffer-overriding-action): Convert to defvar.
17125 (display-buffer-fallback-action): New var.
17126
17127 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17128
17129 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
17130 declaration.
17131 (package--add-to-archive-contents): If there is a duplicate entry
17132 with an older version, remove it.
17133 (package-menu-mark-delete, package-menu-mark-install)
17134 (package-menu-mark-unmark): Make unused args optional.
17135 (package-menu-mark-obsolete-for-deletion):
17136 Use package-menu-get-status instead of a regexp search.
17137 (package-menu-get-status): Use tabulated-list-entry.
17138 (package-menu-mark-upgrades): New command.
17139 (package-menu-mode-map): Bind it to U. Add it to menu bar.
17140 (package-menu-execute): Do installation before deletion.
17141 (package-menu-refresh, package-menu-execute): Use derived-mode-p
17142 instead of checking major-mode.
17143 (package-menu--find-upgrades): New function.
17144
17145 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17146
17147 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17148 passwords in the log buffer.
17149 (smtpmail-process-filter): Update the process marker so that the
17150 "broken by peer" status message is inserted in the right place.
17151
17152 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17153
17154 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17155 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17156 bibtex-completion-at-point-function.
17157 (bibtex-completion-at-point-function): Use them.
17158
17159 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17160
17161 * mpc.el (mpc-constraints-tag-lookup): New function.
17162 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17163 also to browser "album|playlist".
17164
17165 2011-09-14 Juri Linkov <juri@jurta.org>
17166
17167 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17168 (isearch-edit-string): Use length of `isearch-string' when
17169 `isearch-fail-pos' returns nil.
17170 (isearch-message): Remove duplicate code and call
17171 `isearch-fail-pos' with arg `t'.
17172
17173 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
17174
17175 * replace.el (occur-mode-goto-occurrence): Don't force using other
17176 window (Bug#9499).
17177
17178 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17179
17180 2011-09-14 Martin Rudalics <rudalics@gmx.at>
17181
17182 * window.el (display-buffer-window): Remove.
17183 (display-buffer-record-window): Use help-setup window parameter
17184 instead of variable display-buffer-window.
17185 (display-buffer-function, special-display-buffer-names)
17186 (special-display-function): Mention help-setup parameter instead
17187 of display-buffer-window in doc-string.
17188 * help.el (help-window-setup): New argument help-window.
17189 Use help-window-setup parameter instead of display-buffer-window.
17190 Reword some messages.
17191 (with-help-window): Pass window used for displaying the buffer
17192 to help-window-setup. Don't set display-buffer-window.
17193
17194 2011-09-13 Glenn Morris <rgm@gnu.org>
17195
17196 * emacs-lisp/debug.el (debugger-make-xrefs):
17197 Preserve point. (Bug#9462)
17198
17199 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17200
17201 * window.el (window-deletable-p): Use next-frame.
17202
17203 2011-09-13 Martin Rudalics <rudalics@gmx.at>
17204
17205 * window.el (window-auto-delete): Remove.
17206 (window-deletable-p): Remove argument FORCE. Don't deal with
17207 dedication and previous buffers.
17208 (switch-to-prev-buffer): Don't delete window.
17209 (delete-windows-on): Delete a window's frame if and only if the
17210 window is dedicated.
17211 (replace-buffer-in-windows): Delete buffer's window or frame if
17212 and only if window is dedicated.
17213 (quit-window): Handle quit-restore as before last change.
17214 (bury-buffer): Delete window only if window-deletable-p returns t.
17215
17216 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17217
17218 * window.el (window-deletable-p): Never delete the last frame on a
17219 given terminal.
17220
17221 2011-09-13 Glenn Morris <rgm@gnu.org>
17222
17223 * help.el (describe-key-briefly): Copy previous standard-output change.
17224
17225 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
17226
17227 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17228
17229 2011-09-13 Glenn Morris <rgm@gnu.org>
17230
17231 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17232 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17233
17234 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
17235
17236 * dired-aux.el (dired-mark-read-string): Don't return default
17237 value on empty input (Bug#9361).
17238 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17239 Omit initial minibuffer contents.
17240 (dired-do-chmod): Signal an error on empty input.
17241 (dired-mark-read-string): Don't return default on empty input.
17242
17243 * files.el (file-modes-symbolic-to-number): Doc fix.
17244
17245 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17246
17247 * international/mule-cmds.el (ucs-completions): Remove.
17248 (read-char-by-name): Use complete-with-action instead; add metadata.
17249
17250 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17251
17252 * window.el (display-buffer--action-function-custom-type)
17253 (display-buffer--action-custom-type): New vars.
17254 (display-buffer-alist, display-buffer-default-action)
17255 (display-buffer-overriding-action): Add defcustom types.
17256
17257 * frame.el (delete-other-frames): Doc fix (Bug#276).
17258
17259 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17260
17261 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17262
17263 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17264
17265 Change modes that used same-window-* vars to use switch-to-buffer.
17266
17267 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17268 Use switch-to-buffer.
17269
17270 * cus-edit.el (customize-group, custom-buffer-create)
17271 (customize-browse, custom-buffer-create-other-window):
17272 Use switch-to-buffer or switch-to-buffer-other-window.
17273
17274 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17275 (Info-prev, Info-up, Info-speedbar-goto-node)
17276 (info-display-manual): Use switch-to-buffer.
17277 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17278
17279 * mail/sendmail.el (mail): Use switch-to-buffer.
17280 (mail-recover): Use switch-to-buffer-other-window.
17281
17282 * cmuscheme.el (run-scheme, switch-to-scheme):
17283 * ielm.el (ielm):
17284 * shell.el (shell):
17285 * net/rlogin.el (rlogin):
17286 * net/telnet.el (telnet, rsh):
17287 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17288
17289 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17290
17291 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17292
17293 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17294
17295 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17296 so don't mention it (bug#9301).
17297 (dired-sort-toggle-or-edit): Clarify string further.
17298
17299 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17300 match `x', `w32' and `ns', like the manual says (bug#9029).
17301
17302 * subr.el (eval-after-load): Doc string clarification (bug#9125).
17303 (process-kill-buffer-query-function): Mention the buffer name in
17304 the query.
17305
17306 * image-mode.el (image-next-line): The line parameter is mandatory
17307 (bug#9258).
17308
17309 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17310 which can be useful (bug#9301).
17311
17312 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17313
17314 * subr.el (match-string): Mention that the current buffer should
17315 be the same as the search was done in (bug#9282).
17316
17317 * facemenu.el: Disable the remove-* commands if the mark isn't
17318 active (bug#9162).
17319
17320 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17321
17322 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17323 of display-buffer.
17324 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17325
17326 * replace.el (occur-mode-goto-occurrence)
17327 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17328 and display-buffer.
17329
17330 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17331 display-buffer.
17332
17333 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17334 special-display and same-window variables.
17335 (mail-other-window): Use switch-to-buffer-other-window.
17336 (mail-other-frame): USe switch-to-buffer-other-frame.
17337
17338 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17339 Use display-buffer-other-frame.
17340 (gdb-display-gdb-buffer): Use pop-to-buffer.
17341
17342 * progmodes/gud.el (gud-goto-info): Use info-other-window.
17343
17344 * progmodes/python.el: Don't set same-window-buffer-names.
17345
17346 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17347
17348 * window.el (display-buffer-alist): Add *Python*.
17349
17350 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17351
17352 * window.el (display-buffer-alist): Add entry for buffers
17353 previously handled same-window-*.
17354 (display-buffer-alist, display-buffer-default-action)
17355 (display-buffer-overriding-action): Mark as risky.
17356 (display-buffer-alist): Document action function changes.
17357 (display-buffer--same-window-action)
17358 (display-buffer--other-frame-action): New variables.
17359 (switch-to-buffer, display-buffer-other-frame): Use them.
17360 (display-buffer): Rename reuse-frame entry to reusable-frames.
17361 (display-buffer-reuse-selected-window): Function deleted.
17362 (display-buffer-reuse-window): Handle reusable-frames alist entry.
17363 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
17364 (display-buffer-special): New function.
17365 (display-buffer--maybe-pop-up-frame-or-window): Rename from
17366 display-buffer-reuse-or-pop-window. Split off special-display
17367 part into display-buffer-special.
17368 (display-buffer-use-some-window): Don't perform any special
17369 pop-up-frames handling.
17370 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
17371 (display-buffer--maybe-same-window): Rename from
17372 display-buffer-maybe-same-window.
17373
17374 * info.el: Don't set same-window-regexps.
17375 (info-setup): New function.
17376 (info-other-window, info): Call it.
17377
17378 * cus-edit.el: Don't set same-window-regexps.
17379 (customize-group): New argument.
17380 (customize-group-other-window): Use it.
17381 (customize-face, customize-face-other-window): Likewise.
17382 (custom-buffer-create-other-window): Use pop-to-buffer directly.
17383
17384 * net/rlogin.el:
17385 * net/telnet.el:
17386 * progmodes/gud.el: Don't set same-window-regexps.
17387
17388 * cmuscheme.el:
17389 * ielm.el:
17390 * shell.el:
17391 * mail/sendmail.el:
17392 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
17393
17394 2011-09-10 Juri Linkov <juri@jurta.org>
17395
17396 * isearch.el (isearch-edit-string): Remove obsolete mention of
17397 `C-w' (`isearch-yank-word-or-char') from docstring.
17398 (isearch-query-replace): Fix typo in docstring (bug#9466).
17399
17400 2011-09-10 Juri Linkov <juri@jurta.org>
17401
17402 * paren.el (show-paren-function): Don't show escaped parens.
17403 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
17404
17405 2011-09-10 Eli Zaretskii <eliz@gnu.org>
17406
17407 * mail/sendmail.el (mml-to-mime, mml-attach-file)
17408 (mm-default-file-encoding): Remove autoload forms, they are
17409 replaced with autoload cookies in mml.el and mm-encode.el.
17410 (mail-add-attachment): New command.
17411 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
17412 (mail-mode): Mention mail-insert-file and mail-add-attachment in
17413 the doc string.
17414 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
17415
17416 2011-09-10 Reuben Thomas <rrt@sc3d.org>
17417
17418 * simple.el (count-words-region): Use buffer if there's no region
17419 (bug#9429).
17420
17421 2011-09-09 Juri Linkov <juri@jurta.org>
17422
17423 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
17424 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
17425 (wdired-isearch-filter-read-only): New function. (Bug#6362)
17426
17427 2011-09-09 Alan Mackenzie <acm@muc.de>
17428
17429 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
17430 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
17431
17432 2011-09-09 Eli Zaretskii <eliz@gnu.org>
17433
17434 Fix for Savannah bug#9392.
17435 * simple.el (mail-encode-mml): New defvar.
17436
17437 * mail/rmail.el (mail-encode-mml): Add a defvar.
17438 (rmail-enable-mime-composing): Default to t.
17439 (rmail-forward): Use MIME method of forwarding only if both
17440 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
17441 Set mail-encode-mml non-nil if the MIME method was used.
17442
17443 * mail/sendmail.el (mml-to-mime): Add autoload form.
17444 (mail-encode-mml): Add a defvar.
17445 (mail-mode): Make mail-encode-mml buffer-local and initialize it
17446 to nil.
17447 (mail-send): If mail-encode-mml is non-nil, run the outgoing
17448 message through mml-to-mime, and reset mail-encode-mml to nil.
17449
17450 2011-09-09 Glenn Morris <rgm@gnu.org>
17451
17452 * woman.el (woman-if-body): When processing an .el block,
17453 do not delete the next .el block as well. (Bug#9447)
17454 (woman-special-characters): Add oq, cq, and hy characters.
17455
17456 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17457
17458 * window.el (window-deletable-p): Make sure window is live before
17459 invoking window-prev-buffers.
17460
17461 2011-09-08 Leo Liu <sdl.web@gmail.com>
17462
17463 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
17464
17465 2011-09-08 Juri Linkov <juri@jurta.org>
17466
17467 * progmodes/compile.el (compilation-environment): Make it
17468 a defcustom (bug#8340).
17469
17470 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17471
17472 * window.el (frame-auto-delete): Rename to window-auto-delete.
17473 Make it control auto-deletion of windows and/or frames.
17474 (window-deletable-p): New argument FORCE. Rewrite conditions
17475 for deleting window/frame. (Bug#9419)
17476 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
17477 Rewrite handling of case when window/frame can be deleted.
17478 (delete-windows-on): Call window-deletable-p with new FORCE
17479 argument t. (Bug#9456)
17480
17481 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
17482
17483 * help-mode.el (help-mode): Restore autoload.
17484
17485 2011-09-07 Juri Linkov <juri@jurta.org>
17486
17487 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
17488 `compilation-environment'. Set buffer-local
17489 `compilation-environment' to `thisenv' later after (funcall mode).
17490 (Bug#8340)
17491
17492 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
17493 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
17494 instead of replacing its value. (Bug#8340)
17495
17496 2011-09-07 Juri Linkov <juri@jurta.org>
17497
17498 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
17499 based on text properties put by `grep-filter' instead of matching
17500 escape sequences.
17501 (grep-mode): Set buffer-local `compilation-error-screen-columns'
17502 to the value of `grep-error-screen-columns' (bug#9438).
17503
17504 2011-09-07 Juri Linkov <juri@jurta.org>
17505
17506 * simple.el (next-error-highlight, next-error-highlight-no-select):
17507 Doc fix (bug#9432).
17508
17509 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
17510
17511 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17512 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
17513
17514 2011-09-07 Leo Liu <sdl.web@gmail.com>
17515
17516 * net/rcirc.el (rcirc-mode): Conditionally initialize
17517 rcirc-input-ring.
17518
17519 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
17520
17521 * emacs-lisp/find-func.el (find-function-C-source): Only set
17522 find-function-C-source-directory after checking that we found a source
17523 file there (bug#9440).
17524
17525 2011-09-06 Alan Mackenzie <acm@muc.de>
17526
17527 * isearch.el (isearch-other-meta-char): Wherever a key list is
17528 unread, "unread" the prefix arg, too. This fixes bug #8901.
17529
17530 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
17531
17532 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
17533
17534 2011-09-05 Juri Linkov <juri@jurta.org>
17535
17536 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
17537
17538 2011-09-05 Juri Linkov <juri@jurta.org>
17539
17540 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
17541 keeping point where processing of grep matches begins, and
17542 continue to delete remaining escape sequences from the same point.
17543 (grep-filter): Make leading zero optional in "0?1;31m" because
17544 git-grep emits "\033[1;31m" escape sequences unlike expected
17545 "\033[01;31m" as GNU Grep does (bug#9408).
17546 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
17547
17548 2011-09-05 Juri Linkov <juri@jurta.org>
17549
17550 * subr.el (y-or-n-p): Capitalize "yes".
17551
17552 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
17553
17554 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
17555 `tramp-cache-unload-hook' where appropriate.
17556 (tramp-methods): Rename `tramp-remote-sh' to
17557 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
17558 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
17559
17560 * net/tramp-sh.el (top): Don't require 'shell.
17561 (tramp-methods): Add `tramp-remote-shell' and
17562 `tramp-remote-shell-args' entries.
17563 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
17564 (tramp-sh-handle-shell-command): Remove.
17565 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17566 Use `tramp-remote-shell'.
17567
17568 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
17569
17570 * mail/sendmail.el (sendmail-query-once-function): Delete.
17571 (sendmail-query-once): Save directly to send-mail-function.
17572 Update message-send-mail-function too.
17573
17574 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
17575
17576 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17577
17578 * progmodes/python.el (python-mode-map): Use correct function to
17579 start python interpreter from menu-bar (as reported by Geert
17580 Kloosterman).
17581 (inferior-python-mode-map): Fix typo.
17582 (python-shell-map): Remove.
17583
17584 2011-09-03 Deniz Dogan <deniz@dogan.se>
17585
17586 * net/rcirc.el (rcirc-print): Simplify code for
17587 rcirc-scroll-show-maximum-output. There is no need to walk
17588 through all windows to find the right one.
17589
17590 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17591
17592 * help.el (help-return-method): Doc fix.
17593
17594 2011-09-03 Martin Rudalics <rudalics@gmx.at>
17595
17596 * window.el (window-deletable-p): Don't return a non-nil value
17597 when there's a buffer that was shown in the window before.
17598 (Bug#9419)
17599 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17600 Set window's previous buffers to nil.
17601
17602 2011-09-03 Eli Zaretskii <eliz@gnu.org>
17603
17604 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
17605 newline before and after the tag line, so it doesn't interfere
17606 with determining the paragraph direction of bidirectional text.
17607
17608 2011-09-03 Leo Liu <sdl.web@gmail.com>
17609
17610 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
17611
17612 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
17613
17614 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
17615 (pop-to-buffer): Change interactive spec. Pass second argument
17616 directly to display-buffer.
17617 (display-buffer): Fix interactive spec. Use functionp to
17618 distinguish between a function and a list of functions.
17619
17620 * abbrev.el (edit-abbrevs):
17621 * arc-mode.el (archive-extract):
17622 * autoinsert.el (auto-insert):
17623 * bookmark.el (bookmark-bmenu-list):
17624 * files.el (find-file):
17625 * view.el (view-buffer):
17626 * progmodes/compile.el (compilation-goto-locus):
17627 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
17628
17629 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
17630
17631 * window.el (display-buffer-alist): Doc fix.
17632 (display-buffer): Add docstring. Don't treat
17633 display-buffer-default specially.
17634 (display-buffer-reuse-selected-window)
17635 (display-buffer-same-window, display-buffer-maybe-same-window)
17636 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17637 (display-buffer-pop-up-window)
17638 (display-buffer-reuse-or-pop-window)
17639 (display-buffer-use-some-window): New functions.
17640 (display-buffer-default-action): Use them.
17641 (display-buffer-default): Delete.
17642 (pop-to-buffer-1): Fix choice of actions.
17643
17644 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
17645
17646 * minibuffer.el (completion--insert-strings): Don't get confused by
17647 completion entries that end with an LF char.
17648
17649 2011-09-01 Eli Zaretskii <eliz@gnu.org>
17650
17651 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
17652
17653 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
17654
17655 * window.el (display-buffer): Restore interactive spec.
17656 (display-buffer-same-window, display-buffer-other-window):
17657 New functions.
17658 (pop-to-buffer-1): New function. Use the above.
17659 (pop-to-buffer, pop-to-buffer-same-window): Use it.
17660 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
17661
17662 * view.el (view-buffer-other-window, view-buffer-other-frame):
17663 Just use pop-to-buffer.
17664
17665 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17666
17667 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
17668
17669 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
17670
17671 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
17672
17673 2011-08-31 Richard Stallman <rms@gnu.org>
17674
17675 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
17676 of the separation of rmail-view-buffer from rmail-buffer.
17677 If you say no to "replace original", the decrypt is in the
17678 view buffer. If you say yes, the decrypt goes into the
17679 rmail buffer also.
17680
17681 2011-08-31 Martin Rudalics <rudalics@gmx.at>
17682
17683 * window.el (display-buffer-window): Rewrite doc-string.
17684 (display-buffer-record-window): New function.
17685 (display-buffer-macro-specifiers)
17686 (display-buffer-even-window-sizes, display-buffer-set-height)
17687 (display-buffer-set-width, display-buffer-in-window)
17688 (display-buffer-reuse-window, display-buffer-split-specifiers)
17689 (display-buffer-side-specifiers, display-buffer-split-window-1)
17690 (display-buffer-split-window, display-buffer-split-atom-window)
17691 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17692 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
17693 (display-buffer-other-window-means-other-frame)
17694 (display-buffer-normalize-special)
17695 (display-buffer-normalize-default)
17696 (display-buffer-normalize-argument)
17697 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
17698 (display-buffer-normalize-specifiers, display-buffer-frame)
17699 (display-buffer-same-window, display-buffer-same-frame)
17700 (display-buffer-other-window)
17701 (display-buffer-same-frame-other-window)
17702 (display-buffer-other-frame, pop-to-buffer-same-window)
17703 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
17704 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
17705 (switch-to-buffer-same-frame)
17706 (switch-to-buffer-other-window-same-frame)
17707 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
17708 (display-buffer-alist-set-1, display-buffer-alist-set-2)
17709 (display-buffer-alist-set): Remove.
17710 (display-buffer-function, special-display-buffer-names)
17711 (special-display-regexps, special-display-function):
17712 In doc-string refer to display-buffer-window and quit-restore
17713 parameter.
17714 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
17715 (special-display-frame-alist, special-display-popup-frame)
17716 (same-window-buffer-names, same-window-regexps, same-window-p)
17717 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17718 (split-window-preferred-function, split-height-threshold)
17719 (split-width-threshold, window-splittable-p)
17720 (split-window-sensibly, window--try-to-split-window)
17721 (window--frame-usable-p, even-window-heights)
17722 (window--even-window-heights, window--display-buffer-1)
17723 (window--display-buffer-2, display-buffer-other-frame):
17724 Restore old Emacs 23 code, order and doc-strings where applicable.
17725 (display-buffer-default, display-buffer-assq-regexp): New functions.
17726 (display-buffer-alist): Rewrite doc-string.
17727 (display-buffer-default-action)
17728 (display-buffer-overriding-action): New variables.
17729 (display-buffer, switch-to-buffer): Rewrite.
17730 (pop-to-buffer): Restore Emacs 23 behavior but use
17731 window-normalize-buffer-to-display.
17732 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
17733 Restore Emacs 23 behavior but use
17734 window-normalize-buffer-to-switch-to.
17735 (pop-to-buffer-same-window): Rewrite.
17736 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
17737 Rewrite using Emacs 23 options.
17738
17739 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
17740
17741 * net/tramp.el (tramp-root-regexp): Remove.
17742 (tramp-completion-file-name-regexp-unified)
17743 (tramp-completion-file-name-regexp-separate)
17744 (tramp-completion-file-name-regexp-url): Don't use leading volume
17745 letter on w32 systems. (Bug#5303, Bug#9311)
17746 (tramp-drop-volume-letter): Simplify definition.
17747 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
17748
17749 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17750
17751 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
17752 (bug#9356).
17753
17754 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
17755
17756 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
17757
17758 2011-08-29 Juri Linkov <juri@jurta.org>
17759
17760 * isearch.el (isearch-done): Don't display message "Mark saved"
17761 when arg `edit' is non-nil to prevent its flicker in the echo area.
17762
17763 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
17764
17765 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
17766 obsolete packages for deletion.
17767
17768 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
17769
17770 * help-mode.el (help-mode-map): Add special-mode-map to parent.
17771 (help-mode): Derive help-mode from special-mode. Don't invoke
17772 view-mode from help-mode.
17773 (help-xref-override-view-map): Remove.
17774 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
17775 view-mode is not used anymore.
17776
17777 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
17778
17779 * server.el (server-port): Doc fix.
17780
17781 * cus-theme.el (custom-theme-choose-mode): Inherit from
17782 special-mode (Bug#9124).
17783 (custom-theme-choose-mode-map): Add special-mode to parent.
17784
17785 2011-08-28 Alan Mackenzie <acm@muc.de>
17786
17787 * progmodes/cc-fonts.el
17788 (c-make-font-lock-BO-decl-search-function): New function.
17789 (c-basic-matchers-after - "Fontify the clauses after various
17790 keywords"): Extract the three keyword lists for the 3 erroneous
17791 constructs from the list of four, and use the new function above
17792 in place of an old one.
17793
17794 2011-08-28 Deniz Dogan <deniz@dogan.se>
17795
17796 * net/rcirc.el (rcirc-insert-prev-input)
17797 (rcirc-insert-next-input): Remove unused argument.
17798
17799 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17800
17801 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
17802
17803 2011-08-27 Alan Mackenzie <acm@muc.de>
17804
17805 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
17806 handle function pointer parameters properly.
17807
17808 2011-08-27 Martin Rudalics <rudalics@gmx.at>
17809
17810 * window.el (display-buffer-reuse-window): Fix case where
17811 selected window was reused with non-nil OTHER-WINDOW argument.
17812 (Bug#9381)
17813
17814 2011-08-27 Deniz Dogan <deniz@dogan.se>
17815
17816 * net/rcirc.el (rcirc-check-auth-status): Adding support for
17817 oftc's NickServ messages.
17818
17819 2011-08-27 Glenn Morris <rgm@gnu.org>
17820
17821 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
17822
17823 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
17824
17825 * emacs-lisp/package.el (package-install): Call package-initialize
17826 if called interactively.
17827
17828 2011-08-26 Leo Liu <sdl.web@gmail.com>
17829
17830 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
17831
17832 2011-08-25 Juri Linkov <juri@jurta.org>
17833
17834 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17835 `search-whitespace-regexp' (bug#9364).
17836
17837 2011-08-25 Juri Linkov <juri@jurta.org>
17838
17839 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
17840 `regexp-search-ring' to their global values to protect from
17841 updating by `read-from-minibuffer' (bug#9185).
17842
17843 2011-08-25 Juri Linkov <juri@jurta.org>
17844
17845 * textmodes/ispell.el (ispell-command-loop): Add newline
17846 at the end of the "Use option `i'..." line.
17847
17848 2011-08-25 Juri Linkov <juri@jurta.org>
17849
17850 * battery.el (display-battery-mode): If `battery-status-function'
17851 or `battery-mode-line-format' is nil, display the message and set
17852 `display-battery-mode' to nil (bug#9363).
17853
17854 2011-08-25 Eli Zaretskii <eliz@gnu.org>
17855
17856 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
17857 bidi-string-mark-left-to-right; they are unnecessary now.
17858
17859 2011-08-25 Deniz Dogan <deniz@dogan.se>
17860
17861 * net/quickurl.el: Documentation typo fixes.
17862
17863 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
17864
17865 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
17866
17867 2011-08-25 Glenn Morris <rgm@gnu.org>
17868
17869 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
17870
17871 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
17872 (smtpmail-via-smtp): Handle nil response from smtp.
17873
17874 2011-08-24 Juri Linkov <juri@jurta.org>
17875
17876 * proced.el (proced-marked): Inherit from `error' instead of
17877 `font-lock-warning-face'.
17878
17879 * ibuffer.el (ibuffer-marked-face): Change default face from
17880 `font-lock-warning-face' to `warning'.
17881 (ibuffer-deletion-face): Change default face from
17882 `font-lock-type-face' to `error'.
17883
17884 * battery.el (battery-update): Use the face `error' instead of
17885 `font-lock-warning-face' (bug#6117).
17886
17887 2011-08-24 Juri Linkov <juri@jurta.org>
17888
17889 * faces.el (success): Change face color from "Green3" to
17890 "ForestGreen" on light background (bug#9353).
17891
17892 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
17893
17894 * window.el (quit-window): Rename from quit-restore-window.
17895 Use same arglist as old quit-window.
17896 (frame-auto-delete): Doc fix.
17897
17898 * view.el (view-mode-exit): Use quit-window.
17899
17900 2011-08-24 Juri Linkov <juri@jurta.org>
17901
17902 * isearch.el (isearch-ring-adjust1): Start visiting previous
17903 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
17904 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
17905 for empty search string (when the last search string is reused
17906 automatically) to adjust the isearch ring to the last element and
17907 prepare the correct index for further M-p commands (bug#9185).
17908
17909 2011-08-24 Kenichi Handa <handa@m17n.org>
17910
17911 * international/ucs-normalize.el: If decomposition property of
17912 CHAR is the default one (i.e. a list of CHAR itself), treat it as
17913 nil.
17914 (nfd, nfkd): Likewise.
17915
17916 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17917
17918 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
17919 from process filters aren't reliably transmitted to the surrounding
17920 accept-process-output.
17921 (mpc-proc-check): New function.
17922 (mpc-proc-sync): Use it (bug#8293)
17923
17924 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17925
17926 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
17927 Add compatibility functions (bug#9313).
17928
17929 2011-08-23 Eli Zaretskii <eliz@gnu.org>
17930
17931 * cus-start.el (all): Add entry for bidi-paragraph-direction.
17932
17933 * international/uni-bidi.el: Regenerate.
17934
17935 2011-08-23 Kenichi Handa <handa@m17n.org>
17936
17937 * international/charprop.el:
17938 * international/uni-bidi.el:
17939 * international/uni-category.el:
17940 * international/uni-combining.el:
17941 * international/uni-comment.el:
17942 * international/uni-decimal.el:
17943 * international/uni-decomposition.el:
17944 * international/uni-digit.el:
17945 * international/uni-lowercase.el:
17946 * international/uni-mirrored.el:
17947 * international/uni-name.el:
17948 * international/uni-numeric.el:
17949 * international/uni-old-name.el:
17950 * international/uni-titlecase.el:
17951 * international/uni-uppercase.el: Regenerate.
17952
17953 2011-08-23 Martin Rudalics <rudalics@gmx.at>
17954
17955 * help.el (help-window-setup): Fix message displayed when other
17956 window is reused. (Bug#9341)
17957
17958 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17959
17960 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
17961 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
17962
17963 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
17964 Mark obsolete.
17965 * shell.el (shell-parse-pcomplete-arguments): New function.
17966 (shell-completion-vars): Use it instead (bug#9160).
17967
17968 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
17969
17970 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
17971 strings and comments (bug#9333).
17972
17973 * emacs-lisp/debug.el (debug-arglist): New function.
17974 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
17975 (debug-on-entry-1): Handle interpreted closures (bug#9120).
17976
17977 2011-08-22 Juri Linkov <juri@jurta.org>
17978
17979 * progmodes/compile.el (compilation-mode-font-lock-keywords):
17980 Revert regexp that highlights output switches to its old
17981 pre-2010-10-28 value and remove one `?' from it (bug#9319).
17982
17983 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
17984 to check for empty output (bug#9226).
17985
17986 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
17987
17988 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
17989 symbol-constituent as the default, as that stops font-lock from
17990 working properly (Bug#8843).
17991
17992 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17993
17994 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
17995 `coding-system-for-*' around the process open call to avoid
17996 auth-source side effects.
17997 (smtpmail-try-auth-methods): Expand the secret password.
17998 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
17999 probe hangs.
18000
18001 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18002
18003 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18004
18005 * emacs-lisp/find-func.el (find-function-noselect): New arg
18006 lisp-only.
18007
18008 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18009 signal an error for built-in functions (Bug#6664).
18010
18011 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18012
18013 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18014 (smtpmail-try-auth-methods): Use it.
18015
18016 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18017
18018 * font-lock.el (font-lock-fontify-region)
18019 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18020 (font-lock-default-unfontify-buffer)
18021 (font-lock-default-fontify-region)
18022 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18023
18024 * progmodes/compile.el (compilation-error-properties):
18025 Fix confusion between file struct and message struct (Bug#9319).
18026 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18027 `ant' regexp.
18028
18029 * net/browse-url.el (browse-url-firefox): Don't call
18030 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18031
18032 2011-08-20 Glenn Morris <rgm@gnu.org>
18033
18034 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18035
18036 * tutorial.el (tutorial--default-keys): Update some default bindings.
18037
18038 * files.el (hack-local-variables): Fully ignore case for "mode:".
18039
18040 2011-08-20 Alan Mackenzie <acm@muc.de>
18041
18042 Resolve invalid use of a regexp in regexp-opt.
18043
18044 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18045 detection for a java annotation.
18046
18047 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
18048 detection for a java annotation.
18049
18050 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18051 handling for java.
18052 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18053
18054 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
18055
18056 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18057 (Bug#9274).
18058
18059 2011-08-20 Alan Mackenzie <acm@muc.de>
18060
18061 Fontify CPP expressions correctly when starting in the middle of
18062 such a construct. Mainly for when jit-lock etc. starts a chunk
18063 here.
18064
18065 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
18066 variable.
18067 (c-make-font-lock-search-form): New function, extracted from
18068 c-make-font-lock-search-function.
18069 (c-make-font-lock-search-function): Use the above function.
18070 (c-make-font-lock-context-search-function): New function.
18071 (c-cpp-matchers): Enhance the preprocessor expression case with
18072 the above function
18073 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18074 which takes an expression.
18075
18076 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18077
18078 2011-08-20 Martin Rudalics <rudalics@gmx.at>
18079
18080 * window.el (display-buffer-reuse-window)
18081 (display-buffer-pop-up-window): Don't reuse or split a side
18082 window.
18083
18084 2011-08-19 Glenn Morris <rgm@gnu.org>
18085
18086 * files.el (hack-local-variables-prop-line, hack-local-variables):
18087 Downcase "Mode:". (Bug#9331)
18088
18089 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
18090
18091 * international/characters.el: Add L and R categories.
18092
18093 * subr.el (bidi-string-mark-left-to-right): Rename from
18094 string-mark-left-to-right. Use category search.
18095
18096 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18097
18098 2011-08-18 Juri Linkov <juri@jurta.org>
18099
18100 * faces.el (error, warning, success): New faces with definitions
18101 copied from old default values of `font-lock-warning-face',
18102 `compilation-warning', `compilation-info' (bug#6117).
18103
18104 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18105
18106 * progmodes/compile.el (compilation-error): Inherit from `error'.
18107 (compilation-warning): Inherit from `warning'.
18108 (compilation-info): Inherit from `success'.
18109
18110 * dired.el (dired-marked): Inherit from `warning'.
18111 (dired-flagged): Inherit from `error'.
18112
18113 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18114
18115 * mail/smtpmail.el (auth-source): Require to avoid problems with
18116 binding variables (bug#9298). Also clean up some unused
18117 autoloads.
18118
18119 * net/network-stream.el (network-stream-open-starttls):
18120 Support using starttls.el without using gnutls-cli.
18121
18122 2011-08-17 Juri Linkov <juri@jurta.org>
18123
18124 * progmodes/grep.el (rgrep): Handle the case when
18125 `grep-find-command' is a cons cell (bug#9278).
18126
18127 2011-08-17 Martin Rudalics <rudalics@gmx.at>
18128
18129 * window.el (display-buffer-pop-up-frame): Run frame creation
18130 function with BUFFER current (as special-display-popup-frame
18131 does). Reported by Drew Adams.
18132
18133 2011-08-17 Daiki Ueno <ueno@unixuser.org>
18134
18135 * epa-mail.el: Simplify GnuPG group expansion using
18136 epg-expand-group.
18137 (epa-mail-group-alist, epa-mail-group-modtime)
18138 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18139 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18140 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18141 Remove.
18142
18143 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
18144
18145 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18146
18147 2011-08-16 Alan Mackenzie <acm@muc.de>
18148
18149 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18150 Correct, to avoid the inside of macros.
18151
18152 2011-08-16 Richard Stallman <rms@gnu.org>
18153
18154 * epa-mail.el: Handle GnuPG group definitions.
18155 (epa-mail-group-alist, epa-mail-group-modtime)
18156 (epa-mail-gnupg-conf-file): New variables.
18157 (epa-mail-parse-groups, epa-mail-sync-groups)
18158 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18159 (epa-mail-expand-recipients): New functions.
18160 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18161
18162 * mail/rmail.el (rmail-epa-decrypt): New command.
18163
18164 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18165 Don't bind buffer-read-only, just inhibit-read-only.
18166 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18167 (epa-decrypt-armor-in-region): Make error message clearer.
18168
18169 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18170
18171 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18172 and "a2b" to "ab" for `prefix'.
18173
18174 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
18175
18176 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18177 filter groups.
18178 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18179 Fourquet (Bug#8804).
18180
18181 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
18182
18183 * startup.el (argi): Declare as global variable (bug#9275).
18184
18185 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
18186
18187 * subr.el (string-mark-left-to-right): Search the entire string
18188 for RTL script, not just the terminating character. Doc fix.
18189
18190 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18191
18192 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18193 New function.
18194 (js--regexp-literal, js-syntax-propertize-function): Remove.
18195 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18196 (js-mode-map): Don't rebind electric keys.
18197 (js-insert-and-indent): Remove.
18198 (js-mode): Setup electric-layout and electric-indent instead.
18199
18200 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18201
18202 2011-08-12 Daiki Ueno <ueno@unixuser.org>
18203
18204 * epa.el (epa-progress-callback-function): Fix the logic of
18205 displaying progress.
18206 * epa-file.el (epa-file-insert-file-contents): Make progress
18207 display more user-friendly.
18208 (epa-file-write-region): Ditto.
18209
18210 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
18211
18212 * subr.el (string-mark-left-to-right): New function.
18213
18214 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18215 Use string-mark-left-to-right.
18216 (list-buffers-noselect): Caller changed.
18217
18218 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18219 Use string-mark-left-to-right.
18220 (tabulated-list-print): Recenter after moving point.
18221
18222 2011-08-10 Juri Linkov <juri@jurta.org>
18223
18224 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18225 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18226 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18227
18228 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
18229
18230 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18231 (Bug#7554).
18232
18233 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
18234
18235 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18236 character. (Bug#6594)
18237
18238 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
18239
18240 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18241 (image-dired--with-db-file): New macro.
18242 (image-dired-write-tags, image-dired-remove-tag)
18243 (image-dired-create-gallery-lists, image-dired-write-comments)
18244 (image-dired-get-comment, image-dired-mark-tagged-files)
18245 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18246 (image-dired-gallery-generate): Use insert-file-contents.
18247
18248 * time.el (display-time-world-list, display-time-world-display):
18249 * time-stamp.el (time-stamp-string):
18250 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18251 set-time-zone-rule (Bug#7337).
18252
18253 2011-08-08 Daiki Ueno <ueno@unixuser.org>
18254
18255 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18256 (epg-error-to-string, epg-errors-to-string): New function.
18257 (epg-wait-for-completion): Reverse errors list.
18258 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18259 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18260 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18261 (epg-sign-keys, epg-generate-key-from-file)
18262 (epg-generate-key-from-string): Format errors by using
18263 epg-errors-to-string (bug#9255).
18264 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18265
18266 2011-08-07 Juri Linkov <juri@jurta.org>
18267
18268 * faces.el (list-faces-display): Remove extra angle bracket
18269 from `help-mode-map'.
18270
18271 * info.el (Info-history-toc-nodes): Doc fix.
18272
18273 * longlines.el (longlines-mode): Doc fix.
18274
18275 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18276
18277 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18278 of statements and in a few more cases (bug#9183).
18279
18280 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18281 New functions.
18282 (cl-transform-lambda): Use them (bug#9239).
18283
18284 2011-08-05 Martin Rudalics <rudalics@gmx.at>
18285
18286 * window.el (display-buffer-same-window)
18287 (display-buffer-same-frame, display-buffer-other-window)
18288 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18289 (pop-to-buffer-other-window)
18290 (pop-to-buffer-same-frame-other-window)
18291 (pop-to-buffer-other-frame): Make them defuns.
18292 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18293
18294 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18295
18296 * subr.el (make-composed-keymap): Move from C. Change calling
18297 convention, and improve docstring to bring attention to a subtle point.
18298 * minibuffer.el (completing-read-default): Adjust accordingly.
18299
18300 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
18301
18302 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18303 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18304
18305 * net/trampver.el: Update release number.
18306
18307 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18308
18309 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18310 "in" (bug#9190).
18311
18312 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18313
18314 * mail/sendmail.el (sendmail-query-once): Restore the current
18315 buffer after querying (bug#9074).
18316
18317 * dired.el (dired-flagged): Use different faces for marked and
18318 flagged files (bug#6117).
18319
18320 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18321 (bug#4433).
18322
18323 * ido.el (ido-mode): Switch off the message if called
18324 non-interactively.
18325
18326 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18327 before 587, since it appears that that's more likely to work for
18328 more people.
18329
18330 * cus-edit.el (custom-file): When running under emacs -q, always
18331 refuse to save the customizations, even if the .emacs file doesn't
18332 exist.
18333
18334 * info.el: Remove the `Info-beginning-of-buffer' function
18335 (bug#8325).
18336
18337 * net/network-stream.el (network-stream-open-starttls):
18338 Use `starttls-available-p' to see whether starttls.el can be used.
18339
18340 2011-08-01 Martin Rudalics <rudalics@gmx.at>
18341
18342 * window.el (display-buffer-in-window): Don't set dedicated status
18343 of window here (Bug#9215).
18344 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18345 (display-buffer-pop-up-side-window)
18346 (display-buffer-in-side-window): Set dedicated status of window here.
18347
18348 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18349
18350 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18351 before binding generated-autoload-file.
18352
18353 2011-08-01 Deniz Dogan <deniz@dogan.se>
18354
18355 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
18356
18357 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
18358
18359 Sync with Tramp 2.2.2.
18360
18361 * net/trampver.el: Update release number.
18362
18363 2011-07-30 Juri Linkov <juri@jurta.org>
18364
18365 * dired-aux.el (dired-touch-initial): Remove function.
18366 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
18367 current time, and `default' to the last modification time of the
18368 current marked file (bug#6887).
18369
18370 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
18371
18372 * simple.el (goto-line): Use string-to-number to provide a
18373 numeric argument to read-number (bug#9163).
18374
18375 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
18376
18377 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
18378 connection process, it could be nil.
18379
18380 2011-07-27 Leo Liu <sdl.web@gmail.com>
18381
18382 Simplify url handling in rcirc-mode.
18383
18384 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
18385 (rcirc-browse-url-at-mouse): Remove.
18386 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
18387
18388 2011-07-26 Alan Mackenzie <acm@muc.de>
18389
18390 Fontify bitfield declarations properly.
18391
18392 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
18393 (c-symbol-chars): Now exported as a lang variable.
18394 (c-not-primitive-type-keywords): New lang variable.
18395
18396 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
18397 QT keyword "more" to prevent "more slots: ...." being spuriously
18398 parsed as a bitfield declaration.
18399
18400 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18401 Refactor and enhance to handle bitfield declarations.
18402 (c-punctuation-in): New function.
18403 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
18404 declarations properly.
18405
18406 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
18407
18408 * calendar/icalendar.el (icalendar--all-events): Take care of
18409 multiple vcalendars in a single file.
18410 (icalendar--convert-float-to-ical): Checkdoc fixes.
18411
18412 2011-07-25 Deniz Dogan <deniz@dogan.se>
18413
18414 * image.el (insert-image): Clarifying docstring.
18415
18416 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
18417
18418 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
18419 `tramp-send-command-and-check' if there is no error.
18420 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
18421
18422 2011-07-22 Alan Mackenzie <acm@muc.de>
18423
18424 Prevent cc-langs.elc being loaded at run time.
18425
18426 * progmodes/cc-mode.el: Remove two autoload forms which loaded
18427 cc-langs.
18428
18429 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
18430 "(require 'cc-langs)". Quote a form so it will evaluate at
18431 (cc-mode's) compilation time.
18432
18433 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
18434
18435 * net/tramp.el (tramp-file-name-handler): Avoid recursive
18436 loading. (Bug#9114)
18437
18438 2011-07-21 Martin Rudalics <rudalics@gmx.at>
18439
18440 * window.el (display-buffer-pop-up-window)
18441 (display-buffer-pop-up-side-window)
18442 (display-buffer-in-side-window): Call display-buffer-set-height
18443 and display-buffer-set-width after setting the new window's
18444 buffer so `fit-window-to-buffer' and friends work on the right buffer.
18445
18446 2011-07-20 Sam Steingold <sds@gnu.org>
18447
18448 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
18449 (etags-tags-included-tables): Call `convert-standard-filename' on
18450 the file names contained in TAGS so that windows Emacs can handle
18451 TAGS files created by cygwin ctags.
18452
18453 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
18454
18455 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
18456 which apparently didn't work.
18457
18458 2011-07-19 Roland Winkler <winkler@gnu.org>
18459
18460 * proced.el (proced-send-signal): For *Marked Processes* buffer
18461 put point at beginning of buffer.
18462
18463 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
18464
18465 * proced.el (proced-format): Make header lines align with the text
18466 (bug#1779).
18467
18468 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18469
18470 * view.el (view-buffer): Allow running in `special' modes if we're
18471 visiting a file (bug#8615).
18472
18473 2011-07-19 Martin Rudalics <rudalics@gmx.at>
18474
18475 * window.el (display-buffer-alist-of-strings-p)
18476 (display-buffer-alist-set-1, display-buffer-alist-set-2):
18477 New functions.
18478 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
18479 more accurately.
18480
18481 2011-07-18 Alan Mackenzie <acm@muc.de>
18482
18483 Fontify declarators properly when, e.g., a jit-lock chunk begins
18484 inside a declaration.
18485
18486 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
18487
18488 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18489 New function.
18490 (c-complex-decl-matchers): Insert reference to
18491 c-font-lock-enclosing-decls.
18492
18493 * progmodes/cc-engine.el (c-backward-single-comment):
18494 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
18495 to nil around calls to (forward-comment -1).
18496
18497 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18498
18499 * image.el (put-image): Doc typo fix.
18500
18501 * progmodes/etags.el (tags-search): Doc typo fix.
18502
18503 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
18504 password if we get errors 550 to 554.
18505
18506 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
18507
18508 * net/gnutls.el (gnutls-log-level): Remove.
18509
18510 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
18511 indentation character (bug#6380).
18512
18513 * files.el (buffer-offer-save): Made permanently local (bug#6241).
18514
18515 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
18516 to clarify what the problem is (bug#4291).
18517
18518 * simple.el (current-kill): Clarify what
18519 `interprogram-paste-function' does (bug#7500).
18520 (auto-fill-mode): Document `auto-fill-function' in relation to
18521 `auto-fill-mode' (bug#2470).
18522
18523 2011-07-16 Lawrence Mitchell <wence@gmx.li>
18524
18525 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
18526 method if slot is read-only (bug#9035).
18527
18528 2011-07-16 Martin Rudalics <rudalics@gmx.at>
18529
18530 * frame.el (select-frame-set-input-focus): New argument NORECORD.
18531 * window.el (pop-to-buffer): Select window used even if it was
18532 selected before, see discussion of (Bug#8615), (Bug#6954).
18533 Pass argument NORECORD on to select-frame-set-input-focus.
18534
18535 2011-07-15 Glenn Morris <rgm@gnu.org>
18536
18537 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
18538 Respect help-form.
18539
18540 2011-07-09 Lawrence Mitchell <wence@gmx.li>
18541
18542 * net/gnutls.el (gnutls-min-prime-bits): New variable.
18543 (gnutls-negotiate): Use it.
18544
18545 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18546
18547 * net/gnutls.el (gnutls-negotiate):
18548 Upcase `gnutls-algorithm-priority'.
18549
18550 2011-07-15 Glenn Morris <rgm@gnu.org>
18551
18552 * jka-compr.el (jka-compr-verbose): Move from here...
18553 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
18554 Add missing :version tag.
18555 * info.el: No need to require jka-compr when compiling.
18556
18557 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18558
18559 * net/gnutls.el (gnutls-algorithm-priority): New variable.
18560 (gnutls-negotiate): Use it.
18561
18562 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
18563
18564 * info.el (Info-beginning-of-buffer): New command.
18565 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
18566 announcing `b' as the key (bug#8325).
18567 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
18568
18569 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
18570
18571 * international/mule-cmds.el
18572 (describe-specified-language-support): Make the error message
18573 clearer (bug#8905).
18574
18575 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
18576
18577 * isearch.el (isearch-barrier): Add a doc string, since it's
18578 mentioned in a function doc string (bug#8678).
18579
18580 2011-07-15 Martin Rudalics <rudalics@gmx.at>
18581
18582 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
18583 buffer argument (Bug#9083) and self-identifying label argument.
18584
18585 2011-07-15 Glenn Morris <rgm@gnu.org>
18586
18587 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
18588
18589 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18590
18591 * man.el (Man-fontify-manpage): Fix message when formatting the
18592 man page (bug#7929).
18593
18594 2011-07-14 Eli Zaretskii <eliz@gnu.org>
18595
18596 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
18597 argument LRM; if non-nil, append an invisible LRM character to the
18598 buffer name.
18599 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
18600 last argument non-nil, when formatting buffer names.
18601 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
18602 paragraph direction.
18603
18604 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18605
18606 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
18607 the man page name (bug#7929).
18608
18609 * image.el (put-image): Mention the `put-image' overlay property
18610 (bug#7834).
18611
18612 * scroll-bar.el (set-scroll-bar-mode): Mention that
18613 `scroll-bar-mode' lists the values (bug#7772).
18614
18615 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
18616 command (bug#7729).
18617
18618 * rect.el (apply-on-rectangle): Return the point after the last
18619 operation.
18620 (string-rectangle): Go to the point after the last operation
18621 (bug#7522).
18622
18623 * printing.el (pr-toggle-region): Clarify the documentation
18624 slightly (bug#7493).
18625
18626 * time.el (display-time-update):
18627 Allow `display-time-mail-function' to return nil (bug#7158).
18628 Fix suggested by Detlev Zundel.
18629
18630 * vc/diff.el (diff): Clarify the order the file names are read
18631 (bug#7111).
18632
18633 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
18634 the doc string (bug#7015).
18635
18636 * font-lock.el (font-lock-maximum-decoration): Mention what
18637 numeric levels mean (bug#6935).
18638
18639 * startup.el (initial-buffer-choice): Don't mention the `none'
18640 selection, which is against policy.
18641
18642 2011-07-14 Martin Rudalics <rudalics@gmx.at>
18643
18644 * window.el (display-buffer-normalize-special):
18645 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
18646
18647 2011-07-14 Eli Zaretskii <eliz@gnu.org>
18648
18649 * subr.el (version<, version<=, version=): Mention "-CVS" and
18650 "-12345" alpha version numbers.
18651
18652 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
18653
18654 * bindings.el: Add advertised binding for set-mark-command
18655 (Bug#5772).
18656
18657 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
18658
18659 * bindings.el (mode-line-other-buffer):
18660 * bookmark.el (bookmark-bmenu-2-window):
18661 * bs.el (bs-cycle-next, bs-cycle-previous):
18662 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
18663 switch-to-buffer.
18664
18665 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18666 Delete.
18667
18668 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
18669
18670 * follow.el (follow-debug-message, follow-redisplay):
18671 * jka-cmpr-hook.el (with-auto-compression-mode):
18672 Fix typos in docstrings.
18673
18674 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18675
18676 * subr.el (with-silent-modifications): Clarify somewhat what the
18677 macro inhibits (bug#6525).
18678
18679 * simple.el (eval-expression): Note what it does if called
18680 interactively (bug#6495).
18681
18682 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
18683
18684 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
18685 Use pop-to-buffer buffer-or-name if it is nil.
18686
18687 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18688 Remove switch-to-buffer.
18689
18690 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18691
18692 * files.el (make-directory): Clarify that an error will be raised
18693 if there's an error (bug#6397).
18694
18695 * startup.el (initial-buffer-choice): Add `none' as a choice
18696 (bug#6234).
18697
18698 * subr.el (add-hook): Clarify section about buffer-local hooks
18699 (bug#6218).
18700
18701 * dired.el (dired-flagged): Clarify doc string (bug#6117).
18702
18703 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
18704
18705 * tabify.el (untabify): Preserve the current column so that point
18706 doesn't move (bug#6032).
18707
18708 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18709
18710 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
18711 Rewrite to avoid awkward possessive "s" (bug#5986).
18712
18713 2011-07-13 Glenn Morris <rgm@gnu.org>
18714
18715 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
18716 (dired-insert-directory): Give a message the first time
18717 if ls is found not to support --dired.
18718
18719 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18720
18721 * simple.el (toggle-truncate-lines): Clarify what is toggled
18722 (bug#5580). Text by Drew Adams.
18723
18724 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
18725
18726 * simple.el (blink-matching-open): Make the error message from the
18727 last change less verbose.
18728
18729 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
18730
18731 * font-lock.el (font-lock-comment-face): Use the high contrast
18732 "yellow" color for font-lock-comment-face on low color terminals
18733 using a dark background color (bug#4221).
18734
18735 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18736
18737 * dired.el (dired-insert-set-properties): Make the doc string
18738 reflect what it does now (bug#5325).
18739
18740 * simple.el (blink-matching-open): Say that we were unable to find
18741 the match within the limit, if we're limited (bug#5122).
18742
18743 * international/mule-cmds.el (prefer-coding-system): Add an
18744 example (bug#4869).
18745
18746 * progmodes/etags.el (tags-search): Document `file-list-form'
18747 (bug#4731).
18748
18749 2011-07-13 Lawrence Mitchell <wence@gmx.li>
18750
18751 * net/browse-url.el (browse-url-default-browser)
18752 (browse-url-browser-function): Make the default browser choice a
18753 bit more logical (bug#4300). Also clean up the doc string.
18754
18755 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
18756
18757 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
18758 binary endings (bug#4440).
18759
18760 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18761
18762 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
18763 which can be pretty annoying (bug#8971).
18764
18765 * jka-compr.el (jka-compr-verbose): New variable, and use
18766 throughout (bug#8971).
18767
18768 * info.el (Info-find-file): Fall back on the installation
18769 directory if we can't find the info node anywhere else.
18770
18771 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
18772
18773 * vc/vc.el (vc-revert-file):
18774 Don't set file time-stamp in the past. (Bug#5181)
18775
18776 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18777
18778 * files.el (after-find-file): Give a better error message when
18779 trying to find a symlink that points to a file that doesn't exist
18780 (bug#4398).
18781
18782 * progmodes/cc-vars.el: Remove (probably) misleading comment
18783 (bug#4396).
18784
18785 2011-07-12 Johan Bockgård <bojohan@gnu.org>
18786
18787 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
18788
18789 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
18790
18791 * mouse-sel.el: Hack restoring functionality, while keeping
18792 compatibility with 2010-07-03 changes to mouse selection.
18793 (mouse-sel-primary-overlay): New var.
18794 (mouse-sel-selection-alist): Use it.
18795 (mouse-sel-mode): Doc fix; remove points that are default features
18796 of mouse.el.
18797
18798 2011-07-12 Johan Bockgård <bojohan@gnu.org>
18799
18800 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18801 Fix previous fix (bug#2490).
18802
18803 2011-07-12 Roland Winkler <winkler@gnu.org>
18804
18805 * textmodes/bibtex.el (bibtex-initialize):
18806 Use pop-to-buffer-same-window.
18807 (bibtex-search-entries): Fix interactive call.
18808
18809 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18810
18811 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18812 Fontise bytecomp Error lines more correctly (bug#2490).
18813 Fix suggested by Johan Bockgård.
18814
18815 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
18816
18817 * dired-x.el (dired-guess-default): Use `delete-dups'.
18818
18819 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
18820
18821 * dired.el (dired-mark-prompt):
18822 * dired-aux.el (dired-read-shell-command): Doc fix.
18823
18824 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18825
18826 * mail/sendmail.el (sendmail-query-once):
18827 Use `customize-save-variable' unconditionally, now that it works under
18828 emacs -Q.
18829
18830 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18831
18832 * cus-edit.el (custom-file): Take an optional no-error variable.
18833 (customize-save-variable): Set the variable, and give a warning if
18834 running under "emacs -q".
18835
18836 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
18837
18838 * loadhist.el (unload-feature-special-hooks):
18839 Add `auto-coding-functions', `fill-nobreak-predicate' and
18840 `find-directory-functions' (bug#5327).
18841
18842 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18843
18844 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
18845
18846 * cus-edit.el (custom-guess-name-alist): -alist variables should
18847 use the `alist' type (bug#3120). Suggested by Drew Adams.
18848
18849 * printing.el: Add documentation to all the `pr-toggle-' commands.
18850
18851 2011-07-11 Leo Liu <sdl.web@gmail.com>
18852
18853 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
18854 backends where it makes sense (bug#2623).
18855
18856 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18857
18858 * dired-x.el (dired-guess-default): Remove duplicate shell command
18859 entries (bug#2028).
18860 (dired-guess-default): Fix grammar in doc string (bug#2028).
18861 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
18862
18863 * subr.el (remove-duplicates): New conveniency function.
18864
18865 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
18866
18867 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
18868 (bug#1526).
18869
18870 2011-07-10 Martin Rudalics <rudalics@gmx.at>
18871
18872 * window.el (display-buffer-normalize-default): Don't invert
18873 meaning of even-window-heights. Reported by Eli Zaretskii
18874 <eliz@gnu.org>.
18875
18876 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
18877
18878 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
18879
18880 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
18881
18882 * window.el (display-buffer): Fix arguments to
18883 display-buffer-reuse-window in last change.
18884
18885 * faces.el (link): Use a less saturated blue on light backgrounds.
18886
18887 * startup.el (fancy-startup-text, fancy-about-text)
18888 (fancy-startup-tail): Use font-lock faces, for background safety.
18889
18890 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
18891
18892 * emulation/viper-cmd.el (viper-change-state-to-vi):
18893 Limit triggering of abbrev expansion (Bug#9038).
18894
18895 2011-07-09 Martin Rudalics <rudalics@gmx.at>
18896
18897 * window.el (display-buffer-default-specifiers): Remove.
18898 (display-buffer-macro-specifiers): Remove default specifiers.
18899 (display-buffer-alist): Default to nil.
18900 (display-buffer-reuse-window): New optional argument other-window.
18901 (display-buffer-pop-up-window): Allow splitting internal
18902 windows. Check whether a live window was created.
18903 (display-buffer-other-window-means-other-frame)
18904 (display-buffer-normalize-arguments): Rename to
18905 display-buffer-normalize-argument and rewrite. Set the
18906 other-window specifier.
18907 (display-buffer-normalize-special): New function.
18908 (display-buffer-normalize-options): Rename to
18909 display-buffer-normalize-default and rewrite.
18910 (display-buffer-normalize-options-inhibit): Remove.
18911 (display-buffer-normalize-specifiers): Rewrite.
18912 (display-buffer): Process other-window specifier and call
18913 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
18914 more faithfully.
18915 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
18916 (display-buffer-alist-set): Don't handle 'unset default values.
18917 (display-buffer-in-window, display-buffer-alist-set):
18918 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
18919 <tassilo@member.fsf.org>.
18920
18921 2011-07-09 Leo Liu <sdl.web@gmail.com>
18922
18923 * register.el (insert-register): Restore accidental change on
18924 2011-06-26. (Bug#9028)
18925
18926 2011-07-09 Glenn Morris <rgm@gnu.org>
18927
18928 * subr.el (remq): Handle the empty list. (Bug#9024)
18929
18930 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
18931
18932 * mail/sendmail.el (send-mail-function): No longer delay custom
18933 initialization.
18934 * custom.el (custom-initialize-delay): Doc fix.
18935
18936 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18937
18938 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
18939
18940 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
18941
18942 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
18943 human-friendly prompt.
18944
18945 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18946
18947 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
18948 provided by a particular plugin.
18949
18950 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
18951
18952 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
18953 save customizations (with "emacs -Q"), just set the variable
18954 instead of erroring out.
18955
18956 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18957
18958 2011-07-08 Juri Linkov <juri@jurta.org>
18959
18960 * arc-mode.el (archive-zip-expunge, archive-zip-update)
18961 (archive-zip-update-case): Use 7z if found by `executable-find'.
18962 The order of searching the available programs is the same as in
18963 `archive-zip-extract' (bug#8968).
18964
18965 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
18966
18967 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
18968 (menu-bar-options-menu): Tweak descriptions.
18969
18970 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18971
18972 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
18973 menu items into verb phrases (bug#1421). Also refill to fit under
18974 80 columns.
18975
18976 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
18977
18978 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
18979 (Info-read-node-name): Doc fix (Bug#1084).
18980
18981 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
18982 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
18983 (end-of-sexp, beginning-of-sexp)
18984 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
18985 (forward-symbol, forward-same-syntax, word-at-point)
18986 (sentence-at-point): Doc fix (Bug#1144).
18987
18988 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18989
18990 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
18991 should cover it (bug#1281).
18992
18993 * cus-edit.el (custom-show): Mark as obsolete.
18994
18995 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
18996 negotiation fails, then possibly try again with a non-encrypted
18997 connection (bug#9017).
18998
18999 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19000 be used.
19001
19002 2011-07-07 Richard Stallman <rms@gnu.org>
19003
19004 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19005 property, and handle its changed format.
19006 Look for the correct line number.
19007 Use file's line contents (but not past first =) to find
19008 correct line in message.
19009
19010 2011-07-07 Kenichi Handa <handa@m17n.org>
19011
19012 * international/characters.el (build-unicode-category-table):
19013 Delete it.
19014 (unicode-category-table): Set it by unicode-property-table-internal.
19015
19016 * international/mule-cmds.el (char-code-property-alist): Move to
19017 to src/chartab.c.
19018 (get-char-code-property): Call unicode-property-table-internal to
19019 load a file. Call get-unicode-property-internal where necessary.
19020 (put-char-code-property): Call unicode-property-table-internal to
19021 load a file. Call put-unicode-property-internal where necessary.
19022 put-unicode-property-internal where necessary.
19023 (char-code-property-description):
19024 Call unicode-property-table-internal to load a file.
19025
19026 * international/charprop.el:
19027 * international/uni-bidi.el:
19028 * international/uni-category.el:
19029 * international/uni-combining.el:
19030 * international/uni-comment.el:
19031 * international/uni-decimal.el:
19032 * international/uni-decomposition.el:
19033 * international/uni-digit.el:
19034 * international/uni-lowercase.el:
19035 * international/uni-mirrored.el:
19036 * international/uni-name.el:
19037 * international/uni-numeric.el:
19038 * international/uni-old-name.el:
19039 * international/uni-titlecase.el:
19040 * international/uni-uppercase.el: Regenerate.
19041
19042 * loadup.el: Load international/charprop.el before
19043 international/characters.
19044
19045 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19046
19047 * window.el (next-buffer, previous-buffer): Signal an error if
19048 called from a minibuffer window.
19049
19050 * bindings.el: Revert 2011-07-04 change.
19051
19052 2011-07-06 Richard Stallman <rms@gnu.org>
19053
19054 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19055 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19056 Treat markers like ints.
19057 (rmail-mime-entity): Doc fix.
19058
19059 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19060
19061 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19062 defcustom again for backwards compatibility.
19063
19064 * simple.el (shell-command-on-region): Fill.
19065
19066 * dired-aux.el (dired-kill-line): Add a doc string.
19067
19068 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19069 to "\\sw\\|\\s_" (bug#358).
19070
19071 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19072 (dired-unmark-backward): Ditto.
19073 (dired-flag-backup-files): Ditto.
19074
19075 * dired-x.el (dired-mark-sexp): Ditto.
19076
19077 2011-07-06 Richard Stallman <rms@gnu.org>
19078
19079 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19080 (rmail-mime-entity): New arg TRUNCATED.
19081 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19082 New functions.
19083 (rmail-mime-save): Warn if entity is truncated.
19084 (rmail-mime-toggle-hidden): Likewise, for showing.
19085 (rmail-mime-process-multipart): Record when an entity is truncated.
19086
19087 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19088 if ENTITY is a string.
19089
19090 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19091
19092 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
19093 of faces when `M-C-x'-ing their definitions (bug#8378).
19094 Also clean up the code slightly.
19095
19096 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
19097 because that makes the colors go away.
19098
19099 * mail/sendmail.el (send-mail-function): Change the default to
19100 `sendmail-query-once'.
19101 (sendmail-query-once): Add an autoload cookie.
19102
19103 * net/network-stream.el (network-stream-open-starttls): Try using
19104 a plain connection even if the server offered STARTTLS, and we
19105 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19106 capability. This should make smtpmail.el work in slightly more
19107 configurations.
19108
19109 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
19110
19111 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19112 New defun.
19113 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
19114
19115 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
19116
19117 * progmodes/sql.el: Version 3.0
19118 (sql-product-alist): Add product :completion-object,
19119 :completion-column, and :statement attributes.
19120 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
19121 (sql-mode-syntax-table): Mark all punctuation.
19122 (sql-font-lock-keywords-builder): Temporarily remove fallback on
19123 ansi keywords.
19124 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
19125 (sql-mode-oracle-font-lock-keywords): Improve.
19126 (sql-oracle-show-reserved-words): New function for development.
19127 (sql-product-font-lock): Simplify for source code buffers.
19128 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
19129 New functions.
19130 (sql-highlight-product): Set product specific syntax table.
19131 (sql-mode-map): Add statement movement functions.
19132 (sql-ansi-statement-starters, sql-oracle-statement-starters):
19133 New variable.
19134 (sql-statement-regexp, sql-beginning-of-statement)
19135 (sql-end-of-statement, sql-signum): New functions.
19136 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
19137 (sql-show-sqli-buffer): Bug fix.
19138 (sql-interactive-mode): Store connection data as buffer local.
19139 (sql-connect): Add NEW-NAME parameter. Redesign interaction
19140 with sql-interactive-mode.
19141 (sql-save-connection): Save buffer local settings.
19142 (sql-connection-menu-filter): Change menu entry name.
19143 (sql-product-interactive): Bug fix.
19144 (sql-preoutput-hold): New variable.
19145 (sql-interactive-remove-continuation-prompt): Bug fixes.
19146 (sql-debug-redirect): New variable.
19147 (sql-str-literal): New function.
19148 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
19149 Redesign.
19150 (sql-oracle-save-settings, sql-oracle-restore-settings)
19151 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19152 (sql-completion-object, sql-completion-column)
19153 (sql-completion-sqlbuf): New variables.
19154 (sql-build-completions-1, sql-build-completions)
19155 (sql-try-completion): New functions.
19156 (sql-read-table-name): Use them.
19157 (sql-contains-names): New buffer local variable.
19158 (sql-list-all, sql-list-table): Use it.
19159 (sql-oracle-completion-types): New variable.
19160 (sql-oracle-completion-object, sql-sqlite-completion-object)
19161 (sql-postgres-completion-object): New functions.
19162
19163 2011-07-06 Glenn Morris <rgm@gnu.org>
19164
19165 * window.el (pop-to-buffer): Doc fix.
19166
19167 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
19168
19169 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19170
19171 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
19172
19173 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
19174
19175 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
19176
19177 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
19178
19179 * button.el (button): Inherit from link face. Suggested by Dan
19180 Nicolaescu.
19181
19182 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19183
19184 * progmodes/gdb-mi.el: Fit in 80 columns.
19185 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19186 switch-to-buffer.
19187
19188 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19189 if imenu is simply not configured (bug#8941).
19190
19191 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19192
19193 * allout.el (allout-post-undo-hook): New allout outline-change
19194 event hook to signal undo activity.
19195 (allout-post-command-business): Run allout-post-undo-hook if an
19196 undo just occurred.
19197 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19198 * allout-widgets.el (allout-widgets-after-undo-function):
19199 Ensure the integrity of the current item's decoration after it has been
19200 in the vicinity of an undo.
19201 (allout-widgets-mode): Include allout-widgets-after-undo-function
19202 on the new allout-post-undo-hook.
19203
19204 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19205
19206 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19207 Let define-derived-mode define it.
19208 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19209 cycles of abbrev-table inheritance (bug#8998).
19210
19211 2011-07-05 Roland Winkler <winkler@gnu.org>
19212
19213 * textmodes/bibtex.el: Add support for biblatex.
19214 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19215 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19216 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19217 (bibtex-entry-alist, bibtex-field-alist): New variables.
19218 (bibtex-entry-field-alist): Obsolete alias for
19219 bibtex-BibTeX-entry-alist.
19220 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19221 (bibtex-set-dialect): New command.
19222 (bibtex-entry-type, bibtex-entry-head)
19223 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19224 Bind via bibtex-set-dialect.
19225 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19226 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19227 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19228 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19229 Define via bibtex-set-dialect.
19230 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19231 Obey bibtex-no-opt-remove-re.
19232 (bibtex-vec-push, bibtex-vec-incr): New functions.
19233 (bibtex-format-entry, bibtex-field-list)
19234 (bibtex-print-help-message, bibtex-validate)
19235 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19236
19237 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19238
19239 * progmodes/compile.el (compilation-goto-locus):
19240 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19241 * bs.el (bs-cycle-next, bs-cycle-previous):
19242 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19243 * bindings.el (mode-line-other-buffer):
19244 * autoinsert.el (auto-insert):
19245 * arc-mode.el (archive-extract):
19246 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19247
19248 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19249
19250 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19251 Fix check of `emacs-lock-unlockable-modes'.
19252 Coerce true values of `emacs-lock--try-unlocking' to t.
19253
19254 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19255
19256 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19257 * emacs-lock.el: New file.
19258
19259 2011-07-05 Julien Danjou <julien@danjou.info>
19260
19261 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19262 than `boundp' to check if face is set.
19263
19264 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19265
19266 * register.el (registerv-make):
19267 * window.el (window-min-height): Fix typos in docstrings.
19268
19269 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19270
19271 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
19272 Update doc string.
19273
19274 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19275
19276 * server.el (server-execute): Catch quit and call
19277 `server-return-error' to pass the error back to emacsclient and
19278 close the connection (bug#8942).
19279
19280 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19281
19282 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19283 insecure exception for current topic. Also note that auto-saves
19284 are handled differently.
19285
19286 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
19287 State variables for tracking auto-save inhibition situation.
19288
19289 (allout-write-contents-hook-handler): Rename from
19290 'allout-write-file-hook-handler', and describe how it depends on
19291 write-contents-functions sensitivity to non-nil value to prevent
19292 file write.
19293
19294 (allout-auto-save-hook-handler): Remove. auto-save does not check
19295 this in individual buffers, only in the starting buffer, so this
19296 is not the right way for us to inhibit auto-save in a buffer
19297 according to its condition.
19298
19299 (allout-mode): Use new allout-write-contents-hook-handler, and
19300 only with write-contents-functions. Remove auto-save provisions -
19301 they're implemented elsewhere.
19302
19303 (allout-before-change-handler): If undo is in progress, note that
19304 for attention of allout-post-command-business.
19305
19306 (allout-post-command-business): If the command we're following was
19307 an undo, check for change in the status of encrypted items and
19308 adjust auto-save inhibitions accordingly.
19309
19310 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19311 according to whether there are or aren't any plain-text topics
19312 pending encryption.
19313
19314 (allout-inhibit-auto-save-info-for-decryption):
19315 Adjust buffer-saved-size and some allout state to inhibit auto-saves
19316 if there are plain-text topics pending encryption.
19317
19318 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19319 buffer-saved-size and some allout state to not inhibit auto-saves
19320 if there are no longer any plain-text topics pending encryption.
19321
19322 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19323 No longer provide for exemption of the current topic.
19324
19325 2011-07-04 Juri Linkov <juri@jurta.org>
19326
19327 Add 7z operations to delete and save changed members (bug#8968).
19328 * arc-mode.el (archive-7z-expunge, archive-7z-update):
19329 New defcustoms.
19330 (archive-7z-write-file-member): New function.
19331 (archive-7z-summarize): Fix the number of dashes in the
19332 listing output.
19333
19334 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19335
19336 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19337 (bug#8958).
19338
19339 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
19340
19341 * bindings.el: Ignore next-buffer and previous-buffer in
19342 minibuffer-local-map.
19343
19344 * font-lock.el (font-lock-builtin-face): Change light background
19345 color to dark slate blue (Bug#6693).
19346
19347 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
19348
19349 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19350
19351 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19352
19353 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
19354 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19355 Add switch-to-buffer.
19356
19357 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19358
19359 * isearch.el (isearch-search-fun-function): Clarify further the
19360 meaning of the function returned.
19361
19362 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
19363
19364 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
19365
19366 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
19367 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
19368 Use it.
19369 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
19370 `tramp-default-remote-path' does not exist.
19371 (tramp-send-command-and-read): New optional argument NOERROR.
19372 (tramp-open-connection-setup-interactive-shell)
19373 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
19374 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
19375 (tramp-process-sentinel): Flush also process' connection property.
19376 (tramp-sh-handle-start-file-process): Do not set process
19377 sentinel. It is done now ...
19378 (tramp-maybe-open-connection): ... here. (Bug#8929)
19379
19380 2011-07-04 MON KEY <monkey@sandpframing.com>
19381
19382 * play/animate.el (animate-string): Doc fixes and allow changing
19383 the buffer name (bug#5417).
19384
19385 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19386
19387 * play/animate.el (animation-buffer-name): Rename from *animate*.
19388
19389 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
19390
19391 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
19392 This is simpler and helps future-proof the code.
19393 (timer-until): Use time-subtract and float-time.
19394 (timer--time-less-p): Use time-less-p.
19395
19396 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19397
19398 * type-break.el (timep): Use the value of `float-time' to avoid a
19399 byte-compiler warning.
19400
19401 * server.el (server-eval-and-print): Return any result, even nil.
19402
19403 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
19404
19405 * type-break.el: Accept time formats that the builtins accept.
19406 (timep, type-break-time-difference): Accept any format that
19407 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
19408 This is simpler and helps future-proof the code.
19409 (type-break-time-difference): Round rather than ignoring
19410 subseconds components.
19411
19412 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19413
19414 * info.el (Info-apropos-matches): Make non-interactive, since it
19415 doesn't seem to do anything useful as a command (bug#8829).
19416
19417 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
19418
19419 * frame.el (frame-background-mode, frame-set-background-mode):
19420 Move from faces.el.
19421 (frame-default-terminal-background): New function.
19422
19423 * custom.el (custom-push-theme): Don't record faces in `changed'
19424 theme; this doesn't work correctly for per-frame face settings.
19425 (disable-theme): Use face-set-after-frame-default to reset faces.
19426 (custom--frame-color-default): New function.
19427
19428 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19429
19430 * dired.el (dired-flagging-regexp): Remove unused variable
19431 (bug#8769).
19432
19433 2011-03-29 Kevin Ryde <user42@zip.com.au>
19434
19435 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19436 `perl-Test2' extend to match possible "fail #N" rep count
19437 (bug#8377).
19438
19439 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19440
19441 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
19442 `smtpmail-via-smtp' now returns the error instead of nil.
19443
19444 * isearch.el (isearch-search-fun-function): Clarify the doc string
19445 (bug#8101).
19446
19447 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
19448
19449 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
19450 unnecessary spaces (bug#8987).
19451
19452 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19453
19454 * net/network-stream.el (open-network-stream): Use the
19455 :end-of-capability command thoughout.
19456
19457 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
19458
19459 * net/network-stream.el (open-network-stream): Add the
19460 :end-of-capability command parameter, used by pop3.el.
19461
19462 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19463
19464 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
19465
19466 * fringe.el (fringe-query-style): Remove redundant text " (type ?
19467 for list)" (bug#6475).
19468
19469 * files.el (file-expand-wildcards): Ignore non-readable
19470 sub-directories while trying to find matches instead of signaling
19471 an error (bug#6297).
19472
19473 * man.el (Man-reference-regexp): Allow matching possible
19474 word-wrapped references (bug#6289).
19475
19476 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
19477 for consistency with the other vc buffers (bug#6197).
19478 (vc-checkin): Ditto.
19479
19480 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
19481
19482 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
19483
19484 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19485
19486 * custom.el (defcustom): Clarify that :set is only used in the
19487 Customize user interface (bug#6089).
19488
19489 * progmodes/flymake.el (flymake-mode): If the buffer isn't
19490 associated with a file, refuse to run instead of erroring out
19491 (bug#6084).
19492
19493 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
19494 the doc string, since it appears that using `fill-column' always
19495 controls the width (bug#7845).
19496
19497 * simple.el (shell-command-on-region): Say where the error output
19498 went if `shell-command-default-error-buffer' is set (bug#6857).
19499
19500 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
19501
19502 * allout.el (allout-yank-processing): Adjust cursor position for
19503 backwards-deleted space.
19504
19505 (allout-rebullet-heading): Register changes with
19506 allout-exposure-changed-hook, so the modified topic is properly
19507 decorated.
19508
19509 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19510
19511 * minibuffer.el (completion-in-region): Document PREDICATE
19512 (bug#7136).
19513
19514 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
19515 of keyword/argument pairs (bug#6904).
19516
19517 * replace.el (multi-occur):
19518 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
19519
19520 2011-07-02 Drew Adams <drew.adams@oracle.com>
19521
19522 * dired.el (dired-mark-if): Make the message about whether it's
19523 marking or unmarking clearer (bug#8523).
19524
19525 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19526
19527 * disp-table.el (display-table-print-array): New function.
19528 (describe-display-table): Use it to print the vectors more pretty
19529 (Bug#8859).
19530
19531 2011-07-02 Martin Rudalics <rudalics@gmx.at>
19532
19533 * window.el (window-state-get-1): Don't assign clone numbers.
19534 Add clone-of item to list of window parameters.
19535 (window-state-put-2): Don't process clone numbers.
19536 (display-buffer-alist): Fix doc-string.
19537
19538 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
19539
19540 * subr.el (remq): Don't allocate if it's not needed.
19541 (keymap--menu-item-binding, keymap--menu-item-with-binding)
19542 (keymap--merge-bindings): New functions.
19543 (keymap-canonicalize): Use them to refine the canonicalization.
19544 * minibuffer.el (minibuffer-local-completion-map)
19545 (minibuffer-local-must-match-map): Move initialization from C.
19546 (minibuffer-local-filename-completion-map): Move initialization from C;
19547 don't inherit from anything here.
19548 (minibuffer-local-filename-must-match-map): Make obsolete.
19549 (completing-read-default): Use make-composed-keymap to combine
19550 minibuffer-local-filename-completion-map with either
19551 minibuffer-local-must-match-map or
19552 minibuffer-local-filename-completion-map.
19553
19554 2011-07-01 Glenn Morris <rgm@gnu.org>
19555
19556 * type-break.el (type-break-time-sum): Use dolist.
19557
19558 * textmodes/flyspell.el (flyspell-word-search-backward):
19559 Replace CL function.
19560
19561 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19562
19563 * mouse.el (mouse--strip-first-event): New function.
19564 (function-key-map): Use it to map fringe clicks to normal clicks
19565 by default.
19566
19567 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
19568 (vc-bzr-revision-completion-table): Add support for annotate and date.
19569
19570 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
19571 inherit from parent.
19572
19573 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19574
19575 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
19576 (dired-show-file-type): Doc fixup (bug#8818).
19577
19578 * dired.el (dired-mode): Fix up the doc string as suggested by
19579 Drew Adams (bug#8817).
19580
19581 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
19582 cookie, since the manual says that it should be possible to add
19583 this function to `find-file-hook' (bug#8709).
19584
19585 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19586
19587 * progmodes/cfengine.el: Moved all cfengine3.el functionality
19588 here. Noted Ted Zlatanov as the maintainer.
19589 (cfengine-common-settings, cfengine-common-syntax): New functions
19590 to set up common things between `cfengine-mode' and
19591 `cfengine3-mode'.
19592 (cfengine3-mode): New mode.
19593 (cfengine3-defuns cfengine3-defuns-regex
19594 (cfengine3-class-selector-regex cfengine3-category-regex)
19595 (cfengine3-vartypes cfengine3-font-lock-keywords)
19596 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
19597 (cfengine3-indent-line): Add from cfengine3.el.
19598
19599 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
19600
19601 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
19602
19603 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
19604
19605 2011-07-01 Martin Rudalics <rudalics@gmx.at>
19606
19607 * window.el (same-window-buffer-names, same-window-regexps)
19608 (same-window-p, special-display-frame-alist)
19609 (special-display-popup-frame, special-display-function)
19610 (special-display-buffer-names, special-display-regexps)
19611 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
19612 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19613 (split-window-preferred-function, split-height-threshold)
19614 (split-width-threshold, even-window-heights)
19615 (display-buffer-mark-dedicated, window-splittable-p)
19616 (split-window-sensibly, window-safely-shrinkable-p):
19617 Un-obsolete.
19618 (display-buffer): Don't spread args with function specifier
19619 because special-display-popup-frame won't like it.
19620
19621 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
19622
19623 Time-stamp simplifications and fixes.
19624 These improve accuracy slightly, and future-proof the code
19625 against some potential changes to current-time format.
19626
19627 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
19628 by using time-since and float-time.
19629
19630 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
19631 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
19632 + NNN microseconds".
19633
19634 * type-break.el (type-break-time-sum): Rewrite using time-add.
19635
19636 * play/hanoi.el (hanoi-current-time-float): Remove.
19637 All uses replaced by float-time.
19638
19639 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
19640 This yields a more-accurate answer.
19641 (rng-time-to-float): Remove; no longer needed.
19642
19643 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
19644
19645 * calendar/timeclock.el (timeclock-seconds-to-time):
19646 Defalias to seconds-to-time, since they're the same thing.
19647
19648 * emacs-lisp/elp.el (elp-elapsed-time):
19649 * emacs-lisp/benchmark.el (benchmark-elapse):
19650 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
19651
19652 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19653
19654 * window.el (bury-buffer): Don't iconify the only frame.
19655 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
19656 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
19657
19658 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
19659
19660 * eshell/em-smart.el (eshell-smart-display-navigate-list):
19661 Add mouse-yank-primary.
19662
19663 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19664
19665 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
19666
19667 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19668
19669 * emacs-lisp/find-func.el (find-library--load-name): New fun.
19670 (find-library-name): Use it to find relative load names when provided
19671 absolute file name (bug#8803).
19672
19673 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19674
19675 * textmodes/flyspell.el (flyspell-word): Consider words that
19676 differ only in case as potential doublons (bug#5687).
19677
19678 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
19679 Remove two rather uninteresting debugging-like messages to make
19680 debbugs.el more silent.
19681
19682 * comint.el (comint-password-prompt-regexp): Accept "Response" as
19683 a password-like phrase.
19684
19685 2011-06-30 Masatake YAMATO <yamato@redhat.com>
19686
19687 * progmodes/cc-guess.el: New file.
19688
19689 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
19690
19691 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
19692 derived from `c-basic-common-init'.
19693
19694 * progmodes/cc-mode.el (top-level): Require cc-guess.
19695 (c-basic-common-init): Use `cc-choose-style-for-mode'.
19696
19697 2011-06-30 Lawrence Mitchell <wence@gmx.li>
19698
19699 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
19700
19701 2011-06-30 Alan Mackenzie <acm@muc.de>
19702
19703 * progmodes/cc-engine.el (c-guess-continued-construct):
19704 Correct the handling of template-args-cont, particularly for when font
19705 lock is disabled. Name this case as "CASE G".
19706
19707 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
19708
19709 * allout.el (allout-yank-processing): Fix injection of extra space
19710 between bullet and non-whitespace character in first topic when
19711 pasting, ensuring that the actual spacing in the pasted topic
19712 following the bullet char is preserved. This extra space was
19713 causing pasted encrypted topics to get a decrypted status even
19714 when the content was actually still encrypted. Now the decryption
19715 status from before the paste is preserved.
19716
19717 (allout-flag-region): Set all allout overlays so they evaporate
19718 when reduced to zero length (evanescent), to prevent overlay
19719 leakage.
19720
19721 2011-06-30 Glenn Morris <rgm@gnu.org>
19722
19723 * w32-fns.el (w32-charset-info-alist): Declare.
19724
19725 * find-dired.el (find-grep-options): Simplify.
19726
19727 * term/ns-win.el (ns-set-resource): Declare.
19728
19729 * ses.el (row, col): Declare dynamic variables honestly.
19730
19731 * textmodes/reftex-parse.el (index-tags): Declare.
19732
19733 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
19734
19735 * cus-edit.el (customize-push-and-save): New function.
19736
19737 * files.el (hack-local-variables-confirm): Use it.
19738
19739 * custom.el (load-theme): New arg NO-CONFIRM.
19740 Use customize-push-and-save (Bug#8720).
19741 (custom-enabled-themes): Doc fix.
19742
19743 * cus-theme.el (customize-create-theme)
19744 (custom-theme-merge-theme): Callers to load-theme changed.
19745
19746 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19747
19748 * thingatpt.el (thing-at-point-short-url-regexp): Require that
19749 short URLs have at least one dot in them (bug #7614).
19750
19751 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
19752 nil, because using a pty is apparently too slow (bug #895).
19753
19754 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
19755
19756 * mail/sendmail.el (sendmail-query-once): New function.
19757 (sendmail-query-once-function): New variable.
19758
19759 2011-06-29 Glenn Morris <rgm@gnu.org>
19760
19761 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
19762
19763 * ses.el (top-level): Require cl when compiling.
19764 (ses-set-localvars): Fix error statement.
19765 Call it at compile time to silence a storm of warnings.
19766
19767 2011-06-29 Martin Rudalics <rudalics@gmx.at>
19768
19769 * window.el (normalize-live-buffer): Rename to
19770 window-normalize-buffer.
19771 (normalize-live-frame): Rename to window-normalize-frame.
19772 (normalize-any-window): Rename to window-normalize-any-window.
19773 (normalize-live-window): Rename to window-normalize-live-window.
19774 (make-window-atom): Rename to window-make-atom.
19775 (window-resize-reset): Rename to window--resize-reset.
19776 (window-resize-reset-1): Rename to window--resize-reset-1.
19777 (resize-mini-window): Rename to window--resize-mini-window.
19778 (resize-subwindows-skip-p): Rename to
19779 window--resize-subwindows-skip-p.
19780 (resize-subwindows-normal): Rename to
19781 window--resize-subwindows-normal.
19782 (resize-subwindows): Rename to window--resize-subwindows.
19783 (resize-other-windows): Rename to window--resize-siblings.
19784 (resize-this-window): Rename to window--resize-this-window.
19785 (resize-root-window): Rename to window--resize-root-window.
19786 (resize-root-window-vertically): Rename to
19787 window--resize-root-window-vertically.
19788 (normalize-buffer-to-display): Rename to
19789 window-normalize-buffer-to-display.
19790 (normalize-buffer-to-switch-to): Rename to
19791 window-normalize-buffer-to-switch-to.
19792 Correspondingly update all callers of the functions listed
19793 above.
19794 (display-buffer-alist, display-buffer-normalize-arguments)
19795 (display-buffer-normalize-options, display-buffer)
19796 (display-buffer-alist-set): Use "function" instead of
19797 "fun-with-args".
19798
19799 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
19800
19801 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
19802 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
19803 debbugs.gnu.org. Mention acknowledgment email.
19804
19805 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
19806
19807 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
19808 buffer multibyteness, since it shouldn't matter.
19809
19810 2011-06-28 Martin Rudalics <rudalics@gmx.at>
19811
19812 * window.el (display-buffer-in-side-window): Handle dedicated
19813 windows as in display-buffer-reuse-window.
19814 (display-buffer-normalize-alist): Use value of override
19815 specifier.
19816 (display-buffer-normalize-specifiers): Use value of
19817 other-window-means-other-frame specifier.
19818 (display-buffer-alist): Rewrite some texts in widgets.
19819 (display-buffer): Spread arguments when calling function
19820 specified by fun-with-args.
19821
19822 2011-06-28 Deniz Dogan <deniz@dogan.se>
19823
19824 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19825 Unnest `let'.
19826
19827 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
19828 selectors (Bug#5732).
19829 (css-proprietary-nmstart-re): Use `regexp-opt'.
19830
19831 2011-06-27 Jari Aalto <jari.aalto@cante.net>
19832
19833 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
19834 (eshell-ls-date-format): New defcustom.
19835 (eshell-ls-file): Use it.
19836
19837 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19838
19839 * help-fns.el (describe-variable): Fix message for terminal-local vars.
19840
19841 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
19842
19843 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
19844 (ange-ftp-make-tmp-name): New arg.
19845 (ange-ftp-file-local-copy): Use it.
19846
19847 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
19848
19849 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
19850 no-conversion (Bug#8870).
19851
19852 2011-06-27 Martin Rudalics <rudalics@gmx.at>
19853
19854 * window.el (window-right, window-left, window-child)
19855 (window-child-count, window-last-child)
19856 (window-iso-combination-p, walk-window-tree-1)
19857 (window-atom-check-1, window-tree-1, delete-window)
19858 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
19859 new naming conventions - window-vchild, window-hchild,
19860 window-next and window-prev are now called window-top-child,
19861 window-left-child, window-next-sibling and window-prev-sibling
19862 respectively.
19863 (resize-window-reset): Rename to window-resize-reset.
19864 (resize-window-reset-1): Rename to window-resize-reset-1.
19865 (resize-window): Rename to window-resize.
19866 (window-min-height, window-min-width)
19867 (resize-mini-window, resize-this-window, resize-root-window)
19868 (resize-root-window-vertically, adjust-window-trailing-edge)
19869 (enlarge-window, shrink-window, maximize-window)
19870 (minimize-window, delete-window, quit-restore-window)
19871 (split-window, balance-windows, balance-windows-area-adjust)
19872 (balance-windows-area, window-state-put-2)
19873 (display-buffer-even-window-sizes, display-buffer-set-height)
19874 (display-buffer-set-width, set-window-text-height)
19875 (fit-window-to-buffer): Rename all "resize-window" prefixed
19876 calls to use the "window-resize" prefix convention.
19877 (display-buffer-alist): Fix symbol for label specifier.
19878 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
19879 corresponding specifier.
19880 Reported by Juanma Barranquero <lekktu@gmail.com>.
19881
19882 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19883
19884 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
19885 convention.
19886 (ses-call-printer): Does not pass an empty string to formatter when the
19887 cell is empty to keep from barking printer Calc math-format-value.
19888
19889 2011-06-27 Richard Stallman <rms@gnu.org>
19890
19891 * battery.el (battery-mode-line-limit): New variable.
19892 (battery-update): Handle it.
19893
19894 * mail/rmailmm.el (rmail-mime-process-multipart):
19895 Handle truncated messages.
19896
19897 2011-06-27 Glenn Morris <rgm@gnu.org>
19898
19899 * progmodes/flymake.el (flymake-err-line-patterns):
19900 Allow for column numbers in the ant/javac pattern. (Bug#8866)
19901
19902 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19903
19904 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
19905 (ses--clean-!, ses--clean-_): New functions.
19906 (ses-range): Add configurability of readout order, and conversion
19907 to Calc vector.
19908
19909 * ses.el (ses-repair-cell-reference-all): New function.
19910 (ses-cell-symbol): Set macro as safe, so that it can be used in
19911 formulas.
19912
19913 * ses.el: Update cycle detection algorithm.
19914 (ses-localvars): Add ses--Dijkstra-attempt-nb and
19915 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
19916 (ses-set-localvars): New function.
19917 (ses-make-cell): Add property-list as a cell element.
19918 (ses-cell-property-get-fun, ses-cell-property-get)
19919 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
19920 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
19921 New functions.
19922 (ses-cell-property-set, ses-cell-property-pop)
19923 (ses-cell-property-get-handle): New macro.
19924 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
19925 New aliases, used for code readability.
19926 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
19927 cycle detection.
19928 (ses-self-reference-early-detection): New defcustom.
19929 (ses-formula-references): Robustify against self-referring cells.
19930 (ses-mode): Use ses-set-localvars.
19931 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
19932 before lauching the update processing.
19933 (ses-initialize-Dijkstra-attempt): New function.
19934 (ses-recalculate-cell): Update for cycle detection based on
19935 Dijkstra algorithm.
19936
19937 * ses.el: Fix commenting and indenting convention.
19938
19939 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19940
19941 * bs.el (bs-cycle-next): Complete last change.
19942
19943 2011-06-27 Drew Adams <drew.adams@oracle.com>
19944
19945 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
19946
19947 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19948
19949 * net/network-stream.el (network-stream-open-starttls):
19950 Don't re-get capabilities unless we've reestablished connection.
19951 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
19952
19953 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
19954 to binary to possibly avoid line encoding issues on Windows (among
19955 other things).
19956
19957 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19958
19959 * net/network-stream.el (open-network-stream): Return an :error
19960 saying what the problem was, if possible.
19961
19962 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
19963 server.
19964
19965 * net/network-stream.el (network-stream-open-starttls): If we
19966 wanted to use STARTTLS, and the server offered it, but we weren't
19967 able to because we had no STARTTLS support, then close the connection.
19968 (open-network-stream): Return an :error element, if present.
19969
19970 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
19971
19972 * hl-line.el (hl-line-sticky-flag): Doc fix.
19973 (global-hl-line-sticky-flag): New option (Bug#8323).
19974 (global-hl-line-highlight): Obey it.
19975
19976 * vc/vc.el (vc-revert-show-diff): Default to t.
19977
19978 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
19979
19980 * allout-widgets.el (allout-widgets-post-command-business):
19981 Stop decorating intermediate isearch matches. They're not being
19982 undecorated when an isearch is continued past, and isearch
19983 automatically collapses them. This leads to "widget leaks", where
19984 decorated items accumulate in collapsed areas. Lines with lots of
19985 hidden widgets can slow down cursor travel, substantially.
19986 Too much complicated machinery would be needed to ensure undecoration,
19987 so we're doing without this nicety.
19988
19989 (allout-widgets-tally-string): Don't try to do a hash-table-count
19990 of allout-widgets-tally when it's nil. This eliminates spurious "Error
19991 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
19992 *Messages* when allout-widgets-maintain-tally is t.
19993
19994 2011-06-26 Martin Rudalics <rudalics@gmx.at>
19995
19996 * window.el (display-buffer-normalize-argument): Rename to
19997 display-buffer-normalize-arguments. Handle special meaning of
19998 LABEL argument. Respect special-display-function when popping up
19999 a new frame. Fix code searching for a window showing the buffer
20000 on another frame.
20001 (display-buffer-normalize-specifiers):
20002 Call display-buffer-normalize-arguments.
20003 (display-buffer-in-window): Don't undedicate the window if its
20004 buffer remains the same.
20005 Reported by Drew Adams <drew.adams@oracle.com>.
20006 (display-buffer-alist): Add choice for same-window macro
20007 specfier.
20008 (display-buffer): Mention special meaning of LABEL argument in
20009 doc-string. Fix quoting. Don't pop up a new frame even as
20010 fallback.
20011
20012 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
20013
20014 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20015 avoid deleting the current window in some cases (bug#8911).
20016
20017 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20018
20019 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20020 (Bug#8934)
20021
20022 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20023
20024 * net/network-stream.el (network-stream-open-starttls):
20025 Use built-in TLS support if `gnutls-available-p' is true.
20026 (network-stream-open-tls): Ditto.
20027
20028 2011-06-26 Leo Liu <sdl.web@gmail.com>
20029
20030 * register.el (registerv): New struct.
20031 (registerv-make): New function.
20032 (jump-to-register, describe-register-1, insert-register):
20033 Support the jump-func, print-func and insert-func slot of a registerv
20034 struct. (Bug#8415)
20035
20036 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20037
20038 * vc/vc.el (vc-revert-show-diff): New defcustom.
20039 (vc-diff-internal): New arg specifying diff buffer.
20040 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20041 reuse an existing *vc-diff* buffer (Bug#8927).
20042
20043 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20044
20045 2011-06-26 Glenn Morris <rgm@gnu.org>
20046
20047 * progmodes/f90.el (f90-critical-indent): New option.
20048 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20049 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20050 (f90-mode): Doc fix.
20051 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20052 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20053 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20054 (f90-match-end): Handle block, critical.
20055
20056 2011-06-25 Glenn Morris <rgm@gnu.org>
20057
20058 * calendar/diary-lib.el (diary-included-files): Doc fix.
20059 (diary-include-files): New function, extracted from
20060 diary-include-other-diary-files and diary-mark-included-diary-files.
20061 (diary-include-other-diary-files, diary-mark-included-diary-files):
20062 Just call diary-include-files.
20063 (diary-mark-entries): Reset diary-included-files on first call.
20064
20065 * calendar/diary-lib.el (diary-mark-entries)
20066 (diary-mark-included-diary-files):
20067 Visit included diary-files in temp buffers.
20068
20069 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20070 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20071 (f90-start-block-re, f90-imenu-generic-expression)
20072 (f90-looking-at-program-block-start, f90-no-block-limit):
20073 Add support for submodules.
20074
20075 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20076 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
20077
20078 2011-06-25 Eli Zaretskii <eliz@gnu.org>
20079
20080 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20081 buffer-file-type before setting its value, to avoid disastrous
20082 global effects on decoding files for DOS/Windows systems. (Bug#8780)
20083
20084 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20085
20086 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20087
20088 * ses.el (ses-unload-function):
20089 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20090
20091 * proced.el (proced-unload-function):
20092 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20093
20094 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20095
20096 * server.el (server-create-window-system-frame): Add parameters arg.
20097 (server-process-filter): Doc fix. Handle frame-parameters.
20098
20099 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20100
20101 Fix bug#8730, bug#8781.
20102
20103 * loadhist.el (unload--set-major-mode): New function.
20104 (unload-feature): Use it.
20105
20106 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20107 (python-unload-function): New function.
20108
20109 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20110
20111 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
20112
20113 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
20114
20115 * net/browse-url.el (browse-url-firefox-program): Add icecat to
20116 the candidates list.
20117
20118 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
20119
20120 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
20121
20122 2011-06-23 Richard Stallman <rms@gnu.org>
20123
20124 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
20125 (rmail-variables): Set next-error-move-function.
20126 (rmail-what-message): Take argument POS.
20127 (rmail-next-error-move): New function.
20128
20129 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
20130
20131 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20132 messages for adjacent non-terminals.
20133
20134 2011-06-23 Richard Stallman <rms@gnu.org>
20135
20136 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
20137 (rmail-show-message-1): Preserve buffer modified flag.
20138 (rmail-start-mail): Don't specify use of rmail-mail-return;
20139 that's done by mail-bury now.
20140 (rmail-mail-return): Handle arg NEWBUF.
20141
20142 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
20143
20144 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20145 SIZE is a number.
20146
20147 2011-06-23 Martin Rudalics <rudalics@gmx.at>
20148
20149 * window.el (get-lru-window, get-mru-window)
20150 (get-largest-window): Never return a minibuffer window.
20151 (display-buffer-pop-up-window): Fix a bug that could lead to
20152 reusing the minibuffer window.
20153 (display-buffer): Pass original specifier argument to
20154 display-buffer-function instead of the normalized one.
20155 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20156
20157 2011-06-22 Leo Liu <sdl.web@gmail.com>
20158
20159 * minibuffer.el (completing-read-function)
20160 (completing-read-default): Move from minibuf.c.
20161
20162 2011-06-22 Richard Stallman <rms@gnu.org>
20163
20164 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20165 to Rmail even if not started by a special Rmail command.
20166
20167 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20168 Copy the buffer currently showing just one message.
20169
20170 2011-06-22 Roland Winkler <winkler@gnu.org>
20171
20172 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20173 (bibtex-clean-entry): First delete the old key so that a
20174 customized algorithm for generating the new key does not get
20175 confused by the old key.
20176 (bibtex-url): Obey regexp of first step.
20177 (bibtex-search-entries): Do not use add-to-list with local
20178 list-var.
20179
20180 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20181
20182 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20183 stored a user name, then query for the password first, instead of
20184 waiting for SMTP to give an error message and the trying again.
20185
20186 2011-06-22 Lawrence Mitchell <wence@gmx.li>
20187
20188 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20189 BUFFER in call-process.
20190
20191 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20192
20193 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20194 QUIT twice.
20195 (smtpmail-try-auth-methods): Require user name and password from
20196 auth-source.
20197
20198 2011-06-22 Martin Rudalics <rudalics@gmx.at>
20199
20200 * window.el (display-buffer-default-specifiers)
20201 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20202 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
20203 (split-window): Normalize SIDE argument (Bug#8916).
20204
20205 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20206 (special-display-frame-alist, special-display-popup-frame):
20207 Remove duplicate declarations. These are now in window.el.
20208
20209 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20210
20211 * mail/smtpmail.el (smtpmail-via-smtp):
20212 Set :use-starttls-if-possible so that we always use STARTTLS if the
20213 server supports it. SMTP servers that support STARTTLS commonly
20214 require it.
20215
20216 * net/network-stream.el (network-stream-open-starttls): Support
20217 upgrading to STARTTLS always, even if we don't have built-in support.
20218 (open-network-stream): Add the :always-query-capabilities keyword.
20219
20220 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20221 upgrades with `open-network-stream', and rely solely on
20222 auth-source for all credentials. Big changes throughout the file,
20223 but in particular:
20224 (smtpmail-auth-credentials): Remove.
20225 (smtpmail-starttls-credentials): Remove.
20226 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20227 MAIL FROM, too.
20228
20229 * net/network-stream.el (network-stream-open-starttls):
20230 Provide support for client certificates both for external and built-in
20231 STARTTLS.
20232 (auth-source): Require.
20233 (open-network-stream): Document the :client-certificate keyword.
20234 (network-stream-certificate): Change cert-cert to cert and
20235 cert-key to key.
20236
20237 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
20238
20239 * net/tramp-cache.el (top): Don't load the persistency file when
20240 "emacs -Q" has been called.
20241
20242 2011-06-21 Tim Harper <timcharper@gmail.com>
20243
20244 * term/ns-win.el (ns-initialize-window-system):
20245 Set application-specific `ApplePressAndHoldEnabled' system
20246 resource to NO as it is not yet supported by the NS port.
20247
20248 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
20249
20250 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20251 (list-dynamic-libraries): ...not here.
20252
20253 2011-06-21 Leo Liu <sdl.web@gmail.com>
20254
20255 * subr.el (sha1): Implement sha1 using secure-hash.
20256
20257 2011-06-21 Martin Rudalics <rudalics@gmx.at>
20258
20259 * window.el (display-buffer-alist): In default value do not
20260 enforce searching a window on any but the selected frame.
20261 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20262 (display-buffer-select-window): Remove function.
20263 (display-buffer-in-window): When a window on another frame gets
20264 reused, do not select it any more but just raise its frame if
20265 necessary (Bug#8851) and (Bug#8856).
20266 (display-buffer-normalize-options): Handle pop-up-frames related
20267 options more faithfully.
20268 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20269 window if it is on another frame.
20270 (display-buffer-alist, display-buffer-default-specifiers):
20271 Don't make new frame unsplittable by default.
20272 (display-buffer-normalize-argument): Fix doc-string typo and use
20273 'same-frame-other-window instead of 'other-window when associating
20274 with display-buffer-macro-specifiers.
20275
20276 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20277
20278 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20279 New functions.
20280 (5x5-mode-map, 5x5-mode-menu): Bind them.
20281 (5x5-draw-grid): Tweak the solver's rendering.
20282
20283 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20284
20285 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20286 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20287
20288 2011-06-21 Drew Adams <drew.adams@oracle.com>
20289
20290 * menu-bar.el: Use function variable instead of switch-to-buffer.
20291 (menu-bar-select-buffer-function): New variable.
20292 (menu-bar-update-buffers): Use it (bug#8876).
20293
20294 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20295
20296 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20297 variable's status.
20298
20299 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20300
20301 * x-dnd.el (x-dnd-version-from-flags)
20302 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20303 and long as number (Bug#8899).
20304 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20305
20306 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20307
20308 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
20309 (completion-try-completion, completion-all-completions): Compute the
20310 metadata argument if it's missing; make it optional (bug#8795).
20311
20312 * wid-edit.el: Use lex-bind and move towards completion-at-point.
20313 (widget-complete): Use new :completion-function property.
20314 (widget-completions-at-point): New function.
20315 (default): Use :completion-function instead of :complete.
20316 (widget-default-completions): Rename from widget-default-complete;
20317 Rewrite.
20318 (widget-string-complete, widget-file-complete, widget-color-complete):
20319 Remove functions.
20320 (file, symbol, function, variable, coding-system, color):
20321 * international/mule-cmds.el (default-input-method, charset)
20322 (language-info-custom-alist):
20323 * cus-edit.el (face): Use new property :completions.
20324
20325 * progmodes/pascal.el (pascal-completions-at-point): New function.
20326 (pascal-mode): Use it.
20327 (pascal-mode-map): Use completion-at-point.
20328 (pascal-toggle-completions): Make obsolete.
20329 (pascal-complete-word, pascal-show-completions):
20330 * progmodes/octave-mod.el (octave-complete-symbol):
20331 Redefine as obsolete alias.
20332 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20333 Signal absence of completion info for old Octave,
20334 (inferior-octave-complete): Redefine as obsolete alias.
20335 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20336 (meta-completions-at-point): Rename from meta-complete-symbol and
20337 adapt it for use on completion-at-point-functions.
20338 (meta-common-mode): Use it.
20339 (meta-looking-at-backward, meta-match-buffer): Remove.
20340 (meta-complete-symbol): Redefine as obsolete alias.
20341 (meta-common-mode-map): Use completion-at-point.
20342 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20343 (makefile-mode-map): Use completion-at-point.
20344 (makefile-completions-at-point): Rename from makefile-complete and
20345 adapt it for use on completion-at-point-functions.
20346 (makefile-mode): Use it.
20347 (makefile-complete): Redefine as obsolete alias.
20348
20349 2011-06-20 Deniz Dogan <deniz@dogan.se>
20350
20351 * net/rcirc.el: Delete trailing whitespaces once and for all.
20352
20353 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
20354
20355 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
20356
20357 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
20358
20359 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
20360
20361 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
20362
20363 2011-06-19 Martin Rudalics <rudalics@gmx.at>
20364
20365 * window.el (display-buffer-other-window-means-other-frame):
20366 Call display-buffer-normalize-alist.
20367 (display-buffer-normalize-specifiers-1): Rename to
20368 display-buffer-normalize-argument. New argument other-frame.
20369 Rewrite.
20370 (display-buffer-normalize-specifiers-2): Rename to
20371 display-buffer-normalize-options.
20372 (display-buffer-normalize-alist-1): New function.
20373 (display-buffer-normalize-specifiers-3): Rename to
20374 display-buffer-normalize-alist.
20375 Call display-buffer-normalize-alist-1.
20376 (display-buffer-normalize-options-inhibit): New variable.
20377 (display-buffer-normalize-specifiers): Rewrite calling
20378 display-buffer-normalize-alist,
20379 display-buffer-normalize-argument, and
20380 display-buffer-normalize-options. Don't call the latter if
20381 display-buffer-normalize-options-inhibit is non-nil.
20382 (frame-auto-delete): New option.
20383 (window-deletable-p): Use frame-auto-delete.
20384 (window-list-no-nils, window-state-ignored-parameters)
20385 (window-state-get-1, window-state-get, window-state-put-list)
20386 (window-state-put-1, window-state-put-2, window-state-put):
20387 New functions.
20388 (display-buffer-normalize-options): Move special-display-p group
20389 after pop-up-frame group (Bug#8851) and (Bug#8856).
20390
20391 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
20392
20393 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
20394 groups (Bug#8776).
20395 (rx-submatch-n): New function.
20396 (rx): Document it.
20397
20398 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
20399 (Bug#8768).
20400
20401 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
20402
20403 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
20404
20405 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
20406 anytime existing face settings are present (Bug#8889).
20407
20408 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
20409 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
20410 Remove unused argument.
20411
20412 2011-06-18 Martin Rudalics <rudalics@gmx.at>
20413
20414 * window.el (display-buffer-default-specifiers):
20415 Remove pop-up-frame. Add pop-up-window-min-height,
20416 pop-up-window-min-width, and another reuse-window specifier
20417 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
20418 (display-buffer-normalize-specifiers-2):
20419 Handle split-height-threshold and split-width-threshold also when
20420 pop-up-windows is unset. Add a reuse-window specifier for the
20421 case popping up a new window fails.
20422 (special-display-popup-frame): Remove double quoting.
20423 (display-buffer-normalize-specifiers-1): Fix thinko.
20424
20425 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20426
20427 * shell.el (shell-completion-vars): Set pcomplete-termination-string
20428 according to comint-completion-addsuffix.
20429
20430 * pcomplete.el: Convert to lexical binding and fix bug#8819.
20431 (pcomplete-suffix-list): Mark as obsolete.
20432 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
20433 pcomplete-seen in the closure.
20434 (pcomplete-comint-setup): Setup completion-at-point as well.
20435 (pcomplete--entries): New function.
20436 (pcomplete--env-regexp): New var.
20437 (pcomplete-entries): Rewrite to work with partial-completion and
20438 without relying on pcomplete-suffix-list.
20439 (pcomplete-pare-list): Remove, unused.
20440
20441 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20442
20443 * window.el (display-buffer-alist): Set pop-up-window-min-height
20444 and pop-up-window-min-width in default value. Reported by
20445 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
20446 other-window-means-other-frame.
20447 (display-buffer-macro-specifiers): Comment out entry for
20448 other-window specifier.
20449 (display-buffer-other-window-means-other-frame): New function.
20450 (display-buffer-normalize-specifiers-1): New arguments
20451 buffer-name and label. Treat other-window case specially.
20452 (display-buffer-normalize-specifiers-2): Treat other-window case
20453 specially.
20454 (display-buffer-normalize-specifiers-3): New function.
20455 (display-buffer-normalize-specifiers):
20456 Call display-buffer-normalize-specifiers-3.
20457
20458 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20459
20460 * window.el (same-window-p): Fix two typos introduced when
20461 adding with-no-warnings.
20462 (display-buffer-normalize-specifiers-1): Don't check
20463 pop-up-frames for 'unset initialization.
20464 (display-buffer-normalize-specifiers-2): Major rewrite using
20465 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
20466 (pop-up-frames, display-buffer-reuse-frames)
20467 (display-buffer-mark-dedicated): Don't initialize to 'unset.
20468 Suggested by David Engster <deng@randomsample.de>.
20469 (even-window-heights): Initialize to 'unset.
20470 (display-buffer-alist-set): Handle new 'unset initializations.
20471 (display-buffer-macro-specifiers): Don't pop up a new frame in the
20472 other window case.
20473
20474 2011-06-16 Martin Rudalics <rudalics@gmx.at>
20475
20476 * window.el (display-buffer-normalize-specifiers-1):
20477 Respect current value of pop-up-frames for most reasonable values of
20478 second argument of display-buffer (Bug#8865).
20479 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
20480 (switch-to-buffer-other-window-same-frame)
20481 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
20482 Adams (Bug#8875).
20483 (display-buffer): Don't check noninteractive when calling
20484 display-buffer-pop-up-frame.
20485 (display-buffer-pop-up-frame): Never pop up a frame in
20486 noninteractive mode (Bug#8857).
20487 (enlarge-window, shrink-window): Don't report an error when the
20488 window can't be resized as requested (Bug#8862).
20489
20490 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20491
20492 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
20493
20494 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
20495
20496 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
20497
20498 2011-06-15 Alan Mackenzie <acm@muc.de>
20499
20500 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
20501 for declarators, disable knr checking to speed up for normal files.
20502 2: Refactor, replacing a sequence of nested if forms by a cond form.
20503
20504 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20505
20506 * net/network-stream.el (open-network-stream): Add the keyword
20507 :always-query-capabilities for the case where you want to force a
20508 `plain' network connection, but the protocol still requires the
20509 capabilitiy command (i.e., SMTP and EHLO).
20510
20511 * subr.el (process-live-p): Rename from `process-alive-p' for
20512 consistency with other `-live-p' functions.
20513
20514 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20515
20516 * window.el (same-window-buffer-names, same-window-regexps)
20517 (special-display-frame-alist, special-display-popup-frame)
20518 (special-display-function, special-display-buffer-names)
20519 (special-display-regexps, pop-up-frame-alist)
20520 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
20521 (pop-up-windows, split-window-preferred-function)
20522 (split-height-threshold, split-width-threshold, even-window-heights)
20523 (display-buffer-mark-dedicated): Don't encourage the use of
20524 display-buffer-alist from Elisp code.
20525
20526 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
20527
20528 * progmodes/python.el (python-mode): Derive from prog-mode.
20529 * progmodes/ps-mode.el (ps-mode):
20530 * progmodes/mixal-mode.el (mixal-mode):
20531 * progmodes/cfengine.el (cfengine-mode):
20532 * progmodes/ld-script.el (ld-script-mode): Likewise.
20533
20534 2011-06-15 Martin Rudalics <rudalics@gmx.at>
20535
20536 * window.el (display-buffer-alist): Trim default value to avoid
20537 popping up a new frame (Bug#8857) or reusing an arbitrary window
20538 on another frame.
20539 (display-buffer): Do not fall back on popping up a new frame in
20540 batch mode (Bug#8857).
20541
20542 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
20543
20544 * cus-theme.el (describe-theme-1): Use custom-theme-p.
20545 (custom-theme-summary): New function.
20546 (customize-themes): Use it.
20547
20548 2011-06-13 Glenn Morris <rgm@gnu.org>
20549
20550 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
20551
20552 2011-06-13 Martin Rudalics <rudalics@gmx.at>
20553
20554 * help.el (help-window): Remove variable.
20555 (help-window-point-marker, temp-buffer-max-height)
20556 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
20557 (help-print-return-message): Don't set help-window.
20558 (resize-temp-buffer-window): Rewrite cod eand doc-string.
20559 (help-window-setup-finish): Remove.
20560 (help-window-display-message, help-window-setup)
20561 (with-help-window): Major rewrite based on new
20562 display-buffer-window variable.
20563
20564 * help-mode.el (help-mode-finish): Remove help-window related
20565 code.
20566
20567 * view.el (view-exits-all-viewing-windows): Remove reference to
20568 view-return-to-alist in doc-string.
20569 (view-return-to-alist): Make obsolete.
20570 (view-buffer): Call pop-to-buffer-same-window and remove
20571 undo-window code.
20572 (view-buffer-other-window): Call pop-to-buffer-other-window and
20573 simplify code. Ignore second argument.
20574 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
20575 simplify code. Ignore second argument.
20576 (view-return-to-alist-update): Make obsolete.
20577 (view-mode-enter): Rename second argument to QUIT-RESTORE.
20578 Rewrite using quit-restore window parameters.
20579 (view-mode-exit): Rename second argument to EXIT-ONLY.
20580 Rewrite using quit-restore-window.
20581 (View-exit, View-exit-and-edit, View-leave, View-quit)
20582 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
20583 appropriate arguments.
20584 (view-end-message): Use quit-restore window parameter.
20585
20586 * window.el (display-buffer-function): Rewrite doc-string.
20587 (display-buffer-window, display-buffer-alist): New variables.
20588 (display-buffer-split-specifiers)
20589 (display-buffer-side-specifiers)
20590 (display-buffer-macro-specifiers): New constants.
20591 (display-buffer-even-window-sizes, display-buffer-set-height)
20592 (display-buffer-set-width, display-buffer-select-window)
20593 (display-buffer-in-window, display-buffer-reuse-window)
20594 (display-buffer-split-window-1, display-buffer-split-window)
20595 (display-buffer-split-atom-window, display-buffer-pop-up-window)
20596 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
20597 (display-buffer-in-side-window, normalize-buffer-to-display)
20598 (display-buffer-normalize-specifiers-1)
20599 (display-buffer-normalize-specifiers-2)
20600 (display-buffer-normalize-specifiers, display-buffer-frame):
20601 New functions.
20602 (display-buffer): Major rewrite.
20603 (display-buffer-other-window, display-buffer-other-frame)
20604 (pop-to-buffer, switch-to-buffer-other-window)
20605 (switch-to-buffer-other-frame): Rewrite.
20606 (display-buffer-same-window, display-buffer-same-frame)
20607 (display-buffer-same-frame-other-window)
20608 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20609 (pop-to-buffer-other-window)
20610 (pop-to-buffer-same-frame-other-window)
20611 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
20612 (switch-to-buffer-other-window-same-frame): New functions.
20613 (same-window-p, special-display-p): Rewrite disabling warnings.
20614 Make obsolete.
20615 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20616 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
20617 Make obsolete
20618 (same-window-buffer-names, same-window-regexps)
20619 (special-display-frame-alist, special-display-popup-frame)
20620 (special-display-function, special-display-buffer-names)
20621 (special-display-regexps, pop-up-frame-alist)
20622 (pop-up-frame-function, split-window-preferred-function)
20623 (split-height-threshold, split-width-threshold)
20624 (even-window-heights): Make obsolete.
20625
20626 2011-06-12 Glenn Morris <rgm@gnu.org>
20627
20628 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
20629 Misc simplifications.
20630
20631 2011-06-12 Martin Rudalics <rudalics@gmx.at>
20632
20633 * window.el (window-safely-shrinkable-p): Restore function which
20634 was inadvertently removed in change from 2011-06-11. Declare as
20635 obsolete.
20636
20637 * calendar/calendar.el (calendar-generate-window):
20638 Use window-iso-combined-p instead of combination of one-window-p and
20639 window-safely-shrinkable-p.
20640
20641 2011-06-12 Glenn Morris <rgm@gnu.org>
20642
20643 * progmodes/fortran.el (fortran-mode-syntax-table):
20644 * progmodes/f90.el (f90-mode-syntax-table):
20645 Set % to punctuation. (Bug#8820)
20646 (f90-find-tag-default): Remove, no longer needed.
20647
20648 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
20649
20650 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
20651
20652 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
20653
20654 * image.el (image-animated-p): Return animation delay in seconds.
20655 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
20656 (image-animate-timeout): Remove DELAY argument. Don't assume
20657 every subimage has the same delay; get it from image-animated-p.
20658 (image-animate): Caller changed.
20659
20660 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
20661
20662 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
20663 to ignored backtrace functions.
20664
20665 2011-06-11 Glenn Morris <rgm@gnu.org>
20666
20667 * calendar/appt.el (appt-disp-window-function): Doc fix.
20668 (appt-check): Handle overlapping appointments. (Bug#8337)
20669
20670 2011-06-11 Martin Rudalics <rudalics@gmx.at>
20671
20672 * window.el (window-tree-1, window-tree): New functions, moving
20673 the latter to window.el.
20674 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
20675 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
20676 (bw-refresh-edges): Remove.
20677 (balance-windows-1, balance-windows-2): New functions.
20678 (balance-windows): Rewrite in terms of window tree functions,
20679 balance-windows-1 and balance-windows-2.
20680 (bw-adjust-window): Remove.
20681 (balance-windows-area-adjust): New function with functionality of
20682 bw-adjust-window but using resize-window.
20683 (set-window-text-height): Rewrite doc-string.
20684 Use normalize-live-window and resize-window.
20685 (enlarge-window-horizontally, shrink-window-horizontally):
20686 Rename argument to DELTA.
20687 (window-buffer-height): New function.
20688 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
20689 Rewrite using new window resize routines.
20690 (kill-buffer-and-window, mouse-autoselect-window-select):
20691 Use ignore-errors instead of condition-case.
20692 (quit-window): Call delete-frame instead of delete-windows-on
20693 for the only buffer on frame.
20694
20695 2011-06-10 Martin Rudalics <rudalics@gmx.at>
20696
20697 * loadup.el (top-level): Load window before files for the sake
20698 of replace-buffer-in-windows.
20699
20700 * files.el (read-buffer-to-switch)
20701 (switch-to-buffer-other-window)
20702 (switch-to-buffer-other-frame, display-buffer-other-frame):
20703 Move to window.el.
20704
20705 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
20706 (previous-buffer): Move to window.el.
20707
20708 * bindings.el (unbury-buffer): Move to window.el.
20709
20710 * window.el (delete-other-windows-vertically): Move after
20711 definition of delete-other-windows.
20712 (other-window, delete-windows-on, replace-buffer-in-windows):
20713 Move here from window.c.
20714 (record-window-buffer, unrecord-window-buffer)
20715 (set-window-buffer-start-and-point, switch-to-prev-buffer)
20716 (switch-to-next-buffer): New functions.
20717 (get-next-valid-buffer, last-buffer, next-buffer): Move here
20718 from simple.el. Call switch-to-next-buffer.
20719 (previous-buffer): Move here from simple.el.
20720 Call switch-to-prev-buffer.
20721 (bury-buffer): Move here from buffer.c. Switch to previous
20722 buffer when window cannot be deleted.
20723 (unbury-buffer): Move here from bindings.el.
20724 (ctl-x-map): Move binding for other-window from window.c to
20725 here.
20726 (read-buffer-to-switch, switch-to-buffer-other-window)
20727 (switch-to-buffer-other-frame): Move here from files.el.
20728 (normalize-buffer-to-switch-to): New functions.
20729 (switch-to-buffer): Move here from buffer.c.
20730 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
20731
20732 2011-06-10 Martin Rudalics <rudalics@gmx.at>
20733
20734 * window.el (window-min-height, window-min-width): Move here
20735 from window.c. Add defcustoms and rewrite doc-strings.
20736 (resize-mini-window, resize-window): New functions.
20737 (adjust-window-trailing-edge, enlarge-window, shrink-window):
20738 Move here from window.c.
20739 (maximize-window, minimize-window): New functions.
20740 (delete-window, delete-other-windows, split-window): Move here
20741 from window.c.
20742 (window-split-min-size): New function.
20743 (split-window-keep-point): Mention split-window-above-each-other
20744 instead of split-window-vertically.
20745 (split-window-above-each-other, split-window-vertically):
20746 Rename split-window-vertically to split-window-above-each-other
20747 and provide defalias for old definition.
20748 (split-window-side-by-side, split-window-horizontally):
20749 Rename split-window-horizontally to split-window-side-by-side
20750 and provide defalias for the old definition.
20751 (ctl-x-map): Move bindings for delete-window,
20752 delete-other-windows and enlarge-window here from window.c.
20753 Replace bindings for split-window-vertically and
20754 split-window-horizontally by bindings for
20755 split-window-above-each-other and split-window-side-by-side.
20756
20757 * cus-start.el (all): Remove entries for window-min-height and
20758 window-min-width. Add entries for window-splits and
20759 window-nest.
20760
20761 2011-06-09 Glenn Morris <rgm@gnu.org>
20762
20763 * calendar/appt.el (appt-mode-line): New function.
20764 (appt-check, appt-disp-window): Use it.
20765
20766 * files.el (hack-one-local-variable-eval-safep):
20767 Allow minor-modes with explicit +/-1 arguments.
20768
20769 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
20770
20771 * term/xterm.el (xterm): Add defgroup.
20772 (xterm-extra-capabilities): Add defcustom to supply known xterm
20773 capabilities, skip querying them, or query them (default).
20774 (terminal-init-xterm): Use it.
20775 (terminal-init-xterm-modify-other-keys): New function to set up
20776 modifyOtherKeys support to simplify `terminal-init-xterm'.
20777
20778 2011-06-09 Martin Rudalics <rudalics@gmx.at>
20779
20780 * window.el (resize-window-reset, resize-window-reset-1)
20781 (resize-subwindows-skip-p, resize-subwindows-normal)
20782 (resize-subwindows, resize-other-windows, resize-this-window)
20783 (resize-root-window, resize-root-window-vertically)
20784 (window-deletable-p, window-or-subwindow-p)
20785 (frame-root-window-p): New functions.
20786
20787 2011-06-09 Glenn Morris <rgm@gnu.org>
20788
20789 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
20790 (ange-ftp-get-files): Use it.
20791
20792 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
20793
20794 * mail/sendmail.el (mail-recover-1, mail-recover):
20795 * files.el (recover-file, recover-session):
20796 Handle dired-listing-switches not being just a single short option.
20797
20798 2011-06-09 Glenn Morris <rgm@gnu.org>
20799
20800 * calendar/appt.el (appt-display-message, appt-disp-window):
20801 Handle lists of appointments.
20802
20803 2011-06-08 Martin Rudalics <rudalics@gmx.at>
20804
20805 * window.el (one-window-p): Move down in code.
20806 Rewrite doc-string.
20807 (window-current-scroll-bars): Rewrite doc-string.
20808 Normalize live window argument.
20809 (walk-windows, get-window-with-predicate, count-windows):
20810 Rewrite doc-string. Use window-list-1.
20811 (window-in-direction-2, window-in-direction, get-mru-window):
20812 New functions.
20813
20814 2011-06-08 Reuben Thomas <rrt@sc3d.org>
20815
20816 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
20817 Doc fix (Bug#8713).
20818
20819 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
20820
20821 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
20822
20823 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
20824
20825 * loadhist.el (unload-feature-special-hooks):
20826 Add `comint-output-filter-functions'.
20827
20828 2011-06-08 Ivan Kanis <gnu@kanis.fr>
20829
20830 * calendar/appt.el (appt-check): Move some initializations into the let.
20831
20832 2011-06-08 Martin Rudalics <rudalics@gmx.at>
20833
20834 * window.el (window-height): Defalias to window-total-height.
20835 (window-width): Defalias to window-body-width.
20836
20837 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
20838
20839 * image-mode.el (image-toggle-animation): New command.
20840 (image-mode-map): Bind it to RET.
20841 (image-mode): Update message.
20842 (image-toggle-display-image): Avoid a spurious cache flush.
20843 (image-transform-rotation): Doc fix.
20844 (image-transform-properties): Return quickly in the normal case.
20845 (image-animate-loop): Rename from image-animate-max-time.
20846
20847 * image.el (image-animate-max-time): Move to image-mode.el.
20848 (create-animated-image): Remove unnecessary function.
20849 (image-animate): Rename from image-animate-start. New arg.
20850 (image-animate-stop): Remove; just use image-animate-timer.
20851 (image-animate-timer): Use car-safe.
20852 (image-animate-timeout): Rename argument.
20853
20854 2011-06-07 Martin Rudalics <rudalics@gmx.at>
20855
20856 * window.el (get-lru-window, get-largest-window): Move here from
20857 window.c. Rename first argument to ALL-FRAMES.
20858 Rephrase doc-strings.
20859 (get-buffer-window-list): Rewrite using window-list-1.
20860 Rephrase doc-string.
20861 (window-safe-min-height, window-safe-min-width): New constants.
20862 (window-size-ignore, window-min-size, window-min-size-1)
20863 (window-sizable, window-sizable-p, window-size-fixed-1)
20864 (window-size-fixed-p, window-min-delta-1, window-min-delta)
20865 (window-max-delta-1, window-max-delta, window-resizable)
20866 (window-resizable-p, window-total-height, window-total-width)
20867 (window-body-width): New functions.
20868 (window-full-height-p, window-full-width-p): Rewrite using
20869 window-total-size.
20870 (window-body-height): Rewrite using window-body-size.
20871
20872 2011-06-06 Martin Rudalics <rudalics@gmx.at>
20873
20874 * window.el (window-right, window-left, window-child)
20875 (window-child-count, window-last-child, window-any-p)
20876 (normalize-live-buffer, normalize-live-frame)
20877 (normalize-any-window, normalize-live-window)
20878 (window-iso-combination-p, window-iso-combined-p)
20879 (window-iso-combinations)
20880 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
20881 (windows-with-parameter, window-with-parameter)
20882 (window-atom-root, make-window-atom, window-atom-check-1)
20883 (window-atom-check, window-side-check, window-check):
20884 New functions.
20885 (ignore-window-parameters, window-sides, window-sides-vertical)
20886 (window-sides-slots): New variables.
20887 (window-size-fixed): Move down in code. Minor doc-string fix.
20888
20889 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
20890
20891 * comint.el (comint-dynamic-complete-as-filename)
20892 (comint-dynamic-complete-filename): Correctly call
20893 completion-in-region.
20894
20895 2011-06-05 Deniz Dogan <deniz@dogan.se>
20896
20897 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
20898 in last change.
20899
20900 2011-06-05 Deniz Dogan <deniz@dogan.se>
20901
20902 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
20903 (rcirc): Use it to prompt for encryption.
20904
20905 2011-06-05 Roland Winkler <winkler@gnu.org>
20906
20907 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
20908 (bibtex-search-entries): New command bound to C-c C-a.
20909 (bibtex-display-entries): New function.
20910
20911 2011-06-05 Roland Winkler <winkler@gnu.org>
20912
20913 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
20914 (bibtex-insert-kill): After yanking insert newline if necessary.
20915 (bibtex-initialize): Call bibtex-string-files-init only once.
20916 (bibtex-mode): Do not call easy-menu-add.
20917 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
20918 (bibtex-yank): Set arg properly if nil.
20919
20920 2011-06-05 Roland Winkler <winkler@gnu.org>
20921
20922 * textmodes/bibtex.el (bibtex-search-entry-globally):
20923 New variable.
20924 (bibtex-search-entry): Use it.
20925
20926 2011-06-05 Roland Winkler <winkler@gnu.org>
20927
20928 * textmodes/bibtex.el (bibtex-entry-format): New option
20929 sort-fields.
20930 (bibtex-format-entry, bibtex-reformat): Honor this option.
20931 (bibtex-parse-entry): Return fields in proper order.
20932
20933 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
20934
20935 * doc-view.el (doc-view-remove-if): Move computation of result out
20936 of `dolist' to silence misleading lexical-binding warning.
20937
20938 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
20939
20940 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
20941 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
20942
20943 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
20944
20945 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
20946 "SunOS 5.10".
20947
20948 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
20949
20950 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
20951 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
20952 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
20953 (tramp-parse-putty):
20954 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
20955 (tramp-completion-function-alist-ssh)
20956 (tramp-completion-function-alist-telnet)
20957 (tramp-completion-function-alist-su)
20958 (tramp-completion-function-alist-putty): Set `tramp-autoload'
20959 cookie.
20960
20961 * net/tramp-ftp.el:
20962 * net/tramp-sh.el:
20963 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
20964 load "tramp.el" `tramp-set-completion-function'.
20965
20966 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
20967
20968 * shell.el: Require and use pcomplete.
20969 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
20970 (shell-completion-vars): Set pcomplete-default-completion-function.
20971
20972 2011-06-04 Deniz Dogan <deniz@dogan.se>
20973
20974 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
20975 `memq' (Bug#8799).
20976
20977 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20978
20979 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
20980
20981 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
20982
20983 * bs.el (bs--mark-unmark, bs--nth-wrapper):
20984 * mpc.el (mpc-select-extend, mpc-songpointer-context):
20985 * vc/log-view.el (log-view-beginning-of-defun):
20986 * vc/smerge-mode.el (smerge-apply-resolution-patch)
20987 (smerge-refine-forward, smerge-refine-chopup-region):
20988 Silence warning for unused `dotimes' counter variables.
20989
20990 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20991
20992 * net/tramp.el (tramp-with-progress-reporter): Rename from
20993 with-progress-reporter. Use `declare'.
20994 * net/tramp-smb.el:
20995 * net/tramp-sh.el:
20996 * net/tramp-gvfs.el: Update all uses.
20997
20998 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
20999
21000 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21001 buffer isn't killed before making it current.
21002
21003 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21004
21005 Silence various byte-compiler warnings.
21006 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21007 `access-type' and new obsolescence format.
21008 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21009 new format.
21010 (byte-compile-check-variable): New `access-type' argument.
21011 Only warn if the access-type is obsolete.
21012 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21013 (byte-compile-variable-set): Adjust callers.
21014 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21015 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21016 setting it as obsolete.
21017 * simple.el (minibuffer-completing-symbol):
21018 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21019 access as obsolete.
21020 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21021 obsolete yet.
21022 * international/quail.el (quail-mouse-choose-completion): Remove unused
21023 code referring to obsolete var.
21024 (quail-choose-completion-string): Remove.
21025 * server.el (server-clients-with, server-kill-buffer-query-function)
21026 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21027 * proced.el (proced-send-signal):
21028 * emacs-lisp/lisp.el (lisp-complete-symbol):
21029 Replace completion-annotate-function with completion-extra-properties.
21030
21031 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21032
21033 * simple.el (goto-line): Use read-number.
21034 (overriding-map-is-bound): Remove.
21035 (saved-overriding-map): Change default.
21036 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21037 Take the map as argument.
21038 (universal-argument, negative-argument, digit-argument): Use it.
21039 (restore-overriding-map): Adjust.
21040 (do-auto-fill): Use fill-forward-paragraph.
21041 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21042
21043 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21044 (minibuffer-inactive-mode): New major mode.
21045 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21046 the *Messages* buffer" hack.
21047 (mouse-popup-menubar): Don't burp if the event is a normal key.
21048
21049 Miscellaneous tweaks.
21050 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21051 lexical scoping as in subr.el's dolist and dotimes.
21052 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21053 Silence compiler warning.
21054 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21055 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21056 * international/ccl.el (ccl-compile): Trivial simplification.
21057 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21058 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21059 `printflag' argument.
21060 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21061 Purecopy the whole obsolescence data.
21062
21063 2011-06-01 Leo Liu <sdl.web@gmail.com>
21064
21065 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21066 improve doc-string as suggested by Marco Pessotto
21067 <melmothx@gmail.com>.
21068 (rcirc-print): Fix last change.
21069
21070 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21071
21072 * minibuffer.el (complete-with-action): Return nil for the metadata and
21073 boundaries of non-functional tables.
21074 (completion-table-dynamic): Return nil for the metadata.
21075 (completion-table-with-terminator): Add default case, using
21076 complete-with-action.
21077 (completion--metadata): New function.
21078 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21079 to try and avoid pathological performance problems.
21080 (completion--embedded-envvar-table): Return `category' metadata.
21081
21082 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21083
21084 * subr.el (process-alive-p): New tiny convenience function.
21085
21086 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21087
21088 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21089 content but also its previous major mode.
21090
21091 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
21092
21093 * emacs-lisp/debug.el (debug): Restore the previous content of the
21094 *Backtrace* buffer when we exit with C-M-c.
21095
21096 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21097
21098 * minibuffer.el: Add metadata method to completion tables.
21099 (completion-category-overrides): New defcustom.
21100 (completion-metadata, completion--field-metadata)
21101 (completion-metadata-get, completion--styles)
21102 (completion--cycle-threshold): New functions.
21103 (completion-try-completion, completion-all-completions):
21104 Add `metadata' argument to choose completion-styles.
21105 (completion--do-completion): Use metadata to choose cycling.
21106 (completion-all-sorted-completions): Use metadata for sorting.
21107 Remove :completion-cycle-penalty which is not needed any more.
21108 (completion--try-word-completion): Add `metadata' argument.
21109 (minibuffer-completion-help): Check metadata for annotation function
21110 and sorting.
21111 (completion-file-name-table): Return `category' metadata.
21112 (minibuffer-completing-file-name): Make obsolete.
21113 * simple.el (minibuffer-completing-symbol): Make obsolete.
21114 * icomplete.el (icomplete-completions): Pass new `metadata' param to
21115 completion-try-completion.
21116
21117 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21118
21119 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
21120
21121 2011-05-30 Leo Liu <sdl.web@gmail.com>
21122
21123 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
21124 (rcirc-print): Decode all incoming messages (bug#8744).
21125 (rcirc-decode-coding-system): Allow value nil for automatic coding
21126 system detection.
21127
21128 2011-06-01 Glenn Morris <rgm@gnu.org>
21129
21130 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21131
21132 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21133
21134 * image.el (image-animate-max-time): Allow nil and t values.
21135 Default to nil.
21136 (create-animated-image): Doc fix.
21137 (image-animate-start): Remove second arg; just use
21138 image-animate-max-time.
21139 (image-animate-timeout): Doc fix. Args changed.
21140
21141 * image-mode.el (image-toggle-display-image): Ensure that the
21142 image spec passed to the animate timer is the same object as in
21143 the buffer's display property (Bug#6981).
21144 (image-transform-properties): Doc fix.
21145
21146 * image.el (image-animate-max-time): Default to nil.
21147
21148 2011-05-29 Martin Rudalics <rudalics@gmx.at>
21149
21150 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21151 entire buffer list (Bug#8184).
21152
21153 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21154
21155 * image.el (imagemagick-types-inhibit)
21156 (imagemagick-register-types): Doc fix.
21157
21158 2011-05-29 Deniz Dogan <deniz@dogan.se>
21159
21160 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21161 default.
21162
21163 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21164
21165 * select.el: Don't perform clipboard-manager saving in hooks;
21166 leave the hooks empty.
21167
21168 2011-05-28 Leo Liu <sdl.web@gmail.com>
21169
21170 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21171 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21172 (occur-edit-mode): New major mode (Bug#8463).
21173 (occur-after-change-function): New function.
21174 (occur-engine): Give Occur tags a read-only property.
21175
21176 2011-05-28 Kevin Ryde <user42@zip.com.au>
21177
21178 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21179
21180 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21181
21182 * bindings.el (help-echo): Make the initial non-indicator dash
21183 empty on graphical terminals (Bug#7295).
21184
21185 * files.el (auto-mode-alist): Move config rule after the
21186 in-stripping one (Bug#8547).
21187
21188 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21189
21190 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21191 setting (Bug#8740).
21192
21193 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21194
21195 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21196 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21197 (Bug#8539).
21198
21199 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21200
21201 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21202
21203 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21204
21205 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21206 (hs-hide-block-at-point, hs-find-block-beginning)
21207 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21208 (Bug#8279).
21209
21210 2011-05-28 Glenn Morris <rgm@gnu.org>
21211
21212 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21213
21214 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21215
21216 * help-fns.el (describe-function-1): If the function is a derived
21217 major mode, print the parent mode.
21218
21219 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21220 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21221
21222 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21223
21224 * minibuffer.el (completion--capf-wrapper): Check applicability before
21225 returning non-nil for non-exclusive completion data.
21226 * progmodes/etags.el (tags-completion-at-point-function):
21227 * info-look.el (info-lookup-completions-at-point): Mark as
21228 non-exclusive.
21229 (info-complete): Adjust accordingly.
21230
21231 * info-look.el: Convert to lexical-binding and completion-at-point.
21232 (info-lookup-completions-at-point): New function.
21233 (info-complete): Use it and completion-in-region.
21234
21235 2011-05-28 Drew Adams <drew.adams@oracle.com>
21236
21237 * isearch.el: Let M-e start with point at the first mismatched char.
21238 (isearch-fail-pos): New function.
21239 (isearch-edit-string): Use it.
21240
21241 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21242
21243 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21244
21245 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
21246
21247 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21248 traversal functions for avl-trees.
21249 (avl-tree--stack): New struct.
21250 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21251 (avl-tree-enter): Add optional `updatefun' arg.
21252 (avl-tree--do-enter): Add optional `updatefun' arg.
21253 Change return value.
21254 (avl-tree-delete): Add optional `test' and `nilflag' args.
21255 (avl-tree--do-delete): Add `test' and `nilflag' args.
21256 Change return value.
21257 (avl-tree-member): Add optional `nilflag'
21258 (avl-tree-member-p): New function.
21259 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21260 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21261 (avl-tree-stack-empty-p): New functions.
21262
21263 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21264 avl-tree--del-balance1 and make it work both ways.
21265 (avl-tree--del-balance2): Remove.
21266 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21267 make it work both ways.
21268 (avl-tree--enter-balance2): Remove.
21269 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21270 New macros.
21271 (avl-tree--mapc, avl-tree-map): Add direction argument.
21272
21273 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
21274
21275 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21276
21277 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
21278
21279 * select.el: Support clipboard managers with built-in function
21280 x-clipboard-manager-save, via delete-frame-functions and
21281 kill-emacs-hook.
21282 (xselect-convert-to-targets): Add MULTIPLE target to list.
21283 (xselect-convert-to-save-targets): New function.
21284
21285 2011-05-27 Kenichi Handa <handa@m17n.org>
21286
21287 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21288 let-binding rfc2047-encode-encoded-words to nil.
21289
21290 2011-05-27 Glenn Morris <rgm@gnu.org>
21291
21292 * mail/emacsbug.el: Don't require url-util.
21293
21294 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21295
21296 * files.el (set-auto-mode):
21297 Also respect mode: entries at the end of the file. (Bug#8586)
21298
21299 2011-05-26 Glenn Morris <rgm@gnu.org>
21300
21301 * files.el (hack-local-variables-prop-line, hack-local-variables):
21302 Downcase mode names, as seems to be traditional.
21303 (hack-local-variables, hack-local-variables-apply): Doc fixes.
21304
21305 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21306 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21307
21308 2011-05-25 Julien Danjou <julien@danjou.info>
21309
21310 * textmodes/rst.el (rst-define-level-faces): Do not define face
21311 symbol if it is already defined.
21312
21313 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
21314
21315 * play/5x5.el (5x5-new-game, 5x5-randomize):
21316 Reset 5x5-solver-output to nil when a new grid is cast.
21317 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21318 these debugging traces, as defmacro breaks the compiled code.
21319
21320 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21321
21322 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21323
21324 2011-05-24 Leo Liu <sdl.web@gmail.com>
21325
21326 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21327 (vc-bzr-sha1): Adapt.
21328
21329 * sha1.el: Remove. Function `sha1' is now builtin.
21330
21331 * bindings.el: Provide sha1 feature.
21332
21333 2011-05-24 Kenichi Handa <handa@m17n.org>
21334
21335 * mail/sendmail.el: Require `rfc2047'.
21336 (mail-insert-from-field): Do not perform RFC2047 encoding.
21337 (mail-encode-header): New function.
21338 (sendmail-send-it): Set buffer-file-coding-system of the work
21339 buffer to the return value of select-message-coding-system.
21340 Call mail-encode-header.
21341
21342 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21343
21344 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
21345
21346 * mail/supercite.el (sc-default-cite-frame):
21347 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
21348
21349 2011-05-24 Glenn Morris <rgm@gnu.org>
21350
21351 * progmodes/python.el (brm-menu): Declare.
21352
21353 * emulation/viper.el (viper-set-hooks): Declare.
21354
21355 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
21356 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
21357 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
21358 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
21359 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
21360 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
21361
21362 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21363
21364 Add an :exit-function for completion-at-point.
21365
21366 * minibuffer.el (completion--done): New fun.
21367 (completion--do-completion): Use it. New arg `expect-exact'.
21368 (minibuffer-complete, minibuffer-complete-word): Don't output message,
21369 since completion--do-completion does it for us now.
21370 (minibuffer-force-complete): Use completion--done and
21371 completion--replace. Handle sole-completion case with more care.
21372 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
21373 (completion-extra-properties): New var.
21374 (completion-annotate-function): Make obsolete.
21375 (minibuffer-completion-help): Adjust accordingly.
21376 Use completion-list-insert-choice-function.
21377 (completion-at-point, completion-help-at-point):
21378 Bind completion-extra-properties.
21379 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
21380 * simple.el (completion-list-insert-choice-function): New var.
21381 (completion-setup-function): Preserve it.
21382 (choose-completion): Pay attention to it, shuffle the code a bit.
21383 (choose-completion-string): New arg `insert-function'.
21384
21385 * textmodes/bibtex.el: Convert to lexical binding.
21386 (bibtex-mode-map): Use completion-at-point.
21387 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
21388 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
21389 (bibtex-complete): Define as obsolete alias.
21390 (bibtex-complete-internal): Remove.
21391 (bibtex-format-entry): Remove unused sub-group in regexp.
21392 * shell.el (shell--command-completion-data)
21393 (shell-environment-variable-completion):
21394 * pcomplete.el (pcomplete-completions-at-point):
21395 * comint.el (comint--complete-file-name-data): Use :exit-function
21396 instead of completion-table-with-terminator so it also works for
21397 choose-completion.
21398
21399 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21400
21401 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
21402
21403 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
21404 (bug#8710).
21405
21406 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
21407
21408 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
21409
21410 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
21411 customization variable and implement: If non-nil, auto-fill will
21412 be inhibited while on topic's header line.
21413
21414 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
21415
21416 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
21417 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
21418 always have a solution in grid size = 5 cases.
21419 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
21420 (5x5-solver-output, 5x5-log-buffer): New vars.
21421 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
21422 Make these variables buffer local to achieve 5x5 multi-session-ness.
21423 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
21424 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
21425 (5x5-solve-suggest): New funs.
21426 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
21427 randomize a grid so that we ensure that there is always a solution.
21428 (5x5-make-random-grid): Allow other movement than flipping.
21429
21430 2011-05-23 Kevin Ryde <user42@zip.com.au>
21431
21432 * emacs-lisp/advice.el (ad-read-advised-function):
21433 Use `function-called-at-point' as the default, if it has
21434 advice and passes PREDICATE.
21435
21436 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21437
21438 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
21439 byte-compile-lambda if it's actually a lambda.
21440
21441 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
21442 Fix function quoting. Use backquote better.
21443
21444 2011-05-22 Yuanle Song <sylecn@gmail.com>
21445
21446 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
21447 matching (Bug#8516).
21448
21449 2011-05-22 Jari Aalto <jari.aalto@cante.net>
21450
21451 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
21452 different face (Bug#8178).
21453
21454 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
21455
21456 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
21457 defface (Bug#8144).
21458
21459 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
21460
21461 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
21462 funcall as well (bug#8712). Warn when performing those conversions.
21463 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
21464
21465 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
21466
21467 2011-05-22 Glenn Morris <rgm@gnu.org>
21468
21469 * files.el (hack-local-variables-prop-line): Small simplifications.
21470 (hack-local-variables, hack-local-variables-prop-line):
21471 If MODE-ONLY, return the mode, rather than just `t'.
21472
21473 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
21474
21475 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
21476
21477 2011-05-21 Glenn Morris <rgm@gnu.org>
21478
21479 * files.el (hack-local-variables-prop-line, hack-local-variables):
21480 If only interested in the mode, don't bother doing the other stuff.
21481
21482 * image-mode.el (image-after-revert-hook):
21483 Redraw all frames on which the image is visible. (Bug#8567)
21484
21485 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
21486
21487 * wid-edit.el (widget-checklist-match-inline):
21488 Fix 2011-04-19 change. (Bug#8649)
21489
21490 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
21491
21492 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
21493 Also allow singlespace after single-letter capitals followed by a dot.
21494
21495 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
21496 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
21497
21498 2011-05-20 Nix <nix@esperi.org.uk>
21499
21500 * files.el (basic-save-buffer-2):
21501 Fix handling of break-hardlink-on-save with non-existent files.
21502
21503 2011-05-19 Deniz Dogan <deniz@dogan.se>
21504
21505 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
21506 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
21507
21508 2011-05-19 Glenn Morris <rgm@gnu.org>
21509
21510 * progmodes/f90.el (f90-type-def-re):
21511 Handle "type, bind(c)". (Bug#8691)
21512
21513 * emacs-lisp/autoload.el (batch-update-autoloads):
21514 Set autoload-excludes by parsing loadup.el rather than Makefiles.
21515
21516 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
21517
21518 * net/tramp.el (tramp-process-actions): Set "first-password-request"
21519 property for the correct connection in case of multihops.
21520
21521 2011-05-18 Glenn Morris <rgm@gnu.org>
21522
21523 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
21524 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
21525
21526 Rationalize calendar handling of day and month abbrev-arrays.
21527 * calendar/calendar.el (calendar-customized-p): New function.
21528 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
21529 (calendar-day-name-array, calendar-month-name-array): Doc fix.
21530 Add :set function.
21531 (calendar-abbrev-length, calendar-day-abbrev-array)
21532 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
21533 (calendar-day-abbrev-array, calendar-month-abbrev-array):
21534 Elements may no longer be nil.
21535 (calendar-day-name, calendar-month-name):
21536 Update for changed nature of abbrev arrays.
21537 * calendar/diary-lib.el (diary-name-pattern):
21538 Update for changed nature of abbrev arrays.
21539 (diary-mark-entries-1): Update calendar-make-alist calls.
21540 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
21541 * calendar/cal-html.el (cal-html-day-abbrev-array):
21542 Simply inherit from calendar-day-abbrev-array.
21543
21544 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
21545
21546 * progmodes/grep.el (grep-mode): Disable default
21547 compilation-directory-matcher setting (bug#8684).
21548
21549 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
21550
21551 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
21552 instead of "head" and "tail". There were problems with SunOS 5.9,
21553 and it performs better.
21554
21555 2011-05-17 Glenn Morris <rgm@gnu.org>
21556
21557 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
21558
21559 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
21560 Replace obsolete function.
21561
21562 * shell.el (pcomplete-parse-arguments-function): Declare.
21563
21564 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
21565 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
21566 (appt-check): Doc fixes.
21567 (appt-disp-window-function, appt-delete-window-function):
21568 Remove needless special case in custom :type.
21569 (appt-display-count): Default to 0, not nil.
21570 (appt-check): Reset appt-display-count to 0, not nil.
21571
21572 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
21573
21574 * progmodes/python.el (python-font-lock-keywords):
21575 Add the Python 3.X keyword "nonlocal" (bug#8639).
21576
21577 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
21578
21579 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
21580
21581 2011-05-16 Kevin Ryde <user42@zip.com.au>
21582
21583 * info-look.el (makefile-automake-mode): New setups, looking in
21584 automake manual, then makefile-mode.
21585 (makefile-mode): Remove automake manual, have it just in
21586 makefile-automake-mode since there's various things different or
21587 not relevant to plain make.
21588 (makefile-mode): Remove "other-modes" non-existent automake-mode,
21589 believe a hypothetical automake-mode would go to makefile-mode,
21590 not the other way around.
21591
21592 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
21593
21594 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
21595 hunk-end tags (Bug#8672).
21596
21597 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
21598 vc-annotate-show-diff-revision-at-line (Bug#8671).
21599
21600 2011-05-14 Glenn Morris <rgm@gnu.org>
21601
21602 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
21603 in the middle of an existing one with multiple authors. (Bug#8645)
21604 (change-log-font-lock-keywords): Also handle multiple author lines
21605 with leading tabs. (Bug#8644)
21606
21607 * calendar/appt.el (appt-check): Rename some local variables.
21608 Some simplification/reordering.
21609
21610 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
21611 (feedmail-sendmail-f-doesnt-sell-me-out)
21612 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21613 (feedmail-debug-sit-for, feedmail-queue-express-hook)
21614 (feedmail-queue-runner-message-sender): Set :version.
21615 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
21616 (bbdb-dwim-net-address, vm-mail): Declare.
21617 (feedmail-binmail-gnulinuxish-template):
21618 Rename from feedmail-binmail-linuxish-template.
21619 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
21620 Use insert-buffer-substring.
21621
21622 2011-05-14 Bill Carpenter <bill@carpenter.org>
21623
21624 * mail/feedmail.el (feedmail-patch-level): Increase.
21625 (feedmail-debug): New custom group.
21626 (feedmail-confirm-outgoing-timeout)
21627 (feedmail-sendmail-f-doesnt-sell-me-out)
21628 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21629 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
21630 (feedmail-sender-line, feedmail-from-line)
21631 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
21632 (feedmail-spray-this-address)
21633 (feedmail-spray-address-fiddle-plex-list)
21634 (feedmail-queue-use-send-time-for-date)
21635 (feedmail-queue-use-send-time-for-message-id)
21636 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
21637 (feedmail-buffer-eating-function):
21638 Doc fixes.
21639 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
21640 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
21641 (feedmail-message-action-scroll-down): New functions.
21642 (feedmail-queue-directory, feedmail-queue-draft-directory):
21643 Use expand-file-name.
21644 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
21645 Remove C-v help entry.
21646 (feedmail-queue-buffer-file-name): New variable.
21647 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
21648 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
21649 (feedmail-message-action-send-strong, feedmail-message-action-edit)
21650 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
21651 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
21652 (feedmail-message-action-toggle-spray)
21653 (feedmail-run-the-queue-no-prompts)
21654 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
21655 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
21656 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
21657 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
21658 (feedmail-envelope-deducer, feedmail-fiddle-from)
21659 (feedmail-fiddle-sender, feedmail-default-date-generator)
21660 (feedmail-fiddle-date, feedmail-fiddle-message-id)
21661 (feedmail-fiddle-spray-address)
21662 (feedmail-fiddle-list-of-spray-fiddle-plexes)
21663 (feedmail-fiddle-list-of-fiddle-plexes)
21664 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
21665 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
21666 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
21667 Change default. Doc fix.
21668 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
21669 (feedmail-binmail-linuxish-template): New constant.
21670 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
21671 Respect feedmail-sendmail-f-doesnt-sell-me-out.
21672 (feedmail-send-it): Add debug call.
21673 Use feedmail-queue-buffer-file-name, and
21674 feedmail-send-it-immediately-wrapper.
21675 (feedmail-message-action-send): Add debug call.
21676 Use feedmail-send-it-immediately-wrapper.
21677 (feedmail-queue-express-to-queue): Add debug call.
21678 Run feedmail-queue-express-hook.
21679 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
21680 (feedmail-message-action-help-blat):
21681 Rename from feedmail-queue-send-edit-prompt-help-first.
21682 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
21683 Check line-endings. Handle errors better.
21684 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
21685 Doc fix. Add debug call.
21686 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
21687 Use feedmail-queue-send-edit-prompt-inner.
21688 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
21689 (feedmail-queue-send-edit-prompt-inner): New function, extracted
21690 from feedmail-queue-send-edit-prompt.
21691 (feedmail-queue-send-edit-prompt-help)
21692 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
21693 (feedmail-tidy-up-slug): Add debug call.
21694 Respect feedmail-queue-slug-suspect-regexp.
21695 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
21696 (feedmail-dump-message-to-queue): Add debug call.
21697 Expand queue-directory.
21698 (feedmail-dump-message-to-queue): Change message slightly.
21699 Use feedmail-say-chatter.
21700 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
21701 (feedmail-send-it-immediately-wrapper): New function.
21702 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
21703 Insert empty string rather than newline. Handle full-frame case.
21704 Use catch/throw. Use feedmail-say-chatter.
21705 (feedmail-fiddle-from): Try mail-host-address.
21706 (feedmail-default-message-id-generator): Doc fix.
21707 Bind system-time-locale. Handle missing end.
21708 (feedmail-fiddle-x-mailer): Add debug call.
21709 Handle feedmail-x-mailer-line being nil.
21710 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
21711 Add debug call. Use buffer-substring-no-properties.
21712 (feedmail-say-debug, feedmail-say-chatter): New functions.
21713 (feedmail-find-eoh): Give an explicit error.
21714
21715 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
21716
21717 * net/newst-treeview.el (newsticker-treeview-face): Change default
21718 family from helvetica to sans.
21719 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
21720 etc/images/newsticker.
21721
21722 * net/newst-reader.el (newsticker-feed-face): Change default
21723 family from helvetica to sans.
21724
21725 * net/newst-plainview.el (newsticker-new-item-face)
21726 (newsticker-old-item-face, newsticker-immortal-item-face)
21727 (newsticker-obsolete-item-face, newsticker-date-face)
21728 (newsticker-statistics-face): Change default family from
21729 helvetica to sans.
21730 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
21731 etc/images/newsticker.
21732
21733 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
21734 (newsticker--process-auto-mark-filter-match): Tell user about
21735 auto-marking.
21736
21737 2011-05-13 Didier Verna <didier@xemacs.org>
21738
21739 Common Lisp indentation improvements on defmethod and lambda-lists.
21740 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
21741 TODO entries.
21742 (lisp-lambda-list-keyword-parameter-indentation)
21743 (lisp-lambda-list-keyword-parameter-alignment)
21744 (lisp-lambda-list-keyword-alignment): New customizable user options.
21745 (lisp-indent-defun-method): Improve docstring.
21746 (extended-loop-p): Fix comment.
21747 (lisp-indent-lambda-list-keywords-regexp): New variable.
21748 (lisp-indent-lambda-list): New function.
21749 (lisp-indent-259): Use it.
21750 (lisp-indent-defmethod): Support for more than one
21751 method qualifier and properly indent methods lambda-lists.
21752 (defgeneric): Provide a missing common-lisp-indent-function property.
21753
21754 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
21755
21756 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
21757 bounds for the empty string (bug#8667).
21758
21759 2011-05-13 Glenn Morris <rgm@gnu.org>
21760
21761 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
21762
21763 * mail/sendmail.el (sendmail-program): Try executable-find first.
21764 (sendmail-send-it): `sendmail-program' cannot be unbound.
21765
21766 * calendar/appt.el (appt-make-list): Simplify.
21767 (appt-time-msg-list): Doc fix.
21768 (appt-check): Change mode-line message at the time of the appointment.
21769
21770 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
21771
21772 * progmodes/ld-script.el (ld-script-keywords)
21773 (ld-script-builtins): Update keywords list.
21774
21775 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21776
21777 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
21778
21779 * shell.el (shell-completion-vars): New function.
21780 (shell-mode):
21781 * simple.el (read-shell-command): Use it.
21782 (blink-matching-open): No need for " [...]" in minibuffer-message.
21783
21784 2011-05-12 Glenn Morris <rgm@gnu.org>
21785
21786 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
21787 (appt-check): Simplify.
21788
21789 2011-05-12 Eli Zaretskii <eliz@gnu.org>
21790
21791 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
21792 literal "/dev/null".
21793
21794 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21795
21796 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
21797 Fix typo.
21798
21799 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
21800
21801 * progmodes/which-func.el (which-function):
21802 Use add-log-current-defun instead of add-log-current-defun-function,
21803 which might not be defined (Bug#8260).
21804
21805 2011-05-12 Glenn Morris <rgm@gnu.org>
21806
21807 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
21808 Let byte-compile-initial-macro-environment always take precedence.
21809
21810 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21811
21812 * net/rcirc.el: Add support for SSL/TLS connections.
21813 (rcirc-server-alist): New field `encryption'.
21814 (rcirc): Check `encryption' settings.
21815 (rcirc-connect): New arg `encryption'. Use open-network-stream.
21816 Merge make-local-variable into `set'.
21817 (rcirc--connection-open-p): New function.
21818 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
21819 the process is not a network process (e.g. running gnutls-cli).
21820 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
21821 Make rcirc-(en|de)code-coding-system local here.
21822 (rcirc-mode): Merge make-local-variable into `set'.
21823 (rcirc-parent-buffer): Make permanent buffer-local.
21824 (rcirc-multiline-minor-mode): Don't do it here.
21825 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
21826 there's no server buffer.
21827
21828 2011-05-11 Glenn Morris <rgm@gnu.org>
21829
21830 * newcomment.el (comment-kill): Prefix "unused" local.
21831
21832 * term/w32console.el (get-screen-color): Declare.
21833
21834 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
21835 Handle symbol elements of byte-compile-initial-macro-environment.
21836
21837 2011-05-10 Leo Liu <sdl.web@gmail.com>
21838
21839 * bookmark.el (bookmark-bmenu-mode-map):
21840 Bind bookmark-bmenu-search to `/'.
21841
21842 * mail/footnote.el: Convert to utf-8 encoding.
21843 (footnote-unicode-string, footnote-unicode-regexp): New variable.
21844 (Footnote-unicode): New function.
21845 (footnote-style-alist): Add unicode style to the list.
21846 (footnote-style): Doc fix.
21847
21848 2011-05-10 Jim Meyering <meyering@redhat.com>
21849
21850 Fix doubled-word typos.
21851 * international/quail.el (quail-insert-kbd-layout): and and -> and
21852 * kermit.el: and and -> and
21853 * net/ldap.el (ldap-search-internal): to to -> to
21854 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
21855 * progmodes/js.el (js-mode): and and -> and
21856 * textmodes/artist.el (artist-move-to-xy): at at -> at
21857 (artist-draw-region-trim-line-endings): if if -> if
21858 And Safetyc -> Safety.
21859 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
21860
21861 2011-05-10 Glenn Morris <rgm@gnu.org>
21862 Stefan Monnier <monnier@iro.umontreal.ca>
21863
21864 * files.el (hack-one-local-variable-eval-safep):
21865 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
21866
21867 2011-05-10 Glenn Morris <rgm@gnu.org>
21868
21869 * calendar/diary-lib.el (diary-list-entries-hook)
21870 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
21871 (diary-nongregorian-marking-hook, diary-list-entries)
21872 (diary-include-other-diary-files, diary-mark-entries)
21873 (diary-mark-included-diary-files): Doc fixes.
21874
21875 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
21876
21877 * misc.el: Require tabulated-list.el during compilation.
21878
21879 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
21880
21881 * progmodes/compile.el (compilation-start):
21882 Run compilation-filter-hook for the async case too.
21883 (compilation-filter-hook): Doc fix.
21884
21885 2011-05-09 Deniz Dogan <deniz@dogan.se>
21886
21887 * wdired.el: Remove outdated installation comment. Fix usage
21888 comment.
21889
21890 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
21891
21892 * misc.el: Implement new command `list-dynamic-libraries'.
21893 (list-dynamic-libraries--loaded-only-p): New variable.
21894 (list-dynamic-libraries--refresh): New function.
21895 (list-dynamic-libraries): New command.
21896
21897 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
21898
21899 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21900 Fix the ant regexp to handle end-line and end-column info from jikes.
21901 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
21902 higher priority to avoid clobbering by gnu.
21903
21904 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
21905
21906 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
21907 if the face has existing theme settings (Bug#8454).
21908
21909 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
21910
21911 * progmodes/perl-mode.el (perl-imenu-generic-expression):
21912 Only match variables declared via `my' or `our' (Bug#8261).
21913
21914 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
21915 special file names `.' and `..' (Bug#8259).
21916
21917 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
21918
21919 * progmodes/grep.el (grep-mode-font-lock-keywords):
21920 Remove buffer-changing entries.
21921 (grep-filter): New function.
21922 (grep-mode): Add it to compilation-filter-hook.
21923
21924 * progmodes/compile.el (compilation-filter-hook)
21925 (compilation-filter-start): New defvars.
21926 (compilation-filter): Call compilation-filter-hook prior to
21927 updating the process mark.
21928
21929 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
21930
21931 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
21932
21933 2011-05-07 Eli Zaretskii <eliz@gnu.org>
21934
21935 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
21936 mailclient-send-it even if window-system is nil. (Bug#8595)
21937
21938 * term/w32console.el (terminal-init-w32console):
21939 Call get-screen-color and use its output to set the frame
21940 background-mode. (Bug#8597)
21941
21942 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
21943
21944 Make bytecomp.el understand that defmethod defines funs (bug#8631).
21945 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
21946 New functions.
21947 (defgeneric, eieio--defmethod): Use them.
21948 (eieio-defgeneric): Remove.
21949 (defmethod): Call defgeneric in a way visible to the byte-compiler.
21950
21951 2011-05-07 Glenn Morris <rgm@gnu.org>
21952
21953 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
21954 Use let rather than let*.
21955 (timeclock-find-discrep): Remove unused local.
21956
21957 * calendar/diary-lib.el (diary-comment-start): Doc fix.
21958
21959 * calendar/appt.el (appt-time-msg-list): Doc fix.
21960
21961 2011-05-06 Noah Friedman <friedman@splode.com>
21962
21963 * apropos.el (apropos-print-doc): Only use
21964 emacs-lisp-docstring-fill-column when it is bound to an integer,
21965 per that variable's documentation.
21966
21967 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
21968
21969 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
21970 and warnings are not silently discarded (e.g. use -d instead of -P).
21971
21972 2011-05-06 Glenn Morris <rgm@gnu.org>
21973
21974 * calendar/appt.el (appt-message-warning-time): Doc fix.
21975 (appt-warning-time-regexp): New option.
21976 (appt-make-list): Respect appt-message-warning-time.
21977
21978 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
21979 New options.
21980 (diary-add-to-list): Strip comments from the displayed string.
21981 (diary-mode): Set comment-start and comment-end.
21982
21983 * vc/diff-mode.el (smerge-refine-subst): Declare.
21984 (diff-refine-hunk): Don't require smerge-mode when compiling.
21985
21986 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
21987
21988 * simple.el (list-processes): Return nil as the docstring says.
21989
21990 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
21991
21992 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
21993 to "".
21994 (ange-ftp-write-region, ange-ftp-insert-file-contents)
21995 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
21996 determining of binary transfer. (Bug#7383)
21997
21998 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
21999
22000 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22001 Fix port computation bug. (Bug#8618)
22002
22003 2011-05-05 Glenn Morris <rgm@gnu.org>
22004
22005 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22006
22007 * simple.el (shell-dynamic-complete-functions)
22008 (comint-dynamic-complete-functions): Declare.
22009
22010 * net/network-stream.el (gnutls-negotiate):
22011 * simple.el (tabulated-list-print): Fix declarations.
22012
22013 * progmodes/gud.el (syntax-symbol, syntax-point):
22014 Remove unnecessary and incorrect declarations.
22015
22016 * emacs-lisp/check-declare.el (check-declare-scan):
22017 Handle byte-compile-initial-macro-environment in bytecomp.el.
22018
22019 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22020
22021 Fix earlier half-done eieio-defmethod change (bug#8338).
22022 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22023 Streamline and change calling convention.
22024 (defmethod): Adjust accordingly and simplify.
22025 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22026 new eieio--defmethod.
22027 (slot-boundp): Minor CSE simplification.
22028
22029 2011-05-05 Milan Zamazal <pdm@zamazal.org>
22030
22031 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22032 (glasses-make-readable): Use glasses-separate-capital-groups.
22033
22034 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
22035
22036 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22037 (warning-series): Doc fix.
22038 (display-warning): Don't try to create the buffer if we just found it.
22039
22040 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
22041
22042 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22043 (autoload-find-generated-file): New function.
22044 (generate-file-autoloads): Bind generated-autoload-file to
22045 buffer-file-name.
22046 (update-file-autoloads, update-directory-autoloads):
22047 Use autoload-find-generated-file. If called interactively, prompt for
22048 output file (Bug#7989).
22049 (batch-update-autoloads): Doc fix.
22050
22051 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
22052
22053 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22054
22055 2011-05-04 Glenn Morris <rgm@gnu.org>
22056
22057 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22058 function, so it follows changes in calendar-date-style.
22059 (diary-fancy-date-matcher): New function.
22060 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22061 (diary-fancy-font-lock-fontify-region-function):
22062 Use diary-fancy-date-pattern as a function.
22063
22064 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22065 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22066
22067 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22068
22069 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22070 instead of positional arguments. Allow :keylist and :crlfiles
22071 arguments.
22072 (open-gnutls-stream): Call it.
22073
22074 * net/network-stream.el (network-stream-open-starttls): Adjust to
22075 call `gnutls-negotiate' with :process and :hostname arguments.
22076
22077 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22078
22079 * minibuffer.el (completion--message): New function.
22080 (completion--do-completion, minibuffer-complete)
22081 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22082 (completion--do-completion): Don't ignore completion-auto-help when in
22083 icomplete-mode.
22084
22085 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22086 internal encoding (e.g. tibetan zero is not whitespace).
22087 (global-whitespace-mode): Prefer save-current-buffer.
22088 (whitespace-trailing-regexp): Remove useless save-match-data.
22089 (whitespace-empty-at-bob-regexp): Minor simplification.
22090
22091 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
22092
22093 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22094
22095 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22096
22097 * textmodes/ispell.el (ispell-add-per-file-word-list):
22098 Use `concat' to create string for insertion.
22099
22100 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22101
22102 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22103 Avoid open-line which runs post-self-insert-hook.
22104 (bibtex-fill-entry): Remove unused `end' var.
22105
22106 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22107
22108 * textmodes/ispell.el (ispell-add-per-file-word-list):
22109 Protect against `nil' value of `comment-start' (Bug#8579).
22110
22111 2011-05-03 Leo Liu <sdl.web@gmail.com>
22112
22113 * isearch.el (isearch-yank-pop): New command.
22114 (isearch-mode-map): Bind it to `M-y'.
22115 (isearch-forward): Mention it.
22116
22117 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22118
22119 * simple.el (minibuffer-complete-shell-command): Remove.
22120 (minibuffer-local-shell-command-map): Use completion-at-point.
22121 (read-shell-command): Setup completion vars here instead.
22122 (read-expression-map): Bind TAB to symbol completion.
22123
22124 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
22125 error directly rather via storing it into `results'.
22126
22127 2011-05-02 Leo Liu <sdl.web@gmail.com>
22128
22129 * vc/diff.el: Fix description.
22130
22131 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22132
22133 * server.el (server-eval-at): New function.
22134
22135 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22136
22137 * net/network-stream.el (open-network-stream): Take a :nowait
22138 parameter and pass it on to `make-network-process'.
22139 (network-stream-open-plain): Ditto.
22140
22141 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
22142
22143 * faces.el (face-spec-set-match-display): Don't match toolkit
22144 options on terminal frames.
22145
22146 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22147
22148 * progmodes/pascal.el: Use lexical binding.
22149 (pascal-mode-map): Remove author preferences.
22150
22151 * pcomplete.el (pcomplete-std-complete): Don't abuse
22152 completion-at-point.
22153
22154 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22155
22156 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22157 removing code that has been dead since 1991 or so.
22158
22159 * startup.el (command-line): When warning about "_emacs", use a
22160 delayed warning to allow the user to filter it out.
22161
22162 2011-04-28 Deniz Dogan <deniz@dogan.se>
22163
22164 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22165 user has not joined.
22166
22167 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22168
22169 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22170 aren't any completions at point.
22171
22172 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22173
22174 * subr.el (display-delayed-warnings): New function.
22175 (delayed-warnings-hook): New variable.
22176
22177 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22178
22179 * minibuffer.el (completion-at-point, completion-help-at-point):
22180 Don't presume that a given completion-at-point-function will always
22181 use the same calling convention.
22182
22183 * pcomplete.el (pcomplete-completions-at-point):
22184 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22185 pcomplete-seen is non-nil.
22186 (pcomplete-comint-setup): Also recognize the new comint/shell
22187 completion functions.
22188 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22189 pcomplete-seen is non-nil.
22190
22191 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
22192
22193 * calendar/icalendar.el (diary-lib): Add require statement.
22194 (icalendar--create-uid): Read out a uid from a text-property on
22195 the first character in the entry. This allows for code to add its
22196 own uid to the entry.
22197 (icalendar--convert-float-to-ical): Add export of
22198 `diary-float'-entries save for those with the optional DAY
22199 argument.
22200
22201 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22202
22203 * subr.el (shell-quote-argument): Use alternate escaping strategy
22204 when we spot a variable reference in a string.
22205
22206 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22207
22208 * cus-start.el (all): Define customization for debug-on-event.
22209
22210 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22211
22212 * subr.el (shell-quote-argument): Escape correctly under Windows.
22213
22214 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22215
22216 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22217
22218 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
22219
22220 * net/tramp.el (tramp-process-actions): Add POS argument.
22221 Delete region between POS and (pos).
22222
22223 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22224 Use `nil' position in `tramp-process-actions' call.
22225 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22226
22227 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22228 position in `tramp-process-actions' call.
22229
22230 * net/trampver.el: Update release number.
22231
22232 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22233
22234 * custom.el (defcustom): Obey lexical-binding.
22235
22236 Fix octave-inf completion problems reported by Alexander Klimov.
22237 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22238 Inherit from octave-mode-syntax-table.
22239 (inferior-octave-mode): Set info-lookup-mode.
22240 (inferior-octave-completion-at-point): New function.
22241 (inferior-octave-complete): Use it and completion-in-region.
22242 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22243 comint-filename-completion.
22244 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22245 symbol elements which shouldn't be word elements.
22246 (octave-font-lock-keywords, octave-beginning-of-defun)
22247 (octave-function-header-regexp): Adjust regexps accordingly.
22248 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22249
22250 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
22251
22252 * net/gnutls.el (gnutls-errorp): Declare before first use.
22253
22254 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22255
22256 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22257 verify-error, and verify-hostname-error parameters. Check whether
22258 default trustfile exists before going to use it. Add missing
22259 argument to gnutls-message-maybe call. Return value.
22260 Reported by Claudio Bley <claudio.bley@gmail.com>.
22261 (open-gnutls-stream): Add usage example.
22262
22263 * net/network-stream.el (network-stream-open-starttls): Give host
22264 parameter to `gnutls-negotiate'.
22265 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
22266 * subr.el (shell-quote-argument): Escape correctly under Windows.
22267
22268 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
22269
22270 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22271 Use correct match group (bug#8438).
22272
22273 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22274
22275 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22276 (package-menu--generate): New arg specifying packages to show.
22277 (package-menu-refresh, package-menu-execute, list-packages):
22278 Callers changed.
22279 (package-show-package-list): New function, replacing deleted
22280 package--list-packages (renamed because it is non-internal).
22281
22282 * finder.el (finder-list-matches): Use package-show-package-list
22283 instead of deleted package--list-packages.
22284
22285 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22286 Based on a previous implementation by Juanma Barranquero (Bug#8366).
22287 (vc-annotate-mode-map): Bind it to RET.
22288
22289 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22290
22291 * progmodes/etags.el (next-file): Don't use set-buffer to change
22292 buffers (Bug#8478).
22293
22294 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22295
22296 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22297
22298 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22299 (apropos-accumulator): Doc fix.
22300 (apropos-function, apropos-macro, apropos-command)
22301 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22302 (apropos-plist): Add face property.
22303 (apropos-symbols-internal): Fix indentation.
22304 (apropos-print): Simplify help, and recognize apropos-multi-type.
22305 (apropos-print-doc): Use button-type-get to extract the button's
22306 face property. Fill docstring (Bug#8352).
22307
22308 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
22309
22310 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22311
22312 * play/mpuz.el (mpuz-silent): Doc fix.
22313 (mpuz-mode-map): Use mapc.
22314 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22315 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22316 Fix typos in docstrings.
22317
22318 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22319 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22320
22321 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22322
22323 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
22324
22325 * minibuffer.el (completion--do-completion): Avoid the "Next char
22326 not unique" prompt if icomplete-mode is enabled (Bug#5849).
22327
22328 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22329 mouse-2 into unread-command-events, it is interpreted correctly.
22330
22331 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
22332 (image-toggle-display): Doc fix.
22333
22334 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
22335
22336 * textmodes/page.el (what-page): Use line-number-at-pos to
22337 calculate line number (Bug#6825).
22338
22339 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22340
22341 * eshell/esh-mode.el (find-tag-interactive): Declare function.
22342 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22343 Pass argument NO-DEFAULT to `find-tag-interactive'.
22344
22345 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22346
22347 Lexical-binding cleanup.
22348
22349 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22350 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22351 * progmodes/ada-prj.el (ada-prj-initialize-values)
22352 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22353 (ada-prj-show-value):
22354 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
22355 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
22356 (antlr-invalidate-context-cache, antlr-options-menu-filter)
22357 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
22358 * progmodes/bug-reference.el (bug-reference-push-button):
22359 * progmodes/fortran.el (fortran-line-length):
22360 * progmodes/glasses.el (glasses-change):
22361 * progmodes/octave-mod.el (octave-fill-paragraph):
22362 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
22363 (python-pdbtrack-grub-for-buffer, python-sentinel):
22364 * progmodes/sql.el (sql-save-connection):
22365 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
22366 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
22367 Mark unused parameters.
22368
22369 * progmodes/compile.el (compilation--flush-directory-cache)
22370 (compilation--flush-parse, compile-internal): Mark unused parameters.
22371 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
22372 (compilation-next-error-function): Remove unused variable `timestamp'.
22373
22374 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
22375 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
22376
22377 * progmodes/dcl-mode.el (dcl-end-of-command):
22378 Remove unused variable `start'.
22379 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
22380 (dcl-option-value-basic, dcl-option-value-offset)
22381 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
22382 Mark unused parameters.
22383 (dcl-save-local-variable): Remove unused variable `val'.
22384 (mode): Declare.
22385
22386 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
22387 Mark unused parameters.
22388 (delphi-ignore-changes): Move before first use.
22389 (delphi-charset-token-at): Remove unused variable `start'.
22390 (delphi-else-start): Remove unused variable `if-count'.
22391 (delphi-comment-block-start, delphi-comment-block-end):
22392 Remove unused variable `kind'.
22393 (delphi-indent-line): Remove unused variable `new-point'.
22394
22395 * progmodes/ebrowse.el (ebrowse-files-list)
22396 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
22397 Mark unused parameters. Don't quote `lambda'.
22398 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
22399 Don't quote `lambda'.
22400 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
22401 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
22402 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
22403 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
22404 Use `ignore-errors'.
22405 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
22406 (ebrowse-view/find-file-and-search-pattern)
22407 (ebrowse-view/find-member-declaration/definition):
22408 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
22409 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
22410 Rename parameter PREFIX-ARG to PREFIX.
22411 (ebrowse-tags-read-name): Remove unused variables `start' and
22412 `member-info'.
22413 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
22414 to `tags-file'.
22415
22416 * progmodes/etags.el (local-find-tag-hook): Declare.
22417 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
22418 Mark unused parameters.
22419
22420 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
22421 (executable-interpret): Mark unused parameter.
22422
22423 * progmodes/flymake.el (flymake-process-sentinel)
22424 (flymake-after-change-function)
22425 (flymake-create-temp-with-folder-structure)
22426 (flymake-get-include-dirs-dot): Mark unused parameters.
22427 (flymake-safe-delete-directory): Remove unused variable `err'.
22428
22429 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
22430 (speedbar-timer-fn, speedbar-line-text)
22431 (speedbar-change-expand-button-char, speedbar-delete-subblock)
22432 (speedbar-center-buffer-smartly): Declare functions.
22433 (gdb-find-watch-expression): Remove unused variable `array'.
22434 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
22435 (gdb-starting): Mark unused parameters.
22436 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
22437 (gdb-table-string): Remove unused variable `res'.
22438 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
22439 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
22440 (gdb-display-buffer): Remove unused variable `cur-size'.
22441
22442 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
22443 allow lexical-binding compilation.
22444 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
22445 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
22446 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
22447 Mark unused parameters.
22448 (gud-gdb-marker-filter): Remove unused variable `match'.
22449 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
22450 lambda expressions and funcall them, instead of using `fset'.
22451
22452 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
22453 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
22454
22455 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
22456 variable `header-beg'; use `let'.
22457
22458 * progmodes/icon.el (indent-icon-exp): Remove unused variables
22459 `restart', `last-sexp' and `at-do'.
22460
22461 * progmodes/js.el (js--debug): Mark unused parameter.
22462 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
22463 (js--splice-into-items): Remove unused variable `item'.
22464 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
22465
22466 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
22467 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
22468 (makefile-complete): Remove unused variable `try'.
22469 (makefile-fill-paragraph, makefile-match-function-end):
22470 Mark unused parameters.
22471
22472 * progmodes/octave-inf.el (inferior-octave-complete):
22473 Remove unused variable `proc'.
22474 (inferior-octave-output-digest): Mark unused parameter.
22475
22476 * progmodes/perl-mode.el (perl-calculate-indent):
22477 Remove unused variable `err'.
22478
22479 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
22480 (prolog-indent-line): Mark unused parameters.
22481 (prolog-indent-line): Remove unused variable `beg'.
22482
22483 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
22484 (reporter-dont-compact-list): Declare.
22485
22486 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
22487 Remove unused variable `char'.
22488 (sh-debug): Mark unused parameter.
22489 (sh-get-indent-info): Remove unused variable `start'.
22490 (sh-calculate-indent): Remove unused variable `var'.
22491
22492 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
22493 (simula-electric-keyword): Remove unused variable `null'.
22494 (simula-search-backward, simula-search-forward): Remove unused
22495 variables `begin' and `end'.
22496
22497 * progmodes/vera-mode.el (vera-guess-basic-syntax):
22498 Remove unused variable `pos'.
22499 (vera-electric-tab, vera-comment-uncomment-region):
22500 Mark unused parameters.
22501 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
22502
22503 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
22504
22505 * emacs-lisp/package.el (package--builtins, package-alist)
22506 (package-load-descriptor, package-built-in-p, package-activate)
22507 (define-package, package-installed-p)
22508 (package-compute-transaction, package-buffer-info)
22509 (package--push): Doc fix. Distinguish more clearly between
22510 version strings and version lists.
22511
22512 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
22513
22514 Lexical-binding cleanup.
22515
22516 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
22517 (5x5-make-mutate-best):
22518 * play/fortune.el (fortune-in-buffer):
22519 * play/gomoku.el (gomoku-init-display):
22520 * play/solitaire.el (solitaire, solitaire-do-check):
22521 * play/tetris.el (tetris-default-update-speed-function):
22522 Mark unused parameters.
22523
22524 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
22525 (bubbles--shift): Remove unused variable `char-org'.
22526 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
22527 (bubbles--show-images): Remove unused variable `char'.
22528
22529 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
22530 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
22531 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
22532 (decipher-analyze-buffer): Use ?\s.
22533 (decipher-make-checkpoint): Remove unused variable `mapping'.
22534
22535 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
22536
22537 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
22538 Remove unused variable `result'; use `let'.
22539
22540 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
22541 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
22542 (gametree-children-shown-p, gametree-compute-reduced-score):
22543 Use `ignore-errors'.
22544
22545 * play/handwrite.el (ps-lpr-switches): Declare.
22546 (handwrite): Remove unused variables `pmin' and `lastp'.
22547
22548 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
22549
22550 * play/landmark.el (landmark-init-display)
22551 (landmark-update-naught-weights): Mark unused parameters.
22552 (landmark-y): Remove unused variable `noise'. Simplify.
22553 (landmark-human-plays): Remove unused variable `score'.
22554
22555 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
22556 (mpuz-try-proposal): Remove unused variable `game'.
22557
22558 * play/zone.el (life-patterns): Declare.
22559
22560 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
22561
22562 * vc/vc.el (ediff-vc-internal): Declare function.
22563
22564 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22565
22566 * shell.el: Use lexical-binding and std completion UI.
22567 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
22568 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
22569 comint-preoutput-filter-functions rather than on
22570 comint-output-filter-functions.
22571 (shell-command-completion, shell--command-completion-data)
22572 (shell-filename-completion, shell-environment-variable-completion)
22573 (shell-c-a-p-replace-by-expanded-directory): New functions.
22574 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
22575 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
22576 (shell-dynamic-complete-environment-variable): Use them.
22577 (shell-dynamic-complete-as-environment-variable)
22578 (shell-dynamic-complete-as-command): Remove.
22579 (shell-match-partial-variable): Match past point.
22580 * comint.el: Clean up use of completion-at-point-functions.
22581 (comint-completion-at-point): New function.
22582 (comint-mode): Use it completion-at-point-functions.
22583 (comint-dynamic-complete): Make it obsolete.
22584 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
22585 (comint-c-a-p-replace-by-expanded-history): New function.
22586 (comint-dynamic-complete-functions)
22587 (comint-replace-by-expanded-history): Use it.
22588 * minibuffer.el (completion-table-with-terminator): Allow dynamic
22589 termination strings. Try harder to avoid second try-completion.
22590 (completion-in-region-mode-map): Disable bindings that don't work yet.
22591
22592 * comint.el: Use lexical-binding. Require CL.
22593 (comint-dynamic-complete-functions): Use comint-filename-completion.
22594 (comint-completion-addsuffix): Tweak custom type.
22595 (comint-filename-completion, comint--common-suffix)
22596 (comint--common-quoted-suffix, comint--table-subvert)
22597 (comint--complete-file-name-data): New functions.
22598 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
22599 (comint-dynamic-list-filename-completions): Use them.
22600 (comint-dynamic-simple-complete): Make obsolete.
22601
22602 * minibuffer.el (completion-in-region-mode):
22603 Keep completion-in-region-mode--predicate global.
22604 (completion-in-region--postch):
22605 Assume completion-in-region-mode--predicate is not null.
22606
22607 * progmodes/flymake.el (flymake-start-syntax-check-process):
22608 Obey `dir'. Simplify.
22609
22610 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
22611 we're in VC after all.
22612
22613 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
22614
22615 * vc/vc.el (vc-diff-build-argument-list-internal)
22616 (vc-version-ediff, vc-ediff): New commands.
22617 (vc-version-diff): Use vc-diff-build-argument-list-internal.
22618
22619 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22620
22621 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
22622 add sanity check.
22623
22624 * obsolete/erc-hecomplete.el: Make obsolete.
22625 * obsolete/: Standardize obsolescence info in the header.
22626
22627 2011-04-20 Glenn Morris <rgm@gnu.org>
22628
22629 * calendar/solar.el (solar-horizontal-coordinates):
22630 Use the longitude argument rather than `calendar-longitude'.
22631 (solar-date-next-longitude): Remove unused locals.
22632
22633 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
22634
22635 * whitespace.el: New version 13.2.1.
22636
22637 2011-04-20 felix <EmacsWiki> (tiny change)
22638
22639 * whitespace.el (global-whitespace-mode): Keep highlight when
22640 switching between major modes on a file.
22641
22642 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
22643
22644 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
22645 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
22646 multi-line comments as well.
22647
22648 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
22649
22650 Lexical-binding cleanup.
22651
22652 * arc-mode.el (archive-mode-revert):
22653 * cmuscheme.el (scheme-interactively-start-process):
22654 * custom.el (custom-initialize-delay):
22655 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
22656 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
22657 * emacs-lock.el (emacs-lock-clear-sentinel):
22658 * ezimage.el (defezimage):
22659 * follow.el (follow-avoid-tail-recenter):
22660 * fringe.el (set-fringe-mode-1):
22661 * generic-x.el (bat-generic-mode-compile):
22662 * help-mode.el (help-info-variable, help-do-xref)
22663 (help-mode-revert-buffer):
22664 * help.el (view-emacs-todo):
22665 * iswitchb.el (iswitchb-completion-help):
22666 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
22667 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
22668 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
22669 * locate.el (locate-update):
22670 * longlines.el (longlines-encode-region)
22671 (longlines-after-change-function):
22672 * outline.el (outline-isearch-open-invisible):
22673 * ps-def.el (declare-function, charset-dimension, char-width)
22674 (encode-char):
22675 * ps-mule.el (ps-mule-plot-string):
22676 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
22677 (recentf-edit-list-select, recentf-edit-list-validate)
22678 (recentf-open-files-action):
22679 * rect.el (delete-whitespace-rectangle-line)
22680 (rectangle-number-line-callback):
22681 * register.el (window-configuration-to-register)
22682 (frame-configuration-to-register):
22683 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
22684 * select.el (xselect-convert-to-string, xselect-convert-to-length)
22685 (xselect-convert-to-targets, xselect-convert-to-delete)
22686 (xselect-convert-to-filename, xselect-convert-to-charpos)
22687 (xselect-convert-to-lineno, xselect-convert-to-colno)
22688 (xselect-convert-to-os, xselect-convert-to-host)
22689 (xselect-convert-to-user, xselect-convert-to-class)
22690 (xselect-convert-to-name, xselect-convert-to-integer)
22691 (xselect-convert-to-atom, xselect-convert-to-identity):
22692 * subr.el (declare, ignore, process-kill-without-query)
22693 (text-clone-maintain):
22694 * terminal.el (te-get-char, te-tic-sentinel):
22695 * tool-bar.el (tool-bar-make-keymap):
22696 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
22697 * type-break.el (type-break-mode, type-break-noninteractive-query):
22698 * view.el (View-back-to-mark):
22699 * wid-browse.el (widget-browse-action, widget-browse-widget)
22700 (widget-browse-widgets, widget-browse-sexp):
22701 * widget.el (define-widget-keywords):
22702 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
22703 Mark unused parameters.
22704
22705 * align.el (align-adjust-col-for-rule): Mark unused parameter.
22706 (align-areas): Remove unused variable `look'.
22707 (align-region): Remove unused variables `real-end' and `pos-list'.
22708
22709 * apropos.el (apropos-score-doc): Remove unused variable `i'.
22710
22711 * bindings.el (mode-line-modified, mode-line-remote):
22712 Mark unused parameters.
22713 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
22714
22715 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
22716 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
22717
22718 * comint.el (comint-history-isearch-pop-state)
22719 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
22720 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
22721 (comint-substitute-in-file-name): Doc fix.
22722
22723 * completion.el (cmpl-statistics-block): Mark unused parameter.
22724 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
22725 (save-completions-to-file, load-completions-from-file):
22726 Remove unused local variable `e'.
22727
22728 * composite.el (compose-chars): Remove unused variable `len'.
22729 (lgstring-insert-glyph): Remove unused variable `g'.
22730 (compose-glyph-string): Remove unused variables `ascent',
22731 `descent', `lbearing' and `rbearing'.
22732 (compose-glyph-string-relative): Remove unused variables
22733 `lbearing', `rbearing' and `wadjust'.
22734 (compose-gstring-for-graphic): Remove unused variables `header',
22735 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
22736 (compose-gstring-for-terminal): Remove unused variables `header'
22737 and `nchars'. Use `let', not `let*'.
22738
22739 * cus-edit.el (Custom-set, Custom-save, custom-reset)
22740 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
22741 (Custom-buffer-done, custom-buffer-create-internal)
22742 (custom-browse-visibility-action, custom-browse-group-tag-action)
22743 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
22744 (widget-magic-mouse-down-action, custom-toggle-parent)
22745 (custom-add-parent-links, custom-toggle-hide-variable)
22746 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
22747 (custom-toggle-hide-face, face, hook, custom-group-link-action)
22748 (custom-face-menu-create, custom-variable-menu-create, get)
22749 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
22750 (custom-reset-standard-save-and-update): Remove unused variable `value'.
22751 (customize-apropos): Remove unused variable `tests'.
22752 (custom-group-value-create): Remove unused variable `hidden-p'.
22753 (sort-fold-case): Declare.
22754
22755 * cus-theme.el (custom-reset-standard-faces-list)
22756 (custom-reset-standard-variables-list): Declare.
22757 (customize-create-theme, custom-theme-revert, custom-theme-write)
22758 (custom-theme-choose-mode, customize-themes, custom-theme-save):
22759 Mark unused parameters.
22760
22761 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
22762
22763 * delim-col.el (delimit-columns-max): Move defvar before first use.
22764
22765 * descr-text.el (describe-char-categories): Don't quote `lambda'.
22766 (describe-char): Don't quote `lambda'. Mark unused parameter.
22767
22768 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
22769 (auto-insert): Declare.
22770 (desktop-restore-file-buffer): Rename desktop-* parameters;
22771 mark unused ones.
22772 (desktop-create-buffer): Rename desktop-* parameters and bind them.
22773 (desktop-buffer): Rename desktop-* parameters.
22774
22775 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
22776 (dframe-reposition-frame-xemacs, dframe-help-echo)
22777 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
22778 Mark unused parameters.
22779
22780 * dired-aux.el (backup-extract-version-start, overwrite-query)
22781 (overwrite-backup-query, rename-regexp-query)
22782 (rename-non-directory-query): Declare.
22783 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
22784 (dired-add-entry): Remove unused variable `orig-file-name'.
22785 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
22786 Use parameter PRESERVE-TIME instead of accessing dynamic variable
22787 `dired-copy-preserve-time' directly.
22788 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
22789 (dired-insert-subdir-newpos): Rename unused variable `pos'.
22790
22791 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
22792 (dired-virtual-revert, dired-make-relative-symlink):
22793 Mark unused parameters.
22794 (manual-program): Declare.
22795 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
22796 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
22797 wrapped in `with-no-warnings' to avoid replacing one warning by another.
22798
22799 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
22800
22801 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
22802
22803 * echistory.el (electric-history-in-progress, Helper-return-blurb):
22804 Declare.
22805
22806 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
22807
22808 * electric.el (Electric-command-loop): Rename parameter
22809 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
22810
22811 * expand.el (expand-in-literal): Remove unused variable `here'.
22812
22813 * facemenu.el (facemenu-add-new-color):
22814 Remove unused variable `docstring'.
22815
22816 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
22817 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
22818 (face-attr-construct): Mark unused parameter. Doc fix.
22819 (read-color): Remove unused variable `hex-string'.
22820
22821 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
22822 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
22823 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
22824 (display-buffer-other-frame): Remove unused variable `old-window'.
22825 (kill-buffer-hook): Declare.
22826 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
22827 Mark unused parameters.
22828 (after-find-file): Pass 1 to `auto-save-mode', not t.
22829
22830 * files-x.el (auto-insert): Declare.
22831 (modify-file-local-variable-prop-line): Remove unused variable `val'.
22832
22833 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
22834 variable `buf'. Mark unused parameter.
22835 (find-lisp-insert-directory): Mark unused parameter.
22836
22837 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
22838 (format-encode-region): Remove unused variables `cur-buf' and `result'.
22839 (format-common-tail): Remove, unused.
22840 (format-deannotate-region): Remove unused variable `loc'.
22841 (format-annotate-region): Remove unused variable `p'.
22842 (format-annotate-single-property-change): Remove unused variables
22843 `default' and `tail'.
22844
22845 * forms.el (read-file-filter): Declare.
22846 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
22847
22848 * frame.el (frame-creation-function-alist): Mark unused parameter.
22849 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
22850
22851 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
22852 Remove unused parameters.
22853 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
22854 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
22855
22856 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
22857 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
22858 (hfy-prepare-tag-map): Mark unused parameters.
22859 (htmlfontify-buffer): Use `called-interactively-p'.
22860
22861 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
22862 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
22863 (ibuffer-do-occur): Mark unused parameters.
22864 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
22865 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
22866
22867 * ibuffer.el: Don't quote `lambda'.
22868 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
22869 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
22870 Mark unused parameters.
22871
22872 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
22873 (ido-completing-read): Mark unused parameters.
22874 (ido-copy-current-word): Mark unused parameters;
22875 remove unused variable `name'.
22876 (ido-sort-merged-list): Remove unused parameter `dirs'.
22877
22878 * ielm.el (ielm-input-sender): Mark unused parameter.
22879 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
22880 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
22881 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
22882 `ielm-string' as a dynamic variable accessible from the IELM prompt.
22883 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
22884
22885 * image-dired.el (image-dired-display-thumbs): Remove unused
22886 variables `curr-file' and `count'.
22887 (image-dired-remove-tag): Remove unused variable `start'.
22888 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
22889 variable `curr-file'
22890 (image-dired-rotate-original): Remove unused variable `temp-file'.
22891 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
22892 Remove unused variable `file'.
22893 (image-dired-gallery-generate): Remove unused variable `curr'.
22894 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
22895
22896 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
22897
22898 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
22899
22900 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
22901
22902 * isearch.el (minibuffer-history-symbol): Declare.
22903 (isearch-edit-string): Remove unused variable `err'.
22904 (isearch-message-prefix, isearch-message-suffix):
22905 Mark unused parameters.
22906
22907 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
22908
22909 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
22910
22911 * makesum.el (double-column): Remove unused variable `cnt'.
22912
22913 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
22914 (ido-ignore-item-temp-list): Declare.
22915
22916 * mouse-drag.el (mouse-drag-throw): Remove unused variables
22917 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
22918 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
22919 (mouse-drag-drag): Remove unused variables `mouse-delta' and
22920 `mouse-col-delta'.
22921
22922 * mouse-sel.el (mouse-extend-internal):
22923 Remove unused variable `orig-window-frame'.
22924
22925 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
22926 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
22927 Move declarations before first use.
22928 (pcomplete-opt): Mark unused parameters; doc fix.
22929
22930 * proced.el (proced-revert): Mark unused parameter.
22931 (proced-send-signal): Remove unused variable `err'.
22932
22933 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
22934 Rename parameter PREFIX-ARG to ARG.
22935 (ps-basic-plot-string, ps-basic-plot-whitespace):
22936 Mark unused parameters.
22937
22938 * replace.el (replace-count): Define.
22939 (occur-revert-function): Mark unused parameters.
22940 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
22941 (isearch-case-fold-search, isearch-string): Declare.
22942 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
22943 bind `case-fold-search'. Remove unused variables `beg' and `end',
22944 and simplify.
22945 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
22946 COUNT and bind `replace-count'.
22947 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
22948 to COUNT.
22949
22950 * savehist.el (print-readably, print-string-length): Declare.
22951
22952 * shadowfile.el (shadow-expand-cluster-in-file-name):
22953 Remove unused variable `cluster'.
22954 (shadow-copy-file): Remove unused variable `i'.
22955 (shadow-noquery, shadow-clusters, shadow-site-cluster)
22956 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
22957 (shadow-define-literal-group, shadow-define-regexp-group)
22958 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
22959
22960 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
22961 (shell): Use `called-interactively-p'.
22962 (shell-directory-tracker): Remove unused variable `chdir-failure'.
22963
22964 * simple.el (compilation-context-lines, comint-file-name-quote-list)
22965 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
22966 (delete-backward-char): Remove unused variable `ocol'.
22967 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
22968 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
22969 (event-apply-hyper-modifier, event-apply-shift-modifier)
22970 (event-apply-control-modifier, event-apply-meta-modifier):
22971 Mark unused parameters.
22972 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
22973 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
22974
22975 * speedbar.el (speedbar-ignored-directory-expressions)
22976 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
22977 (speedbar-find-file, speedbar-dir-follow)
22978 (speedbar-directory-buttons-follow, speedbar-tag-find)
22979 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
22980 (speedbar-buffers-line-directory, speedbar-buffer-click):
22981 Mark unused parameters.
22982 (speedbar-tag-file): Remove unused variable `mode'.
22983 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
22984
22985 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
22986
22987 * talk.el (talk): Remove unused variable `display'.
22988
22989 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
22990 (tar-write-region-annotate): Mark unused parameter.
22991
22992 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
22993 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
22994 Declare them, wrapped in `with-no-warnings' to avoid replacing one
22995 warning by another.
22996
22997 * time-stamp.el (time-stamp-string-preprocess):
22998 Remove unused variable `require-padding'.
22999
23000 * tree-widget.el (widget-glyph-enable): Declare.
23001 (tree-widget-action): Mark unused parameter.
23002
23003 * w32-fns.el (x-get-selection): Mark unused parameter.
23004 (autoload-make-program, generated-autoload-file): Declare.
23005
23006 * wdired.el (wdired-revert): Mark unused parameters.
23007 (wdired-xcase-word): Remove unused variable `err'.
23008
23009 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23010 (whitespace-help-scroll): Remove unused variable `data-help'.
23011
23012 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23013 (widget-image-insert, widget-after-change, default)
23014 (widget-default-format-handler, widget-default-notify)
23015 (widget-default-prompt-value, widget-info-link-action)
23016 (widget-url-link-action, widget-function-link-action)
23017 (widget-variable-link-action, widget-file-link-action)
23018 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23019 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23020 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23021 (widget-insert-button-action, widget-delete-button-action, visibility)
23022 (widget-documentation-link-action, widget-documentation-string-action)
23023 (widget-const-prompt-value, widget-regexp-match, symbol)
23024 (widget-coding-system-prompt-value)
23025 (widget-key-sequence-value-to-external, sexp)
23026 (widget-sexp-value-to-internal, character, vector, cons)
23027 (widget-choice-prompt-value, widget-boolean-prompt-value)
23028 (widget-color--choose-action): Mark unused parameters.
23029 (widget-item-match-inline, widget-choice-match-inline)
23030 (widget-checklist-match, widget-checklist-match-inline)
23031 (widget-group-match): Rename parameter VALUES to VALS.
23032 (widget-field-value-set): Remove unused variable `size'.
23033 (widget-color-action): Remove unused variables `value' and `start'.
23034
23035 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
23036 variable `dir'. Doc fix.
23037 (windmove-find-other-window): Don't pass it.
23038
23039 * window.el (count-windows): Mark unused parameter.
23040 (bw-adjust-window): Remove unused variable `err'.
23041
23042 * woman.el (woman-file-name): Remove unused variable `default'.
23043 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23044 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23045 (global-font-lock-mode): Declare.
23046 (woman-decode-region): Mark unused parameter.
23047 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23048
23049 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23050 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23051 (x-dnd-handle-moz-url): Remove unused variable `title'.
23052 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23053
23054 * xml.el (xml-parse-tag, xml-parse-attlist):
23055 Remove unused variable `pos'.
23056
23057 2011-04-19 Glenn Morris <rgm@gnu.org>
23058
23059 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23060 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23061 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23062 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23063 * calendar/cal-html.el (cal-html-insert-minical):
23064 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23065 (calendar-mark-date-pattern):
23066 Prefix "unused" locals.
23067
23068 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23069 optional argument `style'.
23070
23071 * calendar/appt.el (appt-make-list):
23072 * calendar/cal-china.el (calendar-chinese-date-string):
23073 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23074 (diary-hebrew-yahrzeit):
23075 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23076 * calendar/calendar.el (calendar-generate-window):
23077 * calendar/time-date.el (time-to-days):
23078 Remove unused local variables.
23079
23080 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
23081
23082 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23083 glyphless-char-display table.
23084 (tabulated-list-glyphless-char-display): New var.
23085
23086 2011-04-18 Sam Steingold <sds@gnu.org>
23087
23088 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23089 to acknowledgments.
23090
23091 2011-04-17 Glenn Morris <rgm@gnu.org>
23092
23093 * calendar/diary-lib.el (diary-sexp-entry):
23094 * calendar/holidays.el (holiday-sexp):
23095 Set debug-on-error rather than the removed stack-trace-on-error.
23096
23097 2011-04-16 Glenn Morris <rgm@gnu.org>
23098
23099 * progmodes/f90.el: Use lexical-binding.
23100 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23101
23102 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23103
23104 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23105 (mail-mode): Setup mailalias completion here instead.
23106 * mail/mailalias.el: Use lexical-binding.
23107 (pattern, mailalias-done): Declare dynamic.
23108 (mail-completion-at-point-function): New function, from mail-complete.
23109 (mail-complete): Use it.
23110 (mail-completion-expand): New function.
23111 (mail-get-names): Use it.
23112 (mail-directory, mail-directory-process, mail-directory-stream):
23113 Don't use `pattern' for lexically bound arg.
23114
23115 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
23116
23117 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
23118 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
23119 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
23120
23121 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
23122 (byte-save-window-excursion, byte-temp-output-buffer-setup)
23123 (byte-interactive-p): Define them again, for use when inlining
23124 old code.
23125
23126 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
23127
23128 * loadup.el: Use `string-to-number', not `string-to-int'.
23129
23130 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23131
23132 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23133 gud-gdb-complete-command.
23134 (gud-gdb-completions): New function, from gud-gdb-complete-command.
23135 (gud-gdb-completion-at-point): New function.
23136 (gud-gdb-completions): Remove.
23137
23138 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
23139
23140 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23141 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
23142 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23143 whether `executable-find' is bound.
23144
23145 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23146
23147 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23148
23149 * minibuffer.el (completion-in-region-mode-predicate)
23150 (completion-in-region-mode--predicate): New vars.
23151 (completion-in-region, completion-in-region--postch)
23152 (completion-in-region-mode): Use them.
23153 (completion--capf-wrapper): Also return the hook function.
23154 (completion-at-point, completion-help-at-point):
23155 Adjust and provide a predicate.
23156
23157 Preserve arg names for advice of subr and lexical functions (bug#8457).
23158 * help-fns.el (help-function-arglist): Consolidate the subr and
23159 new-byte-code cases. Add argument `preserve-names' to extract names
23160 from the docstring when needed.
23161 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23162 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23163 (ad-arglist): Use help-function-arglist's new arg.
23164 (ad-definition-type): Use cond.
23165
23166 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
23167
23168 * autorevert.el (auto-revert-handler):
23169 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23170 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23171 Don't quote lambda.
23172
23173 * image-mode.el (image-transform-set-scale):
23174 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23175
23176 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23177
23178 * net/network-stream.el (network-stream-open-starttls): Only do
23179 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
23180 Upgrades via gnutls-cli are too slow to be done opportunistically.
23181
23182 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
23183
23184 * dframe.el (dframe-current-frame): Remove spurious quote.
23185
23186 2011-04-12 Glenn Morris <rgm@gnu.org>
23187
23188 * calendar/cal-tex.el (cal-tex-end-document):
23189 Try to automatically use latin1 input if needed.
23190
23191 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23192 Don't try to cons a mark onto an empty element.
23193
23194 2011-04-11 Leo Liu <sdl.web@gmail.com>
23195
23196 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23197 buffers.
23198 (ido-kill-buffer-at-head): Support killing virtual buffers.
23199
23200 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
23201
23202 * minibuffer.el (completion-show-inline-help): New var.
23203 (completion--do-completion, minibuffer-complete)
23204 (minibuffer-force-complete, minibuffer-complete-word):
23205 Inhibit minibuffer messages if completion-show-inline-help is nil.
23206
23207 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23208 to avoid interference from inline help (Bug#5849).
23209
23210 2011-04-10 Leo Liu <sdl.web@gmail.com>
23211
23212 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23213 Fix typo.
23214
23215 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
23216
23217 * image-mode.el (image-toggle-display-image): Signal an error if
23218 not in Image mode.
23219 (image-transform-mode, image-transform-resize)
23220 (image-transform-set-rotation): Doc fix.
23221 (image-transform-set-resize): Delete.
23222 (image-transform-set-scale, image-transform-fit-to-height)
23223 (image-transform-fit-to-width): Handle image-toggle-display-image
23224 and image-transform-resize directly.
23225
23226 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
23227
23228 * doc-view.el (doc-view-fit-width-to-window)
23229 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23230 New functions for fitting the shown image to the Emacs window size.
23231 (doc-view-mode-map): Add bindings for the new functions.
23232
23233 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
23234
23235 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
23236 Fix typo in docstring.
23237
23238 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23239
23240 * files.el (file-size-human-readable): Produce one digit after
23241 decimal, like "ls -lh" does.
23242
23243 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23244 the file size representation.
23245
23246 * simple.el (list-processes): If async subprocesses are not
23247 available, error out with a clear error message.
23248
23249 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
23250
23251 * help.el (help-form-show): New function, to be called from C.
23252 Put help-form output in a buffer named differently than *Help*.
23253
23254 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23255
23256 * files.el (file-size-human-readable): New function.
23257
23258 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23259 computing the representation inline. Don't require `cl'.
23260
23261 2011-04-08 Glenn Morris <rgm@gnu.org>
23262
23263 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23264
23265 * net/browse-url.el (browse-url-firefox):
23266 Test system-type, not system-configuration.
23267
23268 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23269 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23270 Use log-edit-empty-buffer-p. (Bug#7598)
23271
23272 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23273 (rlogin-mode-map): Initialize in the defvar.
23274 (rlogin): Use ignore-errors.
23275
23276 * replace.el (occur-mode-map): Some fixes for menu items.
23277
23278 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23279
23280 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23281
23282 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23283
23284 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23285 issuing unused warnings.
23286
23287 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23288 macro directly.
23289
23290 * simple.el: Lisp reimplement of list-processes. Based on an
23291 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23292 (process-menu-mode): New major mode.
23293 (list-processes--refresh, list-processes):
23294 (process-menu-visit-buffer): New functions.
23295
23296 * files.el (save-buffers-kill-emacs): Don't assume any return
23297 value of list-processes, which is undocumented anyway.
23298
23299 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23300
23301 * emacs-lisp/tabulated-list.el: New file.
23302
23303 * emacs-lisp/package.el: Use Tabulated List mode.
23304 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23305 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23306 table format using Tabulated List mode variables.
23307 (package--push): New macro, replacing package-list-maybe-add.
23308 (package-menu--generate): Use package--push. Renamed from
23309 package--generate-package-list.
23310 (package-menu-refresh, list-packages): Use it.
23311 (package-menu--print-info): Rename from package-print-package.
23312 Return insertion data instead of inserting it directly.
23313 (package-menu-describe-package, package-menu-execute):
23314 Use tabulated-list-get-id.
23315 (package-menu-mark-delete, package-menu-mark-install)
23316 (package-menu-mark-unmark, package-menu-backup-unmark)
23317 (package-menu-mark-obsolete-for-deletion):
23318 Use tabulated-list-put-tag.
23319 (package--list-packages, package-menu-revert)
23320 (package-menu-get-package, package-menu-get-version)
23321 (package-menu-sort-by-column): Functions deleted.
23322 (package-menu-package-list, package-menu-sort-key): Vars deleted.
23323 (package-menu--status-predicate, package-menu--version-predicate)
23324 (package-menu--name-predicate)
23325 (package-menu--description-predicate): Handle arguments in the
23326 Tabulated List format.
23327 (package-list-packages-no-fetch): Call list-packages.
23328
23329 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
23330
23331 * files.el (after-find-file-from-revert-buffer): Remove variable.
23332 (after-find-file): Don't bind it.
23333 (revert-buffer-in-progress-p): New variable.
23334 (revert-buffer): Bind it.
23335 Pass nil for `after-find-file-from-revert-buffer'.
23336
23337 * saveplace.el (save-place-find-file-hook): Use new variable
23338 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23339
23340 2011-04-06 Glenn Morris <rgm@gnu.org>
23341
23342 * Makefile.in (AUTOGEN_VCS): New variable.
23343 (autoloads): Use $AUTOGEN_VCS.
23344
23345 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23346 * calendar/calendar.el (calendar-mode-map):
23347 Check for toolkit scroll bars. (Bug#8305)
23348
23349 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23350
23351 * minibuffer.el (completion-in-region--postch)
23352 (completion-in-region-mode): Remove unnecessary messages.
23353
23354 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
23355
23356 * font-lock.el (font-lock-refresh-defaults):
23357 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
23358 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
23359
23360 * info.el (Info-directory-list, Info-read-node-name-2)
23361 (Info-split-parameter-string): Doc fixes.
23362 (Info-virtual-nodes): Reflow docstring.
23363 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
23364 (Info-apropos-toc-nodes, info-finder, Info-get-token)
23365 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
23366 Fix typos in docstrings.
23367 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
23368 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
23369 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
23370 (Info-restore-desktop-buffer): Mark unused parameters.
23371 (Info-directory-find-file, Info-directory-find-node)
23372 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
23373 (Info-virtual-index-find-node, Info-apropos-find-file)
23374 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
23375 Mark unused parameters; fix typos in docstrings.
23376 (Info-virtual-index): Remove unused local variable `nodename'.
23377
23378 2011-04-05 Deniz Dogan <deniz@dogan.se>
23379
23380 * net/rcirc.el: Update my e-mail address.
23381 (rcirc-mode-map): Remove M-o binding.
23382
23383 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23384
23385 * startup.el (command-line): Save the cursor's theme-face
23386 directly, instead of using face-override-spec.
23387
23388 * custom.el (load-theme): Minor optimization in assigning faces.
23389
23390 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23391
23392 * help-fns.el (describe-variable): Complete all variables having
23393 documentation, including keywords.
23394 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
23395
23396 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23397
23398 Convert to lexical-binding.
23399
23400 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
23401 (bs--get-marked-string, bs--get-modified-string)
23402 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
23403 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
23404 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
23405
23406 * ehelp.el (electric-help-execute-extended)
23407 (electric-help-ctrl-x-prefix):
23408 * hexl.el (hexl-revert-buffer-function):
23409 * linum.el (linum-after-change, linum-after-scroll):
23410 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
23411
23412 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
23413
23414 2011-04-04 Daiki Ueno <ueno@unixuser.org>
23415
23416 * epa-dired.el:
23417 * epa-mail.el:
23418 * epa-hook.el:
23419 * epa-file.el:
23420 * epa.el:
23421 * epg.el: Use lexical binding.
23422
23423 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
23424
23425 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
23426
23427 * textmodes/flyspell.el (flyspell-word): Recognize default
23428 dictionary case for flyspell-mark-duplications-exceptions.
23429 Use regexp matching for languages.
23430 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
23431 default dictionary (Bug#7926).
23432
23433 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
23434
23435 * emacs-lisp/package.el (package--with-work-buffer):
23436 Recognize https URLs.
23437
23438 * net/network-stream.el: Move from gnus/proto-stream.el.
23439 Change prefix to network-stream throughout.
23440 (open-protocol-stream): Merge into open-network-stream, leaving
23441 open-protocol-stream as an alias. Handle nil BUFFER args.
23442
23443 * subr.el (open-network-stream): Move to net/network-stream.el.
23444
23445 2011-04-02 Glenn Morris <rgm@gnu.org>
23446
23447 * find-dired.el (find-exec-terminator): New option.
23448 (find-ls-option): Test for -ls support.
23449 (find-ls-subdir-switches): Test for -b in find-ls-option.
23450 (find-dired, find-grep-dired): Doc fixes.
23451 (find-dired): Use find-exec-terminator.
23452
23453 * find-dired.el (find-ls-option, find-ls-subdir-switches)
23454 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
23455 (find-name-arg): Remove purecopy.
23456
23457 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
23458 (grep-compute-defaults): Check for `-exec COMMAND +' support.
23459 Set grep-find-use-xargs, grep-find-command, and grep-find-template
23460 accordingly. Don't add the null-device if not needed.
23461
23462 * files.el (save-some-buffers): Doc fix.
23463
23464 2011-04-02 Eli Zaretskii <eliz@gnu.org>
23465
23466 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
23467
23468 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
23469
23470 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
23471 Use `dolist' rather than `mapcar'.
23472
23473 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
23474
23475 Add lexical binding.
23476
23477 * subr.el (apply-partially): Use new closures rather than CL.
23478 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
23479 (dolist, dotimes): Use slightly different expansion for lexical code.
23480 (functionp): Move to C.
23481 (letrec): New macro.
23482 (with-wrapper-hook): Use it and apply-partially instead of CL.
23483 (eval-after-load): Preserve lexical-binding.
23484 (save-window-excursion, with-output-to-temp-buffer): Turn them
23485 into macros.
23486
23487 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
23488
23489 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
23490 than the arglist.
23491 (help-add-fundoc-usage): Don't add `Not documented'.
23492 (help-function-arglist): Handle closures, subroutines, and new
23493 byte-code-functions.
23494 (help-make-usage): Remove leading underscores.
23495 (describe-function-1): Handle closures.
23496 (describe-variable): Use special-variable-p for completion.
23497
23498 * files.el (lexical-binding): Declare safe.
23499
23500 * emacs-lisp/pcase.el: Don't use destructuring-bind.
23501 (pcase--memoize): Rename from pcase-memoize. Change weakness.
23502 (pcase): Add `let' pattern.
23503 Change memoization so it actually works.
23504 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
23505 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
23506 <let>: New case.
23507
23508 * emacs-lisp/macroexp.el: Use lexical binding.
23509 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
23510 Don't convert ' to #' without checking that it's indeed quoting
23511 a lambda.
23512
23513 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
23514 Use eval-sexp-add-defvars.
23515 (eval-sexp-add-defvars): New fun.
23516
23517 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
23518
23519 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
23520 Don't autoload.
23521 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
23522 than the internal `byte-compile-lambda'.
23523 (defmethod): Don't hide code under quotes.
23524 (eieio-defmethod): New `code' argument.
23525
23526 * emacs-lisp/eieio-comp.el: Remove.
23527
23528 * emacs-lisp/edebug.el (edebug-eval-defun)
23529 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
23530 (edebug-toggle): Avoid `eval'.
23531
23532 * emacs-lisp/disass.el (disassemble-internal): Handle new
23533 `closure' objects.
23534 (disassemble-1): Handle new byte codes.
23535
23536 * emacs-lisp/cl.el (pushnew): Silence warning.
23537
23538 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
23539 (cl-byte-compile-throw): Remove.
23540 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
23541
23542 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
23543 closures.
23544
23545 * emacs-lisp/cconv.el: New file.
23546
23547 * emacs-lisp/bytecomp.el: Use lexical binding instead of
23548 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
23549 (byte-compile-initial-macro-environment):
23550 Handle declare-function here.
23551 (byte-compile--lexical-environment): New var.
23552 (byte-stack-ref, byte-stack-set, byte-discardN)
23553 (byte-discardN-preserve-tos): New lap codes.
23554 (byte-interactive-p): Don't use any more.
23555 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
23556 New macros.
23557 (byte-compile-lapcode): Use them and handle new lap codes.
23558 (byte-compile-obsolete): Remove.
23559 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
23560 (byte-compile-arglist-warn): Check late def of inlinable funs.
23561 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
23562 since they should have been expanded by now.
23563 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
23564 (byte-compile-from-buffer): Remove unused second arg.
23565 (byte-compile-preprocess): New function.
23566 (byte-compile-toplevel-file-form): New function to distinguish
23567 file-form calls from outside from file-form calls from hunk-handlers.
23568 (byte-compile-file-form): Simplify.
23569 (byte-compile-file-form-defsubst): Remove.
23570 (byte-compile-file-form-defmumble): Simplify now that
23571 byte-compile-lambda always returns a byte-code-function.
23572 (byte-compile): Preprocess.
23573 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
23574 Remove, not used any more.
23575 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
23576 (byte-compile-make-args-desc): New funs.
23577 (byte-compile-lambda): Handle lexical functions. Always return
23578 a byte-code-function.
23579 (byte-compile-reserved-constants): New var, to make up room for
23580 closed-over variables.
23581 (byte-compile-constants-vector): Obey it.
23582 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
23583 (byte-compile-macroexpand-declare-function): New function.
23584 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
23585 byte-code-functions.
23586 (byte-compile-form): Check obsolescence here.
23587 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
23588 (byte-compile-variable-ref): Remove.
23589 (byte-compile-dynamic-variable-op): New fun.
23590 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23591 (byte-compile-variable-set): New funs.
23592 (byte-compile-discard): Add 2 args.
23593 (byte-compile-stack-ref, byte-compile-stack-set)
23594 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
23595 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
23596 macroexpand-all instead.
23597 (byte-compile-quote-form): Remove.
23598 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
23599 (byte-compile-bind, byte-compile-unbind): New funs.
23600 (byte-compile-let): Handle let* and lexical binding.
23601 (byte-compile-let*): Remove.
23602 (byte-compile-catch, byte-compile-unwind-protect)
23603 (byte-compile-track-mouse, byte-compile-condition-case):
23604 Handle a new :fun-body form, used for lexical scoping.
23605 (byte-compile-save-window-excursion)
23606 (byte-compile-with-output-to-temp-buffer): Remove.
23607 (byte-compile-defun): Simplify.
23608 (byte-compile-stack-adjustment): New fun.
23609 (byte-compile-out): Use it.
23610 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
23611
23612 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
23613 handler any more.
23614
23615 * emacs-lisp/byte-opt.el: Use lexical binding.
23616 (byte-inline-lapcode): Remove (to bytecomp).
23617 (byte-compile-inline-expand): Pay attention to inlining to/from
23618 lexically bound code.
23619 (byte-compile-unfold-lambda): Don't handle byte-code-functions
23620 any more.
23621 (byte-optimize-form-code-walker): Don't handle save-window-excursion
23622 any more and don't call compiler-macros.
23623 (byte-compile-splice-in-already-compiled-code): Remove.
23624 (byte-code): Don't inline any more.
23625 (disassemble-offset): Receive `bytes' as argument rather than via
23626 dynamic scoping.
23627 (byte-compile-tag-number): Declare before first use.
23628 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
23629 `return' even if make-spliceable.
23630 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
23631 obsolete interactive-p.
23632 (byte-optimize-lapcode): Optimize new lap-codes.
23633 Don't trip up on new form of `byte-constant' lap code.
23634
23635 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
23636
23637 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
23638
23639 * custom.el (custom-initialize-default, custom-declare-variable):
23640 Use `defvar'.
23641
23642 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
23643 New variables.
23644 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
23645 (COMPILE_FIRST): Add macroexp and cconv.
23646 * makefile.w32-in: Mirror changes in Makefile.in.
23647
23648 * vc/cvs-status.el:
23649 * vc/diff-mode.el:
23650 * vc/log-edit.el:
23651 * vc/log-view.el:
23652 * vc/smerge-mode.el:
23653 * textmodes/bibtex-style.el:
23654 * textmodes/css-mode.el:
23655 * startup.el:
23656 * uniquify.el:
23657 * minibuffer.el:
23658 * newcomment.el:
23659 * reveal.el:
23660 * server.el:
23661 * mpc.el:
23662 * emacs-lisp/smie.el:
23663 * doc-view.el:
23664 * dired.el:
23665 * abbrev.el: Use lexical binding.
23666
23667 2011-04-01 Eli Zaretskii <eliz@gnu.org>
23668
23669 * info.el (info-display-manual): New function.
23670
23671 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
23672
23673 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
23674
23675 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
23676
23677 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
23678 an entry for that server in rcirc-authinfo. (Bug#8385)
23679
23680 2011-03-31 Glenn Morris <rgm@gnu.org>
23681
23682 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
23683
23684 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
23685
23686 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
23687
23688 * progmodes/python.el (python-default-interpreter)
23689 (python-python-command-args, python-jython-command-args)
23690 (python-which-shell, python-which-args, python-which-bufname)
23691 (python-file-queue, python-comint-output-filter-function)
23692 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
23693 variables and functions.
23694
23695 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
23696
23697 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
23698 (completion-in-region-mode): New minor mode.
23699 (completion-in-region): Use it.
23700 (completion-in-region--data, completion-in-region-mode-map): New vars.
23701 (completion-in-region--postch): New function.
23702 (completion--capf-misbehave-funs, completion--capf-safe-funs):
23703 New vars.
23704 (completion--capf-wrapper): New function.
23705 (completion-at-point): Use it to track well-behavedness of
23706 hook functions.
23707 (completion-help-at-point): New command.
23708
23709 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
23710
23711 * vc/add-log.el (add-change-log-entry): Don't use whitespace
23712 syntax class to search for whitespace on a single line
23713 (Message-ID: <4D938140.4030905@redhat.com>).
23714
23715 2011-03-30 Leo Liu <sdl.web@gmail.com>
23716
23717 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
23718 New commands.
23719 (edit-abbrevs-map): Bind them here.
23720 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
23721
23722 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
23723
23724 * allout.el (allout-hide-by-annotation, allout-flag-region):
23725 Reduce possibility of overlay leakage by making them volatile.
23726
23727 * allout-widgets.el (allout-widgets-tally): Define as nil so the
23728 hash is not shared between buffers. Mode initialization is
23729 responsible for giving it a useful starting value.
23730 (allout-item-span): Reduce possibility of overlay leakage by
23731 making them volatile.
23732 (allout-widgets-count-buttons-in-region): Add diagnostic function
23733 for tracking down button overlay leaks.
23734
23735 2011-03-29 Leo Liu <sdl.web@gmail.com>
23736
23737 * ido.el (ido-read-internal): Use the default history var
23738 minibuffer-history if no HISTORY is specified.
23739
23740 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
23741
23742 * net/imap.el (imap-shell-open, imap-process-connection-type):
23743 Use imap-process-connection-type for 'shell' streams as well as
23744 Kerberos, SSL, other subprocesses.
23745
23746 2011-03-28 Leo Liu <sdl.web@gmail.com>
23747
23748 * abbrev.el (abbrev-table-empty-p): New function.
23749 (prepare-abbrev-list-buffer): Place empty abbrev tables after
23750 nonempty ones. (Bug#5937)
23751
23752 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
23753
23754 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
23755
23756 2011-03-27 Leo Liu <sdl.web@gmail.com>
23757
23758 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
23759 for foreground and background colors.
23760 (ansi-color-make-color-map): Adapt.
23761
23762 2011-03-25 Leo Liu <sdl.web@gmail.com>
23763
23764 * midnight.el (midnight-time-float): Remove. Note it calculates
23765 the microsecond component incorrectly and seconds-to-time does the
23766 same job.
23767 Remove redundant (require 'timer).
23768
23769 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
23770 (ido-completions): Remove unused arguments. (Bug#8329)
23771
23772 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
23773
23774 * minibuffer.el (completion--flush-all-sorted-completions):
23775 Remove itself from hook.
23776 (completion-at-point): Let the functions perform the completion
23777 immediately and return nil or t.
23778 * comint.el (comint-dynamic-complete-functions): Now identical to
23779 completion-at-point-functions.
23780 (comint-dynamic-list-input-ring): Remove unused var `index'.
23781 (comint--match-partial-filename, comint--unquote&expand-filename):
23782 New funs, split from comint-match-partial-filename.
23783 (comint-dynamic-complete): Use completion-at-point.
23784 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
23785
23786 2011-03-24 Drew Adams <drew.adams@oracle.com>
23787
23788 * thingatpt.el: Support `defun'.
23789
23790 2011-03-23 Leo Liu <sdl.web@gmail.com>
23791
23792 * abbrevlist.el: Move to obsolete/abbrevlist.el.
23793
23794 * help-mode.el (help-mode-finish): Tweak regexp.
23795
23796 2011-03-23 Glenn Morris <rgm@gnu.org>
23797
23798 * eshell/esh-opt.el (eshell-eval-using-options):
23799 Do not bind unused local variable `eshell-option-stub'.
23800
23801 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
23802
23803 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
23804
23805 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
23806 keymap variable in `with-no-warnings' to avoid a warning when the
23807 keymap has been already `defconst'ed.
23808
23809 2011-03-22 Leo Liu <sdl.web@gmail.com>
23810
23811 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
23812 encode all chars in abbrevs; otherwise use emacs-mule or
23813 utf-8-emacs. (Bug#8308)
23814
23815 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
23816
23817 * simple.el (backward-delete-char-untabify):
23818 Avoid warning about using `delete-backward-char'.
23819
23820 * image.el (image-type-file-name-regexps): Make it variable.
23821 `imagemagick-register-types' modifies it, and the user may want
23822 to add new extensions for known image types.
23823 (imagemagick-register-types): Throw error if not using ImageMagick.
23824
23825 2011-03-22 Leo Liu <sdl.web@gmail.com>
23826
23827 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
23828 located before rcirc-prompt-end-marker.
23829 (rcirc-complete): Error if point is not after rcirc prompt.
23830 Handle the case when table is nil.
23831 (rcirc-user-authenticated): Define to fix compiler warning.
23832
23833 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
23834
23835 * custom.el (custom--inhibit-theme-enable): Make it affect only
23836 custom-theme-set-variables and custom-theme-set-faces.
23837 (provide-theme): Ignore custom--inhibit-theme-enable.
23838 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
23839 (custom-enabling-themes): Delete variable.
23840 (enable-theme): Accept only loaded themes as arguments.
23841 Ignore the special custom-enabled-themes variable.
23842 (custom-enabled-themes): Forbid themes from setting this.
23843 Eliminate use of custom-enabling-themes.
23844 (custom-push-theme): Quote "changed" custom var entry.
23845
23846 2011-03-21 Leo Liu <sdl.web@gmail.com>
23847
23848 * ido.el (ido-read-internal): Add ido-selected to history instead
23849 of user input.
23850
23851 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
23852
23853 * subr.el (deferred-action-list, deferred-action-function):
23854 Mark obsolete.
23855
23856 2011-03-21 Leo Liu <sdl.web@gmail.com>
23857
23858 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
23859 change on 2011-02-13 (bug#8309).
23860
23861 * minibuffer.el (read-file-name-function): Change default value.
23862 (read-file-name--defaults): Rename from read-file-name-defaults.
23863 (read-file-name-default): Rename from read-file-name.
23864 (read-file-name): Call read-file-name-function.
23865
23866 2011-03-21 Glenn Morris <rgm@gnu.org>
23867
23868 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
23869 Doc fixes.
23870
23871 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
23872
23873 * cus-theme.el: Add missing provide statement.
23874 (customize-create-theme): Extract theme value correctly.
23875 (custom-theme-visit-theme): Autoload.
23876 (customize-create-theme): Prompt before inserting default faces.
23877
23878 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
23879
23880 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
23881 units and musical notes.
23882
23883 2011-03-20 Leo Liu <sdl.web@gmail.com>
23884
23885 * ido.el (ido-read-internal): Use completing-read-default.
23886 (ido-completing-read): Fix compatibility with completing-read.
23887
23888 2011-03-20 Christian Ohler <ohler@gnu.org>
23889
23890 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
23891 (ert-delete-all-tests): Use `called-interactively-p' rather than
23892 `interactive-p'.
23893 (ert--make-xrefs-region): Respect END.
23894
23895 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
23896
23897 * dired-aux.el (dired-create-directory): Signal an error if the
23898 directory already exists (Bug#8246).
23899
23900 * facemenu.el (list-colors-display): Call list-faces-display
23901 inside with-help-window.
23902 (list-colors-print): Use display property to align the final
23903 column, instead of checking window-width.
23904
23905 2011-03-19 Eli Zaretskii <eliz@gnu.org>
23906
23907 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
23908 windows-nt systems.
23909 (emerge-protect-metachars): Quote correctly for ms-dos and
23910 windows-nt systems.
23911
23912 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
23913
23914 * info.el (info-initialize): Replace all uses of `:' with
23915 path-separator for compatibility with non-Unix systems.
23916 Cache quoting of path-separator. (Bug#8258)
23917
23918 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
23919
23920 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
23921 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
23922 (mouse-avoidance-mode): Fix typos in docstrings.
23923
23924 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
23925
23926 * startup.el (package-subdirectory-regexp): Move from package.el.
23927 Omit \\` and \\', and let callers add them.
23928
23929 * emacs-lisp/package.el (package-strip-version)
23930 (package-load-all-descriptors): Add \\` and \\' to
23931 package-subdirectory-regexp before using it.
23932 (package-untar-buffer): New arg DIR; ensure that file untars only
23933 into this expected directory. Remove superfluous delete-region.
23934 (package-unpack): Caller changed.
23935 (package-tar-file-info): Use package-subdirectory-regexp.
23936
23937 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
23938
23939 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
23940 diff-mode-shared-map (bug#8284).
23941 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
23942
23943 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
23944
23945 * calendar/time-date.el (format-seconds): Use assoc instead of
23946 assoc-string, since assoc-string doesn't exist in XEmacs.
23947
23948 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
23949
23950 * custom.el (custom-known-themes): Reflow docstring.
23951 (custom-theme-load-path): Fix typo in docstring.
23952 (load-theme): Fix typo in error message.
23953 (custom-available-themes, custom-variable-theme-value):
23954 Use `let', not `let*'.
23955
23956 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
23957
23958 * calc/README: Mention inclusion of musical notes.
23959
23960 * calc/calc-units.el (calc-lu-quant): Rename from
23961 `calc-logunits-quantity'.
23962 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
23963 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
23964 (calc-db): Rename from `calc-dblevel'.
23965 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
23966 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
23967 (calc-np): Rename from `calc-nplevel'.
23968 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
23969 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
23970 (calc-lu-plus): Rename from `calc-logunits-add'.
23971 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
23972 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
23973 (calc-lu-minus): Rename from `calc-logunits-sub'.
23974 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
23975 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
23976 (calc-lu-times): Rename from `calc-logunits-mul'.
23977 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
23978 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
23979 (calc-lu-divide): Rename from `calc-logunits-div'.
23980 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
23981 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
23982
23983 * calc/calc-ext.el (calc-init-extensions): Update the names of the
23984 functions being autoloaded.
23985
23986 * calc/calc.el (calc-lu-power-reference): Rename from
23987 `calc-logunits-power-reference'.
23988 (calc-lu-field-reference): Rename from
23989 `calc-logunits-field-reference'.
23990
23991 * calc/calc-help.el (calc-l-prefix-help):
23992 Mention musical note functions.
23993
23994 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
23995
23996 * minibuffer.el (completion-all-sorted-completions):
23997 Use :completion-cycle-penalty text property if present.
23998
23999 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24000
24001 * allout.el (allout-yank-processing): Adjust for new rebulleting
24002 regime so bullet being yanked is used without prompting the user
24003 for a choice.
24004
24005 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24006
24007 * startup.el (command-line): Warn the user that _emacs is deprecated.
24008
24009 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24010
24011 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24012 (delphi-verbose, delphi-comment-face, delphi-string-face)
24013 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24014 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24015 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24016 (delphi-new-comment-line, delphi-font-lock-defaults)
24017 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24018 Fix typos in docstrings.
24019
24020 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24021
24022 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
24023 Invert the roles of character and string values for INSTEAD, so a
24024 string is used for the more common case of a defaulting prompt.
24025
24026 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24027
24028 * progmodes/ruby-mode.el (ruby-backward-sexp):
24029 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24030 * play/gamegrid.el (gamegrid-make-face):
24031 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24032 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24033 * notifications.el (notifications-notify):
24034 * net/xesam.el (xesam-search-engines):
24035 * net/quickurl.el (quickurl-list-insert):
24036 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24037
24038 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
24039
24040 * startup.el (command-line): Update package subdirectory regexp.
24041
24042 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24043
24044 * allout.el (allout-abbreviate-flattened-numbering)
24045 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24046
24047 * subr.el (read-char-choice): Only show the cursor after the prompt,
24048 not after the answer.
24049
24050 2011-03-15 Kevin Ryde <user42@zip.com.au>
24051
24052 * help-fns.el (variable-at-point): Skip leading quotes, if any
24053 (bug#8253).
24054
24055 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24056
24057 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24058 warning message.
24059
24060 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
24061
24062 * shell.el (shell): When called interactively, offer to change the
24063 shell file name on remote hosts.
24064
24065 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24066
24067 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24068 integration for LDAP parameters. The host, base, user or binddn,
24069 and secret tokens can be specified in a netrc file, for instance.
24070 This is optional because an `auth-source' parameter must be
24071 specified in the search attributes.
24072
24073 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
24074
24075 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24076
24077 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24078
24079 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24080 into declaration. Remove redundant and harmful binding.
24081
24082 2011-03-12 Eli Zaretskii <eliz@gnu.org>
24083
24084 * files.el (file-ownership-preserved-p): Pass `integer' as an
24085 explicit 2nd argument to `file-attributes'. If the file's owner
24086 is the Administrators group on Windows, and the current user is
24087 Administrator, consider that a match.
24088
24089 * server.el (server-ensure-safe-dir): Consider server directory
24090 safe on MS-Windows if its owner is the Administrators group while
24091 the current Emacs user is Administrator. Use `=' to compare
24092 numerical UIDs, since they could be integers or floats.
24093
24094 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
24095
24096 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24097
24098 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
24099
24100 Sync with Tramp 2.2.1.
24101
24102 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24103
24104 * net/trampver.el: Update release number.
24105
24106 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24107
24108 * progmodes/compile.el (compilation--previous-directory): Fix up
24109 various nil/dead-marker mismatches (bug#8014).
24110 (compilation-directory-properties, compilation-error-properties):
24111 Don't call it at a position past the one we're about to change.
24112
24113 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
24114 Disable obsolescence warnings in the file that declares it.
24115
24116 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
24117
24118 * allout-widgets.el (allout-widgets-tally):
24119 Initialize allout-widgets-tally as a hash table rather than nil to
24120 prevent mode-line redisplay warnings. Also, clarify the module
24121 description and fix a comment typo.
24122
24123 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
24124
24125 * help-fns.el (describe-variable): Don't complete keywords.
24126 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
24127
24128 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
24129
24130 * emacs-lisp/package.el (package-version-join): Impose a standard
24131 string representation for pre/alpha/beta version lists.
24132 (package-unpack-single): Standardize the directory name by passing
24133 it through package-version-join.
24134 (package-strip-rcs-id): Accept any version string that does not
24135 signal an error in version-to-list.
24136
24137 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
24138
24139 * simple.el (delete-trailing-whitespace): Return nil for the
24140 benefit of `write-file-functions'.
24141
24142 2011-03-10 Glenn Morris <rgm@gnu.org>
24143
24144 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24145
24146 * vc/vc-git.el (vc-git-program): New option.
24147 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24148 (vc-git--call): Use it.
24149
24150 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24151
24152 * cus-edit.el (Custom-newline): If no button at point, look
24153 for a subgroup button at start-of-line. (Bug#2298)
24154
24155 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24156
24157 2011-03-10 Julien Danjou <julien@danjou.info>
24158
24159 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24160 `cursor-type' is nil.
24161
24162 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24163
24164 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24165
24166 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24167
24168 * allout.el: Change so yank of distinctive-bullet items
24169 preserves the existing header prefix, rebulleting it if necessary,
24170 rather than replacing it. This is necessary for proper operation
24171 of cooperative addons like allout-widgets.
24172 (allout-make-topic-prefix, allout-rebullet-heading):
24173 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24174 value as alternate bullet to be used, instead of prompting the user
24175 for a bullet character.
24176
24177 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
24178
24179 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24180 Do not use `tramp-file-name-port', because this returns also
24181 `tramp-default-port'.
24182
24183 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24184
24185 * net/rcirc.el (rcirc-handler-001): Remove useless
24186 with-rcirc-process-buffer.
24187 (rcirc-check-auth-status): Swap arguments to string-match.
24188
24189 2011-03-09 Glenn Morris <rgm@gnu.org>
24190
24191 * shell.el (shell-mode):
24192 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24193
24194 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24195 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24196
24197 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24198
24199 * emacs-lisp/package.el (package-refresh-contents)
24200 (package-menu-execute): Use condition-case-no-debug.
24201
24202 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
24203
24204 * simple.el (shell-command-to-string): Use `process-file'.
24205
24206 * emacs-lisp/package.el (package-tar-file-info): Handle also
24207 remote files.
24208
24209 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24210 Use `equal' for upload base check.
24211
24212 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24213
24214 * textmodes/texinfo.el (texinfo-environments):
24215 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24216
24217 2011-03-08 Glenn Morris <rgm@gnu.org>
24218
24219 * cus-start.el (cursor-in-non-selected-windows):
24220 Fix :set quoting oddness. (Bug#8192)
24221
24222 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24223 in some setf expressions. (Bug#2159)
24224
24225 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24226
24227 * custom.el (custom-available-themes): Return themes in
24228 alphabetical order.
24229
24230 See ChangeLog.15 for earlier changes.
24231
24232 ;; Local Variables:
24233 ;; coding: utf-8
24234 ;; End:
24235
24236 Copyright (C) 2011-2013 Free Software Foundation, Inc.
24237
24238 This file is part of GNU Emacs.
24239
24240 GNU Emacs is free software: you can redistribute it and/or modify
24241 it under the terms of the GNU General Public License as published by
24242 the Free Software Foundation, either version 3 of the License, or
24243 (at your option) any later version.
24244
24245 GNU Emacs is distributed in the hope that it will be useful,
24246 but WITHOUT ANY WARRANTY; without even the implied warranty of
24247 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24248 GNU General Public License for more details.
24249
24250 You should have received a copy of the GNU General Public License
24251 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.