fortune-compile tiny change
[bpt/emacs.git] / lisp / ChangeLog
1 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
2
3 * play/fortune.el (fortune-compile): Also make the compiled file
4 if it does not exist at all, not just if it is old. (Bug#5338)
5
6 2013-02-13 Glenn Morris <rgm@gnu.org>
7
8 * emacs-lisp/package.el (package-menu-execute): Doc fix.
9
10 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
11
12 * lisp/emacs-lisp/package.el (package-menu-execute):
13 Add optional noquery argument. (Bug#13625)
14
15 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
16
17 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
18 if DIR exists and PARENTS is non-nil.
19
20 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
21
22 * progmodes/js.el (js--multi-line-declaration-indentation):
23 Silence byte-compiler warning.
24
25 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
26
27 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
28
29 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
30 only if it doesn't exist.
31
32 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Set
33 process marker.
34
35 2013-02-12 Tassilo Horn <tsdh@gnu.org>
36
37 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
38 UserInstallation when calling soffice to work around LibreOffice
39 bug 37531.
40
41 2013-02-12 Glenn Morris <rgm@gnu.org>
42
43 * files.el (basic-save-buffer):
44 Offer to create a non-existing directory. (Bug#3016)
45
46 * calc/calc-graph.el (calc-graph-show-dumb):
47 * calendar/calendar.el (calendar-mode-map):
48 * cus-edit.el (custom-mode-map):
49 * ehelp.el (electric-help-map):
50 * emulation/vip.el (vip-mode-map):
51 * epa.el (epa-key-list-mode-map):
52 * info.el (Info-mode-map):
53 * mail/rmail.el (rmail-mode-map):
54 * mail/rmailsum.el (rmail-summary-mode-map):
55 * man.el (Man-mode-map):
56 * net/newst-plainview.el (newsticker-mode-map):
57 * progmodes/cpp.el (cpp-edit-mode-map):
58 * progmodes/grep.el (grep-mode-map):
59 * progmodes/idlw-help.el (idlwave-help-mode-map):
60 * simple.el (special-mode-map):
61 * startup.el (splash-screen-keymap):
62 * view.el (view-mode-map):
63 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
64
65 2013-02-11 Elias Pipping <pipping@lavabit.com>
66
67 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
68 (bug#13679).
69
70 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
71
72 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
73
74 2013-02-11 Glenn Morris <rgm@gnu.org>
75
76 * vc/diff.el (diff-use-labels): New variable.
77 (diff-no-select): Use --label rather than -L, and first
78 check that it is supported. (Bug#11067)
79
80 * files.el (enable-dir-local-variables): New variable.
81 (hack-dir-local-variables): Respect enable-dir-local-variables.
82 * tutorial.el (help-with-tutorial):
83 Ignore directory-local variables. (Bug#11127)
84
85 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
86 (vc-svn-global-switches): ... to here. (Bug#13513)
87
88 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
89
90 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
91 Handle "foo (bar, default: xxx): " prompts.
92
93 2013-02-10 Chong Yidong <cyd@gnu.org>
94
95 * files.el (basic-save-buffer-1): Do not set
96 buffer-file-coding-system-explicit (Bug#4533).
97
98 * mail/emacsbug.el (report-emacs-bug): Change binding of
99 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
100
101 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
102
103 * calc/calc.el (calc-allow-units-as-numbers): New variable.
104 * calc/calc-units.el (calc-convert-units): Use new variable.
105
106 2013-02-09 Eli Zaretskii <eliz@gnu.org>
107
108 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
109
110 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
111 buffer-file-type.
112
113 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
114 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
115 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
116 coding-system-for-write instead.
117
118 * jka-compr.el (jka-compr-write-region): Don't bind
119 buffer-file-type.
120
121 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
122 buffer-file-type.
123
124 * files.el (file-name-buffer-file-type-alist): Remove defvar.
125 (insert-file-contents-literally): Remove reference to
126 file-name-buffer-file-type-alist.
127
128 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
129 make-obsolete.
130 (find-buffer-file-type-match, find-buffer-file-type): Remove.
131 (find-buffer-file-type-coding-system): Remove references to
132 find-buffer-file-type-match, find-buffer-file-type, and
133 buffer-file-type.
134 Don't put find-buffer-file-type-coding-system into
135 file-coding-system-alist.
136 (find-file-binary, find-file-text): Bind coding-system-for-read
137 instead of file-name-buffer-file-type-alist.
138
139 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
140
141 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
142 converter (Bug#13622).
143 (doc-view-unoconv-program): Make obsolete alias.
144 (doc-view-odf->pdf-converter-program): New variable.
145 (doc-view-odf->pdf-converter-function): New variable.
146 (doc-view-mode-p): Use it.
147 (doc-view-odf->pdf-converter-unoconv):
148 Rename from `doc-view-odf->pdf-converter-unoconv'.
149 (doc-view-odf->pdf-converter-soffice): New function.
150 (doc-view-convert-current-doc):
151 Use `doc-view-odf->pdf-converter-function'.
152
153 2013-02-09 Chong Yidong <cyd@gnu.org>
154
155 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
156 view-echo-area-messages (Bug#13340).
157
158 * help.el (view-echo-area-messages): Use display-buffer.
159
160 * dired-x.el (dired-do-run-mail): Prompt for confirmation
161 (Bug#13561).
162
163 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
164
165 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
166 Eval body right away, now that we do eager macroexpansion (bug#13605).
167
168 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
169 (fundamental-mode): Use run-mode-hooks.
170
171 * eshell/esh-proc.el (eshell/kill): Fix last change.
172 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
173
174 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
175
176 * eshell/esh-proc.el (eshell/kill): Rewrite.
177
178 * eshell/em-ls.el (show-almost-all): Declare.
179 (eshell-do-ls): Add support for -A argument.
180
181 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
182
183 * icomplete.el (icomplete-forward-completions)
184 (icomplete-backward-completions): Handle corner case (bug#13602).
185
186 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
187
188 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
189 be nil. Handle this. (Bug#13636)
190
191 2013-02-07 Richard Stallman <rms@gnu.org>
192
193 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
194 `save-buffer-coding-system'.
195
196 2013-02-07 Alan Mackenzie <acm@muc.de>
197
198 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
199 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
200 (c-parse-state-get-strategy): Don't return 'BOD any more.
201 (c-append-lower-brace-pair-to-state-cache):
202 Extra parameter HERE instead of narrowing.
203 Widen to top of buffer before searching backwards for a brace pair.
204 (c-state-push-any-brace-pair): Add HERE parameter to function call.
205 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
206 Narrow to parameter HERE, in place of being called narrowed.
207 (c-remove-stale-state-cache): Extra parameter HERE in place of
208 narrowing. Check there's an open brace in the cache before
209 searching for its match.
210 (c-invalidate-state-cache-1): Add HERE parameter to function call.
211 (c-parse-state-1): Don't narrow here for 'forward strategy,
212 instead passing extra parameter HERE to several functions.
213 Remove 'BOD strategy.
214
215 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
216
217 * emacs-lisp/package.el (describe-package-1): Tell what archive is
218 used to install the package.
219
220 2013-02-06 Glenn Morris <rgm@gnu.org>
221
222 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
223 if we can't get user input. (Bug#6567)
224
225 * startup.el (command-line): If simple.el is missing,
226 test and warn about for some possible causes.
227
228 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
229
230 * cus-start.el (all): Add ns-use-native-fullscreen.
231
232 2013-02-05 Glenn Morris <rgm@gnu.org>
233
234 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
235
236 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
237 Fix directory creation in fallback case.
238
239 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
240
241 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
242 (vc-update-change-log): Use dolist.
243
244 2013-02-04 Chong Yidong <cyd@gnu.org>
245
246 * thingatpt.el: Rewrite the URL detection routines, absorbing some
247 code from ffap.el.
248 (thing-at-point-beginning-of-url-regexp): New var.
249 (thing-at-point-uri-schemes): Update list of URI schemes.
250 (thing-at-point-url-regexp): Variable deleted.
251 (thing-at-point-markedup-url-regexp): Disallow newlines.
252 (thing-at-point-newsgroup-regexp)
253 (thing-at-point-newsgroup-heads)
254 (thing-at-point-default-mail-uri-scheme): New variables.
255 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
256 method to find the possible bounds of the URI at point.
257 New optional argument to find ill-formed URIs.
258 (thing-at-point-url-at-point): Rewrite. New arguments for finding
259 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
260 the scheme-adding heuristics from ffap-url-at-point.
261 (thing-at-point--bounds-of-well-formed-url): New function.
262 Do parens matching to decide whether to include parens in the URI
263 (Bug#9153).
264
265 * ffap.el: Require thingatpt.
266 (ffap-url-at-point): Delegate URI detection to thing-at-point.
267 All URI-valid characters are now recognized (Bug#5673).
268 (ffap-string-at-point): Use use-region-p.
269 (ffap-url-regexp): Extra character is handled by thing-at-point.
270 (ffap-string-at-point-mode-alist): Allow parentheses.
271 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
272 Convert to aliases; code moved to thingatpt.el.
273 (ffap-gnus-hook): Use setq-local.
274
275 2013-02-04 Glenn Morris <rgm@gnu.org>
276
277 * emacs-lisp/ert.el (ert--explain-format-atom):
278 Don't try to print non-characters as characters. (Bug#13543)
279
280 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
281
282 * net/tramp.el (tramp-debug-message): Extend function exclude list.
283 (tramp-backtrace): New defun.
284 (tramp-handle-insert-file-contents): Use `visit' when inserting
285 the local copy.
286
287 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
288 Use `remote-file-name-inhibit-cache'.
289
290 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
291
292 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
293 (bug#13614).
294
295 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
296 current-load-list (bug#13366).
297
298 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
299
300 * progmodes/compile.el (compilation-error-regexp-alist-alist):
301 Identify g++ template instantiation trace. (Bug#12287)
302 (compilation-mode-hook, compilation-start-hook)
303 (compilation-window-height): Simplify docstrings. (Bug#13379)
304
305 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
306
307 * mouse.el (mouse-drag-track): Always deactivate the mark before
308 running the final event's command since that command is in charge of
309 activating the mark if needed (bug#13523).
310
311 2013-02-02 Juri Linkov <juri@jurta.org>
312
313 * replace.el (perform-replace): Move let-bindings of isearch-*
314 variables deeper to the loop that searches for the next match.
315 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
316 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
317 (Bug#13579)
318
319 * isearch.el (isearch-search-fun-default): Check for null
320 first element of isearch-cmds as a precaution when it's used
321 with inactive isearch.
322
323 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
324
325 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
326 error when buffer in question is narrowed so position 1 is out of
327 visible part.
328
329 2013-02-02 Glenn Morris <rgm@gnu.org>
330
331 * textmodes/remember.el (remember-clipboard): Doc fix.
332
333 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
334
335 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
336 properties (bug#13179).
337
338 2013-02-02 Juri Linkov <juri@jurta.org>
339
340 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
341 instead of hard-coded default face `match'. (Bug#9438)
342
343 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
344
345 * vc/vc-arch.el (vc-arch-registered):
346 * vc/vc-bzr.el (vc-bzr-registered):
347 * vc/vc-cvs.el (vc-cvs-registered):
348 * vc/vc-git.el (vc-git-registered):
349 * vc/vc-hg.el (vc-hg-registered):
350 * vc/vc-mtn.el (vc-mtn-registered):
351 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
352 (Bug#13139)
353
354 * info.el (Info-next-reference, Info-prev-reference): Add numeric
355 prefix argument. (Bug#11656)
356
357 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
358
359 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
360
361 2013-02-01 Glenn Morris <rgm@gnu.org>
362
363 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
364 if the backend is known not to support it.
365
366 * imenu.el (imenu-default-create-index-function):
367 Tweak infinite loop test to check for forward motion as well as none.
368
369 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
370
371 * net/soap-client.el (soap-invoke): Encode the string for
372 `url-request-data' as UTF-8.
373 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
374
375 2013-02-01 Glenn Morris <rgm@gnu.org>
376
377 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
378
379 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
380
381 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
382
383 * net/tramp.el (tramp-tramp-file-p): Comment check for
384 `string-as-unibyte'. The function does not exist on XEmacs, and
385 likely we need another approach.
386
387 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
388 `tramp-gw-*' variables are bound.
389
390 2013-01-31 Glenn Morris <rgm@gnu.org>
391
392 * files.el (basic-save-buffer-2): Choose coding system for
393 writing the file before backing it up, to reduce delay between
394 backing up and writing the new version. (Bug#13522)
395
396 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
397
398 * simple.el (cycle-spacing): New command.
399 (just-one-space): Use it.
400
401 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
402
403 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
404 (opascal-newline-always-indents): Remove custom.
405 (opascal-tab, opascal-newline): Remove commands.
406 (opascal-new-comment-line): Insert "\n" instead of calling newline.
407 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
408 (opascal-save-match-data): Remove, use save-match-data instead.
409 (opascal-save-state): Use with-silent-modifications.
410
411 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
412 (bug#13585).
413
414 2013-01-30 Juri Linkov <juri@jurta.org>
415
416 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
417 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
418 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
419
420 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
421
422 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
423 column if we're just deleting the backslashes.
424 (makefile-fill-paragraph): Use eolp.
425
426 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
427
428 * autorevert.el (auto-revert-use-notify): Fix docstring.
429
430 2013-01-30 Leo Liu <sdl.web@gmail.com>
431
432 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
433
434 2013-01-30 Glenn Morris <rgm@gnu.org>
435
436 * mouse.el (mouse-drag-line): Avoid pushing same event onto
437 unread-command-events twice in some cases. This tries to implement
438 the 2012-07-26 changes in a different way. (Bug#13560)
439
440 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
441
442 * progmodes/python.el
443 (python-pdbtrack-comint-output-filter-function): Enhancements on
444 stacktrace detection. (thanks @gnovak)
445
446 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
447
448 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
449 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
450 Use defvar-local.
451 (jit-lock-register): Use setq-local.
452
453 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
454
455 * calc-units.el (math-default-units-table): Remove initial value.
456 (calc-convert-units): Treat expressions where all the units cancel as
457 if they didn't have units.
458
459 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
460
461 * net/tramp.el (tramp-process-connection-type): Fix docstring.
462 (tramp-completion-reread-directory-timeout): Fix type.
463 (tramp-connection-min-time-diff): New defcustom.
464
465 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
466
467 2013-01-30 Glenn Morris <rgm@gnu.org>
468
469 * imenu.el (imenu-default-create-index-function):
470 Put back a version of the infinite loop test removed 2013-01-23.
471
472 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
473
474 * progmodes/python.el (python-shell-parse-command):
475 Find python-shell-interpreter with modified environment.
476
477 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
478
479 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
480
481 2013-01-29 Alan Mackenzie <acm@muc.de>
482
483 Amend to fontify /regexp/s in actions correctly.
484 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
485 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
486 are no longer included.
487 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
488 What used to be these variables without "-line" in the name.
489 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
490 (c-awk-non-arith-op-bra-re): Now also matches {.
491 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
492 "return", and "case".
493 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
494 by /.
495 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
496 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
497
498 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
499
500 * autorevert.el (auto-revert-use-notify):
501 Use `custom-initialize-default' for initialization. (Bug#13583)
502
503 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
504
505 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
506 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
507 in `tramp-file-name-handler'.
508 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
509 compatibility.
510 (tramp-compute-multi-hops): Check, whether
511 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
512
513 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
514
515 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
516 (bug#13297).
517
518 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
519
520 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
521 checks made superfluous by the \_< operator.
522 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
523 temporarily) broken indentation.
524 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
525 Highlight nested constants, too. \_< broke that.
526
527 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
528
529 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
530 instead of "\\b".
531
532 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
533
534 * autorevert.el (auto-revert-handler): Notifications which result
535 from a saved file shall not be taken into account. (Bug#13557)
536
537 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
538
539 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
540 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
541 (lisp-mode): Pass t for it. (Bug#13556)
542
543 2013-01-25 Alan Mackenzie <acm@muc.de>
544
545 AWK Mode: Fix indentation bug at top level. Bug #12274.
546
547 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
548 just before CASE 5D.
549
550 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
551
552 * net/socks.el (socks-nslookup-host): Use string-to-number.
553
554 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
555
556 * autorevert.el (auto-revert-remote-files)
557 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
558 (auto-revert-notify-enabled, auto-revert-use-notify)
559 (auto-revert-notify-watch-descriptor-hash-list)
560 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
561 (auto-revert-notify-event-descriptor)
562 (auto-revert-notify-event-action)
563 (auto-revert-notify-event-file-name): Doc fix.
564 (global-auto-revert-mode): Reorder checks.
565 (auto-revert-notify-rm-watch): Respect changed values of
566 `auto-revert-notify-watch-descriptor-hash-list'.
567 (auto-revert-notify-add-watch): Check for
568 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
569 `inotify-add-watch'. Watch `default-directory' instead of
570 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
571 has a changed meaning now. (Bug#13540)
572 (auto-revert-notify-handler): Change implementation wrt events
573 returning from a directory.
574 (auto-revert-handler): Reorder implementation for checks of remote
575 files.
576 (auto-revert-buffers): Fix parentheses error.
577
578 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
579
580 * progmodes/python.el: Enhancements to header documentation about
581 skeletons. (Bug#5716)
582
583 * imenu.el (imenu-default-create-index-function): Remove useless
584 infinite loop check. (Bug#13438)
585
586 2013-01-25 Alan Mackenzie <acm@muc.de>
587
588 Fix a bug in the state cache mechanism. Refactor this a bit.
589
590 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
591 `cache-pos' element from the return value.
592 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
593 buffer to enable proper searching from beyond HERE. Amend the
594 test for detecting the sought brace pair. Amend the value written
595 to the "brace desert cache" when the brace isn't found.
596 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
597 and several other variables analogously.
598 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
599 parameter to a locally calculated variable.
600 (c-parse-state-1): Change the calling conventions to the two
601 defuns involving `cache-pos'.
602
603 2013-01-25 Chong Yidong <cyd@gnu.org>
604
605 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
606
607 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
608
609 * paren.el (show-paren-function): Make sure to set 'priority and
610 'face only if the overlay does exist.
611
612 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
613
614 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
615
616 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
617 basic attributes.
618 (tramp-sh-handle-set-file-acl): Improve error checking.
619
620 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
621
622 * doc-view.el (doc-view-display): Force mode line update until all
623 document is converted. Suggested by Stefan Monnier (Bug#13164).
624
625 2013-01-23 Bastien Guerry <bzg@gnu.org>
626
627 * paren.el (show-paren-function): Make sure an overlay exists
628 before trying to delete it. Also use `pos' as a position only
629 when it is an integer.
630
631 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
632
633 * play/gametree.el (gametree-break-line-here): Use point-marker.
634
635 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
636
637 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
638 Mark descriptive parts with `display' property.
639
640 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
641
642 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
643 New variable to map standard dict names to hunspell ones.
644 (ispell-set-spellchecker-params): Make sure specific dict names
645 are used for standard dicts with hunspell.
646
647 2013-01-21 Tassilo Horn <tsdh@gnu.org>
648
649 * textmodes/reftex-cite.el (reftex-format-citation): Add format
650 chars for note (%N) and url (%U).
651 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
652
653 2013-01-21 Juri Linkov <juri@jurta.org>
654
655 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
656 in addition to existing separate binding `meta f10' in `global-map'.
657 (Bug#13484)
658
659 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
660
661 Improve XEmacs compatibility.
662
663 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
664
665 * net/tramp-adb.el (top): Require `time-date'.
666 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
667 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
668 Use `tramp-file-name-handler'.
669 (tramp-adb-maybe-open-connection):
670 Use `tramp-compat-set-process-query-on-exit-flag'.
671
672 * net/tramp-sh.el (tramp-sh-handle-file-acl):
673 Use `tramp-compat-funcall'.
674
675 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
676 `tramp-compat-funcall'.
677
678 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
679
680 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
681 reimplementation using "adb shell command ..." instead of running
682 remote shell interactively.
683
684 2013-01-20 Glenn Morris <rgm@gnu.org>
685
686 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
687 Add native profiler menu entries.
688
689 * profiler.el (profiler-running-p): New function.
690 (profiler-cpu-profile): Use profiler-running-p.
691 (profiler-report-mode-map): Add some more menu entries.
692
693 2013-01-19 Glenn Morris <rgm@gnu.org>
694
695 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
696 fixes 2012-12-07 change. (Bug#13499)
697
698 2013-01-19 Leo Liu <sdl.web@gmail.com>
699
700 * dired.el (dired-get-marked-files): Prune erroneous values due to
701 last change. (Bug#13152)
702
703 2013-01-19 Glenn Morris <rgm@gnu.org>
704
705 * progmodes/etags.el (tags-table-check-computed-list):
706 Preserve point in tags buffer. (Bug#13412)
707
708 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
709
710 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
711 Chong Yidong <cyd@gnu.org>
712
713 * image-mode.el (image-next-file, image-previous-file):
714 New commands (Bug#8453).
715 (image-mode-map): Bind them to n and p.
716 (image-mode--images-in-directory): New helper function.
717
718 2013-01-19 Chong Yidong <cyd@gnu.org>
719
720 * image-mode.el (image-mode-fit-frame): Add a frame argument.
721 Suggested by Drew Adams (Bug#7730). Handle window decorations;
722 save and restore the old window configuration.
723
724 2013-01-18 Leo Liu <sdl.web@gmail.com>
725
726 * progmodes/js.el: Tweak autoload cookie for alias.
727
728 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
729
730 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
731 buffer local, again. This was lost with the fix on 2013-01-12.
732
733 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
734
735 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
736 order to support several eshell buffers in parallel.
737
738 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
739
740 * autorevert.el (auto-revert-use-notify): In the :set function, do
741 not modify `kill-buffer-hook'.
742 (auto-revert-notify-rm-watch):
743 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
744 (auto-revert-notify-add-watch): Do not call
745 `auto-revert-notify-rm-watch', but add it to a buffer local
746 `kill-buffer-hook'.
747
748 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
749
750 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
751 call to `eval' rather than a backquoted lambda.
752
753 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
754
755 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
756 to return an explicit nil.
757 (advice--remove-function): Change accordingly.
758
759 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
760 the use of nadvice.el.
761
762 * progmodes/which-func.el (which-function): Silence imenu errors
763 (bug#13433).
764
765 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
766
767 * progmodes/sql.el: (sql-imenu-generic-expression):
768 (sql-mode-font-lock-object-name): Match schema qualified names.
769 (sql-connect): Use string keys.
770 (sql-product-interactive): Wait for interpreter prompt.
771 (sql-comint-oracle): Set process coding based on NLS_LANG.
772
773 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
774
775 * progmodes/sql.el (sql-output-to-send): Remove, unused.
776 (sql-interactive-remove-continuation-prompt):
777 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
778
779 2013-01-14 Leo Liu <sdl.web@gmail.com>
780
781 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
782 (Bug#13420)
783
784 2013-01-14 Glenn Morris <rgm@gnu.org>
785
786 * progmodes/compile.el (compilation-error-regexp-alist-alist):
787 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
788
789 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
790
791 * progmodes/python.el (python-nav-end-of-statement):
792 Fix cornercase when handling multiline strings.
793
794 2013-01-13 Richard Stallman <rms@gnu.org>
795
796 * mail/sendmail.el (mail-position-on-field): Add doc string.
797
798 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
799 Get current message boundaries and pass them to
800 message-forward-make-body-mime. Minor style changes.
801
802 2013-01-13 Eli Zaretskii <eliz@gnu.org>
803
804 * cus-start.el (all): Avoid warnings about
805 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
806
807 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
808
809 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
810
811 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
812
813 * jit-lock.el (jit-lock-debug-mode): New minor mode.
814 (jit-lock--debug-fontifying): New var.
815 (jit-lock--debug-fontify): New function.
816 * subr.el (condition-case-unless-debug): Don't prevent catching the
817 error, just let the debbugger run.
818 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
819 timer code and don't drop errors silently.
820
821 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
822
823 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
824 `permanent-local' property.
825 (auto-revert-notify-handler): Use `file-equal-p'.
826
827 2013-01-12 Eli Zaretskii <eliz@gnu.org>
828
829 * autorevert.el (auto-revert-notify-handler): Fix filtering of
830 file notification by ACTION. For filtering by file name, compare
831 only the non-directory part of the file name.
832
833 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
834
835 * autorevert.el: Use cl-lib instead of cl.
836
837 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
838 (vc-bzr-checkin): Use it.
839 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
840 will preserve match-data.
841
842 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
843
844 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
845 (js--declaration-keyword-re): New var.
846 (js--multi-line-declaration-indentation): New function.
847 (js--proper-indentation): Use it.
848
849 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
850
851 * calc/calc.el (calc-highlight-selections-with-faces)
852 (calc-dispatch):
853 * comint.el (comint-history-isearch-message):
854 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
855 * ffap.el (ffap-string-at-point-region, ffap-next)
856 (ffap-string-at-point, ffap-string-around)
857 (ffap-copy-string-as-kill, ffap-highlight-overlay)
858 (ffap-literally):
859 * font-lock.el (font-lock-keywords-alist)
860 (font-lock-removed-keywords-alist):
861 * help-mode.el (help-xref-symbol-regexp):
862 * info.el (Info-find-emacs-command-nodes):
863 * international/mule.el (add-to-coding-system-list):
864 * isearch.el (isearch-message-function, isearch-fail-pos):
865 * misearch.el (multi-isearch-next-buffer-function):
866 * newcomment.el (comment-box):
867 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
868 (pr-setting-database):
869 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
870 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
871 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
872 (pike-font-lock-keywords-3):
873 * progmodes/compile.el (compile):
874 * progmodes/etags.el (tags-table-files)
875 (tags-table-files-function, tags-included-tables-function):
876 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
877 (gdb-restore-windows):
878 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
879 (ps-n-up-filling-database):
880 * server.el (server-buffer, server-log):
881 * simple.el (newline, delete-backward-char, delete-forward-char)
882 (minibuffer-history-isearch-message, kill-line, track-eol)
883 (temporary-goal-column):
884 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
885 (flyspell-default-deplacement-commands):
886 * textmodes/ispell.el (ispell-accept-output):
887 * textmodes/sgml-mode.el (html-tag-help):
888 * vc/compare-w.el (compare-ignore-whitespace)
889 (compare-ignore-case, compare-windows-dehighlight):
890 * vc/diff.el (diff):
891 * whitespace.el (whitespace-point)
892 (whitespace-font-lock-refontify, whitespace-bob-marker)
893 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
894
895 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
896
897 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
898 (auto-revert-notify-rm-watch): Ignore errors.
899 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
900 inotify, and '(size last-write-time) for w32notify.
901 Set buffer-local `auto-revert-use-notify' to nil when adding a file
902 watch fails - this is a fallback to the file modification check.
903 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
904 (auto-revert-notify-event-action)
905 (auto-revert-notify-event-file-name): New defuns.
906 (auto-revert-notify-handler): Use them. Implement first
907 plausibility checks.
908 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
909
910 2013-01-11 Julien Danjou <julien@danjou.info>
911
912 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
913 max are almost equal. Also return the correct value for V which is
914 already between 0 and 1.
915
916 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
917
918 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
919
920 2013-01-11 Eli Zaretskii <eliz@gnu.org>
921
922 * autorevert.el (auto-revert-notify-rm-watch)
923 (auto-revert-notify-add-watch): Fix typos in w32notify function
924 names.
925
926 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
927
928 * autorevert.el (auto-revert-notify-enabled): Move up.
929 (auto-revert-use-notify): New defcustom.
930 (auto-revert-mode, global-auto-revert-mode)
931 (auto-revert-notify-add-watch, auto-revert-handler)
932 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
933 `auto-revert-notify-enabled'.
934
935 2013-01-10 Elias Pipping <pipping@exherbo.org>
936
937 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
938 * doc-view.el (doc-view-document->bitmap):
939 Use doc-view-single-page-converter-function instead of
940 single-page-converter arg; adjust callers.
941
942 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
943
944 * progmodes/which-func.el (which-function): Understand Semantic's use
945 of overlays in imenu--index-alist.
946
947 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
948
949 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
950 (Man-man-k-use-anchor): New var.
951 (Man-parse-man-k): New function.
952 (Man-completion-table): Use it.
953 (man): Flush the completion cache between uses.
954
955 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
956
957 * autorevert.el: Add file watch support.
958 (auto-revert-notify-enabled): New defconst.
959 (auto-revert-notify-watch-descriptor-hash-list)
960 (auto-revert-notify-watch-descriptor)
961 (auto-revert-notify-modified-p): New defvars.
962 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
963 (auto-revert-notify-handler): New defuns.
964 (auto-revert-mode, global-auto-revert-mode): Remove file watches
965 when mode is disabled.
966 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
967 (auto-revert-buffers): Add file watches for active buffers.
968
969 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
970
971 * cus-start.el (toplevel): Only allow float values for
972 scroll-up-aggressively and scroll-down-aggressively.
973 Allow any number for line-spacing.
974
975 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
976
977 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
978 (doc-view-pdf->png-converter-function): Use mupdf if available.
979 (doc-view-djvu->png-converter-function)
980 (doc-view-ps->png-converter-function): Remove.
981 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
982 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
983 (doc-view-already-converted-p): Adjust accordingly.
984 (doc-view-mode-p): Simplify.
985 (doc-view-enlarge): Use setq-local.
986 (doc-view-pdf->png-converter-ghostscript)
987 (doc-view-djvu->png-converter-ddjvu)
988 (doc-view-pdf->png-converter-mupdf): Rework to call
989 doc-view-start-process directly.
990 (doc-view-pdf/ps->png): Simplify accordingly.
991 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
992 (doc-view-document->bitmap): Rename from doc-view-document->png.
993 (doc-view-convert-current-doc): Merge pdf and djvu cases.
994 (doc-view-set-slice-from-bounding-box): Fix completion table.
995 (doc-view-mode): Use add-hook for after-revert-hook.
996
997 2013-01-10 Glenn Morris <rgm@gnu.org>
998
999 * emacs-lisp/authors.el (authors-ignored-files)
1000 (authors-valid-file-names, authors-renamed-files-alist):
1001 Add some more entries.
1002
1003 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1004
1005 * image-mode.el (image-mode-winprops): Don't throw away the fallback
1006 `t' pseudo-window entry.
1007
1008 2013-01-10 Alan Mackenzie <acm@muc.de>
1009
1010 Fix bugs in the c-parse-state mechanism. Reuse some markers
1011 instead of continually generating new ones.
1012
1013 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1014 (c-state-old-cpp-end-marker): New variables.
1015 (c-append-lower-brace-pair-to-state-cache): Start a backward
1016 search for "}" definitively outside CPP constructs.
1017 (c-remove-stale-state-cache): Inform the caller of a need to
1018 search back for a brace pair in certain circumstances.
1019 (c-state-maybe-marker): New macro.
1020 (c-parse-state): Reuse markers when appropriate.
1021
1022 2013-01-10 Glenn Morris <rgm@gnu.org>
1023
1024 * simple.el (execute-extended-command): Doc fix.
1025 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
1026
1027 2013-01-10 Chong Yidong <cyd@gnu.org>
1028
1029 * faces.el (read-face-name): Doc fix.
1030
1031 2013-01-10 Roland Winkler <winkler@gnu.org>
1032
1033 * emacs-lisp/crm.el: Allow any regexp for separators.
1034 (crm-default-separator): All spaces around the default comma separator.
1035 (crm--completion-command): New macro.
1036 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1037 (crm-complete-and-exit): Handle non-single-char separators.
1038
1039 2013-01-09 Elias Pipping <pipping@lavabit.com>
1040
1041 * doc-view.el: Add support for DjVu (bug#13164).
1042 (doc-view-djvu->png-converter-function): New config var.
1043 (doc-view-single-page-converter-function, doc-view--image-type)
1044 (doc-view--image-file-extension): New vars.
1045 (doc-view-mode): Initialize them.
1046 (doc-view-goto-page): Use them.
1047 (doc-view-mode-p): Add support for ddjvu.
1048 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1049 (doc-view-set-up-single-converter): New funs.
1050 (doc-view-pdf/ps->png): Extend for djvu.
1051 (doc-view-document->png): Rename from doc-view-pdf->png.
1052 (doc-view-convert-current-doc): Handle djvu.
1053 (doc-view-insert-image, doc-view-display)
1054 (doc-view-already-converted-p): Don't hardcode png.
1055 (doc-view-set-doc-type): Recognize djvu docs.
1056
1057 2013-01-09 Elias Pipping <pipping@lavabit.com>
1058
1059 * doc-view.el: Add support for mupdf converter (bug#13164).
1060 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1061 (doc-view-ps->png-converter-function): New config vars.
1062 (doc-view-pdf->png-converter-ghostscript)
1063 (doc-view-ps->png-converter-ghostscript)
1064 (doc-view-pdf->png-converter-mupdf): New functions.
1065 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1066
1067 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1068
1069 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1070 first in session cache: When `tramp-own-remote-path' is in
1071 `tramp-remote-path', the remote path is only set in the session
1072 cache.
1073
1074 2013-01-09 Glenn Morris <rgm@gnu.org>
1075
1076 * emacs-lisp/trace.el (trace-function-foreground)
1077 (trace-function-background): Doc fix.
1078
1079 2013-01-09 Juri Linkov <juri@jurta.org>
1080
1081 * international/mule-cmds.el (read-char-by-name): Move let-binding
1082 of completion-ignore-case around completing-read to fix regression
1083 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1084 `string-match-p' using the nil value of `case-fold-search' and
1085 `completion-ignore-case' in `completion-pcm--all-completions'.
1086 (Bug#12615).
1087
1088 2013-01-09 Glenn Morris <rgm@gnu.org>
1089
1090 * progmodes/compile.el (compilation-parse-errors):
1091 Fix typo. (Bug#13369)
1092
1093 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1094
1095 * comint.el (comint-send-input): Check size of buffer before
1096 waiting for process output, in case already accepted. (Bug#13290)
1097
1098 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1099
1100 Spelling fixes.
1101 * net/tramp-adb.el (tramp-adb-get-toolbox):
1102 Fix misspelling of 'unknown'.
1103
1104 2013-01-08 Juri Linkov <juri@jurta.org>
1105
1106 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1107 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1108 Use underline style wave on terminals that support it. (Bug#13000)
1109
1110 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1111
1112 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1113 the predicate returns nil.
1114
1115 * simple.el: Use lexical-binding.
1116 (primitive-undo): Use pcase.
1117 (minibuffer-history-isearch-push-state): Use a closure.
1118
1119 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1120
1121 * simple.el (primitive-undo): Move from undo.c.
1122
1123 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1124
1125 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1126 (cvs-mode-remove-handled): Use it (bug#13380).
1127
1128 * emacs-lisp/nadvice.el (advice--tweak): New function.
1129 (advice--remove-function, advice--subst-main): Use it.
1130
1131 * emacs-lisp/advice.el: Update commentary.
1132
1133 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
1134
1135 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1136 Remove spurious entry.
1137
1138 2013-01-08 Glenn Morris <rgm@gnu.org>
1139
1140 * net/tramp.el (tramp-default-host-alist): Add :version.
1141
1142 2013-01-08 Juri Linkov <juri@jurta.org>
1143
1144 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1145 single completion. (Bug#12456)
1146 (info--manual-names): Expand node completions into an explicit list
1147 before appending it to another list. Filter out internal buffers
1148 with the leading space in the buffer name. (Bug#10771)
1149
1150 2013-01-08 Juri Linkov <juri@jurta.org>
1151
1152 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
1153 that defaults to the Top node.
1154 (Info-goto-node, Info-read-node-name): Doc fix to mention that
1155 the short format (FILENAME) goes to the Top node.
1156 (Info-build-node-completions): Rename arg `file' to `filename'.
1157 (Bug#13365)
1158
1159 2013-01-07 Bastien Guerry <bzg@gnu.org>
1160
1161 * menu-bar.el (menu-bar-search-documentation-menu):
1162 Use `apropos-user-option' and fix the help message.
1163
1164 2013-01-07 Bastien Guerry <bzg@gnu.org>
1165
1166 * apropos.el (apropos-do-all): Update docstring.
1167 (apropos-user-option-button): New face.
1168 (apropos-user-option): Rename from `apropos-variable' and update
1169 docstring.
1170 (apropos-variable): Rewrite, now show all variables by default.
1171 (apropos-print): Mention "User option" instead of "Variable" when
1172 printing doc for user options. (Bug#13276)
1173
1174 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
1175
1176 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1177 Handle filename correctly, when parsing "source -> target" symlink
1178 output.
1179 (tramp-adb-handle-set-file-times): New defun.
1180
1181 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
1182
1183 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1184 advice list when the interactive-spec of ad-Advice-* changes.
1185
1186 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1187
1188 * wid-edit.el (widget-default-get): Work for inlined elements.
1189 (Bug#12670)
1190
1191 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
1192
1193 * net/tramp.el (tramp-default-host-alist): New defcustom.
1194 (tramp-find-host): Use it.
1195 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
1196 `eshell-directory-change-hook'.
1197
1198 * net/tramp-adb.el (top): Add adb specific entry in
1199 `tramp-default-host-alist'.
1200 (tramp-adb-file-name-host): Remove function.
1201 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1202 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1203
1204 * net/tramp-sh.el: Move eshell integration code to tramp.el.
1205
1206 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1207
1208 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1209
1210 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
1211
1212 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
1213 consist of more than one digit.
1214 (tramp-adb-file-name-handler-alist):
1215 Use `tramp-handle-file-exists-p' consistently.
1216 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1217 (tramp-adb-handle-file-exists-p): Remove function.
1218 (tramp-adb-file-name-host): New defun.
1219 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1220 Use it.
1221 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1222
1223 2013-01-06 Chong Yidong <cyd@gnu.org>
1224
1225 * vc/vc.el (vc-next-action): Detect buffer modifications
1226 conflicting with locking VCS operation (Bug#11490).
1227
1228 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1229
1230 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
1231
1232 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1233 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1234
1235 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1236
1237 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1238 parsing of ls output using regular expression (handle filenames
1239 with spaces). Use virtual device number.
1240 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1241 cleanup).
1242
1243 2013-01-04 Daiki Ueno <ueno@gnu.org>
1244
1245 * epg.el: Silence byte-compiler warnings.
1246 (epg--start): Use delete-char instead of delete-backward-char.
1247 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1248
1249 2013-01-04 Daiki Ueno <ueno@gnu.org>
1250
1251 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1252 Suggested by Eli Zaretskii <eliz@gnu.org>.
1253
1254 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
1255
1256 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1257 non-negative integers. Otherwise, the default values are used.
1258 (tramp-convert-file-attributes): Convert uid and gid to integers.
1259
1260 2013-01-04 Glenn Morris <rgm@gnu.org>
1261
1262 * term.el (term-handle-colors-array): Ensure face attributes
1263 are fully specified, not nil. (Bug#13337)
1264
1265 * term.el (term-default-fg-color, term-default-bg-color):
1266 Fix custom type.
1267
1268 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1269 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1270 rather than 'jka-compr being loaded. (Bug#13338)
1271
1272 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1273
1274 * icomplete.el (icomplete-completions):
1275 Honor icomplete-prospects-height once more following
1276 2012-11-29 changes. (Bug#13224)
1277
1278 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1279
1280 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1281 of called-interactively-p as well (bug#13237).
1282
1283 * view.el (view--enable, view--disable): Rename from view-mode-enable
1284 and view-mode-disable and assume it's called from view-mode.
1285 (view-mode-enable, view-mode-disable): Redefine as obsolete
1286 compatibility layer above view-mode.
1287 (view-mode-enter): Call `view-mode'.
1288
1289 * files.el (after-find-file): Call `view-mode'.
1290
1291 * doc-view.el (doc-view-scale-internally): New var.
1292 (doc-view-enlarge, doc-view-insert-image): Obey it.
1293
1294 2013-01-03 Daiki Ueno <ueno@gnu.org>
1295
1296 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1297 exist. (Bug#13344)
1298
1299 2013-01-03 Glenn Morris <rgm@gnu.org>
1300
1301 * mail/rmail.el (rmail-set-header-1): Ignore case.
1302 Handle multi-line headers. (Bug#13330)
1303
1304 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1305 Handle paragraph starting at beginning of buffer.
1306
1307 * subr.el (eval-after-load): Don't purecopy the form, so that it
1308 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1309
1310 * emacs-lisp/byte-run.el (defun): Place cl declarations
1311 after any interactive spec. (Bug#13265)
1312
1313 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1314
1315 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1316 defun. Don't check for DECL if DOCSTRING isn't a string.
1317 (defun): Likewise.
1318
1319 2013-01-02 Glenn Morris <rgm@gnu.org>
1320
1321 * eshell/em-cmpl.el (eshell-pcomplete):
1322 More thoroughly imitate pcomplete. (Bug#13293)
1323
1324 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1325 Return nil for empty path elements. (Bug#13296)
1326
1327 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
1328
1329 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1330 order to improve efficiency (Based on Daniel Colascione's
1331 <dancol@dancol.org> patch). (Bug#13182)
1332
1333 2013-01-02 Glenn Morris <rgm@gnu.org>
1334
1335 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1336
1337 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1338
1339 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1340 neither DOCSTRING nor DECL was given. (Bug#13316)
1341
1342 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
1343
1344 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1345 `error' call.
1346 (tramp-do-copy-or-rename-file): Ignore errors when calling
1347 `set-file-extended-attributes'.
1348
1349 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1350 Add handler for `file-acl'.
1351 (tramp-smb-handle-file-acl): New defun.
1352
1353 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
1354
1355 * calc/README: Mention ISO 8601 week-numbering dates.
1356
1357 2013-01-01 Martin Rudalics <rudalics@gmx.at>
1358
1359 * view.el (view-mode-enable): New argument run-view-mode-hook.
1360 Run view-mode-hook only when it's non-nil (Bug#13315).
1361 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1362 argument t.
1363
1364 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
1365
1366 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1367 (No device connected, invalid device name). (Bug #13299)
1368
1369 2012-12-31 Martin Rudalics <rudalics@gmx.at>
1370
1371 * window.el (window-resizable--p): Rename to window-resizable-p.
1372 (window-resize-no-error): New function.
1373
1374 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1375 broken in fix from 2012-12-28.
1376
1377 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
1378
1379 * subr.el (special-form-p): Don't signal errors on undef aliases.
1380
1381 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
1382
1383 * calc/calc-forms.el (math-parse-date): Try using
1384 `math-parse-iso-date' when it looks like it might be needed.
1385 Allow times of 24:00.
1386 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
1387 of 24:00.
1388
1389 2012-12-30 Glenn Morris <rgm@gnu.org>
1390
1391 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
1392 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
1393 (rmail-summary-displayed, rmail-summary): Declare.
1394 (mairix-rmail-display): Just require rmail.
1395
1396 2012-12-30 Chong Yidong <cyd@gnu.org>
1397
1398 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
1399 check for the tarball contents.
1400
1401 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
1402
1403 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
1404 tarfile content listings (Bug#13136).
1405
1406 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
1407
1408 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1409 Insert the undecoded text of the message being forwarded. (Bug#9521)
1410
1411 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
1412
1413 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
1414 integers, if they are real numbers. (Bug#13282)
1415
1416 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
1417 Return `t' on success.
1418
1419 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1420 Add handler for `set-file-selinux-context'.
1421
1422 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
1423
1424 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
1425 (tramp-sh-handle-set-file-acl): Return `t' on success.
1426
1427 2012-12-29 Eli Zaretskii <eliz@gnu.org>
1428
1429 * files.el (backup-buffer-copy, basic-save-buffer-2):
1430 If set-file-extended-attributes fails, fall back on set-file-modes
1431 instead of signaling an error. (Bug#13298)
1432 (basic-save-buffer): Likewise.
1433
1434 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1435
1436 * progmodes/python.el: Support other commands triggering
1437 python-indent-line so indentation cycling continues to work.
1438 (python-indent-trigger-commands): New defcustom.
1439 (python-indent-line): Use it.
1440
1441 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1442
1443 * progmodes/python.el (python-shell-send-region): Add blank lines
1444 for non sent code so backtraces remain correct.
1445
1446 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1447
1448 * progmodes/python.el: Remove cl dependency.
1449 (python-syntax-count-quotes): Replace incf call.
1450 (python-fill-string): Replace setf call.
1451
1452 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
1453
1454 * info.el (info-other-window): New arg, for consistency with info.
1455
1456 2012-12-28 Martin Rudalics <rudalics@gmx.at>
1457
1458 * mail/rmail.el (rmail-maybe-display-summary):
1459 Rewrite (Bug#13066).
1460
1461 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
1462
1463 * epg.el (epg--start): Modify process-environment locally.
1464
1465 2012-12-28 Daiki Ueno <ueno@gnu.org>
1466
1467 * epg.el: Support pinentry-curses.
1468 Suggested by Werner Koch in
1469 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
1470 (epg-agent-file, epg-agent-mtime): New variable.
1471 (epg--start): Record the modified time of gpg-agent socket file,
1472 to restore Emacs frame after pinentry-curses termination.
1473 (epg-wait-for-completion): Restore Emacs frame here.
1474
1475 2012-12-27 Juri Linkov <juri@jurta.org>
1476
1477 * info.el (Info-file-completions): New variable.
1478 (Info-read-node-name-1): Complete node names in the Info file
1479 when a file name is given. Call `Info-build-node-completions'
1480 with a file name.
1481 (Info-build-node-completions): Add new arg `file'. When it is
1482 non-nil, visit it in a temporary buffer and cache its completions in
1483 `Info-current-file-completions'. Move most of the function body to
1484 `Info-build-node-completions-1'.
1485 (Info-build-node-completions-1): New function with the body from
1486 `Info-build-node-completions'. (Bug#12456)
1487
1488 2012-12-27 Juri Linkov <juri@jurta.org>
1489
1490 * frame.el (frame-maximization-style): Remove user option.
1491 (cycle-frame-maximized): Remove function.
1492 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
1493 (toggle-frame-fullscreen): New command bound to <f11> instead of
1494 `toggle-frame-maximized'.
1495 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
1496
1497 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
1498
1499 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
1500
1501 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1502 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1503 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1504 for `file-accessible-directory-p'. (Bug#13275)
1505
1506 2012-12-27 Sam Steingold <sds@gnu.org>
1507
1508 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
1509 continuations, see <http://stackoverflow.com/questions/3582436>.
1510
1511 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
1512
1513 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
1514 "module" and "def" to have indentation before them.
1515 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
1516
1517 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
1518
1519 2012-12-27 Alan Mackenzie <acm@muc.de>
1520
1521 Speed up fontification where there's large brace blocks.
1522 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
1523 to a call of c-beginning-of-decl-1.
1524
1525 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1526
1527 * comint.el (comint-adjust-window-point): New function.
1528 (comint-postoutput-scroll-to-bottom):
1529 Call comint-adjust-window-point (Bug#13248).
1530
1531 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
1532
1533 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
1534 Rakefile regexp.
1535 (auto-mode-alist): Associate .gemspec files with ruby-mode
1536 (https://bugs.ruby-lang.org/issues/5453).
1537
1538 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
1539
1540 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
1541 Suppress coloring, if possible (required for BusyBox based systems like
1542 CyanogenMod).
1543 (tramp-adb-handle-file-attributes)
1544 (tramp-adb-handle-insert-directory)
1545 (tramp-adb-handle-file-name-all-completions): Use it.
1546 (tramp-adb-get-toolbox): New defun. Check for remote shell
1547 implementation (BusyBox or Toolbox).
1548
1549 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
1550
1551 * startup.el (initial-buffer-choice): Allow function as value
1552 (Bug#13251).
1553 (command-line-1): Handle case where initial-buffer-choice
1554 specifies a function.
1555 * server.el (server-execute): Handle case where
1556 initial-buffer-choice specifies a function.
1557
1558 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1559
1560 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
1561 its own function.
1562 (smtpmail-try-auth-methods): Forget the user name/password if the
1563 login is unsuccessful (bug#12424).
1564
1565 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
1566
1567 * notifications.el (notifications-notify): Protect body with
1568 `with-demoted-errors'.
1569
1570 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1571 Check properties of remote device. Restart connection, if there is a
1572 change.
1573
1574 2012-12-21 Chong Yidong <cyd@gnu.org>
1575
1576 * sort.el (sort-subr): Doc fix (Bug#13056).
1577
1578 2012-12-21 Bastien Guerry <bzg@gnu.org>
1579
1580 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
1581
1582 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
1583
1584 * simple.el (process-file): Overwrite stderr file, if exists.
1585
1586 2012-12-21 Daiki Ueno <ueno@gnu.org>
1587
1588 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
1589 (epg-error): Set `error-message' property.
1590
1591 2012-12-21 Chong Yidong <cyd@gnu.org>
1592
1593 * international/mule-cmds.el (read-char-by-name): Signal an error
1594 if the user does not supply a valid character (Bug#13177).
1595
1596 * simple.el (transpose-subr-1): Preserve marker positions by
1597 changing the insertion sequence (Bug#13122).
1598
1599 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1600
1601 * simple.el (kill-region): Deactivate mark even for empty regions
1602 (Bug#13169).
1603
1604 2012-12-21 Chong Yidong <cyd@gnu.org>
1605
1606 * help-fns.el (describe-variable): Make sure we get the right
1607 buffer name (Bug#13105). Suggested by Kelly Dean.
1608
1609 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
1610
1611 * comint.el (comint-redirect-previous-input-string): New variable.
1612 (comint-redirect-setup, comint-redirect-cleanup)
1613 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
1614 (comint-redirect-preoutput-filter): Fix verbose message.
1615
1616 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
1617
1618 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
1619 is too long for Tramp. See discussion in
1620 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
1621
1622 * progmodes/compile.el (compilation-start): Remove line escape
1623 template.
1624
1625 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
1626
1627 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
1628 Adjust comment.
1629
1630 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
1631
1632 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
1633 following non-comment text (bug#13207).
1634 (lm-header-multiline): Continuation lines need to be indented more than
1635 the first line.
1636 (lm-homepage): New function.
1637 (lm-with-file): Don't be confused if narrowing is in effect.
1638
1639 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1640
1641 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
1642 very beginning of a hunk (e.g. killing the first line).
1643
1644 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
1645
1646 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
1647 and text properties from returned ACL string.
1648 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
1649 for "setfacl" command.
1650
1651 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
1652
1653 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
1654 `tramp-cleanup-this-connection', when the process has died.
1655 (Bug#13151)
1656
1657 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1658
1659 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
1660
1661 2012-12-17 Kevin Ryde <user42@zip.com.au>
1662
1663 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
1664
1665 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
1666
1667 Add support for preserving ACL entries of files.
1668
1669 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
1670 `set-file-acl' handlers.
1671
1672 * net/tramp-adb.el (tramp-adb-handle-copy-file):
1673 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1674
1675 * net/tramp-compat.el (tramp-compat-copy-file):
1676 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1677
1678 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1679 Add `file-acl' and `set-file-acl' handlers.
1680 (tramp-gvfs-handle-copy-file):
1681 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1682 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
1683 New defuns.
1684
1685 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1686 Add `file-acl' and `set-file-acl' handlers.
1687 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
1688 (tramp-sh-handle-set-file-acl): New defuns.
1689 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
1690 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1691
1692 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1693 Add `file-acl' and `set-file-acl' handlers.
1694 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
1695
1696 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1697
1698 * help-macro.el (make-help-screen): Instead of switch-to-buffer
1699 use pop-to-buffer with NORECORD argument t. As buffer name, use
1700 *Metahelp* with a leading space (Bug#13190).
1701
1702 2012-12-16 Romain Francoise <romain@orebokech.com>
1703
1704 * files.el (file-extended-attributes)
1705 (set-file-extended-attributes): New functions.
1706 (backup-buffer): Use them to handle both SELinux context and ACL
1707 entries.
1708 (backup-buffer-copy): Work with an alist of extended attributes,
1709 rather than an SELinux context.
1710 (basic-save-buffer-2): Ditto.
1711
1712 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
1713
1714 * battery.el (battery-bsd-apm): New function.
1715
1716 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
1717
1718 * calc/calc.el (calc-standard-date-formats): Adjust one of the
1719 standard date formats.
1720
1721 2012-12-15 Juri Linkov <juri@jurta.org>
1722
1723 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
1724 `isearch-insert-char-by-name'.
1725 (with-isearch-suspended): New defmacro with body mostly from
1726 `isearch-edit-string' except the part that sets
1727 `isearch-new-string' and `isearch-new-message'.
1728 (isearch-edit-string): Use new macro `with-isearch-suspended' with
1729 body that sets `isearch-new-string' and `isearch-new-message'.
1730 (isearch-insert-char-by-name): New command.
1731 * international/mule-cmds.el (read-char-by-name): Let-bind
1732 `enable-recursive-minibuffers' to t.
1733 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
1734
1735 2012-12-15 Juri Linkov <juri@jurta.org>
1736
1737 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
1738 (Bug#13175)
1739
1740 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
1741
1742 * dired-x.el (dired-guess-shell-command): Put colon at the end of
1743 the prompt. (Bug#13045)
1744
1745 2012-12-14 Glenn Morris <rgm@gnu.org>
1746
1747 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
1748 Try to include filename in non-bytecomp warning. (Bug#13132)
1749
1750 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
1751
1752 Fix permissions bugs with setgid directories etc. (Bug#13125)
1753 * files.el (backup-buffer): Don't rely on 9th output of
1754 file-attributes, as it's now a placeholder. Instead, use the new
1755 optional arg of file-ownership-preserved-p.
1756 (file-ownership-preserved-p): New optional arg GROUP.
1757 Fix mishandling of setuid directories that would cause this
1758 function to return t when it should have returned nil.
1759 Document what happens if the file does not exist, and when
1760 it's not known whether the ownership will be preserved.
1761 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
1762 Likewise.
1763 (tramp-get-local-gid): Use group-gid for integer, as that's
1764 faster and more reliable.
1765
1766 2012-12-14 Julien Danjou <julien@danjou.info>
1767
1768 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
1769 Update keywords list, data type and PL/pgSQL.
1770
1771 2012-12-14 Dave Abrahams <dave@boostpro.com>
1772
1773 * vc/ediff-util.el (ediff-buffer-type): New function.
1774 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
1775 rather than taking it as as argument.
1776 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
1777
1778 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
1779
1780 * json.el: Add pretty-print option (bug#12634).
1781 (json-encoding-separator, json-encoding-default-indentation)
1782 (json--encoding-current-indentation, json-encoding-pretty-print)
1783 (json-encoding-lisp-style-closings): New vars.
1784 (json--with-indentation): New macro.
1785 (json-encode-hash-table, json-encode-alist, json-encode-plist)
1786 (json-encode-array): Use it to obey json-encoding-pretty-print.
1787 (json-pretty-print-buffer, json-pretty-print): New commands.
1788
1789 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
1790
1791 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1792 Extract `ruby-syntax-propertize-expansions'.
1793 (ruby-syntax-propertize-expansions): Only change syntax on
1794 certain string delimiters, to punctuation. This way the common
1795 functions like forward-word and thing-at-point still work.
1796 (ruby-match-expression-expansion): Improve readability.
1797 (ruby-block-contains-point): New function.
1798 (ruby-add-log-current-method): Handle several edge cases.
1799
1800 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
1801
1802 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
1803 unload-feature finishes even when aborting an ongoing edebug session.
1804 Also, do not worry about edebug-mode, unload-feature takes care of it.
1805
1806 2012-12-13 Andreas Schwab <schwab@suse.de>
1807
1808 * net/tls.el (tls-program): Update customize type.
1809
1810 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
1811
1812 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
1813 (edebug-setup-hook, cl-read-load-hooks): Use it.
1814 (edebug-unload-function): New function. (Bug#13163)
1815
1816 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
1817
1818 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
1819 Otherwise, there could be errors in autoloading. (Bug#13151)
1820
1821 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
1822
1823 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
1824 sequences.
1825
1826 2012-12-13 Alan Mackenzie <acm@muc.de>
1827
1828 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
1829 * progmodes/cc-engine.el (c-backward-comments): Add code to work
1830 around `forward-comment' not recognizing ^M as whitespace.
1831
1832 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
1833
1834 * progmodes/python.el (python-skeleton-class)
1835 (python-skeleton-def): Do not add space after defun name.
1836
1837 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1838
1839 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
1840 (cl--symbol-function): Remove (now that funbound is like nil).
1841
1842 2012-12-12 Glenn Morris <rgm@gnu.org>
1843
1844 * button.el (button--area-button-p): Fix typo.
1845
1846 2012-12-12 Sam Steingold <sds@gnu.org>
1847
1848 * frame.el (frame-maximization-style): New user option.
1849 (toggle-frame-maximized): Toggle frame maximization according to
1850 `frame-maximization-style', bound to <f11>.
1851 (cycle-frame-maximized): Cycle between all maximization styles and
1852 non-maximized frame, bound to shift-<f11>.
1853
1854 2012-12-12 David Cadé <codename68@gmail.com>
1855
1856 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
1857
1858 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
1859
1860 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
1861 (eieio-override-prin1): Don't quote kewords and booleans.
1862 (object-write) <eieio-default-superclass>: Don't put closing parens
1863 on new line, avoid needless empty lines, align values that are objects
1864 with the slot keyword (instead of beginning on the same line).
1865 (eieio-list-prin1): Align value with slot keyword; increase
1866 eieio-print-depth before printing members of the list.
1867
1868 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1869
1870 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
1871 a display text-property.
1872 (report-emacs-bug-hook): Don't bother deleting it any more.
1873
1874 * hilit-chg.el (highlight-save-buffer-state): Delete.
1875 Use with-silent-modifications instead.
1876 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
1877
1878 * button.el: Handle buttons in display text-properties.
1879 (button--area-button-p, button--area-button-string):
1880 Use (STRING . STRING-POS) representation instead of just STRING.
1881
1882 2012-12-11 Eli Zaretskii <eliz@gnu.org>
1883
1884 * makefile.w32-in (compile4-SH): Fix a typo that caused term
1885 subdirectory be skipped.
1886
1887 2012-12-11 Glenn Morris <rgm@gnu.org>
1888
1889 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
1890
1891 * progmodes/f90.el (f90-line-continued, f90-indent-region):
1892 Treat preprocessor lines embedded in continuations like comments.
1893 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
1894
1895 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
1896
1897 * calc/calc.el (calc-standard-date-formats): Add more date
1898 formats.
1899 * calc/calc-forms.el (math-parse-iso-date): New function.
1900 (math-parse-date): Use `math-parse-iso-date' when appropriate.
1901 (math-parse-iso-date-validate): Add extra error checking.
1902 (calc-date-notation): Add ability to access new date formats.
1903
1904 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1905
1906 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
1907 font-lock as well as when there's no text-property.
1908
1909 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
1910
1911 * hi-lock.el: Refine the choice of default face.
1912 (hi-lock-keyword->face): New function. Use it wherever we used
1913 cadadadr instead.
1914 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
1915 (hi-lock--last-face): Remove var.
1916 (hi-lock--unused-faces): New var to replace it.
1917 (hi-lock-read-face-name): Use/maintain it.
1918 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
1919 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
1920 if it has another face.
1921
1922 2012-12-10 Eli Zaretskii <eliz@gnu.org>
1923
1924 * subr.el (w32notify-handle-event): New function.
1925 (inotify-handle-event): Doc fix.
1926
1927 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1928
1929 * subr.el (inotify-event-p, inotify-handle-event): New functions.
1930
1931 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
1932
1933 * simple.el (just-one-space): Doc fix.
1934
1935 2012-12-10 Eli Zaretskii <eliz@gnu.org>
1936
1937 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
1938
1939 2012-12-10 Le Wang <l26wang@gmail.com>
1940
1941 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
1942 narrowed buffer (bug#12361).
1943
1944 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
1945
1946 * vc/vc-hooks.el (vc-state): Doc fix.
1947
1948 2012-12-10 Glenn Morris <rgm@gnu.org>
1949
1950 * mail/rmail.el (rmail-maybe-display-summary):
1951 Preserve buffer, in case select-window changes it. (Bug#13066)
1952
1953 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1954
1955 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
1956 cl-load-hook where they belong.
1957
1958 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1959
1960 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
1961
1962 2012-12-09 Eli Zaretskii <eliz@gnu.org>
1963
1964 Parallelize byte compilation on MS-Windows.
1965 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
1966 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
1967 (WINS_BASIC): Define as concatenation of the above.
1968 (compile): Subdivide into 4 separate and independent jobs that can
1969 be run in parallel.
1970 (compile0-CMD, compile0-SH): New targets for compiling
1971 COMPILE_FIRST files, which are prerequisites for the rest of the
1972 byte-compilation.
1973 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
1974 New targets for parallel compilation with cmd.exe.
1975 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
1976 compiling under a Unixy shell.
1977
1978 2012-12-09 Chong Yidong <cyd@gnu.org>
1979
1980 * simple.el (set-mark-default-inactive): Delete this
1981 accidentally-introduced option.
1982 (set-mark-command, exchange-point-and-mark): Remove calls.
1983
1984 2012-12-09 Glenn Morris <rgm@gnu.org>
1985
1986 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
1987 Respect a defcustom's :set function, if appropriate. (Bug#109)
1988 (eval-defun): Doc fix.
1989
1990 2012-12-08 Juri Linkov <juri@jurta.org>
1991
1992 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
1993 (Info-fontify-node, Info-bookmark-make-record): Remove the
1994 file extension from Info-current-file (Bug#13016).
1995
1996 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1997
1998 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
1999 point, still provide some default.
2000 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2001 names, since we don't use it right now. Actually return the list.
2002 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2003
2004 2012-12-07 Chong Yidong <cyd@gnu.org>
2005
2006 * novice.el (disabled-command-function): Remove a spurious help
2007 xref (Bug#13043). Suggested by Kelly Dean.
2008
2009 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2010 syntax is specified (Bug#13025).
2011
2012 * info.el (Info-set-mode-line): Remove the file extension from
2013 Info-current-file if there is one (Bug#13016).
2014
2015 2012-12-07 Glenn Morris <rgm@gnu.org>
2016
2017 * mail/rmail.el (rmail-mime-decoded): New permanent local.
2018 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2019 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2020 and rmail-mime-decoded. (Bug#9841)
2021
2022 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
2023 (batch-unrmail, unrmail): Doc fixes.
2024 (unrmail): Respect unrmail-mbox-format.
2025 * mail/rmail.el (rmail-mbox-format): New option.
2026 (rmail-show-message-1): Respect rmail-mbox-format.
2027
2028 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2029
2030 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2031
2032 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2033
2034 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2035 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2036 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2037 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2038 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2039 (cl-progv): Don't rely on dynamic scoping to find the body.
2040 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2041 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2042 (cl-declaim): Use backquotes.
2043 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2044 Use "cl--" prefix for the object's tag.
2045
2046 * ses.el: Use advice-add/remove.
2047 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2048 (copy-region-as-kill, yank): Use advice-add.
2049 (ses-unload-function): Use advice-remove.
2050
2051 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2052
2053 * button.el: Make them work in header-lines (bug#12817).
2054 (button-map): Add bindings for header-line and mode-line use.
2055 (button-get, button-put, button-label): `button' may now be a string.
2056 (button-activate): Don't make it a defsubst.
2057 (button--area-button-p, button--area-button-string): New functions.
2058 (make-text-button): Fix the return value when `beg' was a string.
2059 (push-button): Handle the mode-line case.
2060
2061 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2062
2063 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2064 (sql-signum): Remove. Use `cl-signum' instead.
2065 (sql-read-passwd): Remove; use read-passwd instread.
2066 (sql-get-login-ext): Use read-string.
2067 (sql-get-login): Use dolist and pcase.
2068 (sql--completion-table): Rename from sql-try-completion.
2069 Use complete-with-action.
2070 (sql-mode): Don't change abbrev-all-caps globally.
2071 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2072 (sql-postgres-completion-object): Initialize vars in their `let'.
2073 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2074 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2075 (sql-comint-interbase): Use a single append, without setq.
2076 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2077
2078 * hi-lock.el: Rework the default face and the serialize regexp code.
2079 (hi-lock--auto-select-face-defaults): Remove.
2080 (hi-lock-string-serialize-serial): Remove.
2081 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2082 make weak.
2083 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2084 equal string.
2085 (hi-lock-set-pattern): Adjust accordingly.
2086 (hi-lock--regexps-at-point): Simplify accordingly.
2087 (hi-lock--auto-select-face-defaults): Remove.
2088 (hi-lock--last-face): New var to replace it.
2089 (hi-lock-read-face-name): Rewrite (bug#11095).
2090 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2091
2092 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
2093
2094 * net/tramp.el (tramp-replace-environment-variables):
2095 Hide compiler warning.
2096 (tramp-file-name-for-operation): Remove `executable-find',
2097 `start-process', `call-process' and `call-process-region'.
2098
2099 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
2100
2101 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2102 compatibility.
2103
2104 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2105
2106 2012-12-06 Chong Yidong <cyd@gnu.org>
2107
2108 * ffap.el (ffap-replace-file-component): Fix typo.
2109
2110 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2111
2112 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2113 fix open-paren-like token test (bug#12785).
2114
2115 2012-12-06 Glenn Morris <rgm@gnu.org>
2116
2117 * mail/rmailsum.el (rmail-new-summary): Tweak for
2118 rmail-maybe-display-summary changing buffer. (Bug#13066)
2119
2120 2012-12-06 Juri Linkov <juri@jurta.org>
2121
2122 * info.el (Info-fontify-node): Don't hide the last newline.
2123 (Bug#12272)
2124
2125 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2126
2127 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2128 so as to enable message-read-from-minibuffer to expand mail aliases.
2129
2130 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2131
2132 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2133 the `intangible' property.
2134 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2135
2136 2012-12-05 Deniz Dogan <deniz@dogan.se>
2137
2138 * net/rcirc.el (rcirc-urls): Update documentation.
2139 (rcirc-condition-filter): New function.
2140 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2141 and exclude consecutive duplicate URLs (Bug#6082).
2142
2143 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
2144
2145 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2146 Check return code of copy command.
2147
2148 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
2149 Use group `tramp'. Add version.
2150
2151 2012-12-05 Chong Yidong <cyd@gnu.org>
2152
2153 * ffap.el (ffap-url-regexp): Don't require matching at front of
2154 string (Bug#4952).
2155 (ffap-url-p): If only a substring matches, return that.
2156 (ffap-url-at-point): Use the return value of ffap-url-p.
2157 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
2158 (find-file-at-point, dired-at-point, dired-at-point-prompter)
2159 (ffap-guess-file-name-at-point): Likewise.
2160 (ffap-replace-file-component): Fix typo.
2161
2162 * info.el (info-display-manual): Add existing Info buffers, whose
2163 files may not be in Info-directory-list, to the completion.
2164 (info--manual-names): New helper function.
2165
2166 2012-12-05 Glenn Morris <rgm@gnu.org>
2167
2168 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2169 New functions, for detecting and resolving conflicts. (Bug#10709)
2170
2171 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
2172
2173 * hi-lock.el (hi-lock-auto-select-face): New user variable.
2174 (hi-lock-auto-select-face-defaults): New buffer local variable.
2175 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2176 (hi-lock-unface-buffer): Prompt user with useful defaults.
2177 With prefix arg, unhighlight all hi-lock patterns in buffer.
2178
2179 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2180
2181 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2182
2183 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
2184
2185 * Makefile.in (TRAMP_SRC):
2186 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2187
2188 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2189
2190 * net/tramp-adb.el: New package.
2191
2192 2012-12-04 Chong Yidong <cyd@gnu.org>
2193
2194 * terminal.el: Move to obsolete/.
2195
2196 * longlines.el: Move to obsolete/.
2197
2198 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2199 Remove code referring to longlines mode.
2200
2201 2012-12-03 Juri Linkov <juri@jurta.org>
2202
2203 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2204
2205 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2206
2207 * textmodes/ispell.el (ispell-init-process)
2208 (ispell-start-process, ispell-internal-change-dictionary):
2209 Make sure personal dictionary name is expanded after initial
2210 `default-directory' value. Use expanded strings for
2211 keep/restart checks and for value (Bug#13019).
2212
2213 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2214
2215 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2216
2217 2012-12-03 Leo Liu <sdl.web@gmail.com>
2218
2219 * files.el (dir-locals-read-from-file): Check file non-empty
2220 before reading. (Bug#13038)
2221
2222 2012-12-03 Glenn Morris <rgm@gnu.org>
2223
2224 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2225 Remove any version extension before checking filename. (Bug#13006)
2226 (jka-compr-compression-info-list): Belated :version bump.
2227
2228 2012-12-03 Chong Yidong <cyd@gnu.org>
2229
2230 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2231
2232 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2233 (buffer-menu): Doc fix (Bug#12294).
2234
2235 2012-12-03 Roland Winkler <winkler@gnu.org>
2236
2237 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2238 of diary-show-all-entries in the diary buffer (Bug#12994).
2239
2240 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
2241
2242 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2243 "<STDIN>". This is binary safe.
2244
2245 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2246
2247 * calc/calc-forms.el (math-absolute-from-iso-dt)
2248 (math-date-to-iso-dt, math-parse-iso-date-validate)
2249 (math-iso-dt-to-date): New functions.
2250 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2251 (math-fd-isoweekday): New variables.
2252 (calc-date-notation, math-parse-standard-date, math-format-date)
2253 (math-format-date-part): Add support for more formatting codes.
2254
2255 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2256
2257 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2258 current buffer's file name when called interactively (Bug#12488).
2259
2260 2012-12-02 Juri Linkov <juri@jurta.org>
2261
2262 * info.el (info-display-manual): Don't clobber an existing Info
2263 buffer (Bug#10770). Add completion (Bug#10771).
2264
2265 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2266
2267 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2268 before using it for comparison (Bug#5297).
2269
2270 2012-12-01 Jari Aalto <jari.aalto@cante.net>
2271
2272 * textmodes/css-mode.el (css-current-defun-name): New function.
2273 (css-mode): Use it.
2274
2275 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2276 (html-mode): Use it.
2277
2278 2012-12-01 Chong Yidong <cyd@gnu.org>
2279
2280 Modularize add-log-current-defun (Bug#2224).
2281 Suggested by Jari Aalto.
2282
2283 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2284 (add-log-current-defun): Move mode-specific code to other files.
2285 (add-log-lisp-like-modes, add-log-c-like-modes)
2286 (add-log-tex-like-modes): Variables deleted.
2287
2288 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2289 (lisp-mode-variables): Use it.
2290
2291 * progmodes/cc-mode.el (c-common-init):
2292 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2293 add-log-current-defun-function.
2294
2295 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2296 (m4-mode): Use it.
2297
2298 * progmodes/perl-mode.el (perl-current-defun-name): New.
2299 (perl-mode): Use it.
2300
2301 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2302 Use lisp-current-defun-name.
2303
2304 * textmodes/tex-mode.el (tex-current-defun-name): New.
2305 (tex-common-initialization): Use it.
2306
2307 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2308 (texinfo-mode): Use it.
2309
2310 2012-12-01 Chong Yidong <cyd@gnu.org>
2311
2312 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2313 * progmodes/autoconf.el (autoconf-mode):
2314 * progmodes/js.el (js-mode):
2315 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2316 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2317 * progmodes/perl-mode.el (perl-mode):
2318 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2319 * textmodes/css-mode.el (css-mode):
2320 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2321 (sgml-tags-invisible, sgml-guess-indent):
2322 * textmodes/tex-mode.el (tex-common-initialization)
2323 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2324 (doctex-mode, plain-tex-mode, latex-mode):
2325 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2326
2327 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2328
2329 * vc/vc-hg.el (vc-hg-next-revision):
2330 Ensure use of default "tip" output format. (Bug#6968)
2331
2332 2012-12-01 Kim F. Storm <storm@cua.dk>
2333
2334 * startup.el (fancy-startup-tail): Add a clickable link
2335 (Bug#2176).
2336
2337 2012-12-01 Chong Yidong <cyd@gnu.org>
2338
2339 * startup.el (fancy-startup-tail): Improve the message about
2340 auto-save files (Bug#2176).
2341
2342 * files.el (recover-session): Improve the descriptive message, and
2343 use substitute-command-keys.
2344
2345 2012-12-01 Glenn Morris <rgm@gnu.org>
2346
2347 * ido.el (ido-file-internal):
2348 Handle other-window, other-frame for dired. (Bug#13036)
2349
2350 2012-11-30 Glenn Morris <rgm@gnu.org>
2351
2352 * icomplete.el (icomplete-separator): Fix :version.
2353
2354 2012-11-30 Chong Yidong <cyd@gnu.org>
2355
2356 * shell.el (shell): For C-u M-x shell, use an inactive shell
2357 buffer as the default (Bug#1975).
2358 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2359 (shell-mode): Use them to reapply ansi colorization if Shell mode
2360 is re-enabled.
2361
2362 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2363
2364 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2365
2366 2012-11-30 Samuel Bronson <naesten@gmail.com>
2367
2368 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2369 flag to xargs, for compatibility with BSD xargs (Bug#11703).
2370
2371 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2372
2373 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2374 by move-to-column (Bug#3234).
2375
2376 2012-11-30 Chong Yidong <cyd@gnu.org>
2377
2378 * longlines.el (longlines-wrap-line, longlines-encode-region):
2379 Preserve text properties (Bug#1425).
2380
2381 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2382
2383 * vc/vc.el (vc-register): Allow registering a file which is
2384 already registered with a different backend (Bug#10589).
2385
2386 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
2387 Stefan Monnier <monnier@iro.umontreal.ca>
2388
2389 * icomplete.el: Change separator; add ido-style commands.
2390 (icomplete-show-key-bindings): Remove custom var.
2391 (icomplete-get-keys): Remove function.
2392 (icomplete-forward-completions, icomplete-backward-completions):
2393 New commands.
2394 (icomplete-minibuffer-map): New var.
2395 (icomplete-minibuffer-setup): Use it.
2396 (icomplete-exhibit): Don't delay if the list of completions is known.
2397 (icomplete-separator): New custom.
2398 (icomplete-completions): Use it.
2399 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
2400 (minibuffer-force-complete-and-exit): New command.
2401 (minibuffer--complete-and-exit): New function extracted from
2402 minibuffer-complete-and-exit.
2403 (minibuffer-complete-and-exit): Use it.
2404
2405 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
2406 error message when the file doesn't exist (bug#12974).
2407
2408 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2409
2410 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
2411
2412 2012-11-29 Glenn Morris <rgm@gnu.org>
2413
2414 * files.el (hack-dir-local-variables): Warn if try to set
2415 coding via dir-locals, since it doesn't work. (Bug#7169)
2416
2417 Add desktop support for restoring vc-dir buffers. (Bug#10606)
2418 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
2419 Set buffer-local value of desktop-save-buffer.
2420 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
2421 New functions.
2422 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
2423 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
2424
2425 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
2426 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
2427 Doc fix.
2428 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
2429 Doc fixes.
2430
2431 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
2432
2433 * calc/calc-forms.el (calc-date-notation): Fix regexp
2434 used to find time codes. Fix symbol for seconds.
2435
2436 2012-11-27 Glenn Morris <rgm@gnu.org>
2437
2438 * emacs-lisp/derived.el (derived-mode-make-docstring):
2439 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
2440
2441 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2442
2443 * textmodes/table.el (table-insert): Don't use `symbol-name' on
2444 lexically scoped variables (bug#13005).
2445
2446 2012-11-27 Glenn Morris <rgm@gnu.org>
2447
2448 * vc/vc-hooks.el (vc-mistrust-permissions):
2449 Default to t, to avoid data-loss. (Bug#11490)
2450
2451 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
2452
2453 * progmodes/python.el (python-indent-guess-indent-offset):
2454 If indentation is guessed make python-indent-offset buffer-local.
2455
2456 Fix Imenu regression.
2457 * progmodes/python.el (python-nav-beginning-of-defun):
2458 Fix forward movement when statement(s) separates point from defun.
2459 (python-imenu-prev-index-position): New function.
2460
2461 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2462
2463 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
2464
2465 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
2466 Don't set buffer-file-type. Return nil. (Bug#12989)
2467
2468 2012-11-27 Glenn Morris <rgm@gnu.org>
2469
2470 * hippie-exp.el (hippie-expand-try-functions-list):
2471 Re-autoload it. (Bug#12982)
2472
2473 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2474
2475 * descr-text.el (describe-char-padded-string):
2476 Call internal-char-font only on GUI frames. (Bug#11964)
2477
2478 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
2479
2480 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
2481 and obsoletion message.
2482
2483 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2484
2485 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
2486 the constructs to keep outside of the `cl-block' (bug#12977).
2487
2488 2012-11-27 Chong Yidong <cyd@gnu.org>
2489
2490 * mouse.el (mouse-drag-line): Even if the line is not draggable,
2491 keep reading until we get the up-event anyway, in order to process
2492 the up-event for mouse-1-click-follows-link (Bug#12971).
2493
2494 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
2495
2496 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
2497 base function is not yet defined (bug#12965).
2498 (ad-activate-advised-definition): Use ad-compile-function.
2499 (ad-activate): Use cond.
2500
2501 2012-11-25 Leo Liu <sdl.web@gmail.com>
2502
2503 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
2504 (Bug#12979)
2505
2506 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2507
2508 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
2509 reftex-section-info-function in order to be compatible with
2510 Texinfo integration.
2511
2512 * textmodes/reftex.el (reftex-section-pre-regexp)
2513 (reftex-section-post-regexp, reftex-section-info-function):
2514 New variable.
2515 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
2516 reftex-section-post-regexp, and reftex-section-info-function in order
2517 to be compatible with Texinfo integration.
2518
2519 * textmodes/reftex-toc.el (reftex-toc-promote-action):
2520 use reftex-section-pre-regexp variable in order to be compatible with
2521 Texinfo integration.
2522
2523 2012-11-25 Chong Yidong <cyd@gnu.org>
2524
2525 * faces.el: Make face-spec-set more analogous to setq.
2526 (face-spec-set): Change the third arg to specify whether this
2527 function is being called via defface, customize, or a third party.
2528 Set the appropriate symbol properties. Clear the override spec if
2529 setting via Custom. Initialize face if necessary. (Bug#4988)
2530 (face-spec-recalc): Allow theme faces to completely replace the
2531 defface spec, in the same way as custom faces (Bug#8454).
2532
2533 * cus-face.el (custom-declare-face): Move face initialization to
2534 face-spec-set.
2535 (custom-theme-set-faces): Don't initialize the face name here, as
2536 that is now done in face-spec-set.
2537
2538 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
2539 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
2540 Simplify by using the new arg to face-spec-set.
2541
2542 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
2543 reset face-override-spec too, and use custom-declare-face.
2544
2545 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
2546
2547 * term/ns-win.el (ns-initialize-window-system): Move creation of
2548 fontsets here (Bug#11964).
2549
2550 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2551
2552 * ses.el (ses-rename-cell): Correct bug on mode-line update after
2553 cell renaming.
2554
2555 2012-11-24 Chong Yidong <cyd@gnu.org>
2556
2557 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
2558 obsolete.
2559
2560 * custom.el (custom-theme-set-variables): Use a topological sort
2561 for ordering by custom dependencies (Bug#12952).
2562 (custom--sort-vars, custom--sort-vars-1): New functions.
2563
2564 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2565
2566 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
2567 lexical-binding (bug#12938).
2568
2569 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
2570
2571 * image-mode.el (image-transform-check-size): Use assertions only
2572 for images of type imagemagick.
2573
2574 Otherwise no error, image-transform-fit-to-{width,height} is
2575 silently ignored, as before. Doc fix.
2576
2577 2012-11-24 Chong Yidong <cyd@gnu.org>
2578
2579 * faces.el (color-defined-p): Doc fix (Bug#12853).
2580
2581 2012-11-24 Juri Linkov <juri@jurta.org>
2582
2583 * dired.el (dired-mark): Add optional arg `interactive'.
2584 Check for `use-region-p' if `interactive' is non-nil.
2585 (dired-unmark, dired-flag-file-deletion): Add optional arg
2586 `interactive'. Call `dired-mark' with the arg `interactive'.
2587 (Bug#10624)
2588
2589 * wdired.el: Revert 2012-10-17 change partly and replace it with
2590 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
2591 (wdired-finish-edit): Add marks for new file names to
2592 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
2593 after `revert-buffer'.
2594 (wdired-do-renames): Remove calls to `dired-remove-file',
2595 `dired-add-file', `dired-add-entry'. (Bug#11795)
2596
2597 2012-11-24 Alan Mackenzie <acm@muc.de>
2598
2599 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
2600
2601 Fix bugs in the state cache. Enhance a debugging mechanism.
2602 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
2603 "brace at column zero" strategy for C++.
2604 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
2605 (c-parse-state-point): New variable.
2606 (c-record-parse-state-state): Record old parse state with
2607 `copy-tree'. Record previous value of point.
2608 (c-debug-parse-state-double-cons): New debugging function.
2609 (c-debug-parse-state): Call the above new function.
2610 (c-toggle-parse-state-debug): Output a confirmatory message.
2611
2612 * progmodes/cc-mode.el (c-before-change, c-after-change):
2613 Call c-invalidate-state-cache from `c-before-change' instead of
2614 `c-after-change'.
2615
2616 2012-11-23 Chong Yidong <cyd@gnu.org>
2617
2618 * find-cmd.el (find-constituents): Add executable, ipath,
2619 readable, samefile, writable, daystart, regextype (Bug#12856).
2620
2621 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2622
2623 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
2624
2625 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
2626
2627 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
2628 definition. This fixes a bootstrap failure.
2629 (calc-gregorian-switch): In menu, put dates before regions.
2630 This is easier to follow, lines up better in the menu, and lets us
2631 coalesce regions that switch at the same time. Give country
2632 names, not "Vatican", as that's better for non-expert users.
2633 Use names that are stable between the date of switch and now, e.g.,
2634 Bohemia and Moravia (which existed then and now) and not
2635 Czechoslovakia (which didn't exist then and doesn't exist now).
2636 What is now the U.S. mostly did not switch at the same time as
2637 Britain, so omit the U.S. Correct spelling of "Britain".
2638 Catholic Switzerland was too much of a mess, so omit it.
2639
2640 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
2641
2642 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
2643 after the variable is changed.
2644
2645 2012-11-21 Daniel Colascione <dancol@dancol.org>
2646
2647 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
2648 in SQL declarations for font-lock.
2649 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
2650
2651 2012-11-21 Glenn Morris <rgm@gnu.org>
2652
2653 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
2654 (face-italic-p): Add optional argument "inherit".
2655
2656 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
2657 Remove -p suffix from names, for consistency with other set-face-*.
2658 (set-face-inverse-video): Fix interactive spec.
2659 * play/gamegrid.el (gamegrid-make-mono-tty-face):
2660 * textmodes/table.el (table--update-cell-face):
2661 Use set-face-inverse-video rather than now obsolete alias.
2662
2663 2012-11-21 Eli Zaretskii <eliz@gnu.org>
2664
2665 * simple.el (line-move): Don't call line-move-partial if
2666 scroll-conservatively is in effect. (Bug#12927)
2667
2668 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2669
2670 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
2671 Fallback on completion-at-point rather than
2672 pcomplete-expand-and-complete, and only if pcomplete actually failed.
2673 (eshell-cmpl-initialize): Setup completion-at-point.
2674
2675 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
2676
2677 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
2678
2679 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
2680
2681 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
2682 are remote, check out-of-band property for both.
2683
2684 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2685
2686 * window.el (switch-to-buffer): Re-add the warning that was lost in the
2687 code rewrite.
2688
2689 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
2690
2691 More minor time fixes.
2692 * calendar/time-date.el: Commentary fix.
2693 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
2694 too much other code depends on (0 0) time stamps.
2695 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
2696 Add a couple of FIXME comments.
2697
2698 Minor cleanup for times as lists of four integers.
2699 * files.el (dir-locals-directory-cache):
2700 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
2701 Doc fixes.
2702 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
2703 * ps-bdf.el (bdf-file-newer-than-time):
2704 Process four-integers time stamps, not two. Doc fixes.
2705
2706 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2707
2708 * uniquify.el (uniquify-managed): Use defvar-local.
2709 (rename-buffer, create-file-buffer): Advise with advice-add.
2710 (uniquify-unload-function): Unadvise accordingly.
2711
2712 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
2713 (trace-buffer): Don't purecopy.
2714 (trace-entry-message, trace-exit-message): Add `context' arg.
2715 (trace--timer): New var.
2716 (trace-make-advice): Adjust for use in nadvice.
2717 Add `context' argument. Delay `display-buffer' via a timer.
2718 (trace-function-internal): Use advice-add.
2719 (trace--read-args): New function.
2720 (trace-function-foreground, trace-function-background): Use it.
2721 (trace-function): Rename to trace-function-foreground and redefine as
2722 an alias to that new name.
2723 (untrace-function, untrace-all): Adjust to the use of nadvice.
2724
2725 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
2726
2727 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
2728
2729 * subr.el (called-interactively-p-functions): New var.
2730 (internal--called-interactively-p--get-frame): New macro.
2731 (called-interactively-p, interactive-p): Rewrite in Lisp.
2732 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
2733 (called-interactively-p-functions): Use it.
2734 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
2735 (called-interactively-p-functions): Use it.
2736 * allout.el (allout-called-interactively-p): Don't assume
2737 called-interactively-p is a subr.
2738
2739 2012-11-20 Glenn Morris <rgm@gnu.org>
2740
2741 * profiler.el (profiler-report-mode-map): Add a menu.
2742 No need to bind `q' because we derive from special-mode.
2743 (profiler-report-find-entry): Handle calls from the menu-bar.
2744
2745 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2746
2747 * emacs-lisp/byte-run.el (defun-declarations-alist):
2748 Allow a compiler-macro to be a lambda expression.
2749
2750 * progmodes/python.el: Use cl-lib. Move var declarations outside of
2751 eval-when-compile.
2752 (python-syntax-context): Add compiler-macro.
2753 (python-font-lock-keywords): Simplify with De Morgan.
2754
2755 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
2756
2757 * files.el (load-file): Require match in minibuffer selection, as was
2758 the case in Emacs-20 before we changed the spec to allow .elc files
2759 (bug#12935).
2760
2761 * json.el: Don't require cl since we don't use it.
2762 * color.el: Don't require cl.
2763 (color-complement): `caddr' -> `nth 2'.
2764
2765 * calendar/time-date.el (time-to-seconds): De-obsolete.
2766
2767 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2768
2769 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
2770 year numbers.
2771 (math-date-to-julian-dt): Adjust the initial approximation for the
2772 year to deal with the new definition of the DATE.
2773
2774 2012-11-19 Daniel Colascione <dancol@dancol.org>
2775
2776 * term/w32-win.el (cygwin-convert-path-from-windows):
2777 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
2778
2779 2012-11-18 Chong Yidong <cyd@gnu.org>
2780
2781 * filecache.el (file-cache--read-list): New function.
2782 (file-cache-add-directory-list, file-cache-add-file-list)
2783 (file-cache-delete-file-list, file-cache-delete-directory-list):
2784 Use it to read a list of files or directories (Bug#12846).
2785 (file-cache-add-file, file-cache-add-directory)
2786 (file-cache-delete-file-list, file-cache-delete-file-regexp)
2787 (file-cache-delete-directory): Print an message.
2788
2789 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
2790
2791 * calc/calc-forms.el (math-date-to-dt): Use integer date when
2792 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
2793
2794 2012-11-18 Glenn Morris <rgm@gnu.org>
2795
2796 * image.el (insert-image, insert-sliced-image): Doc fix.
2797
2798 2012-11-18 Chong Yidong <cyd@gnu.org>
2799
2800 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
2801 (Bug#12810).
2802
2803 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2804
2805 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
2806 response when the target file is in a subdirectory (Bug#12757).
2807
2808 2012-11-18 Chong Yidong <cyd@gnu.org>
2809
2810 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
2811
2812 2012-11-18 Glenn Morris <rgm@gnu.org>
2813
2814 * emacs-lisp/cl-lib.el (face-underline-p):
2815 Use set-face-underline rather than the alias set-face-underline-p.
2816
2817 * window.el (with-temp-buffer-window): Doc fix.
2818 * subr.el (with-output-to-temp-buffer):
2819 Add doc xref to with-temp-buffer-window.
2820
2821 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
2822
2823 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
2824 * calc/calc.el (math-format-date-cache): Declare.
2825
2826 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
2827
2828 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
2829 It also uses January 1, 1 AD as its day number 1.
2830 * calc/calc-forms.el (math-julian-date-beginning)
2831 (math-julian-date-beginning-int): Implement this.
2832
2833 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
2834
2835 * descr-text.el (quail-find-key):
2836 * dired.el (desktop-file-name):
2837 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
2838 * generic-x.el (comint-mode, comint-exec):
2839 * image-dired.el (widget-forward):
2840 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
2841 (speedbar-change-expand-button-char)
2842 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
2843 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
2844 * printing.el (easy-menu-add-item, easy-menu-remove-item)
2845 (widget-field-action, widget-value-set):
2846 * speedbar.el (imenu--make-index-alist):
2847 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
2848 (ring-length, ring-insert):
2849 * vcursor.el (compare-windows-skip-whitespace):
2850 * woman.el (dired-get-filename):
2851 Declare functions.
2852
2853 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
2854
2855 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2856
2857 * calc/calc.el (calc-gregorian-switch): New variable.
2858
2859 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
2860 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
2861 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
2862 (math-leap-year-p): Add option to distinguish between Julian
2863 and Gregorian calendars.
2864 (math-day-number): Use `math-day-in-year' to do the computations.
2865 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
2866 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
2867 to do the computations.
2868 (math-date-to-dt): Use `math-date-to-julian-dt' and
2869 `math-date-to-gregorian-dt' to do the computations.
2870 (calcFunc-weekday, math-format-date-part): Use the new version of
2871 the DATE to determine the weekday.
2872 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
2873 when necessary.
2874
2875 2012-11-17 Eli Zaretskii <eliz@gnu.org>
2876
2877 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
2878 Cygwin; otherwise use 'file:'. (Bug#12914)
2879 (cygwin-convert-path-from-windows): Declare, to avoid
2880 byte-compiler warnings.
2881
2882 2012-11-17 Andreas Politz <politza@fh-trier.de>
2883
2884 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
2885 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
2886 prefix and negative numeric prefix args (Bug#12795).
2887
2888 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
2889
2890 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
2891 Don't signal an error with a score that is too low to add to the
2892 list of top scores. (Bug#12779)
2893
2894 2012-11-17 Chong Yidong <cyd@gnu.org>
2895
2896 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
2897
2898 * filecache.el (file-cache-add-file): Handle relative file name in
2899 the argument (Bug#12694).
2900
2901 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
2902
2903 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
2904
2905 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2906
2907 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
2908
2909 * emacs-lisp/cl-lib.el: Set more meaningful version number.
2910
2911 2012-11-16 Martin Rudalics <rudalics@gmx.at>
2912
2913 * window.el (enlarge-window, shrink-window): Don't mention return
2914 value in doc-string (Bug#12896).
2915 (window--display-buffer): Don't resize frames - it won't work
2916 with all window managers and defeat pop-up-frame-alist.
2917 (display-buffer-alist): In doc-string explain that CONDITION can
2918 be a function and which arguments are passed to it (Bug#12854).
2919 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
2920 expressions (Bug#12854).
2921 (display-buffer): Pass ACTION argument to
2922 display-buffer-assq-regexp.
2923
2924 2012-11-16 Glenn Morris <rgm@gnu.org>
2925
2926 * window.el (fit-frame-to-buffer-bottom-margin)
2927 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
2928
2929 * faces.el (face-underline-p): Use face-attribute-specified-or.
2930
2931 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
2932
2933 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
2934
2935 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2936
2937 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
2938
2939 2012-11-16 Glenn Morris <rgm@gnu.org>
2940
2941 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
2942 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
2943
2944 * faces.el (face-underline-p): Doc fix. Handle :underline being
2945 things other than `t' (a string, a list).
2946 (face-inverse-video-p): Doc fix.
2947 (set-face-underline): Rename it back from set-face-underline-p.
2948 Doc fix. Allow interactive input of values other than t.
2949 (read-face-attribute): Apply formatting to :underline,
2950 since like :box and :stipple it can take list values.
2951
2952 * term.el (ansi-term): Don't let C-x escape-char binding
2953 clobber the more standard C-c binding. (Bug#12842)
2954
2955 * subr.el (set-temporary-overlay-map): Doc fix.
2956
2957 2012-11-16 Martin Rudalics <rudalics@gmx.at>
2958
2959 * window.el (record-window-buffer)
2960 (display-buffer-record-window): When copying the markers to
2961 window-point preserve window-point-insertion-type. (Bug#12588)
2962
2963 2012-11-16 Glenn Morris <rgm@gnu.org>
2964
2965 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
2966 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
2967 Use new names for hooks rather than obsolete aliases.
2968
2969 2012-11-15 Daniel Colascione <dancol@dancol.org>
2970
2971 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
2972 prefix instead of "file:" so that when FILE-NAME begins with "//",
2973 as it does when the target file is on a network share, url-handler
2974 isn't confused.
2975
2976 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2977
2978 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
2979 a preactivated advice from an old advice.el; they're not compatible!
2980
2981 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
2982
2983 * emacs-lisp/nadvice.el (advice--make-interactive-form):
2984 Fix string-spec case.
2985
2986 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
2987
2988 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2989
2990 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
2991 (advice--buffer-local-function-sample): New var.
2992 (advice--set-buffer-local, advice--buffer-local): New functions.
2993 (add-function, remove-function): Use them.
2994
2995 2012-11-15 Drew Adams <drew.adams@oracle.com>
2996
2997 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
2998
2999 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3000
3001 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3002 potential binding of print-gensym to t, and prettify (back)quotes in
3003 case they appear in args's default values (bug#12884).
3004
3005 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3006
3007 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3008 (advice-eval-interactive-spec): New function.
3009 (advice--make-interactive-form): Support around advice (bug#12844).
3010
3011 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
3012
3013 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3014 more strict. Add docstring.
3015 (ruby-expression-expansion-re): Extract from
3016 `ruby-match-expression-expansion'.
3017 (ruby-syntax-propertize-function): After everything else, search
3018 for expansions in string literals, mark their insides as
3019 whitespace syntax and save match data for font-lock.
3020 (ruby-font-lock-keywords): Use the 2nd group from expression
3021 expansion matches.
3022 (ruby-match-expression-expansion): Use the match data saved to the
3023 text property in ruby-syntax-propertize-function.
3024
3025 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3026
3027 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3028 (bug#12879).
3029
3030 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3031
3032 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3033 start/end keyword a bit harder. Works with different values of N.
3034 Add more comments.
3035 (ruby-end-of-block): Update accordingly.
3036
3037 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3038
3039 * woman.el (woman-file-name): Don't mess with unread-command-events
3040 (bug#12861).
3041
3042 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3043 Remove out of date self-require hack.
3044 (ad-do-advised-functions): Use simple `dolist'.
3045 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3046 (ad-advice-definition): Redefine as functions.
3047 (ad-advice-classes): Move before first use.
3048 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
3049 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3050 (ad--defalias-fset): Remove functions.
3051 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3052 (ad-get-orig-definition): Rewrite.
3053 (ad-make-advised-definition-docstring): Change base docstring.
3054 (ad-real-orig-definition): Rewrite.
3055 (ad-map-arglists): Change name of called function.
3056 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3057 (ad-make-advised-definition): Simplify.
3058 (ad-assemble-advised-definition): Tweak for new calling context.
3059 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3060 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3061 function and call ad-activate if needed.
3062 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3063 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3064 (ad-compile-function): Compile ad-Advice-*.
3065 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3066 (ad-start-advice, ad-stop-advice): Remove.
3067
3068 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3069
3070 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3071 period before class method names, not after. Remove handling of
3072 one impossible case. Add comments.
3073
3074 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3075
3076 * emacs-lisp/advice.el: Remove support for freezing.
3077 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3078 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3079 Remove support for `freeze'.
3080
3081 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3082 override the default.
3083 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3084 cl--dotimes/dolist.
3085 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3086 `cl' is loaded.
3087
3088 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3089 from add-advice.
3090 (advice--strip-macro): New function.
3091 (advice--defalias-fset): Use them to handle macros.
3092 (advice-add): Use them.
3093 (advice-member-p): Correctly handle macros.
3094
3095 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3096
3097 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3098 Never font-lock the beginning of singleton class as heredoc.
3099
3100 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3101
3102 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3103
3104 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
3105
3106 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
3107 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3108 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
3109
3110 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
3111
3112 Fix end-of-defun misbehavior.
3113 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3114 python-beginning-of-defun-function. Handle nested defuns
3115 correctly.
3116 (python-nav-end-of-defun): Rename from
3117 python-end-of-defun-function. Ensure forward movement.
3118 (python-info-current-defun): Reimplement to work as intended
3119 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3120 parent defuns as soon as possible.
3121
3122 2012-11-13 Glenn Morris <rgm@gnu.org>
3123
3124 * progmodes/flymake.el (flymake-error-bitmap)
3125 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3126 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3127
3128 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3129
3130 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3131 backward, always stop at indentation. Reverts the change from
3132 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3133
3134 2012-11-13 Glenn Morris <rgm@gnu.org>
3135
3136 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3137 Add ibuffer-filter-by-derived-mode.
3138
3139 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3140 the same name shadowing each other.
3141
3142 * window.el (with-temp-buffer-window): Doc tweak.
3143
3144 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3145
3146 * help.el (temp-buffer-max-height):
3147 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
3148 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
3149
3150 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3151
3152 * emacs-lisp/nadvice.el: New package.
3153 * subr.el (special-form-p): New function.
3154 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
3155 (elp-all-instrumented-list): Remove var.
3156 (elp-not-profilable): Remove elp-wrapper.
3157 (elp-profilable-p): Use autoloadp and special-form-p.
3158 (elp--advice-name): New const.
3159 (elp-instrument-function): Use advice-add.
3160 (elp--instrumented-p): New predicate.
3161 (elp-restore-function): Use advice-remove.
3162 (elp-restore-all, elp-reset-all): Use mapatoms.
3163 (elp-set-master): Use elp--instrumented-p.
3164 (elp--make-wrapper): Rename from elp-wrapper, return a function
3165 suitable for advice-add. Use cl-inf.
3166 (elp-results): Use mapatoms+elp--instrumented-p.
3167 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3168 (debug-function-list): Remove var.
3169 (debug): Rename arg, and then let-bind it explicitly inside.
3170 (debugger-setup-buffer): Rename arg.
3171 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3172 (debugger-frame-number): Adjust to new debug-on-entry setup.
3173 (debug--implement-debug-on-entry): Rename from
3174 implement-debug-on-entry, add argument.
3175 (debugger-special-form-p): Remove, use special-form-p instead.
3176 (debug-on-entry): Use advice-add.
3177 (debug--function-list): New function.
3178 (cancel-debug-on-entry): Use it, along with advice-remove.
3179 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3180 (debugger-list-functions): Use debug--function-list instead of
3181 debug-function-list.
3182 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3183 (ad-special-form-p): Remove, use special-form-p instead.
3184 (ad-set-advice-info): Use add-function and remove-function.
3185 (ad--defalias-fset): Adjust accordingly.
3186
3187 2012-11-10 Glenn Morris <rgm@gnu.org>
3188
3189 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3190 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3191 (report-emacs-bug-create-existing-bugs-buffer)
3192 (report-emacs-bug-parse-query-results)
3193 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3194
3195 * term.el (term-default-fg-color, term-default-bg-color):
3196 Make obsolete, rather than just saying "deprecated" in the doc.
3197
3198 * term.el (term): Rename from `term-face'.
3199 (term-current-face, ansi-term-color-vector)
3200 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3201 Update all users.
3202
3203 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
3204
3205 * server.el (server-create-window-system-frame): Handle Nextstep
3206 specially (Bug#12780).
3207
3208 2012-11-10 Glenn Morris <rgm@gnu.org>
3209
3210 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3211 Unautoload, and make obsolete. (Bug#7449)
3212
3213 2012-11-10 Chong Yidong <cyd@gnu.org>
3214
3215 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3216 rename from diff-remove-trailing-whitespace (Bug#12831).
3217
3218 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3219
3220 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3221 miscompilation of trace.el.
3222
3223 2012-11-10 Glenn Morris <rgm@gnu.org>
3224
3225 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3226
3227 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3228
3229 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3230 (bug#12812).
3231
3232 2012-11-10 Chong Yidong <cyd@gnu.org>
3233
3234 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3235 a defcustom with an appropriate :set function.
3236 (minibuffer-default--in-prompt-regexps): New function.
3237
3238 2012-11-10 Glenn Morris <rgm@gnu.org>
3239
3240 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3241 (define-modify-macro): Doc fixes.
3242
3243 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3244 (gv-define-simple-setter): Update doc of `fix-return'.
3245
3246 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3247
3248 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3249 twice when `fix-return' is set (bug#12813).
3250
3251 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3252 gv-define-simple-setter (bug#12812).
3253
3254 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3255 (bug#12756).
3256
3257 2012-11-10 Glenn Morris <rgm@gnu.org>
3258
3259 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3260
3261 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3262 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3263 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3264 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3265
3266 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3267
3268 2012-11-10 Leo Liu <sdl.web@gmail.com>
3269
3270 * ido.el (ido-set-matches-1): Improve flex matching performance by
3271 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3272
3273 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3274
3275 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3276 (ad--defalias-fset): New function.
3277 (ad-safe-fset): Remove.
3278 (ad-make-freeze-definition): Use cl-letf*.
3279
3280 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3281
3282 * subr.el (dolist): Don't bind VAR in RESULT.
3283
3284 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3285 (fset, documentation): Don't save real def since we don't advise.
3286 (ad-do-advised-functions): Remove problematic `result-form'.
3287 (ad-safe-fset): `ad-real-fset' => `fset'.
3288 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3289 uses CL's dolist internally.
3290 (ad-arglist): Remove unused arg `name'.
3291 (ad-docstring, ad-make-advised-docstring):
3292 `ad-real-documentation' => `documentation'.
3293 (warning-suppress-types): Declare.
3294 (ad-set-arguments): Simple CSE.
3295 (ad-recover-normality): Sanity check.
3296
3297 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3298 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3299
3300 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3301
3302 * ses.el: symbol to coordinate mapping is made by symbol property
3303 `ses-cell'. This means that the same mapping is done for all SES
3304 sheets. That is good enough for cells with standard A1 names, but
3305 not for named cell. So a hash map is added for the latter.
3306 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
3307 (ses-sym-rowcol): Use hashmap for named cell.
3308 (ses-is-cell-sym-p): New defun.
3309 (ses-decode-cell-symbol): New defun.
3310 (ses-create-cell-variable): Add cell to hashmap when name is not
3311 A1-like.
3312 (ses-rename-cell): Check that cell new name is not already in
3313 spreadsheet with the use of ses-is-cell-sym-p
3314 (ses-rename-cell): Use hash map for named cells, but accept also
3315 renaming back to A1-like.
3316
3317 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3318
3319 * emacs-lisp/advice.el: Use new dynamic docstrings.
3320 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3321 Use dynamic-docstring-function instead of ad-advice-info.
3322 (ad--make-advised-docstring): New function extracted from
3323 ad-make-advised-docstring.
3324 (ad-make-advised-docstring): Use it.
3325 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3326 from sql-help.
3327 (sql-help): Use it with dynamic-docstring-function.
3328
3329 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3330
3331 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3332
3333 * files.el (hack-one-local-variable--obsolete): New function.
3334 (hack-one-local-variable): Use it for obsolete settings.
3335
3336 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3337 the new name.
3338
3339 * progmodes/js.el (js--filling-paragraph): New var.
3340 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3341 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3342 less sneaky.
3343
3344 2012-11-08 Julien Danjou <julien@danjou.info>
3345
3346 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3347 `auto-mode-alist' (Bug#12835).
3348
3349 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3350
3351 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3352 (perl--prettify-symbols-alist): New const.
3353 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3354 New functions.
3355 (perl-font-lock-keywords-2): Use them.
3356 (perl-electric-noindent-p): New function.
3357 (perl-mode): Use it to set up electric-indent-mode.
3358 (perl-electric-terminator, perl-indent-command): Mark obsolete.
3359 (perl-mode-map): Remove bindings for them.
3360 (perl-imenu-generic-expression, perl-outline-level):
3361 Match functions&packages in column>0.
3362
3363 * env.el (env--substitute-vars-regexp): New const.
3364 (substitute-env-vars): Use it. Add `only-defined' arg.
3365 * net/tramp.el (tramp-replace-environment-variables): Use it.
3366
3367 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3368 Byte-compile *before* eval in eval-and-compile.
3369 (byte-compile-log-warning): Remove redundant inhibit-read-only.
3370 (byte-compile-file-form-autoload): Don't hide actual definition.
3371 (byte-compile-maybe-guarded): Accept `functionp' as well.
3372
3373 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3374
3375 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
3376
3377 * notifications.el (notifications-get-server-information-method):
3378 New defconst.
3379 (notifications-get-capabilities): Fix docstring.
3380 (notifications-get-server-information): New defun.
3381
3382 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3383
3384 * textmodes/ispell.el (ispell-region): Standard re-indent for better
3385 readability.
3386
3387 * textmodes/ispell.el: Experimental support for support debugging.
3388 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
3389 buffer for ispell.
3390 (ispell-print-if-debug): New function to print stuff to
3391 `ispell-debug-buffer' if debugging is enabled.
3392 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
3393 show some debugging info.
3394 (ispell-buffer-with-debug): New function that creates a debugging
3395 buffer and calls `ispell-buffer' with debugging enabled.
3396
3397 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
3398 comment in autoconf mode. (Bug#12768)
3399
3400 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
3401
3402 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
3403 frame-first-window, frame-root-window, frame-selected-window,
3404 minibuffer-selected-window, minibuffer-window,
3405 window-absolute-pixel-edges, window-at, window-body-height,
3406 window-body-width, window-display-table, window-combination-limit,
3407 window-frame, window-fringes, window-inside-absolute-pixel-edges,
3408 window-inside-edges, window-inside-pixel-edges, window-left-child,
3409 window-left-column, window-margins, window-next-buffers,
3410 window-next-sibling, window-new-normal, window-new-total,
3411 window-normal-size, window-parameter, window-parameters, window-parent,
3412 window-pixel-edges, window-point, window-prev-buffers,
3413 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
3414 window-start, window-text-height, window-top-child, window-top-line,
3415 window-total-height, window-total-width and window-use-time to the list
3416 of functions without side-effects.
3417 (toplevel): Add window-valid-p to the list of error-free functions
3418 without side-effects.
3419
3420 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3421
3422 * textmodes/ispell.el (ispell-program-name):
3423 Update spellchecker parameters when customized.
3424
3425 2012-11-04 Glenn Morris <rgm@gnu.org>
3426
3427 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
3428
3429 2012-11-04 Chong Yidong <cyd@gnu.org>
3430
3431 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
3432 same-window-* variables.
3433
3434 2012-11-04 Juri Linkov <juri@jurta.org>
3435
3436 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
3437 (isearch-describe-key, isearch-describe-mode): Use a display
3438 action instead of binding same-window-* variables (Bug#10040).
3439
3440 2012-11-03 Glenn Morris <rgm@gnu.org>
3441
3442 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3443 Rename handler properties back from cl-- to cl-. (Bug#12788)
3444
3445 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
3446
3447 2012-11-03 Eli Zaretskii <eliz@gnu.org>
3448
3449 * term/pc-win.el: Don't load term/internal from here.
3450
3451 * loadup.el: Load term/internal from here.
3452
3453 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
3454
3455 * progmodes/python.el (inferior-python-mode): Fix hang in
3456 jit-lock (Bug#12645).
3457
3458 2012-11-03 Martin Rudalics <rudalics@gmx.at>
3459
3460 * window.el (switch-to-visible-buffer)
3461 (switch-to-buffer-preserve-window-point): Fix doc-strings.
3462
3463 2012-11-03 Glenn Morris <rgm@gnu.org>
3464
3465 * emacs-lisp/cl-lib.el (cl--random-time):
3466 Rename from cl-random-time. (Bug#12773)
3467 (cl--gensym-counter, cl--random-state): Update callers.
3468 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
3469
3470 2012-11-03 Chong Yidong <cyd@gnu.org>
3471
3472 * cus-start.el: Make cursor-type customizable (Bug#11633).
3473
3474 2012-11-02 Glenn Morris <rgm@gnu.org>
3475
3476 * filecache.el: No need to load find-lisp when compiling.
3477 (find-lisp-find-files): Autoload it.
3478 (file-cache-add-directory-recursively): Don't require find-lisp.
3479
3480 * image.el (image-type-from-file-name): Trivial simplification.
3481
3482 * emacs-lisp/bytecomp.el (byte-compile-eval):
3483 Decouple "noruntime" and "cl-functions" warnings.
3484
3485 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
3486
3487 * play/gomoku.el (gomoku-display-statistics): Update mode line
3488 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
3489
3490 2012-10-31 Martin Rudalics <rudalics@gmx.at>
3491
3492 * window.el (quit-restore-window): If the window has been
3493 created on an existing frame and ended up as the sole window on
3494 that frame, do not delete it (Bug#12764).
3495
3496 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3497
3498 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3499 Rename from sh--inside-arithmetic-expression, handle more cases
3500 (bug#11263).
3501
3502 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
3503 (sh-font-lock-open-heredoc): Use it (bug#12770).
3504
3505 2012-10-30 Glenn Morris <rgm@gnu.org>
3506
3507 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
3508
3509 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
3510
3511 2012-10-29 Chong Yidong <cyd@gnu.org>
3512
3513 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
3514 function key is stored in a keyboard macro (Bug#4894).
3515
3516 * thingatpt.el (number-at-point): Apply a thing-at-point property.
3517
3518 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3519
3520 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
3521 header comments".
3522 (diff-unified->context, diff-context->unified)
3523 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
3524
3525 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
3526
3527 * files.el (find-alternate-file): Only ask one question (bug#12487).
3528
3529 2012-10-29 Chong Yidong <cyd@gnu.org>
3530
3531 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
3532 Suggested by Dan Nicolaescu (Bug#6326).
3533
3534 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
3535
3536 * startup.el (fancy-about-screen): Don't message (Bug#12680).
3537
3538 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
3539
3540 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
3541
3542 * face-remap.el (face-remap-add-relative): Handle the case where a
3543 face-remapping-alist entry is a cons cell (Bug#12762).
3544
3545 2012-10-29 Kevin Ryde <user42@zip.com.au>
3546
3547 * woman.el (woman-parse-numeric-value): Handle picas correctly
3548 (Bug#12639).
3549
3550 2012-10-29 Glenn Morris <rgm@gnu.org>
3551
3552 * emacs-lisp/cl.el (defsetf): Doc fix.
3553
3554 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3555
3556 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
3557 syntax to the matching opener, if any (bug#12547).
3558 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
3559 matching open as a "case-(".
3560 (sh-smie-rc-grammar): Add a corresponding rule for it.
3561
3562 2012-10-28 Daniel Hackney <dan@haxney.org>
3563
3564 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
3565 "PKGNAME-autoloads.el" in case we created it.
3566
3567 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3568
3569 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
3570 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
3571 (completion--twq-all): Disable too-strict assertions.
3572
3573 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
3574
3575 2012-10-27 Eli Zaretskii <eliz@gnu.org>
3576
3577 * profiler.el (profiler-report-make-entry-part): Fix help-echo
3578 text to match the real keybindings.
3579
3580 2012-10-27 Juri Linkov <juri@jurta.org>
3581
3582 * wdired.el (wdired-keep-marker-rename): New defcustom.
3583 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
3584 (Bug#11795)
3585
3586 * dired.el (dired-keep-marker-rename): Add reference to
3587 `wdired-keep-marker-rename' in the docstring.
3588 Add default character value ?R to display initially in
3589 Customization UI instead of ?@.
3590
3591 2012-10-27 Martin Rudalics <rudalics@gmx.at>
3592
3593 * window.el (display-buffer): In doc-string describe
3594 window-height and window-width alist entries.
3595
3596 * time.el (display-time-world): Restore fit-window-to-buffer
3597 behavior.
3598
3599 2012-10-27 Chong Yidong <cyd@gnu.org>
3600
3601 * subr.el (insert-buffer-substring-as-yank): Doc fix.
3602
3603 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
3604
3605 * minibuffer.el (completion-category-overrides): New completion
3606 category `bookmark' (bug#11131).
3607
3608 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3609
3610 * emacs-lisp/advice.el (ad-assemble-advised-definition):
3611 Silence bogus compiler warnings for ad-do-it.
3612
3613 * bookmark.el (bookmark-completing-read): Set the completion category
3614 to `bookmark' (bug#11131).
3615
3616 2012-10-26 Bastien <bzg@altern.org>
3617 Stefan Monnier <monnier@iro.umontreal.ca>
3618
3619 * face-remap.el: Use lexical-binding.
3620 (text-scale-adjust): Improve docstring. Use itself for the temporary
3621 overlay-map bindings, so as to repeat the "Use..." message each time.
3622
3623 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3624
3625 * emacs-lisp/macroexp.el (macroexp--expand-all):
3626 Obey byte-compile-warning-enabled-p (bug#12486).
3627
3628 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
3629 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
3630
3631 2012-10-26 Martin Rudalics <rudalics@gmx.at>
3632
3633 * mouse.el (mouse-drag-line): Move last form into preceding when
3634 clause (Bug#12731).
3635
3636 * help.el (resize-temp-buffer-window): Fix doc-string.
3637
3638 2012-10-25 David Engster <deng@randomsample.de>
3639
3640 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
3641 Remove. This feature is already integrated in imenu.
3642
3643 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
3644 always loaded. Require `speedbar' unconditionally.
3645
3646 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3647
3648 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
3649
3650 * minibuffer.el (minibuffer-force-complete): Fix thinko.
3651
3652 * net/ldap.el (ldap-search-internal): The official ldif format starts
3653 with a "version: 1" header (bug#12724).
3654
3655 * emacs-lisp/package.el (package-installed-p): Warn if not ready
3656 (bug#12721).
3657
3658 2012-10-25 Glenn Morris <rgm@gnu.org>
3659
3660 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
3661
3662 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3663
3664 * minibuffer.el (minibuffer-force-complete): Use one more marker
3665 for the temporary-overlay-map command (bug#12619).
3666
3667 2012-10-24 Chong Yidong <cyd@gnu.org>
3668
3669 * time.el (display-time-world-mode): Derive from special-mode.
3670 (display-time-world): Use display-buffer (Bug#12708).
3671 (display-time-world-mode-map): Variable deleted.
3672 (display-time-world-display): Wrap the final delete-char inside
3673 inhibit-read-only.
3674
3675 2012-10-24 Chong Yidong <cyd@gnu.org>
3676
3677 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
3678 Doc fix.
3679
3680 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
3681
3682 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3683
3684 * minibuffer.el (completion--all-sorted-completions-location): New var.
3685 (completion--cache-all-sorted-completions)
3686 (completion--flush-all-sorted-completions): Use it.
3687 (completion-in-region, completion-in-region--postch)
3688 (completion-at-point, completion-help-at-point): Use markers in
3689 completion-in-region--data (bug#12619).
3690
3691 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3692
3693 * progmodes/compile.el (compilation-start): Try to handle common
3694 quoting of `cd' argument (bug#12640).
3695
3696 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
3697 (bug#12671).
3698
3699 2012-10-23 Glenn Morris <rgm@gnu.org>
3700
3701 * progmodes/gud.el (gud-menu-map):
3702 Check gdb-active-process is bound. (Bug#12358)
3703
3704 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3705
3706 * repeat.el (repeat): Set real-this-command (bug#12232).
3707
3708 * htmlfontify.el (hfy-post-html-hook):
3709 * filesets.el (filesets-cache-fill-content-hook):
3710 * arc-mode.el (archive-extract-hook):
3711 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
3712 * net/rcirc.el (rcirc-sentinel-functions)
3713 (rcirc-receive-message-functions, rcirc-activity-functions)
3714 (rcirc-print-functions):
3715 * net/dbus.el (dbus-event-error-functions):
3716 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
3717 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
3718 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
3719 * term/sun.el (sun-raw-prefix-hooks):
3720 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
3721
3722 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
3723
3724 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3725 Set `tramp-chunksize' to 1. This improves the performance.
3726 (tramp-smb-wait-for-output): Add timeout to
3727 `tramp-accept-process-output' calls.
3728
3729 2012-10-23 Chong Yidong <cyd@gnu.org>
3730
3731 * faces.el (font-list-limit): Define as an obsolete variable.
3732
3733 * startup.el (command-line):
3734 * cus-start.el: Don't refer to font-list-limit.
3735
3736 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
3737
3738 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3739
3740 * subr.el (internal-temp-output-buffer-show): Rename from
3741 temp-output-buffer-show, since previously compiled files expect this name.
3742
3743 2012-10-23 Glenn Morris <rgm@gnu.org>
3744
3745 * image.el (image-type-from-file-name): If multiple types match,
3746 return the first one that is supported. (Bug#9045)
3747
3748 2012-10-22 Glenn Morris <rgm@gnu.org>
3749
3750 * image.el (imagemagick-enabled-types): Doc fix.
3751
3752 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
3753
3754 * progmodes/which-func.el (which-func-current): The hash-table may have
3755 an explicit nil (bug#12338).
3756
3757 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3758
3759 * electric.el (electric-pair-delete-selection-self-insert-function):
3760 Rename to electric-pair-will-use-region, return a boolean.
3761 (electric-pair-mode): Adjust accordingly. Don't require delsel.
3762
3763 * delsel.el (delete-selection-helper): Use a function instead of a hook.
3764 (delete-selection-pre-hook): Use use-region-p.
3765 (delete-selection-self-insert-function): Remove.
3766 (self-insert-command): Obey self-insert-uses-region-functions.
3767 (self-insert-iso): Revert to previous setting, since we don't actually
3768 know what that command does.
3769 (delete-selection-self-insert-hooks): Remove.
3770
3771 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
3772
3773 * delsel.el (delete-selection-helper): New function, extracted from
3774 delete-selection-pre-hook.
3775 (delete-selection-pre-hook): Use it.
3776 (delete-selection-self-insert-function): New function.
3777 (delete-selection-self-insert-hooks): New hook.
3778 (self-insert-command, self-insert-iso): Use it.
3779 * electric.el (electric-pair-syntax): New function, extracted from
3780 electric-pair-post-self-insert-function.
3781 (electric-pair-post-self-insert-function): Use it.
3782 (electric-pair-delete-selection-self-insert-function): New function.
3783 (electric-pair-mode): Require delsel and setup
3784 delete-selection-self-insert-hooks (bug#11520).
3785
3786 2012-10-20 Chong Yidong <cyd@gnu.org>
3787
3788 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
3789 no changes to show (Bug#12586).
3790
3791 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
3792 list explicitly (Bug#12571).
3793
3794 2012-10-20 Arne Jørgensen <arne@arnested.dk>
3795
3796 * progmodes/flymake.el (flymake-create-temp-inplace):
3797 Use file-truename.
3798
3799 2012-10-20 Eli Zaretskii <eliz@gnu.org>
3800
3801 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
3802
3803 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
3804
3805 * calc/calc-units.el (math-extract-units): Properly extract powers
3806 of units.
3807
3808 2012-10-20 Daniel Colascione <dancol@dancol.org>
3809
3810 * frame.el (make-frame): Set x-display-name as we used to in order
3811 to unbreak creating an X11 frame from an Emacs daemon started
3812 without a display.
3813
3814 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3815
3816 * minibuffer.el (minibuffer-force-complete): Make the next completion use
3817 the same completion-field (bug#12221).
3818
3819 2012-10-19 Martin Rudalics <rudalics@gmx.at>
3820
3821 * emacs-lisp/debug.el (debug): Record height of debugger window
3822 also when debugger will be back (Bug#8789).
3823
3824 2012-10-18 Chong Yidong <cyd@gnu.org>
3825
3826 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3827 Convert to defcustom.
3828 (gdb-get-source-file): Don't bind pop-up-windows.
3829
3830 * progmodes/gud.el (gud-display-line): Don't specially re-use
3831 other frames for the gdb-mi case (Bug#12648).
3832
3833 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3834
3835 * emacs-lisp/advice.el: Clean up commentary a bit.
3836 (ad-do-advised-functions, ad-with-originals): Use `declare'.
3837 (byte-code-function-p): Never redefine.
3838
3839 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
3840
3841 2012-10-18 Glenn Morris <rgm@gnu.org>
3842
3843 * dired.el (dired-sort-toggle): Some ls implementations only allow
3844 a single option string. (Bug#12666)
3845
3846 * minibuffer.el (completion-cycle-threshold): Doc fix.
3847
3848 2012-10-17 Kenichi Handa <handa@gnu.org>
3849
3850 * international/mule.el (set-keyboard-coding-system):
3851 Recover input meta mode when the new coding system doesn not use 8-bit.
3852 Supply TERMINAL arg to set-input-meta-mode.
3853
3854 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
3855
3856 * wdired.el (wdired-old-marks): New variable.
3857 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
3858 (wdired-do-renames): Move point with renamed file and don't lose
3859 mark status (Bug#11795).
3860
3861 2012-10-16 Juri Linkov <juri@jurta.org>
3862
3863 * replace.el (query-replace-help): Mention multi-buffer replacement
3864 keys in the Help message. (Bug#12655)
3865
3866 2012-10-15 Chong Yidong <cyd@gnu.org>
3867
3868 * emacs-lisp/byte-run.el (defsubst): Doc fix.
3869
3870 2012-10-14 Eli Zaretskii <eliz@gnu.org>
3871
3872 * window.el (display-buffer): Doc fix.
3873
3874 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3875 Adjust the msft regexp to the output of Studio 2010, and move msft
3876 before edg-1. See the discussion on emacs-devel,
3877 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
3878 for the details.
3879
3880 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3881
3882 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
3883 (oset): Move uses of object-class-fast macro after its definition.
3884
3885 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
3886
3887 2012-10-13 Chong Yidong <cyd@gnu.org>
3888
3889 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
3890 enabled, re-enable it (Bug#11963).
3891
3892 2012-10-13 Martin Rudalics <rudalics@gmx.at>
3893
3894 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
3895 non-nil, restore window configuration (Bug#12623).
3896
3897 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3898
3899 * help-fns.el (describe-variable, describe-function-1):
3900 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
3901
3902 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
3903
3904 2012-10-12 Glenn Morris <rgm@gnu.org>
3905
3906 * mail/rmailsum.el (rmail-header-summary):
3907 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
3908
3909 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
3910
3911 * progmodes/python.el (python-mode-map):
3912 Replace subtitute-key-definition with proper command remapping.
3913 (python-nav--up-list): Fix behavior for blocks on the same level.
3914
3915 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3916
3917 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
3918
3919 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
3920 changes to the format of load-history.
3921
3922 * international/mule-cmds.el (read-char-by-name): Move let-binding of
3923 completion-ignore-case in case that var is buffer-local (bug#12615).
3924
3925 2012-10-11 Kenichi Handa <handa@gnu.org>
3926
3927 * international/eucjp-ms.el: Re-generated.
3928
3929 2012-10-10 Kenichi Handa <handa@gnu.org>
3930
3931 * select.el (xselect--encode-string): If a coding is specified for
3932 selection, and that is compatible with COMPOUND_TEXT, use it.
3933
3934 2012-10-10 Martin Rudalics <rudalics@gmx.at>
3935
3936 * window.el (switch-to-buffer-preserve-window-point): New option.
3937 (switch-to-buffer):
3938 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
3939
3940 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3941
3942 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
3943 Don't document nil as a useful value (bug#12583).
3944
3945 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
3946
3947 * net/tramp.el (tramp-debug-message):
3948 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
3949 (with-tramp-progress-reporter): Rename from
3950 `tramp-with-progress-reporter'.
3951 (with-tramp-file-property, with-tramp-connection-property):
3952 Move from tramp-cache.el, rename from `with-file-property' and
3953 `with-connection-property', respectively.
3954
3955 * net/tramp-cache.el: Remove `with-file-property' and
3956 `with-connection-property'.
3957
3958 * net/tramp.el:
3959 * net/tramp-gvfs.el:
3960 * net/tramp-sh.el:
3961 * net/tramp-smb.el: Adapt callees.
3962
3963 * net/trampver.el: Update release number.
3964
3965 2012-10-09 Glenn Morris <rgm@gnu.org>
3966
3967 * w32-fns.el (set-message-beep):
3968 * term/w32-win.el (set-message-beep): Update declarations.
3969
3970 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3971
3972 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
3973 (mode-line-widen, mode-line-input-method-map)
3974 (mode-line-coding-system-map, mode-line-remote)
3975 (mode-line-unbury-buffer, mode-line-bury-buffer)
3976 (mode-line-next-buffer, mode-line-previous-buffer):
3977 Replace save-selected-window+select-window => with-selected-window.
3978
3979 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
3980 * progmodes/cc-vars.el (bq-process): Remove, unused.
3981
3982 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
3983
3984 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
3985
3986 Implemented `backward-up-list'-like navigation.
3987 * progmodes/python.el (python-nav-up-list)
3988 (python-nav-backward-up-list): New functions.
3989 (python-mode-map): Define substitute key for backward-up-list to
3990 python-nav-backward-up-list.
3991
3992 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3993
3994 * progmodes/python.el (python-fill-paragraph): Rename from
3995 python-fill-paragraph-function. Fixed fill-paragraph for
3996 decorators (Bug#12605).
3997
3998 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3999
4000 * progmodes/python.el (python-shell-output-filter): Handle extra
4001 carriage return in OSX (Bug#12409).
4002
4003 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4004
4005 Fix shell handling of unbalanced quotes and parens in output.
4006 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
4007 (python-syntax-propertize-function): Use it.
4008 (python-shell-output-syntax-table): New var.
4009 (inferior-python-mode): Prevent unbalanced parens/quotes from
4010 previous output mess with current input context.
4011
4012 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
4013
4014 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4015 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4016
4017 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
4018
4019 * ffap.el (ffap-replace-file-component): Support Tramp file name
4020 syntax, not only ange-ftp's one.
4021
4022 2012-10-08 Glenn Morris <rgm@gnu.org>
4023
4024 * cus-start.el (message-log-max): Set :version.
4025
4026 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4027
4028 2012-10-08 Martin Rudalics <rudalics@gmx.at>
4029
4030 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4031 the minibuffer window (Bug#10851).
4032
4033 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4034
4035 Enhancements on forward-sexp movement.
4036 * progmodes/python.el (python-nav-beginning-of-statement)
4037 (python-nav-end-of-statement): Return point-marker.
4038 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4039 (python-info-current-symbol)
4040 (python-info-statement-starts-block-p): Rename from
4041 python-info-beginning-of-block-p.
4042 (python-info-statement-ends-block-p): Rename from
4043 python-info-end-of-block-p.
4044 (python-info-beginning-of-statement-p)
4045 (python-info-end-of-statement-p)
4046 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4047 New functions.
4048
4049 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4050
4051 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4052 frame-selected-windows.
4053
4054 2012-10-08 Daniel Colascione <dancol@dancol.org>
4055
4056 * battery.el (battery-status-function): Check for
4057 w32-battery-status itself, not system-time windows-nt.
4058
4059 * frame.el: Require cl-lib.
4060 (display-format-alist): New variable mapping frame types to
4061 functions that initialize them.
4062 (window-system-for-display): New function: interprets
4063 display-format-alist.
4064 (make-frame-on-display): Remove existing display-selection logic
4065 and just forward to make-frame, which will now DTRT.
4066 (make-frame): Restructure to use window-system-for-display to
4067 figure out how to create a frame on a given display.
4068 (display-mouse-p): Look for frame-type w32, not a particular
4069 system-type.
4070
4071 * loadup.el: Load w32 lisp code when we have the w32 feature.
4072
4073 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4074 system-type windows-nt.
4075
4076 * server.el (server-create-window-system-frame): Look for window
4077 type.
4078 (server-proces-filter): Only force a window system when windows-nt
4079 _and_ w32. Explain why.
4080
4081 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4082 of window systems we configure for the mode.
4083
4084 * startup.el (command-line): Mark window system is initialized
4085 after we've done it.
4086
4087 * common-win.el (x-select-text): Look for w32, not windows-nt.
4088
4089 * ns-win.el: Require cl-lib. Add ourselves to
4090 display-format-alist.
4091 (ns-initialize-window-system): Assert we're not initialized twice.
4092
4093 * w32-win.el: Enable lexical binding; require cl-lib; add
4094 ourselves to display-format-alist.
4095 (w32-handle-dropped-file): Convert incoming dropped files from
4096 Windows paths to Cygwin ones before passing them on to the rest of
4097 Emacs.
4098 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4099 (w32-initialize-window-system): Assert we're not initialized twice.
4100
4101 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4102 (x-initialize-window-system): Assert we're not initialized twice.
4103
4104 * w32-common-fns.el: New File.
4105 (w32-version, w32-using-nt, w32-get-clipboard-data)
4106 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4107 (w32-charset-info-alist, x-last-selected, text)
4108 (x-get-selection-value, x-selection-value): Move here.
4109
4110 * w32-fns.el: Require w32-common-fns.
4111 (w32-version, w32-using-nt, w32-get-clipboard-data)
4112 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4113 (w32-charset-info-alist, x-last-selected, text)
4114 (x-get-selection-value, x-selection-value): Move to
4115 w32-common-fns.
4116
4117 * w32-vars.el:
4118 (w32-allow-system-shell, w32-system-shells): Define only in
4119 non-cygwin case.
4120
4121 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4122
4123 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4124 (read-passwd): Remove a few more potential sources of leaks.
4125
4126 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4127
4128 * progmodes/python.el (inferior-python-mode)
4129 (python-shell-make-comint): Fix initialization of local
4130 variables copied from parent buffer.
4131
4132 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4133
4134 * term/ns-win.el (ns-read-file-name): Update declaration to match
4135 nsfns.m.
4136 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4137 it is set when font is acted upon.
4138
4139 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4140
4141 Enhancements to indentation.
4142 * progmodes/python.el (python-indent-context): Give priority to
4143 inside-string context. Make comments indentation markers.
4144 (python-indent-region): Do not mess with strings, unless it's the
4145 enclosing set of quotes.
4146
4147 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4148
4149 * window.el (internal--before-save-selected-window)
4150 (internal--after-save-selected-window): New functions extracted from
4151 save-selected-window. Make sure we return the `alist' we construct.
4152 (save-selected-window): Use them.
4153
4154 * textmodes/tex-mode.el (tex-recenter-output-buffer):
4155 Use with-selected-window.
4156
4157 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
4158 forms that define macros (bug#12593).
4159
4160 2012-10-07 Kenichi Handa <handa@gnu.org>
4161
4162 * international/mule-conf.el (compound-text-with-extensions):
4163 Add :mime-charset property as x-ctext.
4164
4165 2012-10-07 Stefan Merten <smerten@oekonux.de>
4166
4167 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4168 (rst-indent-literal-normal, rst-indent-literal-minimized)
4169 (rst-indent-comment): Correct :version tag.
4170 (rst-official-cvs-rev): Correct version string.
4171
4172 2012-10-07 Glenn Morris <rgm@gnu.org>
4173
4174 * mail/rmailmm.el (rmail-mime-process-multipart):
4175 Do not confuse a multipart message with an epilogue
4176 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
4177
4178 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4179
4180 Fix shell output retrieval and comint-prompt-regexp init.
4181 * progmodes/python.el (inferior-python-mode):
4182 (python-shell-make-comint): Fix initialization of
4183 comint-prompt-regexp from copied file local variables.
4184 (python-shell-fetched-lines): Remove var.
4185 (python-shell-output-filter-in-progress): Rename from
4186 python-shell-fetch-lines-in-progress.
4187 (python-shell-output-filter-buffer): Rename from
4188 python-shell-fetch-lines-string.
4189 (python-shell-fetch-lines-filter): Delete function.
4190 (python-shell-output-filter): New function.
4191 (python-shell-send-string-no-output): Use them.
4192
4193 2012-10-07 Glenn Morris <rgm@gnu.org>
4194
4195 * hi-lock.el (hi-lock-process-phrase):
4196 Try to make it less fragile. (Bug#7161)
4197
4198 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4199
4200 2012-10-06 Glenn Morris <rgm@gnu.org>
4201
4202 * ehelp.el (electric-help-mode): Use help-mode rather than
4203 non-existent mode `help'.
4204 (electric-help-map): Use button-buffer-map. (Bug#10917)
4205
4206 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4207 (reftex-create-bibtex-footer): Fix custom types.
4208
4209 * progmodes/sh-script.el (sh-indent-after-continuation):
4210 Add explicit :group.
4211
4212 * textmodes/rst.el (rst-preferred-decorations)
4213 (rst-shift-basic-offset): Clarify obsolescence versions.
4214
4215 * profiler.el (profiler): Add missing group :version tag.
4216 * avoid.el (mouse-avoidance-banish-position):
4217 * proced.el (proced-renice-command):
4218 * calc/calc.el (calc-ensure-consistent-units):
4219 * calendar/icalendar.el (icalendar-import-format-uid):
4220 * net/tramp.el (tramp-save-ad-hoc-proxies):
4221 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4222 * progmodes/flymake.el (flymake-error-bitmap)
4223 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4224 * progmodes/sh-script.el (sh-indent-after-continuation):
4225 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4226 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4227 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4228 (vhdl-array-index-record-field-in-sensitivity-list)
4229 (vhdl-indent-comment-like-next-code-line):
4230 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4231 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4232 (reftex-cite-key-separator, reftex-create-bibtex-header)
4233 (reftex-create-bibtex-footer):
4234 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4235 (rst-indent-literal-normal, rst-indent-literal-minimized)
4236 (rst-indent-comment): Add missing custom :version tags.
4237
4238 * calendar/timeclock.el (timeclock-modeline-display):
4239 Add missing obsolete alias for renamed user option.
4240
4241 * strokes.el (strokes-modeline-string):
4242 * emulation/crisp.el (crisp-mode-modeline-string):
4243 * eshell/esh-mode.el (eshell-status-in-modeline):
4244 Aliases to defcustoms must come before the defcustom.
4245
4246 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4247 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4248 (cal-tex-cursor-week-monday): Doc fixes.
4249 (cal-tex-cursor-week2-summary): Doc fix.
4250 Rename from cal-tex-cursor-week-at-a-glance.
4251
4252 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4253 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4254
4255 * calendar/calendar.el (calendar-mode-map):
4256 Add cal-tex-cursor-week2-summary.
4257
4258 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4259
4260 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4261
4262 * subr.el (read-passwd-map): New var.
4263 (read-passwd): Use `read-string' again.
4264 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4265
4266 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
4267
4268 * register.el (append-to-register, prepend-to-register):
4269 Deactivate mark, as does `copy-to-register' (bug#12389).
4270
4271 2012-10-06 Chong Yidong <cyd@gnu.org>
4272
4273 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4274
4275 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4276
4277 * international/characters.el: Fix simple mistake ((car chars) ->
4278 elt), delete duplicated code.
4279
4280 2012-10-06 Glenn Morris <rgm@gnu.org>
4281
4282 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4283
4284 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4285
4286 * color.el (color-hsl-to-rgb): Fix incorrect results for
4287 small and large hue values. (Bug#12559)
4288
4289 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4290
4291 Enhancements to docstring formatting when filling paragraphs.
4292 * progmodes/python.el (python-fill-docstring-style): Rename from
4293 python-fill-string-style. Added new style.
4294 (python-fill-string): Use new style. Better checks for
4295 docstrings.
4296
4297 2012-10-05 Glenn Morris <rgm@gnu.org>
4298
4299 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4300
4301 * color.el (color-name-to-rgb, color-rgb-to-hex)
4302 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4303 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4304 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4305 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4306
4307 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4308
4309 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
4310
4311 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4312 to get the correct size across symlinks.
4313
4314 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4315
4316 2012-10-04 Juri Linkov <juri@jurta.org>
4317
4318 * replace.el (query-replace-interactive): Declare obsolete.
4319 (query-replace-read-from): Add the last incremental search string
4320 to the list of default values accessible via M-n.
4321 (map-query-replace-regexp): Use `read-regexp'.
4322 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4323 (map-query-replace-regexp, replace-string, replace-regexp):
4324 Fix docstrings to replace mentions of `query-replace-interactive'
4325 with alternatives. (Bug#12526)
4326
4327 2012-10-04 Juri Linkov <juri@jurta.org>
4328
4329 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4330 (dired-pop-to-buffer): Declare obsolete.
4331 (dired-mark-pop-up): Doc fix.
4332
4333 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4334
4335 Allow user to set docstring style for fill-paragraph.
4336 * progmodes/python.el
4337 (python-fill-comment-function, python-fill-string-function)
4338 (python-fill-decorator-function, python-fill-paren-function):
4339 Remove :safe for defcustoms.
4340 (python-fill-string-style): New defcustom
4341 (python-fill-paragraph-function): Enhance context detection.
4342 (python-fill-string): Honor python-fill-string-style settings.
4343
4344 2012-10-04 Martin Rudalics <rudalics@gmx.at>
4345
4346 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4347 after setting its buffer (Bug#10805).
4348
4349 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
4350
4351 Fix cornercase for string syntax.
4352 * progmodes/python.el (python-syntax-propertize-function):
4353 Simplify and enhance the regexp for unescaped quotes. Now it also
4354 matches quotes in weird situations like the single quote in
4355 "something\"'".
4356 (python-syntax-stringify): Simplify num-quotes detecting code.
4357
4358 2012-10-03 Glenn Morris <rgm@gnu.org>
4359
4360 * help-macro.el (three-step-help):
4361 Revert 2012-09-29 change. (Bug#12567)
4362
4363 2012-10-03 Martin Rudalics <rudalics@gmx.at>
4364
4365 * menu-bar.el (kill-this-buffer): Don't do anything when
4366 `menu-frame' is not alive or visible (Bug#8184).
4367
4368 * emacs-lisp/debug.el (debug): When quitting the debugger window
4369 restore current buffer (Bug#12502).
4370
4371 2012-10-02 Chong Yidong <cyd@gnu.org>
4372
4373 * progmodes/hideif.el (hif-lookup, hif-defined):
4374 Handle semantic-c-takeover-hideif.
4375
4376 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
4377
4378 Change sampling interval units from ms to ns.
4379 * profiler.el (profiler-sampling-interval): Change units
4380 from ms to ns, multiplying the default by 1000000 so that
4381 it remains 1 ms.
4382 (profiler-report-cpu-line-format): Give enough room for
4383 the maximum counters on 64-bit hosts.
4384 (profiler-report-render-calltree-1): Call them "CPU samples",
4385 not "Time (ms)", since they are not milliseconds now (and
4386 never really were).
4387
4388 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4389
4390 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
4391 Fix querying BBDB for entries without a last name (Bug#11580).
4392
4393 2012-10-02 Chong Yidong <cyd@gnu.org>
4394
4395 * emacs-lisp/eieio.el: Restore Version header.
4396
4397 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4398
4399 * vc/diff-mode.el (diff--auto-refine-data): New var.
4400 (diff-hunk): Use it to delay refinement.
4401 (diff-mode): Remove overlays when we turn off font-lock.
4402
4403 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
4404 (table-initialize-table-fixed-width-mode)
4405 (table-set-table-fixed-width-mode): Remove functions.
4406 (table-command-list): Move initialization into declaration.
4407 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
4408 (table-with-cache-buffer): Use `declare'.
4409 (table-span-cell): Simplify via CSE.
4410 (table-fixed-width-mode): Use define-minor-mode.
4411 (table-call-interactively, table-funcall, table-apply): Remove.
4412 (table-function): New function, to replace them.
4413
4414 * bookmark.el (bookmark-search-pattern): Remove var.
4415 (bookmark-read-search-input): Remove function.
4416 (bookmark-bmenu-search): Reimplement using a minibuffer.
4417
4418 * faces.el (modeline): Remove obsolete face name.
4419
4420 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
4421 and give a non-nil default value.
4422 (add-change-log-entry): Simplify accordingly.
4423
4424 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
4425
4426 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
4427 (vc-git-log-edit-toggle-amend): New function.
4428 (vc-git-log-edit-toggle-signoff): New function.
4429 (vc-git-log-edit-mode): New major mode.
4430 (vc-git-log-edit-mode-map): Keymap for it.
4431 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
4432
4433 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
4434 header names.
4435 (log-edit-toggle-header): New function.
4436 (log-edit-extract-headers): Accept function values in HEADERS alist.
4437
4438 2012-10-01 David Engster <deng@randomsample.de>
4439
4440 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
4441 from symbol property and change message to be more consistent with
4442 Emacs proper.
4443 (eieio-describe-generic): Add filename for each implementation.
4444 Fix indices for generic and normal methods.
4445 (eieio-method-def, eieio-class-def): New buttons.
4446 (eieio-help-find-method-definition)
4447 (eieio-help-find-class-definition): New functions.
4448 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
4449 class, constructor and method definitions.
4450
4451 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
4452 information in symbol property.
4453 (scoped-class): Remove.
4454 (eieio-slot-name-index, call-next-method): Check if it is bound.
4455
4456 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
4457
4458 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
4459 (eieio-custom-mode): New major mode.
4460 (eieio-customize-object): Use it.
4461
4462 2012-10-01 Eric Ludlam <zappo@gnu.org>
4463
4464 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
4465 specifying the expected class, and whether subclassing is allowed.
4466 (eieio-persistent-convert-list-to-object):
4467 (eieio-persistent-validate/fix-slot-value)
4468 (eieio-persistent-slot-type-is-class-p): New functions.
4469 (eieio-named::slot-missing): Doc fix.
4470
4471 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
4472 Stop using unused publd variable.
4473
4474 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4475 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
4476 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
4477 (eieio-speedbar-handle-click): Do not specify a class for the
4478 method. Fixes method invocation order problems with EDE.
4479
4480 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4481
4482 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
4483 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
4484
4485 2012-10-01 Karl Fogel <kfogel@red-bean.com>
4486
4487 * bookmark.el (bookmark-version-control): Give tags in the
4488 :type choices (Bug#12309), and improve doc string.
4489 (bookmark-write-file): Bind `print-circle' to `t' to allow
4490 circular custom bookmark types. (Bug#12503)
4491
4492 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
4493
4494 Revert the FOLLOW-SYMLINKS change for file-attributes.
4495 * files.el (remote-file-name-inhibit-cache, after-find-file):
4496 * time.el (display-time-file-nonempty-p): Undo last change.
4497
4498 * profiler.el (profiler-sampling-interval): Change default back to 1.
4499 See Stefan Monnier in
4500 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
4501
4502 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
4503
4504 Shell output catching a la gud-gdb.
4505 * progmodes/python.el (python-shell-fetch-lines-in-progress)
4506 (python-shell-fetch-lines-string, python-shell-fetched-lines):
4507 New Vars.
4508 (python-shell-fetch-lines-filter): New function.
4509 (python-shell-send-string-no-output): Use them.
4510
4511 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
4512
4513 * profiler.el (profiler-sampling-interval): Rename from
4514 profiler-sample-interval.
4515 (profiler-sampling-interval): Default to 10.
4516 (profiler-find-profile): New command (was profiler-find-log).
4517 (profiler-find-profile-other-window): New command.
4518 (profiler-find-profile-other-frame): New command.
4519 (profiler-profile): Introduce API-level data structure.
4520
4521 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
4522
4523 file-attributes has a new optional arg FOLLOW-SYMLINKS.
4524 * files.el (remote-file-name-inhibit-cache):
4525 * time.el (display-time-file-nonempty-p): Use it.
4526 * files.el (after-find-file): Don't chase links before calling
4527 file-exists-p, as file-exists-p already does the right thing.
4528
4529 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
4530
4531 Merge from standalone RefTeX repository.
4532
4533 The following ChangeLog entries are shortened versions of the
4534 original ones with file paths adapted. A not so strongly edited
4535 version of the original ChangeLog can be found in the commit log.
4536
4537 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
4538 (reftex-arg-cite): Use `reftex-cite-key-separator'.
4539 Correctly handle new value type returned by `reftex-citation'.
4540
4541 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
4542 that entries with whitespace at various places are found.
4543 Doc fix. Include entries that are cross-referenced from cited entries.
4544 Include @String definitions in the resulting bib file. Add header
4545 and footer defined in `reftex-create-bibtex-header' and
4546 `reftex-create-bibtex-footer'.
4547 (reftex-do-citation): Make it possible again to insert
4548 non-existent entries. Save match data when asking for optional
4549 arguments. Return all keys, not just the first one.
4550 (reftex-all-used-citation-keys): Fix regexp to correctly extract
4551 all citations in the same line.
4552 (reftex-parse-bibtex-entry): Accept additional optional argument
4553 `raw' and keep quotes or braces if it is non-nil. Match fields
4554 containing hyphens besides word constituents.
4555 (reftex-get-string-refs): New function.
4556 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
4557 and ask if it should be reread in case it did.
4558 (reftex-pop-to-bibtex-entry)
4559 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
4560 entries with spaces or tabs in front of arguments.
4561 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4562 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
4563 Match entries containing numbers and symbol constituents.
4564 (reftex-do-citation, reftex-figure-out-cite-format):
4565 Use `reftex-cite-key-separator'.
4566
4567 * textmodes/reftex-dcr.el: Move provide statement to end of file.
4568 (reftex-mouse-view-crossref): Explain why point is set.
4569
4570 * textmodes/reftex-global.el: Whitespace changes.
4571
4572 * textmodes/reftex-index.el: Move provide statement to end of
4573 file.
4574 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
4575 (reftex-index-visit-phrases-buffer): Set marker when visiting
4576 buffer. This allows for returning from the phrases file to the
4577 file one was just editing instead of the file where the last
4578 phrases was added from.
4579 (reftex-index-phrases-syntax-table): New variable. Give ?\"
4580 punctuation syntax as it usually is not used as string quote in
4581 TeX-related modes and may occur unmatched. The change also
4582 prevents fontification of quoted content.
4583 (reftex-index-phrases-mode): Use it.
4584
4585 * textmodes/reftex-parse.el (reftex-parse-from-file):
4586 Move backward one char if a `\' was matched after a section macro.
4587 (reftex-parse-from-file): Use beginning of match instead of end as
4588 bound.
4589
4590 * textmodes/reftex-ref.el: Adapt creation of
4591 `reftex-<package>-<macro>' functions to new structure of
4592 `reftex-ref-style-alist'.
4593 (reftex-reference): Use `reftex-ref-style-list' function.
4594 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4595 reference macro if `reftex-ref-macro-prompt' is non-nil.
4596 (reftex-reference): Pass refstyle to `reftex-format-special'.
4597 Determine reference macro by looking at
4598 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
4599 Use only one special format function.
4600 (reftex-varioref-vref, reftex-fancyref-fref)
4601 (reftex-fancyref-Fref): Remove definitions. The functions are now
4602 generated from `reftex-ref-style-alist'.
4603 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
4604 Remove.
4605 (reftex-format-special): New function.
4606
4607 * textmodes/reftex-sel.el
4608 (reftex-select-cycle-ref-style-internal): Adapt to new structure
4609 of `reftex-ref-style-alist'. Remove code for testing macro type.
4610 (reftex-select-toggle-varioref)
4611 (reftex-select-toggle-fancyref): Remove.
4612 (reftex-select-cycle-ref-style-internal)
4613 (reftex-select-cycle-ref-style-forward)
4614 (reftex-select-cycle-ref-style-backward): New functions.
4615 (reftex-select-label-map): Use `v' and `V' for general cycling
4616 through reference styles. Add `p' for switching between number
4617 and page reference types.
4618
4619 * textmodes/reftex-toc.el (reftex-re-enlarge):
4620 Call `enlarge-window' only if there is something to do because in Emacs
4621 the horizontal version throws an error even if the parameter is 0.
4622
4623 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
4624 (reftex-plug-into-AUCTeX): Doc fix.
4625 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
4626 string. Adapt to new name.
4627 (reftex-ref-style-alist): Change structure so that it is not
4628 possible to use multiple different package names within a style.
4629 Remove the symbols for symbols for macro type distinction.
4630 Add characters for macro selection.
4631 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
4632 (reftex-create-bibtex-footer): New variables.
4633 (reftex-format-ref-function): Mention third argument of special
4634 format function.
4635 (reftex-ref-style-alist, reftex-ref-style-default-list):
4636 New variables.
4637 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
4638 to new implementation. Mark as obsolete. Add compatibility code
4639 for honoring the variable values in case they are set.
4640 (reftex-cite-format-builtin, reftex-bibliography-commands):
4641 Add support for ConTeXt.
4642 (reftex-format-ref-function, reftex-format-cite-function):
4643 Fix custom type.
4644 (reftex-cite-key-separator): New variable.
4645
4646 * textmodes/reftex.el (reftex-syntax-table-for-bib)
4647 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
4648 `reftex-syntax-table' because parens have to retain their paren
4649 syntax in order for parsing of BibTeX entries like @book(...) to
4650 work.
4651 (reftex-in-comment): Do not error out if `comment-start-skip' is
4652 not set. Deal correctly with escaped comment characters.
4653 (reftex-tie-multifile-symbols): Add doc string.
4654 Initialize `reftex-ref-style-list'.
4655 (reftex-untie-multifile-symbols): Add doc string.
4656 (reftex-add-index-macros): Doc fix.
4657 (reftex-ref-style-activate, reftex-ref-style-toggle)
4658 (reftex-ref-style-list): New functions.
4659 (reftex-mode-menu): Use them. Adapt to new structure of
4660 `reftex-ref-style-alist'.
4661 (reftex-select-with-char): Kill the RefTeX Select buffer when
4662 done.
4663 (reftex-remove-if): New function.
4664 (reftex-erase-all-selection-and-index-buffers)
4665 (reftex-mode-menu): Reference styles are now computed from
4666 `reftex-ref-style-alist'. Fix typo.
4667 (reftex-report-bug): New function.
4668 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
4669 algorithms with O(n log n). Introduce optional argument SORT (not
4670 yet used).
4671
4672 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
4673
4674 Enhancements for triple-quote string syntax.
4675 * progmodes/python.el (python-syntax-propertize-function):
4676 Match both quote cases in one regexp.
4677 (python-syntax-stringify): Handle matches properly.
4678
4679 2012-09-30 Juri Linkov <juri@jurta.org>
4680
4681 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
4682 to nil around the call to `insert' to prevent
4683 directory time modification by lock_file. (Bug#2295)
4684 * tar-mode.el (tar-summarize-buffer): Idem.
4685
4686 2012-09-30 Juri Linkov <juri@jurta.org>
4687
4688 * facemenu.el (list-colors-sort): Add option "Luminance".
4689 (list-colors-sort-key): Implement it.
4690
4691 * vc/diff-mode.el (diff-refine-removed):
4692 * vc/ediff-init.el (ediff-fine-diff-A):
4693 * vc/smerge-mode.el (smerge-refined-removed):
4694 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
4695
4696 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
4697
4698 * term/ns-win.el (x-file-dialog): New function.
4699
4700 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
4701
4702 * ido.el (ido-max-directory-size): Default to nil; the current
4703 default is small for POSIX systems, and impractical on Windows 7
4704 now that lstat returns directory sizes for NTFS.
4705
4706 2012-09-30 Martin Rudalics <rudalics@gmx.at>
4707
4708 In buffer display functions handle window-height/window-width
4709 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
4710 * window.el (window--display-buffer): New argument ALIST.
4711 Obey window-height and window-width alist entries.
4712 (window--try-to-split-window): New argument ALIST.
4713 Bind window-combination-limit to t when the window's size shall be
4714 changed and window-combination-limit equals `window-size'.
4715 (display-buffer-in-atom-window)
4716 (display-buffer-in-major-side-window)
4717 (display-buffer-in-side-window, display-buffer-same-window)
4718 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4719 (display-buffer-pop-up-window, display-buffer-below-selected)
4720 (display-buffer-at-bottom, display-buffer-in-previous-window)
4721 (display-buffer-use-some-window): Adjust all callers of
4722 window--display-buffer and window--try-to-split-window.
4723 (fit-frame-to-buffer): New option.
4724 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
4725 is non-nil.
4726 (display-buffer-in-major-side-window): Evaluate window-height /
4727 window-width alist entries.
4728
4729 * help.el (temp-buffer-resize-frames)
4730 (temp-buffer-resize-regexps): Remove options.
4731 (temp-buffer-resize-mode): Adjust doc-string.
4732 (resize-temp-buffer-window): Don't consult
4733 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
4734 temp-buffer-resize-frames.
4735
4736 * dired.el (dired-mark-pop-up):
4737 Call display-buffer-below-selected with a fit-window-to-buffer alist
4738 entry.
4739
4740 2012-09-30 Chong Yidong <cyd@gnu.org>
4741
4742 * server.el (server-host): Document the security implications.
4743 (server-auth-key): Doc fix.
4744
4745 * startup.el (initial-buffer-choice): Doc fix.
4746
4747 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
4748
4749 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
4750 restriction change.
4751
4752 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
4753
4754 * help-fns.el (help-fns--obsolete): Fix last change.
4755
4756 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
4757
4758 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
4759 (minor-mode-map-alist): Remove redundant code.
4760
4761 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
4762 visited in a buffer.
4763 (cvs-insert-visited-file): New function.
4764 (find-file-hook): Use it.
4765
4766 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
4767
4768 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
4769 chose face.
4770 (log-edit-empty-buffer-p): Don't require a space after a header.
4771
4772 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
4773
4774 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
4775
4776 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
4777 a proper minor-mode.
4778
4779 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
4780
4781 2012-09-29 Glenn Morris <rgm@gnu.org>
4782
4783 * winner.el (winner-mode): Remove variable (let define-minor-mode
4784 handle it).
4785 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
4786 Doc fixes.
4787 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
4788 (winner-mode): Use define-minor-mode.
4789
4790 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
4791 the full definition in loaddefs, rather than duplicating it.
4792
4793 * help-macro.el (three-step-help): No need to autoload defcustom.
4794
4795 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
4796 (inferior-lisp-program, inferior-lisp-load-command)
4797 (inferior-lisp-prompt, inferior-lisp-mode-hook):
4798 No need to autoload defcustoms.
4799
4800 * hippie-exp.el (hippie-expand-try-functions-list)
4801 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
4802 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
4803 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
4804 (hippie-expand-only-buffers): No need to autoload defcustoms.
4805 * progmodes/vhdl-mode.el (vhdl-line-expand):
4806 Explicitly load hippie-exp, so it does not get autoloaded
4807 while hippie-expand-try-functions-list is let-bound.
4808
4809 2012-09-28 Glenn Morris <rgm@gnu.org>
4810
4811 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
4812
4813 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
4814 Only "cl.el" counts as cl these days.
4815
4816 2012-09-28 Juri Linkov <juri@jurta.org>
4817
4818 Display archive errors in the echo area instead of inserting
4819 to the file buffer.
4820
4821 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
4822 to STDERR-TEST that can be a regexp matching a successful output.
4823 Create a temporary file and redirect stderr to it. Search for
4824 STDERR-TEST in the stderr output and display it in the echo area
4825 if no match is found.
4826 (archive-extract-by-file): New function like
4827 `archive-extract-by-stdout' but extracting archives to files
4828 and looking for successful matches in stdout. Function body is
4829 mostly copied from `archive-rar-extract'.
4830 (archive-rar-extract): Use `archive-extract-by-file'.
4831 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
4832
4833 2012-09-28 Leo Liu <sdl.web@gmail.com>
4834
4835 * pcomplete.el (pcomplete-show-completions):
4836 Use minibuffer-message to make pcomplete usable in minibuffer.
4837
4838 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
4839
4840 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4841
4842 * type-break.el: Use lexical-binding.
4843 (type-break-mode): Use define-minor-mode.
4844
4845 * emacs-lisp/pcase.el (pcase--mark-used): New.
4846 (pcase--u1): Use it (bug#12512).
4847
4848 * custom.el (load-theme): Set buffer-file-name so the load is recorded
4849 in load-history with the right file name.
4850
4851 2012-09-28 Tassilo Horn <tsdh@gnu.org>
4852
4853 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
4854 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
4855 (doc-view-get-bounding-box): Make bounding box slicing work for
4856 ODF and DVI documents.
4857
4858 2012-09-28 Glenn Morris <rgm@gnu.org>
4859
4860 * type-break.el (type-break-mode, type-break-interval)
4861 (type-break-good-rest-interval, type-break-keystroke-threshold):
4862 No need to autoload.
4863 (type-break-good-rest-interval, type-break-keystroke-threshold):
4864 Add :set-after.
4865
4866 2012-09-28 Chong Yidong <cyd@gnu.org>
4867
4868 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
4869 Add :version tag.
4870
4871 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4872
4873 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
4874
4875 2012-09-27 Glenn Morris <rgm@gnu.org>
4876
4877 * faces.el (x-display-name): Declare (for without-x builds).
4878
4879 * linum.el (linum-format): Don't autoload it. Improve :type.
4880
4881 * progmodes/tcl.el: Don't require outline when compiling.
4882 (outline-regexp, outline-level): Declare.
4883 * textmodes/sgml-mode.el: Don't require outline when compiling.
4884 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
4885
4886 * term.el (term-ansi-reset):
4887 Try setting term-ansi-face-already-done to nil. (Bug#11785)
4888
4889 * vc/vc.el (vc-next-action): Only gripe about committing read-only
4890 files for RCS and SCCS. (Bug#9781)
4891
4892 2012-09-27 Chong Yidong <cyd@gnu.org>
4893
4894 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
4895 change; value should be t.
4896
4897 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4898
4899 * image-mode.el: Use lexical-binding.
4900 (image-mode-winprops): Use t to stand for the window of
4901 a buffer that's not displayed.
4902 * doc-view.el (doc-view-new-window-function): Handle the new
4903 t in winprops.
4904 (doc-view-enlarge): Make it a real nop if the size is not changed.
4905 (doc-view-display): Handle the case where the buffer is not (yet?)
4906 displayed in any window.
4907 (doc-view-saved-settings): New var.
4908 (doc-view-mode): Use it.
4909 (doc-view-fallback-mode): Set it.
4910
4911 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
4912 Set lexical-binding.
4913 (minibuffer-eldef-shorten-default): New var.
4914 (minibuffer-default-in-prompt-regexps): Use it for new default.
4915 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
4916
4917 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
4918
4919 * international/uni-bidi.el:
4920 * international/uni-category.el:
4921 * international/uni-name.el:
4922 * international/uni-numeric.el: Regenerate.
4923
4924 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
4925 Stefan Monnier <monnier@iro.umontreal.ca>
4926
4927 * profiler.el: New file.
4928
4929 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4930
4931 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
4932 (testcover-reinstrument): Simplify with CSE.
4933
4934 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
4935
4936 * window.el (temp-buffer-window-setup): Fix typo in docstring.
4937
4938 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
4939
4940 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
4941 (verilog-auto-input, verilog-auto-insert-lisp)
4942 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
4943 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
4944 (verilog-auto-unused, verilog-auto-wire)
4945 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
4946 newline. Reported by Andrew Jones.
4947 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
4948 Reported by Brad Dobbie.
4949 (verilog-batch-delete-trailing-whitespace):
4950 Create verilog-batch-delete-trailing-whitespace.
4951 Reported by Brad Dobbie.
4952 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
4953 parameters from another module. Reported by Dan Katz.
4954 (verilog-auto, verilog-auto-assign-modport)
4955 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
4956 AUTOINOUTMODPORT for UVM interface module shell generation.
4957 Reported by Brad Dobbie.
4958 (verilog-auto-inst-interfaced-ports): Make default nil, as more
4959 standard behavior.
4960 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
4961 Reported by Matt Martin.
4962
4963 2012-09-25 Martin Rudalics <rudalics@gmx.at>
4964
4965 * window.el (window--resize-child-windows): When resizing child
4966 windows proportionally, process them in reverse order to
4967 preserve the "when splitting a window the new one gets the odd
4968 line" behavior.
4969 (window--resize-root-window-vertically): When resizing the
4970 minibuffer window try to affect only windows at the bottom of the
4971 frame. (Bug#12419)
4972
4973 2012-09-25 Chong Yidong <cyd@gnu.org>
4974
4975 * subr.el (declare): Doc fix.
4976
4977 * help-fns.el (help-fns--obsolete): Handle macros properly.
4978
4979 2012-09-25 Chong Yidong <cyd@gnu.org>
4980
4981 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
4982 this function obsolete.
4983
4984 * calendar/cal-x.el (calendar-two-frame-setup)
4985 (calendar-only-one-frame-setup, calendar-one-frame-setup):
4986 * calendar/calendar.el (american-calendar, european-calendar)
4987 (calendar-for-loop):
4988 * comint.el (comint-dynamic-simple-complete)
4989 (comint-dynamic-complete-as-filename, comint-unquote-filename):
4990 * desktop.el (desktop-load-default):
4991 * dired-x.el (dired-omit-here-always)
4992 (dired-hack-local-variables, dired-default-directory):
4993 * emacs-lisp/derived.el (derived-mode-class):
4994 * emacs-lisp/timer.el (timer-set-time-with-usecs):
4995 * emacs-lock.el (toggle-emacs-lock):
4996 * epa.el (epa-display-verify-result):
4997 * epg.el (epg-sign-keys, epg-start-sign-keys)
4998 (epg-passphrase-callback-function):
4999 * eshell/esh-util.el (eshell-for):
5000 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5001 (eshell-add-to-window-buffer-names):
5002 * files.el (locate-file-completion):
5003 * imenu.el (imenu-example--create-c-index)
5004 (imenu-example--create-lisp-index)
5005 (imenu-example--lisp-extract-index-name)
5006 (imenu-example--name-and-position):
5007 * international/mule-cmds.el (princ-list):
5008 * international/mule-diag.el (decode-codepage-char):
5009 * international/mule-util.el (detect-coding-with-priority):
5010 * iswitchb.el (iswitchb-read-buffer):
5011 * mail/mailalias.el (mail-complete):
5012 * mail/sendmail.el (mail-sent-via):
5013 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5014 (mouse-major-mode-menu):
5015 * password-cache.el (password-read-and-add):
5016 * pcomplete.el (pcomplete-parse-comint-arguments):
5017 * progmodes/sh-script.el (sh-maybe-here-document):
5018 * replace.el (query-replace-regexp-eval):
5019 * savehist.el (savehist-load):
5020 * simple.el (choose-completion-delete-max-match):
5021 * term.el (term-dynamic-simple-complete):
5022 * vc/ediff-init.el (ediff-check-version):
5023 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5024 * vc/vc.el (vc-diff-switches-list):
5025 * view.el (view-return-to-alist-update): Likewise.
5026
5027 * subr.el (eval-next-after-load, makehash, insert-string)
5028 (assoc-ignore-representation, assoc-ignore-case): Use declare to
5029 mark obsolete.
5030 (mode-line-inverse-video): Variable deleted.
5031
5032 * international/mule-util.el (string-to-sequence): Remove.
5033
5034 * calendar/calendar.el (calendar-version):
5035 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5036 (icalendar-convert-diary-to-ical):
5037 * cus-edit.el (custom-mode):
5038 * ansi-color.el (ansi-color-unfontify-region):
5039 * international/latin1-disp.el (latin1-char-displayable-p):
5040 * progmodes/cwarn.el (turn-on-cwarn-mode):
5041 * progmodes/which-func.el (which-func-update-1):
5042 Use define-obsolete-function-alias.
5043
5044 * net/newst-backend.el (newsticker-cache-filename):
5045 * net/newst-treeview.el (newsticker-groups-filename):
5046 Fix incorrect obsolescence declaration.
5047
5048 * allout.el (allout-passphrase-hint-string): Likewise.
5049 (allout-init): Use a declare form to mark obsolete.
5050
5051 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5052 this applies to functions.
5053
5054 * iswitchb.el (iswitchb-read-buffer): Move code of
5055 iswitchb-define-mode-map here, and delete that obsolete function.
5056
5057 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5058 font-lock-reference-face.
5059
5060 2012-09-25 Glenn Morris <rgm@gnu.org>
5061
5062 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5063 Doc fixes.
5064
5065 * eshell/em-term.el (eshell-term-name):
5066 Default to term-term-name. (Bug#12485)
5067
5068 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5069
5070 * progmodes/python.el (python-shell-send-buffer): Better handling
5071 of "if __name__ == '__main__':" conditionals when sending the buffer.
5072
5073 2012-09-24 Glenn Morris <rgm@gnu.org>
5074
5075 * eshell/esh-cmd.el (eshell-find-alias-function):
5076 Tighten up file-name regexp. (Bug#12499)
5077
5078 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5079
5080 Enhancements for triple-quote string syntax.
5081 * progmodes/python.el (python-quote-syntax): Remove.
5082 (python-syntax-propertize-function): New value.
5083 (python-syntax-count-quotes, python-syntax-stringify):
5084 New functions.
5085
5086 2012-09-24 Chong Yidong <cyd@gnu.org>
5087
5088 * mail/supercite.el (sc-version): Remove obsolete function.
5089 (sc-describe): Don't mark as obsolete, since it is bound.
5090 (sc-submit-bug-report): Remove.
5091
5092 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5093 (cvs-commit-buffer-require-final-newline): Remove.
5094 (log-edit-require-final-newline)
5095 (log-edit-changelog-full-paragraphs): Default to t.
5096
5097 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5098 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5099 * vc/vc.el (vc-checkout-carefully): Likewise.
5100
5101 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5102 (emerge-version): Remove.
5103
5104 * progmodes/compile.el (compile-internal): Remove.
5105 (compilation-parse-errors-function): Fix typo.
5106
5107 * international/mule.el (set-char-table-default): Remove.
5108 (set-coding-priority, make-coding-system, generic-char-p)
5109 (charset-list, charset-bytes, charset-id): Use declare to mark
5110 functions as obsolete.
5111
5112 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5113 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5114 * vc/vc-hooks.el (vc-default-registered): Don't use
5115 vc-master-templates.
5116
5117 * font-lock.el (font-lock-reference-face):
5118 Use define-obsolete-variable-alias.
5119
5120 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5121 * calendar/calendar.el (calendar-font-lock-keywords):
5122 * calendar/diary-lib.el (diary-font-lock-keywords)
5123 (diary-fancy-font-lock-keywords):
5124 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5125 * textmodes/reftex-index.el (reftex-insert-index):
5126 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5127 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5128 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5129 * progmodes/prolog.el (prolog-font-lock-keywords):
5130 * progmodes/idlwave.el (idlwave-idl-keywords):
5131 * progmodes/ada-mode.el (ada-font-lock-keywords):
5132 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5133
5134 2012-09-24 Glenn Morris <rgm@gnu.org>
5135
5136 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5137
5138 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5139
5140 * progmodes/python.el (python-indent-line): More consistent cursor
5141 movement behavior.
5142
5143 2012-09-23 Stefan Merten <smerten@oekonux.de>
5144
5145 * textmodes/rst.el: Fix compiler warning.
5146
5147 2012-09-23 Roland Winkler <winkler@gnu.org>
5148
5149 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
5150 Transcribe also LaTeX hyphenation.
5151 (bibtex-reformat): Bug fix. Do not quote twice the elements of
5152 bibtex-reformat-previous-options.
5153
5154 2012-09-23 Roland Winkler <winkler@gnu.org>
5155
5156 * proced.el (proced-renice-command): New variable.
5157 (proced-marked-processes): New function.
5158 (proced-with-processes-buffer): New macro.
5159 (proced-send-signal): Use them.
5160 (proced-renice): New command bound to r.
5161
5162 2012-09-23 Roland Winkler <winkler@gnu.org>
5163
5164 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5165 ibuffer-saved-filter-groups has one element, shortcut the call of
5166 completing-read. (Bug#12331)
5167
5168 2012-09-23 Chong Yidong <cyd@gnu.org>
5169
5170 * bindings.el (mode-line-toggle-read-only):
5171 * bs.el (bs-toggle-readonly):
5172 * buff-menu.el (Buffer-menu-toggle-read-only):
5173 * dired.el (dired-toggle-read-only):
5174 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5175
5176 2012-09-23 Chong Yidong <cyd@gnu.org>
5177
5178 * image.el (image-type-available-p): Adapt to init-image-library
5179 argument changes.
5180
5181 2012-09-22 Juri Linkov <juri@jurta.org>
5182
5183 * dired.el (dired-mode-map): Add [remap read-only-mode] for
5184 `dired-toggle-read-only'. (Bug#12462)
5185
5186 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5187
5188 * subr.el (temp-output-buffer-show): New function.
5189 (with-output-to-temp-buffer): Call temp-output-buffer-show
5190 instead of internal-temp-output-buffer-show.
5191
5192 2012-09-22 Chong Yidong <cyd@gnu.org>
5193
5194 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5195 (Bug#12462).
5196
5197 * repeat.el (repeat): Doc fix (Bug#12348).
5198
5199 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5200 (Bug#10909).
5201
5202 * simple.el (shell-command-on-region): Doc fix.
5203 (read-only-mode): Doc fix.
5204
5205 2012-09-22 Eli Zaretskii <eliz@gnu.org>
5206
5207 * emacs-lisp/timer.el (run-with-idle-timer)
5208 (timer-activate-when-idle): Warn against reinvoking an idle timer
5209 from within its own timer action. (Bug#12447)
5210
5211 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5212
5213 * cus-start.el (window-combination-limit): Add new optional
5214 values.
5215 * window.el (temp-buffer-window-show)
5216 (window--try-to-split-window): Handle new values of
5217 window-combination-limit (Bug#1806).
5218 (split-window): Test window-combination-limit for t instead of
5219 non-nil.
5220 (display-buffer-at-bottom): New buffer display action function.
5221 * help.el (temp-buffer-resize-regexps): New option.
5222 (temp-buffer-resize-mode): Rewrite doc-string.
5223 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
5224 Don't resize reused window. Suggested by Glenn Morris.
5225
5226 2012-09-22 Stefan Merten <smerten@oekonux.de>
5227
5228 * textmodes/rst.el: Revamp section title faces.
5229 (rst-official-version)
5230 (rst-package-emacs-version-alist): Sync with official version
5231 V1.4.0.
5232 (rst-faces-defaults, rst-set-level-default)
5233 (rst-level-face-max, rst-level-face-base-color)
5234 (rst-level-face-base-light, rst-level-face-format-light)
5235 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5236 (rst-adornment-faces-alist): Match new setup.
5237 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5238 (rst-level-5, rst-level-6): New faces.
5239
5240 2012-09-22 Chong Yidong <cyd@gnu.org>
5241
5242 * simple.el (undo): Handle indirect buffers (Bug#8207).
5243
5244 2012-09-21 Leo Liu <sdl.web@gmail.com>
5245
5246 IDO: Disable match re-ordering for buffer switching.
5247 * ido.el (ido-buffer-disable-smart-matches): New variable.
5248 (ido-set-matches-1): Use it. (Bug#2042)
5249
5250 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
5251
5252 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5253 Fix 2011-05-17 change. (Bug#12418)
5254
5255 2012-09-21 Leo Liu <sdl.web@gmail.com>
5256
5257 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5258
5259 2012-09-21 Glenn Morris <rgm@gnu.org>
5260
5261 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5262 Be more robust about locating simple.el.
5263
5264 2012-09-21 Glenn Morris <rgm@gnu.org>
5265
5266 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5267
5268 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5269
5270 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5271
5272 2012-09-20 Juri Linkov <juri@jurta.org>
5273
5274 * replace.el (query-replace-read-from): Use `read-regexp' instead
5275 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5276 (occur-read-primary-args): Use `read-regexp' instead of
5277 `read-string'.
5278 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5279 `read-from-minibuffer'.
5280 * isearch.el (isearch-occur): Use `read-regexp' instead of
5281 `read-string'.
5282 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5283 `read-from-minibuffer'.
5284 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5285 of `read-string'. (Bug#7567)
5286
5287 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5288 and allow accepting a list of strings prepended to a list of
5289 standard default values. Doc fix. (Bug#12321)
5290
5291 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5292
5293 * replace.el (read-regexp): Don't add ": " when PROMPT already
5294 ends with a colon and space. (Bug#12321)
5295
5296 2012-09-20 Tassilo Horn <tsdh@gnu.org>
5297
5298 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5299 error.
5300
5301 2012-09-20 Stefan Merten <smerten@oekonux.de>
5302
5303 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
5304 Fixes feature request bug#11711.
5305 (rst-mode): Create `imenu-create-index-function'.
5306 (rst-get-stripped-line): Delete after refactoring.
5307 (rst-section-tree, rst-section-tree-rec)
5308 (rst-section-tree-point): Refactor and document properly.
5309 (rst-imenu-find-adornments-for-position)
5310 (rst-imenu-convert-cell, rst-imenu-create-index):
5311 New function.
5312
5313 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5314
5315 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5316 (macroexp--expand-all): Use it.
5317 (macroexp--funcall-and-return): Remove by folding it into its sole
5318 caller (macroexp--warn-and-return).
5319 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5320 Use macroexp--obsolete-warning.
5321
5322 * calc/calc.el: Fix last change by removing the whole chunk, since it
5323 was only needed back when Calc was not bundled.
5324
5325 2012-09-20 Martin Rudalics <rudalics@gmx.at>
5326
5327 * emacs-lisp/debug.el (debug): Restore assignment to
5328 debugger-old-buffer removed on 2012-09-08.
5329
5330 2012-09-20 Juri Linkov <juri@jurta.org>
5331
5332 * dired-aux.el (dired-diff): Remove (require 'diff) since
5333 `diff-latest-backup-file' is now autoloaded.
5334
5335 2012-09-20 Chong Yidong <cyd@gnu.org>
5336
5337 * vc/diff.el (diff-latest-backup-file): Autoload.
5338
5339 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5340
5341 * calc/calc.el: Remove redundant autoload shape check.
5342 (sel-mode): Don't defvar.
5343 (calc-get-stack-element): Add `sel-mode' arg instead.
5344 (calc-top, calc-top-list): Pass it this additional argument.
5345 * calc/calc-store.el (calc-store-map):
5346 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5347 (calc-map-equation, calc-outer-product, calc-inner-product):
5348 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5349
5350 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5351
5352 2012-09-19 Juri Linkov <juri@jurta.org>
5353
5354 * dired-aux.el (dired-diff): Add (require 'diff) because
5355 `diff-latest-backup-file' is not autoloaded.
5356 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5357 of `dired-get-filename' to t to not report error when there is
5358 no default file on the current line.
5359
5360 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5361
5362 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5363 macroexp--eval-if-compile.
5364 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5365 (macroexp--expand-all): Use them (bug#12371).
5366
5367 * doc-view.el (doc-view-guess-paper-size)
5368 (doc-view-scale-bounding-box): Fix unbound `caddr'.
5369
5370 2012-09-19 Tassilo Horn <tsdh@gnu.org>
5371
5372 New feature: set optimal slice from BoundingBox information.
5373 * doc-view.el (doc-view-mode-map): Add keybinding.
5374 (doc-view-menu): Add menu entry.
5375 (doc-view-set-slice): Adapt docstring.
5376 (doc-view-get-bounding-box, doc-view-guess-paper-size)
5377 (doc-view-scale-bounding-box)
5378 (doc-view-set-slice-from-bounding-box): New functions.
5379 (doc-view-paper-sizes): New defvar.
5380
5381 2012-09-19 Glenn Morris <rgm@gnu.org>
5382
5383 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5384 (byte-compile-log-warning): Autoload. (Bug#12371)
5385
5386 * calendar/calendar.el (calendar-american-month-header)
5387 (calendar-european-month-header, calendar-iso-month-header)
5388 (calendar-month-header): New options.
5389 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
5390 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
5391
5392 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
5393
5394 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
5395
5396 2012-09-18 Juri Linkov <juri@jurta.org>
5397
5398 * dired-aux.el (dired-diff): Restore original functionality of
5399 getting the default value, but keep new feature of using the
5400 latest existing backup file (`diff-latest-backup-file').
5401
5402 2012-09-18 Juri Linkov <juri@jurta.org>
5403
5404 * dired.el (dired-mark): If the region is active in Transient Mark
5405 mode, mark all files in the active region. Doc fix.
5406 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
5407 Doc fix. (Bug#10624)
5408
5409 2012-09-18 Juri Linkov <juri@jurta.org>
5410
5411 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
5412 attributes for M-n are pulled from the file at point.
5413 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
5414 Suggested by Drew Adams. (Bug#10624)
5415
5416 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
5417
5418 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
5419 whitespace after "end".
5420 (ruby-do-end-to-brace): Collapse block to one line if it fits
5421 within fill-column.
5422
5423 2012-09-18 Martin Rudalics <rudalics@gmx.at>
5424
5425 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
5426 value.
5427 (debug): Don't remove debugger window when debugger is expected
5428 to be back.
5429
5430 2012-09-18 Chong Yidong <cyd@gnu.org>
5431
5432 * custom.el (defface): Doc fix.
5433
5434 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
5435
5436 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
5437
5438 * progmodes/compile.el (compilation-start): Use compilation-always-kill
5439 to initialize query-on-exit; then test that instead (bug#12288).
5440
5441 2012-09-17 Stefan Merten <smerten@oekonux.de>
5442
5443 * textmodes/rst.el: Add support for `testcover'.
5444 (rst-defcustom-testcover, rst-testcover-add-compose)
5445 (rst-testcover-add-1value): New functions.
5446 (rst-portable-mark-active-p): Replace by `use-region-p'.
5447 (rst-update-section, rst-classify-adornment)
5448 (rst-find-title-line): Mark `1value' forms.
5449 (rst-classify-adornment): Remove superfluous form.
5450 (rst-update-section, rst-get-adornments-around)
5451 (rst-adornment-complete-p, rst-get-next-adornment)
5452 (rst-adjust, rst-promote-region)
5453 (rst-display-adornments-hierarchy, rst-straighten-adornments)
5454 (rst-find-pfx-in-region, rst-section-tree-rec)
5455 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
5456 (rst-toc-node, rst-toc, rst-forward-section)
5457 (rst-iterate-leftmost-paragraphs)
5458 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
5459 (rst-bullet-list-region)
5460 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
5461 (rst-compile-find-conf, rst-compile)
5462 (rst-repeat-last-character): Fix style.
5463
5464 2012-09-17 Chong Yidong <cyd@gnu.org>
5465
5466 * comint.el (comint--complete-file-name-data): Don't add a space
5467 if the status is `sole'; that adds a gratuitous space in the
5468 completion-cycling case (Bug#12092).
5469
5470 * pcomplete.el (pcomplete-completions-at-point): Likewise.
5471
5472 2012-09-17 Richard Stallman <rms@gnu.org>
5473
5474 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
5475 only in the mime-shown mode, not in raw mode.
5476 (rmail-mime): Toggle off mime by displaying the message without
5477 mime processing. (Bug#12305)
5478
5479 * mail/rmail.el (rmail-retry-failure):
5480 Turn off mime processing first. (Bug#12037)
5481
5482 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
5483
5484 2012-09-17 Chong Yidong <cyd@gnu.org>
5485
5486 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
5487 (shell-dynamic-complete-functions): Convert to defcustom.
5488 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
5489
5490 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
5491 * comint.el (comint-prompt-read-only):
5492 * custom.el (defcustom):
5493 * hi-lock.el (hi-lock-mode):
5494 * ibuffer.el (ibuffer-formats):
5495 * ielm.el (ielm-prompt-read-only):
5496 * novice.el (disable-command):
5497 * saveplace.el (toggle-save-place):
5498 * speedbar.el (speedbar-supported-extension-expressions):
5499 * startup.el (auto-save-list-file-prefix, init-file-user)
5500 (after-init-hook, inhibit-startup-echo-area-message):
5501 * strokes.el (strokes-help):
5502 * time-stamp.el (time-stamp):
5503 * calendar/calendar.el (calendar, diary-file):
5504 * calendar/diary-lib.el (diary-mail-entries, diary)
5505 (diary-list-entries-hook):
5506 * calendar/holidays.el (holidays, calendar-holidays):
5507 * calendar/lunar.el (lunar-phases):
5508 * calendar/solar.el (sunrise-sunset):
5509 * emulation/edt.el (edt-load-keys):
5510 * emulation/viper.el (viper-mode):
5511 * eshell/em-alias.el (eshell-command-aliases-list):
5512 * eshell/esh-util.el (eshell-convert-numeric-arguments):
5513 * international/ogonek.el (ogonek-information):
5514 * net/tramp-cmds.el (tramp-bug):
5515 * net/quickurl.el (quickurl-reread-hook-postfix):
5516 * play/decipher.el (decipher-font-lock-keywords):
5517 * progmodes/cc-styles.el (c-set-style):
5518 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
5519 * progmodes/inf-lisp.el (inferior-lisp-prompt):
5520 * progmodes/octave-mod.el (octave-mode):
5521 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
5522 * progmodes/verilog-mode.el (verilog-read-defines):
5523 * textmodes/two-column.el (2C-mode): Likewise.
5524
5525 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
5526
5527 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
5528 that holds many addresses.
5529
5530 2012-09-16 Chong Yidong <cyd@gnu.org>
5531
5532 * align.el (align-areas): Call the indication function with
5533 positions instead of markers for arguments (Bug#12343).
5534
5535 * files.el (parse-colon-path): Use split-string (Bug#12351).
5536
5537 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
5538 (display-buffer-function): Mark as obsolete.
5539
5540 * progmodes/compile.el (compilation-parse-errors): Accept list
5541 values similar to font-lock-keywords (Bug#12136).
5542 Suggested by Oleksandr Manzyuk.
5543 (compilation-error-regexp-alist): Doc fix.
5544
5545 2012-09-15 Glenn Morris <rgm@gnu.org>
5546
5547 * version.el (emacs-bzr-version-bzr): New function.
5548 (emacs-bzr-get-version): Add optional EXTERNAL argument.
5549
5550 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
5551 checkouts, check the parent dirstate matches the branch.
5552 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
5553 empty string.
5554
5555 * version.el (emacs-bzr-version): Doc fix.
5556 (emacs-bzr-version-dirstate): New function.
5557 (emacs-bzr-get-version): For lightweight checkouts, if the parent
5558 is local try and check that it matches the branch. If not, just
5559 use dirstate information. (Bug#12441)
5560
5561 2012-09-14 Juri Linkov <juri@jurta.org>
5562
5563 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
5564 (Bug#12399)
5565
5566 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5567
5568 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
5569
5570 * emacs-lisp/edebug.el: Miscellaneous cleanup.
5571 Remove obsolete byte-compiler hack that tried to silence some warnings.
5572 (edebug-submit-bug-report): Remove.
5573 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
5574 Remove aliases, use the un-prefixed name instead.
5575 (edebug-pop-to-buffer): Consider other frames.
5576 (edebug-original-read):: Make it more obvious that it's always defined.
5577 (edebug--make-form-data-entry, edebug--form-data-name)
5578 (edebug--form-data-begin, edebug--form-data-end): Rename from the
5579 single-dashed name, and implement with cl-defstruct.
5580 (edebug-set-form-data-entry): Use the standard accessors.
5581 (edebug-make-top-form-data-entry): Use push.
5582 (edebug-no-match): Drop useless `funcall'.
5583 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
5584 to functions.
5585 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
5586 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
5587 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
5588 (easy-menu-define, with-custom-print): Remove redundant specs.
5589 (edebug-outside-overriding-local-map)
5590 (edebug-outside-overriding-terminal-local-map): Remove, unused.
5591 (edebug--display): Bind unread-command-events directly to nil rather
5592 than binding it to unread-command-events and later setting it to nil.
5593 (edebug--display): Kill edebug-eval-buffer here...
5594 (edebug--recursive-edit): ...rather than here.
5595 Bind standard-output and standard-input.
5596 (edebug-eval): Check cl-macroexpand-all is fboundp.
5597 (edebug-temp-display-freq-count): Fix last change.
5598
5599 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
5600 * subr.el (noreturn, 1value): Add `debug' spec.
5601 * emacs-lisp/advice.el: Require cl-lib.
5602 (ad-copy-tree): Remove, use copy-tree instead.
5603 (ad-dolist): Remove use dolist or cl-dolist instead.
5604 (ad-do-return): Remove, use cl-return instead.
5605 (defadvice): Add `debug' spec.
5606
5607 2012-09-13 Juri Linkov <juri@jurta.org>
5608
5609 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
5610 (Bug#12399)
5611
5612 2012-09-13 Glenn Morris <rgm@gnu.org>
5613
5614 * calc/calc.el (math-compose-expr):
5615 * calc/calc-ext.el (math-compose-expr):
5616 * progmodes/cc-defs.el (cl-macroexpand-all):
5617 * progmodes/cc-langs.el (delete-duplicates, mapcan)
5618 (cl-macroexpand-all): Update declarations.
5619
5620 * vc/vc.el: No need to require ediff.
5621 (ediff-load-version-control): Declare.
5622 (ediff-vc-internal): Fix declaration.
5623 (vc-version-ediff): Require ediff.
5624
5625 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5626
5627 Use a more backwards-compatible timer format (Bug#12430).
5628 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
5629 being right after USECS, as that better supports old code that
5630 inadvisedly looked directly at the timer vector.
5631
5632 2012-09-13 Kenichi Handa <handa@gnu.org>
5633
5634 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
5635 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
5636 `coding-priority' property of these language environment.
5637
5638 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5639
5640 Fix glitches caused by addition of psec to timers (Bug#12430).
5641 * image.el (image-animate-timer):
5642 * time.el (display-time-world-timer):
5643 Use timer--function and timer--args rather than raw access to
5644 timer vector.
5645
5646 2012-09-13 Glenn Morris <rgm@gnu.org>
5647
5648 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
5649 If not compiling a file, try using load-file-name.
5650
5651 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5652
5653 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
5654 Fix last change.
5655 (edebug-update-eval-list): Use `push'.
5656
5657 * emacs-lisp/edebug.el: Use lexical-binding.
5658 Remove the "edebug-" prefix from non-dynamically-scoped variables.
5659 Mark unused args with underscore.
5660 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
5661 (edebug-form-data): Use defvar-local.
5662 (edebug-make-before-and-after-form, edebug-make-after-form):
5663 Use backquote.
5664 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
5665 Not dynamically scoped any more.
5666 (edebug--enter-trace): Add arguments `function' and `args'.
5667 Rename from edebug-enter-trace.
5668 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
5669 (edebug--update-coverage): Add `after-index' and `value' args.
5670 Rename from edebug-update-coverage.
5671 (edebug-slow-after): Call it accordingly.
5672 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
5673 edebug-recursive-edit.
5674 (edebug--display): Call it accordingly. Add args `value',
5675 `offset-index', and `arg-mode'. Rename from edebug-display.
5676 (edebug-debugger, edebug): Call it accordingly.
5677 (edebug-eval-display-list): Use dolist.
5678
5679 2012-09-12 Juri Linkov <juri@jurta.org>
5680
5681 * info.el (Info-search): Don't check for isearch-mode and
5682 isearch-regexp before let-binding search-spaces-regexp to
5683 Info-search-whitespace-regexp.
5684 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
5685 search-whitespace-regexp if isearch-lax-whitespace or
5686 isearch-regexp-lax-whitespace is non-nil.
5687 (Info-mode): Don't set local variable search-whitespace-regexp.
5688 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
5689
5690 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5691
5692 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
5693 (debugger-env-macro): Remove support for unread-command-char.
5694
5695 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
5696 the temporary map re-appearing on emulation-mode-map-alists.
5697
5698 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
5699 since 22.1.
5700
5701 * ehelp.el (with-electric-help): Accept functions in
5702 electric-help-form-to-execute.
5703 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
5704 And replace unread-command-char -> unread-command-events.
5705
5706 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
5707
5708 Sync with Tramp 2.2.6.
5709
5710 * net/tramp.el (tramp-accept-process-output): Don't use
5711 JUST-THIS-ONE in the XEmacs case.
5712
5713 * net/trampver.el: Update release number.
5714
5715 2012-09-12 Martin Rudalics <rudalics@gmx.at>
5716
5717 * emacs-lisp/debug.el (debugger-previous-window-height):
5718 New variable.
5719 (debug): When debugger-jumping-flag is non-nil try to restore
5720 height of debugger window. (Bug#8789)
5721
5722 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5723
5724 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
5725 overriding-local-map and pre/post-command-hook here.
5726 (edebug-recursive-edit): Do it here instead (bug#12345).
5727 (edebug-outside-unread-command-char): Remove all uses of
5728 unread-command-char.
5729
5730 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
5731 inhibit-debugger is bound instead.
5732
5733 2012-09-11 Bastien Guerry <bzg@gnu.org>
5734
5735 * subr.el (set-temporary-overlay-map): Add a docstring.
5736 (Bug#12346)
5737
5738 2012-09-11 Bastien Guerry <bzg@gnu.org>
5739
5740 * minibuffer.el (completion-table-subvert): Fix docstring.
5741 (Bug#12347)
5742
5743 2012-09-11 Bastien Guerry <bzg@gnu.org>
5744
5745 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
5746
5747 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
5748
5749 * progmodes/sql.el: Version 3.1
5750 (sql-db2-escape-newlines): New variable.
5751 (sql-escape-newlines-filter): Use it.
5752
5753 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
5754
5755 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
5756
5757 2012-09-10 Dan Nicolaescu <dann@gnu.org>
5758
5759 * vc/diff-mode.el (diff-mode-menu):
5760 Bind diff-remove-trailing-whitespace.
5761
5762 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5763
5764 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
5765 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
5766 (emacs-lisp-byte-code-mode): New functions.
5767 (eval-sexp-add-defvars): Don't skip defvars in column >0.
5768 (eval-defun-2): Remove bogus interactive spec.
5769 (lisp-indent-line): Remove redundant whole-exp code, now done in
5770 indent-according-to-mode.
5771 (save-match-data): Remove redundant indent data.
5772
5773 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
5774 Use `declare'.
5775
5776 2012-09-09 Juri Linkov <juri@jurta.org>
5777
5778 * replace.el (replace-regexp-lax-whitespace): New defcustom.
5779 (replace-lax-whitespace, query-replace-regexp)
5780 (query-replace-regexp-eval, replace-regexp): Doc fix.
5781 (perform-replace, replace-highlight): Let-bind
5782 isearch-lax-whitespace to replace-lax-whitespace and
5783 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
5784
5785 * isearch.el (isearch-query-replace): Let-bind
5786 replace-lax-whitespace to isearch-lax-whitespace and
5787 replace-regexp-lax-whitespace to
5788 isearch-regexp-lax-whitespace. (Bug#10885)
5789
5790 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
5791
5792 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
5793
5794 2012-09-09 Alan Mackenzie <acm@muc.de>
5795
5796 * progmodes/cc-engine.el (c-state-cache-init):
5797 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
5798 (c-record-parse-state-state):
5799 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
5800
5801 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
5802
5803 * register.el (register-separator): Rename from
5804 separator-register. All uses changed. Doc fix.
5805 (register): Fix version.
5806
5807 2012-09-09 Chong Yidong <cyd@gnu.org>
5808
5809 * replace.el (query-replace-map): Bind four new symbols for
5810 requesting window scrolling.
5811
5812 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
5813 query-replace-map (Bug#8948).
5814
5815 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
5816
5817 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
5818 since they are now in query-replace-map.
5819
5820 * window.el (scroll-other-window-down): Make the arg optional.
5821
5822 2012-09-09 Chong Yidong <cyd@gnu.org>
5823
5824 * files.el (hack-local-variables-confirm): Use quit-window to kill
5825 the *Local Variables* buffer.
5826
5827 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5828
5829 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
5830 not just expect to be at its beginning. Adjust callees.
5831 Succeed when do-end block has no space before the pipe character.
5832 (ruby-brace-to-do-end): When the original block is one-liner,
5833 convert to multiline. Reindent the result.
5834
5835 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
5836
5837 * register.el (register): New group.
5838 (separator-register): New user option.
5839 (increment-register): Route it to `append-to-register', if
5840 register contains text. Implication is that `C-x r +' can now be
5841 used for appending to a text register (bug#12217).
5842 (append-to-register, prepend-to-register): Add separator based on
5843 `separator-register'.
5844
5845 2012-09-08 Alan Mackenzie <acm@muc.de>
5846
5847 AWK Mode: make auto-newline work when there's "==" in the pattern.
5848 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
5849 correctly.
5850 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
5851 Test more rigorously for "=" token.
5852
5853 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5854
5855 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
5856 Only fail when reached LIMIT.
5857
5858 2012-09-08 Chong Yidong <cyd@gnu.org>
5859
5860 * dired.el (dired-mode-map): Don't bind M-=.
5861
5862 * dired-aux.el (dired-diff): Use backup file as default.
5863
5864 2012-09-08 Drew Adams <drew.adams@oracle.com>
5865
5866 * subr.el (add-to-history): Fix delete usage (Bug#12314).
5867
5868 2012-09-08 Chong Yidong <cyd@gnu.org>
5869
5870 * subr.el (syntax-after, syntax-class): Doc fix.
5871
5872 2012-09-08 Martin Rudalics <rudalics@gmx.at>
5873
5874 * window.el (display-buffer-in-previous-window): New buffer
5875 display action function.
5876
5877 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
5878 (debugger-previous-window): New variable.
5879 (debug): Rewrite using display-buffer-in-previous-window,
5880 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
5881
5882 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5883
5884 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
5885
5886 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
5887
5888 * progmodes/python.el (python-shell-send-string):
5889 When default-directory is remote, create temp file on remote
5890 filesystem.
5891 (python-shell-send-file): When file is remote, pass local view of
5892 file paths to remote Python interpreter. (Bug#12340)
5893
5894 2012-09-07 Chong Yidong <cyd@gnu.org>
5895
5896 * window.el (switch-to-buffer): Doc fix (Bug#12181).
5897
5898 * files.el (after-find-file): Don't fail on a read-only buffer if
5899 require-final-newline is `visit' or `visit-save' (Bug#11156).
5900
5901 * subr.el (read-char-choice): Allow quitting via ESC ESC.
5902
5903 * userlock.el (ask-user-about-supersession-threat):
5904 Use read-char-choice (Bug#12093).
5905
5906 2012-09-07 Chong Yidong <cyd@gnu.org>
5907
5908 * subr.el (buffer-narrowed-p): New function.
5909
5910 * ses.el (ses-widen):
5911 * simple.el (count-words--buffer-message):
5912 * net/browse-url.el (browse-url-of-buffer): Use it.
5913
5914 * simple.el (count-words-region): Don't signal an error if there
5915 is a non-nil prefix arg and the mark is not set.
5916
5917 * help.el (describe-key-briefly): Allow the message to be seen
5918 when invoked from the minibuffer (Bug#7014).
5919
5920 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5921
5922 * progmodes/ruby-mode.el (ruby-end-of-defun)
5923 (ruby-beginning-of-defun): Simplify, allow indentation before
5924 block beginning and end keywords.
5925 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
5926 (ruby-end-of-defun): Expect that the point is at the beginning of
5927 the defun.
5928
5929 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5930
5931 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
5932 (bug#12367).
5933 (cl--make-usage-args): Strip _ from argument names.
5934
5935 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5936
5937 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
5938 obsolete alias speedbar-key-map.
5939 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
5940 (vhdl-index-menu-init): Don't use obsolete variable
5941 font-lock-maximum-size.
5942
5943 2012-09-06 Chong Yidong <cyd@gnu.org>
5944
5945 * frame.el (window-system-version): Mark as obsolete.
5946
5947 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
5948 of obsolete variable speedbar-key-map.
5949
5950 2012-09-06 Juri Linkov <juri@jurta.org>
5951
5952 * replace.el (replace-lax-whitespace): New defcustom.
5953 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5954 (replace-string, replace-regexp): Mention it in docstrings.
5955 (perform-replace, replace-highlight): Let-bind
5956 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
5957 to the values of replace-lax-whitespace and regexp-flag.
5958 Don't let-bind search-whitespace-regexp. (Bug#10885)
5959
5960 * isearch.el (isearch-query-replace): Let-bind
5961 replace-lax-whitespace instead of let-binding
5962 replace-search-function and replace-re-search-function.
5963 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
5964 and isearch-regexp-lax-whitespace to lazy-highlight variables.
5965 (isearch-toggle-symbol): Set isearch-regexp to nil
5966 in isearch-word mode (like in isearch-toggle-word).
5967
5968 2012-09-06 Juri Linkov <juri@jurta.org>
5969
5970 * replace.el (replace-search-function)
5971 (replace-re-search-function): Set default values to nil.
5972 (perform-replace): Let-bind isearch-related variables based on
5973 replace-related values, call `isearch-search-fun' and let-bind
5974 the result to `search-function'. Remove code that sets
5975 `search-function' and `search-string' separately for
5976 `delimited-flag'.
5977 (replace-highlight): Add new argument `delimited-flag' and
5978 rename other arguments to the names used in `perform-replace'.
5979 Let-bind `isearch-word' to the argument `delimited-flag'.
5980 (Bug#10885, bug#10887)
5981
5982 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5983
5984 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
5985 ruby-beginning-of-indent, simplify, allow all keywords to have
5986 indentation before them.
5987 (ruby-beginning-of-indent): Adjust for above. Search until the
5988 found point is not inside a string or comment.
5989 (ruby-font-lock-keywords): Allow symbols to start with "@"
5990 character, give them higher priority than variables.
5991 (ruby-syntax-propertize-function)
5992 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
5993 matchers. Expression expansions are not comments when inside a
5994 string, and there comment syntax status is irrelevant.
5995 (ruby-match-expression-expansion): New function. Check that
5996 expression expansion is inside a string, and it's not escaped.
5997 (ruby-font-lock-keywords): Use it.
5998
5999 2012-09-05 Martin Rudalics <rudalics@gmx.at>
6000
6001 * help.el (temp-buffer-max-height): New default value.
6002 (temp-buffer-resize-frames): New option.
6003 (resize-temp-buffer-window): Optionally resize frame.
6004
6005 * window.el (fit-frame-to-buffer-bottom-margin): New option.
6006 (fit-frame-to-buffer): New function.
6007
6008 2012-09-05 Glenn Morris <rgm@gnu.org>
6009
6010 * emulation/cua-rect.el (cua--init-rectangles):
6011 * textmodes/picture.el (picture-mode-map):
6012 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6013 like forward-char and backward-char. (Bug#12317)
6014
6015 2012-09-05 Leo Liu <sdl.web@gmail.com>
6016
6017 * progmodes/flymake.el (flymake-warning-re): New variable.
6018 (flymake-parse-line): Use it.
6019
6020 2012-09-05 Glenn Morris <rgm@gnu.org>
6021
6022 * calendar/holidays.el (holiday-christian-holidays):
6023 Rename an entry. (Bug#12289)
6024
6025 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6026
6027 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6028 (bug#12222).
6029
6030 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6031
6032 * loadup.el: Load macroexp. Remove hack.
6033 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6034 (macroexp--expand-all): Use it to get better warnings.
6035 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6036 (internal-macroexpand-for-load): New functions.
6037 (macroexp--pending-eager-loads): New var.
6038 (emacs-startup-hook): New hack to replace one in loadup.el.
6039 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6040 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6041 (cl-psetf): Simplify.
6042 (cl-defstruct): Add indent rule.
6043
6044 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6045
6046 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6047 over `user-mail-address' for the SMTP MAIL FROM envelope.
6048 (smtpmail-via-smtp): Ditto.
6049
6050 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6051
6052 * progmodes/ruby-mode.el: Clean up keybindings.
6053 (ruby-mode-map): Don't bind ruby-electric-brace,
6054 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6055 backward-kill-word, reindent-then-newline-and-indent.
6056 (ruby-mark-defun): Remove.
6057 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6058 (ruby-mode): Set local beginning-of-defun-function and
6059 end-of-defun-function values.
6060
6061 2012-09-03 Martin Rudalics <rudalics@gmx.at>
6062
6063 * window.el (temp-buffer-window-setup-hook)
6064 (temp-buffer-window-show-hook): New hooks.
6065 (temp-buffer-window-setup, temp-buffer-window-show)
6066 (with-temp-buffer-window): New functions.
6067 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6068 (special-display-popup-frame): Make sure the window used shows BUFFER.
6069
6070 * help.el (temp-buffer-resize-mode): Fix doc-string.
6071 (resize-temp-buffer-window): New optional argument WINDOW.
6072
6073 * files.el (recover-file, save-buffers-kill-emacs):
6074 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6075
6076 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
6077
6078 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6079 remote definition of `default-directory', ensure we can connect.
6080
6081 2012-09-02 Juri Linkov <juri@jurta.org>
6082
6083 Toggle whitespace matching mode with M-s SPC.
6084 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6085
6086 * isearch.el (search-whitespace-regexp): Doc fix.
6087 Remove cons cell customization.
6088 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6089 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6090 New variables.
6091 (isearch-forward, isearch-forward-regexp): Doc fix.
6092 (isearch-toggle-lax-whitespace): New command.
6093 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6094 (re-search-forward-lax-whitespace)
6095 (re-search-backward-lax-whitespace): New functions.
6096 (isearch-whitespace-regexp): Remove function.
6097 (isearch-query-replace): Let-bind replace-search-function and
6098 replace-re-search-function.
6099 (isearch-occur): Let-bind search-spaces-regexp according to the
6100 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6101 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6102 condition for C-q SPC.
6103 (isearch-search-fun-default): Use new functions mentioned above.
6104 (isearch-search-forward, isearch-search-backward): Remove functions.
6105 (isearch-search): Don't let-bind search-spaces-regexp.
6106 (isearch-lazy-highlight-space-regexp): Remove variable.
6107 (isearch-lazy-highlight-lax-whitespace)
6108 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6109 (isearch-lazy-highlight-new-loop): Use them.
6110 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6111
6112 2012-09-02 Chong Yidong <cyd@gnu.org>
6113
6114 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6115
6116 2012-09-02 Glenn Morris <rgm@gnu.org>
6117
6118 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6119
6120 2012-09-01 Glenn Morris <rgm@gnu.org>
6121
6122 * term.el: Tidy up menu definitions.
6123 (term-mode-map): Use easymenu for In/Out, Complete menus.
6124 (term-pager-break-map): Initialize in the defvar.
6125 (term-terminal-menu, term-signals-menu): Define with easymenu.
6126 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6127 (term-pager-menu): New, extracted from term-process-pager.
6128 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6129 (term-update-mode-line): Propertize line/char and page items.
6130 (term-process-pager): Move keymap initialization elsewhere.
6131
6132 2012-09-01 Martin Rudalics <rudalics@gmx.at>
6133
6134 * window.el (switch-to-prev-buffer): Handle additional values of
6135 BURY-OR-KILL argument. Don't switch in minibuffer window.
6136 (switch-to-next-buffer): Don't switch in minibuffer window.
6137 (quit-restore-window): New function based on quit-window.
6138 Handle additional values of former KILL argument.
6139 (quit-window): Call quit-restore-window with appropriate
6140 interpretation of KILL argument.
6141 (display-buffer-below-selected): New buffer display action
6142 function.
6143
6144 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6145
6146 * minibuffer.el (completion-at-point-functions): Complete docstring
6147 (bug#12254).
6148
6149 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
6150
6151 Better seed support for (random).
6152 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
6153 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6154 * play/mpuz.el, play/tetris.el, play/zone.el:
6155 * calc/calc-comb.el (math-init-random-base):
6156 * play/blackbox.el (bb-init-board):
6157 * play/life.el (life):
6158 * server.el (server-use-tcp):
6159 * type-break.el (type-break):
6160 Remove unnecessary call to (random t).
6161 * net/sasl.el (sasl-unique-id-function):
6162 Change (random t) to (random), now that the latter is more random.
6163 * play/life.el (life-initialized): Remove no-longer-needed var.
6164
6165 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
6166
6167 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6168 Consider frame's buffer predicate when choosing the buffer.
6169 (Bug#12081)
6170
6171 2012-08-30 Richard Stallman <rms@gnu.org>
6172
6173 * simple.el (special-mode-map): Delete binding for `z'.
6174
6175 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
6176
6177 * progmodes/compile.el (compilation-always-kill): Doc fix.
6178
6179 2012-08-30 Chong Yidong <cyd@gnu.org>
6180
6181 * window.el (display-buffer-reuse-frames): Make the obsolescence
6182 message more informative.
6183
6184 2012-08-30 Glenn Morris <rgm@gnu.org>
6185
6186 * paren.el (show-paren-delay):
6187 Add a :set function. Doc fix. (Bug#12297)
6188
6189 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6190
6191 * progmodes/compile.el (compilation-always-kill): New var.
6192 (compilation-start): Use it.
6193
6194 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6195
6196 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6197 * files.el (read-only-mode): Move to simple.el.
6198
6199 * files.el (read-only-mode): New minor mode.
6200 (toggle-read-only): Use it and mark obsolete.
6201 (find-file--read-only):
6202 * vc/vc.el (vc-next-action, vc-checkout):
6203 * vc/vc-cvs.el (vc-cvs-checkout):
6204 * obsolete/vc-mcvs.el (vc-mcvs-update):
6205 * ffap.el (ffap--toggle-read-only): Update callers.
6206
6207 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
6208
6209 * eshell/esh-ext.el (eshell-external-command): Do not examine
6210 remote shell scripts.
6211 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
6212
6213 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6214 "/usr/local/sbin".
6215
6216 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6217
6218 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6219
6220 2012-08-28 Leo Liu <sdl.web@gmail.com>
6221
6222 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6223 completion-at-point. (Bug#12220)
6224
6225 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6226
6227 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6228
6229 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6230
6231 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6232 be buffer-local; add delete-trailing-whitespace (bug#12259).
6233
6234 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
6235
6236 * progmodes/hideif.el (hif-compress-define-list):
6237 Fix typo. (Bug#11951)
6238
6239 2012-08-28 Dan Nicolaescu <dann@gnu.org>
6240
6241 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6242 buffer local setting.
6243
6244 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6245 rcirc-encode-coding-system.
6246
6247 2012-08-28 Leo Liu <sdl.web@gmail.com>
6248
6249 * net/rcirc.el (rcirc-split-message): New function.
6250 (rcirc-send-message): Use it. (Bug#12051)
6251
6252 2012-08-28 Juri Linkov <juri@jurta.org>
6253
6254 * info.el (Info-fontify-node): Hide empty lines at the end of
6255 the node. (Bug#12272)
6256
6257 2012-08-27 Drew Adams <drew.adams@oracle.com>
6258
6259 * dired.el (dired-pop-to-buffer): Make window start at beginning
6260 of buffer (Bug#12281).
6261
6262 2012-08-26 Chong Yidong <cyd@gnu.org>
6263
6264 * window.el (special-display-regexps, special-display-frame-alist)
6265 (special-display-buffer-names, special-display-function)
6266 (display-buffer-reuse-frames): Mark as obsolete.
6267
6268 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6269
6270 * help.el (help-print-return-message): Don't treat
6271 display-buffer-reuse-frames specially.
6272
6273 2012-08-26 Chong Yidong <cyd@gnu.org>
6274
6275 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6276 New variable, replacing gdb-frame-parameters.
6277 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6278 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6279 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6280 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6281 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6282 the functions directly with gdb-display-buffer-other-frame-action.
6283 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6284 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6285 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6286 (gdb-display-registers-buffer): Define directly.
6287 (def-gdb-display-buffer): Macro deleted.
6288 (gdb-display-buffer): Remove second and third args, callers don't
6289 use them. Defer to the default display-buffer behavior, apart
6290 from making windows dedicated.
6291 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6292
6293 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6294
6295 * window.el (display-buffer-pop-up-frame): Handle a
6296 pop-up-frame-parameters alist entry.
6297 (display-buffer): Document it.
6298
6299 2012-08-26 Chong Yidong <cyd@gnu.org>
6300
6301 * isearch.el (search-whitespace-regexp): Make string and nil
6302 values apply to both ordinary and regexp search. Allow a cons
6303 cell value to distinguish between the two.
6304 (isearch-whitespace-regexp, isearch-search-forward)
6305 (isearch-search-backward): New functions.
6306 (isearch-occur, isearch-search-fun-default, isearch-search)
6307 (isearch-lazy-highlight-new-loop): Use them.
6308 (isearch-forward, isearch-forward-regexp): Doc fix.
6309
6310 2012-08-26 Chong Yidong <cyd@gnu.org>
6311
6312 * faces.el (help-argument-name): Always inherit from italic
6313 (Bug#12213).
6314
6315 2012-08-25 Martin Rudalics <rudalics@gmx.at>
6316
6317 * window.el (window--even-window-heights): Even heights when
6318 WINDOW and the selected window form a vertical combination.
6319 (display-buffer-use-some-window): Provide that window used gets
6320 sized back by quit-window. (Bug#11880) and (Bug#12091)
6321
6322 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6323
6324 Fix file time stamp problem with bzr and CVS (Bug#12001).
6325 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6326 in the file's time stamp, since the version control system loses
6327 that information.
6328
6329 2012-08-22 Juri Linkov <juri@jurta.org>
6330
6331 * info.el (Info-fontify-node): Hide the suffix of the
6332 Info file name in the header line. (Bug#12187)
6333
6334 2012-08-22 Glenn Morris <rgm@gnu.org>
6335
6336 * calendar/cal-tex.el (cal-tex-weekly-common):
6337 Restore leading blank page.
6338
6339 2012-08-22 Le Wang <l26wang@gmail.com>
6340
6341 * misc.el (forward-to-word, backward-to-word): Activate or extend
6342 the region under `shift-select-mode'. (Bug#12231)
6343
6344 2012-08-22 Bastien Guerry <bzg@gnu.org>
6345
6346 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6347 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
6348 gives details on why the space is never needed.
6349
6350 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6351
6352 * window.el (walk-window-tree, window-with-parameter):
6353 New optional argument MINIBUF to control whether these functions
6354 should run on the minibuffer window.
6355 (window-at-side-list): Don't operate on minibuffer window.
6356 (window-in-direction): Simplify and rewrite doc-string.
6357 (window--size-ignore): Rename to window--size-ignore-p.
6358 Update callers.
6359 (display-buffer-in-atom-window, window--major-non-side-window)
6360 (window--major-side-window, display-buffer-in-major-side-window)
6361 (delete-side-window, display-buffer-in-side-window):
6362 New functions.
6363 (window--side-check, window-deletable-p, delete-window)
6364 (delete-other-windows, split-window): Handle side windows and
6365 atomic windows appropriately.
6366 (window--display-buffer): Call display-buffer-record-window also
6367 when the window buffer did not change.
6368
6369 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
6370
6371 * help-fns.el (help-fns--key-bindings):
6372 Abbreviate non-symbol remap targets. (Bug#12174)
6373
6374 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6375
6376 * dired.el (dired-mark-remembered): Don't clobber point.
6377 (Bug#11795)
6378
6379 2012-08-22 Glenn Morris <rgm@gnu.org>
6380
6381 * progmodes/bug-reference.el (bug-reference): New custom group.
6382 (bug-reference-bug-regexp): Make it a defcustom.
6383
6384 2012-08-22 Daiki Ueno <ueno@unixuser.org>
6385
6386 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6387 (js-paren-indent-offset, js-square-indent-offset)
6388 (js-curly-indent-offset): Add :safe (Bug#12257).
6389
6390 2012-08-22 Edward O'Connor <hober0@gmail.com>
6391
6392 * json.el (json-key-format): Add error properties.
6393 (json-encode-key): New function.
6394 (json-encode-hash-table, json-encode-alist, json-encode-plist):
6395 Use json-encode-key.
6396
6397 2012-08-22 Glenn Morris <rgm@gnu.org>
6398
6399 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
6400 (cal-tex-leftday, cal-tex-rightday): Remove functions.
6401 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
6402 Update for above change.
6403
6404 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
6405
6406 * cus-face.el (custom-face-attributes): Fix customize type for the
6407 :underline attribute. (Bug#11805)
6408
6409 2012-08-21 Martin Rudalics <rudalics@gmx.at>
6410
6411 * window.el (window-point-1, set-window-point-1): Remove.
6412 (window-in-direction, record-window-buffer)
6413 (set-window-buffer-start-and-point, split-window-below)
6414 (window--state-get-1, display-buffer-record-window):
6415 Replace calls to window-point-1 and set-window-point-1 by calls to
6416 window-point and set-window-point respectively.
6417
6418 2012-08-21 Glenn Morris <rgm@gnu.org>
6419
6420 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
6421 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
6422 Use it.
6423
6424 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
6425 (cal-tex-shortday): New function.
6426 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
6427 (cal-tex-cursor-filofax-daily): Use the above.
6428
6429 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
6430 New functions.
6431 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6432 (cal-tex-cursor-filofax-week): Use them.
6433
6434 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
6435 New constants.
6436 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6437 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
6438
6439 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
6440 (cal-tex-end-document): Don't rely on buffer name.
6441
6442 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
6443 Use cal-tex-vspace.
6444 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
6445 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
6446 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
6447 Use cal-tex-arg.
6448
6449 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
6450 (cal-tex-cursor-week, cal-tex-cursor-week2)
6451 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
6452 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6453 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
6454 (cal-tex-insert-preamble, cal-tex-b-document)
6455 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
6456 Improve cal-tex-cmd usage.
6457
6458 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
6459 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
6460 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
6461 (cal-tex-weekly-paper): New function.
6462 (cal-tex-cursor-week, cal-tex-cursor-week2)
6463 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
6464 (cal-tex-cursor-day): Use it.
6465
6466 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
6467 (cal-tex-cursor-filofax-week): Remove leading blank page.
6468
6469 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6470 Add autoload cookie. For now at least, don't use color, since
6471 no other cal-tex function does.
6472
6473 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
6474 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6475 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
6476
6477 2012-08-21 Juri Linkov <juri@jurta.org>
6478
6479 * info.el (Info-file-attributes): New variable.
6480 (info-insert-file-contents): Add file attributes to
6481 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
6482 `Info-toc-nodes' when previous modtime of the Info file is less
6483 than new modtime.
6484 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
6485 of info.el. (Bug#12230)
6486
6487 2012-08-20 Glenn Morris <rgm@gnu.org>
6488
6489 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
6490 * calendar/holidays.el (calendar-holiday-list):
6491 Report errors with display-warning rather than beep'n'sleep.
6492
6493 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
6494
6495 * net/tramp.el (tramp-accept-process-output): Accept only output
6496 from PROC. Otherwise, process filters and sentinels might be
6497 confused. (Bug#12145)
6498
6499 2012-08-20 Chong Yidong <cyd@gnu.org>
6500
6501 * descr-text.el (describe-text-properties-1): Use overlays-in to
6502 report on empty overlays (Bug#3322).
6503
6504 2012-08-20 Glenn Morris <rgm@gnu.org>
6505
6506 * mail/rmailout.el (rmail-output-read-file-name):
6507 Trap and report errors in rmail-output-file-alist elements.
6508
6509 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
6510 since most non-font-lock faces are not also variables).
6511
6512 2012-08-20 Edward Reingold <reingold@iit.edu>
6513
6514 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6515 New function. (Bug12160)
6516
6517 2012-08-19 Glenn Morris <rgm@gnu.org>
6518
6519 * mail/rmailout.el (rmail-output-read-file-name):
6520 Fix previous change (when the alist is nil or does not match).
6521
6522 2012-08-19 Chong Yidong <cyd@gnu.org>
6523
6524 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
6525 (Bug#12228).
6526
6527 2012-08-18 Chong Yidong <cyd@gnu.org>
6528
6529 * simple.el (yank-handled-properties): New defcustom.
6530 (yank-excluded-properties): Add font-lock-face and category.
6531 (yank): Doc fix.
6532
6533 * subr.el (remove-yank-excluded-properties):
6534 Obey yank-handled-properties. The special handling of font-lock-face
6535 and category is now done this way, instead of being hard-coded.
6536 (insert-for-yank-1): Remove font-lock-face handling.
6537 (yank-handle-font-lock-face-property)
6538 (yank-handle-category-property): New function.
6539
6540 2012-08-17 Glenn Morris <rgm@gnu.org>
6541
6542 * mail/rmailout.el (rmail-output-read-file-name):
6543 Check rmail-output-file-alist against the full message body
6544 in the correct rmail buffer. (Bug#12214)
6545
6546 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
6547
6548 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6549 Eliminate superfluous prompt. (Bug#12203)
6550
6551 2012-08-17 Chong Yidong <cyd@gnu.org>
6552
6553 * mouse.el (mouse-appearance-menu): If x-select-font returns a
6554 font spec, set the font directly (Bug#3228).
6555
6556 2012-08-17 Martin Rudalics <rudalics@gmx.at>
6557
6558 * window.el (delete-window): Fix last fix.
6559
6560 2012-08-16 Martin Rudalics <rudalics@gmx.at>
6561
6562 * window.el (window-valid-p): Move to window.c.
6563 (window-child, window-child-count, window-last-child)
6564 (window-normalize-window, window-combined-p)
6565 (window-combinations, window-atom-root, window-min-size)
6566 (window-sizable, window-sizable-p, window-size-fixed-p)
6567 (window-min-delta, window-max-delta, window--resizable)
6568 (window--resizable-p, window-resizable, window-total-size)
6569 (window-full-height-p, window-full-width-p, window-body-size)
6570 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
6571 (minimize-window, window-deletable-p, delete-window)
6572 (delete-other-windows, set-window-buffer-start-and-point)
6573 (next-buffer, previous-buffer, split-window, balance-windows-2)
6574 (set-window-text-height, window-buffer-height)
6575 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
6576 (truncated-partial-width-window-p): Minor code adjustments.
6577 In doc-strings state whether the argument window has to denote a
6578 live, valid or any window.
6579
6580 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
6581
6582 * progmodes/subword.el (subword-forward-function)
6583 (subword-backward-function, subword-forward-regexp)
6584 (subword-backward-regexp): New variables.
6585 (subword-forward, subword-forward-internal, subword-backward-internal):
6586 Use new variables, eg so that different "word" definitions
6587 can be easily used. (Bug#11411)
6588
6589 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6590
6591 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
6592 for composite selectors.
6593 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
6594 operation just because we can't find a previous revision.
6595
6596 2012-08-15 Chong Yidong <cyd@gnu.org>
6597
6598 * frame.el (set-frame-font): Accept font objects.
6599
6600 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6601
6602 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
6603
6604 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
6605
6606 * man.el (Man-overstrike-face, Man-underline-face)
6607 (Man-reverse-face): Remove variables.
6608 (Man-overstrike, Man-underline, Man-reverse): New faces.
6609 (Man-fontify-manpage): Use them instead of the variables.
6610 (Man-cleanup-manpage): Comment change.
6611 (Man-ansi-color-map): New variable.
6612 (Man-fontify-manpage): Use it.
6613 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
6614
6615 Implement ANSI SGR parameters 22-27 (bug#12146).
6616 * ansi-color.el (ansi-colors): Doc fix.
6617 (ansi-color-context, ansi-color-context-region): Doc fix.
6618 (ansi-color--find-face): New function.
6619 (ansi-color-apply, ansi-color-apply-on-region): Use it.
6620 Rename the local variable `face' to `codes' since it is now a list of
6621 ansi codes. Doc fix.
6622 (ansi-color-get-face): Remove.
6623 (ansi-color-parse-sequence): New function, derived from
6624 ansi-color-get-face.
6625 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
6626 codes 22-27.
6627
6628 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
6629
6630 * subr.el (read-passwd): Allow use from a minibuffer.
6631
6632 2012-08-14 Eli Zaretskii <eliz@gnu.org>
6633
6634 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
6635 inside comments and strings as identifiers.
6636
6637 * progmodes/gud.el (gud-tooltip-print-command): Quote the
6638 expression to evaluate. This allows to evaluate expressions with
6639 embedded whitespace.
6640 (gud-tooltip-tips): Add a blank before the newline in the
6641 message-box text, for the benefit of message-box emulation on
6642 MS-Windows.
6643
6644 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
6645 messages from GDB, pop them up in a tooltip to give feedback to
6646 user.
6647 (gdb-tooltip-print-1): Quote the expression to evaluate.
6648 This allows to evaluate expressions with embedded whitespace.
6649 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
6650 if the TTY name is nil or empty (which happens when communicating
6651 with the inferior via pipes, e.g. on MS-Windows).
6652 (gdb-internals): If GDB sends a "&\n" empty debugging message,
6653 don't send that to the GUD buffer.
6654
6655 2012-08-14 Glenn Morris <rgm@gnu.org>
6656
6657 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
6658 Optimize away setq-default with no args, as for setq. (Bug#12195)
6659
6660 2012-08-14 Chong Yidong <cyd@gnu.org>
6661
6662 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
6663
6664 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
6665 (Bug#12085).
6666
6667 2012-08-14 Glenn Morris <rgm@gnu.org>
6668
6669 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
6670
6671 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
6672
6673 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
6674 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6675 Use cached shell name.
6676
6677 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6678
6679 * progmodes/python.el (python-shell-send-string):
6680 (python-shell-send-setup-code): Do not use `format' with `message'.
6681
6682 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
6683
6684 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
6685 (ruby-percent-literal-beg-re): New constant.
6686 (ruby-syntax-general-delimiters-goto-beg): Rename to
6687 `ruby-syntax-enclosing-percent-literal', improve literal type check.
6688 (ruby-syntax-propertize-general-delimiters): Rename to
6689 `ruby-syntax-propertize-percent-literal', it's a shorter and more
6690 popular term. Adjust comments everywhere.
6691 (ruby-syntax-propertize-percent-literal): Only propertize when not
6692 inside a simple string or comment. When the literal is unclosed,
6693 leave the text after it unpropertized.
6694 (ruby-syntax-methods-before-regexp): New constant.
6695 (ruby-syntax-propertize-function): Use it to recognize regexps.
6696 Don't look at the text after regexp, just use the whitelist.
6697
6698 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
6699
6700 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
6701 non-nil always load the compiled file if it exists. (Bug#12197)
6702
6703 2012-08-14 Chong Yidong <cyd@gnu.org>
6704
6705 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
6706 (hi-lock-set-pattern): When deciding whether to use font lock or
6707 overlays, look at font-lock-mode instead of font-lock-fontified
6708 (Bug#12168).
6709 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
6710 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
6711
6712 2012-08-14 Daiki Ueno <ueno@unixuser.org>
6713
6714 * subr.el (internal--after-with-selected-window): Fix typo
6715 (Bug#12193).
6716
6717 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6718
6719 Use `completion-table-dynamic' for completion functions.
6720 * progmodes/python.el
6721 (python-shell-completion--do-completion-at-point)
6722 (python-shell-completion--get-completions):
6723 Remove functions.
6724 (python-shell-completion-complete-at-point): New function.
6725 (python-completion-complete-at-point): Use it.
6726
6727 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
6728
6729 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
6730 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
6731
6732 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6733
6734 * subr.el (function-get): Refine `autoload' arg so it can also
6735 autoload functions for gv.el (bug#12191).
6736 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
6737 autoloads macros.
6738
6739 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
6740 Prefer pcase-let over destructuring-bind.
6741 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
6742 Also, remove whitespace as we go, rather than after accumulating the
6743 various places.
6744
6745 * subr.el (internal--before-with-selected-window)
6746 (internal--after-with-selected-window): Fix typo seleted->selected.
6747 (with-selected-window): Adjust callers.
6748 Reported by Dmitry Gutov <dgutov@yandex.ru>.
6749
6750 2012-08-13 Bastien Guerry <bzg@gnu.org>
6751
6752 * window.el (special-display-popup-frame): Minor docstring
6753 enhancement. (Bug#12172)
6754
6755 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
6756
6757 * tar-mode.el (tar-header-data-end): Only ignore size for files of
6758 type 1-6.
6759 (tar-header-block-summarize, tar-get-descriptor): Handle pax
6760 extended headers.
6761
6762 * files.el (hack-local-variables-filter): Remove useless eval.
6763
6764 2012-08-13 Martin Rudalics <rudalics@gmx.at>
6765
6766 * subr.el (with-selected-window): Fix last change.
6767
6768 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6769
6770 * subr.el (internal--before-with-seleted-window)
6771 (internal--after-with-seleted-window): New functions.
6772 (with-selected-window): Use them, to replace dependency on
6773 tty-top-frame.
6774
6775 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
6776
6777 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
6778 binding for `newline'.
6779 (ruby-move-to-block): When moving backward, stop at block opening,
6780 not indentation.
6781 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
6782 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
6783 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6784 `ruby-toggle-block'.
6785
6786 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6787
6788 * ibuffer.el (ibuffer-do-toggle-read-only):
6789 * dired.el (dired-toggle-read-only):
6790 * buff-menu.el (Buffer-menu-toggle-read-only):
6791 * bindings.el (mode-line-toggle-read-only):
6792 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
6793
6794 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
6795
6796 * descr-text.el (describe-char): Put the overlays over the
6797 "displayed as" character.
6798
6799 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
6800
6801 * calc/calc-units.el (math-default-units-table): Give an
6802 initial value.
6803 (math-put-default-units): Add options to put composite units and
6804 unit systems in the default units table.
6805 (calc-convert-units): Send composite units to
6806 `math-put-default-units' when appropriate.
6807
6808 2012-08-11 Glenn Morris <rgm@gnu.org>
6809
6810 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
6811
6812 * tutorial.el (help-with-tutorial):
6813 * emacs-lisp/copyright.el (copyright-update-directory):
6814 * emacs-lisp/autoload.el (autoload-find-generated-file)
6815 (autoload-find-file): Disable local eval: (for insurance).
6816
6817 * files.el (hack-local-variables-filter): If an eval: form is not
6818 known to be safe, and enable-local-variables is :safe, then ignore
6819 the form totally, as is done for non-eval forms. (Bug#12155)
6820 This is CVE-2012-3479.
6821
6822 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6823
6824 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
6825 (rx-form): Simplify.
6826
6827 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
6828
6829 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
6830 ?, _, and : are symbol constituents, ! is not (but kinda should be).
6831 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
6832 (ruby-syntax-propertize-function): Adjust for changes in
6833 `ruby-syntax-propertize-heredoc'.
6834
6835 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
6836
6837 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
6838 binding (use `M-;' instead).
6839 (ruby-singleton-class-p): New function.
6840 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
6841
6842 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6843
6844 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
6845
6846 2012-08-10 Chong Yidong <cyd@gnu.org>
6847
6848 * progmodes/python.el (python-shell-get-process-name): Don't mess
6849 with same-window-buffer-names.
6850
6851 * eshell/eshell.el (eshell-add-to-window-buffer-names)
6852 (eshell-remove-from-window-buffer-names): Make obsolete.
6853 (eshell-buffer-name, eshell-unload-hook): Don't use them.
6854 (eshell): Just use pop-to-buffer-same-window instead.
6855
6856 2012-08-10 Chong Yidong <cyd@gnu.org>
6857
6858 * bindings.el: Bind M-= back to count-words-region.
6859
6860 * simple.el (count-words-region): Accept a prefix arg for acting
6861 on the entire buffer.
6862 (count-words--buffer-message): New helper function.
6863
6864 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6865
6866 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
6867 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
6868 (event-start, event-end): Use posn-at-point to return a more
6869 informative posn.
6870 (posnp): New function.
6871 * mouse.el (popup-menu-normalize-position): Use it.
6872
6873 2012-08-10 Masatake YAMATO <yamato@redhat.com>
6874
6875 * mouse.el (popup-menu-normalize-position): New function.
6876 (popup-menu): Use `popup-menu-normalize-position' to normalize
6877 the form for POSITION argument.
6878
6879 * term/x-win.el (x-menu-bar-open):
6880 Use the value returend from (posn-at-point) as position
6881 passed to `popup-menu'.
6882
6883 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6884
6885 * calc/calccomp.el (math-compose-expr): Add extra argument
6886 indicating that parentheses should be put around products in
6887 denominators. Give multiplication precedence over division during
6888 composition.
6889
6890 2012-08-09 Chong Yidong <cyd@gnu.org>
6891
6892 * man.el (Man-switches, Man-sed-command, Man-awk-command)
6893 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
6894 (Man-untabify-command, manual-program): Convert to defcustom
6895 (Bug#10429).
6896
6897 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
6898
6899 * descr-text.el (describe-char): Don't insert extra newlines
6900 (Bug#10127).
6901
6902 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
6903 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
6904
6905 * align.el (align-region): Delete temporary markers (Bug#10047).
6906 Plus some code cleanups.
6907
6908 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6909
6910 * progmodes/python.el (python-pdbtrack-tracked-buffer)
6911 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
6912 (python-shell-internal-last-output): Use make-local-variable
6913 instead of make-variable-buffer-local.
6914
6915 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6916
6917 * progmodes/python.el: Enhancements to forward-sexp.
6918 (python-nav-forward-sexp): Rename from
6919 python-nav-forward-sexp-function.
6920 (python-nav--forward-sexp, python-nav--backward-sexp):
6921 New functions.
6922
6923 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6924
6925 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
6926 modes and simplification modes.
6927
6928 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6929
6930 * delsel.el (delete-selection-pre-hook): Don't propagate the
6931 file-supersession signals (bug#12161).
6932
6933 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6934
6935 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
6936 (cl-map-extents): Add compatibility aliases (bug#12135).
6937
6938 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
6939
6940 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
6941 tests by `ignore-error'.
6942 (tramp-find-shell): Open also a new shell, when cache is already
6943 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
6944
6945 2012-08-08 Juri Linkov <juri@jurta.org>
6946
6947 * bookmark.el: Add `defaults' property to the bookmark record.
6948 (bookmark-current-buffer): Doc fix.
6949 (bookmark-make-record): Add `defaults' property with default values
6950 to the bookmark record.
6951 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
6952 with `bookmark-insert-current-bookmark'.
6953 (bookmark-set): Get `defaults' property from the bookmark record
6954 and use it in `read-from-minibuffer'.
6955 (bookmark-insert-current-bookmark): Remove function.
6956
6957 * info.el (Info-bookmark-make-record): Add `defaults' property
6958 with values of canonical Info node name, the current Info file
6959 name and the current Info node name. (Bug#12107)
6960
6961 2012-08-08 Juri Linkov <juri@jurta.org>
6962
6963 * files.el (basic-save-buffer): Use `buffer-name' as the default
6964 of `read-file-name' when buffer is not visiting a file (bug#12128).
6965
6966 2012-08-08 Juri Linkov <juri@jurta.org>
6967
6968 * info.el (Info-isearch-search): Doc fix.
6969 (Info-search): Change search-failed message from "initial node" to
6970 "end of node" (bug#12078).
6971 (Info-isearch-search): Change `isearch-string-state' to
6972 `isearch--state-string'.
6973
6974 2012-08-08 Glenn Morris <rgm@gnu.org>
6975
6976 * language/persian.el: Remove file.
6977 * language/misc-lang.el: Move unique part of persian.el here.
6978 * loadup.el: Remove language/persian.
6979
6980 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
6981
6982 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
6983
6984 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
6985
6986 * progmodes/python.el: Fix defsubst warning.
6987 (python-syntax-context) Rename from python-info-ppss-context.
6988 (python-syntax-context-type): Rename from
6989 python-info-ppss-context-type.
6990 (python-syntax-comment-or-string-p): Rename from
6991 python-info-ppss-comment-or-string-p.
6992
6993 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6994
6995 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
6996
6997 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
6998
6999 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7000 a defcustom that is quoted with backquote.
7001
7002 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7003 Fix handling of interactive spec when the body uses return.
7004 (math-do-arg-check, math-define-function-body): Use backquote forms.
7005 * calc/calc-ext.el (math-defcache): Likewise.
7006 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7007 * allout.el (allout-new-exposure): Likewise.
7008 * calc/calcalg2.el (math-tracing-integral): Likewise.
7009 * info.el (Info-last-menu-item): Likewise.
7010 * emulation/vip.el (vip-loop): Likewise.
7011 * textmodes/artist.el (artist-funcall): Likewise.
7012 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7013 Construct menu-item directly.
7014
7015 * progmodes/autoconf.el (font-lock-syntactic-keywords):
7016 Don't declare.
7017
7018 2012-08-07 Chong Yidong <cyd@gnu.org>
7019
7020 * simple.el (deactivate-mark): Preserve text properties when
7021 saving the primary selection (Bug#8384).
7022
7023 2012-08-07 Kevin Ryde <user42@zip.com.au>
7024
7025 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7026 (woman-parse-numeric-value): On a bad .IP line, issue a warning
7027 and continue processing (Bug#12110).
7028
7029 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7030
7031 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7032 syntax-propertize-function (bug#10095).
7033
7034 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7035
7036 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7037 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7038 describe-function-1.
7039 (describe-function-1): Use them. Move compiler macro after sig.
7040 (help-fns--compiler-macro): Use function-get. Assume we're already in
7041 standard-output. Adjust layout to new call order.
7042
7043 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7044 re-binding a symbol that has a symbol-macro (bug#12119).
7045
7046 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7047
7048 * language/persian.el: New file. (Bug#11812)
7049 * loadup.el: Add language/persian.el.
7050
7051 2012-08-06 Chong Yidong <cyd@gnu.org>
7052
7053 * window.el (window--maybe-raise-frame): New function.
7054 (window--display-buffer): Split off from here.
7055 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7056 (display-buffer-pop-up-window, display-buffer-use-some-window):
7057 Obey an inhibit-switch-frame action alist entry.
7058 (display-buffer): Update doc.
7059
7060 * replace.el (occur-after-change-function): Avoid losing focus by
7061 using the inhibit-switch-frame display parameter (Bug#12139).
7062
7063 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7064
7065 Make internal shell process buffer names start with space.
7066 * progmodes/python.el (python-shell-make-comint): Add optional
7067 argument INTERNAL.
7068 (run-python-internal): Use it.
7069 (python-shell-internal-get-or-create-process): Check for new
7070 internal buffer names.
7071
7072 2012-08-06 Glenn Morris <rgm@gnu.org>
7073
7074 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
7075 Do less getting and setting of environment variables.
7076
7077 2012-08-05 Chong Yidong <cyd@gnu.org>
7078
7079 * proced.el (proced): Add substitution string to docstring to
7080 trigger autoloading of the proced library on C-h f (Bug#1768).
7081
7082 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7083 Don't show defvars which have no second argument (Bug#8638).
7084
7085 * imenu.el (imenu-generic-expression): Move documentation here
7086 from imenu--generic-function.
7087 (imenu--generic-function): Refer to imenu-generic-expression.
7088
7089 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
7090
7091 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7092 indentation declaration.
7093 (viper-loop): Add indentation declaration (Bug#7025).
7094
7095 2012-08-05 Chong Yidong <cyd@gnu.org>
7096
7097 * help-fns.el (describe-variable): Add hyperlink for
7098 directory-local variables files. Improve buffer-local and
7099 permanent-local reporting; suggested by MON KEY (Bug#6644).
7100
7101 * help-mode.el (help-dir-local-var-def): New button type.
7102
7103 * files.el (kill-buffer-hook): Provide a defvar.
7104
7105 2012-08-05 Glenn Morris <rgm@gnu.org>
7106
7107 * eshell/esh-ext.el (eshell/addpath):
7108 Also update eshell-path-env. (Bug#12013)
7109
7110 2012-08-05 Chong Yidong <cyd@gnu.org>
7111
7112 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
7113
7114 * fringe.el (fringe-styles): Add docstring.
7115 (fringe--check-mode): New function.
7116 (set-fringe-mode, set-fringe-style): Use it.
7117 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7118
7119 * files.el (set-auto-mode): Fix invalid setq call.
7120
7121 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7122
7123 * isearch.el: Misc simplification; use defstruct.
7124 (isearch-mode-map): Dense maps now work like sparse ones.
7125 (isearch--state): New defstruct.
7126 (isearch-string-state, isearch-message-state, isearch-point-state)
7127 (isearch-success-state, isearch-forward-state)
7128 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7129 (isearch-wrapped-state, isearch-barrier-state)
7130 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7131 replaced by defstruct's accessors.
7132 (isearch--set-state): Rename from isearch-top-state and change
7133 calling convention.
7134 (isearch-push-state): Use new isearch--get-state.
7135 (isearch-toggle-word): Disable regexp when enabling word.
7136 (isearch-message-prefix): Remove unused arg _c-q-hack.
7137 (isearch-message-suffix): Remove unused arg _ellipsis.
7138
7139 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7140
7141 * simple.el (list-processes--refresh): For a server use :host or
7142 :local as the address.
7143 (list-processes): Doc fix.
7144
7145 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
7146
7147 * lisp/mpc.el: Support password in host argument.
7148 (mpc--proc-connect): Parse and use new password element.
7149 Set mpc-proc variable instead of returning process.
7150 (mpc-proc): Adjust accordingly.
7151
7152 2012-08-03 Eli Zaretskii <eliz@gnu.org>
7153
7154 * whitespace.el (whitespace-display-mappings): Use Unicode
7155 codepoints, instead of emacs-mule codepoints. See
7156 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
7157 for the details.
7158
7159 * files.el (file-truename): Don't skip symlink-chasing part on
7160 windows-nt. Incorporate the resolution of 8+3 short aliases on
7161 Windows into the loop that recursively chases symlinks.
7162 Compare directory and its parent case-insensitively on MS-Windows and
7163 MS-DOS.
7164
7165 2012-08-03 Chong Yidong <cyd@gnu.org>
7166
7167 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7168
7169 * sort.el (sort-regexp-fields): Doc fix.
7170
7171 2012-08-03 Tassilo Horn <tsdh@gnu.org>
7172
7173 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7174 labels regex position point at the expected place.
7175
7176 2012-08-03 MON KEY <monkey@sandpframing.com>
7177
7178 * net/imap.el (imap-interactive-login, imap-authenticate)
7179 (imap-mailbox-lsub, imap-mailbox-list)
7180 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7181 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7182 (imap-parse-response): Doc fix.
7183
7184 2012-08-03 João Távora <joaotavora@gmail.com>
7185
7186 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7187 if sexp scanning does not move point (Bug#5734).
7188
7189 2012-08-02 Tassilo Horn <tsdh@gnu.org>
7190
7191 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7192 Add listings, minted, and ctable packages.
7193 (reftex-label-alist-builtin): Move listings, minted, and ctable
7194 entries before LaTeX.
7195 (reftex-label-alist): Docfix.
7196
7197 2012-08-02 Bastien Guerry <bzg@gnu.org>
7198
7199 * replace.el (occur): Fix docstring (bug#12122).
7200
7201 2012-08-02 Glenn Morris <rgm@gnu.org>
7202
7203 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7204
7205 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7206
7207 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7208 * international/mule-cmds.el: Create
7209 inactivate-current-input-method-function as an obsolete alias for
7210 deactivate-current-input-method-function. See Katsumi Yamaoka in
7211 <http://bugs.gnu.org/10150#46>.
7212
7213 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7214
7215 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7216 of nested `if's.
7217
7218 2012-08-01 Glenn Morris <rgm@gnu.org>
7219
7220 * progmodes/autoconf.el (autoconf-definition-regexp):
7221 Add AH_TEMPLATE, adjust submatch numbering.
7222 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7223 (autoconf-current-defun-function): Update for above change.
7224 (autoconf-current-defun-function): First skip to end of current word.
7225
7226 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7227
7228 * calendar/cal-html.el (cal-html-insert-agenda-days):
7229 Fix typo. (Bug#12018)
7230
7231 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7232
7233 Shell processes: enhancements to startup and CEDET compatibility.
7234 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7235 (python-shell-make-comint): accept-process-output at startup.
7236 (run-python-internal): Set inferior-python-mode-hook to nil.
7237 (python-shell-internal-get-or-create-process): call sit-for.
7238 (python-preoutput-result): Add obsolete alias.
7239 (python-shell-internal-send-string): Use it.
7240 (python-shell-send-setup-code): Remove call to
7241 accept-process-output.
7242
7243 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7244
7245 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7246 (Bug#12108)
7247
7248 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7249
7250 * calc-mode.el (calc-basic-simplification-mode): Rename from
7251 `calc-limited-simplification-mode'.
7252 (calc-alg-simplification-mode): New function.
7253 (calc-set-simplify-mode): Adjust message.
7254
7255 * calc.el (calc-set-mode-line): Adjust mode line display for
7256 basic simplification mode.
7257
7258 * calc-help.el (calc-m-prefix-help): Update help message.
7259
7260 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7261 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7262
7263 2012-07-31 Bastien Guerry <bzg@gnu.org>
7264
7265 * man.el (man): Fix comment. (bug#12101)
7266
7267 2012-07-31 Martin Rudalics <rudalics@gmx.at>
7268
7269 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7270 Don't return a non-nil value when no suitable buffer was found.
7271
7272 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7273
7274 * progmodes/python.el (run-python-internal): Disable font lock for
7275 internal shells.
7276
7277 2012-07-30 Stefan Merten <smerten@oekonux.de>
7278
7279 * textmodes/rst.el: Silence `checkdoc-ispell'.
7280 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7281 (rst-official-version, rst-official-cvs-rev)
7282 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7283 (rst-mode-map): New key binding.
7284
7285 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7286
7287 Update .PHONY listings in makefiles.
7288 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7289 autoloads, update-subdirs, updates, bzr-update, update-authors,
7290 compile-onefile, compile-calc, backup-compiled-files,
7291 compile-after-backup, compile-one-process, mh-autoloads,
7292 bootstrap-clean, distclean, maintainer-clean.
7293
7294 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7295
7296 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7297 (calc-set-mode-line): Don't display "AlgSimp ".
7298
7299 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7300 (calc-lim-simplify-mode): New function.
7301 (calc-set-simplify-mode): Default to 'alg.
7302 (calc-default-simplify-mode): Make algebraic simplifications
7303 the default.
7304
7305 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7306 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7307
7308 * calc/calc-help.el (calc-m-prefix-help): Change messages to
7309 indicate new simplification modes.
7310
7311 * calc/README: Mention new default simplification mode.
7312
7313 * calc/calc.el (math-normalize-error): New variable.
7314 (math-normalize): Set `math-normalize-error' to t
7315 when there's an error.
7316
7317 * calc/calc-alg.el (math-simplify): Don't simplify when
7318 `math-normalize' returns an error.
7319
7320 2012-07-29 Eli Zaretskii <eliz@gnu.org>
7321
7322 * international/mule-cmds.el (set-locale-environment): Revert last
7323 change, since display-graphic-p returns nil when this function is
7324 called during startup. Instead...
7325
7326 * term/w32console.el (terminal-init-w32console): ...setup the
7327 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7328
7329 2012-07-29 Juri Linkov <juri@jurta.org>
7330
7331 * simple.el (goto-line): Don't display default line number in the
7332 prompt because it should be displayed by `read-number' (bug#9952).
7333 Add the current line number to the defaults of `goto-line' to
7334 allow its easier modification by users with `M-n' (bug#9201).
7335
7336 * subr.el (read-number): Support multiple default values like in
7337 other minibuffer reading functions. Replace `read' with
7338 `string-to-number' for consistency with `number-to-string'.
7339
7340 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7341
7342 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7343 * emulation/viper-init.el (viper-deactivate-input-method-action):
7344 Rename from viper-inactivate-input-method-action.
7345 (viper-deactivate-input-method):
7346 Rename from viper-inactivate-input-method.
7347 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7348 * international/mule-cmds.el (deactivate-input-method):
7349 Rename from inactivate-input-method.
7350 Also run input-method-deactivate-hook.
7351 (deactivate-current-input-method-function):
7352 Rename from inactivate-current-input-method-function.
7353 (input-method-deactivate-hook): New hook.
7354 (input-method-inactivate-hook): Mark obsolete.
7355 (inactivate-input-method): Mark obsolete.
7356
7357 * international/quail.el (quail-activate):
7358 Also run quail-deactivate-hook.
7359 (quail-deactivate): Rename from quail-inactivate.
7360 * international/robin.el (robin-activate):
7361 Also run robin-deactivate-hook.
7362 (robin-deactivate): Rename from robin-inactivate.
7363
7364 2012-07-29 Chong Yidong <cyd@gnu.org>
7365
7366 * simple.el (indicate-copied-region): New function.
7367 (kill-ring-save): Split off from here.
7368
7369 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7370 (kill-rectangle): Set deactivate-mark to t on read-only error.
7371
7372 * register.el (copy-to-register, copy-rectangle-to-register):
7373 Deactivate the mark, and use indicate-copied-region (Bug#10056).
7374 (append-to-register, prepend-to-register): Call indicate-copied-region.
7375
7376 2012-07-29 Juri Linkov <juri@jurta.org>
7377
7378 * simple.el (async-shell-command-buffer): New defcustom.
7379 (shell-command): Use it. (Bug#4719)
7380
7381 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7382
7383 * international/mule-cmds.el (set-locale-environment): In a
7384 console session on MS-Windows, set up keyboard and terminal
7385 encoding from the OEM codepage, not the ANSI codepage.
7386 (Bug#12055)
7387
7388 2012-07-28 Chong Yidong <cyd@gnu.org>
7389
7390 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
7391 gdb-get-location.
7392
7393 2012-07-28 Leo Liu <sdl.web@gmail.com>
7394
7395 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
7396 the alist (bug#12029).
7397
7398 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7399
7400 * makefile.w32-in (custom-deps, finder-data, updates, compile)
7401 (compile-always, compile-first)
7402 ($(lisp)/calendar/cal-loaddefs.el)
7403 ($(lisp)/calendar/diary-loaddefs.el)
7404 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7405 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
7406 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
7407 instead of on update-subdirs.
7408 (bootstrap-clean): Delete $(lisp)/subdirs.el.
7409
7410 2012-07-28 Chong Yidong <cyd@gnu.org>
7411
7412 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
7413 directory if vc-deduce-backend returns nil (Bug#7350).
7414
7415 * simple.el (delete-trailing-lines): New option.
7416 (delete-trailing-whitespace): Obey it (Bug#11879).
7417
7418 2012-07-28 David Engster <deng@randomsample.de>
7419
7420 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
7421 Explanation of new 'symbol-qnames feature in doc-strings.
7422 (xml-maybe-do-ns): Return expanded names as plain symbols if
7423 'symbol-qnames was provided in XML-NS argument (Bug#11916).
7424 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
7425
7426 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7427
7428 Consistent completion in inferior python with emacs -nw.
7429 * progmodes/python.el (inferior-python-mode): replace "<tab>"
7430 binding in inferior-python-mode-map with "\t".
7431 (python-shell-completion-complete-at-point)
7432 (python-completion-complete-at-point): Remove interactive spec.
7433
7434 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7435
7436 * calc/calccomp.el (math-compose-expr): Undo previous change.
7437
7438 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7439
7440 * progmodes/python.el (python-mode-map): Add keybinding for
7441 run-python.
7442 (python-shell-make-comint): Fix pop-to-buffer call.
7443 (run-python): Autoload. New arg SHOW.
7444 (python-shell-get-or-create-process): Do not pop python process
7445 buffer.
7446
7447 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
7448
7449 * notifications.el (notifications-on-action-signal)
7450 (notifications-on-closed-signal): Use also the bus address for the map.
7451 (notifications-notify, notifications-close-notification)
7452 (notifications-get-capabilities): Add optional argument BUS.
7453
7454 2012-07-27 Tassilo Horn <tsdh@gnu.org>
7455
7456 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7457 Add support for the lstlisting and minted environments, and for the
7458 ctable macro.
7459 * textmodes/reftex.el (reftex-compile-variables): Also recognize
7460 labels written in keyvals syntax.
7461
7462 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7463
7464 * calc/calccomp.el (math-compose-expr): Use parentheses when
7465 there is a product in the denominator of a fraction.
7466
7467 2012-07-26 Eli Zaretskii <eliz@gnu.org>
7468
7469 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
7470 ($(lisp)/calendar/diary-loaddefs.el)
7471 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7472 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
7473 Fixes failures in parallel bootstrap because subdirs.el is being
7474 rewritten while the autoload files are built at the same time,
7475 which needs to load subdirs.el.
7476
7477 2012-07-26 Martin Rudalics <rudalics@gmx.at>
7478
7479 * mouse.el (popup-menu): Fix doc-string and re-indent code.
7480 (mouse-drag-line): Don't exit tracking when a switch-frame or
7481 switch-window event occurs (Bug#12006).
7482
7483 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7484
7485 * mouse.el (popup-menu): Fix last change.
7486
7487 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7488
7489 Autoload from Lisp with more care. Follow aliases when looking for
7490 function properties.
7491 * subr.el (autoloadp): New function.
7492 (symbol-file): Use it.
7493 (function-get): New function.
7494 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
7495 autoload-do-load.
7496 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
7497 (lisp-indent-function):
7498 * emacs-lisp/gv.el (gv-get):
7499 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
7500 * emacs-lisp/byte-opt.el (byte-optimize-form):
7501 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7502 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
7503 Use function-get.
7504 * emacs-lisp/cl.el: Don't propagate function properties any more.
7505
7506 * speedbar.el (speedbar-add-localized-speedbar-support):
7507 * emacs-lisp/disass.el (disassemble-internal):
7508 * desktop.el (desktop-load-file):
7509 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
7510 (describe-function-1):
7511 * emacs-lisp/find-func.el (find-function-noselect):
7512 * emacs-lisp/elp.el (elp-instrument-function):
7513 * emacs-lisp/advice.el (ad-has-proper-definition):
7514 * apropos.el (apropos-safe-documentation, apropos-macrop):
7515 * emacs-lisp/debug.el (debug-on-entry):
7516 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
7517 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7518 * calc/calc.el (name): Use autoloadp & autoload-do-load.
7519
7520 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
7521
7522 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
7523 function, not an obsolete variable (Bug#12046).
7524
7525 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7526
7527 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
7528
7529 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
7530
7531 * emacs-lisp/pp.el (pp-display-expression): Select old selected
7532 window only if it is still live (Bug#12034).
7533
7534 2012-07-25 Martin Rudalics <rudalics@gmx.at>
7535
7536 * subr.el (redirect-frame-focus): Add advertised calling
7537 convention (Bug#12030).
7538
7539 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
7540
7541 Prefer typical American spelling for "acknowledgment".
7542 * vc/add-log.el (change-log-acknowledgment): Rename from
7543 change-log-acknowledgement, with an alias for the old name.
7544
7545 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
7546
7547 * calc-alg.el (math-simplify-divide): Don't cross multiply
7548 in an equation when the lhs is a variable.
7549
7550 2012-07-24 Julien Danjou <julien@danjou.info>
7551
7552 * net/netrc.el (netrc-find-service-number, netrc-store-data):
7553 Remove, unused.
7554
7555 2012-07-23 Eli Zaretskii <eliz@gnu.org>
7556
7557 * startup.el (command-line): Don't display an empty user name in
7558 the error message about non-existent home directory, when
7559 init-file-user was set to an empty string. See
7560 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
7561 for the details and context.
7562
7563 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
7564
7565 * ses.el (ses-cell-formula-aset): New macro.
7566 (ses-cell-references-aset): New macro.
7567 (ses-cell-p): New function.
7568 (ses-rename-cell): Do no longer rely on complex operations like
7569 ses-cell-set-formula or ses-set-cell to change the cell and handle
7570 the undo at the same time, but rather use lower level new macros
7571 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
7572 the undo directly. Refresh the mode line.
7573
7574 2012-07-21 Leo Liu <sdl.web@gmail.com>
7575
7576 * progmodes/cc-cmds.el (c-defun-name):
7577 Use match-string-no-properties instead for consistency.
7578
7579 2012-07-20 Leo Liu <sdl.web@gmail.com>
7580
7581 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
7582 (Bug#7879)
7583
7584 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
7585
7586 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
7587
7588 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
7589 * progmodes/bug-reference.el, misearch.el: Provide themselves
7590 (bug#11915).
7591
7592 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
7593 of narrowed buffer (bug#11966).
7594
7595 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
7596
7597 * ses.el (ses-rename-cell): Set new name also in reference list of
7598 cells of which the renamed cell depends.
7599
7600 2012-07-20 Masatake YAMATO <yamato@redhat.com>
7601
7602 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
7603 to check whether menu-bar is shown or not. If not shown,
7604 show the menu-bar as a popup menu instead of using tmm.
7605 * mouse.el (popup-menu): Accept `point' as `position' argument.
7606
7607 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
7608
7609 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
7610 up inside string symbol literal (bug#11923).
7611
7612 2012-07-20 Eli Zaretskii <eliz@gnu.org>
7613
7614 * startup.el (fancy-startup-text): Read the whole tutorial, not
7615 just its first 256 bytes. Prevents gibberish in display of the
7616 tutorial title.
7617
7618 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
7619
7620 Drop idle buffer compaction due to an absence of the
7621 proved efficiency.
7622 * compact.el: Remove.
7623
7624 2012-07-19 Sam Steingold <sds@gnu.org>
7625
7626 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
7627 vc-bzr-pull & vc-bzr-merge-branch.
7628 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
7629 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
7630 for consistency with compilation-error-regexp-alist.
7631 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
7632 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
7633 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
7634 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
7635
7636 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7637
7638 * emacs-lisp/chart.el: Use lexical-binding.
7639 (chart-emacs-storage): Don't hardcode the list of entries.
7640
7641 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7642
7643 Next round of tweaks caused by Fgarbage_collect changes.
7644 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
7645
7646 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7647
7648 Compact buffers when idle.
7649 * compact.el: New file.
7650
7651 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7652
7653 * subr.el (eventp): Presume that if it looks vaguely like an event,
7654 it's an event (bug#10190).
7655
7656 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
7657
7658 Enhancements to ppss related code (thanks Stefan).
7659 * progmodes/python.el (python-indent-context)
7660 (python-indent-calculate-indentation, python-indent-dedent-line)
7661 (python-indent-electric-colon, python-nav-forward-block)
7662 (python-mode-abbrev-table)
7663 (python-info-assignment-continuation-line-p): Simplify checks
7664 for ppss context.
7665 (python-info-continuation-line-p): Cleanup.
7666 (python-info-ppss-context): Do not catch 'quote.
7667 (python-info-ppss-context-type)
7668 (python-info-ppss-comment-or-string-p): Simplify.
7669
7670 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
7671
7672 * progmodes/python.el: Enhancements to eldoc support.
7673 (python-info-current-symbol): New function.
7674 (python-eldoc-at-point): Use python-info-current-symbol.
7675 (python-info-current-defun): Fix cornercase on first defun scan.
7676 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
7677 and signal error when no inferior python process is available.
7678
7679 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
7680
7681 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
7682 assume it's always t.
7683 (vc-git-registered): Remove caching, the function is only called
7684 once.
7685 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
7686
7687 2012-07-18 Chong Yidong <cyd@gnu.org>
7688
7689 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
7690
7691 * simple.el (count-words): Report on narrowing (Bug#9959).
7692
7693 * bindings.el: Bind M-= to count-words.
7694
7695 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
7696
7697 2012-07-18 Masatake YAMATO <yamato@redhat.com>
7698
7699 * progmodes/sh-script.el (sh-imenu-generic-expression):
7700 Capture a function with `function' keyword and without parentheses
7701 like "function FOO" (bug#11856).
7702
7703 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
7704
7705 * window.el (split-window-sensibly): Make WINDOW argument
7706 optional.
7707
7708 2012-07-18 Chong Yidong <cyd@gnu.org>
7709
7710 * subr.el (keyboard-translate): Doc fix (Bug#7261).
7711
7712 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
7713 and make C-x 8 RET exit isearch (Bug#11439).
7714
7715 * international/iso-transl.el: Move isearch-mode-map key
7716 definitions to isearch.el.
7717
7718 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
7719
7720 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
7721 (eieio-defclass): Use gv-define-setter when possible.
7722
7723 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
7724
7725 Reflect recent changes in Fgarbage_collect.
7726 * emacs-lisp/chart.el (chart-emacs-storage): Change to
7727 reflect new format of data returned by Fgarbage_collect.
7728
7729 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7730
7731 New utility functions + python-info-ppss-context fix (Bug#11910).
7732 * progmodes/python.el (python-info-beginning-of-block-statement-p)
7733 (python-info-ppss-comment-or-string-p): New functions.
7734 (python-info-ppss-context): Small fix for string check.
7735
7736 2012-07-17 Juri Linkov <juri@jurta.org>
7737
7738 * dired-aux.el (dired-do-async-shell-command): Doc fix.
7739 (dired-do-async-shell-command): Don't add `*' at the end of the
7740 command (Bug#11815).
7741 (dired-do-shell-command): Doc fix.
7742 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
7743 Join the individual commands using either "&" or ";" as the
7744 separator depending on the values of these trailing characters.
7745 At the end re-add the trailing "&". (Bug#10598)
7746
7747 * simple.el (async-shell-command): Sync the interactive spec with
7748 `shell-command'. Doc fix.
7749 (shell-command): Doc fix.
7750
7751 2012-07-17 Juri Linkov <juri@jurta.org>
7752
7753 * descr-text.el (describe-char): Fix format args. (Bug#10129)
7754
7755 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7756
7757 Final renames and doc fixes for movement commands (bug#11899).
7758 * progmodes/python.el (python-nav-beginning-of-statement):
7759 Rename from python-nav-statement-start.
7760 (python-nav-end-of-statement): Rename from
7761 python-nav-statement-end.
7762 (python-nav-beginning-of-block): Rename from
7763 python-nav-block-start.
7764 (python-nav-end-of-block): Rename from python-nav-block-end.
7765
7766 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7767
7768 * progmodes/python.el (python-shell-send-string-no-output):
7769 Allow accept-process-output to quit, keeping shell process ready for
7770 future interactions (Bug#11868).
7771
7772 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
7773
7774 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
7775
7776 * emacs-lisp/elint.el (elint-find-args-in-code):
7777 Use help-function-arglist, so as to handle lexical byte-code.
7778
7779 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
7780 change (bug#11826).
7781
7782 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
7783
7784 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
7785 Avoid spuriously marking the buffer as modified because of c-is-sws.
7786
7787 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
7788 as not-a-comment (bug#11946).
7789
7790 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
7791 for uninterned vars.
7792
7793 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
7794 Use read-event since we don't really want to read chars but bytes.
7795
7796 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
7797 $$..$$ but also $..$ using regexps (bug#11953).
7798 Use tex-verbatim for \url and \path.
7799 (tex-font-lock-keywords): Define as defconst like the others.
7800 (tex-common-initialization): Don't use font-lock-syntax-table any more.
7801
7802 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
7803
7804 * international/mule-cmds.el (ucs-insert): Make it an obsolete
7805 alias for insert-char.
7806
7807 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7808
7809 * progmodes/python.el: Simplified imenu implementation.
7810 (python-nav-jump-to-defun): Remove command.
7811 (python-mode-map): Use `imenu' instead.
7812 (python-nav-list-defun-positions-cache)
7813 (python-imenu-include-defun-type, python-imenu-make-tree)
7814 (python-imenu-subtree-root-label, python-imenu-index-alist):
7815 Remove vars.
7816 (python-nav-list-defun-positions, python-nav-read-defun)
7817 (python-imenu-tree-assoc, python-imenu-make-element-tree)
7818 (python-imenu-make-tree, python-imenu-create-index):
7819 Remove functions.
7820 (python-mode): Update to interact with imenu by setting
7821 `imenu-extract-index-name-function' only.
7822
7823 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7824
7825 * progmodes/python.el: Enhancements to navigation commands.
7826 (python-nav-backward-sentence)
7827 (python-nav-forward-sentence): Remove.
7828 (python-nav-backward-statement, python-nav-forward-statement)
7829 (python-nav-statement-start, python-nav-statement-end)
7830 (python-nav-backward-block, python-nav-forward-block)
7831 (python-nav-block-start, python-nav-block-end)
7832 (python-nav-forward-sexp-function)
7833 (python-info-current-line-comment-p)
7834 (python-info-current-line-empty-p): New functions.
7835 (python-indent-context): Use `python-nav-statement-start'.
7836
7837 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
7838
7839 * eshell/em-ls.el (eshell/ls): Use `apply'.
7840
7841 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
7842 multi-hops, instead of Tramp internals.
7843
7844 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
7845
7846 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
7847 when F1 and F2 are located on different hosts.
7848
7849 2012-07-14 Chong Yidong <cyd@gnu.org>
7850
7851 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
7852 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
7853 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
7854 (xterm-mouse--read-event-sequence-1000)
7855 (xterm-mouse--read-event-sequence-1006): New functions. For old
7856 mouse protocol, handle M-mouse-X events correctly.
7857 (xterm-mouse-event): New arg specifying mouse protocol.
7858 (turn-on-xterm-mouse-tracking-on-terminal)
7859 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
7860 sequence to toggle extended coordinates on newer XTerms.
7861 This appears to be harmless on terminals which do not support this.
7862
7863 2012-07-14 Leo Liu <sdl.web@gmail.com>
7864
7865 Add fringe bitmap indicators for flymake. (Bug#11253)
7866 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
7867 (flymake-make-overlay): New arg BITMAP.
7868 (flymake-error-bitmap, flymake-warning-bitmap)
7869 (flymake-fringe-indicator-position): New user variables.
7870
7871 * fringe.el: New bitmap exclamation-mark.
7872
7873 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
7874
7875 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
7876 also (Bug#7879).
7877
7878 2012-07-14 Chong Yidong <cyd@gnu.org>
7879
7880 * electric.el (electric-pair-post-self-insert-function): Fix pair
7881 insertion in empty-region case (Bug#11520).
7882
7883 2012-07-14 Chong Yidong <cyd@gnu.org>
7884
7885 * bindings.el: Consolidate ctl-x-r-map bindings.
7886 Bind copy-rectangle-as-kill to C-x r w.
7887
7888 * rect.el, register.el: Move bindings to bindings.el.
7889
7890 2012-07-14 Reuben Thomas <rrt@sc3d.org>
7891
7892 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
7893
7894 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
7895
7896 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
7897
7898 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
7899
7900 * bindings.el (top): Use `mapc' instead of `mapcar'.
7901
7902 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
7903
7904 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
7905
7906 * progmodes/sql.el (sql-comint): Suppress the check for program on
7907 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
7908 (Bug#11908)
7909
7910 2012-07-13 Chong Yidong <cyd@gnu.org>
7911
7912 * bindings.el: Assign a non-nil permanent-local property to
7913 per-buffer variables which lack a default value (Bug#11930).
7914
7915 * help-fns.el (describe-variable): In the "automatically becomes
7916 local" notice, take note of permanent-local variables.
7917
7918 2012-07-13 Chong Yidong <cyd@gnu.org>
7919
7920 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
7921 to allow printing the message when called from Lisp.
7922
7923 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7924 Remove toggle-read-only.
7925
7926 * bs.el (bs-toggle-readonly):
7927 * buff-menu.el (Buffer-menu-toggle-read-only):
7928 Remove with-no-warnings around toggle-read-only.
7929
7930 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
7931 Remove with-no-warnings around toggle-read-only.
7932 (ffap-read-only, ffap-read-only-other-window)
7933 (ffap-read-only-other-frame): Callers changed.
7934
7935 * help-mode.el: Don't require view package.
7936 (help-mode-finish): Set buffer-read-only instead of calling
7937 toggle-read-only.
7938
7939 * bindings.el (mode-line-toggle-read-only):
7940 * dired.el (dired-toggle-read-only):
7941 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
7942 with non-nil second arg.
7943
7944 * emacs-lisp/eieio-custom.el (eieio-customize-object):
7945 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
7946 directly.
7947
7948 2012-07-12 Eli Zaretskii <eliz@gnu.org>
7949
7950 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
7951 not incf.
7952
7953 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
7954
7955 More CL cleanups and reduction of use of cl.el.
7956 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
7957 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
7958 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
7959 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
7960 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
7961 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
7962 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
7963 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
7964 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
7965 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
7966 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
7967 * eshell/em-cmpl.el, eshell/em-banner.el:
7968 * calendar/parse-time.el: Use cl-lib.
7969 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
7970 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
7971 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
7972 * term/ns-win.el, term.el, shell.el, ps-samp.el:
7973 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
7974 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
7975 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
7976 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
7977 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
7978 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
7979 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
7980 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
7981 `lambda' rather than with `quote'.
7982 (eshell-do-opt): Adjust accordingly.
7983 (eshell-process-option): Simplify.
7984 * eshell/esh-var.el:
7985 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
7986 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
7987 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
7988 to `pcase--dontcare'.
7989 * emacs-lisp/cl.el (labels): Mark obsolete.
7990 (cl--letf, letf): Move to cl-lib.
7991 (cl--letf*, letf*): Remove.
7992 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
7993 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
7994 (cl-progv): Rewrite.
7995 (cl--letf, cl-letf): Move from cl.el.
7996 (cl-letf*): New macro.
7997 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
7998
7999 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
8000
8001 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8002
8003 2012-07-11 Chong Yidong <cyd@gnu.org>
8004
8005 * vc/log-edit.el (log-edit-vc-backend): New variable.
8006 (log-edit): Doc fix.
8007
8008 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
8009 argument of log-edit to set up all local variables.
8010 (vc-start-logentry): New optional arg specifying VC backend.
8011
8012 * vc/vc.el (vc-checkin): Use it.
8013 (vc-deduce-fileset): Handle Log Edit buffers.
8014 (vc-diff): Make first argument optional too.
8015
8016 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8017
8018 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
8019
8020 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8021 command, just in case. The function is not needed anymore.
8022 (eshell-external-command): Do not call `eshell-remote-command'.
8023
8024 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8025
8026 Reduce use of (require 'cl).
8027 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8028 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8029 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8030 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8031 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8032 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8033 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8034 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8035 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8036 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8037 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8038 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8039 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8040 (byte-compile-unfold-bcf, byte-compile-check-variable):
8041 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8042 (byte-compile-nilconstp):
8043 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8044 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8045
8046 * emacs-lisp/gv.el (cond): Make it a valid place.
8047 (if): Simplify slightly.
8048
8049 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8050 (pcase--self-quoting-p): New function.
8051 (pcase--u1): Use it.
8052
8053 2012-07-10 Glenn Morris <rgm@gnu.org>
8054
8055 * emacs-lisp/authors.el (authors-fixed-entries):
8056 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8057
8058 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8059
8060 Rename configure.in to configure.ac (Bug#11603).
8061 * emacs-lisp/authors.el (authors-canonical-file-name):
8062 * progmodes/autoconf.el (autoconf-mode):
8063 Prefer configure.ac to configure.in.
8064
8065 2012-07-08 Chong Yidong <cyd@gnu.org>
8066
8067 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8068 Implement the mouse-1-click-follows-link handling properly.
8069
8070 * info.el (Info-link-keymap): Use follow-link mechanism for
8071 header-line links (Bug#374).
8072
8073 * simple.el (deactivate-mark): Do not set the primary selection
8074 if another program has acquired it (Bug#11772).
8075
8076 2012-07-07 Kevin Ryde <user42@zip.com.au>
8077
8078 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8079 (woman-decode-region): Replace escaped-escapes without destroying
8080 bold or underline (Bug#11552).
8081 (woman2-process-escapes): Handle nofill regions (Bug#11591).
8082
8083 2012-07-07 Chong Yidong <cyd@gnu.org>
8084
8085 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
8086 (interprogram-cut-function, interprogram-paste-function):
8087 Mention that we typically mean the clipboard.
8088
8089 2012-07-06 Glenn Morris <rgm@gnu.org>
8090
8091 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8092
8093 * files.el (toggle-read-only): Restrict message to interactive use.
8094
8095 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
8096
8097 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8098
8099 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8100
8101 2012-07-06 Glenn Morris <rgm@gnu.org>
8102
8103 * Makefile.in (compile-one-process): Rename from "recompile".
8104
8105 * Makefile.in (bzr-update): "compile" is the same as "recompile
8106 autoloads", but parallelizable, so use that instead.
8107
8108 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8109
8110 * window.el (quit-window): Always restore window height when
8111 it's saved in quit-restore parameter (Bug#11810).
8112
8113 2012-07-06 Glenn Morris <rgm@gnu.org>
8114
8115 * simple.el (kill-whole-line): Doc tweak.
8116
8117 2012-07-06 Eli Zaretskii <eliz@gnu.org>
8118
8119 * files.el (file-relative-name): Compare file names
8120 case-insensitively if on MS-Windows or MS-DOS, or if
8121 read-file-name-completion-ignore-case is non-nil. Don't use
8122 case-fold-search for this purpose. (Bug#11827)
8123
8124 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8125
8126 * calendar/cal-dst.el (calendar-current-time-zone):
8127 Return calendar-current-time-zone-cache if non-nil.
8128
8129 2012-07-17 Masatake YAMATO <yamato@redhat.com>
8130 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8131
8132 * calendar/cal-dst.el (calendar-current-time-zone):
8133 Return calendar-current-time-zone-cache if non-nil.
8134
8135 2012-07-06 Glenn Morris <rgm@gnu.org>
8136
8137 * Makefile.in (cvs-update): Remove old alias.
8138
8139 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
8140
8141 Sync with Tramp 2.2.6-pre.
8142
8143 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8144 compatible declaration.
8145
8146 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8147 Protect `list-load-path-shadows' call.
8148
8149 * net/tramp-compat.el (top): Require packages, which aren't
8150 autoloaded anymore for XEmacs. Protect call of
8151 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
8152 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
8153 it hurts at least for SXEmacs.
8154 (tramp-compat-temporary-file-directory): In XEmacs, there is no
8155 standard-value for `temporary-file-directory'.
8156
8157 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
8158 Redirect stderr to /dev/null.
8159 (tramp-sh-handle-write-region): uid and gid can be floats.
8160 Reported by Russell Sim <russell.sim@gmail.com>.
8161 (tramp-sh-handle-vc-registered): Hide errors.
8162 (tramp-vc-file-name-handler): Use dummy results for `process-file'
8163 and `start-file-process'.
8164 (tramp-maybe-open-connection): Check also whether `non-essential'
8165 is bound.
8166
8167 2012-07-04 Chong Yidong <cyd@gnu.org>
8168
8169 * xml.el (xml--parse-buffer): Use xml-syntax-table.
8170 (xml-parse-tag): Likewise, and avoid changing entity tables.
8171 (xml-syntax-table): Define from scratch, making sure not to give
8172 x2000 and other Unicode spaces whitespace syntax, since those are
8173 not spaces in XML.
8174 (xml-parse-fragment): Delete unused function.
8175 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8176 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8177 (xml-entity-ref, xml-pe-reference-re)
8178 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8179 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8180 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8181 (xml-entity-value-re): Use syntax references in regexps where
8182 possible; no need to define inside a let-binding.
8183 (xml-parse-dtd): Use xml-pe-reference-re.
8184 (xml-entity-or-char-ref-re): New defconst.
8185 (xml-parse-string, xml-substitute-special): Use it.
8186
8187 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8188
8189 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8190 (find-file--read-only): New function.
8191 (find-file-read-only, find-file-read-only-other-window)
8192 (find-file-read-only-other-frame): Use it.
8193 (insert-file-contents-literally): Don't `fset'.
8194 (get-free-disk-space): Use locate-dominating-file.
8195
8196 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8197 function is already compiled.
8198
8199 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8200
8201 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
8202
8203 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8204 files on the same host.
8205
8206 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8207
8208 * help-fns.el (describe-function-1): Only call
8209 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8210
8211 2012-07-03 Chong Yidong <cyd@gnu.org>
8212
8213 * xml.el: Protect parser against XML bombs.
8214 (xml-entity-expansion-limit): New variable.
8215 (xml-parse-string, xml-substitute-special): Use it.
8216 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8217
8218 2012-07-03 Glenn Morris <rgm@gnu.org>
8219
8220 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8221 Allow linking to specific messages in debbugs reports (eg 123#5).
8222
8223 2012-07-02 Chong Yidong <cyd@gnu.org>
8224
8225 * xml.el: Fix entity and character reference expansion, allowing
8226 them to expand into markup as per XML spec.
8227 (xml-default-ns): New variable.
8228 (xml-entity-alist): Use XML spec definitions for lt and amp.
8229 (xml-parse-region): Make first two arguments optional.
8230 Discard text properties.
8231 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8232 All callers changed.
8233 (xml-parse-tag): Call xml-parse-tag-1. For backward
8234 compatibility, this function should not modify buffer contents.
8235 (xml-parse-tag-1): Fix opening-tag regexp.
8236 (xml-parse-string): Rewrite, handling entity and character
8237 references properly.
8238 (xml--entity-replacement-text): Signal an error if a parameter
8239 entity is undefined.
8240
8241 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8242
8243 * comint.el (comint-output-filter): Filter out repeated prompts.
8244
8245 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8246 and file-name-absolute-p.
8247 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8248 internal calls.
8249
8250 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8251
8252 Spelling fixes.
8253 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8254 Rename from byte-compile--refiy-function. All uses changed.
8255
8256 2012-07-01 Chong Yidong <cyd@gnu.org>
8257
8258 * xml.el (xml--parse-buffer): New function. Move most of
8259 xml-parse-region here.
8260 (xml-parse-region): Copy region into a temporary buffer, since
8261 parameter entity substitution requires changing buffer contents.
8262 Use xml--parse-buffer.
8263 (xml-parse-file): Use xml--parse-buffer.
8264 (xml-parse-dtd): Make parameter entity substitution work right.
8265 Use proper regexps for ELEMENT declarations (Bug#7172).
8266
8267 2012-06-30 Glenn Morris <rgm@gnu.org>
8268
8269 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8270
8271 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8272 Remove outdated and unnecessary dbus declarations.
8273
8274 2012-06-30 Eli Zaretskii <eliz@gnu.org>
8275
8276 * emacs-lisp/timer.el (timer-until): Subtract results of
8277 float-time, instead of taking float-time of the result of
8278 time-subtract, since float-time signals an error for negative time
8279 arguments.
8280
8281 2012-06-30 Chong Yidong <cyd@gnu.org>
8282
8283 * xml.el (xml-*-re): Convert defvars into defconsts, and
8284 eval-and-compile them so eval-and-compile works on derivatives.
8285 (xml--entity-replacement-text): Use eval-and-comple.
8286
8287 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
8288
8289 * vc/vc-git.el (vc-git-registered): Use cache property
8290 `git-registered'.
8291 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8292 `vc-git-working-revision' in order to benefit from the cache.
8293 (vc-git-root): Use cache property `git-root'. (Bug#11757)
8294
8295 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8296
8297 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
8298 removed (likely outside Emacs). (Bug#11757)
8299
8300 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8301
8302 * emacs-lisp/cl-lib.el: Require macroexp.
8303
8304 2012-06-30 Chong Yidong <cyd@gnu.org>
8305
8306 * xml.el: Implement XML parameter entities.
8307 (xml-parameter-entity-alist): New variable.
8308 (xml-parse-region, xml-parse-fragment): Preserve previous values
8309 of xml-entity-alist and xml-parameter-entity-alist, so that
8310 repeated calls on different documents do not change them.
8311 (xml-parse-tag): Fix doctype regexp.
8312 (xml--entity-replacement-text): New function.
8313 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8314 properly requires url retrieval which is unimplemented.
8315 (xml-escape-string): Doc fix.
8316
8317 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8318
8319 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8320
8321 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8322
8323 * fringe.el (fringe-mode): Doc fix.
8324
8325 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
8326
8327 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8328 is non-nil.
8329 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8330 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8331
8332 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
8333
8334 * calendar/cal-dst.el (calendar-current-time-zone):
8335 Return calendar-current-time-zone-cache if non-nil.
8336
8337 2012-06-29 Masatake YAMATO <yamato@redhat.com>
8338
8339 * progmodes/which-func.el (which-func-format):
8340 Add mouse-face. (Bug#11698)
8341
8342 2012-06-29 Leo Liu <sdl.web@gmail.com>
8343
8344 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8345
8346 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8347
8348 * minibuffer.el (minibuffer-confirm-exit-commands):
8349 Add completion-at-point (bug#11725).
8350
8351 2012-06-29 Glenn Morris <rgm@gnu.org>
8352
8353 * progmodes/f90.el (f90-font-lock-keywords-2):
8354 Add some preprocessor elements. (Bug#10499)
8355
8356 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8357
8358 * progmodes/cperl-mode.el (cperl-update-syntaxification):
8359 Use syntax-propertize (bug#11739).
8360
8361 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
8362
8363 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8364
8365 2012-06-28 Julien Danjou <julien@danjou.info>
8366
8367 * term.el (term-handle-colors-array): Use a set of new faces to
8368 color the terminal. Also uses :inverse-video property.
8369 (term-default-fg-color): Set to nil by default, deprecate in favor
8370 of `term-face'.
8371 (term-default-bg-color): Set to nil by default, deprecate in favor
8372 of `term-face'.
8373 (term-current-face): Use `term-face' by default.
8374 (term-bold-attribute): Variable deleted.
8375
8376 2012-06-28 Glenn Morris <rgm@gnu.org>
8377
8378 * simple.el (completion-list-mode-finish):
8379 Don't use toggle-read-only. (Since completion-list-mode has
8380 a special mode-class, it wasn't doing anything extra anyway.)
8381
8382 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8383
8384 Make inlining of other-mode interpreted functions work (bug#11799).
8385 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8386 (byte-compile): Use it to fix compilation of lexical-binding closures.
8387 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
8388 function, if needed.
8389
8390 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8391
8392 * help-mode.el (help-make-xrefs): Don't just withstand
8393 cyclic-variable-indirection but any error in documentation-property.
8394
8395 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
8396 memory use.
8397 * bindings.el (bindings--define-key): New function.
8398 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
8399 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
8400 * bindings.el: Use it to purecopy define-key bindings.
8401
8402 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
8403
8404 * emacs-lisp/cl.el (flet): Mark obsolete.
8405 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
8406 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
8407 * progmodes/js.el (js-c-fill-paragraph):
8408 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
8409 (ebrowse-switch-member-buffer-to-derived-class):
8410 * play/5x5.el (5x5-solver): Use cl-flet.
8411
8412 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
8413 (cl--symbol-function): New macro.
8414 (cl--letf, cl--letf*): Use it.
8415
8416 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
8417 Strip "toggle-" if any.
8418
8419 2012-06-27 Glenn Morris <rgm@gnu.org>
8420
8421 * info.el (Info-default-directory-list): Move here from paths.el.
8422 * paths.el: Remove file, which is now empty.
8423 * loadup.el: No longer load "paths".
8424
8425 * custom.el (custom-initialize-delay): Doc fix.
8426
8427 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8428 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
8429 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
8430 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
8431 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
8432 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
8433 * eshell/eshell.el (eshell-defgroup): Remove alias.
8434
8435 2012-06-27 Chong Yidong <cyd@gnu.org>
8436
8437 * help.el (help-enable-auto-load): New variable.
8438
8439 * help-fns.el (help-fns--autoloaded-p): New function.
8440 (describe-function-1): Refer to a function as "autoloaded" if it
8441 was autoloaded at any time in the past. Perform autoloading if
8442 help-enable-auto-load is non-nil.
8443
8444 2012-06-26 Eli Zaretskii <eliz@gnu.org>
8445
8446 * makefile.w32-in (compile, compile-always): Depend on
8447 update-subdirs, not on subdirs.el. Otherwise, several different
8448 sub-targets of 'bootstrap' running in parallel could
8449 simultaneously write to subdirs.el, producing a garbled file.
8450
8451 2012-06-26 Sam Steingold <sds@gnu.org>
8452
8453 * files.el (file-name-base): New convenience function.
8454 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
8455 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
8456 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
8457 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
8458 * textmodes/ispell.el, textmodes/reftex-ref.el:
8459 * textmodes/tex-mode.el: Use it.
8460 Did not touch cedet and org because they are maintained elsewhere.
8461
8462 2012-06-26 Martin Rudalics <rudalics@gmx.at>
8463
8464 * calendar/calendar.el (calendar-exit): Don't try to delete or
8465 iconify last frame. See:
8466 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
8467
8468 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
8469
8470 * server.el (server-process-filter): Remember dir in the
8471 process's `server-client-directory' properties.
8472
8473 2012-06-24 Chong Yidong <cyd@gnu.org>
8474
8475 * xml.el (xml-parse-tag): Correctly handle comment embedded in
8476 non-tag text.
8477
8478 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
8479
8480 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
8481
8482 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8483
8484 * help-fns.el (describe-variable): Don't croak when doc is not found.
8485 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
8486 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
8487 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
8488 * emacs-lisp/smie.el (smie-next-sexp): CSE.
8489 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
8490 ((lambda ..) ..).
8491 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
8492
8493 2012-06-23 Chong Yidong <cyd@gnu.org>
8494
8495 * info.el (Info-mouse-follow-link): Accept symbol values of
8496 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
8497 (Info-fontify-node): Use Info-link-keymap for all navigation
8498 buttons, with link-args property to perform the desired action.
8499 (Info-link-keymap): Doc fix.
8500 (Info-next-link-keymap, Info-prev-link-keymap)
8501 (Info-up-link-keymap): Delete now-unused keymaps.
8502
8503 2012-06-23 Chong Yidong <cyd@gnu.org>
8504
8505 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
8506
8507 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
8508 system abbrevs.
8509
8510 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
8511
8512 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8513
8514 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
8515 (bug#11719).
8516
8517 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
8518 the requote function doesn't work properly (bug#11714).
8519
8520 2012-06-23 Glenn Morris <rgm@gnu.org>
8521
8522 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
8523
8524 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8525
8526 Further GV/CL cleanups.
8527 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
8528 gv-expander.
8529 (gv--defun-declaration): New function.
8530 (defun-declarations-alist): Use it.
8531 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
8532 (gv-place): Autoload.
8533 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
8534 original definition of dotimes and dolist.
8535 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
8536 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
8537 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
8538 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8539 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
8540 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
8541 to the function's definition.
8542 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
8543 * window.el:
8544 * files.el:
8545 * faces.el:
8546 * env.el: Don't use CL.
8547
8548 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
8549
8550 Support higher-resolution time stamps (Bug#9000).
8551
8552 * calendar/time-date.el (with-decoded-time-value): New arg
8553 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
8554 (encode-time-value): New optional arg PICO. New type 3.
8555 (time-to-seconds) [!float-time]: Support the new picoseconds
8556 component if it's used.
8557 (seconds-to-time, time-subtract, time-add):
8558 Support ps-resolution time stamps as well.
8559
8560 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
8561 (timerp): Timer vectors now have length 9, not 8.
8562 (timer--time): Support new-style (4-part) time stamps.
8563 (timer-next-integral-multiple-of-time): Time stamps now have
8564 picosecond resolution, so take a bit more care about rounding.
8565 (timer-relative-time, timer-inc-time): New optional arg psecs.
8566 (timer-set-time-with-usecs): Set psecs to 0.
8567 (timer--activate): Check psecs component, too.
8568
8569 * proced.el (proced-time-lessp): Support ps-resolution stamps.
8570
8571 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8572
8573 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
8574 Move the non-essential binding to the post/pre-command-hook where it is
8575 more obviously correct.
8576
8577 * subr.el (read-passwd): Don't use a history at all.
8578 * savehist.el (savehist-save): Remove password saved accidentally
8579 because of the above bug.
8580
8581 2012-06-22 Bastien Guerry <bzg@gnu.org>
8582
8583 * files.el (toggle-read-only): Display a message telling whether
8584 the buffer is read-only or not (bug#11726).
8585
8586 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8587
8588 * emacs-lisp/gv.el: New file.
8589 * subr.el (push, pop): Extend to generalized variables.
8590 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
8591 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
8592 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
8593 gv-define-simple-setter, and gv-define-expander.
8594 Remove setf-methods defined in gv. Rename cl-setf -> setf.
8595 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
8596 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
8597 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
8598 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
8599 gv-letplace.
8600 (cl-defstruct): Don't define setf-method any more.
8601 * emacs-lisp/cl.el (flet): Don't autoload.
8602 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
8603 (define-setf-expander, defsetf, define-modify-macro)
8604 (cl-struct-setf-expander): Move from cl-lib.el.
8605 * emacs-lisp/syntax.el:
8606 * emacs-lisp/ewoc.el:
8607 * emacs-lisp/smie.el:
8608 * emacs-lisp/cconv.el:
8609 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
8610 (timer--time): Use gv-define-simple-setter.
8611 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
8612 to avoid coding-system problems in subr.el. Adjust all users.
8613 (macroexp--maxsize, macroexp-small-p): New functions.
8614 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
8615 * scroll-bar.el (scroll-bar-mode):
8616 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8617 (normal-erase-is-backspace-mode): Don't use the `eq' place.
8618 * winner.el (winner-configuration, winner-make-point-alist)
8619 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
8620 * files.el (locate-file-completion-table): Avoid list*.
8621
8622 2012-06-22 Chong Yidong <cyd@gnu.org>
8623
8624 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
8625 (dired-create-files): Doc fix (Bug#11329).
8626 (dired-do-copy): Doc fix (Bug#11334).
8627 (dired-mark-read-string): Doc fix (Bug#11553).
8628
8629 * dired.el (dired-recursive-copies, dired-recursive-deletes):
8630 Doc fix (Bug#11326).
8631 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
8632 (dired-dwim-target): Doc fix.
8633
8634 * wdired.el (wdired-mode): Doc fix.
8635
8636 2012-06-22 Glenn Morris <rgm@gnu.org>
8637
8638 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
8639 (pcmpl-rpm-cache-stamp-file): New constant.
8640 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
8641 (pcmpl-rpm-packages): Optionally cache list of packages.
8642
8643 * pcmpl-rpm.el (pcmpl-rpm): New group.
8644 (pcmpl-rpm-query-options): New option.
8645 (pcmpl-rpm-packages): No need to inline it.
8646 Use pcmpl-rpm-query-options.
8647
8648 * calendar/calendar.el (calendar-in-read-only-buffer):
8649 Avoid some needless mode changes.
8650
8651 2012-06-21 Chong Yidong <cyd@gnu.org>
8652
8653 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
8654 (desktop-path): Remove . from the default value (Bug#10977).
8655 (desktop-read): Use user-emacs-directory if desktop-path is nil.
8656
8657 2012-06-20 Chong Yidong <cyd@gnu.org>
8658
8659 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
8660
8661 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
8662
8663 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
8664 (bug#11201).
8665
8666 2012-06-20 Chong Yidong <cyd@gnu.org>
8667
8668 * term.el (term-window-width): Handle the case of a missing right
8669 fringe (Bug#8837).
8670 (term-check-size): Use window-text-height (Bug#5445).
8671 (term-mode): Use define-derived-mode. Minor cleanups.
8672 Set font-lock-defaults (Bug#7692).
8673 (term-move-columns, term-insert-char, term-emulate-terminal)
8674 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
8675
8676 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
8677
8678 * net/ange-ftp.el (ange-ftp-get-passwd):
8679 Bind `enable-recursive-minibuffers'.
8680 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
8681
8682 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
8683
8684 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
8685
8686 2012-06-19 Glenn Morris <rgm@gnu.org>
8687
8688 * progmodes/python.el (python-mode): Derive from prog-mode.
8689
8690 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
8691
8692 * emulation/edt.el (edt-default-menu-bar-update-buffers)
8693 (edt-user-menu-bar-update-buffers): New functions.
8694 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
8695
8696 2012-06-19 Chong Yidong <cyd@gnu.org>
8697
8698 * subr.el (with-selected-window): Preserve the selected window's
8699 terminal's top-frame (Bug#4702).
8700
8701 * window.el (save-selected-window): Likewise.
8702
8703 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8704
8705 * progmodes/python.el (python-rx-constituents): Move backquote.
8706 (python-skeleton-define, python-define-auxiliary-skeleton):
8707 Use `declare'.
8708
8709 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
8710
8711 * minibuffer.el (read-file-name-default): Revert the patch from
8712 2012-06-17.
8713
8714 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8715
8716 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
8717 (pcase--u1, pcase--q1): Don't use apply-partially.
8718
8719 2012-06-18 Glenn Morris <rgm@gnu.org>
8720
8721 * progmodes/python.el (python-proc, python-buffer)
8722 (python-send-receive, python-send-string): Fix obsolete versions.
8723
8724 2012-06-18 Martin Rudalics <rudalics@gmx.at>
8725
8726 * window.el (special-display-p): Completely remove stringp
8727 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
8728
8729 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
8730
8731 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
8732
8733 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
8734
8735 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
8736 * net/tramp-sh.el (tramp-maybe-open-connection):
8737 Throw if `non-essential' is non-nil.
8738
8739 2012-06-17 Martin Rudalics <rudalics@gmx.at>
8740
8741 * window.el (special-display-p): Signal an error if BUFFER-NAME
8742 is not a string (Bug#11713).
8743
8744 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
8745
8746 * progmodes/python.el (python-info-beginning-of-backslash):
8747 Rename from python-info-beginning-of-backlash, as a spelling fix.
8748
8749 2012-06-17 Chong Yidong <cyd@gnu.org>
8750
8751 * term.el (term-emulate-terminal): If term-check-size is called,
8752 move point to the process mark without resetting point (Bug#4635).
8753
8754 2012-06-17 Glenn Morris <rgm@gnu.org>
8755
8756 * international/mule-cmds.el (mule-menu-keymap)
8757 (set-language-environment, set-locale-environment): Doc tweaks.
8758
8759 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
8760
8761 * cus-face.el (custom-face-attributes): Add wave-style underline
8762 attribute.
8763 * faces.el (set-face-attribute): Update docstring to describe
8764 wave-style underline attribute.
8765
8766 2012-06-16 Chong Yidong <cyd@gnu.org>
8767
8768 * term/xterm.el (terminal-init-xterm): Discard input before
8769 querying background mode (Bug#10959).
8770
8771 2012-06-16 Stefan Merten <smerten@oekonux.de>
8772
8773 * textmodes/rst.el: Added and corrected some comments.
8774 (rst-re-alist-def): Improve symbol syntax.
8775 (rst-mode-syntax-table): Correct syntax entries.
8776 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8777 (rst-official-version, rst-official-cvs-rev): Update version
8778 information.
8779
8780 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
8781
8782 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
8783 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
8784
8785 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
8786
8787 * progmodes/python.el: New python.el merge.
8788 (python-guess-indent): Obsolete var.
8789 (python-indent-guess-indent-offset): New defcustom.
8790 (python-indent): Obsolete var.
8791 (python-indent-offset): New defcustom.
8792 (python-python-command, python-jython-command): Delete var.
8793 (python-shell-interpreter): New defcustom.
8794 (python-pdbtrack-do-tracking-p): Delete var.
8795 (python-pdbtrack-activate): New defcustom.
8796 (python-use-skeletons): Obsolete var.
8797 (python-skeleton-autoinsert): New defcustom.
8798 (inferior-python-filter-regexp, python-continuation-offset)
8799 (python-honour-comment-indentation, python-indent-string-contents)
8800 (python-jython-packages, python-mode-hook)
8801 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
8802 (python-shell-prompt-alist)
8803 (python-source-modes): Delete defcustoms.
8804 (python-check-buffer-name, python-eldoc-setup-code)
8805 (python-eldoc-string-code, python-ffap-setup-code)
8806 (python-ffap-string-code, python-fill-comment-function)
8807 (python-fill-decorator-function, python-fill-paren-function)
8808 (python-fill-string-function, python-imenu-include-defun-type)
8809 (python-imenu-make-tree, python-imenu-subtree-root-label)
8810 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
8811 (python-shell-compilation-regexp-alist)
8812 (python-shell-completion-module-string-code)
8813 (python-shell-completion-pdb-string-code)
8814 (python-shell-completion-setup-code)
8815 (python-shell-completion-string-code)
8816 (python-shell-enable-font-lock, python-shell-exec-path)
8817 (python-shell-extra-pythonpaths)
8818 (python-shell-internal-buffer-name, python-shell-interpreter-args)
8819 (python-shell-process-environment)
8820 (python-shell-prompt-block-regexp)
8821 (python-shell-prompt-output-regexp)
8822 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
8823 (python-shell-send-setup-max-wait, python-shell-setup-codes)
8824 (python-shell-virtualenv-path): New defcustoms.
8825 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
8826 (inferior-python-mode-syntax-table, python--prompt-regexp)
8827 (python-buffer, python-command python-python-command)
8828 (python-default-template, python-imports, python-indent-index)
8829 (python-indent-list, python-indent-list-length)
8830 (python-mode-running, python-pdbtrack-is-tracking-p)
8831 (python-preoutput-continuation, python-preoutput-leftover)
8832 (python-preoutput-result, python-preoutput-skip-next-prompt)
8833 (python-prev-dir/file, python-recursing)
8834 (python-saved-check-command, python-version-checked)
8835 (python-which-func-length-limit)
8836 (view-return-to-alist): Delete vars.
8837 (python-check-custom-command, python-dotty-syntax-table)
8838 (python-imenu-index-alist, python-indent-current-level)
8839 (python-indent-dedenters, python-indent-levels)
8840 (python-nav-beginning-of-defun-regexp)
8841 (python-nav-list-defun-positions-cache)
8842 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
8843 (python-shell-internal-buffer)
8844 (python-skeleton-available): New vars.
8845 (def-python-skeleton): Delete macro.
8846 (python-skeleton-define): New macro.
8847 (python-define-auxiliary-skeleton, python-rx): New macros.
8848 (python-insert-class): Delete command.
8849 (python-skeleton-class): New command.
8850 (python-insert-def): Delete command.
8851 (python-skeleton-def): New command.
8852 (python-insert-for): Delete command.
8853 (python-skeleton-for): New command.
8854 (python-insert-if): Delete command.
8855 (python-skeleton-if): New command.
8856 (python-insert-try/except, python-insert-try/finally): Delete commands.
8857 (python-skeleton-try): New command.
8858 (python-insert-while): Delete command.
8859 (python-skeleton-while): New command.
8860 (python-backspace): Delete command.
8861 (python-indent-dedent-line-backspace): New command.
8862 (python-electric-colon): Delete command.
8863 (python-indent-electric-colon): New command.
8864 (python-guess-indent): Delete command.
8865 (python-indent-guess-indent-offset): New command.
8866 (python-shift-left): Delete command.
8867 (python-indent-shift-left): New command.
8868 (python-shift-right): Delete command.
8869 (python-indent-shift-right): New command.
8870 (python-find-function): Delete command.
8871 (python-nav-jump-to-defun): New command.
8872 (python-next-statement): Delete command.
8873 (python-nav-forward-sentence): New command.
8874 (python-previous-statement): Delete command.
8875 (python-nav-backward-sentence): New command.
8876 (python-fill-paragraph): Delete command.
8877 (python-fill-paragraph-function): New command.
8878 (python-send-buffer): Delete command.
8879 (python-shell-send-buffer): New command.
8880 (python-send-defun): Delete command.
8881 (python-shell-send-defun): New command.
8882 (python-send-region, python-send-region-and-go): Delete commands.
8883 (python-shell-send-region)
8884 (python-shell-switch-to-shell): New commands.
8885 (python-send-string): Delete command.
8886 (python-shell-send-string): New command.
8887 (python-switch-to-python): Delete command.
8888 (python-shell-switch-to-shell): New command.
8889 (python-describe-symbol): Delete command.
8890 (python-eldoc-at-point): New command.
8891 (python--set-prompt-regexp, python-args-to-list)
8892 (python-after-info-look, python-check-version)
8893 (python-check-comint-prompt, python-find-imports)
8894 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
8895 (python-unload-function, python-expand-template)
8896 (python-maybe-jython, python-preoutput-filter)
8897 (python-pdbtrack-get-source-buffer)
8898 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
8899 (python-pdbtrack-toggle-stack-tracking)
8900 (python-pdbtrack-track-stack-file, python-initial-text)
8901 (python-first-word, python-comment-line-p, python-send-command)
8902 (python-setup-brm, python-sentinel, python-set-proc)
8903 (python-skip-out, python-input-filter, python-outdent-p)
8904 (python-outline-level, python-backslash-continuation-line-p)
8905 (python-end-of-block, python-end-of-statement, python-mark-block)
8906 (python-beginning-of-block, python-beginning-of-statement)
8907 (python-blank-line-p, python-beginning-of-string)
8908 (python-open-block-statement-p): Delete functions.
8909 (python-indent-line, python-indent-line-1): Delete functions.
8910 (python-indent-line): New function.
8911 (python-indentation-levels): Delete function.
8912 (python-indent-calculate-levels): New function.
8913 (python-proc): Delete function.
8914 (python-shell-get-process): New function.
8915 (python-send-receive): Delete function.
8916 (python-shell-send-string-no-output): New function.
8917 (python-module-path): Delete function.
8918 (python-ffap-module-path): New function.
8919 (python-completion-at-point)
8920 (python-symbol-completions): Delete functions.
8921 (python-completion-complete-at-point): New function.
8922 (python-load-file): Delete function.
8923 (python-shell-send-file): New function.
8924 (python-calculate-indentation): Delete function.
8925 (python-indent-calculate-indentation): New function.
8926 (python-skip-comments/blanks): Delete function.
8927 (python-util-forward-comment): New function.
8928 (python-continuation-line-p): Delete function.
8929 (python-info-continuation-line-p): New function.
8930 (python-which-func, python-current-defun): Delete function.
8931 (python-info-current-defun): New function.
8932 (python-beginning-of-defun): Delete function.
8933 (python-nav-beginning-of-defun): New function.
8934 (python-close-block-statement-p)
8935 (python-block-end-p): Delete function.
8936 (python-info-closing-block): New function.
8937 (python-comint-output-filter-function)
8938 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
8939 (python-fill-comment, python-fill-decorator, python-fill-paren)
8940 (python-fill-string, python-imenu-make-element-tree)
8941 (python-imenu-make-tree, python-imenu-tree-assoc)
8942 (python-indent-context, python-indent-dedent-line)
8943 (python-indent-line-function)
8944 (python-indent-post-self-insert-function)
8945 (python-indent-toggle-levels)
8946 (python-info-assignment-continuation-line-p)
8947 (python-info-beginning-of-backlash)
8948 (python-info-block-continuation-line-p)
8949 (python-info-closing-block-message)
8950 (python-info-line-ends-backslash-p)
8951 (python-info-looking-at-beginning-of-defun)
8952 (python-info-ppss-context, python-info-ppss-context-type)
8953 (python-nav-list-defun-positions, python-nav-read-defun)
8954 (python-nav-sentence-end, python-nav-sentence-start)
8955 (python-pdbtrack-comint-output-filter-function)
8956 (python-pdbtrack-set-tracked-buffer)
8957 (python-shell-calculate-exec-path)
8958 (python-shell-calculate-process-environment)
8959 (python-shell-completion--do-completion-at-point)
8960 (python-shell-completion--get-completions)
8961 (python-shell-completion-complete-at-point)
8962 (python-shell-completion-complete-or-indent)
8963 (python-shell-get-or-create-process)
8964 (python-shell-get-process-name)
8965 (python-shell-internal-get-or-create-process)
8966 (python-shell-internal-get-process-name)
8967 (python-shell-internal-send-string, python-shell-make-comint)
8968 (python-shell-parse-command, python-shell-send-setup-code)
8969 (python-skeleton-add-menu-items)
8970 (python-util-clone-local-variables, python-util-position)
8971 (run-python-internal, python-indentation-levels)
8972 (python-nav-beginning-of-defun)
8973 (python-completion-complete-at-point): New functions.
8974 (run-python): Change arguments. New API requirements.
8975
8976 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8977
8978 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
8979 (bug#11649).
8980
8981 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
8982 (macroexp--expand-all): Use it.
8983
8984 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
8985 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
8986 Use `cl-function' instead.
8987
8988 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
8989
8990 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
8991 Suggested by Stefan Monnier while discussing bug#11657.
8992
8993 2012-06-14 Sam Steingold <sds@gnu.org>
8994
8995 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
8996
8997 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
8998
8999 * play/doctor.el (doctor-doc): Remove parameter and use
9000 doctor-sent instead of sent.
9001 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
9002
9003 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9004
9005 * files.el: Require cl-lib.
9006 (file-name-non-special): Replace case -> cl-case.
9007
9008 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9009
9010 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9011 mapping from #' to function*.
9012
9013 2012-06-13 Chong Yidong <cyd@gnu.org>
9014
9015 * mouse.el (mouse-drag-track): Do not set the mark if the user
9016 releases the mouse without selecting anything (Bug#11588).
9017
9018 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9019
9020 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9021 as well (bug#11646).
9022
9023 * loadup.el: Count byte-code functions as well.
9024
9025 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9026 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9027
9028 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9029 (bug#11649). Add cl-defun and cl-defmacro.
9030
9031 2012-06-13 Drew Adams <drew.adams@oracle.com>
9032
9033 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9034 Fix last change.
9035
9036 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
9037
9038 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9039 Otherwise, it blocks in batch mode.
9040
9041 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
9042
9043 * help-mode.el (bookmark-make-record-default): Declare.
9044
9045 2012-06-13 Chong Yidong <cyd@gnu.org>
9046
9047 * emacs-lisp/package.el (list-packages): Compute a list of
9048 packages that are newly-available since the last list-packages
9049 invocation.
9050 (package-menu--new-package-list): New var.
9051 (package-menu--generate, package-menu--print-info)
9052 (package-menu--status-predicate, package-menu-mark-install):
9053 Handle new status label "new".
9054
9055 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9056
9057 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9058 conversion to backquotes.
9059
9060 2012-06-12 Chong Yidong <cyd@gnu.org>
9061
9062 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9063 Rename from gud-inhibit-global-bindings.
9064
9065 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9066
9067 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9068 hook from nxml-glyph-set-hook.
9069
9070 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9071 declaration.
9072
9073 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9074
9075 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9076 Convert to defcustom.
9077
9078 2012-06-12 Drew Adams <drew.adams@oracle.com>
9079
9080 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9081 New functions.
9082 (help-mode): Use them.
9083
9084 2012-06-11 Glenn Morris <rgm@gnu.org>
9085
9086 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9087 Use preprocessor face for directives.
9088 (fortran-directive-re): Doc fix.
9089
9090 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9091
9092 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9093 conversion to backquotes (bug#11652).
9094
9095 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9096 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9097 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9098 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9099 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9100 (cl-ninth, cl-tenth): Mark them as inlinable.
9101 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9102 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9103 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9104 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9105 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9106 (cl-list*, cl-adjoin): Don't put an autoload manually.
9107 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9108 (cl--compiler-macro-list*): Add autoload cookie.
9109 (cl--compiler-macro-cXXr): New function.
9110
9111 * help-fns.el (help-fns--compiler-macro): New function extracted from
9112 describe-function-1; follow aliases and use `compiler-macro' property.
9113 (describe-function-1): Use it.
9114
9115 2012-06-11 Chong Yidong <cyd@gnu.org>
9116
9117 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9118 is uninstalled, if imagemagick is installed.
9119
9120 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9121
9122 * emacs-lisp/cl-lib.el: Use lexical-binding.
9123 (cl-map-extents, cl-maclisp-member): Remove.
9124 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9125 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9126 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9127 * emacs-lisp/cl-extra.el: Use lexical-binding.
9128 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9129 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9130 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9131 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9132 * emacs-lisp/cl-seq.el: Use lexical-binding.
9133 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9134 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9135 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9136 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9137 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9138 CL's internals.
9139
9140 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
9141
9142 Sync with Tramp 2.2.6-pre.
9143
9144 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9145 `print-length' and `print-level' to nil, in order to avoid
9146 truncation. Reported by Christopher Schmidt
9147 <christopher@ristopher.com>.
9148
9149 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
9150
9151 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
9152 New defmacro.
9153 (tramp-compat-copy-directory): Add optional argument
9154 COPY-CONTENTS. It is not handled yet.
9155
9156 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
9157 (tramp-ftp-file-name-p): Simplify.
9158
9159 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
9160 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
9161 connection vector.
9162
9163 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
9164 (tramp-methods): Do not use `tramp-password-end-of-line'.
9165 (tramp-completion-function-alist-putty): Handle UNIX case.
9166 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9167 (tramp-do-file-attributes-with-stat)
9168 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9169 gid as real numbers. They could run out of integer range on cygwin.
9170 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9171 (tramp-sh-handle-expand-file-name): Handle hops.
9172 (tramp-open-connection-setup-interactive-shell):
9173 Use `tramp-cleanup'. Move check for busyboxes ...
9174 (tramp-find-shell): ... here. Simplify implementation.
9175 Set "remote-shell" property also for alternative shells.
9176 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9177 If failing, a regular file would be written otherwise.
9178 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
9179 (tramp-find-inline-encoding): Cache the coding commands in the
9180 process cache. Apply test command on the remote side, if defined.
9181 (tramp-find-inline-compress): Cache the compress commands in the
9182 process cache.
9183 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9184 when requested. Handle hops.
9185 (tramp-current-connection): New defvar.
9186 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9187 Throw `suppress', if there was a failed connection shortly before.
9188 Handle user interrupt. (Bug#10187)
9189 (tramp-get-inline-compress, tramp-get-inline-coding):
9190 Read connection properties from the process cache.
9191
9192 * net/tramp-smb.el (tramp-smb-server-version)
9193 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9194 New defconsts.
9195 (tramp-smb-prompt): Extend for powershell prompt.
9196 (tramp-smb-file-name-handler-alist): Add handlers for
9197 `process-file', `shell-command' and `start-file-process'.
9198 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9199 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9200 (tramp-smb-file-name-p): Simplify.
9201 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9202 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9203 (tramp-smb-shell-quote-argument): New defuns.
9204 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9205 Implement using "tar". By this, time-stamps are preserved.
9206 (tramp-smb-handle-copy-file): Handle also the case of directories.
9207 (tramp-smb-do-file-attributes-with-stat)
9208 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9209 Use `tramp-get-connection-buffer').
9210 (tramp-smb-handle-rename-file): Use "rename", when source and
9211 target are on the same share.
9212 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9213 Use `tramp-smb-server-version'.
9214 (tramp-smb-wait-for-output): Remove prompt.
9215
9216 * net/tramp.el (top): Require 'cl.
9217 (tramp-methods, tramp-rsh-end-of-line):
9218 Remove `tramp-password-end-of-line' from docstring.
9219 (tramp-save-ad-hoc-proxies): New defcustom.
9220 (tramp-completion-function-alist): Adapt docstring.
9221 (tramp-default-password-end-of-line): Remove defcustom.
9222 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9223 (tramp-user-regexp, tramp-file-name-regexp-unified)
9224 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9225 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9226 (tramp-remote-file-name-spec-regexp): New defconst.
9227 (tramp-file-name-structure): Extend structure for hops.
9228 (tramp-get-method-parameter): Move up.
9229 (tramp-file-name-p, tramp-dissect-file-name)
9230 (with-parsed-tramp-file-name): Handle hops.
9231 (tramp-file-name-hop): New defun.
9232 (tramp-make-tramp-file-name): New optional arg HOP.
9233 (tramp-message-show-progress-reporter-message): New defvar.
9234 (tramp-with-progress-reporter): Use it. We cannot use
9235 `tramp-message-show-message' here, because this suppresses also
9236 error buffers.
9237 (tramp-error-with-buffer): Suppress buffer view, if
9238 `tramp-message-show-message' is nil.
9239 Use `tramp-get-connection-buffer'.
9240 (tramp-cleanup): New defun.
9241 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9242 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9243 an error unchanged.
9244 (tramp-completion-handle-file-name-all-completions): Handle hops.
9245 Fix an error when called from ido.
9246 (tramp-completion-dissect-file-name): Use better local variable
9247 name. Add hop to the vector.
9248 (tramp-handle-insert-file-contents): Use progress-reporter for the
9249 whole scenario.
9250 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9251 to `t'.
9252 (tramp-check-for-regexp): Simplify search.
9253 (tramp-enter-password): Remove it. Move implementation ...
9254 (tramp-action-password): ... here.
9255 (tramp-mode-string-to-int, tramp-local-host-p)
9256 (tramp-make-tramp-temp-file, tramp-read-passwd)
9257 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9258 Set tramp-autoload cookie.
9259
9260 * net/trampver.el: Update release number.
9261
9262 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9263 Michael Albinus <michael.albinus@gmx.de>
9264
9265 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9266 (tramp-parse-group, tramp-parse-file)
9267 (tramp-parse-shostkeys-sknownhosts): New defuns.
9268 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9269 (tramp-parse-shosts-group, tramp-parse-sconfig)
9270 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9271 (tramp-parse-sknownhosts, tramp-parse-hosts)
9272 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9273 Use them.
9274 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9275 (tramp-parse-putty-group): Don't narrow.
9276 (tramp-parse-putty): Make a loop.
9277 (tramp-file-name-handler): Catch the `suppress' signal.
9278
9279 2012-06-11 Chong Yidong <cyd@gnu.org>
9280
9281 * image.el (imagemagick-register-types): Put the ImageMagick entry
9282 at the end of image-type-file-name-regexps.
9283
9284 2012-06-11 Johan Bockgård <bojohan@gnu.org>
9285
9286 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9287 (pcase, pcase-let*, pcase-dolist): Use them.
9288
9289 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9290
9291 * emacs-lisp/pcase.el (pcase--let*): New function.
9292 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9293 (pcase--expand): Use macroexp-let².
9294
9295 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9296
9297 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9298 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9299 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9300 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9301 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9302 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9303
9304 2012-06-10 Glenn Morris <rgm@gnu.org>
9305
9306 * mail/rmail.el (rmail-yank-current-message): Leave point at
9307 correct position. (Bug#11660)
9308
9309 2012-06-10 Chong Yidong <cyd@gnu.org>
9310
9311 * allout-widgets.el: Fix code header.
9312
9313 2012-06-10 Chong Yidong <cyd@gnu.org>
9314
9315 * cus-edit.el (customize-changed-options-previous-release):
9316 Bump to 24.1.
9317
9318 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9319
9320 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9321
9322 2012-06-09 Chong Yidong <cyd@gnu.org>
9323
9324 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9325
9326 2012-06-09 Martin Rudalics <rudalics@gmx.at>
9327
9328 * window.el (special-display-popup-frame): Don't use
9329 window--display-buffer (Bug#11651).
9330
9331 2012-06-09 Eli Zaretskii <eliz@gnu.org>
9332
9333 Fix parallel builds: make sure loaddefs.el is not being written
9334 while Lisp files are compiled.
9335 (compile): Don't depend on 'mh-autoloads'.
9336 (compile-CMD, compile-SH): Depend on 'autoloads'.
9337 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9338
9339 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9340
9341 2012-06-09 Chong Yidong <cyd@gnu.org>
9342
9343 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9344 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9345 Doc fixes (Bug#11225).
9346
9347 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9348
9349 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9350 a function if there's a clear indication that it has a compiler-macro.
9351 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9352 (macro-declarations-alist): Add arglist to declaration functions.
9353 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9354 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9355 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9356 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9357 Also add autoload to find the compiler macro.
9358 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9359 (cl--compiler-macro-member, cl--compiler-macro-assoc)
9360 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9361 (cl--compiler-macro-get): New functions, replacing calls to
9362 cl-define-compiler-macro.
9363 (cl-typep) [compiler-macro]: Use macroexp-let².
9364
9365 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
9366
9367 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9368 string properly, fixes Bug#11473.
9369
9370 2012-06-08 Chong Yidong <cyd@gnu.org>
9371
9372 * faces.el (set-face-attribute): Doc fix.
9373 (modify-face): Don't use :bold and :italic.
9374 (error, warning, success): Tweak definitions.
9375
9376 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9377 (custom-modified, custom-set, custom-changed, custom-themed)
9378 (custom-saved, custom-button, custom-button-mouse)
9379 (custom-button-pressed, custom-state, custom-comment-tag)
9380 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9381 (custom-group-subtitle): Use new-style face specs.
9382 (custom-invalid-face, custom-rogue-face, custom-modified-face)
9383 (custom-set-face, custom-changed-face, custom-saved-face)
9384 (custom-button-face, custom-button-pressed-face)
9385 (custom-documentation-face, custom-state-face)
9386 (custom-comment-face, custom-comment-tag-face)
9387 (custom-variable-tag-face, custom-variable-button-face)
9388 (custom-face-tag-face, custom-group-tag-face-1)
9389 (custom-group-tag-face): Remove obsolete face alias.
9390
9391 * epa.el (epa-validity-high, epa-validity-medium)
9392 (epa-validity-low, epa-mark, epa-field-name, epa-string)
9393 (epa-field-name, epa-field-body):
9394 * font-lock.el (font-lock-comment-face, font-lock-string-face)
9395 (font-lock-keyword-face, font-lock-builtin-face)
9396 (font-lock-function-name-face, font-lock-variable-name-face)
9397 (font-lock-type-face, font-lock-constant-face):
9398 * ido.el (ido-first-match, ido-only-match, ido-subdir)
9399 (ido-virtual, ido-indicator, ido-incomplete-regexp):
9400 * speedbar.el (speedbar-button-face, speedbar-file-face)
9401 (speedbar-directory-face, speedbar-tag-face)
9402 (speedbar-selected-face, speedbar-highlight-face)
9403 (speedbar-separator-face):
9404 * whitespace.el (whitespace-newline, whitespace-space)
9405 (whitespace-hspace, whitespace-tab, whitespace-trailing)
9406 (whitespace-line, whitespace-space-before-tab)
9407 (whitespace-space-after-tab, whitespace-indentation)
9408 (whitespace-empty):
9409 * emulation/cua-base.el (cua-global-mark):
9410 * eshell/em-prompt.el (eshell-prompt):
9411 * net/newst-plainview.el (newsticker-new-item-face)
9412 (newsticker-old-item-face, newsticker-immortal-item-face)
9413 (newsticker-obsolete-item-face, newsticker-date-face)
9414 (newsticker-statistics-face, newsticker-default-face):
9415 * net/newst-reader.el (newsticker-feed-face)
9416 (newsticker-extra-face, newsticker-enclosure-face):
9417 * net/newst-treeview.el (newsticker-treeview-face)
9418 (newsticker-treeview-new-face, newsticker-treeview-old-face)
9419 (newsticker-treeview-immortal-face)
9420 (newsticker-treeview-obsolete-face)
9421 (newsticker-treeview-selection-face):
9422 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
9423 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
9424 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
9425 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
9426 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
9427 (nxml-outline-active-indicator, nxml-outline-ellipsis):
9428 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
9429 (mpuz-text):
9430 * progmodes/vera-mode.el (vera-font-lock-number)
9431 (vera-font-lock-function, vera-font-lock-interface):
9432 * textmodes/table.el (table-cell): Use new-style face specs, and
9433 don't use the old :bold and :italic attributes.
9434
9435 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
9436 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
9437 (ebrowse-member-class, ebrowse-progress): Likewise.
9438 (ebrowse-tree-mark-face, ebrowse-root-class-face)
9439 (ebrowse-file-name-face, ebrowse-default-face)
9440 (ebrowse-member-attribute-face, ebrowse-member-class-face)
9441 (ebrowse-progress-face): Remove obsolete faces.
9442
9443 * progmodes/flymake.el (flymake-errline, flymake-warnline):
9444 Inherit from error and warning faces respectively.
9445
9446 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
9447 Likewise.
9448 (flyspell-incorrect-face, flyspell-duplicate-face):
9449 Remove obsolete aliases.
9450
9451 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
9452
9453 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9454 Avoid infloop.
9455
9456 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9457
9458 * startup.el (argv, argi): Make lexically scoped.
9459 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
9460 * emacs-lisp/cl-macs.el: Use lexical-binding.
9461 Rename cl-bind-* to cl--bind-*.
9462 * files.el: Don't require `cl' since it doesn't use it.
9463 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
9464
9465 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
9466
9467 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
9468 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
9469 instead of calling external sort utility.
9470 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
9471
9472 2012-06-08 Eli Zaretskii <eliz@gnu.org>
9473
9474 * descr-text.el (describe-char): Mention how to insert the
9475 character, if the current input method doesn't support it.
9476 See the discussion in this thread for the details:
9477 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
9478
9479 2012-06-08 Sam Steingold <sds@gnu.org>
9480
9481 * bindings.el (global-map): Bind XF86Forward to next-buffer and
9482 XF86Back to previous-buffer.
9483 (minibuffer-local-map): Bind them to next-history-element and
9484 previous-history-element respectively.
9485 * help-mode.el (help-mode-map): Bind them to help-go-forward and
9486 help-go-back respectively.
9487 * info.el (Info-mode-map): Bind them to Info-history-forward and
9488 Info-history-back respectively.
9489 These are the keys next to Up on the ThinkPad keyboard.
9490
9491 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9492
9493 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
9494 * emacs-lisp/cl-macs.el: Provide itself.
9495 (cl--labels-convert-cache): New var.
9496 (cl--labels-convert): New function.
9497 (cl-flet, cl-labels): New implementation with new semantics, relying on
9498 lexical-binding.
9499 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
9500 (cl-closure-vars, cl--function-convert-cache)
9501 (cl--function-convert): Move from cl-macs.el.
9502 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
9503 rename by removing the "cl-" prefix.
9504 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
9505
9506 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9507
9508 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
9509 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
9510 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
9511 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
9512 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
9513 (cl-hash-table-count): Add old compatibility aliases.
9514
9515 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
9516 Use macroexpand-all-environment instead.
9517 (cl--old-macroexpand): New var.
9518 (cl--sm-macroexpand): New function.
9519 (cl-symbol-macrolet): Use it during macro expansion.
9520 (cl--function-convert-cache): New var.
9521 (cl--function-convert): New function, extracted from
9522 cl-macroexpand-all.
9523 (cl-lexical-let): Use it.
9524
9525 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
9526 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
9527 (cl-member): Remove old alias.
9528
9529 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
9530 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
9531 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
9532 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
9533 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
9534 (cl-macroexpand-cmacs): Remove var.
9535 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
9536 Use macroexpand-all instead.
9537
9538 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9539
9540 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
9541 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
9542 (macroexp-copyable-p): New functions and macros.
9543 * emacs-lisp/edebug.el (edebug-unwrap):
9544 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
9545 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
9546 (pcase--let*): Remove.
9547 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
9548 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
9549 macroexp-const-p instead.
9550 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
9551
9552 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
9553 instead of "cl-" for internal definitions. Use macroexp-const-p.
9554 (cl-old-bc-file-form): Remove var.
9555 (cl-const-exprs-p): Remove fun.
9556 (cl-labels, cl-macrolet): Use backquote.
9557 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
9558 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
9559 (cl-define-setf-expander): Rename from cl-define-setf-method.
9560 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
9561
9562 * international/mule-cmds.el: Don't require CL.
9563 (view-hello-file): Don't use `letf'.
9564
9565 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9566
9567 * tmm.el (tmm-prompt): Use string-prefix-p.
9568 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
9569 (tmm-add-prompt): Use minibuffer-completion-help.
9570 (tmm-delete-map): Remove.
9571
9572 * subr.el (kbd): Make it its own function.
9573
9574 2012-06-07 Stefan Merten <smerten@oekonux.de>
9575
9576 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
9577 Silence compiler warnings. Fix versions.
9578 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
9579 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
9580 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
9581 (rst-package-emacs-version-alist): Correct Emacs version to
9582 represent major merge with upstream.
9583 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
9584
9585 2012-06-06 Glenn Morris <rgm@gnu.org>
9586
9587 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
9588 Only print environment variables if set.
9589
9590 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9591
9592 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
9593 (macroexp--cons): Rename from maybe-cons.
9594 (macroexp--accumulate): Rename from macroexp-accumulate.
9595 (macroexp--all-forms): Rename from macroexpand-all-forms.
9596 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
9597 (macroexp--expand-all): Rename from macroexpand-all-1.
9598
9599 2012-06-06 Sam Steingold <sds@gnu.org>
9600
9601 * calendar/calendar.el (calendar-in-read-only-buffer):
9602 Call `special-mode' to enable the standard read-only keybindings.
9603
9604 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9605
9606 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
9607 with "loading" messages (bug#11635).
9608
9609 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
9610
9611 * files.el (enable-remote-dir-locals): New option.
9612 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
9613
9614 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9615 Ensure, that the temp directory is local.
9616
9617 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
9618 `temporary-file-directory'.
9619
9620 * progmodes/python.el (python-send-region): Ensure, that the
9621 temporary file is created also in the remote case.
9622
9623 2012-06-06 Glenn Morris <rgm@gnu.org>
9624
9625 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
9626 (vc-rcs-update-changelog): Use it.
9627
9628 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
9629
9630 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
9631 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
9632 (vc-sccs-diff): Replace use of the external vcdiff script.
9633
9634 2012-06-05 Glenn Morris <rgm@gnu.org>
9635
9636 * ledit.el: Move to obsolete/.
9637
9638 2012-06-05 Sam Steingold <sds@gnu.org>
9639
9640 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
9641 patch (Bug#11140).
9642
9643 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9644
9645 * emacs-lisp/cust-print.el: Move to obsolete.
9646
9647 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
9648 compiler-macro expansion.
9649
9650 Add native compiler-macro support.
9651 * emacs-lisp/macroexp.el (macroexpand-all-1):
9652 Support compiler-macros directly. Properly follow aliases and apply
9653 the compiler macros more thoroughly.
9654 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
9655 macroexpand now properly follows aliases.
9656 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
9657 (cl-compiler-macroexpand): Use new prop.
9658 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
9659
9660 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
9661
9662 2012-06-05 Martin Rudalics <rudalics@gmx.at>
9663
9664 * window.el (get-lru-window, get-mru-window, get-largest-window):
9665 New argument NOT-SELECTED to avoid picking the selected window.
9666 (window--display-buffer-1, window--display-buffer-2): Replace by
9667 new function window--display-buffer
9668 (display-buffer-same-window, display-buffer-reuse-window)
9669 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9670 Use window--display-buffer.
9671 (display-buffer-use-some-window): Remove temporary dedication
9672 hack by calling get-lru-window and get-largest-window with
9673 NOT-SELECTED argument non-nil. Call window--display-buffer.
9674
9675 2012-06-05 Glenn Morris <rgm@gnu.org>
9676
9677 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
9678 Replace external vcdiff script.
9679
9680 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9681
9682 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
9683
9684 2012-06-04 Chong Yidong <cyd@gnu.org>
9685
9686 * image.el (imagemagick-types-inhibit): Revert last change.
9687 Add INFO and M.
9688 (imagemagick-enabled-types): Remove CIN and EPS*.
9689
9690 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9691
9692 * emacs-lisp/cl-lib.el: Rename from cl.el.
9693 * emacs-lisp/cl.el: New compatibility file.
9694 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
9695 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
9696 to obey the "cl-" prefix.
9697 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
9698
9699 2012-06-03 Glenn Morris <rgm@gnu.org>
9700
9701 * emacs-lisp/authors.el (authors-aliases): Addition.
9702
9703 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
9704 Fix :version.
9705
9706 2012-06-03 Stefan Merten <smerten@oekonux.de>
9707
9708 * textmodes/rst.el: Add comments.
9709 (rst-transition, rst-adornment): New faces.
9710 (rst-adornment-faces-alist): Make default safe to reevaluate.
9711 Fixes
9712 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
9713 Improve customization tags.
9714 (rst-define-level-faces): Clarify meaning.
9715
9716 2012-06-03 Chong Yidong <cyd@gnu.org>
9717
9718 * progmodes/compile.el (compilation-mode-line-fail)
9719 (compilation-mode-line-run, compilation-mode-line-exit):
9720 New faces.
9721 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
9722
9723 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
9724
9725 * progmodes/which-func.el (which-func-update-ediff-windows):
9726 New function. Use it in ediff-select-hook (Bug#11478).
9727
9728 2012-06-03 Chong Yidong <cyd@gnu.org>
9729
9730 * bindings.el: Remove explicit help text from format-mode-line.
9731 It is now supplied by mode-line-default-help-echo.
9732 (mode-line-front-space, mode-line-end-spaces)
9733 (mode-line-misc-info): New variables.
9734 (mode-line-modes, mode-line-position): Move the default value to
9735 the variable definition.
9736 (mode-line-default-help-echo): New defcustom.
9737 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
9738 (mode-line-modified-help-echo): New functions.
9739 (mode-line-mule-info, mode-line-modified): Use them.
9740 (mode-line-eol-desc, propertized-buffer-identification):
9741 Consistency fixes for help text.
9742 (mode-line-coding-system-map): Allow using mouse-3 to invoke
9743 set-buffer-file-coding-system (Bug#289).
9744 (mode-line-mule-info-help-echo): Update help text.
9745
9746 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9747
9748 * simple.el (execute-extended-command): Set real-this-command
9749 (bug#11506).
9750
9751 2012-06-02 Chong Yidong <cyd@gnu.org>
9752
9753 Remove incorrect uses of "modeline" in comments, docstrings, and
9754 function/variable names (Bug#10329).
9755
9756 * cus-edit.el (mode-line):
9757 * dframe.el (dframe-mouse-hscroll):
9758 * emacs-lisp/re-builder.el:
9759 * emacs-lisp/easy-mmode.el (define-minor-mode):
9760 * frame.el (set-frame-name):
9761 * help.el (lookup-minor-mode-from-indicator):
9762 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
9763 * progmodes/cc-cmds.el (c-toggle-auto-newline)
9764 (c-toggle-hungry-state):
9765 * progmodes/antlr-mode.el (antlr-language-alist):
9766 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
9767 * progmodes/vhdl-mode.el (vhdl-mode):
9768 * progmodes/which-func.el (which-func, which-func-cleanup-function):
9769 * term/ns-win.el (ns-face-at-pos):
9770 * term/sup-mouse.el (sup-mouse-report):
9771 * textmodes/flyspell.el (flyspell-mode-line-string):
9772 * textmodes/ispell.el (ispell-highlight-face):
9773 * textmodes/reftex-global.el:
9774 * vc/vc-arch.el (vc-arch-mode-line-string):
9775 * vc/vc-cvs.el (vc-cvs-mode-line-string):
9776 * vc/vc-git.el (vc-git-mode-line-string):
9777 * vc/vc-hooks.el (vc-display-status)
9778 (vc-default-mode-line-string):
9779 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
9780
9781 * ansi-color.el (ansi-color-faces-vector): Change default faces.
9782
9783 * dired.el (dired-sort-set-mode-line): Rename from
9784 dired-sort-set-modeline. All callers changed.
9785
9786 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
9787 eshell-status-in-modeline.
9788
9789 * foldout.el (foldout-mode-line-string): Rename from
9790 foldout-modeline-string. All callers changed.
9791 (foldout-update-mode-line): Rename from foldout-update-modeline.
9792
9793 * subr.el (redraw-modeline): Make into obsolete alias.
9794
9795 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
9796 timeclock-modeline-display. Make old name an alias.
9797 (timeclock-update-mode-line): Likewise. All callers changed.
9798 (timeclock-mode-line-display): No need to check before using
9799 add-hook.
9800 (timeclock-relative, timeclock-day-over-hook)
9801 (timeclock-use-elapsed, timeclock-mode-string)
9802 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
9803
9804 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
9805 crisp-mode-modeline-string.
9806
9807 * play/solitaire.el (solitaire-build-mode-line): Rename from
9808 solitaire-build-modeline. All callers changed.
9809
9810 * play/zone.el (zone-hiding-mode-line): Rename from
9811 zone-hiding-modeline. All callers changed.
9812 (zone): Remove unusued `modeline-hidden-level' property.
9813
9814 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
9815 xscheme-modeline-initialize. All callers changed.
9816
9817 * strokes.el (strokes-lighter): Rename from
9818 strokes-modeline-string.
9819
9820 * textmodes/sgml-mode.el (html-face-tag-alist)
9821 (html-tag-face-alist): Use mode-line face instead of obsolete
9822 alias modeline.
9823
9824 2012-06-02 Stefan Merten <smerten@oekonux.de>
9825
9826 * textmodes/rst.el: Always require `cl'.
9827 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
9828
9829 2012-06-02 Chong Yidong <cyd@gnu.org>
9830
9831 * image.el (imagemagick-enabled-types): Rename from
9832 imagemagick-types-enable. Add many more types.
9833 (imagemagick-types-inhibit): Change default to nil.
9834 (imagemagick-filter-types): Caller changed.
9835
9836 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9837
9838 * emacs-lisp/cl-macs.el: Use backquotes.
9839 (cl-transform-function-property): Use eval-and-compile rather than
9840 abusing `require'.
9841 (defstruct): Use declare-function instead of with-no-warnings.
9842
9843 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
9844 (byte-compile-output-docform): Re-add the print-circle bindings.
9845 (byte-compile-fix-header): Use #$ just because it's shorter.
9846 (byte-compile-output-file-form): Remove defun/defmacro.
9847
9848 2012-06-01 Martin Rudalics <rudalics@gmx.at>
9849
9850 * simple.el (choose-completion): Remove now obsolete binding for
9851 owindow.
9852
9853 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
9854
9855 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
9856 in order to avoid "Stack overflow in regexp matcher".
9857
9858 2012-05-31 Glenn Morris <rgm@gnu.org>
9859
9860 * image.el: For clarity, call imagemagick-register-types at
9861 top-level, rather than relying on a custom :initialize.
9862 (imagemagick-types-enable): New option. (Bug#11557)
9863 (imagemagick-filter-types): New function. (Bug#7406)
9864 (imagemagick-register-types): Use imagemagick-filter-types.
9865 If disabling support, remove elements altogether rather
9866 than using an impossible regexp.
9867 (imagemagick-types-inhibit): Give it the default init function.
9868
9869 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9870
9871 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
9872 Handle arbitrary file name lengths (Bug#11585).
9873
9874 2012-05-31 Martin Rudalics <rudalics@gmx.at>
9875
9876 * desktop.el (desktop-read): Clear previous and next buffers for
9877 all windows and bury *Messages* buffer (bug#11556).
9878
9879 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9880
9881 Add `declare' for `defun'. Align `defmacro's with it.
9882 * emacs-lisp/easy-mmode.el (define-minor-mode)
9883 (define-globalized-minor-mode): Don't autoload the var definitions.
9884 * emacs-lisp/byte-run.el: Use lexical-binding.
9885 (defun-declarations-alist, macro-declarations-alist): New vars.
9886 (defmacro, defun): Use them.
9887 (make-obsolete, define-obsolete-function-alias)
9888 (make-obsolete-variable, define-obsolete-variable-alias):
9889 Use `declare'.
9890 (macro-declaration-function): Mark obsolete.
9891 * emacs-lisp/autoload.el: Use lexical-binding.
9892 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
9893
9894 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9895
9896 * textmodes/ispell.el (ispell-with-no-warnings):
9897 Define as a macro.
9898 (ispell-kill-ispell, ispell-change-dictionary):
9899 Use `called-interactively-p' for Emacs instead of obsolete
9900 `interactive-p'.
9901
9902 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9903
9904 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
9905 (macro-declaration-function): Move var from C code.
9906 (macro-declaration-function): Define function with defalias.
9907 * emacs-lisp/macroexp.el (macroexpand-all-1):
9908 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
9909 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
9910 defun/defmacro any more.
9911 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
9912 Provide fallback for unknown arglist.
9913 (byte-compile-arglist-warn): Change calling convention.
9914 (byte-compile-output-file-form): Move print-vars binding.
9915 (byte-compile-output-docform): Simplify accordingly.
9916 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
9917 (byte-compile-defmacro-declaration): Remove.
9918 (byte-compile-file-form-defmumble): Generalize to defalias.
9919 (byte-compile-output-as-comment): Return byte-positions.
9920 Simplify callers accordingly.
9921 (byte-compile-lambda): Use `assert'.
9922 (byte-compile-defun, byte-compile-defmacro): Remove.
9923 (byte-compile-file-form-defalias):
9924 Use byte-compile-file-form-defmumble.
9925 (byte-compile-defalias-warn): Remove.
9926
9927 2012-05-29 Stefan Merten <smerten@oekonux.de>
9928
9929 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
9930 possible. Fix authors. Improve comments. Improve loading of `cl'.
9931
9932 (rst-mode-abbrev-table): Merge definition.
9933 (rst-mode): Make sure `font-lock-defaults' is buffer local.
9934 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
9935
9936 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
9937
9938 * calendar/icalendar.el
9939 (icalendar-export-region): Export UID properly.
9940
9941 2012-05-29 Leo Liu <sdl.web@gmail.com>
9942 * calendar/icalendar.el (icalendar-import-format):
9943 Add `icalendar-import-format-uid' (Bug#11525).
9944 (icalendar-import-format-uid): New.
9945 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
9946 Export UID.
9947
9948 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9949
9950 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
9951 different alternative patterns.
9952 (pcase-codegen): Be more careful to preserve identity.
9953 (pcase--u1): Don't forget to mark vars as used.
9954
9955 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
9956 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
9957 (byte-compile-from-buffer): ...rather than here.
9958
9959 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
9960 functions from byte-compile-function-environment.
9961
9962 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
9963
9964 * window.el (window-deletable-p): Avoid deleting the root window
9965 of a frame with an active minibuffer.
9966
9967 2012-05-29 Martin Rudalics <rudalics@gmx.at>
9968
9969 * simple.el (choose-completion): Use quit-window (Bug#11567).
9970
9971 2012-05-29 Chong Yidong <cyd@gnu.org>
9972
9973 * whitespace.el (whitespace-cleanup): Fix usage of
9974 whitespace-empty-at-bob-regexp (Bug#11492).
9975
9976 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9977
9978 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
9979 revert (Bug#11488).
9980
9981 2012-05-29 Juri Linkov <juri@jurta.org>
9982
9983 * isearch.el (isearch-mode-map): Bind `M-s _' to
9984 `isearch-toggle-symbol'. Bind `M-s c' to
9985 `isearch-toggle-case-fold'.
9986 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
9987 (isearch-forward): Add `M-s _' to the docstring.
9988 (isearch-forward-symbol, isearch-toggle-case-fold)
9989 (isearch-symbol-regexp): New functions. (Bug#11381)
9990
9991 2012-05-29 Juri Linkov <juri@jurta.org>
9992
9993 * isearch.el (isearch-word): Add docstring. (Bug#11381)
9994 (isearch-occur, isearch-search-and-update): If `isearch-word' is
9995 a function, call it to get the regexp.
9996 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
9997 property `isearch-message-prefix' instead of the string "word ".
9998 (isearch-search-fun-default): For the case of `isearch-word',
9999 return a lambda that calls re-search-forward/re-search-backward
10000 with a regexp returned by `word-search-regexp' or by the function
10001 in `isearch-word'.
10002
10003 2012-05-29 Juri Linkov <juri@jurta.org>
10004
10005 * isearch.el (isearch-search-fun-default): New function.
10006 (isearch-search-fun): Move default part to the new function
10007 `isearch-search-fun-default'.
10008 (isearch-search-fun-function): Set the default value to
10009 `isearch-search-fun-default'. (Bug#11381)
10010
10011 * comint.el (comint-history-isearch-end):
10012 Use `isearch-search-fun-default'.
10013 (comint-history-isearch-search): Use `isearch-search-fun-default'
10014 and remove spacial case for `isearch-word'.
10015 (comint-history-isearch-wrap): Remove spacial case for
10016 `isearch-word'.
10017
10018 * hexl.el (hexl-isearch-search-function):
10019 Use `isearch-search-fun-default'.
10020
10021 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10022 Use `word-search-regexp' for `isearch-word'.
10023
10024 * misearch.el (multi-isearch-search-fun):
10025 Use `isearch-search-fun-default'.
10026
10027 * simple.el (minibuffer-history-isearch-search):
10028 Use `isearch-search-fun-default' and remove spacial case for
10029 `isearch-word'.
10030 (minibuffer-history-isearch-wrap): Remove spacial case for
10031 `isearch-word'.
10032
10033 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10034 Remove spacial case for `isearch-word'.
10035 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10036
10037 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10038
10039 Decrease XEmacs incompatibilities.
10040 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10041 Use `string-match'.
10042 (flyspell-delete-region-overlays): Use alternative definition for
10043 XEmacs.
10044 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10045 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10046 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10047 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10048 `define-obsolete-face-alias' under XEmacs, but old method.
10049
10050 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10051 `with-no-warnings' definition or Emacs alias.
10052 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10053 (ispell-word): Do not use `region-p' if XEmacs.
10054
10055 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10056
10057 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10058 Check for `ispell-dictionary-base-alist' instead of full
10059 `ispell-dictionary-alist'.
10060 (ispell-init-process): Show spellchecker when starting new Ispell
10061 process.
10062
10063 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10064
10065 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10066 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10067
10068 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
10069
10070 * version.el (motif-version-string, gtk-version-string)
10071 (ns-version-string): Declare.
10072
10073 2012-05-27 Juri Linkov <juri@jurta.org>
10074
10075 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10076 after the `eval-defun-1' specialcaseing
10077 like in `edebug-eval-defun' (bug#10181).
10078
10079 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10080 like in `eval-defun-1'.
10081
10082 2012-05-27 Eli Zaretskii <eliz@gnu.org>
10083
10084 * mail/sendmail.el (mail-yank-region):
10085 Recognize rmail-yank-current-message in addition to insert-buffer.
10086 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
10087 a *mail* buffer created through rmail-start-mail with sendmail as
10088 mail-user-agent.
10089
10090 2012-05-27 Chong Yidong <cyd@gnu.org>
10091
10092 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10093 Default to 256 (Bug#11267).
10094
10095 * help.el (describe-mode): Doc fix.
10096
10097 2012-05-26 Glenn Morris <rgm@gnu.org>
10098
10099 * w32-fns.el (w32-init-info): Remove.
10100 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10101
10102 * info.el (info-initialize): For self-contained NS builds, put the
10103 included info/ directory at the front. (Bug#2791)
10104
10105 * paths.el (Info-default-directory-list): Make it a defcustom,
10106 mainly so that we can use custom-initialize-delay.
10107
10108 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10109
10110 * subr.el (buffer-has-markers-at): Mark obsolete.
10111
10112 * subr.el (lambda): Use declare.
10113
10114 * emacs-lisp/lisp-mode.el (lambda):
10115 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10116
10117 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10118
10119 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10120
10121 2012-05-26 Glenn Morris <rgm@gnu.org>
10122
10123 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10124
10125 2012-05-25 Glenn Morris <rgm@gnu.org>
10126
10127 * paths.el: Remove no-byte-compile.
10128 * loadup.el: No need to load paths.el uncompiled.
10129
10130 * image.el (imagemagick-types-inhibit): Doc fix.
10131
10132 * version.el: Remove no-byte-compile and associated formatting.
10133 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10134 is ancient code from when there was an "inc-vers.el".
10135
10136 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10137
10138 * progmodes/gdb-mi.el: Minor style changes.
10139 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10140 Turn into minor modes.
10141 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10142 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10143 (gdb-shell): Remove unneeded let-binding.
10144 (gdb-get-many-fields): Eliminate O(n²) behavior.
10145
10146 2012-05-25 Eli Zaretskii <eliz@gnu.org>
10147
10148 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
10149 platforms that don't link in fontset.c.
10150
10151 2012-05-25 Juri Linkov <juri@jurta.org>
10152
10153 Use the same diff color scheme as in modern VCSes (bug#10181).
10154
10155 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
10156 to avoid confusion with `diff-added' that now uses green colors.
10157 (diff-removed): Use shades of red.
10158 (diff-added): Use shades of green.
10159 (diff-changed): Leave just the yellow color.
10160 (diff-use-changed-face): New variable.
10161 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
10162 how to highlight context diff changes.
10163 (diff-refine-change): Use shades of yellow.
10164 (diff-refine-removed): New face that uses shades of red.
10165 (diff-refine-added): New face that uses shades of green.
10166 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10167 `diff-refine-removed' in the call to `smerge-refine-subst'
10168 depending on the value of `diff-use-changed-face'.
10169
10170 * vc/smerge-mode.el (smerge-mine): Use shades of red.
10171 (smerge-other): Use shades of green.
10172 (smerge-base): Use shades of yellow.
10173 (smerge-refined-change): Empty face.
10174 (smerge-refined-removed): New face that uses shades of red.
10175 (smerge-refined-added): New face that uses shades of green.
10176 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
10177 args `props-r' and `props-a', and use them. Doc fix.
10178 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10179 on its value use different faces `smerge-refined-change',
10180 `smerge-refined-removed', `smerge-refined-added' in the call to
10181 `smerge-refine-subst'.
10182
10183 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10184 Add face condition `min-colors 88' with shades of red.
10185 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10186 `min-colors 88' with shades of green.
10187 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10188 `min-colors 88' with shades of yellow.
10189
10190 2012-05-24 Glenn Morris <rgm@gnu.org>
10191
10192 * paths.el (prune-directory-list, remote-shell-program): Move to...
10193 * files.el (prune-directory-list, remote-shell-program): ...here.
10194 For the latter, delay initialization, prefer ssh, just search PATH.
10195
10196 * paths.el (term-file-prefix): Move to faces.el (the only user).
10197 * faces.el (term-file-prefix): Move here, make it a defcustom.
10198
10199 * paths.el (news-directory, news-path, news-inews-program):
10200 Move to gnus/nnspool.el.
10201
10202 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10203
10204 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10205 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10206 Make the latter a defcustom, with a delayed initialization.
10207
10208 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10209 These were deleted from Gnus itself late 2010.
10210
10211 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
10212
10213 * progmodes/which-func.el (which-func-ff-hook):
10214 Check against user-error, not error.
10215
10216 * emacs-lisp/edebug.el (top): Do not load or set up loading of
10217 cl-specs.el, which no longer exists.
10218
10219 2012-05-22 Glenn Morris <rgm@gnu.org>
10220
10221 * info.el (info-emacs-bug): New command.
10222 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10223 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10224
10225 2012-05-21 Glenn Morris <rgm@gnu.org>
10226
10227 * makefile.w32-in (update-subdirs-SH):
10228 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10229
10230 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10231
10232 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10233
10234 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10235 Simplify Maven regexp, and make sure the file can't start with a space
10236 (bug#11517).
10237
10238 2012-05-21 Glenn Morris <rgm@gnu.org>
10239
10240 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10241 Scrap superfluous subshells.
10242
10243 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10244
10245 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10246 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10247
10248 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10249
10250 * calc/calc.el (calc-ensure-consistent-units): New variable.
10251
10252 * calc/calc-units.el (math-consistent-units-p)
10253 (math-check-unit-consistency): New functions.
10254 (calc-quick-units, calc-convert-units):
10255 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10256 is non-nil.
10257 (calc-extract-units): Fix typo.
10258
10259 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10260
10261 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10262
10263 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10264 (flyspell-default-deplacement-commands): Don't spell check after
10265 repeated window/frame switches (e.g. triggered by mouse-movement).
10266 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10267 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10268 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10269 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10270 Remove unused vars.
10271 (flyspell-get-casechars, flyspell-get-not-casechars):
10272 Simplify; Don't bother removing a ] just to add it back.
10273 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10274
10275 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10276
10277 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10278 New functions.
10279 (math-function-table): Add support for more C functions.
10280
10281 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10282
10283 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10284 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10285 Protect delay handling for otherchars against empty otherchars.
10286
10287 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10288
10289 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10290 their respective macro declarations.
10291 * skeleton.el (define-skeleton):
10292 * progmodes/compile.el (define-compilation-mode):
10293 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10294 (define-ibuffer-filter):
10295 * emacs-lisp/generic.el (define-generic-mode):
10296 * emacs-lisp/easy-mmode.el (define-minor-mode)
10297 (define-globalized-minor-mode):
10298 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10299 * emacs-lisp/byte-run.el (defsubst):
10300 * custom.el (deftheme): Add doc-string metadata.
10301
10302 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10303
10304 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10305
10306 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10307
10308 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10309
10310 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10311 * emacs-lisp/cl-macs.el: Idem.
10312 * emacs-lisp/cl-specs.el: Remove.
10313
10314 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10315
10316 Minor renaming of internal CL functions and variables.
10317 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10318 (cl--position): Rename from cl-position.
10319 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10320 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10321 (cl--random-state): Rename from *random-state*.
10322
10323 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10324
10325 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10326 parens around the arg list (bug#11499).
10327
10328 2012-05-17 Juri Linkov <juri@jurta.org>
10329
10330 * isearch.el (word-search-regexp, word-search-backward)
10331 (word-search-forward, word-search-backward-lax)
10332 (word-search-forward-lax): Move functions from search.c
10333 (bug#10145, bug#11381).
10334
10335 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10336
10337 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10338 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10339 Delay for otherchars as for normal word components.
10340
10341 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10342
10343 * minibuffer.el (completion--sifn-requote): Fix last change.
10344 (minibuffer-local-must-match-filename-map):
10345 Move define-obsolete-variable-alias before its var.
10346
10347 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10348
10349 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10350
10351 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10352 behavior.
10353 (completion--string-equal-p): New function.
10354 (completion--twq-all): Use it to get better assertion failure data.
10355
10356 Only handle ".." and '..' quoting in shell-mode (bug#11466).
10357 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10358 (shell--requote-argument): New functions.
10359 (shell-completion-vars): Use them.
10360 (shell--parse-pcomplete-arguments): Rename from
10361 shell-parse-pcomplete-arguments.
10362 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
10363 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10364 Obey comint-file-name-quote-list.
10365
10366 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10367 (smie-indent-keyword): Use it.
10368
10369 2012-05-14 Stefan Merten <smerten@oekonux.de>
10370
10371 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10372
10373 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10374
10375 * net/rlogin.el (rlogin-mode-map): Fix last change.
10376
10377 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
10378
10379 * mail/smtpmail.el (smtpmail-send-command): Send the command and
10380 the following \r\n using a single `process-send-string', since the
10381 Lotus SMTP server refuses to accept any commands if they are sent
10382 with two `process-send-string's (Bug#11444).
10383
10384 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10385
10386 * shell.el (shell-parse-pcomplete-arguments):
10387 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
10388
10389 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10390
10391 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
10392 (image-transform-scale, image-transform-right-angle-fudge): New vars.
10393 (image-transform-width, image-transform-fit-width): New functions.
10394 (image-transform-properties): Use them.
10395 (image-transform-check-size): New function.
10396 (image-toggle-display-image): Use it (for testing).
10397 (image-transform-set-rotation): Reduce angle mod 360.
10398 Delete obsolete comment.
10399
10400 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10401
10402 * image-mode.el: Fix scaling (bug#11399).
10403 (image-transform-resize): Doc fix.
10404 (image-transform-properties): Default scale is 1 and height should
10405 be an integer.
10406
10407 2012-05-13 Johan Bockgård <bojohan@gnu.org>
10408
10409 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
10410 than hard-coding `car', to fix misbehavior when moving forward.
10411
10412 2012-05-13 Chong Yidong <cyd@gnu.org>
10413
10414 * emacs-lisp/tabulated-list.el (tabulated-list-format)
10415 (tabulated-list-entries, tabulated-list-padding)
10416 (tabulated-list-sort-key): Make permanent-local.
10417
10418 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
10419 (electric-buffer-list): Put electric buffer menu
10420 command descriptions in this docstring, instead of the docstring
10421 of electric-buffer-menu-mode. Code cleanups.
10422 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
10423 Electric-buffer-menu-mode.
10424 (electric-buffer-update-highlight): Minor code cleanup.
10425
10426 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
10427
10428 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
10429 (Bug#11447)
10430
10431 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10432
10433 Move define-obsolete-variable-alias before the var's definition.
10434 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
10435 * tooltip.el (tooltip-hook):
10436 * textmodes/reftex-toc.el (reftex-toc-map):
10437 * textmodes/reftex-sel.el (reftex-select-label-map)
10438 (reftex-select-bib-map):
10439 * textmodes/reftex-index.el (reftex-index-map)
10440 (reftex-index-phrases-map):
10441 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
10442 * progmodes/meta-mode.el (meta-mode-map):
10443 * novice.el (disabled-command-hook):
10444 * loadhist.el (unload-hook-features-list):
10445 * frame.el (blink-cursor):
10446 * files.el (find-file-not-found-hooks, write-file-hooks)
10447 (write-contents-hooks):
10448 * emulation/tpu-edt.el (GOLD-map):
10449 * emacs-lock.el (emacs-lock-from-exiting):
10450 * emacs-lisp/generic.el (generic-font-lock-defaults):
10451 * emacs-lisp/chart.el (chart-map):
10452 * dos-fns.el (register-name-alist):
10453 * dired-x.el (dired-omit-files-p):
10454 * desktop.el (desktop-enable):
10455 * cus-edit.el (custom-mode-hook):
10456 * buff-menu.el (buffer-menu-mode-hook):
10457 * bookmark.el (bookmark-read-annotation-text-func)
10458 (bookmark-exit-hooks):
10459 * allout.el (allout-mode-deactivate-hook)
10460 (allout-exposure-change-hook, allout-structure-added-hook)
10461 (allout-structure-deleted-hook, allout-structure-shifted-hook):
10462 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
10463 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
10464 comes before the corresponding variable's definition.
10465
10466 2012-05-12 Chong Yidong <cyd@gnu.org>
10467
10468 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
10469 (Buffer-menu-mouse-select): Restore function (Bug#11459).
10470 (Buffer-menu-mode-map): Bind it.
10471 (Buffer-menu--pretty-name): Add a mouse-face property.
10472
10473 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10474
10475 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
10476 (prolog-upper-case-string, prolog-lower-case-string)
10477 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
10478 (prolog-use-smie, prolog-smie-grammar): New vars.
10479 (prolog-smie-forward-token, prolog-smie-backward-token)
10480 (prolog-smie-rules): New funs.
10481 (prolog-comment-indent): Remove.
10482 (prolog-mode-variables): Use default comment indentation instead.
10483 Setup SMIE.
10484 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
10485 (prolog-mode): Don't call them any more.
10486 (prolog-electric-colon, prolog-electric-dash)
10487 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
10488
10489 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
10490
10491 * minibuffer.el (completion--twq-all): Again, allow case differences.
10492
10493 * term.el: Move keymap initialization code to be more idiomatic.
10494 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
10495 (term-terminal-menu): Move initialization into declaration.
10496 (term-escape-char): Let the user set it in her .emacs.
10497
10498 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
10499 Provide SMIE-based indentation (not enabled by default yet).
10500 (sh-mode-map): Don't bind electric keys.
10501 Use electric-pair-mode instead of skeleton-pair.
10502 (sh-assignment-regexp): Fit within 80 columns.
10503 (sh-indent-supported): Specify actual shell name instead of boolean.
10504 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
10505 (sh-maybe-here-document): Use it. Make obsolete.
10506 (sh-electric-here-document-mode) New minor mode.
10507 (sh-mode): Use it. Don't set sh-indent-supported-here here.
10508 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
10509 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
10510 (sh-smie-rc-grammar, sh-use-smie): New vars.
10511 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
10512 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
10513 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
10514 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
10515 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
10516 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
10517 (sh-set-shell): Use smie-setup if requested.
10518
10519 * term.el (term-set-escape-char): Properly set term-escape-char.
10520 See http://stackoverflow.com/questions/10524656.
10521
10522 2012-05-10 Chong Yidong <cyd@gnu.org>
10523
10524 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
10525 Use url-generic-parse-url, and handle host names and Windows
10526 filenames properly.
10527 (ffap-url-unwrap-remote): Use url-generic-parse-url.
10528 (ffap-url-unwrap-remote): Accept list values, specifying a list of
10529 URL schemes to work on.
10530 (ffap--toggle-read-only): New function.
10531 (ffap-read-only, ffap-read-only-other-window)
10532 (ffap-read-only-other-frame): Use it.
10533 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
10534 necessary for ffap-url-unwrap-remote.
10535
10536 2012-05-10 Dave Abrahams <dave@boostpro.com>
10537
10538 * cus-start.el (create-lockfiles): Add it.
10539
10540 2012-05-09 Chong Yidong <cyd@gnu.org>
10541
10542 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
10543 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
10544
10545 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10546
10547 * shell.el (shell-completion-vars): Fix last change (bug#11348).
10548
10549 2012-05-09 Chong Yidong <cyd@gnu.org>
10550
10551 * ansi-color.el (ansi-color-process-output): Check for validity of
10552 comint-last-output-start before using it. This avoids a bad
10553 interaction with gdb-mi's input/output buffer.
10554
10555 2012-05-09 Glenn Morris <rgm@gnu.org>
10556
10557 * files.el (dir-locals-read-from-file):
10558 Mention dir-locals in any error message.
10559
10560 2012-05-09 Chong Yidong <cyd@gnu.org>
10561
10562 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
10563 package (Bug#11410).
10564
10565 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
10566 variables into description.
10567
10568 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10569
10570 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
10571 shell-delimiter-argument-list (bug#11348).
10572 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
10573
10574 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
10575
10576 * textmodes/rst.el: Silence byte-compiler warnings.
10577 (rst-re-alist, rst-reset-section-caches): Move around.
10578 (rst-re): Use `characterp', not `char-valid-p'.
10579 (font-lock-beg, font-lock-end): Declare.
10580
10581 * progmodes/idlw-shell.el (specs): Remove reference to deleted
10582 variable `idlwave-shell-activate-alt-keybindings' and simplify.
10583
10584 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
10585
10586 2012-05-08 Glenn Morris <rgm@gnu.org>
10587
10588 * files.el (auto-mode-alist): Treat ".make" like ".mk".
10589
10590 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10591
10592 * vc/log-edit.el: Add GNU coding standards highlighting.
10593 (log-edit-font-lock-gnu-style)
10594 (log-edit-font-lock-gnu-keywords): New vars.
10595 (log-edit-font-lock-keywords): New fun.
10596 (log-edit-mode): Don't fold case in font-lock.
10597 (log-edit-font-lock-keywords): Do not assume case-folding.
10598
10599 * imenu.el: Misc cleanup. Make docstrings out of comments.
10600 Use lexical-binding.
10601 (imenu--index-alist, imenu--last-menubar-index-alist)
10602 (imenu-menubar-modified-tick): Use defvar-local.
10603 (imenu--split-menu): Remove unused var.
10604 (imenu--cleanup-seen): Declare as global.
10605 (imenu--cleanup): Use dolist.
10606
10607 * subr.el (defvar-local): Add debug spec and doc-string position.
10608
10609 2012-05-08 Glenn Morris <rgm@gnu.org>
10610
10611 * language/burmese.el, language/cham.el, language/czech.el:
10612 * language/english.el, language/georgian.el, language/greek.el:
10613 * language/japanese.el, language/khmer.el, language/korean.el:
10614 * language/lao.el, language/misc-lang.el, language/romanian.el:
10615 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
10616 * language/thai.el, language/utf-8-lang.el:
10617 Remove no-byte-compile setting.
10618
10619 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
10620
10621 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10622
10623 * progmodes/make-mode.el (makefile-browse):
10624 Remove unnecessary interactive. (Bug#11324)
10625
10626 2012-05-07 Glenn Morris <rgm@gnu.org>
10627
10628 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
10629
10630 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
10631
10632 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10633
10634 * loadup.el: Preload newcomment.el.
10635 * newcomment.el: Move autoload-only code to toplevel.
10636
10637 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
10638 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10639 Handle new :right-align column property.
10640 (tabulated-list-print-col): Idem, plus use `display' text-property to
10641 try and preserve alignment for variable pitch fonts.
10642
10643 2012-05-07 Chong Yidong <cyd@gnu.org>
10644
10645 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
10646 (tabulated-list-use-header-line): New var.
10647 (tabulated-list-init-header): Use it.
10648 (tabulated-list-print-fake-header): New function.
10649 (tabulated-list-print): Use it.
10650 (tabulated-list-sort-button-map): Add non-header-line commands.
10651 (tabulated-list-init-header): Add column name property to basic
10652 labels as well.
10653 (tabulated-list-col-sort): Handle non-header-line button case.
10654 (tabulated-list--sort-by-column-name): Fix a corner case.
10655
10656 * buff-menu.el (list-buffers--refresh):
10657 Handle Buffer-menu-use-header-line.
10658
10659 2012-05-06 Chong Yidong <cyd@gnu.org>
10660
10661 * buff-menu.el: Convert to Tabulated List mode.
10662 (Buffer-menu-buffer+size-width): Make obsolete.
10663 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
10664 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
10665 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
10666 documentation into docstring of buffer-menu.
10667 (Buffer-menu-toggle-files-only): Add an informative message.
10668 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
10669 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
10670 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
10671 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
10672 (Buffer-menu-execute, Buffer-menu-select)
10673 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
10674 (Buffer-menu-bury): Use Tabulated List machinery.
10675 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
10676 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
10677 Delete.
10678 (list-buffers--refresh): New function.
10679 (list-buffers-noselect): Use it.
10680 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
10681 (Buffer-menu--pretty-file-name): New helper functions.
10682
10683 * loadup.el: Preload tabulated-list.
10684
10685 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
10686 tabulated-list-sort-column.
10687 (tabulated-list-init-header): Add the initial aligning space even
10688 if tabulated-list-padding is zero.
10689
10690 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
10691
10692 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
10693 whose cdr is not a cons cell correctly (bug#11038).
10694
10695 2012-05-06 Chong Yidong <cyd@gnu.org>
10696
10697 * emacs-lisp/tabulated-list.el (tabulated-list-format):
10698 Accept additional plist in column descriptors.
10699 (tabulated-list-init-header): Obey it.
10700 (tabulated-list-get-entry): New function.
10701 (tabulated-list-put-tag): Use it. Use string-width instead of
10702 length.
10703 (tabulated-list--column-number): New function.
10704 (tabulated-list-print): Use it.
10705 (tabulated-list-print-col): New function.
10706 Set `tabulated-list-column-name' property on each column's text.
10707 (tabulated-list-print-entry): Use it.
10708 (tabulated-list-delete-entry, tabulated-list-set-col):
10709 New functions.
10710 (tabulated-list-sort-column): New command (Bug#11337).
10711
10712 * buff-menu.el (list-buffers): Move C-x C-b binding from
10713 buff-menu.el to bindings.el.
10714
10715 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
10716 :advertised-binding feature.
10717
10718 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
10719
10720 * progmodes/compile.el (compilation-internal-error-properties):
10721 Calculate start position correctly when end-col is set but
10722 end-line is not (Bug#11382).
10723
10724 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
10725
10726 * man.el (Man-unindent): Use text-property-default-nonsticky to
10727 prevent untabify from inheriting face properties (Bug#11408).
10728
10729 2012-05-05 Stefan Merten <smerten@oekonux.de>
10730
10731 * textmodes/rst.el: Major merge with upstream development up to
10732 Docutils SVN r7399 / rst.el V1.2.1.
10733
10734 Clarify maintainership and authors.
10735
10736 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
10737 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
10738 (rst-official-version, rst-official-cvs-rev, rst-version)
10739 (rst-package-emacs-version-alist): New functions and variables
10740 for version information.
10741
10742 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
10743 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
10744 (rst-mode-syntax-table, rst-mode): New and corrected functions
10745 and variables representing reStructuredText features.
10746
10747 (rst-re): New function for reStructuredText regexes. Use in
10748 many places.
10749
10750 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
10751 (rst-mode-map): Rebind keys.
10752
10753 (rst-mode-lazy, rst-font-lock-keywords)
10754 (rst-font-lock-extend-region)
10755 (rst-font-lock-extend-region-internal)
10756 (rst-font-lock-extend-region-extend)
10757 (rst-font-lock-find-unindented-line-limit)
10758 (rst-font-lock-find-unindented-line-match)
10759 (rst-adornment-level, rst-font-lock-adornment-level)
10760 (rst-font-lock-adornment-match)
10761 (rst-font-lock-handle-adornment-pre-match-form)
10762 (rst-font-lock-handle-adornment-matcher): Major revision of
10763 font-locking. Integrate with other code. Use `jit-lock-mode'.
10764
10765 (rst-preferred-adornments, rst-adjust-hook)
10766 (rst-new-adornment-down, rst-preferred-bullets)
10767 (rst-preferred-bullets, rst-indent, rst-indent-width)
10768 (rst-indent-field, rst-indent-literal-normal)
10769 (rst-indent-literal-minimized, rst-indent-comment): Change,
10770 extend and improve customization.
10771
10772 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
10773 (rst-normalize-cursor-position, rst-get-decoration)
10774 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
10775 (rst-rstrip, rst-toc-insert-find-delete-contents)
10776 (rst-shift-fill-region, rst-compute-bullet-tabs)
10777 (rst-debug-print-tabs, rst-debug-mark-found)
10778 (rst-shift-region-guts, rst-shift-region-right)
10779 (rst-shift-region-left, rst-use-char-classes)
10780 (rst-font-lock-keywords-function)
10781 (rst-font-lock-indentation-point)
10782 (rst-font-lock-find-unindented-line-begin)
10783 (rst-font-lock-find-unindented-line-end)
10784 (rst-font-lock-find-unindented-line)
10785 (rst-font-lock-adornment-point, rst-font-lock-level)
10786 (rst-adornment-level-alist): Remove functions and variables.
10787
10788 (rst-compare-adornments, rst-get-adornment-match)
10789 (rst-suggest-new-adornment, rst-get-adornments-around)
10790 (rst-adornment-complete-p, rst-get-next-adornment)
10791 (rst-adjust-adornment, rst-display-adornments-hierarchy)
10792 (rst-straighten-adornments): Standardize function names to
10793 use "adornment" instead of "decoration". Correct callers.
10794 Similar standardizing in many places.
10795
10796 (rst-update-section, rst-adjust, rst-promote-region)
10797 (rst-enumerate-region, rst-bullet-list-region)
10798 (rst-repeat-last-character): Correct use of `interactive'.
10799
10800 (rst-classify-adornment, rst-find-all-adornments)
10801 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
10802 (rst-find-leftmost-column, rst-repeat-last-character):
10803 Refactor functions.
10804
10805 (rst-find-title-line, rst-reset-section-caches)
10806 (rst-get-adornments-around, rst-adjust-adornment-work)
10807 (rst-arabic-to-roman, rst-roman-to-arabic)
10808 (rst-insert-list-pos, rst-insert-list-new-item)
10809 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
10810 New functions.
10811
10812 (rst-all-sections, rst-section-hierarchy)
10813 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
10814 New variables.
10815
10816 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
10817 configuration instead of only buffer. Change where necessary.
10818
10819 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
10820 (rst-shift-region, rst-adaptive-fill): New functions for
10821 indentation and filling.
10822
10823 (rst-comment-line-break, rst-comment-indent)
10824 (rst-comment-insert-comment, rst-comment-region)
10825 (rst-uncomment-region): New functions for handling comments.
10826
10827 (rst-compile): Quote shell arguments.
10828
10829 (rst-compile-pdf-preview, rst-compile-slides-preview):
10830 Delete temporary files after use.
10831
10832 2012-05-05 Glenn Morris <rgm@gnu.org>
10833
10834 * calendar/cal-html.el: Optionally include holidays in the output.
10835 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
10836 (cal-html-holidays): New option.
10837 (cal-html-css-default): Add holiday entry.
10838 (holiday-in-range): Autoload it.
10839 (cal-html-htmlify-entry): Add optional class argument.
10840 (cal-html-htmlify-list): Add optional holidays argument.
10841 (cal-html-insert-agenda-days): Include holidays in the output.
10842 (cal-html-one-month): Maybe include holidays.
10843
10844 * calendar/holidays.el (holiday-in-range):
10845 Move here from cal-tex-list-holidays.
10846 * calendar/cal-tex.el (cal-tex-list-holidays):
10847 Make it an obsolete alias for holiday-in-range. Update all callers.
10848
10849 2012-05-05 Chong Yidong <cyd@gnu.org>
10850
10851 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
10852 Nextstep.
10853
10854 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
10855
10856 * files.el (file-auto-mode-skip): New var.
10857 (set-auto-mode-1): Use it.
10858
10859 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10860
10861 * repeat.el: Use lexical-binding.
10862 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
10863 (repeat-undo-count): Remove.
10864 (repeat):
10865 * progmodes/octave-mod.el (octave-abbrev-start):
10866 * progmodes/f90.el (f90-abbrev-start):
10867 * face-remap.el (text-scale-adjust):
10868 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
10869
10870 * emacs-lisp/pcase.el (pcase--let*): New function.
10871 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
10872 a bit more.
10873 (pcase--split-pred): Be more clever about ruling out overlap between
10874 a predicate and some constant pattern.
10875 (pcase--q1): Use `null' instead of (eq foo nil).
10876
10877 * subr.el (setq-local, defvar-local): New macros.
10878 (kbd): Redefine as an alias.
10879 (with-selected-window): Leave unrelated frames alone.
10880 (set-temporary-overlay-map): New function.
10881
10882 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10883
10884 * subr.el (user-error): New function.
10885 * window.el (switch-to-buffer):
10886 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
10887 (smerge-match-conflict):
10888 * simple.el (previous-matching-history-element)
10889 (next-matching-history-element, goto-history-element, undo-more)
10890 (undo-start):
10891 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
10892 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
10893 (next-file, tags-loop-scan, list-tags, complete-tag):
10894 * progmodes/compile.el (compilation-loop):
10895 * mouse.el (mouse-minibuffer-check):
10896 * man.el (Man-bgproc-sentinel, Man-goto-page):
10897 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
10898 (Info-history-forward, Info-follow-reference, Info-menu)
10899 (Info-extract-menu-item, Info-extract-menu-counting)
10900 (Info-forward-node, Info-backward-node, Info-next-menu-item)
10901 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
10902 (Info-next-reference, Info-prev-reference, Info-index)
10903 (Info-index-next, Info-follow-nearest-node)
10904 (Info-copy-current-node-name):
10905 * imenu.el (imenu--make-index-alist)
10906 (imenu-default-create-index-function, imenu-add-to-menubar):
10907 * files.el (basic-save-buffer, recover-file):
10908 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10909 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
10910 (checkdoc-message-text, checkdoc-defun):
10911 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
10912 * cus-edit.el (customize-changed-options, customize-rogue)
10913 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
10914 (custom-variable-mark-to-reset-standard)
10915 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
10916 (custom-file):
10917 * completion.el (check-completion-length):
10918 * comint.el (comint-search-arg)
10919 (comint-previous-matching-input-string-position)
10920 (comint-previous-matching-input)
10921 (comint-replace-by-expanded-history-before-point, comint-send-input)
10922 (comint-copy-old-input, comint-backward-matching-input)
10923 (comint-goto-process-mark, comint-set-process-mark):
10924 * calendar/calendar.el (calendar-cursor-to-date): Use it.
10925 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
10926
10927 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10928
10929 * dabbrev.el (dabbrev--ignore-case-p): New function.
10930 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
10931 Use it.
10932
10933 * files.el (automount-dir-prefix): Mark as obsolete.
10934
10935 2012-05-04 Glenn Morris <rgm@gnu.org>
10936
10937 * patcomp.el, play/bruce.el: Move to obsolete/.
10938
10939 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
10940
10941 Fix minor Y10k bugs.
10942 * arc-mode.el (archive-unixdate):
10943 * autoinsert.el (auto-insert-alist):
10944 * calc/calc-forms.el (math-this-year):
10945 * emacs-lisp/copyright.el (copyright-current-year)
10946 (copyright-update-year, copyright):
10947 * tar-mode.el (tar-clip-time-string):
10948 * time.el (display-time-update):
10949 Don't assume years have 4 digits.
10950
10951 2012-05-04 Chong Yidong <cyd@gnu.org>
10952
10953 * dos-w32.el (file-name-buffer-file-type-alist)
10954 (direct-print-region-use-command-dot-com):
10955 * ffap.el (ffap-menu-regexp):
10956 * find-file.el (ff-special-constructs):
10957 * follow.el (follow-debug):
10958 * forms.el (forms--debug):
10959 * iswitchb.el (iswitchb-all-frames):
10960 * ido.el (ido-all-frames):
10961 * emacs-lisp/timer.el (timer-max-repeats):
10962 * mail/feedmail.el (feedmail-mail-send-hook)
10963 (feedmail-mail-send-hook-queued):
10964 * mail/footnote.el (footnote-signature-separator):
10965 * mail/mailabbrev.el (mail-alias-separator-string)
10966 (mail-abbrev-mode-regexp):
10967 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
10968 * progmodes/idlwave.el (idlwave-libinfo-file)
10969 (idlwave-default-completion-case-is-down)
10970 (idlwave-library-routines): Convert defvars to defcustoms.
10971
10972 * mail/rmail.el (rmail-decode-mime-charset):
10973 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
10974 (idlwave-shell-fix-inserted-breaks)
10975 (idlwave-shell-activate-alt-keybindings)
10976 (idlwave-shell-use-breakpoint-glyph):
10977 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
10978
10979 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10980
10981 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
10982
10983 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
10984
10985 * progmodes/verilog-mode.el (font-lock-keywords):
10986 Fix mis-highligting auto. Reported by Craig Barner.
10987 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
10988 defines from global name space. Reported by Dan Dever.
10989 (verilog-auto-reset, verilog-auto-reset-widths)
10990 (verilog-auto-tieoff): Support using unbased numbers for
10991 AUTORESET and AUTOTIEOFF.
10992 (verilog-submit-bug-report): Update variable list.
10993 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
10994 parenthesis from not matching. Reported by Michael Rytting.
10995 (verilog-auto-template-lint): Fix hash error when linting modules
10996 with no used templates.
10997 (verilog-warn, verilog-warn-error)
10998 (verilog-warn-fatal): When non-interactive report multiple
10999 warnings before exiting. Suggested by Brad Dobbie.
11000 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11001 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11002 to report unused template errors. Reported by Brad Dobbie.
11003 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
11004 nets, bug438. Reported by Vns Blore.
11005 (verilog-auto-inout-module, verilog-auto-reg)
11006 (verilog-read-decls, verilog-read-sub-decls-sig)
11007 (verilog-signals-edit-wire-reg, verilog-signals-with):
11008 Fix passing of Verilog data types in ANSI input/output ports
11009 such as "output logic" into the AUTOs. Special case "wire" and
11010 "reg" for backwards compatibility presuming Verilog 2001.
11011 (verilog-auto-ascii-enum): Add "auto enum" as alias.
11012 (verilog-preprocess): Fix replication of preprocess output.
11013 Reported by Brad Dobbie.
11014 (verilog-auto-inst-interfaced-ports):
11015 Create verilog-auto-inst-interfaced-ports, bug429.
11016 Reported by Julian Gorfajn.
11017 (verilog-after-save-font-hook)
11018 (verilog-before-save-font-hook): New variable.
11019 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11020 (verilog-save-font-mods): Wrap disabling fontification, reported
11021 by David Rogoff.
11022 (verilog-do-indent, verilog-pretty-declarations-auto)
11023 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11024 Reported by Pierre-David Pfister.
11025 (verilog-set-auto-endcomments): Fix endtask auto comments outside
11026 of class declarations, bug292. Reported by Kevin Heilman.
11027 (verilog-read-decls): Fix 'parameter type' not appearing in
11028 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
11029 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
11030 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
11031 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11032 Reported by David Kravitz.
11033
11034 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
11035
11036 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11037 assignment with tests in ifs and for loops.
11038 (verilog-extended-complete-re, verilog-complete-reg): Change so
11039 that DPI inport functions don't look like fuction declarations.
11040 (verilog-pretty-expr): Don't line up assignment
11041 operations to the test and increment in if and for loops
11042 (verilog-extended-complete-re, verilog-complete-reg): Change so
11043 that DPI inport functions don't look like fuction declarations.
11044
11045 2012-05-03 Kenichi Handa <handa@m17n.org>
11046
11047 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
11048 decoding, and show a warning message without signaling an error
11049 (Bug#11282).
11050
11051 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11052
11053 * emacs-lisp/bytecomp.el
11054 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11055 since cconv.el might have introduced :fun-body, internal-make-closure,
11056 and friends for bytecomp to handle (bug#11391).
11057 * custom.el (defcustom): Avoid ((λ ..) ..).
11058
11059 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11060
11061 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11062
11063 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
11064
11065 * notifications.el (dbus-debug):
11066 * term/linux.el (gpm-mouse-enable):
11067 * term/screen.el (xterm-register-default-colors): Declare.
11068
11069 2012-05-02 Chong Yidong <cyd@gnu.org>
11070
11071 * cus-start.el (gc-cons-percentage, exec-suffixes)
11072 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11073 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11074 (make-cursor-line-fully-visible, void-text-area-pointer)
11075 (font-list-limit): Add customization data.
11076
11077 * allout.el (allout-exposure-change-functions)
11078 (allout-structure-added-functions)
11079 (allout-structure-deleted-functions)
11080 (allout-structure-shifted-functions): Rename abnormal hooks from
11081 *-hook, and convert to defcustoms.
11082 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11083 Convert to defcustoms.
11084 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11085
11086 * allout-widgets.el: Hook callers changed.
11087
11088 2012-05-02 Eli Zaretskii <eliz@gnu.org>
11089
11090 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11091 the yanked message in preference to the default value of
11092 buffer-file-coding-system.
11093
11094 2012-05-02 Martin Rudalics <rudalics@gmx.at>
11095
11096 * window.el (display-buffer--action-function-custom-type):
11097 Fix entry.
11098
11099 2012-05-02 Alan Mackenzie <acm@muc.de>
11100
11101 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11102
11103 2012-05-01 Glenn Morris <rgm@gnu.org>
11104
11105 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11106
11107 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11108
11109 * cus-edit.el (custom-variable-documentation): Simplify with format.
11110
11111 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11112 Stefan Monnier <monnier@iro.umontreal.ca>
11113
11114 * simple.el (suggest-key-bindings, execute-extended-command):
11115 Move from keyboard.c.
11116
11117 2012-05-01 Chong Yidong <cyd@gnu.org>
11118
11119 * follow.el: Eliminate advice.
11120 (set-process-filter, process-filter, sit-for): Advice deleted.
11121 (follow-mode-off-hook): Obsolete hook removed.
11122 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11123 Vars deleted.
11124 (follow-auto): Use a :set function.
11125 (follow-mode): Rewritten. Don't advise process filters.
11126 (follow-switch-to-current-buffer-all, follow-scroll-up)
11127 (follow-scroll-down): Assume follow-mode is bound.
11128 (follow-comint-scroll-to-bottom)
11129 (follow-align-compilation-windows): New functions.
11130 (follow--window-sorter): New function.
11131 (follow-all-followers): Use it to explicitly sort windows by their
11132 positions; don't make assumptions about next-window order.
11133 (follow-windows-start-end, follow-delete-other-windows-and-split)
11134 (follow-calc-win-start): Doc fix.
11135 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11136 vertical-motion unnecessarily.
11137 (follow-adjust-window): New function.
11138 (follow-post-command-hook): Use it.
11139 (follow-call-set-process-filter, follow-call-process-filter)
11140 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11141 (follow-stop-intercept-process-output, follow-generic-filter):
11142 Functions deleted.
11143 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
11144 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11145 New functions, replacing advice on scroll-bar-* commands.
11146 (follow-mwheel-scroll): New function (Bug#4112).
11147
11148 * comint.el (comint-adjust-point): New function.
11149 (comint-postoutput-scroll-to-bottom): Use it.
11150 Call follow-comint-scroll-to-bottom for Follow mode buffers.
11151
11152 2012-05-01 Glenn Morris <rgm@gnu.org>
11153
11154 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
11155 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
11156 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
11157 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
11158 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
11159 Remove no-byte-compile setting.
11160
11161 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11162
11163 * minibuffer.el (completion-table-with-quoting): Fix compatibility
11164 all-completions code to not return a number in the last cdr.
11165
11166 2012-04-30 Leo Liu <sdl.web@gmail.com>
11167
11168 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11169 read-only error.
11170
11171 2012-04-29 Chong Yidong <cyd@gnu.org>
11172
11173 * follow.el (follow-calc-win-end): Rewrite to handle partial
11174 screen lines correctly (Bug#8390).
11175 (follow-avoid-tail-recenter): Minor cleanup.
11176
11177 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11178
11179 Avoid the obsolete `assoc' package.
11180 * speedbar.el (speedbar-refresh): Avoid adelete.
11181 (speedbar-file-lists): Simplify and avoid aput.
11182 * man.el (Man--sections, Man--refpages): New vars, replacing
11183 Man-sections-alist and Man-refpages-alist.
11184 (Man-build-section-alist, Man-build-references-alist):
11185 Use them; avoid aput.
11186 (Man--last-section, Man--last-refpage): New vars.
11187 (Man-follow-manual-reference): Use them.
11188 Use the `default' arg of completing-read.
11189 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11190
11191 2012-04-27 Chong Yidong <cyd@gnu.org>
11192
11193 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11194
11195 * startup.el (x-apply-session-resources): New function.
11196
11197 * term/ns-win.el (ns-initialize-window-system):
11198 * term/w32-win.el (w32-initialize-window-system):
11199 * term/x-win.el (x-initialize-window-system): Use it to properly
11200 set menu-bar-mode and other vars from X resources, even if the
11201 initial frame is not a window-system frame (Bug#2299).
11202
11203 * subr.el (read-key): Avoid running filter function when setting
11204 up temporary tool bar entries (Bug#9922).
11205
11206 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11207
11208 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11209 (Bug#11344)
11210
11211 2012-04-27 Chong Yidong <cyd@gnu.org>
11212
11213 * select.el (xselect--encode-string): New function, split from
11214 xselect-convert-to-string.
11215 (xselect-convert-to-string): Use it.
11216 (xselect-convert-to-filename, xselect-convert-to-os)
11217 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11218 returned strings are properly encoded (Bug#11315).
11219
11220 2012-04-27 Chong Yidong <cyd@gnu.org>
11221
11222 * simple.el (delete-active-region): Move to killing custom group.
11223
11224 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11225
11226 * progmodes/which-func.el (which-func-current): Quote %
11227 characters for mode-line processing.
11228
11229 2012-04-27 Chong Yidong <cyd@gnu.org>
11230
11231 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11232 reaching eob (Bug#11286).
11233
11234 2012-04-27 Eli Zaretskii <eliz@gnu.org>
11235
11236 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11237 (gdb): Make it buffer-local and init to zero.
11238 (gdb-control-commands-regexp): New variable.
11239 (gdb-send): Don't wrap in "-interpreter-exec console" if
11240 gdb-control-level is positive. Increment gdb-control-level
11241 whenever the command matches gdb-control-commands-regexp, and
11242 decrement it each time the command is "end". (Bug#11279)
11243
11244 2012-04-27 Martin Rudalics <rudalics@gmx.at>
11245
11246 * window.el (adjust-window-trailing-edge, enlarge-window)
11247 (shrink-window, window-resize):
11248 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11249 windows (Bug#11276).
11250
11251 2012-04-27 Chong Yidong <cyd@gnu.org>
11252
11253 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
11254 fix "missing prefix" warning. All callers changed.
11255
11256 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11257
11258 * emacs-lisp/assoc.el: Move to obsolete/.
11259
11260 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11261
11262 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
11263
11264 * term/ns-win.el (ns-define-service):
11265 * progmodes/pascal.el (pascal-goto-defun):
11266 * progmodes/js.el (js--read-tab):
11267 * progmodes/etags.el (tags-lazy-completion-table):
11268 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11269 * emacs-lisp/ewoc.el (ewoc--wrap):
11270 * emacs-lisp/assoc.el (aput, adelete, amake):
11271 * doc-view.el (doc-view-convert-current-doc):
11272 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11273
11274 2012-04-26 Chong Yidong <cyd@gnu.org>
11275
11276 * image.el (image-type-from-buffer): Only return supported image
11277 type (Bug#9045).
11278
11279 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11280 value, for symmetry with diff-end-of-hunk.
11281 (diff-split-hunk, diff-find-source-location)
11282 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11283 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11284 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11285 compute the relevant hunk or file properly (Bug#6005).
11286 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11287
11288 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11289
11290 * vc/vc-mtn.el:
11291 * vc/vc-hg.el:
11292 * vc/vc-git.el:
11293 * vc/vc-dir.el:
11294 * vc/vc-cvs.el:
11295 * vc/vc-bzr.el:
11296 * vc/vc-arch.el:
11297 * vc/vc.el: Replace lexical-let by lexical-binding.
11298 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11299 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11300 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11301
11302 2012-04-26 Chong Yidong <cyd@gnu.org>
11303
11304 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11305 (diff-mode-shared-map): Bind it to / and [remap undo].
11306
11307 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11308 (ediff-window-setup-function): Use it as the default, to set up
11309 windows based on whether the current frame is graphical (Bug#2138).
11310 (ediff-choose-window-setup-function-automatically): Make obsolete.
11311
11312 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11313
11314 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11315
11316 * ffap.el: Remove old code for obsolete package.
11317 (ffap-complete-as-file-p): Remove.
11318
11319 Use completion-table-with-quoting for comint and pcomplete.
11320 * comint.el (comint--unquote&requote-argument)
11321 (comint--unquote-argument, comint--requote-argument): New functions.
11322 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11323 (comint-quote-filename): Use regexp-opt-charset.
11324 (comint--common-suffix, comint--common-quoted-suffix)
11325 (comint--table-subvert): Remove.
11326 (comint-unquote-function, comint-requote-function): New vars.
11327 (comint--complete-file-name-data): Use them with
11328 completion-table-with-quoting.
11329 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11330 * pcomplete.el (pcomplete-arg-quote-list)
11331 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11332 (pcomplete-unquote-argument-function): Default to non-nil.
11333 (pcomplete-unquote-argument): Simplify.
11334 (pcomplete--common-quoted-suffix): Remove.
11335 (pcomplete-requote-argument-function): New var.
11336 (pcomplete--common-suffix): New function.
11337 (pcomplete-completions-at-point): Use completion-table-with-quoting
11338 and completion-table-subvert.
11339
11340 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11341 (minibuffer--double-dollars): Preserve properties.
11342 (completion--sifn-requote): New function.
11343 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11344
11345 * minibuffer.el: Add support for completion of quoted/escaped data.
11346 (completion-table-with-quoting, completion-table-subvert): New funs.
11347 (completion--twq-try, completion--twq-all): New functions.
11348 (completion--nth-completion): New function.
11349 (completion-try-completion, completion-all-completions): Use it.
11350
11351 2012-04-25 Leo Liu <sdl.web@gmail.com>
11352
11353 * progmodes/python.el (python-pdbtrack-get-source-buffer):
11354 Use compilation-message if available to find real filename.
11355
11356 2012-04-25 Chong Yidong <cyd@gnu.org>
11357
11358 * vc/diff-mode.el (diff-setup-whitespace): New function.
11359 (diff-mode): Use it.
11360
11361 * vc/diff.el (diff-sentinel):
11362 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11363 Whitespace mode variables based on diff style (Bug#8612).
11364
11365 2012-04-25 Leo Liu <sdl.web@gmail.com>
11366
11367 * progmodes/python.el (python-send-region): Add suffix .py to the
11368 temp file.
11369
11370 * files.el (auto-mode-alist): Use javascript-mode instead.
11371
11372 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
11373
11374 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
11375
11376 * net/soap-client.el (soap-resolve-references-for-sequence-type)
11377 (soap-resolve-references-for-array-type): Hack to prevent self
11378 references, see Bug#9.
11379 (soap-parse-envelope): Report the contents of the 'detail' node
11380 when receiving a fault reply.
11381 (soap-parse-envelope): Report the contents of the entire 'detail' node.
11382
11383 * net/soap-inspect.el (soap-sample-value-for-simple-type)
11384 (soap-inspect-simple-type): New function.
11385
11386 * net/soap-client.el (soap-simple-type): New struct.
11387 (soap-default-xsd-types, soap-default-soapenc-types)
11388 (soap-decode-basic-type, soap-encode-basic-type):
11389 support unsignedInt and double basic types.
11390 (soap-resolve-references-for-simple-type)
11391 (soap-parse-simple-type, soap-encode-simple-type): New function.
11392 (soap-parse-schema): Parse xsd:simpleType declarations.
11393
11394 * net/soap-client.el (soap-default-xsd-types)
11395 (soap-default-soapenc-types): Add integer, byte and anyURI types.
11396 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
11397 the local name of "soapenc:Array".
11398 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
11399 decoding integer, byte and anyURI xsd types.
11400
11401 2012-04-25 Chong Yidong <cyd@gnu.org>
11402
11403 * cus-edit.el (custom-buffer-create-internal): Update header text.
11404
11405 2012-04-25 Eli Zaretskii <eliz@gnu.org>
11406
11407 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
11408 settings on 'system-type', not on 'window-system'. On MS-Windows,
11409 set interactive-mode on in GDB.
11410
11411 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11412
11413 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
11414 (ruby-syntax-propertize-regexp): Remove.
11415 (ruby-syntax-propertize-function): Split regexp into chunks.
11416 Match following code directly.
11417
11418 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
11419
11420 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
11421 (ruby-syntax-propertize-regexp): New function.
11422 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
11423 by a special keyword.
11424
11425 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
11426 (ruby-syntax-general-delimiters-goto-beg)
11427 (ruby-syntax-propertize-general-delimiters): New functions.
11428 (ruby-syntax-propertize-function): Use them to handle GDL.
11429 (ruby-font-lock-keywords): Move old handling of GDL...
11430 (ruby-font-lock-syntactic-keywords): .. to here.
11431 (ruby-calculate-indent): Adjust indentation for GDL.
11432
11433 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
11434
11435 * notifications.el (top): Remove unneeded declarations.
11436 (notifications-specification-version): Change to "1.2".
11437 (notifications-interface, notifications-notify-method)
11438 (notifications-close-notification-method): Fix docstring.
11439 (notifications-get-capabilities-method): New defconst.
11440 (notifications-notify): Add :action-items, :resident and
11441 :transient hints. Change "image_data" to "image-data" and
11442 "image_path" to "image-path".
11443 (notifications-get-capabilities): New defun.
11444
11445 2012-04-24 Leo Liu <sdl.web@gmail.com>
11446
11447 * progmodes/python.el: Move hideshow setup to the end.
11448
11449 2012-04-24 Martin Rudalics <rudalics@gmx.at>
11450
11451 * window.el (handle-select-window): Clear echo area since this is
11452 no more done by read_char (Bug#11304).
11453
11454 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11455
11456 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
11457 and `/ M' to filter-derived-mode.
11458 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
11459 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
11460 (ibuffer-mark-by-mode): Use default rather than initial-input.
11461 (ibuffer-filter-by-derived-mode): Autoload and require-match.
11462
11463 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
11464
11465 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
11466 (ibuffer-filter-by-derived-mode): New filter.
11467 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
11468
11469 2012-04-23 Andreas Politz <politza@fh-trier.de>
11470
11471 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
11472
11473 2012-04-23 Chong Yidong <cyd@gnu.org>
11474
11475 * cus-edit.el (customize-apropos, customize-apropos-options):
11476 Disable matching of non-option variables (Bug#11176).
11477 (customize-option, customize-option-other-window)
11478 (customize-changed-options): Doc fix.
11479 (customize-apropos-options, customize-apropos-faces)
11480 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
11481
11482 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
11483 Fix word list splitting (Bug#11132).
11484 (apropos-symbol, apropos-keybinding, apropos-label)
11485 (apropos-property, apropos-function-button)
11486 (apropos-variable-button, apropos-misc-button): New faces.
11487 (apropos-symbol-face, apropos-keybinding-face)
11488 (apropos-label-face, apropos-property-face, apropos-match-face):
11489 Variables removed (Bug#8396).
11490 (apropos-library-button, apropos-format-plist, apropos-print)
11491 (apropos-print-doc, apropos-describe-plist): Callers changed.
11492
11493 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
11494
11495 * net/xesam.el (xesam-mode-map): Use let-bound map in
11496 initialization. (Bug#11292)
11497
11498 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11499
11500 Preserve ispell session localwords when switching back to
11501 original buffer.
11502
11503 * textmodes/ispell.el (ispell-buffer-session-localwords):
11504 New buffer-local variable to hold buffer session localwords.
11505 (ispell-kill-ispell): Add option 'clear to delete session
11506 localwords.
11507 (ispell-command-loop, ispell-change-dictionary)
11508 (ispell-buffer-local-words): Preserve session localwords when
11509 needed.
11510
11511 * textmodes/flyspell.el (flyspell-process-localwords)
11512 (flyspell-do-correct): Preserve session localwords when needed.
11513
11514 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11515
11516 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
11517 using obsolete `translation-table-for-input'.
11518 (ispell-word, ispell-process-line, ispell-complete-word):
11519 Use plain `insert' instead of removed `ispell-insert-word'.
11520
11521 2012-04-22 Chong Yidong <cyd@gnu.org>
11522
11523 * cus-edit.el (custom-variable-menu)
11524 (custom-variable-reset-saved, custom-face-menu)
11525 (custom-face-reset-saved): If there is no saved value, make the
11526 "reset-saved" operation bring back the default (Bug#9509).
11527 (custom-face-state): Properly detect themed faces.
11528
11529 * faces.el (face-spec-set): Stop supporting deprecated form of
11530 third arg.
11531
11532 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
11533
11534 Move functions from C to Lisp. Make non-blocking method calls
11535 the default. Implement further D-Bus standard interfaces.
11536
11537 * net/dbus.el (dbus-message-internal): Declare function.
11538 Remove unneeded function declarations.
11539 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
11540 (dbus-message-type-method-return, dbus-message-type-error)
11541 (dbus-message-type-signal): Declare variables. Remove local
11542 definitions.
11543 (dbus-interface-dbus, dbus-interface-peer)
11544 (dbus-interface-introspectable, dbus-interface-properties)
11545 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
11546 Adapt docstring.
11547 (dbus-interface-objectmanager): New defconst.
11548 (dbus-call-method, dbus-call-method-asynchronously)
11549 (dbus-send-signal, dbus-method-return-internal)
11550 (dbus-method-error-internal, dbus-register-service)
11551 (dbus-register-signal, dbus-register-method): New defuns, moved
11552 from dbusbind.c
11553 (dbus-call-method-handler, dbus-setenv)
11554 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
11555 New defuns.
11556 (dbus-call-method-non-blocking): Make it an obsolete function.
11557 (dbus-unregister-object, dbus-unregister-service)
11558 (dbus-handle-event, dbus-register-property)
11559 (dbus-property-handler): Obey the new structure of
11560 `bus-registered-objects'.
11561 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
11562 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11563 Use `dbus-call-method'.
11564
11565 2012-04-22 Chong Yidong <cyd@gnu.org>
11566
11567 * cus-edit.el (custom-commands, custom-reset-menu)
11568 (Custom-reset-standard): Tweak labels.
11569 (custom-reset-button-menu): Change default to t.
11570 (custom-buffer-create-internal): For the custom-reset-button-menu
11571 case, put the revert button first.
11572 (custom-group-subtitle): New face.
11573 (custom-group-value-create): Align docstring to a specific column.
11574
11575 * wid-edit.el (widget-documentation-link-add): Don't handle
11576 indentation in this function.
11577 (widget-documentation-string-indent-to): New function.
11578 (widget-documentation-string-value-create): Use it.
11579
11580 * autorevert.el (auto-revert):
11581 * epg-config.el (epg):
11582 * ibuffer.el (ibuffer):
11583 * mpc.el (mpc):
11584 * ses.el (ses):
11585 * eshell/eshell.el (eshell):
11586 * net/ange-ftp.el (ange-ftp):
11587 * progmodes/ebnf2ps.el (postscript):
11588 * progmodes/flymake.el (flymake):
11589 * progmodes/prolog.el (prolog):
11590 * progmodes/verilog-mode.el (verilog-mode):
11591 * progmodes/which-func.el (which-func):
11592 * term/xterm.el (xterm):
11593 * textmodes/picture.el (picture):
11594 * textmodes/tildify.el (tildify):
11595 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
11596 customization buffers.
11597
11598 2012-04-22 Alan Mackenzie <acm@muc.de>
11599
11600 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11601 Adding a ) can hide the resulting (..) from searches. Fix it.
11602 Bound the backward search to the position of the existing (.
11603
11604 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
11605
11606 * progmodes/verilog-mode.el (verilog-mode): Check whether
11607 which-func-modes is t before adding verilog-mode.
11608 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
11609
11610 2012-04-21 Leo Liu <sdl.web@gmail.com>
11611
11612 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
11613
11614 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
11615
11616 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
11617 filling of the last column of a table (Bug#5635).
11618 (woman-find-next-control-line): New arg, specifying an additional
11619 regexp component for the control line.
11620 (woman2-roff-buffer): Use it.
11621 (woman-break-table): New function.
11622 (woman2-TS): Use it.
11623
11624 2012-04-21 Chong Yidong <cyd@gnu.org>
11625
11626 * woman.el (woman-set-buffer-display-table, woman-decode-region)
11627 (woman-horizontal-escapes, woman-negative-vertical-space)
11628 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
11629 (WoMan-warn-ignored): Use ?\s instead of ?\ .
11630
11631 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11632
11633 * minibuffer.el (completion-file-name-table): Complete user names.
11634
11635 2012-04-20 Leo Liu <sdl.web@gmail.com>
11636
11637 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
11638 and pcase-let*.
11639
11640 2012-04-20 Chong Yidong <cyd@gnu.org>
11641
11642 * server.el (server-execute): Respect initial-buffer-choice if it
11643 is a string and there are no files to open (Bug#2825).
11644 (server-create-window-system-frame, server-create-tty-frame):
11645 Don't switch buffers here.
11646 (server-process-filter): Only try to open a window system frame if
11647 compiled with graphical support (Bug#8314).
11648
11649 2012-04-20 Dan Nicolaescu <dann@gnu.org>
11650
11651 * battery.el (battery-echo-area-format): Display remaining time
11652 for sysfs backend too (Bug#11269).
11653 (battery-linux-sysfs): Fix conditional for the charge.
11654
11655 2012-04-20 Chong Yidong <cyd@gnu.org>
11656
11657 * progmodes/gdb-mi.el (gdb): Revert previous change.
11658 (gdb-inferior-io--init-proc): New function.
11659 (gdb-init-1): Use it.
11660 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
11661 responsible for allocating a new pty and hooking it to gdb when
11662 the old pty gets an EIO due to process exit.
11663 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
11664 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
11665 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
11666
11667 2012-04-20 Eli Zaretskii <eliz@gnu.org>
11668
11669 * window.el (window-min-size, window-sizable, window-min-delta)
11670 (window-max-delta, window--resizable, window-resizable)
11671 (window-total-size, window-full-height-p, window-full-width-p)
11672 (window-in-direction, window--resize-mini-window, window-resize)
11673 (window--resize-child-windows-normal)
11674 (window--resize-child-windows, window--resize-siblings)
11675 (window--resize-this-window, adjust-window-trailing-edge)
11676 (enlarge-window, shrink-window): Doc fixes.
11677
11678 2012-04-20 Chong Yidong <cyd@gnu.org>
11679
11680 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
11681 New function to call delete-process on the gdb-inferior buffer's pty.
11682 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
11683 pty process (Bug#11273).
11684 (gdb-update): New arg to suppress talking to the gdb process.
11685 (gdb-done-or-error): Use it.
11686 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
11687 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
11688 sentinel not being called.
11689
11690 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
11691
11692 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
11693
11694 2012-04-20 Glenn Morris <rgm@gnu.org>
11695
11696 * net/network-stream.el (open-network-stream): Doc fix.
11697
11698 2012-04-20 Chong Yidong <cyd@gnu.org>
11699
11700 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
11701
11702 2012-04-20 Alan Mackenzie <acm@muc.de>
11703
11704 Ensure searching for keywords is case sensitive.
11705
11706 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
11707 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
11708 (c-defun-name, c-mark-function, c-cpp-define-name)
11709 (c-comment-indent, c-scan-conditionals, c-indent-defun)
11710 (c-context-line-break): Bind case-fold-search to nil.
11711
11712 * progmodes/cc-mode.el (c-font-lock-fontify-region):
11713 Bind case-fold-search to nil.
11714
11715 2012-04-20 Chong Yidong <cyd@gnu.org>
11716
11717 * mail/sendmail.el (mail-bury): Call return action with the right
11718 Rmail buffer (Bug#11242).
11719
11720 * server.el (server-process-filter): Handle corner case where both
11721 tty and nowait options are present (Bug#11102).
11722
11723 2012-04-20 Eli Zaretskii <eliz@gnu.org>
11724
11725 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
11726 (top level): Put into the executable the ident-style '$Id:' tag on
11727 windows-nt as well.
11728
11729 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11730
11731 * electric.el (electric-indent-post-self-insert-function): Check that
11732 electric-indent-mode is enabled in current buffer.
11733
11734 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
11735
11736 * imenu.el (imenu-progress-message): Restore; it is "used" in
11737 erc/erc-imenu.el and net/snmp-mode.el.
11738
11739 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
11740
11741 * avoid.el (mouse-avoidance-mode): Mark unused arg.
11742 (mouse-avoidance-nudge-mouse): Remove unused binding.
11743
11744 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
11745
11746 * descr-text.el (describe-char):
11747 * progmodes/python.el (python-describe-symbol):
11748 Don't call `toggle-read-only', set `buffer-read-only'.
11749
11750 * imenu.el (imenu-default-goto-function): Mark unused args.
11751 (imenu-progress-message): Remove obsolete macro; all callers changed.
11752
11753 * subr.el (keymap-canonicalize): Remove unused binding.
11754 (read-passwd): Mark unused arg.
11755
11756 * tutorial.el (tutorial--display-changes): Remove unused binding.
11757 (tutorial--save-tutorial-to): Remove unused variable.
11758
11759 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
11760 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
11761 (package-generate-autoloads, package-menu--generate)
11762 (package-menu--find-upgrades): Remove unused bindings.
11763
11764 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
11765 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
11766 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
11767 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
11768 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
11769 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
11770 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
11771 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
11772 (cua-delete-char-rectangle): Mark unused args.
11773 (cua-align-rectangle): Remove unused binding.
11774
11775 * mail/rmail.el (compilation--message->loc)
11776 (epa--find-coding-system-for-mime-charset): Declare.
11777
11778 * net/dbus.el (dbus-register-service): Declare.
11779 (dbus-name-owner-changed-handler): Remove unused binding.
11780
11781 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
11782 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
11783 (nxml-scan-backward-within): Mark unused arg.
11784 (nxml-dynamic-markup-word): Remove unused binding.
11785
11786 * mouse.el (mouse-menu-major-mode-map):
11787 * emacs-lisp/authors.el (authors-scan-change-log)
11788 (authors-add-to-author-list):
11789 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
11790 * emacs-lisp/smie.el (smie-auto-fill):
11791 * mail/sendmail.el (mail-bury):
11792 * mail/unrmail.el (unrmail):
11793 * net/tls.el (open-tls-stream):
11794 * textmodes/picture.el (picture-mouse-set-point):
11795 Remove unused bindings.
11796
11797 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
11798
11799 * net/tramp.el (tramp-action-password): Let-bind
11800 `enable-recursive-minibuffers' to t.
11801
11802 2012-04-18 Sam Steingold <sds@gnu.org>
11803
11804 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
11805 instead of 'string to accommodate values like [f11].
11806 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
11807 * progmodes/gdb-mi.el: Likewise.
11808
11809 2012-04-18 Leo Liu <sdl.web@gmail.com>
11810
11811 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
11812 current buffer.
11813 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
11814 LOCAL is nil.
11815
11816 2012-04-18 Chong Yidong <cyd@gnu.org>
11817
11818 * simple.el (line-move): Use forward-line if in batch mode
11819 (Bug#11053).
11820
11821 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
11822
11823 * files.el (after-find-file): Do not try to add a final newline if
11824 the buffer is read-only (Bug#11156).
11825
11826 2012-04-17 Richard Stallman <rms@gnu.org>
11827
11828 * mail/rmail.el (rmail-start-mail):
11829 Pass (rmail-mail-return...) for the return-action.
11830 Pass (rmail-yank-current-message...) for the yank-action.
11831 (rmail-yank-current-message): New function.
11832 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
11833 (rmail-reply): Likewise.
11834 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
11835
11836 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
11837 buffer, not the last. Reject temp buffers. Use the rmail-mode
11838 buffer, not newbuf.
11839
11840 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
11841
11842 * server.el (server-ensure-safe-dir): Simplify.
11843
11844 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11845
11846 * emacs-lisp/smie.el: Provide smarter auto-filling.
11847 (smie-auto-fill): New function.
11848 (smie-setup): Use it.
11849
11850 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
11851
11852 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
11853
11854 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
11855 (comment-indent): Use it.
11856
11857 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
11858
11859 * ses.el: The overall change is to add cell renaming, that is
11860 setting fancy names for cell symbols other than name matching
11861 "\\`[A-Z]+[0-9]+\\'" regexp .
11862 (ses-localvars): Add ses--renamed-cell-symb-list.
11863 (ses-create-cell-variable): New defun.
11864 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
11865 (ses-relocate-formula): Relocate formulas only for cells the
11866 symbols of which are not renamed, i.e. symbols whose names do not
11867 match regexp "\\`[A-Z]+[0-9]+\\'".
11868 (ses-relocate-all): Relocate values only for cells the symbols of
11869 which are not renamed.
11870 (ses-load): Create cells variables as the (ses-cell ...) are read,
11871 in order to check row col consistency with cell symbol name only
11872 for cells that are not renamed.
11873 (ses-replace-name-in-formula): New defun.
11874 (ses-rename-cell): New defun.
11875
11876 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
11877
11878 * progmodes/perl-mode.el (perl-indent-parens-as-block):
11879 New option (bug#11118).
11880 (perl-calculate-indent): Respect it.
11881
11882 2012-04-17 Glenn Morris <rgm@gnu.org>
11883
11884 * dired-aux.el (dired-mark-read-string): Doc fix.
11885
11886 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
11887
11888 * dired-aux.el (dired-mark-read-string): Offer optional completion.
11889 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
11890
11891 2012-04-17 Glenn Morris <rgm@gnu.org>
11892
11893 * mouse.el (mouse-drag-track):
11894 * speedbar.el (speedbar-frame-mode):
11895 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
11896
11897 2012-04-16 Leo Liu <sdl.web@gmail.com>
11898
11899 * progmodes/python.el: Trivial cleanup.
11900
11901 2012-04-16 Glenn Morris <rgm@gnu.org>
11902
11903 * vc/vc.el (vc-string-prefix-p):
11904 * vc/pcvs-util.el (cvs-string-prefix-p):
11905 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
11906 * mpc.el (mpc-string-prefix-p):
11907 Make all of these into obsolete aliases for string-prefix-p.
11908 Update callers.
11909 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
11910
11911 * textmodes/two-column.el: Move custom options to the start.
11912 (frame-width): Remove compat definition.
11913 (2C-associate-buffer, 2C-dissociate):
11914 Use with-current-buffer rather than save-excursion.
11915 (2C-dissociate): Force a mode-line update.
11916 (2C-autoscroll): Use ignore-errors.
11917
11918 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
11919 Autoload trivia.
11920
11921 * emacs-lisp/cl-extra.el (*random-state*):
11922 Remove unnecessary declaration.
11923
11924 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
11925
11926 * play/cookie1.el (cookie-snarf):
11927 Give an explicit error if input file cannot be read.
11928
11929 * play/yow.el (yow-file): Use expand-file-name rather than concat.
11930
11931 * progmodes/perl-mode.el (c-macro-expand):
11932 Remove unnecessary autoload (it is in loaddefs.el).
11933
11934 * textmodes/picture.el (picture-desired-column)
11935 (picture-update-desired-column): Convert comments to doc-strings.
11936 (picture-substitute): Remove function.
11937 (picture-mode-map): Initialize in the defvar.
11938
11939 * woman.el: Remove eval-after-load for tar-mode.
11940 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
11941 (woman-tar-extract-file): Autoload it.
11942
11943 * frame.el (automatic-hscrolling): Make this alias obsolete.
11944
11945 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11946
11947 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
11948 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
11949 (ispell-dictionary-base-alist): Revert to original XEmacs
11950 friendly version for default. [:alpha:] will be added in
11951 `ispell-set-spellchecker-params' if needed.
11952
11953 2012-04-16 Chong Yidong <cyd@gnu.org>
11954
11955 * image.el (imagemagick--file-regexp): New variable.
11956 (imagemagick-register-types): Use it.
11957 (imagemagick-types-inhibit): Add :set function. Allow new value
11958 of t to inhibit all types.
11959
11960 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
11961 so we can preload it.
11962
11963 * loadup.el (fboundp): Preload regexp-opt, needed by
11964 imagemagick-register-types.
11965
11966 2012-04-15 Chong Yidong <cyd@gnu.org>
11967
11968 * frame.el (scrolling): Remove nearly unused customization group.
11969
11970 * scroll-all.el (scroll-all-mode): Move to windows group.
11971
11972 2012-04-15 Chong Yidong <cyd@gnu.org>
11973
11974 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
11975
11976 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11977
11978 Avoid the use of ((lambda ...) ...) in lexical-binding code.
11979 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
11980
11981 2012-04-15 Glenn Morris <rgm@gnu.org>
11982
11983 * simple.el (process-file-side-effects): Doc fix.
11984
11985 2012-04-15 Glenn Morris <rgm@gnu.org>
11986
11987 * international/mule-cmds.el (set-language-environment): Doc fix.
11988
11989 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
11990
11991 * server.el (server-auth-key, server-generate-key): Doc fixes.
11992 (server-get-auth-key): Doc fix. Use `string-match-p'.
11993 (server-start): Reflow docstring.
11994
11995 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
11996
11997 * server.el (server-generate-key): `called-interactively-p'
11998 requires a parameter.
11999
12000 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
12001
12002 * server.el (server-auth-key): New variable.
12003 (server-generate-key, server-get-auth-key): New function.
12004 (server-start): Use the new variable and functions to allow
12005 setting a permanent server key (bug#9423).
12006
12007 2012-04-14 Leo Liu <sdl.web@gmail.com>
12008
12009 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12010
12011 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
12012
12013 Spelling fixes.
12014 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12015 Emacs uses American spelling.
12016
12017 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12018
12019 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12020 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
12021 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12022 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
12023
12024 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12025
12026 * progmodes/which-func.el (which-func-modes): Change default.
12027
12028 2012-04-14 Kim F. Storm <storm@cua.dk>
12029
12030 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12031 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12032
12033 2012-04-14 Chong Yidong <cyd@gnu.org>
12034
12035 * custom.el (custom-theme-set-variables): Doc fix.
12036
12037 2012-04-14 Glenn Morris <rgm@gnu.org>
12038
12039 * international/mule.el (set-auto-coding-for-load): Doc fix.
12040
12041 2012-04-14 Alan Mackenzie <acm@muc.de>
12042
12043 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12044 imenu work again for Objective C Mode. Correct the *-index values,
12045 these having been disturbed by a previous change in 2011-08.
12046
12047 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12048 Correct two search limits.
12049
12050 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12051
12052 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12053
12054 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
12055
12056 * international/characters.el: Fix sorting.
12057
12058 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12059
12060 * international/characters.el: Add more missing Latin case pairs.
12061
12062 2012-04-14 Glenn Morris <rgm@gnu.org>
12063
12064 * files.el (dir-locals-set-class-variables): Doc fix.
12065
12066 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12067
12068 * international/characters.el: Add set-case-syntax-pair call for
12069 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12070 counterpart. (Bug#11209)
12071
12072 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12073
12074 2012-04-14 Glenn Morris <rgm@gnu.org>
12075
12076 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12077
12078 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12079
12080 * textmodes/ispell.el (ispell-dictionary-base-alist):
12081 Add data for Hebrew.
12082
12083 2012-04-14 Chong Yidong <cyd@gnu.org>
12084
12085 * net/rcirc.el (rcirc-cmd-quit):
12086 Revert 2012-03-18 change (Bug#11192).
12087
12088 2012-04-14 Glenn Morris <rgm@gnu.org>
12089
12090 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12091
12092 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12093
12094 * minibuffer.el (completion-in-region-mode-map):
12095 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
12096
12097 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12098
12099 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12100
12101 2012-04-13 Masatake YAMATO <yamato@redhat.com>
12102
12103 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12104 to allow `C-M-f' and `C-M-b' to move to the nearest path
12105 separator (bug#9511).
12106
12107 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12108
12109 * avoid.el: Require cl when compiling. And also move the
12110 `provide' to the end.
12111
12112 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12113
12114 * avoid.el (mouse-avoidance-banish-position): New variable.
12115 (mouse-avoidance-banish-destination): Use it (bug#10165).
12116
12117 2012-04-13 Leo Liu <sdl.web@gmail.com>
12118
12119 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12120
12121 2012-04-13 Ken Brown <kbrown@cornell.edu>
12122
12123 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
12124 this is no longer needed now that cygstart understands file:// URLs.
12125 (browse-url-filename-alist): For the same reason, don't modify
12126 file:// URLs on Cygwin.
12127
12128 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12129
12130 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12131 the region on shift if the binding is already shifted (bug#11221).
12132
12133 2012-04-12 Glenn Morris <rgm@gnu.org>
12134
12135 * mail/mailpost.el: Move to obsolete/.
12136
12137 2012-04-12 Drew Adams <drew.adams@oracle.com>
12138
12139 * imenu.el (imenu--generic-function): Ignore invisible definitions
12140 (bug#10123).
12141
12142 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
12143
12144 * hexl.el (hexl-bits): New variable.
12145 (hexl-options): Mention the variable in the doc string.
12146 (hexl-rulerise, hexl-line-displen): New functions.
12147 (hexl-mode): Mention the new variable.
12148 (hexl-mode, hexl-current-address, hexl-current-address):
12149 Use the displen.
12150 (hexl-ascii-start-column): New function.
12151 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12152 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
12153
12154 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12155
12156 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
12157 '("-i" ENCODING), in 2 separate command-line arguments, to specify
12158 the encoding, as expected by hunspell.
12159
12160 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12161
12162 * battery.el (battery--linux-sysfs-regexp): New const.
12163 (battery-status-function): Use it. Remove yeeloong special case.
12164 (battery-yeeloong-sysfs): Remove.
12165 (battery-echo-area-format): Remove yeeloong special case.
12166
12167 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12168
12169 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12170 Reported by Noah Friedman.
12171
12172 * subr.el (read-passwd): Use read-string.
12173
12174 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12175
12176 * vcursor.el (vcursor-move): Increase the priority of the overlay
12177 (bug#9663).
12178
12179 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12180
12181 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12182 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12183
12184 2012-04-11 William Stevenson <yhvh2000@gmail.com>
12185
12186 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12187 define-minor-mode (bug#10760).
12188
12189 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12190
12191 * progmodes/grep.el (rgrep): Tweak the find command line so
12192 that directories matching `grep-find-ignored-files' won't be
12193 pruned (bug#10351).
12194
12195 2012-04-11 Chong Yidong <cyd@gnu.org>
12196
12197 * startup.el (command-line): Remove support for long-obsolete
12198 variable font-lock-face-attributes.
12199
12200 2012-04-11 Glenn Morris <rgm@gnu.org>
12201
12202 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12203
12204 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12205
12206 * window.el (window--state-get-1): Obey window-point-insertion-type.
12207
12208 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12209
12210 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12211 to previous function when point is on the first character of a
12212 function. Take care of that in `narrow-to-defun' (bug#6157).
12213
12214 2012-04-11 Glenn Morris <rgm@gnu.org>
12215
12216 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12217 not just file-errors.
12218
12219 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12220 (vc-bzr-sha1): Use internal sha1.
12221
12222 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12223
12224 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12225
12226 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12227
12228 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12229 that start in the middle of the line (bug#10496).
12230
12231 2012-04-10 Dan Nicolaescu <dann@gnu.org>
12232
12233 * battery.el (battery-linux-proc-acpi): Only one battery is
12234 discharged at a time, but that seems to confuse battery.el when
12235 computing `rate-type' for the battery not being discharged
12236 (bug#10332).
12237
12238 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12239
12240 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12241
12242 * international/quail.el: Use dolist and simplify.
12243 (quail-define-package, quail-update-keyboard-layout)
12244 (quail-define-rules): Use dolist.
12245 (quail-insert-kbd-layout, quail-get-translation): CSE.
12246
12247 * tmm.el: Use dolist, remove left over hook.
12248 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12249 Use dolist.
12250 (calendar-load-hook): Don't mess with it.
12251
12252 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12253 Use derived-mode-p. Run the diff asynchronously.
12254
12255 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12256
12257 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12258
12259 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
12260
12261 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12262 (list-dynamic-libraries--loaded): New function.
12263 (list-dynamic-libraries--refresh): Use it.
12264
12265 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
12266
12267 * progmodes/python.el (python-fill-paragraph):
12268 Make python-fill-region in a multiline string work when font-lock is
12269 disabled (bug#7018).
12270
12271 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
12272
12273 * language/european.el (cp775): Add oem/legacy (en)coding on
12274 DOS/MS Windows for the Baltic languages. There are still plenty
12275 of texts written in this encoding/codepage (bug#6519).
12276
12277 2012-04-10 Glenn Morris <rgm@gnu.org>
12278
12279 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12280 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12281
12282 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12283
12284 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
12285 next-line "n" and previous-line "p" in order to make recentf more
12286 consistent with ibuffer, dired or org-mode (bug#9387).
12287
12288 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12289
12290 * image.el (put-image): Return the overlay created instead of the
12291 optional input string (bug#7834). Note that this may break code
12292 that is (for some reason or other) depending on `put-image'
12293 returning the string.
12294
12295 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12296
12297 * simple.el (zap-to-char): Allow zapping using input methods
12298 (bug#1580).
12299
12300 * textmodes/fill.el (fill-region): Leave point and mark where they
12301 were before filling (bug#5399).
12302
12303 2012-04-09 Glenn Morris <rgm@gnu.org>
12304
12305 * version.el (emacs-bzr-get-version):
12306 Handle lightweight checkouts of local branches.
12307
12308 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12309
12310 * international/characters.el: Recover lost case pairs. (Bug#11209)
12311
12312 2012-04-09 Chong Yidong <cyd@gnu.org>
12313
12314 * custom.el (custom-variable-p): Return nil for non-symbol
12315 arguments instead of signaling an error.
12316 (user-variable-p): Obsolete alias for custom-variable-p.
12317
12318 * apropos.el (apropos-variable):
12319 * files-x.el (read-file-local-variable):
12320 * simple.el (set-variable):
12321 * woman.el (woman-mini-help):
12322 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12323
12324 2012-04-09 Glenn Morris <rgm@gnu.org>
12325
12326 * startup.el (normal-top-level): Don't look for leim-list.el
12327 in places where it will not be found. (Bug#910)
12328
12329 * international/mule-cmds.el (set-default-coding-systems):
12330 * files.el (normal-mode):
12331 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12332 This function was removed with ucs-tables.el in 2008.
12333
12334 2012-04-08 Eli Zaretskii <eliz@gnu.org>
12335
12336 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12337 ispell-encoding8-command to "-i", without a trailing space.
12338 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12339 separate command-line arguments, to specify the encoding, since
12340 that's how hunspell expects it.
12341
12342 2012-04-08 Glenn Morris <rgm@gnu.org>
12343
12344 * loadup.el: Load bindings before cus-start.
12345 This reduces somewhat the number of "rogue" settings in emacs -Q.
12346
12347 2012-04-07 Glenn Morris <rgm@gnu.org>
12348
12349 * version.el (emacs-bzr-get-version): New function.
12350 (emacs-bzr-version): New variable.
12351 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
12352 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12353
12354 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12355
12356 * international/uni-bidi.el, international/uni-category.el:
12357 * international/uni-combining.el, international/uni-decimal.el:
12358 * international/uni-decomposition.el, international/uni-digit.el:
12359 * international/uni-lowercase.el, international/uni-mirrored.el:
12360 * international/uni-name.el, international/uni-numeric.el:
12361 * international/uni-titlecase.el, international/uni-uppercase.el:
12362 Update for Unicode 6.1.
12363
12364 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12365
12366 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12367
12368 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12369
12370 * window.el (shrink-window): Mention the `window-min-height'
12371 variable in the doc string.
12372
12373 2012-04-05 Bastien Guerry <bzg@altern.org>
12374
12375 * color.el (color-lighten-name): Fix typo.
12376
12377 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12378
12379 * server.el (server--on-display-p): New function.
12380 (server--on-display-p): Use it.
12381
12382 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
12383
12384 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12385 (bug#11145).
12386
12387 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12388
12389 * comint.el (comint--common-quoted-suffix): Check string boundary
12390 before comparing (bug#11158).
12391 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
12392
12393 2012-04-04 Chong Yidong <cyd@gnu.org>
12394
12395 * minibuffer.el (completion-extra-properties): Doc fix.
12396
12397 * subr.el (delayed-warnings-hook): Doc fix.
12398
12399 2012-04-04 Daiki Ueno <ueno@unixuser.org>
12400
12401 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
12402 selection (Bug#11159).
12403 (epa-insert-keys): Inform that the default public key will be
12404 exported if no key is selected.
12405
12406 2012-04-04 Richard Stallman <rms@gnu.org>
12407
12408 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
12409
12410 2012-04-03 Chong Yidong <cyd@gnu.org>
12411
12412 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
12413 mail-insert-file, not its obsolete alias mail-attach-file.
12414
12415 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
12416
12417 * notifications.el (notifications-notify): Fix docstring.
12418
12419 2012-04-02 Glenn Morris <rgm@gnu.org>
12420
12421 * emacs-lisp/authors.el (authors-aliases): Another addition.
12422
12423 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
12424
12425 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
12426 `tramp-compat-call-process' instead of `tramp-local-call-process'.
12427 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
12428
12429 2012-04-01 Chong Yidong <cyd@gnu.org>
12430
12431 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
12432 Handle root directory properly.
12433 (copy-directory): Caller changed.
12434
12435 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12436 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
12437
12438 2012-03-31 Glenn Morris <rgm@gnu.org>
12439
12440 * term/xterm.el (xterm-extra-capabilities): Doc fix.
12441
12442 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
12443
12444 * calendar/calendar.el (calendar-window-list)
12445 (calendar-hide-window): Restore. (Bug#11140)
12446 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
12447
12448 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
12449
12450 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12451
12452 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12453 Check if file is a symlink (Bug#10489).
12454
12455 * files.el (copy-directory): Likewise.
12456
12457 2012-03-30 Chong Yidong <cyd@gnu.org>
12458
12459 * image.el (imagemagick-types-inhibit)
12460 (imagemagick-register-types): Doc fix.
12461
12462 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12463
12464 * textmodes/ispell.el (ispell-get-extended-character-mode):
12465 Disable extended-char-mode for hunspell. hunspell does not support it
12466 and treats ~word as ordinary words in pipe mode.
12467
12468 2012-03-30 Glenn Morris <rgm@gnu.org>
12469
12470 * tutorial.el (help-with-tutorial): Ensure local variables don't
12471 happen to make the buffer read-only. (Bug#11127)
12472
12473 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12474
12475 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
12476 (perl-calculate-indent): Return `noindent' in strings.
12477
12478 2012-03-28 Sam Steingold <sds@gnu.org>
12479
12480 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
12481 instead of the broken adhockery which does not prevent calendar
12482 buffers from being displayed at random after exit.
12483 (calendar-window-list, calendar-hide-window): Remove the broken
12484 adhockery.
12485
12486 2012-03-28 Glenn Morris <rgm@gnu.org>
12487
12488 * replace.el (query-replace-map): Doc fix.
12489
12490 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
12491
12492 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
12493 contents. (Bug#11109)
12494
12495 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12496
12497 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
12498 (bug#11077).
12499 (avl-tree--check, avl-tree--check-node): New funs.
12500
12501 2012-03-27 Martin Rudalics <rudalics@gmx.at>
12502
12503 * window.el (switch-to-visible-buffer): New option.
12504 (switch-to-prev-buffer, switch-to-next-buffer):
12505 Observe switch-to-visible-buffer. Make sure that checking for a window
12506 showing a buffer already is done on the same frame.
12507
12508 2012-03-27 Glenn Morris <rgm@gnu.org>
12509
12510 * startup.el (mail-host-address): Doc fix.
12511
12512 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12513
12514 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
12515 than 197 variables.
12516
12517 2012-03-26 Ami Fischman <ami@fischman.org>
12518
12519 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
12520
12521 2012-03-26 Glenn Morris <rgm@gnu.org>
12522
12523 * files.el (save-buffers-kill-emacs): Doc fix.
12524
12525 * startup.el (normal-top-level, command-line, command-line-1):
12526 Give them doc strings.
12527
12528 2012-03-25 Eli Zaretskii <eliz@gnu.org>
12529
12530 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
12531 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
12532
12533 2012-03-25 Chong Yidong <cyd@gnu.org>
12534
12535 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
12536 theme if it was previously enabled before (Bug#11031).
12537
12538 * cus-theme.el (custom-theme-write-faces): Retrieve current face
12539 spec with custom-face-get-current-spec if its :shown-value is not
12540 determined yet (Bug#9337).
12541 (customize-create-theme, custom-theme-revert): Doc fixes.
12542
12543 * button.el (button-at): Minor addition to docstring.
12544
12545 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
12546
12547 * vc/vc.el (vc-merge): Fix a prompt.
12548
12549 2012-03-24 Chong Yidong <cyd@gnu.org>
12550
12551 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
12552 point (Bug#9623).
12553
12554 * button.el (button-at): Minor addition to docstring.
12555
12556 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12557
12558 * newcomment.el (comment-choose-indent): No space after BOL.
12559
12560 2012-03-22 Sam Steingold <sds@gnu.org>
12561
12562 * window.el (switch-to-prev-buffer): Revert last patch because the
12563 bug turned out to be an advertised feature (Elisp manual 28.14).
12564
12565 2012-03-22 Glenn Morris <rgm@gnu.org>
12566
12567 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
12568 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
12569
12570 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12571
12572 * net/network-stream.el (network-stream-open-starttls): Make error
12573 message under Windows be less misleading.
12574
12575 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
12576
12577 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
12578 understands (bug#9942).
12579
12580 2012-03-22 Chong Yidong <cyd@gnu.org>
12581
12582 * simple.el (end-of-visible-line): Handle return value of
12583 next-single-property-change properly (Bug#9371).
12584
12585 2012-03-22 Kenichi Handa <handa@m17n.org>
12586
12587 * international/quail.el (quail-insert-kbd-layout): Fix previous
12588 change. To avoid unwanted bidi reordering, use
12589 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
12590
12591 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
12592
12593 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
12594 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
12595 (ruby-beginning-of-indent): Be more careful with the difference
12596 between word-boundary and symbol boundary.
12597 (ruby-mode-syntax-table): Make : a symbol constituent.
12598
12599 2012-03-21 Andreas Politz <politza@fh-trier.de>
12600
12601 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
12602
12603 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12604
12605 * progmodes/etags.el (tags-completion-at-point-function):
12606 Improve last fix.
12607
12608 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
12609
12610 2012-03-21 Sam Steingold <sds@gnu.org>
12611
12612 * progmodes/etags.el (tags-completion-at-point-function):
12613 Avoid the error when point is inside the pattern.
12614
12615 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
12616
12617 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
12618 line (Bug#10855).
12619
12620 2012-03-21 Drew Adams <drew.adams@oracle.com>
12621
12622 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
12623
12624 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
12625
12626 * ido.el (ido-set-current-directory, ido-read-internal)
12627 (ido-choose-completion-string, ido-completion-help): Handle nil
12628 value of ido-completion-buffer (Bug#11008).
12629
12630 2012-03-21 Sam Steingold <sds@gnu.org>
12631
12632 * window.el (switch-to-prev-buffer): Do not switch to a visible
12633 window previous buffer, just like with the frame previous buffers.
12634
12635 2012-03-21 Chong Yidong <cyd@gnu.org>
12636
12637 * faces.el (make-face, make-empty-face, copy-face):
12638 * face-remap.el (face-remap-add-relative, face-remap-set-base):
12639 Doc fixes.
12640
12641 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12642
12643 * wid-edit.el (widget-complete-field): Remove (bug#11051).
12644 (widget-complete): Remove broken use of it.
12645
12646 2012-03-20 Chong Yidong <cyd@gnu.org>
12647
12648 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12649 Use string-width and truncate-string-width to handle arbitrary
12650 characters.
12651
12652 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
12653
12654 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
12655 to draw rectangles, not squares. (Regression introduced by revno
12656 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
12657
12658 2012-03-18 Chong Yidong <cyd@gnu.org>
12659
12660 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
12661 it is not yet defined (for temacs).
12662
12663 2012-03-18 Leo Liu <sdl.web@gmail.com>
12664
12665 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
12666 prefix.
12667
12668 2012-03-17 Eli Zaretskii <eliz@gnu.org>
12669
12670 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
12671 (ispell-choices-win-default-height, ispell-silently-savep)
12672 (ispell-dictionary-alist, ispell-encoding8-command)
12673 (ispell-check-version, ispell-aspell-find-dictionary)
12674 (ispell-valid-dictionary-list, ispell-words-keyword)
12675 (ispell-get-word, ispell-internal-change-dictionary)
12676 (ispell-region, ispell-skip-region-list)
12677 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
12678 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
12679 (ispell-message-text-end, ispell-message)
12680 (ispell-buffer-local-parsing): Doc fix.
12681
12682 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
12683
12684 * htmlfontify.el: Add support for code block fontification for ODT
12685 export (Bug #9914).
12686 (hfy-optimisations): Define new option
12687 `body-text-only'
12688 (hfy-fontify-buffer): Honor above setting.
12689 (hfy-begin-span, hfy-end-span): New routines factored out form
12690 `hfy-fontify-buffer'.
12691 (hfy-begin-span-handler, hfy-end-span-handler): New variables
12692 that permit insertion of custom tags.
12693 (hfy-fontify-buffer): Use above handlers.
12694 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
12695 (hfy-face-to-css): Re-defined to be a variable.
12696 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
12697 over multiple runs. This is made possible by having the caller let
12698 bind a special variable `hfy-user-sheet-assoc'.
12699 (htmlfontify-string): New defun.
12700 (hfy-compile-face-map): Make sure that the last char in the
12701 buffer is correctly fontified.
12702 (hfy-face-resolve-face): Whitespace only change.
12703
12704 2012-03-17 Eli Zaretskii <eliz@gnu.org>
12705
12706 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
12707 message more clear.
12708
12709 2012-03-16 Leo Liu <sdl.web@gmail.com>
12710
12711 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
12712
12713 2012-03-16 Alan Mackenzie <acm@muc.de>
12714
12715 Further optimize the handling of large macros.
12716
12717 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
12718 limit to a call of `c-literal-limits'.
12719 (c-determine-+ve-limit): New function.
12720 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
12721 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
12722 In CASE 5B, restrict a search limit to 500.
12723 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
12724
12725 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
12726 Restrict macro bounds to +-500 from after-change's BEG END.
12727
12728 2012-03-16 Leo Liu <sdl.web@gmail.com>
12729
12730 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
12731
12732 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
12733
12734 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
12735 `special-mode' setting of `buffer-read-only'. (Bug#11010)
12736
12737 2012-03-16 Glenn Morris <rgm@gnu.org>
12738
12739 * view.el (view-buffer, view-buffer-other-window)
12740 (view-buffer-other-frame): Doc fixes re special mode-class.
12741
12742 * subr.el (eval-after-load): If named feature is provided not from
12743 a file, run after-load forms. (Bug#10946)
12744
12745 * calendar/calendar.el (calendar-insert-at-column):
12746 Handle non-unit-width characters a bit better. (Bug#10978)
12747
12748 2012-03-15 Chong Yidong <cyd@gnu.org>
12749
12750 * emacs-lisp/ring.el (ring-extend): New function.
12751 (ring-insert+extend): Extend the ring correctly (Bug#11019).
12752
12753 * comint.el (comint-read-input-ring)
12754 (comint-add-to-input-history): Grow comint-input-ring lazily.
12755
12756 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12757
12758 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
12759 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
12760
12761 * imenu.el: Fix multiple inheritance breakage (bug#9199).
12762 (imenu-add-to-menubar): Don't add a redundant index.
12763 (imenu-update-menubar): Handle a dynamically composed keymap.
12764
12765 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
12766
12767 * mail/sendmail.el (mail-encode-header):
12768 Bind rfc2047-encode-encoded-words to nil.
12769
12770 2012-03-13 Glenn Morris <rgm@gnu.org>
12771
12772 * calendar/calendar.el (calendar-string-spread):
12773 Handle non-unit-width characters a bit better. (Bug#10978)
12774
12775 2012-03-13 Leo Liu <sdl.web@gmail.com>
12776
12777 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
12778 directory and file as argument (Bug#10822).
12779
12780 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12781
12782 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
12783 For dynamically generated code, follow $PC.
12784 (gdb-disassembly-handler-custom): Handle no function name case.
12785
12786 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
12787
12788 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
12789 * emulation/ws-mode.el (ws-query-replace):
12790 * sort.el (sort-regexp-fields):
12791 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
12792
12793 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12794
12795 * dabbrev.el: Fix cycle completion order (bug#10963).
12796 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
12797 (dabbrev-completion): Don't use an obarray; provide
12798 a cycle-sort-function.
12799
12800 2012-03-12 Leo Liu <sdl.web@gmail.com>
12801
12802 * simple.el (kill-new): Use equal-including-properties for comparison.
12803 (kill-do-not-save-duplicates): Doc fix.
12804
12805 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12806
12807 * dabbrev.el: Fix cycle completion (bug#10963).
12808 Use lexical binding and wrap to 80 columns.
12809 (dabbrev-completion): Delay computing the list of completions.
12810
12811 2012-03-12 Kenichi Handa <handa@m17n.org>
12812
12813 * international/quail.el (quail-insert-kbd-layout): Surround each
12814 row by LRO and PDF instead of inserting many LRMs. Pad the left
12815 and right of each non-spacing marks. Insert invisible space
12816 between lower and upper characters to prevent composition.
12817
12818 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12819
12820 * minibuffer.el (minibuffer-complete): Don't get confused when the
12821 function is run twice via different commands (bug#10958).
12822 (complete-with-action): Fix docstring.
12823
12824 2012-03-12 Chong Yidong <cyd@gnu.org>
12825
12826 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
12827 (nxml-completion-at-point-function): New function.
12828 (nxml-mode): Use it.
12829 (nxml-bind-meta-tab-to-complete-flag): Default to t.
12830
12831 * emacs-lisp/package.el (package-unpack, package-unpack-single):
12832 Load generated autoloads file before byte compiling (Bug#10970).
12833 (package--make-autoloads-and-compile): New helper fun.
12834
12835 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
12836
12837 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
12838
12839 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
12840
12841 * autorevert.el (auto-revert-handler): Ensure, that
12842 file-readable-p is applied only for local files or in
12843 auto-revert-tail-mode.
12844
12845 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
12846
12847 * server.el (server-eval-at): Handle non-tcp connections.
12848 Decode result string.
12849
12850 * server.el (server-msg-size): New constant.
12851 (server-reply-print): New function.
12852 (server-eval-and-print): Use it.
12853 (server-eval-at): Use server-quote-arg and server-unquote-arg.
12854 Handle -print-nonl.
12855
12856 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
12857
12858 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
12859 (Bug#10987).
12860
12861 2012-03-11 Chong Yidong <cyd@gnu.org>
12862
12863 * simple.el (goto-line): Doc fix (Bug#9938).
12864
12865 * subr.el (save-window-excursion): Doc fix (Bug#9979).
12866
12867 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
12868 when finished (Bug#10963).
12869
12870 2012-03-11 Martin Rudalics <rudalics@gmx.at>
12871
12872 * window.el (split-window-below): Fix bug in case where
12873 split-window-keep-point is nil (Bug#10971).
12874
12875 2012-03-11 Juri Linkov <juri@jurta.org>
12876
12877 * replace.el (replace-highlight): Set isearch-word to nil
12878 unconditionally. (Bug#10887)
12879
12880 2012-03-10 Eli Zaretskii <eliz@gnu.org>
12881
12882 * net/mairix.el (mairix-replace-invalid-chars): Rename from
12883 mairix-replace-illegal-chars; all callers changed. Don't remove
12884 ^, ~, and = characters: they are meaningful in mairix search specs.
12885 (mairix-widget-create-query): Add usage information about mairix
12886 search forms: negating words, searching for substrings, etc.
12887
12888 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
12889
12890 * international/fontset.el (font-encoding-alist): Add an entry for
12891 ksx1001 (Bug#5667).
12892
12893 2012-03-10 Richard Stallman <rms@gnu.org>
12894
12895 * mail/sendmail.el (mail-encode-header):
12896 Set rfc2047-encode-encoded-words.
12897
12898 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
12899
12900 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
12901 view buffer means not swapped.
12902 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
12903 (rmail-write-region-annotate): Error if real text has disappeared.
12904
12905 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
12906
12907 2012-03-10 Chong Yidong <cyd@gnu.org>
12908
12909 * emulation/cua-rect.el (cua--init-rectangles):
12910 * emulation/cua-base.el (cua--init-keymaps):
12911 Add delete-forward-char to remappings (Bug#9666).
12912
12913 2012-03-10 Martin Rudalics <rudalics@gmx.at>
12914
12915 * speedbar.el (speedbar-unhighlight-one-tag-line):
12916 Avoid unhighlighting due to frame switching (Bug#10275).
12917
12918 2012-03-10 Chong Yidong <cyd@gnu.org>
12919
12920 * minibuffer.el (completion-in-region, completion-help-at-point):
12921 Give the completion field overlay a high priority (Bug#6830).
12922
12923 * dired.el (dired-goto-file): Recognize absolute file name
12924 listings (Bug#7126).
12925 (dired-goto-file-1): New helper function.
12926 (dired-toggle-read-only): Inhibit warnings.
12927
12928 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
12929
12930 * net/dbus.el (dbus-property-handler): Return empty array if
12931 there are no properties.
12932
12933 2012-03-09 Leo Liu <sdl.web@gmail.com>
12934
12935 * savehist.el (savehist-printable): Stricter check for string
12936 value (Bug#10937).
12937
12938 2012-03-09 Eli Zaretskii <eliz@gnu.org>
12939
12940 * mail/smtpmail.el (smtpmail-send-it):
12941 Bind coding-system-for-write to *-unix, so that FCC files are kept in
12942 valid mbox format.
12943
12944 2012-03-09 Glenn Morris <rgm@gnu.org>
12945
12946 * files.el (dir-locals-find-file):
12947 Don't check result is regular, readable.
12948 (dir-locals-read-from-file): Demote errors.
12949
12950 2012-03-08 Eli Zaretskii <eliz@gnu.org>
12951
12952 * international/quail.el (quail-insert-kbd-layout):
12953 Insert invisible LRM characters before each character in a keyboard
12954 layout cell, to prevent their reordering by bidi display engine.
12955 For details, see the discussion in
12956 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
12957
12958 2012-03-08 Alan Mackenzie <acm@muc.de>
12959
12960 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
12961 the starting position; make it extend the marked region when
12962 invoked repeatedly - all under appropriate circumstances.
12963 Fixes bugs #5525, #10906.
12964
12965 2012-03-08 Glenn Morris <rgm@gnu.org>
12966
12967 * files.el (locate-dominating-file, dir-locals-find-file):
12968 Undo 2012-03-06 change.
12969
12970 2012-03-07 Eli Zaretskii <eliz@gnu.org>
12971
12972 * international/quail.el (quail-help):
12973 Force bidi-paragraph-direction be left-to-right. See discussion in
12974 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
12975 for the reason.
12976
12977 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
12978
12979 Avoid superfluous registering of signals. (Bug#10807)
12980
12981 * notifications.el (notifications-on-action-object)
12982 (notifications-on-close-object): New defvars.
12983 (notifications-on-action-signal, notifications-on-closed-signal):
12984 Unregister the signal if not needed any longer.
12985 (notifications-notify): Register `notifications-action-signal' or
12986 `notifications-closed-signal', if :on-action or :on-close has been
12987 passed as argument.
12988
12989 2012-03-07 Chong Yidong <cyd@gnu.org>
12990
12991 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
12992 non-X platforms.
12993
12994 2012-03-06 Glenn Morris <rgm@gnu.org>
12995
12996 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12997 (x-disown-selection-internal, x-get-selection-internal):
12998 Doc fix (add arglist signatures). (Bug#10783)
12999
13000 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13001
13002 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13003 Handle breakpoints with no "type".
13004
13005 2012-03-06 Glenn Morris <rgm@gnu.org>
13006
13007 * files.el (locate-dominating-file): Add optional predicate argument.
13008 (dir-locals-find-file): Make use of above change.
13009
13010 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
13011
13012 * info.el (Info-insert-dir): Also try "dir.gz".
13013
13014 2012-03-06 Glenn Morris <rgm@gnu.org>
13015
13016 * files.el (dir-locals-find-file):
13017 Ignore non-readable or non-regular files. (Bug#10928)
13018
13019 * files.el (locate-dominating-file): Doc fix.
13020
13021 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
13022
13023 * calendar/calendar.el (calendar-set-mode-line):
13024 `getenv' returns a string. (Bug#10951)
13025
13026 2012-03-05 Leo Liu <sdl.web@gmail.com>
13027
13028 * simple.el (backward-delete-char-untabify): Constrain point to
13029 field (Bug#10939).
13030
13031 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13032
13033 2012-03-05 Chong Yidong <cyd@gnu.org>
13034
13035 * simple.el (count-words): If called from Lisp, return the word
13036 count, for symmetry with `count-lines'. Arglist changed.
13037 (count-words--message): Args changed. Consolidate counting code
13038 from count-words and count-words-region.
13039 (count-words-region): Caller changed.
13040 (count-lines-region): Make it an obsolete alias.
13041
13042 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13043
13044 * saveplace.el (save-place-to-alist)
13045 (save-place-ignore-files-regexp): Allow value nil to disable this
13046 feature.
13047
13048 2012-03-04 Chong Yidong <cyd@gnu.org>
13049
13050 * faces.el (face-spec-reset-face): For the default face, reset the
13051 attributes to default values (Bug#10748).
13052
13053 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13054
13055 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13056 previous patch: Check `message-send-mail-function', and not the
13057 default function (bug#10897).
13058
13059 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
13060
13061 * notifications.el (notifications-on-action-signal)
13062 (notifications-on-closed-signal): Check for unique service name of
13063 incoming event. Fix error in removing entry.
13064 (top): Register for signals with wildcard service name.
13065 (notifications-notify): Use daemon unique service name for map entries.
13066
13067 2012-03-04 Chong Yidong <cyd@gnu.org>
13068
13069 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
13070
13071 2012-03-04 Glenn Morris <rgm@gnu.org>
13072
13073 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13074 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13075 (expand-abbrev, define-abbrev-table): Doc fixes.
13076
13077 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13078
13079 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13080 `message-default-send-mail-function' and not `send-mail-function'
13081 when doing the prompting for `sendmail-query-once' before sending
13082 in Message buffers (bug#10897).
13083
13084 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13085 This is inconsistent with all the other stream functions, which leave
13086 the setting up to the higher levels (if so wanted) (bug#10931).
13087
13088 2012-03-02 Alan Mackenzie <acm@muc.de>
13089
13090 Depessimize the handling of very large macros.
13091
13092 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13093 (c-macro-cache-syntactic): New variables to implement a one
13094 element macro cache.
13095 (c-invalidate-macro-cache): New function.
13096 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13097 Adapt to use the new cache.
13098 (c-state-safe-place): Use better the cache of safe positions.
13099 (c-state-semi-nonlit-pos-cache)
13100 (c-state-semi-nonlit-pos-cache-limit):
13101 New variables for...
13102 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13103 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
13104 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13105 Use c-state-semi-safe-place.
13106
13107 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13108 Add c-invalidate-macro-cache to the C, C++, Obj entries.
13109
13110 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
13111
13112 * jka-compr.el (jka-compr-call-process):
13113 Apply `file-accessible-directory-p' only when the default directory is
13114 not remote.
13115
13116 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
13117
13118 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13119 access of FILE2, if FILE1 does not exist.
13120
13121 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13122 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13123
13124 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13125 Add "PAGER=" to `process-environment'.
13126
13127 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13128
13129 * progmodes/sql.el: Bug fix
13130 (sql-get-login-ext): Save login values in globals.
13131 (sql-get-login): Use new version of `sql-get-login-ext'.
13132 (sql-interactive-mode): Set global `sql-connection' to nil.
13133 (sql-connect): Set global values for connection.
13134 (sql-product-interactive): Save global values as buffer local.
13135
13136 2012-02-29 Leo Liu <sdl.web@gmail.com>
13137
13138 * abbrev.el (define-abbrevs): Reset sys to nil.
13139
13140 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13141
13142 * files.el (file-equal-p): Rename from `files-equal-p'.
13143 Return nil when one or both files don't exist.
13144 (file-subdir-of-p): Now only top directory must exists,
13145 return nil if it doesn't.
13146 (copy-directory): No need to test with `file-subdir-of-p' after
13147 creating dir.
13148 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
13149 to `file-equal-p'.
13150
13151 2012-02-28 Glenn Morris <rgm@gnu.org>
13152
13153 * shell.el (shell-mode):
13154 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
13155 * play/landmark.el (landmark-font-lock-face-O):
13156 * play/handwrite.el (handwrite):
13157 * play/gomoku.el (gomoku-O):
13158 * net/browse-url.el (browse-url-browser-display):
13159 * international/mule.el (define-charset):
13160 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
13161 * filesets.el (filesets-find-file-delay):
13162 * eshell/em-xtra.el (eshell-xtra):
13163 * eshell/em-unix.el (eshell-grep):
13164 * emulation/viper.el (viper-mode):
13165 * emacs-lisp/regexp-opt.el (regexp-opt-group):
13166 * emacs-lisp/easymenu.el (easy-menu-define):
13167 * calendar/timeclock.el (timeclock-use-display-time):
13168 * bs.el (bs-mode):
13169 * bookmark.el (bookmark-save-flag):
13170 Doc fix (standardize possessive apostrophe usage).
13171
13172 2012-02-27 Chong Yidong <cyd@gnu.org>
13173
13174 * emulation/viper-cmd.el (viper-intercept-ESC-key):
13175 Fix key-binding lookup for ESC key (Bug#9146).
13176
13177 * font-lock.el (font-lock-specified-p): Rename from
13178 font-lock-spec-present. Callers changed.
13179
13180 2012-02-27 Daniel Hackney <dan@haxney.org>
13181
13182 * emacs-lisp/package.el (package-compute-transaction):
13183 Handle holding a package version to t in package-load-list.
13184
13185 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
13186
13187 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13188 (tramp-get-inode, tramp-get-device): Use cached values.
13189
13190 2012-02-26 Alan Mackenzie <acm@muc.de>
13191
13192 Check there is a font-lock specification before doing initial
13193 fontification.
13194
13195 * font-core.el (font-lock-mode): Move the conditional from
13196 :after-hook to font-lock-initial-fontify.
13197 (font-lock-default-function): Move the check for a specification
13198 to font-lock-spec-present.
13199
13200 * font-lock.el (font-lock-initial-fontify): Call ...
13201 (font-lock-spec-present): New function.
13202
13203 2012-02-26 Jim Blandy <jimb@red-bean.com>
13204
13205 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13206 (gdb-send): Apply it to the operand of the '-interpreter-exec
13207 console' command, so that we can pass arguments with (say) quotes
13208 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13209
13210 2012-02-26 Chong Yidong <cyd@gnu.org>
13211
13212 * help-fns.el (describe-function-1): Clarify description of
13213 remapping (Bug#10844).
13214
13215 * files.el (files-equal-p): Doc fix.
13216 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13217 and quit the loop once a mismatch is found.
13218
13219 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
13220
13221 * bs.el (bs--show-with-configuration): Don't throw an error
13222 if the window cannot be split; otherwise, subsequent calls to
13223 bs-show fail, restoring a stale window config. (Bug#10882)
13224
13225 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13226
13227 * term/ns-win.el (global-map): Bind ns-drag-file to
13228 ns-find-file (Bug#5855, Bug#10050).
13229
13230 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13231
13232 * calendar/parse-time.el (parse-time-string): Allow extractor to
13233 return nil.
13234
13235 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
13236
13237 * net/tramp.el (tramp-file-name-for-operation):
13238 Add `files-equal-p' and `file-subdir-of-p'.
13239
13240 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13241 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13242 Add COPY-CONTENTS argument.
13243
13244 2012-02-25 Chong Yidong <cyd@gnu.org>
13245
13246 Add custom groups for VC backends, for consistency with vc-bzr.
13247
13248 * vc/vc-arch.el (vc-arch):
13249 * vc/vc-cvs.el (vc-cvs):
13250 * vc/vc-git.el (vc-git):
13251 * vc/vc-hg.el (vc-hg):
13252 * vc/vc-mtn.el (vc-mtn):
13253 * vc/vc-rcs.el (vc-rcs):
13254 * vc/vc-sccs.el (vc-sccs):
13255 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13256 All relevant defcustoms reassigned.
13257
13258 2012-02-25 Chong Yidong <cyd@gnu.org>
13259
13260 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13261
13262 * term/x-win.el (x-initialize-window-system): Reduce default for
13263 x-selection-timeout to 5 seconds (Bug#8869).
13264
13265 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13266
13267 * files.el (files-equal-p, file-subdir-of-p): New functions.
13268 (copy-directory): Error when trying to copy a directory on itself.
13269 Add missing copy-contents arg to tramp handler.
13270 * dired-aux.el (dired-copy-file-recursive): Same.
13271 (dired-create-files): Modify destination when source is equal to
13272 dest when copying files.
13273 Return also when dest is a subdir of source. (Bug#10489)
13274
13275 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
13276
13277 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13278 (Bug#10874)
13279
13280 2012-02-23 Alan Mackenzie <acm@muc.de>
13281
13282 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13283 parameter "after-hook:" to allow the expansion to run code after
13284 the execution of the mode hooks.
13285
13286 * font-lock.el (font-lock-initial-fontify): New function extracted
13287 from font-lock-mode-internal.
13288
13289 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
13290 :after-hook.
13291
13292 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13293
13294 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13295 (completion--cache-all-sorted-completions): New function.
13296 (completion-all-sorted-completions): Use it.
13297 (completion--do-completion, minibuffer-force-complete):
13298 Use it to re-instate the flush hook.
13299
13300 * icomplete.el (icomplete-completions): Replace last fix with a better
13301 one (bug#10850).
13302
13303 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13304
13305 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13306 when it might call us back infinitely (bug#10797).
13307
13308 2012-02-23 Glenn Morris <rgm@gnu.org>
13309
13310 * minibuffer.el (completion-category-overrides): Doc fix.
13311
13312 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13313
13314 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13315 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13316
13317 2012-02-23 Glenn Morris <rgm@gnu.org>
13318
13319 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
13320 (authors-obsolete-files-regexps, authors-ignored-files)
13321 (authors-ambiguous-files, authors-renamed-files-alist):
13322 Add more entries.
13323
13324 2012-02-23 Juri Linkov <juri@jurta.org>
13325
13326 * isearch.el (isearch-occur): Sync interactive spec with occur's
13327 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13328
13329 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13330
13331 2012-02-22 Juri Linkov <juri@jurta.org>
13332
13333 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13334 (ucs-insert): Doc fix. Check for hex digits in the string.
13335 Don't display `nil' in the error message. (Bug#10857)
13336
13337 2012-02-22 Alan Mackenzie <acm@muc.de>
13338
13339 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
13340
13341 2012-02-22 Glenn Morris <rgm@gnu.org>
13342
13343 * ffap.el (ffap-c-path):
13344 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13345
13346 2012-02-22 Chong Yidong <cyd@gnu.org>
13347
13348 * custom.el (load-theme): Doc fix.
13349
13350 2012-02-22 Glenn Morris <rgm@gnu.org>
13351
13352 * dired-x.el (dired-guess-shell-alist-default):
13353 Remove escape sequences from nroff output. (Bug#172)
13354
13355 2012-02-21 Glenn Morris <rgm@gnu.org>
13356
13357 * vc/emerge.el (emerge-defvar-local):
13358 Set `permanent-local' property rather than unused `preserved'.
13359
13360 * textmodes/picture.el (picture-delete-char): New alias.
13361 (picture-mode-map): Use it. (Bug#10860)
13362 (picture-mode): Doc fix.
13363
13364 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
13365
13366 * newcomment.el (uncomment-region-default): Remove unused binding.
13367
13368 2012-02-21 Glenn Morris <rgm@gnu.org>
13369
13370 * textmodes/picture.el (picture-motion, picture-motion-reverse)
13371 (picture-self-insert, picture-tab-chars): Doc fix.
13372 (picture-mode-map): Fix C-a, C-e.
13373
13374 2012-02-20 Glenn Morris <rgm@gnu.org>
13375
13376 * emacs-lisp/authors.el (authors-aliases): Add another entry.
13377
13378 2012-02-20 Leo Liu <sdl.web@gmail.com>
13379
13380 * icomplete.el (icomplete-completions): Check FROM arg before
13381 passing to substring (Bug#10850).
13382
13383 2012-02-19 Chong Yidong <cyd@gnu.org>
13384
13385 * comint.el: Require ansi-color.
13386 (comint-output-filter-functions): Add ansi-color-process-output.
13387
13388 * ansi-color.el: Don't set comint-output-filter-functions; it is
13389 now in the initial value defined in comint.el.
13390 (ansi-color-apply-face-function): New variable.
13391 (ansi-color-apply-on-region): Use it.
13392 (ansi-color-apply-overlay-face): New function.
13393
13394 * shell.el (shell): No need to require ansi-color.
13395 (shell-mode): Use ansi-color-apply-face-function to highlight
13396 color escapes using font-lock-face property (Bug#10835).
13397
13398 2012-02-19 Chong Yidong <cyd@gnu.org>
13399
13400 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
13401 mode-line formats (Bug#10839).
13402
13403 2012-02-18 Glenn Morris <rgm@gnu.org>
13404
13405 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
13406
13407 * mail/undigest.el (unforward-rmail-message): Doc fix.
13408
13409 * saveplace.el (save-place-ignore-files-regexp): Add :version.
13410
13411 2012-02-18 Eli Zaretskii <eliz@gnu.org>
13412
13413 * international/characters.el (script-list): Sync with the latest
13414 Unicode Character Database.
13415
13416 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
13417
13418 * international/titdic-cnv.el: Remove duplicate coding tag.
13419 * language/cham.el: Likewise.
13420 * language/tai-viet.el: Likewise.
13421
13422 2012-02-18 Glenn Morris <rgm@gnu.org>
13423
13424 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
13425 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
13426 (calendar-bahai-all-holidays-flag, calendar-other-dates):
13427 * calendar/diary-lib.el (diary-abbreviated-year-flag):
13428 * calendar/holidays.el (holiday-bahai-holidays)
13429 (calendar-holidays, list-holidays):
13430 Use utf-8 Bahá'í in doc-strings, menus, etc.
13431
13432 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
13433
13434 * saveplace.el (save-place-ignore-files-regexp): New variable
13435 allowing for excluding files from saving their location of point.
13436 The default value matches the temporary commit message editing
13437 files from Git, SVN, Bazaar, and Mercurial.
13438 (save-place-to-alist): Use it.
13439
13440 2012-02-17 Lawrence Mitchell <wence@gmx.li>
13441 Stefan Monnier <monnier@iro.umontreal.ca>
13442
13443 * newcomment.el (uncomment-region-default): Don't leave extra space
13444 when an arg is provided (bug#8150).
13445
13446 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
13447
13448 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
13449
13450 2012-02-17 Glenn Morris <rgm@gnu.org>
13451
13452 * net/socks.el: Require network-stream. (Bug#10599)
13453
13454 2012-02-17 Kenichi Handa <handa@m17n.org>
13455
13456 * international/charprop.el:
13457 * international/uni-name.el:
13458 * international/uni-old-name.el:
13459 * international/uni-comment.el: Regenerate.
13460
13461 2012-02-16 Glenn Morris <rgm@gnu.org>
13462
13463 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
13464 Interactively in calendar buffer, give an error if not on a date.
13465
13466 2012-02-15 Glenn Morris <rgm@gnu.org>
13467
13468 * shell.el (shell-delimiter-argument-list):
13469 Revert 2011-02-17 change. (Bug#8027)
13470
13471 2012-02-15 Chong Yidong <cyd@gnu.org>
13472
13473 * minibuffer.el (completion-at-point-functions): Doc fix.
13474
13475 * custom.el (defcustom): Doc fix; note use of defvar.
13476
13477 2012-02-15 Glenn Morris <rgm@gnu.org>
13478
13479 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
13480 Doc fixes.
13481
13482 2012-02-14 Glenn Morris <rgm@gnu.org>
13483
13484 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
13485
13486 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
13487
13488 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
13489 way the ports list is computed.
13490 (smtpmail-query-smtp-server): Prompt the user for a port number if
13491 we can't connect to any of the standard ports (bug#10810).
13492
13493 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
13494
13495 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
13496
13497 2012-02-13 Glenn Morris <rgm@gnu.org>
13498
13499 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
13500
13501 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
13502
13503 * net/gnutls.el (gnutls-trustfiles): New variable.
13504 (gnutls-negotiate): Use it.
13505
13506 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
13507
13508 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
13509 does its stuff if Gnus is running.
13510
13511 2012-02-13 Alan Mackenzie <acm@muc.de>
13512
13513 Fix a loop in c-set-fl-decl-start.
13514
13515 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
13516 c-backward-syntactic-ws actually moves backwards.
13517
13518 2012-02-13 Leo Liu <sdl.web@gmail.com>
13519
13520 * net/rcirc.el (rcirc-markup-attributes): Move point to the
13521 beginning so that all \C-o chars are removed.
13522
13523 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
13524
13525 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
13526
13527 2012-02-12 Alan Mackenzie <acm@muc.de>
13528
13529 Fix infinite loop with long macros.
13530 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
13531
13532 2012-02-12 Chong Yidong <cyd@gnu.org>
13533
13534 * window.el (display-buffer): Doc fix (Bug#10785).
13535
13536 2012-02-12 Glenn Morris <rgm@gnu.org>
13537
13538 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13539 (x-disown-selection-internal, x-get-selection-internal):
13540 Sync docs with the xselect.c versions.
13541
13542 * allout-widgets.el: Add missing license notice.
13543
13544 2012-02-11 Glenn Morris <rgm@gnu.org>
13545
13546 * select.el (x-get-selection-internal, x-own-selection-internal)
13547 (x-disown-selection-internal):
13548 * x-dnd.el (x-get-selection-internal): Update declarations.
13549
13550 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
13551
13552 * window.el (window-sides-slots):
13553 * tool-bar.el (tool-bar-position):
13554 * term/xterm.el (xterm-extra-capabilities):
13555 * ses.el (ses-self-reference-early-detection):
13556 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
13557 (verilog-auto-wire-type)
13558 (verilog-auto-delete-trailing-whitespace)
13559 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
13560 (verilog-auto-tieoff-declaration):
13561 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
13562 (sql-oracle-statement-starters, sql-oracle-scan-on):
13563 * progmodes/prolog.el (prolog-align-comments-flag)
13564 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
13565 (prolog-left-indent-regexp, prolog-paren-indent-p)
13566 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
13567 (prolog-types, prolog-mode-specificators)
13568 (prolog-determinism-specificators, prolog-directives)
13569 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
13570 (prolog-electric-dot-flag)
13571 (prolog-electric-dot-full-predicate-template)
13572 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
13573 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
13574 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
13575 (prolog-program-switches, prolog-prompt-regexp)
13576 (prolog-debug-on-string, prolog-debug-off-string)
13577 (prolog-trace-on-string, prolog-trace-off-string)
13578 (prolog-zip-on-string, prolog-zip-off-string)
13579 (prolog-use-standard-consult-compile-method-flag)
13580 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
13581 (prolog-imenu-max-lines, prolog-info-predicate-index)
13582 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
13583 (prolog-char-quote-workaround):
13584 * progmodes/cc-vars.el (c-defun-tactic):
13585 * net/tramp.el (tramp-encoding-command-interactive)
13586 (tramp-local-end-of-line):
13587 * net/soap-client.el (soap-client):
13588 * net/netrc.el (netrc-file):
13589 * net/gnutls.el (gnutls):
13590 * minibuffer.el (completion-category-overrides)
13591 (completion-cycle-threshold)
13592 (completion-pcm-complete-word-inserts-delimiters):
13593 * man.el (Man-name-local-regexp):
13594 * mail/feedmail.el (feedmail-display-full-frame):
13595 * international/characters.el (glyphless-char-display-control):
13596 * eshell/em-ls.el (eshell-ls-date-format):
13597 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
13598 (lisp-lambda-list-keyword-parameter-indentation)
13599 (lisp-lambda-list-keyword-parameter-alignment):
13600 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
13601 * dired-x.el (dired-omit-verbose):
13602 * cus-theme.el (custom-theme-allow-multiple-selections):
13603 * calc/calc.el (calc-highlight-selections-with-faces)
13604 (calc-lu-field-reference, calc-lu-power-reference)
13605 (calc-note-threshold):
13606 * battery.el (battery-mode-line-limit):
13607 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
13608 (archive-7z-update):
13609 * allout.el (allout-prefixed-keybindings)
13610 (allout-unprefixed-keybindings)
13611 (allout-inhibit-auto-fill-on-headline)
13612 (allout-flattened-numbering-abbreviation):
13613 * allout-widgets.el (allout-widgets-auto-activation)
13614 (allout-widgets-icons-dark-subdir)
13615 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
13616 (allout-widgets-theme-dark-background)
13617 (allout-widgets-theme-light-background)
13618 (allout-widgets-item-image-properties-emacs)
13619 (allout-widgets-item-image-properties-xemacs)
13620 (allout-widgets-run-unit-tests-on-load)
13621 (allout-widgets-time-decoration-activity)
13622 (allout-widgets-hook-error-post-time)
13623 (allout-widgets-track-decoration):
13624 Add missing :version tags to new defcustoms and defgroups.
13625
13626 * progmodes/sql.el (sql-ansi-statement-starters)
13627 (sql-oracle-statement-starters): Add custom type.
13628
13629 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
13630 (prolog-system-version): Give it a type.
13631
13632 2012-02-11 Eli Zaretskii <eliz@gnu.org>
13633
13634 * term/pc-win.el (x-select-text, x-selection-owner-p)
13635 (x-own-selection-internal, x-disown-selection-internal)
13636 (x-get-selection-internal): Sync doc strings and argument lists
13637 with xselect.c, common-win.el and x-win.el. (Bug#10783)
13638
13639 2012-02-11 Leo Liu <sdl.web@gmail.com>
13640
13641 * progmodes/python.el (python-end-of-statement): Fix infinite
13642 loop. (Bug#10788)
13643
13644 2012-02-10 Glenn Morris <rgm@gnu.org>
13645
13646 * international/mule-cmds.el (unify-8859-on-encoding-mode)
13647 (unify-8859-on-decoding-mode): Properly mark as obsolete.
13648
13649 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
13650
13651 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
13652 about SMTP before checking the From header.
13653
13654 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
13655 into own function for reuse by emacsbug.el.
13656
13657 2012-02-10 Leo Liu <sdl.web@gmail.com>
13658
13659 * subr.el (condition-case-unless-debug): Rename from
13660 condition-case-no-debug. All callers changed.
13661 (with-demoted-errors): Fix caller.
13662
13663 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
13664 * nxml/rng-valid.el (rng-do-some-validation):
13665 * emacs-lisp/package.el (package-refresh-contents)
13666 (package-menu-execute):
13667 * desktop.el (desktop-create-buffer):
13668 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
13669
13670 2012-02-10 Glenn Morris <rgm@gnu.org>
13671
13672 * textmodes/bibtex.el:
13673 Add missing :version tags for new/changed defcustoms.
13674
13675 * files.el (remote-file-name-inhibit-cache): Doc fixes.
13676
13677 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
13678
13679 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
13680 (smtpmail-via-smtp): Use it, or fall back on the From address.
13681 (smtpmail-send-it): Ditto.
13682
13683 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
13684
13685 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
13686 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
13687 (byte-compile-tmp-var): New const.
13688 (byte-compile-defvar): Use it to minimize .elc size.
13689 Just use `defvar' rather than simulate it (bug#10761).
13690
13691 2012-02-09 Glenn Morris <rgm@gnu.org>
13692
13693 * files.el (rename-uniquely): Doc fix. (Bug#3806)
13694
13695 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
13696 Add :version tags.
13697
13698 * progmodes/compile.el (compilation-error-screen-columns)
13699 (compilation-first-column, compilation-filter-start): Doc fixes.
13700
13701 * vc/log-view.el (log-view-toggle-entry-display):
13702 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
13703
13704 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
13705 (report-emacs-bug-can-use-xdg-email):
13706 (report-emacs-bug-insert-to-mailer): Doc fixes.
13707 (report-emacs-bug): Message fix.
13708
13709 * net/browse-url.el (browse-url-can-use-xdg-open)
13710 (browse-url-xdg-open): Doc fixes.
13711
13712 * electric.el (electric-indent-mode, electric-pair-mode)
13713 (electric-layout-rules, electric-layout-mode): Doc fixes.
13714 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
13715
13716 2012-02-08 Martin Rudalics <rudalics@gmx.at>
13717
13718 * server.el (server-unselect-display): Don't inadvertently kill
13719 the current buffer. (Bug#10729)
13720
13721 2012-02-08 Glenn Morris <rgm@gnu.org>
13722
13723 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
13724 (sql-list-table): Doc fixes.
13725
13726 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
13727 Comment out (does nothing).
13728
13729 * completion.el (dynamic-completion-mode):
13730 * dirtrack.el (dirtrack-debug-mode):
13731 * electric.el (electric-layout-mode):
13732 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
13733 * face-remap.el (text-scale-mode, buffer-face-mode):
13734 * iimage.el (iimage-mode):
13735 * image-mode.el (image-transform-mode):
13736 * minibuffer.el (completion-in-region-mode):
13737 * scroll-lock.el (scroll-lock-mode):
13738 * simple.el (next-error-follow-minor-mode):
13739 * tar-mode.el (tar-subfile-mode):
13740 * tooltip.el (tooltip-mode):
13741 * vcursor.el (vcursor-use-vcursor-map):
13742 * wid-browse.el (widget-minor-mode):
13743 * emulation/tpu-edt.el (tpu-edt-mode):
13744 * emulation/tpu-extras.el (tpu-cursor-free-mode):
13745 * international/iso-ascii.el (iso-ascii-mode):
13746 * language/thai-util.el (thai-word-mode):
13747 * mail/supercite.el (sc-minor-mode):
13748 * net/goto-addr.el (goto-address-mode):
13749 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
13750 * progmodes/cwarn.el (cwarn-mode):
13751 * progmodes/flymake.el (flymake-mode):
13752 * progmodes/glasses.el (glasses-mode):
13753 * progmodes/hideshow.el (hs-minor-mode):
13754 * progmodes/pascal.el (pascal-outline-mode):
13755 * textmodes/enriched.el (enriched-mode):
13756 * vc/smerge-mode.el (smerge-mode):
13757 Doc fixes (minor mode argument).
13758
13759 2012-02-07 Eli Zaretskii <eliz@gnu.org>
13760
13761 * ls-lisp.el (ls-lisp-sanitize): New function.
13762 (ls-lisp-insert-directory): Use it to fix or remove any elements
13763 in file-alist with missing attributes. (Bug#4673)
13764
13765 2012-02-07 Alan Mackenzie <acm@muc.de>
13766
13767 Fix spurious recognition of c-in-knr-argdecl.
13768
13769 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
13770 putative K&R region.
13771
13772 2012-02-07 Alan Mackenzie <acm@muc.de>
13773
13774 * progmodes/cc-engine.el (c-forward-objc-directive):
13775 Prevent looping in "#pragma mark @implementation".
13776
13777 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
13778
13779 * notifications.el (notifications-on-closed-signal): Make `reason'
13780 optional. (Bug#10744)
13781
13782 2012-02-07 Glenn Morris <rgm@gnu.org>
13783
13784 * emacs-lisp/easy-mmode.el (define-minor-mode):
13785 Doc fixes for the macro and the mode it defines.
13786
13787 * image.el (imagemagick-types-inhibit): Doc fix.
13788
13789 * cus-start.el (imagemagick-render-type): Add it.
13790
13791 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
13792
13793 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
13794 Set the default at load time, too, so that `font-lock-fontify-buffer'
13795 can be called without setting up the entire mode first. This fixes
13796 a bug in `mm-inline-text' with C MIME parts.
13797
13798 2012-02-06 Chong Yidong <cyd@gnu.org>
13799
13800 * simple.el (list-processes--refresh): Delete exited processes
13801 (Bug#8094).
13802
13803 * comint.el (comint-next-prompt): next-single-char-property-change
13804 and prev-single-char-property-change never return nil (Bug#8657).
13805
13806 * custom.el (defcustom): Doc fix (Bug#9711).
13807
13808 2012-02-05 Chong Yidong <cyd@gnu.org>
13809
13810 * cus-edit.el (custom-variable-reset-backup): Quote the value
13811 before storing it in the customized-value property (Bug#6712).
13812 (custom-display): Add a customization type tag.
13813 (custom-buffer-create-internal): Improve tooltip message.
13814
13815 * wid-edit.el (widget-field-value-get): New optional arg to
13816 suppress trailing whitespace truncation.
13817 (character): Use it (Bug#2689).
13818
13819 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
13820
13821 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
13822 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
13823
13824 2012-02-05 Chong Yidong <cyd@gnu.org>
13825
13826 * cus-edit.el (custom-variable-value-create): For mismatched
13827 types, show the current value (Bug#7600).
13828
13829 * custom.el (defcustom): Doc fix.
13830
13831 2012-02-05 Glenn Morris <rgm@gnu.org>
13832
13833 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
13834
13835 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
13836
13837 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
13838 (pp-buffer): Use `ignore-errors', `looking-at-p'.
13839 (pp-last-sexp): Use `looking-at-p'.
13840
13841 2012-02-04 Glenn Morris <rgm@gnu.org>
13842
13843 * files.el (revert-buffer):
13844 Doc fix (mention revert-buffer-in-progress-p).
13845
13846 * emacs-lisp/ert-x.el (ert-simulate-command):
13847 Check deferred-action-list (which is obsolete) is bound.
13848
13849 * subr.el (with-wrapper-hook): Doc fixes.
13850
13851 * simple.el (filter-buffer-substring-functions)
13852 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
13853
13854 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
13855
13856 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
13857 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
13858
13859 2012-02-04 Leo Liu <sdl.web@gmail.com>
13860
13861 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
13862
13863 2012-02-04 Glenn Morris <rgm@gnu.org>
13864
13865 * image.el (image-extension-data): Add obsolete alias.
13866
13867 * isearch.el (isearch-update): Doc fix.
13868
13869 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
13870
13871 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
13872
13873 2012-02-03 Glenn Morris <rgm@gnu.org>
13874
13875 * image.el (image-animated-p): Doc fix. Use image-animated-types.
13876 (image-animate-timeout): Doc fix.
13877
13878 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
13879
13880 2012-02-02 Glenn Morris <rgm@gnu.org>
13881
13882 * server.el (server-auth-dir): Doc fix.
13883 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
13884
13885 * subr.el (run-mode-hooks): Doc fix.
13886
13887 2012-02-02 Juri Linkov <juri@jurta.org>
13888
13889 * image-mode.el (image-toggle-display-image): Remove tautological
13890 `major-mode' from the `derived-mode-p' test.
13891
13892 2012-02-02 Kenichi Handa <handa@m17n.org>
13893
13894 * composite.el (compose-region): Cancel previous change.
13895
13896 2012-02-02 Kenichi Handa <handa@m17n.org>
13897
13898 * composite.el (compose-region, compose-string): Signal error for
13899 a null string component (Bug#6988).
13900
13901 2012-02-01 Chong Yidong <cyd@gnu.org>
13902
13903 * view.el (view-buffer-other-window, view-buffer-other-frame):
13904 Handle special modes like view-buffer (Bug#10650).
13905 (view-buffer): Simplify.
13906
13907 * frame.el (set-frame-font): Tweak meaning of third argument.
13908
13909 * dynamic-setting.el (font-setting-change-default-font):
13910 Use set-frame-font (Bug#9982).
13911
13912 2012-02-01 Glenn Morris <rgm@gnu.org>
13913
13914 * progmodes/compile.el (compilation-internal-error-properties):
13915 Respect compilation-first-column in the "*compilation*" buffer.
13916
13917 * emacs-lisp/easy-mmode.el (define-minor-mode):
13918 Relax :variable's test for a named function.
13919
13920 2012-01-31 Alan Mackenzie <acm@muc.de>
13921
13922 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
13923 off by one error.
13924
13925 2012-01-31 Chong Yidong <cyd@gnu.org>
13926
13927 * frame.el (set-frame-font): New arg ALL-FRAMES.
13928
13929 * menu-bar.el (menu-set-font): Use set-frame-font.
13930
13931 * faces.el (face-spec-reset-face): Don't apply unspecified
13932 attribute values to the default face.
13933
13934 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
13935
13936 * progmodes/cwarn.el (cwarn): Remove dead link.
13937 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
13938 Remove * from defcustom docstrings.
13939 (turn-on-cwarn-mode): Make obsolete.
13940 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
13941 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
13942
13943 2012-01-31 Glenn Morris <rgm@gnu.org>
13944
13945 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
13946 Fix :variable handling of mode a symbol not equal to modefun.
13947 Allow named functions to be used as the cdr of :variable.
13948
13949 2012-01-30 Glenn Morris <rgm@gnu.org>
13950
13951 * emacs-lisp/authors.el (authors-fixed-entries):
13952 Remove reference to deleted file rnewspost.el.
13953
13954 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
13955
13956 * window.el (window-with-parameter): Remove unused variable `windows'.
13957 (window--side-check): Remove unused variable `code'.
13958 (window--resize-siblings): Remove unused variable `first'.
13959 (adjust-window-trailing-edge): Remove unused variable `failed'.
13960 (window-deletable-p, window--delete): Remove unused variable `buffer'.
13961 Use `let', not `let*'.
13962 (balance-windows-2): Remove unused variable `found'.
13963 (window--state-put-2): Remove unused variable `splits'.
13964 (window-state-put): Remove unused variable `selected'.
13965 (same-window-p): Use `string-match-p'.
13966 (display-buffer-assq-regexp): Remove unused variable `value'.
13967 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13968 Mark argument ALIST as ignored.
13969 (pop-to-buffer): Remove unused variable `old-window'.
13970
13971 2012-01-29 Eli Zaretskii <eliz@gnu.org>
13972
13973 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
13974 and .lzma compressed files.
13975
13976 2012-01-29 Chong Yidong <cyd@gnu.org>
13977
13978 * frame.el (window-system-default-frame-alist): Doc fix.
13979
13980 * dynamic-setting.el (font-setting-change-default-font): Don't
13981 change the default face if SET-FONT argument is non-nil (Bug#9982).
13982
13983 2012-01-29 Samuel Bronson <naesten@gmail.com>
13984
13985 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
13986
13987 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
13988
13989 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
13990 breakpoints in files outside current directory (Bug#6098).
13991
13992 2012-01-29 Chong Yidong <cyd@gnu.org>
13993
13994 * progmodes/python.el: Require ansi-color at top-level.
13995
13996 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
13997 Define and use in Emacs Lisp mode (Bug#9360).
13998 (lisp-mode-abbrev-table): Add doc.
13999 (lisp-mode-variables): Don't set local-abbrev-table.
14000 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14001
14002 2012-01-28 Roland Winkler <winkler@gnu.org>
14003
14004 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14005
14006 2012-01-28 Roland Winkler <winkler@gnu.org>
14007
14008 * textmodes/bibtex.el (bibtex-entry-alist): New function.
14009 (bibtex-set-dialect): Use it. Either set global values of
14010 dialect-dependent variables or bind these variables buffer-locally
14011 (Bug#10254).
14012 (bibtex-mode): Call bibtex-set-dialect via
14013 hack-local-variables-hook.
14014 (bibtex-dialect): Update docstring.
14015 Add safe-local-variable predicate.
14016 (bibtex-entry-alist, bibtex-field-alist): Initialize via
14017 bibtex-set-dialect.
14018 (bibtex-mode-map): Define menu for each dialect.
14019 (bibtex-entry): Fix docstring.
14020
14021 2012-01-28 Chong Yidong <cyd@gnu.org>
14022
14023 * eshell/esh-arg.el (eshell-quote-argument): New function.
14024
14025 * eshell/esh-ext.el (eshell-invoke-batch-file):
14026 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14027 first arg to eshell-parse-command (Bug#10523).
14028
14029 2012-01-28 Drew Adams <drew.adams@oracle.com>
14030
14031 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14032 `default-directory' is non-nil.
14033
14034 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14035
14036 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14037 line that displays system-configuration-options. (Bug#9924)
14038
14039 2012-01-28 Drew Adams <drew.adams@oracle.com>
14040
14041 * descr-text.el (describe-char): Show information about POS, in
14042 addition to information about the character at POS. Improve and
14043 update the doc string. Change "code point" to "code point in
14044 charset", to avoid confusion with the character's Unicode code
14045 point shown above that. (Bug#10129)
14046
14047 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14048
14049 * descr-text.el (describe-char): Show the raw character, not only
14050 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14051 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14052 for the reasons.
14053
14054 2012-01-28 Phil Hagelberg <phil@hagelb.org>
14055
14056 * emacs-lisp/package.el (package-install):
14057 Run package-refresh-contents if there is no archive yet (Bug#9798).
14058
14059 2012-01-28 Chong Yidong <cyd@gnu.org>
14060
14061 * emacs-lisp/package.el (package-maybe-load-descriptor):
14062 New function, split from package-maybe-load-descriptor.
14063 (package-maybe-load-descriptor): Use it.
14064 (package-download-transaction): Fully load required packages
14065 inside the loop, so that `require' calls work (Bug#10593).
14066 (package-install): No need to call package-initialize now.
14067
14068 2012-01-28 Chong Yidong <cyd@gnu.org>
14069
14070 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14071
14072 * tooltip.el (tooltip-mode): Doc fix.
14073 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14074
14075 * frame.el (set-cursor-color): Doc fix (Bug#352).
14076
14077 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14078 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14079
14080 * cus-edit.el (custom-buffer-create-internal): Fix search button
14081 action (Bug#10542).
14082 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
14083
14084 2012-01-27 Eduard Wiebe <usenet@pusto.de>
14085
14086 * dired.el (dired-mark-files-regexp):
14087 Include any subdirectory components. (Bug#10445)
14088
14089 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14090
14091 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14092 Handle [host]:port syntax. (Bug#10533)
14093
14094 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
14095
14096 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14097
14098 2012-01-26 Glenn Morris <rgm@gnu.org>
14099
14100 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14101 * term.el (term-raw-escape-map): Use Control-X-prefix.
14102 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14103
14104 2012-01-25 Martin Rudalics <rudalics@gmx.at>
14105
14106 * window.el (window-state-get, window--state-get-1): Don't deal
14107 with fixed-sizeness of windows. Simplify code.
14108
14109 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14110
14111 * window.el (window--state-get-1, window--state-put-2):
14112 Don't save and restore the mark.
14113
14114 2012-01-25 Chong Yidong <cyd@gnu.org>
14115
14116 * custom.el (custom-variable-p): Doc fix.
14117
14118 2012-01-25 Glenn Morris <rgm@gnu.org>
14119
14120 * dired.el (dired-goto-file): Handle some of the more common
14121 characters that `ls -b' escapes. (Bug#10596)
14122
14123 * progmodes/compile.el (compilation-next-error-function):
14124 Respect compilation-first-column in the "*compilation*" buffer.
14125 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14126
14127 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14128
14129 2012-01-24 Glenn Morris <rgm@gnu.org>
14130
14131 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14132
14133 2012-01-24 Julien Danjou <julien@danjou.info>
14134
14135 * color.el (color-rgb-to-hsl): Fix value computing.
14136 (color-hue-to-rgb): New function.
14137 (color-hsl-to-rgb): New function.
14138 (color-clamp, color-saturate-hsl, color-saturate-name)
14139 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14140 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14141
14142 2012-01-24 Glenn Morris <rgm@gnu.org>
14143
14144 * vc/vc-rcs.el (vc-rcs-create-tag):
14145 * vc/vc-sccs.el (vc-sccs-create-tag):
14146 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
14147
14148 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
14149
14150 * eshell/esh-util.el (eshell-read-hosts-file):
14151 Skip comment lines. (Bug#10549)
14152
14153 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
14154
14155 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
14156
14157 * subr.el (display-delayed-warnings): Doc fix.
14158 (collapse-delayed-warnings): New function to collapse identical
14159 adjacent warnings.
14160 (delayed-warnings-hook): Add it.
14161
14162 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
14163
14164 * net/tramp.el (tramp-action-login): Set connection property "login-as".
14165
14166 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14167 (tramp-default-user-alist): Don't add "pscp".
14168 (tramp-do-copy-or-rename-file-out-of-band): Use connection
14169 property "login-as", if set. (Bug#10530)
14170
14171 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
14172
14173 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14174 "plink1" and "psftp". (Bug#10530)
14175
14176 2012-01-21 Kenichi Handa <handa@m17n.org>
14177
14178 * international/mule-cmds.el (prefer-coding-system): Show a
14179 warning message if the default value of file-name-coding-system
14180 was not changed.
14181
14182 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14183
14184 * windmove.el (windmove-reference-loc):
14185 Fix windmove-reference-loc miscalculation.
14186
14187 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14188
14189 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14190 default unit.
14191
14192 2012-01-21 Glenn Morris <rgm@gnu.org>
14193
14194 * international/mule.el (auto-coding-alist): Add .tbz.
14195
14196 * files.el (local-enable-local-variables): Doc fix.
14197 (inhibit-local-variables-regexps): Rename from
14198 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14199 Doc fix. Add some extensions from auto-coding-alist.
14200 (inhibit-local-variables-suffixes):
14201 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14202 (inhibit-local-variables-p):
14203 New function, extracted from set-auto-mode-1.
14204 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14205 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14206 (hack-local-variables): Doc fix. Make the mode-only case
14207 respect enable-local-variables and friends.
14208 Respect inhibit-local-variables-regexps for file-locals, but
14209 not for directory-locals.
14210 (set-visited-file-name):
14211 Take account of inhibit-local-variables-regexps.
14212 Whether it applies may change as the file name is changed.
14213 * jka-cmpr-hook.el (jka-compr-install):
14214 * jka-compr.el (jka-compr-uninstall):
14215 Update for inhibit-first-line-modes-suffixes name change.
14216
14217 2012-01-20 Martin Rudalics <rudalics@gmx.at>
14218
14219 * help-macro.el (make-help-screen): Temporarily restore original
14220 binding for minor-mode-map-alist (Bug#10454).
14221
14222 2012-01-19 Julien Danjou <julien@danjou.info>
14223
14224 * color.el (color-name-to-rgb): Use the white color to find the max
14225 color component value and return correctly computed values.
14226 (color-name-to-rgb): Add missing float conversion for max value.
14227
14228 2012-01-19 Martin Rudalics <rudalics@gmx.at>
14229
14230 * window.el (window--state-get-1, window-state-get): Do not use
14231 special state value for window-persistent-parameters.
14232 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
14233 (window--state-put-2): Reset all window parameters to nil before
14234 assigning values of persistent parameters.
14235
14236 2012-01-18 Alan Mackenzie <acm@muc.de>
14237
14238 Eliminate sluggishness and hangs in fontification of "semicolon
14239 deserts".
14240
14241 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14242 Change value 10000 -> 3000.
14243 (c-state-safe-place): Reformulate so it doesn't stack up an
14244 infinite number of wrong entries in c-state-nonlit-pos-cache.
14245 (c-determine-limit-get-base, c-determine-limit): New functions to
14246 determine backward search limits disregarding literals.
14247 (c-find-decl-spots): Amend commenting.
14248 (c-cheap-inside-bracelist-p): New function which detects "={".
14249
14250 * progmodes/cc-fonts.el
14251 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14252 backward search.
14253 (c-font-lock-declarations): Fix an occurrence of point being
14254 undefined. Check additionally for point being in a bracelist or
14255 near a macro invocation without a semicolon so as to avoid a
14256 fruitless time consuming search for a declarator. Give a more
14257 precise search limit for declarators using the new
14258 c-determine-limit.
14259
14260 2012-01-18 Glenn Morris <rgm@gnu.org>
14261
14262 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14263 (set-auto-mode): Doc fixes.
14264
14265 2012-01-17 Glenn Morris <rgm@gnu.org>
14266
14267 * isearch.el (search-nonincremental-instead): Fix doc typo.
14268
14269 * dired.el (dired-insert-directory): Handle newlines in directory name.
14270 (dired-build-subdir-alist): Unescape newlines in directory name.
14271
14272 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
14273
14274 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14275 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14276 (tramp-action-terminal): Use it. (Bug#10530)
14277
14278 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14279
14280 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14281
14282 2012-01-16 Martin Rudalics <rudalics@gmx.at>
14283
14284 * window.el (window-state-ignored-parameters): Remove variable.
14285 (window--state-get-1): Rename argument MARKERS to IGNORE.
14286 Handle persistent window parameters. Make copy of clone-of
14287 parameter only if requested. (Bug#10348)
14288 (window--state-put-2): Install a window parameter only if it has
14289 a non-nil value or an existing parameter shall be overwritten.
14290
14291 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
14292
14293 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14294
14295 2012-01-14 Eli Zaretskii <eliz@gnu.org>
14296
14297 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14298 don't pass the (nil) value of `upnode' to string-match.
14299
14300 2012-01-14 Chong Yidong <cyd@gnu.org>
14301
14302 * startup.el (command-line): Fix X resource class for cursorColor.
14303 Fix values recognized by the cursorBlink resource.
14304
14305 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14306
14307 * epg.el (epg--make-temp-file): Avoid permission race condition
14308 when running on old Emacs versions (bug#10403).
14309
14310 2012-01-14 Glenn Morris <rgm@gnu.org>
14311
14312 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14313
14314 2012-01-13 Alan Mackenzie <acm@muc.de>
14315
14316 Fix filling for when filladapt mode is enabled.
14317
14318 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14319 c-mask-paragraph, pass in `fill-paragraph' rather than
14320 `fill-region-as-paragraph'. (This is a reversion of a previous
14321 change.)
14322 * progmodes/cc-mode.el (c-basic-common-init):
14323 Make fill-paragraph-handle-comment buffer local and set it to nil.
14324
14325 2012-01-13 Glenn Morris <rgm@gnu.org>
14326
14327 * dired.el (dired-switches-escape-p): New function.
14328 (dired-insert-directory): Use dired-switches-escape-p.
14329 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14330
14331 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14332
14333 2012-01-12 Glenn Morris <rgm@gnu.org>
14334
14335 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14336 changes in adaptive-fill-regexp. (Bug#10276)
14337
14338 2012-01-11 Alan Mackenzie <acm@muc.de>
14339
14340 Fix Emacs bug #10463 - put `widen's around the critical spots.
14341
14342 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
14343 widen around each invocation of c-state-pp-to-literal. Remove an
14344 unused let variable.
14345
14346 2012-01-11 Glenn Morris <rgm@gnu.org>
14347
14348 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
14349 Doc fix.
14350
14351 2012-01-10 Chong Yidong <cyd@gnu.org>
14352
14353 * net/network-stream.el (network-stream-open-starttls):
14354 Avoid emitting a confusing error message when the server gives a bad
14355 response to the capability command.
14356
14357 2012-01-10 Glenn Morris <rgm@gnu.org>
14358
14359 * mail/unrmail.el (unrmail): Tweak previous change.
14360
14361 2012-01-09 Chong Yidong <cyd@gnu.org>
14362
14363 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14364
14365 2012-01-08 Alan Mackenzie <acm@muc.de>
14366
14367 Optimize font locking in long enum definitions.
14368
14369 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14370 arm to a cond form to handle enums.
14371 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14372 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14373
14374 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
14375
14376 * files.el (move-file-to-trash): Preserve default file modes on error.
14377 (Bug#10401)
14378
14379 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14380
14381 * faces.el (set-face-attribute): Clarify the meaning of the nil
14382 frame (bug#10294).
14383
14384 * subr.el (with-selected-frame): Mention that the selected frame
14385 is restored (bug#9980).
14386
14387 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
14388 (bug#9759).
14389
14390 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
14391 (password-read): Don't autoload unused function.
14392
14393 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
14394
14395 * progmodes/which-func.el (which-func-mode): Turn into a
14396 non-interactive function and mark as obsolete (bug#10428).
14397
14398 2012-01-06 Chong Yidong <cyd@gnu.org>
14399
14400 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
14401 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
14402 functions, along with 1 and -1.
14403
14404 2012-01-06 Eli Zaretskii <eliz@gnu.org>
14405
14406 * time.el (display-time-load-average)
14407 (display-time-default-load-average): Doc fixes. See the thread
14408 starting at
14409 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
14410 for the details.
14411
14412 2012-01-06 Glenn Morris <rgm@gnu.org>
14413
14414 * mail/unrmail.el (unrmail): Give an explicit error if the input file
14415 has no messages. (Bug#10377)
14416
14417 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
14418 than Info-edit. (Bug#10385)
14419
14420 * time.el (display-time-load-average, display-time-next-load-average):
14421 Doc fixes.
14422
14423 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
14424 local setting of buffer-read-only to the input buffer. (Bug#10419)
14425
14426 * calendar/calendar.el (calendar-mode):
14427 Locally set scroll-margin to 0. (Bug#10379)
14428
14429 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
14430
14431 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
14432
14433 2012-01-05 Glenn Morris <rgm@gnu.org>
14434
14435 * eshell/em-unix.el (diff-no-select): Autoload it.
14436 (eshell/diff): Use diff-no-select. (Bug#10420)
14437
14438 2012-01-05 Chong Yidong <cyd@gnu.org>
14439
14440 * shell.el (shell-dynamic-complete-functions): Revert last change.
14441 (shell-command-completion-function): New function.
14442 (shell-completion-vars): Use it to implement
14443 shell-completion-execonly (Bug#10417).
14444
14445 * custom.el (enable-theme): Don't set custom-safe-themes.
14446
14447 * cus-theme.el (custom-theme-merge-theme):
14448 Ignore custom-enabled-themes and custom-safe-themes.
14449
14450 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
14451
14452 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
14453 first prompt in `sql-interacive-mode'.
14454 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
14455 keywords.
14456 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
14457 (sql-product-interactive): Bug fix: Set `sql-buffer' in
14458 context of original buffer. Invoke `sql-login-hook'.
14459
14460 2012-01-04 Eli Zaretskii <eliz@gnu.org>
14461
14462 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
14463 letters in cite-prefix.
14464
14465 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14466
14467 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
14468
14469 2012-01-03 Chong Yidong <cyd@gnu.org>
14470
14471 * shell.el (shell-dynamic-complete-functions):
14472 Put pcomplete-completions-at-point, so as to try
14473 comint-filename-completion first (Bug#10417).
14474
14475 2012-01-02 Richard Stallman <rms@gnu.org>
14476
14477 * battery.el (battery-status-function):
14478 Detect when to use battery-yeeloong-sysfs.
14479 (battery-echo-area-format): Add string for Yeeloong.
14480 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
14481 (battery-yeeloong-sysfs): New function.
14482
14483 2012-01-02 Chong Yidong <cyd@gnu.org>
14484
14485 * dirtrack.el (dirtrack-list): Eliminate unused third element.
14486 (dirtrack): Merge code for handling relative filenames in prompt
14487 from shell-dir-cookie-watcher.
14488 (dirtrack-debug-message): New arg to avoid excess format calls.
14489
14490 * shell.el (shell-dir-cookie-re): Variable deleted.
14491 (shell-dir-cookie-watcher): Function deleted.
14492 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
14493 with dirtrack-mode.
14494
14495 2012-01-01 Eli Zaretskii <eliz@gnu.org>
14496
14497 * term/w32-win.el (dynamic-library-alist) <gnutls>:
14498 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
14499 libgnutls-26.dll.
14500
14501 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
14502
14503 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
14504
14505 2011-12-31 Eli Zaretskii <eliz@gnu.org>
14506
14507 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
14508 headers of non-MIME messages, when rmail-enable-mime is non-nil.
14509
14510 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
14511
14512 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
14513 also for alternative shells.
14514 (tramp-open-connection-setup-interactive-shell): Check, whether
14515 the shell is a busybox.
14516 (tramp-send-command): Don't suppress multiple prompts for
14517 busyboxes, it hurts.
14518
14519 2011-12-28 Chong Yidong <cyd@gnu.org>
14520
14521 * progmodes/gdb-mi.el (gdb-get-source-file-list)
14522 (gdb-get-source-file): Move mode line update to
14523 gdb-get-source-file (Bug#10087).
14524
14525 2011-12-25 Chong Yidong <cyd@gnu.org>
14526
14527 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
14528 gud-gdb-marker-filter without taking it as an argument.
14529 (gud-gdb-run-command-fetch-lines): Caller changed.
14530 (gud-gdb-completion-function): New variable.
14531 (gud-gdb-completion-at-point): Use it.
14532 (gud-gdb-completions-1): Split from gud-gdb-completions.
14533
14534 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
14535 function as separate arguments.
14536 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
14537 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
14538 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
14539 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
14540 (gdb-stopped, def-gdb-auto-update-trigger)
14541 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
14542 (gdb-get-changed-registers, gdb-get-main-selected-frame):
14543 Callers changed.
14544 (gud-gdbmi-completions): New function.
14545 (gdb): Use it for generating the completion table.
14546
14547 2011-12-24 Alan Mackenzie <acm@muc.de>
14548
14549 Introduce a mechanism to widen the region used in context font
14550 locking. Use this to protect declarations from losing their contexts.
14551
14552 * progmodes/cc-langs.el (c-before-font-lock-functions):
14553 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
14554 (c-before-context-fontification-functions): New defvar, a list of
14555 functions to be run just before context (etc.) font locking.
14556
14557 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
14558 New, functionality extracted from
14559 c-neutralize-syntax-in-and-mark-CPP.
14560 (c-in-after-change-fontification): New variable.
14561 (c-after-change): Set c-in-after-change-fontification.
14562 (c-set-fl-decl-start): Rejig its interface, so it can be called
14563 from both after-change and context fontifying.
14564 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
14565 New functions.
14566 (c-standard-font-lock-fontify-region-function): New variable.
14567 (c-font-lock-fontify-region): New function.
14568
14569 2011-12-24 Juri Linkov <juri@jurta.org>
14570
14571 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
14572 (Bug#10348)
14573
14574 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
14575
14576 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
14577 existence of source file. (Bug#10325)
14578
14579 2011-12-23 Alan Mackenzie <acm@muc.de>
14580
14581 Fix unstable fontification inside templates.
14582
14583 * progmodes/cc-langs.el (c-before-font-lock-functions):
14584 Newly created from the singular version. The (c c++ objc) entry now
14585 additionally has c-set-fl-decl-start. The other languages (apart
14586 from AWK) have that as a single entry.
14587
14588 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14589 The functionality for "local" declarations has been extracted to
14590 c-set-fl-decl-start.
14591
14592 * progmodes/cc-mode.el (c-common-init, c-after-change):
14593 Changes due to pluralisation of c-before-font-lock-functions.
14594 (c-set-fl-decl-start): New function, extracted from
14595 c-font-lock-enclosing-decls and enhanced.
14596
14597 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
14598
14599 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
14600
14601 2011-12-22 Juri Linkov <juri@jurta.org>
14602
14603 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
14604
14605 2011-12-22 Chong Yidong <cyd@gnu.org>
14606
14607 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
14608
14609 2011-12-21 Drew Adams <drew.adams@oracle.com>
14610
14611 * files.el (file-remote-p): Fix docstring. (Bug#10319)
14612
14613 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14614
14615 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
14616
14617 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
14618
14619 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
14620 highlighting and support. Fix up comments for capitalization.
14621 (cfengine-mode-debug): New var.
14622 (cfengine3-mode): Change the modeline indicator to "CFE3".
14623 (cfengine3-font-lock-keywords): Improve defun highlighting.
14624 (cfengine2-actions): Rename from `cfengine-actions'.
14625 (cfengine2-font-lock-keywords): Rename from
14626 `cfengine-font-lock-keywords'.
14627 (cfengine2-imenu-expression): Rename from
14628 `cfengine-imenu-expression'.
14629 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
14630 (cfengine2-beginning-of-defun): Rename from
14631 `cfengine-beginning-of-defun'.
14632 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
14633 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
14634 (cfengine2-mode): Rename from `cfengine-mode'. Change the
14635 modeline indicator to "CFE2".
14636 (cfengine-mode): Defalias to `cfengine-auto-mode'.
14637 (cfengine-mode-abbrevs): Mark obsolete.
14638
14639 2011-12-21 Chong Yidong <cyd@gnu.org>
14640
14641 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
14642 filename argument.
14643
14644 2011-12-20 Martin Rudalics <rudalics@gmx.at>
14645
14646 * window.el (window-normalize-buffer-to-display): Remove.
14647 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
14648
14649 2011-12-19 Chong Yidong <cyd@gnu.org>
14650
14651 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
14652 Don't signal an error in a predicate function; return non-nil.
14653 (vc-dir-mark-file): Move the error here.
14654 (vc-dir-mark-unmark): If acting on the region, keep going if one
14655 of the entries cannot be marked/unmarked.
14656 (vc-dir-mark-all-files): If current entry is a directory, mark
14657 only child files, as documented.
14658
14659 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
14660
14661 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
14662 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
14663 addition.
14664
14665 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
14666
14667 * term/ns-win.el (ns-get-selection-internal)
14668 (ns-store-selection-internal): Declare.
14669 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
14670 Declare as obsolete.
14671 (ns-get-pasteboard, ns-paste-secondary):
14672 Use ns-get-selection-internal.
14673 (ns-set-pasteboard, ns-copy-including-secondary):
14674 Use ns-store-selection-internal.
14675
14676 2011-12-17 Chong Yidong <cyd@gnu.org>
14677
14678 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
14679 (vc-deduce-fileset): Doc fix.
14680
14681 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
14682
14683 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
14684
14685 2011-12-13 Sam Steingold <sds@gnu.org>
14686
14687 * man.el (Man-getpage-in-background): When running under a
14688 window-system, ignore $MANWIDTH and $COLUMNS.
14689
14690 2011-12-15 Kenichi Handa <handa@m17n.org>
14691
14692 * language/ethio-util.el: Change coding tag to utf-8-emacs.
14693 (setup-ethiopic-environment-internal): Comment out key-binding for
14694 ethio-toggle-punctuation.
14695
14696 2011-12-13 Alan Mackenzie <acm@muc.de>
14697
14698 Add the switch statement to AWK Mode.
14699
14700 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
14701 "default" to the keywords regexp.
14702
14703 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
14704 expression as the rest.
14705 (c-nonlabel-token-key): Allow string literals for AWK.
14706 Refactor for the other modes.
14707
14708 Large brace-block initialisation makes CC Mode slow: Fix.
14709 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
14710 routines. Limit backward searching in c-font-lock-enclosing.decl.
14711
14712 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
14713 pp-state and literal type in addition to the limits.
14714 (c-state-safe-place): New defun, extracted from c-state-literal-at.
14715 (c-state-literal-at): Use the above new defun.
14716 (c-slow-in-literal, c-fast-in-literal): Remove.
14717 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
14718
14719 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
14720 being in a literal. Add a limit for backward searching.
14721
14722 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
14723 c-slow-in-literal.
14724
14725 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
14726
14727 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
14728
14729 2011-12-13 Martin Rudalics <rudalics@gmx.at>
14730
14731 * window.el (delete-other-windows): Use correct frame in call to
14732 window-with-parameter.
14733
14734 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
14735
14736 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
14737 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
14738 (makefile-gmake-statements, makefile-makepp-statements):
14739 Use it and add new makepp keywords.
14740 (makefile-makepp-font-lock-keywords): Add new patterns.
14741 (makefile-match-function-end): Match new [...] and [[...]].
14742
14743 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
14744
14745 * ses.el (ses-call-printer-return, ses-cell-property-get)
14746 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
14747 (ses-create-cell-variable, ses-reset-header-string)
14748 (ses-cell-set-formula, ses-repair-cell-reference-all)
14749 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
14750 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
14751 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
14752 (ses-aset-with-undo, ses-load, ses-truncate-cell)
14753 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
14754 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
14755 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
14756 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
14757 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
14758 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
14759 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
14760 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
14761
14762 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
14763
14764 * ses.el: The overall change is to add cell renaming, that is
14765 setting fancy names for cell symbols other than name matching
14766 "\\`[A-Z]+[0-9]+\\'" regexp .
14767 (ses-create-cell-variable): New defun.
14768 (ses-relocate-formula): Relocate formulas only for cells the
14769 symbols of which are not renamed, i.e. symbols whose names do not
14770 match regexp "\\`[A-Z]+[0-9]+\\'".
14771 (ses-relocate-all): Relocate values only for cells the symbols of
14772 which are not renamed.
14773 (ses-load): Create cells variables as the (ses-cell ...) are read,
14774 in order to check row col consistency with cell symbol name only
14775 for cells that are not renamed.
14776 (ses-replace-name-in-formula): New defun.
14777 (ses-rename-cell): New defun.
14778
14779 2011-12-11 Chong Yidong <cyd@gnu.org>
14780
14781 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
14782 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
14783
14784 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
14785
14786 * window.el (other-window): Fix docstring.
14787
14788 2011-12-10 Eli Zaretskii <eliz@gnu.org>
14789
14790 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
14791 `from' or `to' address before taking its substring.
14792 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
14793 encoded name is chopped in the middle of the encoded string, and
14794 thus displayed encoded.
14795
14796 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
14797
14798 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
14799
14800 2011-12-10 Eli Zaretskii <eliz@gnu.org>
14801
14802 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
14803 to use texinfo-update-node and commands that call it if the
14804 Texinfo file uses @node lines without next/prev/up pointers.
14805 Correct outdated description about texinfo-master-menu.
14806 (texinfo-all-menus-update, texinfo-master-menu)
14807 (texinfo-update-node, texinfo-every-node-update)
14808 (texinfo-multiple-files-update): Doc fix. Warn against updating
14809 all the @node lines.
14810 (texinfo-master-menu): Only call texinfo-update-node if the prefix
14811 argument is numeric. Explain better in the doc string what the
14812 function really does.
14813 (texinfo-insert-master-menu-list): Improve the error message
14814 displayed if there's no menu in the Top node.
14815 (Bug#2975) See also this thread:
14816 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
14817
14818 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
14819
14820 * speedbar.el (speedbar-supported-extension-expressions):
14821 Add .adb and .ads, commonly used for Ada source code (bug#10256).
14822
14823 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
14824
14825 * printing.el (pr-mode-alist):
14826 * simple.el (filter-buffer-substring-functions)
14827 (completion-list-insert-choice-function):
14828 * window.el (window-with-parameter, window-atom-root)
14829 (window-sides-slots, window-size-fixed, window-min-delta)
14830 (window-max-delta, window--resize-mini-window)
14831 (window--resize-child-windows-normal, window-tree)
14832 (delete-other-windows, quit-window, split-window)
14833 (display-buffer-record-window, special-display-buffer-names)
14834 (special-display-regexps, special-display-popup-frame)
14835 (same-window-p, split-window-sensibly)
14836 (display-buffer-overriding-action, display-buffer-alist)
14837 (display-buffer-base-action, display-buffer, switch-to-buffer)
14838 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
14839 (fit-window-to-buffer, recenter-positions)
14840 (mouse-autoselect-window-state, mouse-autoselect-window-select):
14841 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
14842 and remove unneeded backslashes in docstrings.
14843
14844 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
14845
14846 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
14847
14848 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
14849 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
14850 end in ".mk".
14851 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
14852 when reading the makefile (bug#10116).
14853
14854 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14855
14856 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
14857 (bug#10116).
14858
14859 2011-12-06 Glenn Morris <rgm@gnu.org>
14860
14861 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
14862
14863 2011-12-06 Chong Yidong <cyd@gnu.org>
14864
14865 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
14866
14867 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
14868
14869 * textmodes/table.el (table-shorten-cell): Fix typo.
14870
14871 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
14872
14873 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
14874
14875 2011-12-05 Eli Zaretskii <eliz@gnu.org>
14876
14877 * descr-text.el (describe-char): Fix display of strong
14878 right-to-left characters and directional embeddings and overrides.
14879
14880 * simple.el (what-cursor-position): Fix display of codepoints of
14881 strong right-to-left characters.
14882
14883 2011-12-05 Chong Yidong <cyd@gnu.org>
14884
14885 * faces.el (read-color): Doc fix.
14886
14887 2011-12-05 Glenn Morris <rgm@gnu.org>
14888
14889 * align.el (align--set-marker): Add doc-string.
14890 Don't try to move something that is not a marker. (Bug#10216)
14891
14892 2011-12-04 Glenn Morris <rgm@gnu.org>
14893
14894 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
14895 overly zealous deletion of trailing whitespace.
14896
14897 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
14898
14899 * server.el (server-delete-client): On Windows, do not try to delete
14900 the only terminal.
14901 (server-process-filter): On Windows, treat requests for a tty frame as
14902 if they were for a GUI frame if the running server is in GUI mode.
14903
14904 2011-12-03 Glenn Morris <rgm@gnu.org>
14905
14906 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
14907
14908 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14909
14910 * electric.el: Streamline electric-indent's hook.
14911 (electric-indent-chars): Revert to simple list.
14912 (electric-indent-functions): New var.
14913 (electric-indent-post-self-insert-function): Use it.
14914
14915 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
14916 there's no inferior buffer (bug#10196).
14917 (prolog-consult-compile): Don't use toggle-read-only.
14918
14919 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
14920
14921 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
14922 interrupt. (Bug#10187)
14923
14924 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14925
14926 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
14927 (bug#9160).
14928
14929 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
14930 (bug#10191).
14931
14932 2011-12-02 Juri Linkov <juri@jurta.org>
14933
14934 * info.el (Info-search): Display "end of manual" when Isearch
14935 reaches the end of single-file Info manual. (Bug#9918)
14936
14937 2011-12-02 Eli Zaretskii <eliz@gnu.org>
14938
14939 * isearch.el (isearch-message-prefix): Run the input method part
14940 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
14941
14942 2011-12-02 Juri Linkov <juri@jurta.org>
14943
14944 * isearch.el (isearch-occur): Use `word-search-regexp' for
14945 `isearch-word'.
14946 (isearch-search-and-update): Add condition for `isearch-word' and
14947 call `word-search-regexp'. (Bug#10145)
14948
14949 2011-12-01 Glenn Morris <rgm@gnu.org>
14950
14951 * eshell/em-hist.el (eshell-hist-initialize):
14952 Handle eshell-history-size nil and HISTSIZE set or unset.
14953 (eshell-history-file-name, eshell-history-size): Fix custom type.
14954
14955 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14956
14957 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
14958
14959 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
14960
14961 * progmodes/verilog-mode.el (verilog-pretty-expr):
14962 Rework verilog-pretty-expr to handle new assignment operators in system
14963 verilog, such as += *= and the like.
14964 (verilog-assignment-operator-re): Regular expression to find the
14965 assigment operator in a verilog assignment.
14966 (verilog-assignment-operation-re): Regular expression to find an
14967 assignment statement for pretty-expr.
14968 (verilog-in-attribute-p): Query returns true if point is in an
14969 attribute context; used to skip these for expression line up from
14970 pretty-expr.
14971 (verilog-in-parameter-p): Query returns true if point is in an
14972 parameter definition context; used to skip these for expression
14973 line up from pretty-expr.
14974 (verilog-in-parenthesis-p): Query returns true if point is in a
14975 parenthetical expression, specifically ( ) but not [ ] or { };
14976 used by pretty-expr.
14977 (verilog-just-one-space): If there is no space, don't add one.
14978 (verilog-get-lineup-indent-2): Specifically skip just attribute
14979 contexts for expression lineup, rather than skipping all
14980 parenthetical expressions.
14981 (verilog-calculate-indent): Fix comment, and fix indent.
14982 (verilog-do-indent): Indent declarations in lists (suggested by
14983 Joachim Lechner).
14984 (verilog-mode-abbrev-table): Populate abbrev mode with the various
14985 skeleton items.
14986 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
14987 by Alain Mellan).
14988
14989 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
14990
14991 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
14992 parameters with embedded comments. Reported by Ray Stevens.
14993 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
14994 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
14995 Reported by Tim Holt.
14996 (verilog-auto): Fix AUTOing a upper module then AUTOing module
14997 instantiated by upper module causing wrong expansion until AUTOed a
14998 second time. Reported by K C Buckenmaier.
14999 (verilog-diff-auto): Fix showing .* as a difference when
15000 `verilog-auto-star-save' off. Reported by Dan Dever.
15001 (verilog-auto-reset, verilog-read-always-signals)
15002 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15003 temporary signals in reset list if
15004 verilog-auto-reset-blocking-in-non is nil, and match assignment
15005 style to each signal's assignment type, bug381.
15006 Reported by Thomas Esposito.
15007 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15008 (verilog-uvm-statement-re): Support UVM indentation and
15009 highlighting, with old OVM keywords only.
15010 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
15011 Support AUTOTIEOFF creating non-wire data types.
15012 Suggested by Jonathan Greenlaw.
15013 (verilog-auto-insert-lisp, verilog-delete-to-paren)
15014 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15015 (verilog-inject-sense, verilog-read-inst-pins)
15016 (verilog-read-sub-decls, verilog-read-sub-decls-line):
15017 Fix mismatching parenthesis inside commented out code when deleting
15018 AUTOINST, bug383. Reported by Jonathan Greenlaw.
15019 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15020 non-numeric vector width. Reported by Alex Reed.
15021 (verilog-auto-ascii-enum): Add "onehot" option to work around not
15022 detecting signals with parameter widths. Reported by Alex Reed.
15023 (verilog-auto-delete-trailing-whitespace):
15024 With `verilog-auto-delete-trailing-whitespace' remove trailing
15025 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
15026 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15027 Fix verilog-scan-cache corruption when running user AUTO expansion
15028 hooks that call indentation routines.
15029 (verilog-simplify-range-expression): Fix typo ignoring lower case
15030 identifiers.
15031 (verilog-delete-auto): Fix delete-autos to also remove user created
15032 automatics, as long as they start with AUTO.
15033 (verilog-batch-diff-auto, verilog-diff-auto)
15034 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15035 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15036 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15037 (verilog-in-paren-quick, verilog-re-search-backward-quick)
15038 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15039 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
15040 is disabled and its cache will get corrupt, causing AUTOS not to
15041 expand. Instead use only -quick functions.
15042 (verilog-scan-region): Fix scanning over escaped quotes.
15043 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15044 (verilog-re-search-backward-quick)
15045 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15046 related functions now ignore strings, to fix misparsing of strings
15047 with magic comments embedded in them.
15048 (verilog-read-auto-template):
15049 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15050 Reported by Brad Dobbie.
15051 (verilog-read-auto-template):
15052 Fix 'verilog-auto-inst-template-numbers' with comments.
15053 Reported by Brad Dobbie.
15054 (verilog-auto-inst, verilog-auto-inst-param)
15055 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15056 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15057 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
15058 debugging templates without merge conflicts, bug357.
15059 Reported by Brad Dobbie.
15060 (verilog-read-auto-template):
15061 Fix verilog-auto-inst-template-numbers with multiple templates.
15062 Reported by Brad Dobbie.
15063 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15064 abbrevs so user won't be asked to save.
15065 (verilog-read-auto-lisp-present): Fix to start at beginning of
15066 buffer in case called outside of verilog-auto.
15067 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15068 to "X-2". Reported by Matthew Myers.
15069 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15070 all inputs from module templates. Reported by Leith Johnson.
15071 (verilog-module-inside-filename-p): Fix locating programs as with
15072 modules.
15073 (verilog-auto-inst-port): Fix vl-width expressions when using
15074 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15075 (verilog-decls-get-regs, verilog-decls-get-signals,
15076 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15077 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15078 verilog-read-decls): Combine reg and wire structures into one var
15079 structure to represent SystemVerilog concepts.
15080 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15081 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
15082 (verilog-auto-wire-type, verilog-insert-definition):
15083 Add verilog-auto-wire-type and AUTOLOGIC to support using
15084 SystemVerilog "logic" keyword instead of "wire"/"reg".
15085 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15086 to declares outputs that also have assignments (presumably in an
15087 ifdef or generate if so there's not a driver conflict).
15088 Reported by Matthew Myers.
15089 (verilog-auto-declare-nettype, verilog-insert-definition):
15090 Add verilog-auto-declare-nettype to fix declarations using
15091 `default_nettype none. Reported by Julian Gorfajn.
15092 (verilog-read-always-signals-recurse, verilog-read-decls)
15093 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15094 malformed end statement, bug325. Reported by Joshua Wise and
15095 Andrew Drake.
15096 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15097 (verilog-inst-comment-re): Fix not deleting Interfaced comment
15098 when expanding .* in interfaces, bug320.
15099 Reported by Pierre-David Pfister.
15100 (verilog-read-module-name): Fix import statements between module
15101 name and open parenthesis, bug317.
15102 Reported by Pierre-David Pfister.
15103 (verilog-simplify-range-expression): Fix simplification of
15104 multiplications inside AUTOWIRE connections, bug303.
15105 (verilog-auto-inst-port): Support parameter expansion in
15106 multidimensional arrays.
15107 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15108 after "assert property". Reported by Julian Gorfajn.
15109 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15110 with multiplication, bug303.
15111 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15112 Reported by Jan Frode Lonnum.
15113
15114 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
15115
15116 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15117 (hfy-shell-file-name, hfy-shell):
15118 * international/fontset.el (x-decompose-font-name): Fix typos.
15119
15120 2011-11-29 Ken Brown <kbrown@cornell.edu>
15121
15122 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15123 (gdb-version): Remove defvar.
15124 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15125 (gdb-gud-context-command, gdb-non-stop-handler)
15126 (gdb-current-context-command, gdb-stopped): Use it.
15127 (gdb-init-1): Enable pretty printing here.
15128 (gdb-non-stop-handler): Don't enable pretty-printing here.
15129 Check to see if the target supports non-stop mode; if not, turn off
15130 non-stop mode. Use the following.
15131 (gdb-check-target-async): New defun.
15132 (gud-watch, gdb-stopped): Fix whitespace.
15133 (gdb-get-source-file): Don't try to display the source file if
15134 `gdb-main-file' is nil.
15135
15136 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15137
15138 * align.el: Try to generate fewer markers (bug#10047).
15139 (align--set-marker): New macro.
15140 (align-region): Use it.
15141
15142 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15143
15144 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15145
15146 2011-11-29 Chong Yidong <cyd@gnu.org>
15147
15148 * indent.el (indent-for-tab-command, indent-according-to-mode):
15149 Doc fix.
15150 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
15151
15152 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
15153
15154 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
15155 aware of remote file names. (Bug#10124)
15156
15157 2011-11-29 Chong Yidong <cyd@gnu.org>
15158
15159 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15160
15161 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15162
15163 * files.el (find-file): Don't use force-same-window (bug#10144).
15164 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15165 use pop-to-buffer if the selected window can't be used.
15166 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15167
15168 2011-11-28 Eli Zaretskii <eliz@gnu.org>
15169
15170 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15171 special-mode-map.
15172
15173 2011-11-28 Chong Yidong <cyd@gnu.org>
15174
15175 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15176
15177 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
15178
15179 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15180 gdb-get-source-file-list on gdb-create-source-file-list.
15181
15182 2011-11-26 Eli Zaretskii <eliz@gnu.org>
15183
15184 * whitespace.el (whitespace-newline): Use a different foreground
15185 color for 16-color light-background displays.
15186
15187 2011-11-24 Chong Yidong <cyd@gnu.org>
15188
15189 * window.el (display-buffer--special-action): Doc fix.
15190
15191 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
15192
15193 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15194 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15195 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15196 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15197 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15198 (avl-tree-stack-first):
15199 * emacs-lisp/cconv.el (cconv--analyse-use):
15200 * net/gnutls.el (gnutls-negotiate): Fix typos.
15201
15202 2011-11-24 Glenn Morris <rgm@gnu.org>
15203
15204 * lpr.el (lpr-windows-system, lpr-lp-system):
15205 * mail/binhex.el (binhex-begin-line):
15206 * progmodes/grep.el (grep-history, grep-find-history):
15207 * textmodes/flyspell.el:
15208 * vc/pcvs-defs.el (cvs-global-menu):
15209 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15210 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15211 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15212
15213 * net/tls.el: Fix case of "GnuTLS".
15214
15215 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15216
15217 * version.el (emacs-build-system): Give it a doc-string.
15218
15219 2011-11-24 Juri Linkov <juri@jurta.org>
15220
15221 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15222
15223 2011-11-24 Glenn Morris <rgm@gnu.org>
15224
15225 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15226 if called on a non-mime message just toggle the headers. (Bug#8006)
15227
15228 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
15229
15230 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15231 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15232 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15233 (allout-rebullet-heading, allout-open-sibtopic)
15234 (allout-toggle-current-subtree-encryption)
15235 (allout-toggle-subtree-encryption, allout-encrypt-string)
15236 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15237 (allout-distinctive-bullets-string, allout-auto-activation):
15238 * window.el (window-normalize-buffer-to-display):
15239 * progmodes/verilog-mode.el (verilog-batch-indent):
15240 * textmodes/bibtex.el (bibtex-field-braces-opt)
15241 (bibtex-field-strings-opt):
15242 * vc/cvs-status.el (cvs-tree-merge):
15243 Fix typos.
15244
15245 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
15246
15247 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15248 `non-essential' to t, in order to avoid remote connections.
15249
15250 2011-11-23 Eli Zaretskii <eliz@gnu.org>
15251
15252 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15253 On MS-DOS and MS-Windows, compare with loaddefs.el
15254 case-insensitively.
15255
15256 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15257
15258 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15259
15260 2011-11-23 Glenn Morris <rgm@gnu.org>
15261
15262 * paths.el (rmail-file-name): Reformat the doc-string so that it
15263 is picked up.
15264
15265 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15266 (rmail-auto-file): Ignore case in the "special" field names,
15267 as mail-fetch-field does for all others.
15268
15269 * mail/rmail.el (rmail-forward):
15270 * mail/rmailkwd.el (rmail-set-label):
15271 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15272 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15273
15274 * mail/rmail.el (rmail-current-message): Doc fix.
15275
15276 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15277
15278 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15279
15280 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15281
15282 2011-11-22 Glenn Morris <rgm@gnu.org>
15283
15284 * mail/rmailmm.el (test-rmail-mime-handler)
15285 (test-rmail-mime-bulk-handler)
15286 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15287
15288 2011-11-21 Juri Linkov <juri@jurta.org>
15289
15290 * calc/calc.el (calc-read-key-sequence):
15291 Let-bind `input-method-function' to nil. (Bug#10018)
15292
15293 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15294
15295 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15296 Tell the caller that the next line needs recomputation, even
15297 though it doesn't start a sexp (bug#10094).
15298
15299 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15300
15301 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15302
15303 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15304
15305 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15306 Use force-same-window.
15307
15308 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15309
15310 * descr-text.el (describe-char-unicode-data):
15311 * json.el (json-string-escape):
15312 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15313 (Footnote-unicode, Footnote-style-p):
15314 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15315
15316 2011-11-20 Chong Yidong <cyd@gnu.org>
15317
15318 * window.el (replace-buffer-in-windows): Restore interactive spec.
15319
15320 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15321
15322 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15323
15324 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15325 (byte-compile-global-not-obsolete-vars): New var.
15326 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15327 Use it.
15328 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15329
15330 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15331
15332 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15333 * progmodes/pascal.el (electric-pascal-equal):
15334 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15335 * xml.el (xml-substitute-special): Fix typos.
15336
15337 2011-11-20 Glenn Morris <rgm@gnu.org>
15338
15339 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15340 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15341 Doc fixes.
15342 (rmail-decode-mime-charset): Mark as obsolete.
15343
15344 * mail/rmailsum.el (rmail-message-regexp-p-1):
15345 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15346 Before using mime functions, check they are set. (Bug#10077)
15347
15348 2011-11-19 Juri Linkov <juri@jurta.org>
15349
15350 * info.el (Info-finder-find-node): Use `package--builtins' instead
15351 of `package-alist'. Use node names formed by the pattern "Keyword "
15352 and the keyword name.
15353
15354 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15355
15356 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
15357
15358 2011-11-19 Juri Linkov <juri@jurta.org>
15359
15360 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15361 that calls `revert-buffer' on all Info buffers. (Bug#9915)
15362 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15363 `old-history', `old-history-forward'. Add let-binding
15364 `window-selected'. Remove calls to `kill-buffer',
15365 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
15366 before calling `Info-find-node', so `Info-find-node-2' will reread
15367 the Info file. Restore window positions only when `window-selected'
15368 is non-nil.
15369
15370 2011-11-19 Juri Linkov <juri@jurta.org>
15371
15372 * isearch.el (isearch-lazy-highlight-new-loop):
15373 Remove condition `(not isearch-error)'. (Bug#9918)
15374
15375 * misearch.el (multi-isearch-search-fun): Add condition
15376 `(not bound)' to ignore lazy-highlighting search.
15377 Add the search-failed message "end of multi" when the end of
15378 multi-sequence is reached. Uncapitalize the search-failed
15379 message "Repeat for next buffer".
15380
15381 * info.el (Info-search): Add the search-failed message
15382 "end of the manual" when the end of the manual is reached
15383 in Isearch mode.
15384
15385 2011-11-19 Juri Linkov <juri@jurta.org>
15386
15387 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
15388 Use non-destructive `remove' instead of `delete' because
15389 `Info-history-list' stored to `Info-isearch-initial-history-list' in
15390 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
15391
15392 2011-11-19 Juri Linkov <juri@jurta.org>
15393
15394 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
15395 to nil instead of binding `search-ring' and `regexp-search-ring'.
15396 (Bug#9185)
15397
15398 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15399
15400 * simple.el (line-move): Force movement by logical lines for any
15401 hscrolled window, not only when auto-hscroll-mode is on.
15402 (line-move-visual): Update doc string to that effect. (Bug#10076)
15403
15404 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15405
15406 * language/european.el (macintosh): Define as alias for mac-roman.
15407
15408 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15409
15410 * mail/rmailmm.el (rmail-mime-display-header)
15411 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
15412 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
15413 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
15414 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
15415 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
15416 of a raw aref.
15417 (rmail-mime-entity-segment): To get past the tagline, move forward
15418 2 more lines, to account for the 2 empty lines that precede and
15419 follow the line with the buttons.
15420 (rmail-mime-update-tagline): Move one more line, to get past the
15421 empty line that follows the buttons in the tagline. (Bug#9520)
15422
15423 2011-11-19 Martin Rudalics <rudalics@gmx.at>
15424
15425 * window.el (window-max-delta-1, window-min-delta-1)
15426 (window-min-size-1, window-state-get-1, window-state-put-1)
15427 (window-state-put-2): Use "window--" prefix.
15428
15429 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15430
15431 * emacs-lisp/smie.el: Improve warnings and conflict detection.
15432 (smie-warning-count): New var.
15433 (smie-set-prec2tab): Use it.
15434 (smie-bnf->prec2): Improve warnings. Add docstring.
15435 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
15436 (smie-bnf--set-class): New function.
15437 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
15438 corner case.
15439
15440 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
15441 (compilation-error-properties, compilation-move-to-column):
15442 Handle compilation-first-column while in the target buffer.
15443
15444 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
15445 Don't hardcode point-min==1.
15446
15447 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
15448 (eshell-rewrite-for-command): Remove workaround.
15449 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
15450 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
15451 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
15452
15453 * files-x.el (modify-file-local-variable): Obey commenting conventions.
15454
15455 2011-11-17 Glenn Morris <rgm@gnu.org>
15456
15457 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15458 Ignore buffer-local generated-autoload-file if it is the same
15459 as the global value. (Bug#10049)
15460
15461 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
15462
15463 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
15464 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
15465 (reftex-toc-previous-heading, reftex-toc-max-level)
15466 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
15467 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
15468 (reftex-toc-do-promote, reftex-toc-promote-prepare)
15469 (reftex-toc-promote-action, reftex-toc-extract-section-number)
15470 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
15471 (reftex-toc-rename-label, reftex-toc-visit-location)
15472 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
15473 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
15474 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
15475 leaving "*toc*" only for references to the buffer.
15476
15477 2011-11-17 Martin Rudalics <rudalics@gmx.at>
15478
15479 * window.el (window-resize, delete-window, split-window):
15480 Replace window-splits by window-combination-resize.
15481 * cus-start.el (window-splits): Replace by window-combination-resize.
15482
15483 2011-11-17 Glenn Morris <rgm@gnu.org>
15484
15485 * progmodes/sh-script.el (sh-font-lock-keywords-var):
15486 Make bash entry derive from sh entry, not shell entry.
15487
15488 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
15489
15490 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
15491 local file name.
15492
15493 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15494
15495 * menu-bar.el (menu-bar-file-menu):
15496 * printing.el (pr-ps-utility):
15497 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
15498 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
15499 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
15500 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
15501 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
15502 (icalendar--convert-cyclic-to-ical)
15503 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
15504 (icalendar--convert-ical-to-diary)
15505 (icalendar--convert-recurring-to-diary)
15506 (icalendar--convert-non-recurring-all-day-to-diary)
15507 (icalendar-import-format-sample):
15508 * progmodes/idlw-shell.el (idlwave-shell-mode):
15509 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
15510 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
15511 (vhdl-ps-print-init): Fix typos.
15512
15513 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
15514
15515 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
15516 FSF and collapse date sequence, obscure author/maintainer email address
15517 better, remove extra version line, track relocation of author's webpage.
15518
15519 * progmodes/python.el (python-pdbtrack-input-prompt)
15520 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
15521 regular python pdb prompts. Adjustments shamelessly taken exactly as
15522 suggested in EmacsWiki page (tiny change):
15523 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
15524
15525 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15526
15527 * expand.el (expand-pos, expand-index, expand-point):
15528 Remove redundant info from docstring.
15529 (expand-add-abbrevs): Doc fix.
15530 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
15531 (expand-sample-perl-mode-expand-list): Fix typos.
15532
15533 * net/dbus.el (dbus-event-member-name):
15534 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
15535 * term/pc-win.el (msdos-create-frame-with-faces):
15536 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
15537
15538 2011-11-16 Martin Rudalics <rudalics@gmx.at>
15539
15540 * window.el (split-window, window-state-get-1)
15541 (window-state-put-1, window-state-put-2): Rename occurrences of
15542 window-nest to window-combination-limit.
15543 * cus-start.el (window-nest): Rename to window-combination-limit.
15544
15545 2011-11-16 Chong Yidong <cyd@gnu.org>
15546
15547 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
15548 regexp (Bug#10033).
15549
15550 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15551
15552 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
15553 `completing-read' will remove *Completions* and will preserve
15554 current-buffer for us.
15555 (tmm-add-prompt): Users of *Completions* will always (re)set its
15556 major mode.
15557 (tmm-old-comp-map): Remove.
15558
15559 2011-11-16 Glenn Morris <rgm@gnu.org>
15560
15561 * mail/rmailedit.el: Require rmailmm when compiling.
15562 (rmail-old-mime-state): New declaration.
15563 (rmail-edit-current-message): If editing a mime message,
15564 edit the "raw" message from the mbox buffer.
15565 (rmail-cease-edit): Handle mime messages. (Bug#9840)
15566
15567 2011-11-15 Glenn Morris <rgm@gnu.org>
15568
15569 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
15570 which wasn't being used. Add optional arg to force given state.
15571 (rmail-mime): Add optional arg to force given state.
15572
15573 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
15574
15575 * allout.el (allout-encryption-plaintext-sanitization-regexps):
15576 * frame.el (display-mm-dimensions-alist):
15577 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
15578 (outline-move-subtree-down):
15579 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
15580 (newsticker--treeview-do-get-node):
15581 * net/quickurl.el (quickurl-list-buffer-name):
15582 * progmodes/dcl-mode.el (dcl-mode):
15583 * progmodes/gdb-mi.el (gdb-mapcar*):
15584 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
15585
15586 2011-11-15 Glenn Morris <rgm@gnu.org>
15587
15588 * mail/rmail.el (rmail-file-coding-system): It's only ever used
15589 in a boolean sense, so just make it a boolean, and fix the doc.
15590 (rmail-show-mime-function, rmail-mime-feature)
15591 (rmail-require-mime-maybe): Doc fixes.
15592 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
15593
15594 * mail/rmailmm.el (rmail-show-mime): Doc fix.
15595
15596 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
15597
15598 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
15599 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
15600 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
15601 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
15602
15603 2011-11-15 Glenn Morris <rgm@gnu.org>
15604
15605 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
15606 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
15607 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
15608 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
15609 (rmail-mime, rmail-show-mime): Doc fixes.
15610
15611 * term/ns-win.el (mode-line-frame-identification):
15612 Leave it alone. (Bug#10051)
15613
15614 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
15615
15616 * mail/rmailout.el (rmail-output-to-rmail-buffer):
15617 Handle empty buffers. (Bug#9978)
15618
15619 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
15620
15621 * international/mule.el (define-charset):
15622 * mail/rmailmm.el (rmail-mime-find-header-encoding):
15623 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
15624 * progmodes/verilog-mode.el (verilog-backward-token):
15625 * textmodes/ispell.el (lookup-words):
15626 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
15627
15628 2011-11-14 Glenn Morris <rgm@gnu.org>
15629
15630 * progmodes/executable.el
15631 (executable-make-buffer-file-executable-if-script-p):
15632 Handle file-modes returning nil.
15633
15634 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
15635 message - not necessary, and causes problems. (Bug#9831)
15636
15637 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
15638
15639 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
15640
15641 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
15642 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
15643 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
15644
15645 2011-11-12 Martin Rudalics <rudalics@gmx.at>
15646
15647 * window.el (window-resize, delete-window): Use window-splits
15648 variable instead of function.
15649 (window-state-get-1, window-state-put-2, window-state-put):
15650 Don't deal with windows' splits status.
15651
15652 2011-11-12 Glenn Morris <rgm@gnu.org>
15653
15654 * apropos.el (apropos-do-all, apropos-library, apropos-value)
15655 (apropos-documentation): Doc fixes.
15656
15657 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
15658
15659 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
15660 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
15661
15662 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15663
15664 * electric.el (electric-indent-post-self-insert-function): Make it
15665 possible for a char to only indent in some circumstances.
15666 (electric-indent-mode): Simplify.
15667
15668 2011-11-11 Martin Rudalics <rudalics@gmx.at>
15669
15670 * window.el (windows-with-parameter): Remove unused function.
15671 (windows-at-side): Rename to window-at-side-list.
15672 (window-check, window-atom-check, window-atom-check-1)
15673 (window-side-check, window-size-ignore, window-size-fixed-1)
15674 (window-in-direction-2): Prefix with "window--".
15675 (window-tree-1): Rename to window--subtree, fix doc-string.
15676
15677 2011-11-11 Glenn Morris <rgm@gnu.org>
15678
15679 * subr.el (eval-after-load): If FILE is already loaded,
15680 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
15681
15682 2011-11-10 Glenn Morris <rgm@gnu.org>
15683
15684 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
15685 Call svn via vc-svn-command rather than vc-do-command.
15686 (vc-svn-command): Add --non-interactive. (Bug#9993)
15687 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
15688
15689 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15690 Add toggle-read-only. (Bug#7292)
15691 * files.el (toggle-read-only): Mention that it should only
15692 be used interactively. (Bug#10006)
15693
15694 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
15695
15696 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15697 Adjust regexp for OCaml warnings.
15698
15699 * electric.el (electric-pair-post-self-insert-function): Let user
15700 turn it off buffer-locally (bug#9932).
15701
15702 * progmodes/python.el (python-beginning-of-statement):
15703 Rewrite (bug#2703).
15704
15705 * progmodes/compile.el: Better handle TABs (bug#9749).
15706 (compilation-internal-error-properties)
15707 (compilation-next-error-function): Obey the target buffer's
15708 compilation-error-screen-columns.
15709
15710 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
15711
15712 * progmodes/meta-mode.el: Remove obsolete comments.
15713 (meta-right-comment-regexp, meta-ignore-comment-regexp):
15714 Fix typos in docstrings.
15715
15716 2011-11-09 Martin Rudalics <rudalics@gmx.at>
15717
15718 * window.el (window-size-fixed-p): Rewrite doc-string.
15719 (window-resizable-p): Rename to window--resizable-p. Update callers.
15720 (window--resizable): New function. Make all callers of
15721 window-resizable call window--resizable instead.
15722 (window-resizable): Rewrite in terms of window--resizable.
15723
15724 2011-11-08 Glenn Morris <rgm@gnu.org>
15725
15726 * progmodes/delphi.el (delphi-mode-syntax-table):
15727 Let define-derived-mode define a proper syntax table. (Bug#9994)
15728
15729 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15730
15731 * window.el: Stay away from defsubst.
15732 (window-list-no-nils): Remove.
15733 (window-state-get-1, window-state-get): Use backquote instead.
15734
15735 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15736
15737 * emacs-lisp/find-func.el (find-function-read):
15738 Fix incorrect use of default argument in `completing-read'.
15739
15740 2011-11-08 Martin Rudalics <rudalics@gmx.at>
15741
15742 * window.el (display-buffer-function, special-display-function):
15743 Mention display-buffer-record-window but do not mention
15744 help-setup parameter in doc-strings.
15745 (window-min-delta): Fix doc-string typo.
15746
15747 2011-11-08 Chong Yidong <cyd@gnu.org>
15748
15749 * window.el (window-total-height, window-total-width): Doc fix.
15750 (window-body-size): Move from C.
15751 (window-body-height, window-body-width): Move to C.
15752
15753 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15754
15755 * window.el: Make special-display like display-buffer-alist (bug#9532).
15756 (display-buffer--special-action): New function, morphed
15757 from display-buffer--special.
15758 (display-buffer): Use it to handle special-display-buffers at higher
15759 priority (just after display-buffer-alist).
15760 (display-buffer-fallback-action, display-buffer--other-frame-action)
15761 (pop-to-buffer-same-window): Remove display-buffer--special.
15762
15763 2011-11-07 Glenn Morris <rgm@gnu.org>
15764
15765 * calendar/cal-menu.el (cal-menu-set-date-title):
15766 Do nothing if not in a calendar. (Bug#9976)
15767
15768 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
15769
15770 * files.el (find-file): Always use selected-window.
15771
15772 2011-11-07 Martin Rudalics <rudalics@gmx.at>
15773
15774 * window.el (window-combinations): Make WINDOW argument
15775 mandatory. Rewrite doc-string.
15776 (walk-window-subtree, window-atom-check, window-min-delta)
15777 (window-max-delta, window--resize-this-window)
15778 (window--resize-root-window-vertically, window-tree)
15779 (balance-windows, window-state-put): Rewrite doc-strings as to
15780 not mention the term "subwindow".
15781 (window--resize-subwindows-skip-p): Rename to
15782 window--resize-child-windows-skip-p.
15783 (window--resize-subwindows-normal): Rename to
15784 window--resize-child-windows-normal.
15785 (window--resize-subwindows): Rename to
15786 window--resize-child-windows.
15787 (window-or-subwindow-p): Rename to window--in-subtree-p.
15788
15789 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15790
15791 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
15792 Ensure that mbox format messages end in two newlines (Bug#9974).
15793
15794 2011-11-06 Chong Yidong <cyd@gnu.org>
15795
15796 * window.el (window-combination-p): Function deleted; its
15797 side-effect is not used in any existing code.
15798 (window-combinations, window-combined-p): Call window-*-child
15799 directly.
15800
15801 2011-11-05 Chong Yidong <cyd@gnu.org>
15802
15803 * window.el (window-valid-p): Rename from window-any-p.
15804 (window-size-ignore, window-state-get): Callers changed.
15805 (window-normalize-window): Rename from window-normalize-any-window.
15806 New arg LIVE-ONLY, replacing window-normalize-live-window.
15807 (window-normalize-live-window): Delete.
15808 (window-combination-p, window-combined-p, window-combinations)
15809 (walk-window-subtree, window-atom-root, window-min-size)
15810 (window-sizable, window-sizable-p, window-size-fixed-p)
15811 (window-min-delta, window-max-delta, window-resizable)
15812 (window-resizable-p, window-full-height-p, window-full-width-p)
15813 (window-current-scroll-bars, window-point-1, set-window-point-1)
15814 (window-at-side-p, window-in-direction, window-resize)
15815 (adjust-window-trailing-edge, maximize-window, minimize-window)
15816 (window-deletable-p, delete-window, delete-other-windows)
15817 (record-window-buffer, unrecord-window-buffer)
15818 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
15819 (quit-window, split-window, window-state-put)
15820 (set-window-text-height, fit-window-to-buffer)
15821 (shrink-window-if-larger-than-buffer): Callers changed.
15822
15823 2011-11-04 Eli Zaretskii <eliz@gnu.org>
15824
15825 * mail/rmail.el (rmail-simplified-subject): Decode subject with
15826 rfc2047-decode-string.
15827 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
15828 warnings.
15829
15830 * window.el (window-body-height, window-body-width): Mention in
15831 the doc string that the return values are in frame's canonical
15832 units. (Bug#9949)
15833
15834 2011-11-03 Alan Mackenzie <acm@muc.de>
15835
15836 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
15837 change in cc-engine.el.
15838
15839 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
15840
15841 * window.el (switch-to-buffer): Use `force-same-window' interactively.
15842
15843 2011-11-02 Martin Rudalics <rudalics@gmx.at>
15844
15845 * window.el (quit-window): Call unrecord-window-buffer after
15846 showing another buffer in the window. (Bug#9937)
15847 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
15848
15849 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
15850
15851 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
15852 Accept status with more than 9 shelves. (Bug#9935)
15853 Reported by Colin D Bennett <colin@gibibit.com>.
15854
15855 2011-11-01 Martin Rudalics <rudalics@gmx.at>
15856
15857 * help.el (with-help-window): Don't reference
15858 temp-buffer-show-specifiers in doc-string.
15859
15860 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
15861
15862 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
15863 menu-item.
15864
15865 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15866
15867 * whitespace.el: New version 13.2.2.
15868 (whitespace-newline-mode): Disable properly. Reported by Sarah
15869 <EmacsWiki>.
15870
15871 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
15872
15873 * net/newst-treeview.el: Remove "Time-stamp".
15874 (newsticker--group-manage-orphan-feeds): Do not call
15875 newsticker--treeview-tree-update.
15876 (newsticker-treeview-update, newsticker-treeview):
15877 Call newsticker--treeview-tree-update if necessary.
15878
15879 2011-10-30 Martin Rudalics <rudalics@gmx.at>
15880
15881 * window.el (window-iso-combination-p, window-iso-combined-p)
15882 (window-iso-combinations): Remove "iso-" infix.
15883 Suggested by Chong Yidong.
15884 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
15885 (window-max-delta-1, window-resize, window--resize-siblings)
15886 (window--resize-this-window, adjust-window-trailing-edge)
15887 (split-window, balance-windows-1)
15888 (shrink-window-if-larger-than-buffer):
15889 * calendar/calendar.el (calendar-generate-window):
15890 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
15891
15892 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15893
15894 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
15895 in place (bug#9907).
15896 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
15897 (eshell-rewrite-if-command, eshell-rewrite-for-command)
15898 (eshell-structure-basic-command, eshell-rewrite-while-command)
15899 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
15900 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
15901 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
15902 (eshell-do-pipelines-synchronously, eshell-eval-command):
15903 Use backquotes and prefer setq to set.
15904 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
15905 (eshell-macrop): Use functionp.
15906 (eshell-do-eval): Handle multiple expressions in `while' body.
15907
15908 2011-10-30 Chong Yidong <cyd@gnu.org>
15909
15910 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
15911 instead of set-mark (Bug#9810).
15912
15913 2011-10-30 Chong Yidong <cyd@gnu.org>
15914
15915 * window.el (split-window-below, split-window-right): Rename from
15916 split-window-above-each-other and split-window-side-by-side
15917 respectively. All callers changed.
15918 (split-window-sensibly, split-window-sensibly): Use them.
15919 (split-window-keep-point): Doc fix.
15920
15921 * isearch.el: Add isearch-scroll property to split-window-below
15922 and split-window-right.
15923
15924 * follow.el (follow-mode):
15925 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15926 * progmodes/ada-xref.el (ada-gdb-application):
15927 * emulation/vip.el (vip-buffer-in-two-windows):
15928 * image-dired.el (image-dired-dired-with-window-configuration):
15929 * dired-x.el (dired-do-find-marked-files):
15930 * dired.el (dired-pop-to-buffer):
15931 * bs.el (bs--show-with-configuration):
15932 * vc/emerge.el (emerge-setup-windows):
15933 * textmodes/two-column.el (2C-two-columns):
15934 * textmodes/reftex-toc.el (reftex-toc):
15935 * progmodes/gdb-mi.el (gdb-setup-windows):
15936 * progmodes/fortran.el (fortran-window-create):
15937 * net/newst-treeview.el (newsticker--treeview-window-init):
15938 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
15939 * emulation/tpu-edt.el (tpu-gold-map):
15940 * emulation/crisp.el (crisp-mode-map):
15941 * calendar/calendar.el (calendar-basic-setup): Callers changed.
15942
15943 2011-10-29 Chong Yidong <cyd@gnu.org>
15944
15945 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
15946
15947 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
15948
15949 * textmodes/flyspell.el (flyspell-word): Fix char offset for
15950 forged Ispell output (Bug#7904).
15951
15952 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
15953
15954 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15955
15956 * doc-view.el: Avoid ugly errors about not finding nil.
15957 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
15958 (doc-view-dvipdf-program, doc-view-unoconv-program)
15959 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
15960 Avoid nil or absolute file name as default value.
15961 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
15962
15963 2011-10-28 Alan Mackenzie <acm@muc.de>
15964
15965 * progmodes/cc-defs.el (c-version): -> 5.32.2.
15966
15967 2011-10-28 Alan Mackenzie <acm@muc.de>
15968
15969 Amend the handling of c-beginning/end-of-defun in nested declaration
15970 scopes.
15971
15972 * progmodes/cc-vars.el (c-defun-tactic): Move here from
15973 cc-langs.el. Change it to a defcustom.
15974
15975 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
15976 cc-vars.el.
15977
15978 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15979 Prevent "class foo : bar" being spuriously recognized as a label.
15980
15981 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
15982 Add parameter `inclusive' (to include enclosing braces in the region).
15983 (c-widen-to-enclosing-decl-scope): New function.
15984 (c-while-widening-to-decl-block): New macro.
15985 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
15986 outward for defun boundaries, and correspondingly change symbol
15987 `respect-enclosure' to `go-outward'.
15988 (c-declaration-limits): Change algorithm to report only the "innermost"
15989 defun's boundaries.
15990
15991 2011-10-28 Deniz Dogan <deniz@dogan.se>
15992
15993 * net/rcirc.el (rcirc-mode): Use hard newlines.
15994
15995 2011-10-28 Alan Mackenzie <acm@muc.de>
15996
15997 Amend to indent and fontify macros "which include their own semicolon"
15998 correctly, using the "virtual semicolon" mechanism.
15999
16000 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
16001
16002 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16003 Recode to scan one line at a time rather than having \n and \r
16004 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
16005 (c-forward-label): Amend for virtual semicolons.
16006 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
16007
16008 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16009 of the new C macros.
16010
16011 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
16012 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16013 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
16014 (c-opt-cpp-macro-define): Make into a full language variable.
16015 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16016 AWK Mode (including \n, \r) removed, no longer needed.
16017
16018 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16019 Invoke c-make-macro-with-semi-re.
16020
16021 * progmodes/cc-vars.el (c-macro-with-semi-re):
16022 (c-macro-names-with-semicolon): New variables.
16023 (c-make-macro-with-semi-re): New function.
16024
16025 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16026
16027 * vc/log-edit.el: Fill empty field rather than adding new one.
16028 (log-edit-add-field): New function.
16029 (log-edit-insert-changelog): Use it.
16030
16031 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16032
16033 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16034
16035 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16036
16037 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16038 (gdb--check-interpreter): New function.
16039 (gdb): Use it.
16040
16041 2011-10-27 Glenn Morris <rgm@gnu.org>
16042
16043 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16044 (least-positive-float, least-negative-float)
16045 (least-positive-normalized-float, least-negative-normalized-float)
16046 (float-epsilon, float-negative-epsilon):
16047 Remove unnecessary declarations.
16048
16049 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16050 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16051 (least-positive-float, least-negative-float)
16052 (least-positive-normalized-float, least-negative-normalized-float)
16053 (float-epsilon, float-negative-epsilon): Add doc-strings,
16054 based on those in cl.texi.
16055
16056 * files.el (set-visited-file-name): If the major-mode changed,
16057 reload the local variables. (Bug#9796)
16058
16059 2011-10-27 Chong Yidong <cyd@gnu.org>
16060
16061 * subr.el (change-major-mode-after-body-hook): New hook.
16062 (run-mode-hooks): Run it.
16063
16064 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16065 Use change-major-mode-before-body-hook.
16066
16067 * simple.el (fundamental-mode):
16068 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16069 change introducing fundamental-mode-hook.
16070
16071 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
16072
16073 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
16074
16075 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
16076
16077 * ido.el (ido-file-name-all-completions-1): Do not require
16078 tramp.el explicitly. (Bug#7583)
16079
16080 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16081
16082 * progmodes/octave-mod.el:
16083 * progmodes/octave-inf.el: Update maintainer.
16084
16085 2011-10-26 Chong Yidong <cyd@gnu.org>
16086
16087 * subr.el (with-wrapper-hook): Rewrite doc.
16088
16089 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
16090
16091 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
16092 filenames "/method:foo:". (Bug#9793)
16093
16094 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16095
16096 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16097 (bug#9865).
16098
16099 2011-10-24 Glenn Morris <rgm@gnu.org>
16100
16101 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16102
16103 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
16104
16105 * notifications.el: Add the requirement of a running D-Bus session
16106 bus to the Commentary.
16107
16108 2011-10-24 Juri Linkov <juri@jurta.org>
16109
16110 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16111 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16112 (Bug#9364)
16113
16114 2011-10-24 Juri Linkov <juri@jurta.org>
16115
16116 * info.el (Info-following-node-name-re): Add newline to the list
16117 of allowed characters for leading space. (Bug#9824)
16118
16119 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16120
16121 * progmodes/octave-inf.el (inferior-octave-mode-map):
16122 Fix C-c C-h binding.
16123 * progmodes/octave-mod.el (octave-help): Remove.
16124
16125 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
16126
16127 Sync with Tramp 2.2.3.
16128
16129 * net/tramp-cache.el (top): Pacify byte-compiler using
16130 `init-file-user' and `site-run-file'.
16131
16132 * net/trampver.el: Update release number.
16133
16134 2011-10-23 Chong Yidong <cyd@gnu.org>
16135
16136 * files.el (toggle-read-only): Remove obsolete comment about
16137 version control.
16138
16139 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16140 for toggle-read-only. Note that this hasn't called vc-next-action
16141 since 2008-05-02, though it wasn't documented at the time.
16142
16143 * vc/ediff-init.el (ediff-toggle-read-only-function):
16144 Use toggle-read-only.
16145
16146 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
16147
16148 Fix bug #9560, sporadic wrong indentation; improve instrumentation
16149 of c-parse-state.
16150
16151 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
16152 correct faulty logical expression.
16153 (c-parse-state-state, c-record-parse-state-state):
16154 (c-replay-parse-state-state): New defvar/defuns.
16155 (c-debug-parse-state): Use new functions.
16156
16157 2011-10-22 Martin Rudalics <rudalics@gmx.at>
16158
16159 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
16160 last fix. Use window-in-direction correctly.
16161
16162 2011-10-21 Chong Yidong <cyd@gnu.org>
16163
16164 * progmodes/idlwave.el (idlwave-mode):
16165 * progmodes/vera-mode.el (vera-mode): No need to set
16166 require-final-newline; that's done in prog-mode.
16167 Suggested by Stefan Monnier.
16168
16169 2011-10-21 Martin Rudalics <rudalics@gmx.at>
16170
16171 * mouse.el (mouse-drag-window-above)
16172 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16173 (mouse-drag-mode-line-1, mouse-drag-header-line)
16174 (mouse-drag-vertical-line-rightward-window): Remove.
16175 (mouse-drag-line): New function.
16176 (mouse-drag-mode-line, mouse-drag-header-line)
16177 (mouse-drag-vertical-line): Call mouse-drag-line.
16178 * window.el (window-at-side-p, windows-at-side): New functions.
16179
16180 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
16181
16182 * tar-mode.el (tar-grind-file-mode):
16183 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
16184
16185 2011-10-21 Chong Yidong <cyd@gnu.org>
16186
16187 * progmodes/idlwave.el (idlwave-mode):
16188 * progmodes/vera-mode.el (vera-mode):
16189 Use mode-require-final-newline.
16190
16191 2011-10-20 Glenn Morris <rgm@gnu.org>
16192
16193 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
16194
16195 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16196
16197 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16198
16199 2011-10-20 Chong Yidong <cyd@gnu.org>
16200
16201 * emulation/cua-base.el (cua-mode):
16202 * mail/footnote.el (footnote-mode):
16203 * mail/mailabbrev.el (mail-abbrevs-mode):
16204 * net/xesam.el (xesam-minor-mode):
16205 * progmodes/bug-reference.el (bug-reference-mode):
16206 * progmodes/cap-words.el (capitalized-words-mode):
16207 * progmodes/compile.el (compilation-minor-mode)
16208 (compilation-shell-minor-mode):
16209 * progmodes/gud.el (gud-tooltip-mode):
16210 * progmodes/hideif.el (hide-ifdef-mode):
16211 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16212 * progmodes/subword.el (subword-mode):
16213 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16214 * progmodes/which-func.el (which-function-mode):
16215 * term/tvi970.el (tvi970-set-keypad-mode):
16216 * term/vt100.el (vt100-wide-mode):
16217 * textmodes/flyspell.el (flyspell-mode):
16218 * textmodes/ispell.el (ispell-minor-mode):
16219 * textmodes/nroff-mode.el (nroff-electric-mode):
16220 * textmodes/paragraphs.el (use-hard-newlines):
16221 * textmodes/refill.el (refill-mode):
16222 * textmodes/reftex.el (reftex-mode):
16223 * textmodes/rst.el (rst-minor-mode):
16224 * textmodes/sgml-mode.el (html-autoview-mode)
16225 (sgml-electric-tag-pair-mode):
16226 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16227 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16228 * emulation/crisp.el (crisp-mode):
16229 * emacs-lisp/eldoc.el (eldoc-mode):
16230 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16231 minor mode behavior.
16232
16233 2011-10-19 Juri Linkov <juri@jurta.org>
16234
16235 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16236 the list of hard-coded chars with escape-glyph face.
16237
16238 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16239
16240 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16241
16242 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
16243
16244 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16245 running process.
16246
16247 2011-10-19 Glenn Morris <rgm@gnu.org>
16248
16249 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16250 Ignore ignored files. (Bug#9726)
16251
16252 2011-10-19 Chong Yidong <cyd@gnu.org>
16253
16254 Doc fix for minor modes, stating that an omitted argument enables
16255 the mode unconditionally when called from Lisp.
16256
16257 * abbrev.el (abbrev-mode):
16258 * allout.el (allout-mode):
16259 * autoinsert.el (auto-insert-mode):
16260 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16261 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16262 (global-auto-revert-mode):
16263 * battery.el (display-battery-mode):
16264 * composite.el (global-auto-composition-mode)
16265 (auto-composition-mode):
16266 * delsel.el (delete-selection-mode):
16267 * desktop.el (desktop-save-mode):
16268 * dired-x.el (dired-omit-mode):
16269 * dirtrack.el (dirtrack-mode):
16270 * doc-view.el (doc-view-minor-mode):
16271 * double.el (double-mode):
16272 * electric.el (electric-indent-mode, electric-pair-mode):
16273 * emacs-lock.el (emacs-lock-mode):
16274 * epa-hook.el (auto-encryption-mode):
16275 * follow.el (follow-mode):
16276 * font-core.el (font-lock-mode):
16277 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16278 * help.el (temp-buffer-resize-mode):
16279 * hilit-chg.el (highlight-changes-mode)
16280 (highlight-changes-visible-mode):
16281 * hi-lock.el (hi-lock-mode):
16282 * hl-line.el (hl-line-mode, global-hl-line-mode):
16283 * icomplete.el (icomplete-mode):
16284 * ido.el (ido-everywhere):
16285 * image-file.el (auto-image-file-mode):
16286 * image-mode.el (image-minor-mode):
16287 * iswitchb.el (iswitchb-mode):
16288 * jka-cmpr-hook.el (auto-compression-mode):
16289 * linum.el (linum-mode):
16290 * longlines.el (longlines-mode):
16291 * master.el (master-mode):
16292 * mb-depth.el (minibuffer-depth-indicate-mode):
16293 * menu-bar.el (menu-bar-mode):
16294 * minibuf-eldef.el (minibuffer-electric-default-mode):
16295 * mouse-sel.el (mouse-sel-mode):
16296 * msb.el (msb-mode):
16297 * mwheel.el (mouse-wheel-mode):
16298 * outline.el (outline-minor-mode):
16299 * paren.el (show-paren-mode):
16300 * recentf.el (recentf-mode):
16301 * reveal.el (reveal-mode, global-reveal-mode):
16302 * rfn-eshadow.el (file-name-shadow-mode):
16303 * ruler-mode.el (ruler-mode):
16304 * savehist.el (savehist-mode):
16305 * scroll-all.el (scroll-all-mode):
16306 * scroll-bar.el (scroll-bar-mode):
16307 * server.el (server-mode):
16308 * shell.el (shell-dirtrack-mode):
16309 * simple.el (auto-fill-mode, transient-mark-mode)
16310 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16311 (line-number-mode, column-number-mode, size-indication-mode)
16312 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16313 * strokes.el (strokes-mode):
16314 * time.el (display-time-mode):
16315 * t-mouse.el (gpm-mouse-mode):
16316 * tool-bar.el (tool-bar-mode):
16317 * tooltip.el (tooltip-mode):
16318 * type-break.el (type-break-mode-line-message-mode)
16319 (type-break-query-mode):
16320 * view.el (view-mode):
16321 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16322 (global-whitespace-mode, global-whitespace-newline-mode):
16323 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16324
16325 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16326 Fix autogenerated docstring.
16327
16328 2011-10-19 Juri Linkov <juri@jurta.org>
16329
16330 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16331 by checking environment variables "DESKTOP_SESSION" and
16332 "XDG_CURRENT_DESKTOP". (Bug#9779)
16333
16334 2011-10-19 Juri Linkov <juri@jurta.org>
16335
16336 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16337 (browse-url-chromium-program, browse-url-chromium-arguments):
16338 New defcustoms.
16339 (browse-url-default-browser): Check for `browse-url-chromium' and
16340 call `browse-url-chromium-program'.
16341 (browse-url-chromium): New command. (Bug#9779)
16342
16343 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
16344
16345 * facemenu.el (list-colors-duplicates): On Windows, detect more
16346 duplicates by assuming that only colors matching "^System" are
16347 special "system colors". (Bug#9722)
16348
16349 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16350
16351 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16352 to distinguish the author from the committer.
16353
16354 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
16355
16356 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16357
16358 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
16359
16360 * international/mule.el (sgml-html-meta-auto-coding-function):
16361 Add support for detecting encoding in HTML5 specified only as
16362 <meta charset="UTF-8">. Implementation just makes http-equiv and
16363 content-type parts from HTML4 encoding string optional. (Bug#9716)
16364
16365 2011-10-18 Glenn Morris <rgm@gnu.org>
16366
16367 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
16368
16369 2011-10-18 Chong Yidong <cyd@gnu.org>
16370
16371 * faces.el (cursor): Doc fix.
16372
16373 2011-10-17 Chong Yidong <cyd@gnu.org>
16374
16375 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16376
16377 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
16378
16379 * dirtrack.el (dirtrack): Support shell buffers with path
16380 prefixes, e.g. tramp-based remote shells. (Bug#9647)
16381
16382 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
16383
16384 * json.el: Bump version to 1.3 and note change in History.
16385 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16386
16387 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16388
16389 * comint.el (comint-insert-input, comint-send-input)
16390 (comint-get-old-input-default, comint-backward-matching-input)
16391 (comint-next-prompt): Use nil instead of `input' for field property of
16392 past user input (bug#114).
16393
16394 * minibuffer.el (completion--replace): Inherit surrounding properties
16395 (bug#114).
16396 (minibuffer-complete-and-exit): Use it.
16397
16398 * comint.el (comint--table-subvert): Quote the all-completions output
16399 (bug#9160).
16400
16401 2011-10-17 Martin Rudalics <rudalics@gmx.at>
16402
16403 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
16404
16405 * menu-bar.el (menu-bar-file-menu): Add entry for making new
16406 window on right of selected. (Bug#9350) Reword other window
16407 entries and separate them from frame entries.
16408
16409 2011-10-15 Glenn Morris <rgm@gnu.org>
16410
16411 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
16412 Doc fixes.
16413
16414 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
16415
16416 * net/network-stream.el (network-stream-open-starttls):
16417 Improve detection of failure due to lack of TLS support.
16418
16419 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
16420 putting the input text in front and in bold.
16421
16422 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16423
16424 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
16425
16426 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
16427 empty buffer.
16428
16429 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
16430 unread-command-events rather than pushing yet-another event.
16431
16432 2011-10-14 Eli Zaretskii <eliz@gnu.org>
16433
16434 * mail/sendmail.el (sendmail-query-once): Improve the wording of
16435 the explanation of the possible choices. Make the options passed
16436 to completing-read shorter.
16437
16438 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16439
16440 * textmodes/flyspell.el (flyspell-large-region): Make sure
16441 extended character mode is used if defined (Bug#1339).
16442
16443 2011-10-13 Eli Zaretskii <eliz@gnu.org>
16444
16445 * simple.el (what-cursor-position): Fix the display of the
16446 character info for LRE, LRO, RLE, and RLO characters by appending
16447 an invisible PDF.
16448
16449 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
16450
16451 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
16452 even in case of error; add debug spec; simplify data flow.
16453 (with-timeout-handler): Remove.
16454
16455 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
16456
16457 Fix Bug#6019, Bug#9315.
16458
16459 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
16460 complete `buffer-file-name', the local file name part could look
16461 remotely (for example on VMS).
16462
16463 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
16464 `tramp-run-real-handler'.
16465 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
16466 already quoted by '"'.
16467
16468 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
16469 Let `file-name-handler-alist' be nil, the local file name part
16470 could look remotely (for example on VMS).
16471
16472 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
16473
16474 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
16475 from here...
16476 (flyspell-post-command-hook): ...to here.
16477
16478 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16479
16480 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
16481 if not needed.
16482 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
16483 using completion. Protect against "slow" callers.
16484 Remove the "message hack".
16485
16486 2011-10-11 Juri Linkov <juri@jurta.org>
16487
16488 * isearch.el (isearch-lazy-highlight-word): New variable.
16489 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
16490 Use it. (Bug#9727)
16491
16492 2011-10-11 Glenn Morris <rgm@gnu.org>
16493
16494 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
16495 like f90-previous-statement does.
16496
16497 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16498
16499 * eshell/eshell.el (eshell-command): History should be saved
16500 only in interactive use, to avoid error.
16501
16502 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16503
16504 * minibuffer.el (completion-file-name-table): Fix last change,
16505 i.e. ignore normal errors but not the other ones.
16506
16507 2011-10-10 Martin Rudalics <rudalics@gmx.at>
16508
16509 * window.el (special-display-buffer-names)
16510 (special-display-regexps): Remove some remnants of earlier
16511 changes from doc-strings.
16512 (quit-windows-on): New function.
16513
16514 * vc/vc.el (vc-revert, vc-rollback):
16515 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
16516 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
16517 (Bug#6183) (Bug#7074) (Bug#7447)
16518
16519 2011-10-09 Martin Rudalics <rudalics@gmx.at>
16520
16521 * window.el (frame-auto-hide-function): Add version tag.
16522 (Bug#9699)
16523
16524 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
16525
16526 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
16527 condition.
16528
16529 2011-10-09 Leo Liu <sdl.web@gmail.com>
16530
16531 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
16532 (Bug#9701)
16533
16534 2011-10-08 Glenn Morris <rgm@gnu.org>
16535
16536 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
16537 before the first code statement zero indent. (Bug#9690)
16538
16539 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
16540
16541 * simple.el (count-words-region): Always count in the region.
16542 Report the number of lines and characters too.
16543 (count-words): New command, which counts in the buffer if the
16544 region is inactive, as count-words-region used to.
16545 (count-words--message): New function. Handle plurals.
16546 (count-lines-region): Make it an alias for count-words-region.
16547
16548 * bindings.el (esc-map): Replace count-lines-region with
16549 count-words-region.
16550
16551 2011-10-08 Martin Rudalics <rudalics@gmx.at>
16552
16553 * window.el (window--delete): Delete dedicated frame
16554 unconditionally when argument KILL is non-nil. (Bug#9699)
16555 (switch-to-buffer): Fix doc-string typo.
16556
16557 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16558
16559 * eshell/eshell.el (eshell-command): Avoid using hooks.
16560
16561 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
16562
16563 * bindings.el ([M-left],[M-right]): Bind to left-word and
16564 right-word respectively.
16565
16566 2011-10-07 Glenn Morris <rgm@gnu.org>
16567
16568 * cus-start.el (debug-on-quit): Fix custom type.
16569
16570 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16571
16572 * subr.el (define-key-after): Clarify that the function is not
16573 useful for non-menu keymaps.
16574
16575 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
16576
16577 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16578
16579 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
16580 in current minibuffer (Fix bug with recursive minibuffers).
16581
16582 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
16583
16584 * progmodes/gdb-mi.el (gdb): Doc fix.
16585
16586 2011-10-05 Martin Rudalics <rudalics@gmx.at>
16587
16588 * window.el (frame-auto-hide-function): New option replacing
16589 frame-auto-delete. Suggested by Stefan Monnier.
16590 (window--delete): Call frame-auto-hide-function instead of
16591 investigating frame-auto-delete.
16592 (window-point-1, set-window-point-1): New functions.
16593 (window-in-direction, record-window-buffer, window-state-get-1)
16594 (display-buffer-record-window): Use window-point-1 instead of
16595 window-point.
16596 (set-window-buffer-start-and-point): Use set-window-point-1.
16597
16598 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16599
16600 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
16601
16602 2011-10-05 Glenn Morris <rgm@gnu.org>
16603
16604 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
16605 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
16606
16607 2011-10-05 Leo Liu <sdl.web@gmail.com>
16608
16609 * subr.el (read-char-choice): Fix argument to buffer-live-p which
16610 works with buffer object.
16611
16612 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16613
16614 * mpc.el (mpc-tool-bar-map): Add labels.
16615
16616 2011-10-04 Glenn Morris <rgm@gnu.org>
16617
16618 * calendar/holidays.el (calendar-check-holidays): Doc fix.
16619
16620 2011-10-04 Martin Rudalics <rudalics@gmx.at>
16621
16622 * window.el (window--delete): New function.
16623 (frame-auto-delete): Resuscitate option.
16624 (bury-buffer, replace-buffer-in-windows)
16625 (quit-window): Rewrite using window--delete.
16626 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16627 Pass display-buffer-mark-dedicated to window--display-buffer-2
16628 (Bug#9639).
16629
16630 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16631
16632 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
16633 returns a list (bug#9554). Add remote file name completion.
16634 * comint.el (comint--table-subvert): Curry and get quote&unquote
16635 functions as arguments.
16636 (comint--complete-file-name-data): Adjust call accordingly.
16637 * pcomplete.el (pcomplete--table-subvert): Remove.
16638 (pcomplete-completions-at-point): Use comint--table-subvert instead.
16639
16640 * minibuffer.el (completion-table-case-fold): Use currying.
16641 (completion--styles-type, completion--cycling-threshold-type):
16642 New constants.
16643 (completion-styles, completion-category-overrides)
16644 (completion-cycle-threshold): Use them.
16645 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
16646 completion-table-case-fold.
16647
16648 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
16649
16650 * minibuffer.el (completion-category-overrides): Fix type of styles
16651 and add more user friendly tags (bug#9660).
16652
16653 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16654
16655 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
16656 (mule-input-method-string): New widget.
16657 (default-input-method, language-info-custom-alist): Use it.
16658
16659 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16660
16661 * pcomplete.el: Require comint.
16662 (pcomplete--common-suffix): Remove.
16663 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
16664 (pcomplete--table-subvert): Sync with comint--table-subvert.
16665 (pcomplete--entries): Use comint-completion-file-name-table.
16666 * comint.el (comint-unquote-filename): Simplify.
16667 (comint-completion-file-name-table): New function (bug#9616).
16668 (comint--complete-file-name-data): Use it.
16669
16670 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
16671 (pcmpl-gnu-tar-buffer): Remove.
16672 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
16673 around. Make sure pcomplete-suffix-list is only changed temporarily.
16674 Don't look inside the tar's file if it's too large.
16675
16676 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
16677
16678 * cus-edit.el (custom-mode-map):
16679 * epa.el (epa-key-list-mode-map):
16680 * man.el (Man-mode-map):
16681 * startup.el (splash-screen-keymap):
16682 * simple.el (special-mode-map): Use scroll-up-command and
16683 scroll-down-command.
16684
16685 * progmodes/idlw-help.el (idlwave-help-mode-map):
16686 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
16687 * net/newst-plainview.el (newsticker-mode-map):
16688 * emulation/ws-mode.el (wordstar-mode-map):
16689 * emulation/vi.el (vi-com-map):
16690 * calc/calc-graph.el (calc-graph-show-dumb):
16691 * term/sun.el (terminal-init-sun):
16692 * term/ns-win.el (global-map):
16693 * progmodes/grep.el (grep-mode-map):
16694 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
16695 * mail/rmail.el (rmail-mode-map):
16696 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
16697
16698 * custom.el (custom-safe-themes, load-theme): Treat value of t for
16699 custom-safe-themes as special.
16700
16701 2011-10-01 Julien Danjou <julien@danjou.info>
16702
16703 * notifications.el (notifications-notify): Fix docstring.
16704
16705 2011-10-01 Per Starbäck <per@starback.se>
16706
16707 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
16708
16709 2011-09-30 Martin Rudalics <rudalics@gmx.at>
16710
16711 * startup.el (command-line-1): Fix last fix by inserting
16712 initial-scratch-message into *scratch* before displaying it.
16713 (Bug#9605) and (Bug#9636)
16714
16715 2011-09-29 Eli Zaretskii <eliz@gnu.org>
16716
16717 * simple.el (line-move): If auto-hscroll-mode is disabled and the
16718 window is hscrolled, move by logical lines. (Bug#9607)
16719 (line-move-visual): Update the doc string to the above effect.
16720
16721 2011-09-29 Martin Rudalics <rudalics@gmx.at>
16722
16723 * window.el (display-buffer-record-window): When WINDOW is the
16724 selected window use `point' instead of `window-point'. (Bug#9626)
16725
16726 * startup.el (command-line-1): Use insert-before-markers when
16727 inserting initial-scratch-message. (Bug#9605)
16728
16729 * help.el (help-window): Remove variable.
16730
16731 2011-09-29 Glenn Morris <rgm@gnu.org>
16732
16733 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
16734
16735 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
16736
16737 * descr-text.el (describe-char-categories): Accept category
16738 descriptions more than one line long.
16739
16740 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
16741
16742 * simple.el (delete-trailing-whitespace): Fix last change.
16743
16744 * progmodes/perl-mode.el (perl-syntax-propertize-function):
16745 Don't confuse "y => 3" as the beginning of a `y' operation.
16746
16747 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
16748 object has more than 4 slots (bug#9613).
16749
16750 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
16751
16752 * subr.el (with-output-to-temp-buffer):
16753 * net/quickurl.el (quickurl, quickurl-browse-url):
16754 Fix typos in docstrings.
16755
16756 2011-09-27 Eli Zaretskii <eliz@gnu.org>
16757
16758 * minibuffer.el (completion-styles)
16759 (completion-category-overrides): Cross reference each other in doc
16760 strings.
16761
16762 2011-09-27 Glenn Morris <rgm@gnu.org>
16763
16764 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
16765 to split-string. (Bug#9606)
16766
16767 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16768
16769 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
16770 (bug#9615).
16771
16772 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
16773
16774 * emacs-lisp/package.el (list-packages): Fix echo area message.
16775
16776 2011-09-27 Leo Liu <sdl.web@gmail.com>
16777
16778 * ido.el (ido-read-internal): Accept cons cell HIST arg.
16779
16780 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
16781
16782 * net/dbus.el (dbus-unregister-object): Don't release services for
16783 registered signals. (Bug#9581)
16784
16785 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
16786
16787 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
16788 function that picks between cfengine 2 and 3 support
16789 automatically. Update docs accordingly.
16790
16791 2011-09-22 Kenichi Handa <handa@m17n.org>
16792
16793 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
16794 ZERO.
16795 (indian-itrans-v5-table-for-tamil): New variable.
16796 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
16797
16798 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
16799
16800 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
16801 that's true if the current command involved collapsing of text.
16802 It's reset to false at the beginning of the next command.
16803 (allout-post-command-business): Move the cursor to the beginning
16804 of entry if the cursor is hidden and collapsing activity just
16805 happened.
16806
16807 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
16808
16809 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
16810 tracking (Bug#9541).
16811
16812 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
16813
16814 * net/newst-reader.el (newsticker-html-renderer)
16815 (newsticker-show-news): Automatically load html rendering package
16816 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
16817 because w3m-fill-column is let-bound" and the error "Symbol's value
16818 as variable is void: w3m-fill-column".
16819
16820 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
16821
16822 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
16823 Release services only if they are defined. (Bug#9581)
16824
16825 2011-09-23 Richard Stallman <rms@gnu.org>
16826
16827 * textmodes/paragraphs.el (forward-sentence): For backwards case,
16828 distinguish start of paragraph from start of its text.
16829
16830 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
16831
16832 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
16833 (rmail-generate-viewer-buffer): Put that hook on view buffer.
16834 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
16835
16836 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
16837
16838 * international/mule-diag.el (mule-diag): Insert a newline after
16839 each fontset description.
16840
16841 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16842
16843 * simple.el (delete-trailing-whitespace):
16844 Document last change; simplify.
16845
16846 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
16847
16848 * simple.el (delete-trailing-whitespace): Also delete
16849 extra newlines at the end of the buffer.
16850
16851 * textmodes/picture.el: Make motion commands obey shift-select-mode.
16852 (picture-newline): Use forward-line so as to ignore fields.
16853
16854 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16855
16856 * subr.el (with-wrapper-hook): Fix edebug spec.
16857
16858 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
16859
16860 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
16861 (bug#4538).
16862
16863 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
16864
16865 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
16866 Fix nasty bug using wrong cached values.
16867
16868 2011-09-23 Alan Mackenzie <acm@muc.de>
16869
16870 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
16871
16872 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
16873
16874 * window.el (pop-to-buffer): Ensure right window is selected if we
16875 chose another frame.
16876
16877 2011-09-22 Eli Zaretskii <eliz@gnu.org>
16878
16879 * simple.el (what-cursor-position): Use get-char-property-change
16880 and next-single-char-property-change, to be able to show display
16881 properties that come from overlays as well as text properties.
16882
16883 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
16884
16885 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
16886
16887 * cmuscheme.el (run-scheme, switch-to-scheme):
16888 * cus-edit.el (customize-group, custom-buffer-create)
16889 (customize-browse):
16890 * info.el (info):
16891 * shell.el (shell):
16892 * mail/sendmail.el (mail):
16893 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
16894
16895 2011-09-22 Richard Stallman <rms@gnu.org>
16896
16897 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
16898 move back only to line beg, don't move back over blank lines.
16899
16900 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
16901
16902 * files.el (copy-directory): Set directory attributes only in case
16903 they could be retrieved from the source directory. (Bug#9565)
16904
16905 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
16906
16907 * progmodes/hideshow.el (hs-looking-at-block-start-p)
16908 (hs-find-block-beginning, hs-hide-level-recursive):
16909 Ignore strings as well as comments. (Bug#9502)
16910
16911 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
16912
16913 * progmodes/sql.el (sql-comint-postgres):
16914 Convert port number to a string. (Bug#9566)
16915
16916 2011-09-22 Martin Rudalics <rudalics@gmx.at>
16917
16918 * window.el (quit-window): Undedicate window when switching to
16919 previous buffer. Reported by Thierry Volpiatto
16920 <thierry.volpiatto@gmail.com>.
16921 (special-display-popup-frame): When popping up a new frame reset
16922 its previous buffers to nil. Simplify code.
16923
16924 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
16925
16926 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
16927 and process filter, as done also in `shell-command'.
16928
16929 2011-09-21 Martin Rudalics <rudalics@gmx.at>
16930
16931 * window.el (set-window-buffer-start-and-point):
16932 Call set-window-start with NOFORCE argument t.
16933 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16934 (quit-window): Reword doc-string. Handle new format of
16935 quit-restore parameter. Don't delete window if it has a
16936 previous buffer we can show instead of the present one.
16937 (display-buffer-record-window): Rewrite using a new format for
16938 the quit-restore window parameter
16939 (special-display-popup-frame, display-buffer-same-window)
16940 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16941 (display-buffer-pop-up-window, display-buffer-use-some-window):
16942 Adapt symbol passed to display-buffer-record-window.
16943 * help.el (help-window-setup): Handle new format of quit-restore
16944 parameter.
16945
16946 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
16947
16948 * faces.el (face-list): Fix docstring (bug#9564).
16949
16950 * window.el (display-buffer--action-function-custom-type):
16951 Don't include internal functions in the Custom interface.
16952
16953 2011-09-20 Juri Linkov <juri@jurta.org>
16954
16955 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
16956 (Info-forward-node, Info-backward-node, Info-next-preorder)
16957 (Info-last-preorder): Use it. (Bug#9528)
16958
16959 2011-09-20 Juri Linkov <juri@jurta.org>
16960
16961 * info.el (Info-last-preorder): Visit last menu item only when
16962 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
16963
16964 2011-09-20 Julien Danjou <julien@danjou.info>
16965
16966 * password-cache.el (password-cache-remove): Remove entries even if the
16967 value is nil, so that password with a nil value (negative caching) is
16968 possible to invalidate.
16969
16970 2011-09-20 Lawrence Mitchell <wence@gmx.li>
16971
16972 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
16973 all whitespace around breakpoint. (Bug#9553)
16974 (f90-find-breakpoint): Only break at whitespace inside a comment.
16975
16976 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
16977
16978 * minibuffer.el (completion-file-name-table): Keep track of errors.
16979 (completion-table-with-predicate): Handle the case where pred1 is nil.
16980 * pcomplete.el (pcomplete-completions-at-point): Simplify.
16981
16982 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16983
16984 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
16985 (debugger-return-value): Signal an error if the debugging context does
16986 not await any return value.
16987
16988 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
16989 * image-mode.el (image-toggle-display-text)
16990 (image-toggle-display-image): Stay away from evil `intangible'.
16991
16992 2011-09-19 Leo Liu <sdl.web@gmail.com>
16993
16994 * replace.el (occur-revert-arguments): Make it permanent-local.
16995 (occur-mode): Don't call font-lock-defontify.
16996
16997 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
16998
16999 * net/ldap.el (ldap-search-internal): Don't push empty search
17000 result (Bug#9508).
17001
17002 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17003
17004 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17005
17006 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
17007
17008 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17009 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17010
17011 2011-09-18 Juri Linkov <juri@jurta.org>
17012
17013 * buff-menu.el (Buffer-menu-mode-map):
17014 * dired.el (dired-mode-map):
17015 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17016 (lisp-interaction-mode-map):
17017 * emacs-lisp/package.el (package-menu-mode-map):
17018 * epa.el (epa-key-list-mode-map):
17019 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17020 (menu-bar-options-menu):
17021 * outline.el (outline-mode-menu-bar-map):
17022 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17023 * vc/vc-dir.el (vc-dir-menu-map):
17024 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17025 Capitalize non-function content words in menu item strings.
17026
17027 * dired.el (dired-mode-map): Add menu item for
17028 `image-dired-dired-toggle-marked-thumbs'.
17029
17030 2011-09-18 Juri Linkov <juri@jurta.org>
17031
17032 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17033 to `isearch-case-fold-search' and restore its original value
17034 after the `isearch-mode' call.
17035
17036 2011-09-18 Juri Linkov <juri@jurta.org>
17037
17038 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17039 because `zgrep' returns 1 for successful matches (bug#9226).
17040
17041 2011-09-18 Juri Linkov <juri@jurta.org>
17042
17043 * info.el (Info-extract-menu-node-name): Check the second match
17044 for empty string (second test-case of bug#9528).
17045 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17046 intermediate nodes to the history (first test-case of bug#9528).
17047
17048 2011-09-18 Juri Linkov <juri@jurta.org>
17049
17050 * info.el (Info-mode-syntax-table): New variable.
17051 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
17052
17053 2011-09-18 Juri Linkov <juri@jurta.org>
17054
17055 * info.el (Info-file-supports-index-cookies):
17056 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17057 outputs one more line for long file names (bug#4142).
17058
17059 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17060
17061 * newcomment.el (comment-normalize-vars): If prompting for
17062 comment-start, set comment-start-skip too (Bug#8424).
17063
17064 2011-09-18 Johan Bockgård <bojohan@gnu.org>
17065
17066 * icomplete.el: Fix previous fix of Bug#5849.
17067 (icomplete-mode): Don't set completion-show-inline-help.
17068 (icomplete-minibuffer-setup): Set completion-show-inline-help
17069 locally during icompletion.
17070
17071 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17072
17073 * woman.el (woman2-process-escapes): Don't delete unrecognized
17074 escapes (Bug#7843).
17075
17076 * files.el (inhibit-first-line-modes-regexps): Add image files.
17077 (hack-local-variables-prop-line): Return nil for malformed
17078 prop-lines (Bug#9044).
17079
17080 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
17081
17082 * net/tramp.el (top): Don't require 'shell.
17083 (tramp-methods): Fix docstring.
17084 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
17085 Return complete remote file name. Handle "smb" case.
17086 Use `tramp-tmpdir', if defined for the respective method.
17087 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17088
17089 * net/tramp-compat.el (top): Require 'shell.
17090
17091 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17092 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17093 `tramp-current-host'.
17094 (tramp-get-remote-tmpdir): Remove.
17095
17096 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17097 `tramp-tmpdir' entries.
17098 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17099 (tramp-smb-handle-file-attributes): Ignore errors.
17100 (tramp-smb-wait-for-output): Check also for process end.
17101
17102 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17103
17104 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17105 when sending QUIT (bug#9312).
17106
17107 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
17108
17109 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17110 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17111 occur-mode-display-occurrence.
17112 (occur-edit-mode): Add usage message.
17113 (occur-cease-edit): New command.
17114 (occur-after-change-function): Use text properties to find the
17115 position of the prefix text.
17116 (occur-engine): Set stickiness of prefix text properties.
17117
17118 2011-09-17 Glenn Morris <rgm@gnu.org>
17119
17120 * progmodes/etags.el (complete-tag):
17121 Fix call to completion-in-region. (Bug#9526)
17122
17123 2011-09-17 Juri Linkov <juri@jurta.org>
17124
17125 * textmodes/ispell.el (ispell-word): Add to the error message
17126 the word, ispell program name and current dictionary (bug#9121).
17127 (ispell-tex-arg-end): Capitalize "error" in the error message.
17128
17129 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17130
17131 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17132 check. (Bug#4251)
17133
17134 2011-09-17 Juri Linkov <juri@jurta.org>
17135
17136 * window.el (window-safe-min-height, window-safe-min-width):
17137 Fix typos (followup to bug#9522).
17138
17139 2011-09-17 Sven Joachim <svenjoac@gmx.de>
17140
17141 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17142
17143 2011-09-16 Eli Zaretskii <eliz@gnu.org>
17144
17145 * simple.el (line-move): If goal-column is set, move by logical
17146 lines, not by display lines. (Bug#971)
17147 (next-line, previous-line, goal-column, line-move-visual): Doc fix
17148 to reflect the above change.
17149
17150 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17151
17152 * image.el (imagemagick-register-types): Use regexp-opt.
17153
17154 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17155
17156 * window.el (display-buffer-base-action): Rename from
17157 display-buffer-default-action. Make default value empty.
17158 (display-buffer-overriding-action): Convert to defvar.
17159 (display-buffer-fallback-action): New var.
17160
17161 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17162
17163 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
17164 declaration.
17165 (package--add-to-archive-contents): If there is a duplicate entry
17166 with an older version, remove it.
17167 (package-menu-mark-delete, package-menu-mark-install)
17168 (package-menu-mark-unmark): Make unused args optional.
17169 (package-menu-mark-obsolete-for-deletion):
17170 Use package-menu-get-status instead of a regexp search.
17171 (package-menu-get-status): Use tabulated-list-entry.
17172 (package-menu-mark-upgrades): New command.
17173 (package-menu-mode-map): Bind it to U. Add it to menu bar.
17174 (package-menu-execute): Do installation before deletion.
17175 (package-menu-refresh, package-menu-execute): Use derived-mode-p
17176 instead of checking major-mode.
17177 (package-menu--find-upgrades): New function.
17178
17179 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17180
17181 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17182 passwords in the log buffer.
17183 (smtpmail-process-filter): Update the process marker so that the
17184 "broken by peer" status message is inserted in the right place.
17185
17186 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17187
17188 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17189 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17190 bibtex-completion-at-point-function.
17191 (bibtex-completion-at-point-function): Use them.
17192
17193 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17194
17195 * mpc.el (mpc-constraints-tag-lookup): New function.
17196 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17197 also to browser "album|playlist".
17198
17199 2011-09-14 Juri Linkov <juri@jurta.org>
17200
17201 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17202 (isearch-edit-string): Use length of `isearch-string' when
17203 `isearch-fail-pos' returns nil.
17204 (isearch-message): Remove duplicate code and call
17205 `isearch-fail-pos' with arg `t'.
17206
17207 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
17208
17209 * replace.el (occur-mode-goto-occurrence): Don't force using other
17210 window (Bug#9499).
17211
17212 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17213
17214 2011-09-14 Martin Rudalics <rudalics@gmx.at>
17215
17216 * window.el (display-buffer-window): Remove.
17217 (display-buffer-record-window): Use help-setup window parameter
17218 instead of variable display-buffer-window.
17219 (display-buffer-function, special-display-buffer-names)
17220 (special-display-function): Mention help-setup parameter instead
17221 of display-buffer-window in doc-string.
17222 * help.el (help-window-setup): New argument help-window.
17223 Use help-window-setup parameter instead of display-buffer-window.
17224 Reword some messages.
17225 (with-help-window): Pass window used for displaying the buffer
17226 to help-window-setup. Don't set display-buffer-window.
17227
17228 2011-09-13 Glenn Morris <rgm@gnu.org>
17229
17230 * emacs-lisp/debug.el (debugger-make-xrefs):
17231 Preserve point. (Bug#9462)
17232
17233 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17234
17235 * window.el (window-deletable-p): Use next-frame.
17236
17237 2011-09-13 Martin Rudalics <rudalics@gmx.at>
17238
17239 * window.el (window-auto-delete): Remove.
17240 (window-deletable-p): Remove argument FORCE. Don't deal with
17241 dedication and previous buffers.
17242 (switch-to-prev-buffer): Don't delete window.
17243 (delete-windows-on): Delete a window's frame if and only if the
17244 window is dedicated.
17245 (replace-buffer-in-windows): Delete buffer's window or frame if
17246 and only if window is dedicated.
17247 (quit-window): Handle quit-restore as before last change.
17248 (bury-buffer): Delete window only if window-deletable-p returns t.
17249
17250 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17251
17252 * window.el (window-deletable-p): Never delete the last frame on a
17253 given terminal.
17254
17255 2011-09-13 Glenn Morris <rgm@gnu.org>
17256
17257 * help.el (describe-key-briefly): Copy previous standard-output change.
17258
17259 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
17260
17261 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17262
17263 2011-09-13 Glenn Morris <rgm@gnu.org>
17264
17265 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17266 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17267
17268 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
17269
17270 * dired-aux.el (dired-mark-read-string): Don't return default
17271 value on empty input (Bug#9361).
17272 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17273 Omit initial minibuffer contents.
17274 (dired-do-chmod): Signal an error on empty input.
17275 (dired-mark-read-string): Don't return default on empty input.
17276
17277 * files.el (file-modes-symbolic-to-number): Doc fix.
17278
17279 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17280
17281 * international/mule-cmds.el (ucs-completions): Remove.
17282 (read-char-by-name): Use complete-with-action instead; add metadata.
17283
17284 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17285
17286 * window.el (display-buffer--action-function-custom-type)
17287 (display-buffer--action-custom-type): New vars.
17288 (display-buffer-alist, display-buffer-default-action)
17289 (display-buffer-overriding-action): Add defcustom types.
17290
17291 * frame.el (delete-other-frames): Doc fix (Bug#276).
17292
17293 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17294
17295 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17296
17297 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17298
17299 Change modes that used same-window-* vars to use switch-to-buffer.
17300
17301 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17302 Use switch-to-buffer.
17303
17304 * cus-edit.el (customize-group, custom-buffer-create)
17305 (customize-browse, custom-buffer-create-other-window):
17306 Use switch-to-buffer or switch-to-buffer-other-window.
17307
17308 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17309 (Info-prev, Info-up, Info-speedbar-goto-node)
17310 (info-display-manual): Use switch-to-buffer.
17311 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17312
17313 * mail/sendmail.el (mail): Use switch-to-buffer.
17314 (mail-recover): Use switch-to-buffer-other-window.
17315
17316 * cmuscheme.el (run-scheme, switch-to-scheme):
17317 * ielm.el (ielm):
17318 * shell.el (shell):
17319 * net/rlogin.el (rlogin):
17320 * net/telnet.el (telnet, rsh):
17321 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17322
17323 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17324
17325 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17326
17327 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17328
17329 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17330 so don't mention it (bug#9301).
17331 (dired-sort-toggle-or-edit): Clarify string further.
17332
17333 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17334 match `x', `w32' and `ns', like the manual says (bug#9029).
17335
17336 * subr.el (eval-after-load): Doc string clarification (bug#9125).
17337 (process-kill-buffer-query-function): Mention the buffer name in
17338 the query.
17339
17340 * image-mode.el (image-next-line): The line parameter is mandatory
17341 (bug#9258).
17342
17343 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17344 which can be useful (bug#9301).
17345
17346 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17347
17348 * subr.el (match-string): Mention that the current buffer should
17349 be the same as the search was done in (bug#9282).
17350
17351 * facemenu.el: Disable the remove-* commands if the mark isn't
17352 active (bug#9162).
17353
17354 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17355
17356 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17357 of display-buffer.
17358 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17359
17360 * replace.el (occur-mode-goto-occurrence)
17361 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17362 and display-buffer.
17363
17364 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17365 display-buffer.
17366
17367 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17368 special-display and same-window variables.
17369 (mail-other-window): Use switch-to-buffer-other-window.
17370 (mail-other-frame): USe switch-to-buffer-other-frame.
17371
17372 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17373 Use display-buffer-other-frame.
17374 (gdb-display-gdb-buffer): Use pop-to-buffer.
17375
17376 * progmodes/gud.el (gud-goto-info): Use info-other-window.
17377
17378 * progmodes/python.el: Don't set same-window-buffer-names.
17379
17380 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17381
17382 * window.el (display-buffer-alist): Add *Python*.
17383
17384 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17385
17386 * window.el (display-buffer-alist): Add entry for buffers
17387 previously handled same-window-*.
17388 (display-buffer-alist, display-buffer-default-action)
17389 (display-buffer-overriding-action): Mark as risky.
17390 (display-buffer-alist): Document action function changes.
17391 (display-buffer--same-window-action)
17392 (display-buffer--other-frame-action): New variables.
17393 (switch-to-buffer, display-buffer-other-frame): Use them.
17394 (display-buffer): Rename reuse-frame entry to reusable-frames.
17395 (display-buffer-reuse-selected-window): Function deleted.
17396 (display-buffer-reuse-window): Handle reusable-frames alist entry.
17397 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
17398 (display-buffer-special): New function.
17399 (display-buffer--maybe-pop-up-frame-or-window): Rename from
17400 display-buffer-reuse-or-pop-window. Split off special-display
17401 part into display-buffer-special.
17402 (display-buffer-use-some-window): Don't perform any special
17403 pop-up-frames handling.
17404 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
17405 (display-buffer--maybe-same-window): Rename from
17406 display-buffer-maybe-same-window.
17407
17408 * info.el: Don't set same-window-regexps.
17409 (info-setup): New function.
17410 (info-other-window, info): Call it.
17411
17412 * cus-edit.el: Don't set same-window-regexps.
17413 (customize-group): New argument.
17414 (customize-group-other-window): Use it.
17415 (customize-face, customize-face-other-window): Likewise.
17416 (custom-buffer-create-other-window): Use pop-to-buffer directly.
17417
17418 * net/rlogin.el:
17419 * net/telnet.el:
17420 * progmodes/gud.el: Don't set same-window-regexps.
17421
17422 * cmuscheme.el:
17423 * ielm.el:
17424 * shell.el:
17425 * mail/sendmail.el:
17426 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
17427
17428 2011-09-10 Juri Linkov <juri@jurta.org>
17429
17430 * isearch.el (isearch-edit-string): Remove obsolete mention of
17431 `C-w' (`isearch-yank-word-or-char') from docstring.
17432 (isearch-query-replace): Fix typo in docstring (bug#9466).
17433
17434 2011-09-10 Juri Linkov <juri@jurta.org>
17435
17436 * paren.el (show-paren-function): Don't show escaped parens.
17437 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
17438
17439 2011-09-10 Eli Zaretskii <eliz@gnu.org>
17440
17441 * mail/sendmail.el (mml-to-mime, mml-attach-file)
17442 (mm-default-file-encoding): Remove autoload forms, they are
17443 replaced with autoload cookies in mml.el and mm-encode.el.
17444 (mail-add-attachment): New command.
17445 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
17446 (mail-mode): Mention mail-insert-file and mail-add-attachment in
17447 the doc string.
17448 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
17449
17450 2011-09-10 Reuben Thomas <rrt@sc3d.org>
17451
17452 * simple.el (count-words-region): Use buffer if there's no region
17453 (bug#9429).
17454
17455 2011-09-09 Juri Linkov <juri@jurta.org>
17456
17457 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
17458 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
17459 (wdired-isearch-filter-read-only): New function. (Bug#6362)
17460
17461 2011-09-09 Alan Mackenzie <acm@muc.de>
17462
17463 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
17464 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
17465
17466 2011-09-09 Eli Zaretskii <eliz@gnu.org>
17467
17468 Fix for Savannah bug#9392.
17469 * simple.el (mail-encode-mml): New defvar.
17470
17471 * mail/rmail.el (mail-encode-mml): Add a defvar.
17472 (rmail-enable-mime-composing): Default to t.
17473 (rmail-forward): Use MIME method of forwarding only if both
17474 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
17475 Set mail-encode-mml non-nil if the MIME method was used.
17476
17477 * mail/sendmail.el (mml-to-mime): Add autoload form.
17478 (mail-encode-mml): Add a defvar.
17479 (mail-mode): Make mail-encode-mml buffer-local and initialize it
17480 to nil.
17481 (mail-send): If mail-encode-mml is non-nil, run the outgoing
17482 message through mml-to-mime, and reset mail-encode-mml to nil.
17483
17484 2011-09-09 Glenn Morris <rgm@gnu.org>
17485
17486 * woman.el (woman-if-body): When processing an .el block,
17487 do not delete the next .el block as well. (Bug#9447)
17488 (woman-special-characters): Add oq, cq, and hy characters.
17489
17490 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17491
17492 * window.el (window-deletable-p): Make sure window is live before
17493 invoking window-prev-buffers.
17494
17495 2011-09-08 Leo Liu <sdl.web@gmail.com>
17496
17497 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
17498
17499 2011-09-08 Juri Linkov <juri@jurta.org>
17500
17501 * progmodes/compile.el (compilation-environment): Make it
17502 a defcustom (bug#8340).
17503
17504 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17505
17506 * window.el (frame-auto-delete): Rename to window-auto-delete.
17507 Make it control auto-deletion of windows and/or frames.
17508 (window-deletable-p): New argument FORCE. Rewrite conditions
17509 for deleting window/frame. (Bug#9419)
17510 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
17511 Rewrite handling of case when window/frame can be deleted.
17512 (delete-windows-on): Call window-deletable-p with new FORCE
17513 argument t. (Bug#9456)
17514
17515 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
17516
17517 * help-mode.el (help-mode): Restore autoload.
17518
17519 2011-09-07 Juri Linkov <juri@jurta.org>
17520
17521 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
17522 `compilation-environment'. Set buffer-local
17523 `compilation-environment' to `thisenv' later after (funcall mode).
17524 (Bug#8340)
17525
17526 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
17527 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
17528 instead of replacing its value. (Bug#8340)
17529
17530 2011-09-07 Juri Linkov <juri@jurta.org>
17531
17532 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
17533 based on text properties put by `grep-filter' instead of matching
17534 escape sequences.
17535 (grep-mode): Set buffer-local `compilation-error-screen-columns'
17536 to the value of `grep-error-screen-columns' (bug#9438).
17537
17538 2011-09-07 Juri Linkov <juri@jurta.org>
17539
17540 * simple.el (next-error-highlight, next-error-highlight-no-select):
17541 Doc fix (bug#9432).
17542
17543 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
17544
17545 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17546 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
17547
17548 2011-09-07 Leo Liu <sdl.web@gmail.com>
17549
17550 * net/rcirc.el (rcirc-mode): Conditionally initialize
17551 rcirc-input-ring.
17552
17553 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
17554
17555 * emacs-lisp/find-func.el (find-function-C-source): Only set
17556 find-function-C-source-directory after checking that we found a source
17557 file there (bug#9440).
17558
17559 2011-09-06 Alan Mackenzie <acm@muc.de>
17560
17561 * isearch.el (isearch-other-meta-char): Wherever a key list is
17562 unread, "unread" the prefix arg, too. This fixes bug #8901.
17563
17564 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
17565
17566 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
17567
17568 2011-09-05 Juri Linkov <juri@jurta.org>
17569
17570 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
17571
17572 2011-09-05 Juri Linkov <juri@jurta.org>
17573
17574 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
17575 keeping point where processing of grep matches begins, and
17576 continue to delete remaining escape sequences from the same point.
17577 (grep-filter): Make leading zero optional in "0?1;31m" because
17578 git-grep emits "\033[1;31m" escape sequences unlike expected
17579 "\033[01;31m" as GNU Grep does (bug#9408).
17580 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
17581
17582 2011-09-05 Juri Linkov <juri@jurta.org>
17583
17584 * subr.el (y-or-n-p): Capitalize "yes".
17585
17586 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
17587
17588 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
17589 `tramp-cache-unload-hook' where appropriate.
17590 (tramp-methods): Rename `tramp-remote-sh' to
17591 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
17592 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
17593
17594 * net/tramp-sh.el (top): Don't require 'shell.
17595 (tramp-methods): Add `tramp-remote-shell' and
17596 `tramp-remote-shell-args' entries.
17597 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
17598 (tramp-sh-handle-shell-command): Remove.
17599 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17600 Use `tramp-remote-shell'.
17601
17602 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
17603
17604 * mail/sendmail.el (sendmail-query-once-function): Delete.
17605 (sendmail-query-once): Save directly to send-mail-function.
17606 Update message-send-mail-function too.
17607
17608 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
17609
17610 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17611
17612 * progmodes/python.el (python-mode-map): Use correct function to
17613 start python interpreter from menu-bar (as reported by Geert
17614 Kloosterman).
17615 (inferior-python-mode-map): Fix typo.
17616 (python-shell-map): Remove.
17617
17618 2011-09-03 Deniz Dogan <deniz@dogan.se>
17619
17620 * net/rcirc.el (rcirc-print): Simplify code for
17621 rcirc-scroll-show-maximum-output. There is no need to walk
17622 through all windows to find the right one.
17623
17624 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17625
17626 * help.el (help-return-method): Doc fix.
17627
17628 2011-09-03 Martin Rudalics <rudalics@gmx.at>
17629
17630 * window.el (window-deletable-p): Don't return a non-nil value
17631 when there's a buffer that was shown in the window before.
17632 (Bug#9419)
17633 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17634 Set window's previous buffers to nil.
17635
17636 2011-09-03 Eli Zaretskii <eliz@gnu.org>
17637
17638 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
17639 newline before and after the tag line, so it doesn't interfere
17640 with determining the paragraph direction of bidirectional text.
17641
17642 2011-09-03 Leo Liu <sdl.web@gmail.com>
17643
17644 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
17645
17646 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
17647
17648 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
17649 (pop-to-buffer): Change interactive spec. Pass second argument
17650 directly to display-buffer.
17651 (display-buffer): Fix interactive spec. Use functionp to
17652 distinguish between a function and a list of functions.
17653
17654 * abbrev.el (edit-abbrevs):
17655 * arc-mode.el (archive-extract):
17656 * autoinsert.el (auto-insert):
17657 * bookmark.el (bookmark-bmenu-list):
17658 * files.el (find-file):
17659 * view.el (view-buffer):
17660 * progmodes/compile.el (compilation-goto-locus):
17661 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
17662
17663 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
17664
17665 * window.el (display-buffer-alist): Doc fix.
17666 (display-buffer): Add docstring. Don't treat
17667 display-buffer-default specially.
17668 (display-buffer-reuse-selected-window)
17669 (display-buffer-same-window, display-buffer-maybe-same-window)
17670 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17671 (display-buffer-pop-up-window)
17672 (display-buffer-reuse-or-pop-window)
17673 (display-buffer-use-some-window): New functions.
17674 (display-buffer-default-action): Use them.
17675 (display-buffer-default): Delete.
17676 (pop-to-buffer-1): Fix choice of actions.
17677
17678 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
17679
17680 * minibuffer.el (completion--insert-strings): Don't get confused by
17681 completion entries that end with an LF char.
17682
17683 2011-09-01 Eli Zaretskii <eliz@gnu.org>
17684
17685 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
17686
17687 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
17688
17689 * window.el (display-buffer): Restore interactive spec.
17690 (display-buffer-same-window, display-buffer-other-window):
17691 New functions.
17692 (pop-to-buffer-1): New function. Use the above.
17693 (pop-to-buffer, pop-to-buffer-same-window): Use it.
17694 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
17695
17696 * view.el (view-buffer-other-window, view-buffer-other-frame):
17697 Just use pop-to-buffer.
17698
17699 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17700
17701 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
17702
17703 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
17704
17705 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
17706
17707 2011-08-31 Richard Stallman <rms@gnu.org>
17708
17709 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
17710 of the separation of rmail-view-buffer from rmail-buffer.
17711 If you say no to "replace original", the decrypt is in the
17712 view buffer. If you say yes, the decrypt goes into the
17713 rmail buffer also.
17714
17715 2011-08-31 Martin Rudalics <rudalics@gmx.at>
17716
17717 * window.el (display-buffer-window): Rewrite doc-string.
17718 (display-buffer-record-window): New function.
17719 (display-buffer-macro-specifiers)
17720 (display-buffer-even-window-sizes, display-buffer-set-height)
17721 (display-buffer-set-width, display-buffer-in-window)
17722 (display-buffer-reuse-window, display-buffer-split-specifiers)
17723 (display-buffer-side-specifiers, display-buffer-split-window-1)
17724 (display-buffer-split-window, display-buffer-split-atom-window)
17725 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17726 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
17727 (display-buffer-other-window-means-other-frame)
17728 (display-buffer-normalize-special)
17729 (display-buffer-normalize-default)
17730 (display-buffer-normalize-argument)
17731 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
17732 (display-buffer-normalize-specifiers, display-buffer-frame)
17733 (display-buffer-same-window, display-buffer-same-frame)
17734 (display-buffer-other-window)
17735 (display-buffer-same-frame-other-window)
17736 (display-buffer-other-frame, pop-to-buffer-same-window)
17737 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
17738 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
17739 (switch-to-buffer-same-frame)
17740 (switch-to-buffer-other-window-same-frame)
17741 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
17742 (display-buffer-alist-set-1, display-buffer-alist-set-2)
17743 (display-buffer-alist-set): Remove.
17744 (display-buffer-function, special-display-buffer-names)
17745 (special-display-regexps, special-display-function):
17746 In doc-string refer to display-buffer-window and quit-restore
17747 parameter.
17748 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
17749 (special-display-frame-alist, special-display-popup-frame)
17750 (same-window-buffer-names, same-window-regexps, same-window-p)
17751 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17752 (split-window-preferred-function, split-height-threshold)
17753 (split-width-threshold, window-splittable-p)
17754 (split-window-sensibly, window--try-to-split-window)
17755 (window--frame-usable-p, even-window-heights)
17756 (window--even-window-heights, window--display-buffer-1)
17757 (window--display-buffer-2, display-buffer-other-frame):
17758 Restore old Emacs 23 code, order and doc-strings where applicable.
17759 (display-buffer-default, display-buffer-assq-regexp): New functions.
17760 (display-buffer-alist): Rewrite doc-string.
17761 (display-buffer-default-action)
17762 (display-buffer-overriding-action): New variables.
17763 (display-buffer, switch-to-buffer): Rewrite.
17764 (pop-to-buffer): Restore Emacs 23 behavior but use
17765 window-normalize-buffer-to-display.
17766 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
17767 Restore Emacs 23 behavior but use
17768 window-normalize-buffer-to-switch-to.
17769 (pop-to-buffer-same-window): Rewrite.
17770 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
17771 Rewrite using Emacs 23 options.
17772
17773 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
17774
17775 * net/tramp.el (tramp-root-regexp): Remove.
17776 (tramp-completion-file-name-regexp-unified)
17777 (tramp-completion-file-name-regexp-separate)
17778 (tramp-completion-file-name-regexp-url): Don't use leading volume
17779 letter on w32 systems. (Bug#5303, Bug#9311)
17780 (tramp-drop-volume-letter): Simplify definition.
17781 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
17782
17783 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17784
17785 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
17786 (bug#9356).
17787
17788 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
17789
17790 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
17791
17792 2011-08-29 Juri Linkov <juri@jurta.org>
17793
17794 * isearch.el (isearch-done): Don't display message "Mark saved"
17795 when arg `edit' is non-nil to prevent its flicker in the echo area.
17796
17797 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
17798
17799 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
17800 obsolete packages for deletion.
17801
17802 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
17803
17804 * help-mode.el (help-mode-map): Add special-mode-map to parent.
17805 (help-mode): Derive help-mode from special-mode. Don't invoke
17806 view-mode from help-mode.
17807 (help-xref-override-view-map): Remove.
17808 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
17809 view-mode is not used anymore.
17810
17811 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
17812
17813 * server.el (server-port): Doc fix.
17814
17815 * cus-theme.el (custom-theme-choose-mode): Inherit from
17816 special-mode (Bug#9124).
17817 (custom-theme-choose-mode-map): Add special-mode to parent.
17818
17819 2011-08-28 Alan Mackenzie <acm@muc.de>
17820
17821 * progmodes/cc-fonts.el
17822 (c-make-font-lock-BO-decl-search-function): New function.
17823 (c-basic-matchers-after - "Fontify the clauses after various
17824 keywords"): Extract the three keyword lists for the 3 erroneous
17825 constructs from the list of four, and use the new function above
17826 in place of an old one.
17827
17828 2011-08-28 Deniz Dogan <deniz@dogan.se>
17829
17830 * net/rcirc.el (rcirc-insert-prev-input)
17831 (rcirc-insert-next-input): Remove unused argument.
17832
17833 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17834
17835 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
17836
17837 2011-08-27 Alan Mackenzie <acm@muc.de>
17838
17839 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
17840 handle function pointer parameters properly.
17841
17842 2011-08-27 Martin Rudalics <rudalics@gmx.at>
17843
17844 * window.el (display-buffer-reuse-window): Fix case where
17845 selected window was reused with non-nil OTHER-WINDOW argument.
17846 (Bug#9381)
17847
17848 2011-08-27 Deniz Dogan <deniz@dogan.se>
17849
17850 * net/rcirc.el (rcirc-check-auth-status): Adding support for
17851 oftc's NickServ messages.
17852
17853 2011-08-27 Glenn Morris <rgm@gnu.org>
17854
17855 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
17856
17857 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
17858
17859 * emacs-lisp/package.el (package-install): Call package-initialize
17860 if called interactively.
17861
17862 2011-08-26 Leo Liu <sdl.web@gmail.com>
17863
17864 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
17865
17866 2011-08-25 Juri Linkov <juri@jurta.org>
17867
17868 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17869 `search-whitespace-regexp' (bug#9364).
17870
17871 2011-08-25 Juri Linkov <juri@jurta.org>
17872
17873 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
17874 `regexp-search-ring' to their global values to protect from
17875 updating by `read-from-minibuffer' (bug#9185).
17876
17877 2011-08-25 Juri Linkov <juri@jurta.org>
17878
17879 * textmodes/ispell.el (ispell-command-loop): Add newline
17880 at the end of the "Use option `i'..." line.
17881
17882 2011-08-25 Juri Linkov <juri@jurta.org>
17883
17884 * battery.el (display-battery-mode): If `battery-status-function'
17885 or `battery-mode-line-format' is nil, display the message and set
17886 `display-battery-mode' to nil (bug#9363).
17887
17888 2011-08-25 Eli Zaretskii <eliz@gnu.org>
17889
17890 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
17891 bidi-string-mark-left-to-right; they are unnecessary now.
17892
17893 2011-08-25 Deniz Dogan <deniz@dogan.se>
17894
17895 * net/quickurl.el: Documentation typo fixes.
17896
17897 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
17898
17899 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
17900
17901 2011-08-25 Glenn Morris <rgm@gnu.org>
17902
17903 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
17904
17905 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
17906 (smtpmail-via-smtp): Handle nil response from smtp.
17907
17908 2011-08-24 Juri Linkov <juri@jurta.org>
17909
17910 * proced.el (proced-marked): Inherit from `error' instead of
17911 `font-lock-warning-face'.
17912
17913 * ibuffer.el (ibuffer-marked-face): Change default face from
17914 `font-lock-warning-face' to `warning'.
17915 (ibuffer-deletion-face): Change default face from
17916 `font-lock-type-face' to `error'.
17917
17918 * battery.el (battery-update): Use the face `error' instead of
17919 `font-lock-warning-face' (bug#6117).
17920
17921 2011-08-24 Juri Linkov <juri@jurta.org>
17922
17923 * faces.el (success): Change face color from "Green3" to
17924 "ForestGreen" on light background (bug#9353).
17925
17926 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
17927
17928 * window.el (quit-window): Rename from quit-restore-window.
17929 Use same arglist as old quit-window.
17930 (frame-auto-delete): Doc fix.
17931
17932 * view.el (view-mode-exit): Use quit-window.
17933
17934 2011-08-24 Juri Linkov <juri@jurta.org>
17935
17936 * isearch.el (isearch-ring-adjust1): Start visiting previous
17937 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
17938 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
17939 for empty search string (when the last search string is reused
17940 automatically) to adjust the isearch ring to the last element and
17941 prepare the correct index for further M-p commands (bug#9185).
17942
17943 2011-08-24 Kenichi Handa <handa@m17n.org>
17944
17945 * international/ucs-normalize.el: If decomposition property of
17946 CHAR is the default one (i.e. a list of CHAR itself), treat it as
17947 nil.
17948 (nfd, nfkd): Likewise.
17949
17950 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17951
17952 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
17953 from process filters aren't reliably transmitted to the surrounding
17954 accept-process-output.
17955 (mpc-proc-check): New function.
17956 (mpc-proc-sync): Use it (bug#8293)
17957
17958 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17959
17960 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
17961 Add compatibility functions (bug#9313).
17962
17963 2011-08-23 Eli Zaretskii <eliz@gnu.org>
17964
17965 * cus-start.el (all): Add entry for bidi-paragraph-direction.
17966
17967 * international/uni-bidi.el: Regenerate.
17968
17969 2011-08-23 Kenichi Handa <handa@m17n.org>
17970
17971 * international/charprop.el:
17972 * international/uni-bidi.el:
17973 * international/uni-category.el:
17974 * international/uni-combining.el:
17975 * international/uni-comment.el:
17976 * international/uni-decimal.el:
17977 * international/uni-decomposition.el:
17978 * international/uni-digit.el:
17979 * international/uni-lowercase.el:
17980 * international/uni-mirrored.el:
17981 * international/uni-name.el:
17982 * international/uni-numeric.el:
17983 * international/uni-old-name.el:
17984 * international/uni-titlecase.el:
17985 * international/uni-uppercase.el: Regenerate.
17986
17987 2011-08-23 Martin Rudalics <rudalics@gmx.at>
17988
17989 * help.el (help-window-setup): Fix message displayed when other
17990 window is reused. (Bug#9341)
17991
17992 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17993
17994 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
17995 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
17996
17997 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
17998 Mark obsolete.
17999 * shell.el (shell-parse-pcomplete-arguments): New function.
18000 (shell-completion-vars): Use it instead (bug#9160).
18001
18002 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18003
18004 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18005 strings and comments (bug#9333).
18006
18007 * emacs-lisp/debug.el (debug-arglist): New function.
18008 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
18009 (debug-on-entry-1): Handle interpreted closures (bug#9120).
18010
18011 2011-08-22 Juri Linkov <juri@jurta.org>
18012
18013 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18014 Revert regexp that highlights output switches to its old
18015 pre-2010-10-28 value and remove one `?' from it (bug#9319).
18016
18017 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18018 to check for empty output (bug#9226).
18019
18020 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
18021
18022 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18023 symbol-constituent as the default, as that stops font-lock from
18024 working properly (Bug#8843).
18025
18026 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18027
18028 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18029 `coding-system-for-*' around the process open call to avoid
18030 auth-source side effects.
18031 (smtpmail-try-auth-methods): Expand the secret password.
18032 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18033 probe hangs.
18034
18035 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18036
18037 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18038
18039 * emacs-lisp/find-func.el (find-function-noselect): New arg
18040 lisp-only.
18041
18042 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18043 signal an error for built-in functions (Bug#6664).
18044
18045 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18046
18047 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18048 (smtpmail-try-auth-methods): Use it.
18049
18050 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18051
18052 * font-lock.el (font-lock-fontify-region)
18053 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18054 (font-lock-default-unfontify-buffer)
18055 (font-lock-default-fontify-region)
18056 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18057
18058 * progmodes/compile.el (compilation-error-properties):
18059 Fix confusion between file struct and message struct (Bug#9319).
18060 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18061 `ant' regexp.
18062
18063 * net/browse-url.el (browse-url-firefox): Don't call
18064 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18065
18066 2011-08-20 Glenn Morris <rgm@gnu.org>
18067
18068 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18069
18070 * tutorial.el (tutorial--default-keys): Update some default bindings.
18071
18072 * files.el (hack-local-variables): Fully ignore case for "mode:".
18073
18074 2011-08-20 Alan Mackenzie <acm@muc.de>
18075
18076 Resolve invalid use of a regexp in regexp-opt.
18077
18078 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18079 detection for a java annotation.
18080
18081 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
18082 detection for a java annotation.
18083
18084 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18085 handling for java.
18086 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18087
18088 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
18089
18090 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18091 (Bug#9274).
18092
18093 2011-08-20 Alan Mackenzie <acm@muc.de>
18094
18095 Fontify CPP expressions correctly when starting in the middle of
18096 such a construct. Mainly for when jit-lock etc. starts a chunk
18097 here.
18098
18099 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
18100 variable.
18101 (c-make-font-lock-search-form): New function, extracted from
18102 c-make-font-lock-search-function.
18103 (c-make-font-lock-search-function): Use the above function.
18104 (c-make-font-lock-context-search-function): New function.
18105 (c-cpp-matchers): Enhance the preprocessor expression case with
18106 the above function
18107 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18108 which takes an expression.
18109
18110 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18111
18112 2011-08-20 Martin Rudalics <rudalics@gmx.at>
18113
18114 * window.el (display-buffer-reuse-window)
18115 (display-buffer-pop-up-window): Don't reuse or split a side
18116 window.
18117
18118 2011-08-19 Glenn Morris <rgm@gnu.org>
18119
18120 * files.el (hack-local-variables-prop-line, hack-local-variables):
18121 Downcase "Mode:". (Bug#9331)
18122
18123 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
18124
18125 * international/characters.el: Add L and R categories.
18126
18127 * subr.el (bidi-string-mark-left-to-right): Rename from
18128 string-mark-left-to-right. Use category search.
18129
18130 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18131
18132 2011-08-18 Juri Linkov <juri@jurta.org>
18133
18134 * faces.el (error, warning, success): New faces with definitions
18135 copied from old default values of `font-lock-warning-face',
18136 `compilation-warning', `compilation-info' (bug#6117).
18137
18138 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18139
18140 * progmodes/compile.el (compilation-error): Inherit from `error'.
18141 (compilation-warning): Inherit from `warning'.
18142 (compilation-info): Inherit from `success'.
18143
18144 * dired.el (dired-marked): Inherit from `warning'.
18145 (dired-flagged): Inherit from `error'.
18146
18147 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18148
18149 * mail/smtpmail.el (auth-source): Require to avoid problems with
18150 binding variables (bug#9298). Also clean up some unused
18151 autoloads.
18152
18153 * net/network-stream.el (network-stream-open-starttls):
18154 Support using starttls.el without using gnutls-cli.
18155
18156 2011-08-17 Juri Linkov <juri@jurta.org>
18157
18158 * progmodes/grep.el (rgrep): Handle the case when
18159 `grep-find-command' is a cons cell (bug#9278).
18160
18161 2011-08-17 Martin Rudalics <rudalics@gmx.at>
18162
18163 * window.el (display-buffer-pop-up-frame): Run frame creation
18164 function with BUFFER current (as special-display-popup-frame
18165 does). Reported by Drew Adams.
18166
18167 2011-08-17 Daiki Ueno <ueno@unixuser.org>
18168
18169 * epa-mail.el: Simplify GnuPG group expansion using
18170 epg-expand-group.
18171 (epa-mail-group-alist, epa-mail-group-modtime)
18172 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18173 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18174 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18175 Remove.
18176
18177 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
18178
18179 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18180
18181 2011-08-16 Alan Mackenzie <acm@muc.de>
18182
18183 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18184 Correct, to avoid the inside of macros.
18185
18186 2011-08-16 Richard Stallman <rms@gnu.org>
18187
18188 * epa-mail.el: Handle GnuPG group definitions.
18189 (epa-mail-group-alist, epa-mail-group-modtime)
18190 (epa-mail-gnupg-conf-file): New variables.
18191 (epa-mail-parse-groups, epa-mail-sync-groups)
18192 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18193 (epa-mail-expand-recipients): New functions.
18194 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18195
18196 * mail/rmail.el (rmail-epa-decrypt): New command.
18197
18198 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18199 Don't bind buffer-read-only, just inhibit-read-only.
18200 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18201 (epa-decrypt-armor-in-region): Make error message clearer.
18202
18203 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18204
18205 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18206 and "a2b" to "ab" for `prefix'.
18207
18208 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
18209
18210 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18211 filter groups.
18212 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18213 Fourquet (Bug#8804).
18214
18215 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
18216
18217 * startup.el (argi): Declare as global variable (bug#9275).
18218
18219 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
18220
18221 * subr.el (string-mark-left-to-right): Search the entire string
18222 for RTL script, not just the terminating character. Doc fix.
18223
18224 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18225
18226 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18227 New function.
18228 (js--regexp-literal, js-syntax-propertize-function): Remove.
18229 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18230 (js-mode-map): Don't rebind electric keys.
18231 (js-insert-and-indent): Remove.
18232 (js-mode): Setup electric-layout and electric-indent instead.
18233
18234 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18235
18236 2011-08-12 Daiki Ueno <ueno@unixuser.org>
18237
18238 * epa.el (epa-progress-callback-function): Fix the logic of
18239 displaying progress.
18240 * epa-file.el (epa-file-insert-file-contents): Make progress
18241 display more user-friendly.
18242 (epa-file-write-region): Ditto.
18243
18244 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
18245
18246 * subr.el (string-mark-left-to-right): New function.
18247
18248 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18249 Use string-mark-left-to-right.
18250 (list-buffers-noselect): Caller changed.
18251
18252 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18253 Use string-mark-left-to-right.
18254 (tabulated-list-print): Recenter after moving point.
18255
18256 2011-08-10 Juri Linkov <juri@jurta.org>
18257
18258 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18259 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18260 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18261
18262 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
18263
18264 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18265 (Bug#7554).
18266
18267 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
18268
18269 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18270 character. (Bug#6594)
18271
18272 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
18273
18274 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18275 (image-dired--with-db-file): New macro.
18276 (image-dired-write-tags, image-dired-remove-tag)
18277 (image-dired-create-gallery-lists, image-dired-write-comments)
18278 (image-dired-get-comment, image-dired-mark-tagged-files)
18279 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18280 (image-dired-gallery-generate): Use insert-file-contents.
18281
18282 * time.el (display-time-world-list, display-time-world-display):
18283 * time-stamp.el (time-stamp-string):
18284 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18285 set-time-zone-rule (Bug#7337).
18286
18287 2011-08-08 Daiki Ueno <ueno@unixuser.org>
18288
18289 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18290 (epg-error-to-string, epg-errors-to-string): New function.
18291 (epg-wait-for-completion): Reverse errors list.
18292 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18293 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18294 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18295 (epg-sign-keys, epg-generate-key-from-file)
18296 (epg-generate-key-from-string): Format errors by using
18297 epg-errors-to-string (bug#9255).
18298 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18299
18300 2011-08-07 Juri Linkov <juri@jurta.org>
18301
18302 * faces.el (list-faces-display): Remove extra angle bracket
18303 from `help-mode-map'.
18304
18305 * info.el (Info-history-toc-nodes): Doc fix.
18306
18307 * longlines.el (longlines-mode): Doc fix.
18308
18309 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18310
18311 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18312 of statements and in a few more cases (bug#9183).
18313
18314 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18315 New functions.
18316 (cl-transform-lambda): Use them (bug#9239).
18317
18318 2011-08-05 Martin Rudalics <rudalics@gmx.at>
18319
18320 * window.el (display-buffer-same-window)
18321 (display-buffer-same-frame, display-buffer-other-window)
18322 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18323 (pop-to-buffer-other-window)
18324 (pop-to-buffer-same-frame-other-window)
18325 (pop-to-buffer-other-frame): Make them defuns.
18326 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18327
18328 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18329
18330 * subr.el (make-composed-keymap): Move from C. Change calling
18331 convention, and improve docstring to bring attention to a subtle point.
18332 * minibuffer.el (completing-read-default): Adjust accordingly.
18333
18334 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
18335
18336 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18337 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18338
18339 * net/trampver.el: Update release number.
18340
18341 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18342
18343 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18344 "in" (bug#9190).
18345
18346 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18347
18348 * mail/sendmail.el (sendmail-query-once): Restore the current
18349 buffer after querying (bug#9074).
18350
18351 * dired.el (dired-flagged): Use different faces for marked and
18352 flagged files (bug#6117).
18353
18354 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18355 (bug#4433).
18356
18357 * ido.el (ido-mode): Switch off the message if called
18358 non-interactively.
18359
18360 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18361 before 587, since it appears that that's more likely to work for
18362 more people.
18363
18364 * cus-edit.el (custom-file): When running under emacs -q, always
18365 refuse to save the customizations, even if the .emacs file doesn't
18366 exist.
18367
18368 * info.el: Remove the `Info-beginning-of-buffer' function
18369 (bug#8325).
18370
18371 * net/network-stream.el (network-stream-open-starttls):
18372 Use `starttls-available-p' to see whether starttls.el can be used.
18373
18374 2011-08-01 Martin Rudalics <rudalics@gmx.at>
18375
18376 * window.el (display-buffer-in-window): Don't set dedicated status
18377 of window here (Bug#9215).
18378 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18379 (display-buffer-pop-up-side-window)
18380 (display-buffer-in-side-window): Set dedicated status of window here.
18381
18382 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18383
18384 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18385 before binding generated-autoload-file.
18386
18387 2011-08-01 Deniz Dogan <deniz@dogan.se>
18388
18389 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
18390
18391 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
18392
18393 Sync with Tramp 2.2.2.
18394
18395 * net/trampver.el: Update release number.
18396
18397 2011-07-30 Juri Linkov <juri@jurta.org>
18398
18399 * dired-aux.el (dired-touch-initial): Remove function.
18400 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
18401 current time, and `default' to the last modification time of the
18402 current marked file (bug#6887).
18403
18404 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
18405
18406 * simple.el (goto-line): Use string-to-number to provide a
18407 numeric argument to read-number (bug#9163).
18408
18409 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
18410
18411 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
18412 connection process, it could be nil.
18413
18414 2011-07-27 Leo Liu <sdl.web@gmail.com>
18415
18416 Simplify url handling in rcirc-mode.
18417
18418 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
18419 (rcirc-browse-url-at-mouse): Remove.
18420 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
18421
18422 2011-07-26 Alan Mackenzie <acm@muc.de>
18423
18424 Fontify bitfield declarations properly.
18425
18426 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
18427 (c-symbol-chars): Now exported as a lang variable.
18428 (c-not-primitive-type-keywords): New lang variable.
18429
18430 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
18431 QT keyword "more" to prevent "more slots: ...." being spuriously
18432 parsed as a bitfield declaration.
18433
18434 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18435 Refactor and enhance to handle bitfield declarations.
18436 (c-punctuation-in): New function.
18437 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
18438 declarations properly.
18439
18440 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
18441
18442 * calendar/icalendar.el (icalendar--all-events): Take care of
18443 multiple vcalendars in a single file.
18444 (icalendar--convert-float-to-ical): Checkdoc fixes.
18445
18446 2011-07-25 Deniz Dogan <deniz@dogan.se>
18447
18448 * image.el (insert-image): Clarifying docstring.
18449
18450 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
18451
18452 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
18453 `tramp-send-command-and-check' if there is no error.
18454 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
18455
18456 2011-07-22 Alan Mackenzie <acm@muc.de>
18457
18458 Prevent cc-langs.elc being loaded at run time.
18459
18460 * progmodes/cc-mode.el: Remove two autoload forms which loaded
18461 cc-langs.
18462
18463 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
18464 "(require 'cc-langs)". Quote a form so it will evaluate at
18465 (cc-mode's) compilation time.
18466
18467 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
18468
18469 * net/tramp.el (tramp-file-name-handler): Avoid recursive
18470 loading. (Bug#9114)
18471
18472 2011-07-21 Martin Rudalics <rudalics@gmx.at>
18473
18474 * window.el (display-buffer-pop-up-window)
18475 (display-buffer-pop-up-side-window)
18476 (display-buffer-in-side-window): Call display-buffer-set-height
18477 and display-buffer-set-width after setting the new window's
18478 buffer so `fit-window-to-buffer' and friends work on the right buffer.
18479
18480 2011-07-20 Sam Steingold <sds@gnu.org>
18481
18482 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
18483 (etags-tags-included-tables): Call `convert-standard-filename' on
18484 the file names contained in TAGS so that windows Emacs can handle
18485 TAGS files created by cygwin ctags.
18486
18487 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
18488
18489 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
18490 which apparently didn't work.
18491
18492 2011-07-19 Roland Winkler <winkler@gnu.org>
18493
18494 * proced.el (proced-send-signal): For *Marked Processes* buffer
18495 put point at beginning of buffer.
18496
18497 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
18498
18499 * proced.el (proced-format): Make header lines align with the text
18500 (bug#1779).
18501
18502 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18503
18504 * view.el (view-buffer): Allow running in `special' modes if we're
18505 visiting a file (bug#8615).
18506
18507 2011-07-19 Martin Rudalics <rudalics@gmx.at>
18508
18509 * window.el (display-buffer-alist-of-strings-p)
18510 (display-buffer-alist-set-1, display-buffer-alist-set-2):
18511 New functions.
18512 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
18513 more accurately.
18514
18515 2011-07-18 Alan Mackenzie <acm@muc.de>
18516
18517 Fontify declarators properly when, e.g., a jit-lock chunk begins
18518 inside a declaration.
18519
18520 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
18521
18522 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18523 New function.
18524 (c-complex-decl-matchers): Insert reference to
18525 c-font-lock-enclosing-decls.
18526
18527 * progmodes/cc-engine.el (c-backward-single-comment):
18528 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
18529 to nil around calls to (forward-comment -1).
18530
18531 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18532
18533 * image.el (put-image): Doc typo fix.
18534
18535 * progmodes/etags.el (tags-search): Doc typo fix.
18536
18537 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
18538 password if we get errors 550 to 554.
18539
18540 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
18541
18542 * net/gnutls.el (gnutls-log-level): Remove.
18543
18544 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
18545 indentation character (bug#6380).
18546
18547 * files.el (buffer-offer-save): Made permanently local (bug#6241).
18548
18549 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
18550 to clarify what the problem is (bug#4291).
18551
18552 * simple.el (current-kill): Clarify what
18553 `interprogram-paste-function' does (bug#7500).
18554 (auto-fill-mode): Document `auto-fill-function' in relation to
18555 `auto-fill-mode' (bug#2470).
18556
18557 2011-07-16 Lawrence Mitchell <wence@gmx.li>
18558
18559 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
18560 method if slot is read-only (bug#9035).
18561
18562 2011-07-16 Martin Rudalics <rudalics@gmx.at>
18563
18564 * frame.el (select-frame-set-input-focus): New argument NORECORD.
18565 * window.el (pop-to-buffer): Select window used even if it was
18566 selected before, see discussion of (Bug#8615), (Bug#6954).
18567 Pass argument NORECORD on to select-frame-set-input-focus.
18568
18569 2011-07-15 Glenn Morris <rgm@gnu.org>
18570
18571 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
18572 Respect help-form.
18573
18574 2011-07-09 Lawrence Mitchell <wence@gmx.li>
18575
18576 * net/gnutls.el (gnutls-min-prime-bits): New variable.
18577 (gnutls-negotiate): Use it.
18578
18579 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18580
18581 * net/gnutls.el (gnutls-negotiate):
18582 Upcase `gnutls-algorithm-priority'.
18583
18584 2011-07-15 Glenn Morris <rgm@gnu.org>
18585
18586 * jka-compr.el (jka-compr-verbose): Move from here...
18587 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
18588 Add missing :version tag.
18589 * info.el: No need to require jka-compr when compiling.
18590
18591 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18592
18593 * net/gnutls.el (gnutls-algorithm-priority): New variable.
18594 (gnutls-negotiate): Use it.
18595
18596 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
18597
18598 * info.el (Info-beginning-of-buffer): New command.
18599 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
18600 announcing `b' as the key (bug#8325).
18601 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
18602
18603 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
18604
18605 * international/mule-cmds.el
18606 (describe-specified-language-support): Make the error message
18607 clearer (bug#8905).
18608
18609 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
18610
18611 * isearch.el (isearch-barrier): Add a doc string, since it's
18612 mentioned in a function doc string (bug#8678).
18613
18614 2011-07-15 Martin Rudalics <rudalics@gmx.at>
18615
18616 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
18617 buffer argument (Bug#9083) and self-identifying label argument.
18618
18619 2011-07-15 Glenn Morris <rgm@gnu.org>
18620
18621 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
18622
18623 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18624
18625 * man.el (Man-fontify-manpage): Fix message when formatting the
18626 man page (bug#7929).
18627
18628 2011-07-14 Eli Zaretskii <eliz@gnu.org>
18629
18630 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
18631 argument LRM; if non-nil, append an invisible LRM character to the
18632 buffer name.
18633 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
18634 last argument non-nil, when formatting buffer names.
18635 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
18636 paragraph direction.
18637
18638 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18639
18640 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
18641 the man page name (bug#7929).
18642
18643 * image.el (put-image): Mention the `put-image' overlay property
18644 (bug#7834).
18645
18646 * scroll-bar.el (set-scroll-bar-mode): Mention that
18647 `scroll-bar-mode' lists the values (bug#7772).
18648
18649 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
18650 command (bug#7729).
18651
18652 * rect.el (apply-on-rectangle): Return the point after the last
18653 operation.
18654 (string-rectangle): Go to the point after the last operation
18655 (bug#7522).
18656
18657 * printing.el (pr-toggle-region): Clarify the documentation
18658 slightly (bug#7493).
18659
18660 * time.el (display-time-update):
18661 Allow `display-time-mail-function' to return nil (bug#7158).
18662 Fix suggested by Detlev Zundel.
18663
18664 * vc/diff.el (diff): Clarify the order the file names are read
18665 (bug#7111).
18666
18667 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
18668 the doc string (bug#7015).
18669
18670 * font-lock.el (font-lock-maximum-decoration): Mention what
18671 numeric levels mean (bug#6935).
18672
18673 * startup.el (initial-buffer-choice): Don't mention the `none'
18674 selection, which is against policy.
18675
18676 2011-07-14 Martin Rudalics <rudalics@gmx.at>
18677
18678 * window.el (display-buffer-normalize-special):
18679 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
18680
18681 2011-07-14 Eli Zaretskii <eliz@gnu.org>
18682
18683 * subr.el (version<, version<=, version=): Mention "-CVS" and
18684 "-12345" alpha version numbers.
18685
18686 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
18687
18688 * bindings.el: Add advertised binding for set-mark-command
18689 (Bug#5772).
18690
18691 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
18692
18693 * bindings.el (mode-line-other-buffer):
18694 * bookmark.el (bookmark-bmenu-2-window):
18695 * bs.el (bs-cycle-next, bs-cycle-previous):
18696 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
18697 switch-to-buffer.
18698
18699 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18700 Delete.
18701
18702 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
18703
18704 * follow.el (follow-debug-message, follow-redisplay):
18705 * jka-cmpr-hook.el (with-auto-compression-mode):
18706 Fix typos in docstrings.
18707
18708 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18709
18710 * subr.el (with-silent-modifications): Clarify somewhat what the
18711 macro inhibits (bug#6525).
18712
18713 * simple.el (eval-expression): Note what it does if called
18714 interactively (bug#6495).
18715
18716 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
18717
18718 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
18719 Use pop-to-buffer buffer-or-name if it is nil.
18720
18721 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18722 Remove switch-to-buffer.
18723
18724 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18725
18726 * files.el (make-directory): Clarify that an error will be raised
18727 if there's an error (bug#6397).
18728
18729 * startup.el (initial-buffer-choice): Add `none' as a choice
18730 (bug#6234).
18731
18732 * subr.el (add-hook): Clarify section about buffer-local hooks
18733 (bug#6218).
18734
18735 * dired.el (dired-flagged): Clarify doc string (bug#6117).
18736
18737 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
18738
18739 * tabify.el (untabify): Preserve the current column so that point
18740 doesn't move (bug#6032).
18741
18742 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18743
18744 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
18745 Rewrite to avoid awkward possessive "s" (bug#5986).
18746
18747 2011-07-13 Glenn Morris <rgm@gnu.org>
18748
18749 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
18750 (dired-insert-directory): Give a message the first time
18751 if ls is found not to support --dired.
18752
18753 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18754
18755 * simple.el (toggle-truncate-lines): Clarify what is toggled
18756 (bug#5580). Text by Drew Adams.
18757
18758 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
18759
18760 * simple.el (blink-matching-open): Make the error message from the
18761 last change less verbose.
18762
18763 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
18764
18765 * font-lock.el (font-lock-comment-face): Use the high contrast
18766 "yellow" color for font-lock-comment-face on low color terminals
18767 using a dark background color (bug#4221).
18768
18769 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18770
18771 * dired.el (dired-insert-set-properties): Make the doc string
18772 reflect what it does now (bug#5325).
18773
18774 * simple.el (blink-matching-open): Say that we were unable to find
18775 the match within the limit, if we're limited (bug#5122).
18776
18777 * international/mule-cmds.el (prefer-coding-system): Add an
18778 example (bug#4869).
18779
18780 * progmodes/etags.el (tags-search): Document `file-list-form'
18781 (bug#4731).
18782
18783 2011-07-13 Lawrence Mitchell <wence@gmx.li>
18784
18785 * net/browse-url.el (browse-url-default-browser)
18786 (browse-url-browser-function): Make the default browser choice a
18787 bit more logical (bug#4300). Also clean up the doc string.
18788
18789 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
18790
18791 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
18792 binary endings (bug#4440).
18793
18794 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18795
18796 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
18797 which can be pretty annoying (bug#8971).
18798
18799 * jka-compr.el (jka-compr-verbose): New variable, and use
18800 throughout (bug#8971).
18801
18802 * info.el (Info-find-file): Fall back on the installation
18803 directory if we can't find the info node anywhere else.
18804
18805 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
18806
18807 * vc/vc.el (vc-revert-file):
18808 Don't set file time-stamp in the past. (Bug#5181)
18809
18810 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18811
18812 * files.el (after-find-file): Give a better error message when
18813 trying to find a symlink that points to a file that doesn't exist
18814 (bug#4398).
18815
18816 * progmodes/cc-vars.el: Remove (probably) misleading comment
18817 (bug#4396).
18818
18819 2011-07-12 Johan Bockgård <bojohan@gnu.org>
18820
18821 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
18822
18823 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
18824
18825 * mouse-sel.el: Hack restoring functionality, while keeping
18826 compatibility with 2010-07-03 changes to mouse selection.
18827 (mouse-sel-primary-overlay): New var.
18828 (mouse-sel-selection-alist): Use it.
18829 (mouse-sel-mode): Doc fix; remove points that are default features
18830 of mouse.el.
18831
18832 2011-07-12 Johan Bockgård <bojohan@gnu.org>
18833
18834 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18835 Fix previous fix (bug#2490).
18836
18837 2011-07-12 Roland Winkler <winkler@gnu.org>
18838
18839 * textmodes/bibtex.el (bibtex-initialize):
18840 Use pop-to-buffer-same-window.
18841 (bibtex-search-entries): Fix interactive call.
18842
18843 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18844
18845 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18846 Fontise bytecomp Error lines more correctly (bug#2490).
18847 Fix suggested by Johan Bockgård.
18848
18849 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
18850
18851 * dired-x.el (dired-guess-default): Use `delete-dups'.
18852
18853 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
18854
18855 * dired.el (dired-mark-prompt):
18856 * dired-aux.el (dired-read-shell-command): Doc fix.
18857
18858 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18859
18860 * mail/sendmail.el (sendmail-query-once):
18861 Use `customize-save-variable' unconditionally, now that it works under
18862 emacs -Q.
18863
18864 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18865
18866 * cus-edit.el (custom-file): Take an optional no-error variable.
18867 (customize-save-variable): Set the variable, and give a warning if
18868 running under "emacs -q".
18869
18870 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
18871
18872 * loadhist.el (unload-feature-special-hooks):
18873 Add `auto-coding-functions', `fill-nobreak-predicate' and
18874 `find-directory-functions' (bug#5327).
18875
18876 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18877
18878 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
18879
18880 * cus-edit.el (custom-guess-name-alist): -alist variables should
18881 use the `alist' type (bug#3120). Suggested by Drew Adams.
18882
18883 * printing.el: Add documentation to all the `pr-toggle-' commands.
18884
18885 2011-07-11 Leo Liu <sdl.web@gmail.com>
18886
18887 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
18888 backends where it makes sense (bug#2623).
18889
18890 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18891
18892 * dired-x.el (dired-guess-default): Remove duplicate shell command
18893 entries (bug#2028).
18894 (dired-guess-default): Fix grammar in doc string (bug#2028).
18895 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
18896
18897 * subr.el (remove-duplicates): New conveniency function.
18898
18899 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
18900
18901 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
18902 (bug#1526).
18903
18904 2011-07-10 Martin Rudalics <rudalics@gmx.at>
18905
18906 * window.el (display-buffer-normalize-default): Don't invert
18907 meaning of even-window-heights. Reported by Eli Zaretskii
18908 <eliz@gnu.org>.
18909
18910 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
18911
18912 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
18913
18914 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
18915
18916 * window.el (display-buffer): Fix arguments to
18917 display-buffer-reuse-window in last change.
18918
18919 * faces.el (link): Use a less saturated blue on light backgrounds.
18920
18921 * startup.el (fancy-startup-text, fancy-about-text)
18922 (fancy-startup-tail): Use font-lock faces, for background safety.
18923
18924 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
18925
18926 * emulation/viper-cmd.el (viper-change-state-to-vi):
18927 Limit triggering of abbrev expansion (Bug#9038).
18928
18929 2011-07-09 Martin Rudalics <rudalics@gmx.at>
18930
18931 * window.el (display-buffer-default-specifiers): Remove.
18932 (display-buffer-macro-specifiers): Remove default specifiers.
18933 (display-buffer-alist): Default to nil.
18934 (display-buffer-reuse-window): New optional argument other-window.
18935 (display-buffer-pop-up-window): Allow splitting internal
18936 windows. Check whether a live window was created.
18937 (display-buffer-other-window-means-other-frame)
18938 (display-buffer-normalize-arguments): Rename to
18939 display-buffer-normalize-argument and rewrite. Set the
18940 other-window specifier.
18941 (display-buffer-normalize-special): New function.
18942 (display-buffer-normalize-options): Rename to
18943 display-buffer-normalize-default and rewrite.
18944 (display-buffer-normalize-options-inhibit): Remove.
18945 (display-buffer-normalize-specifiers): Rewrite.
18946 (display-buffer): Process other-window specifier and call
18947 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
18948 more faithfully.
18949 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
18950 (display-buffer-alist-set): Don't handle 'unset default values.
18951 (display-buffer-in-window, display-buffer-alist-set):
18952 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
18953 <tassilo@member.fsf.org>.
18954
18955 2011-07-09 Leo Liu <sdl.web@gmail.com>
18956
18957 * register.el (insert-register): Restore accidental change on
18958 2011-06-26. (Bug#9028)
18959
18960 2011-07-09 Glenn Morris <rgm@gnu.org>
18961
18962 * subr.el (remq): Handle the empty list. (Bug#9024)
18963
18964 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
18965
18966 * mail/sendmail.el (send-mail-function): No longer delay custom
18967 initialization.
18968 * custom.el (custom-initialize-delay): Doc fix.
18969
18970 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18971
18972 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
18973
18974 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
18975
18976 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
18977 human-friendly prompt.
18978
18979 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18980
18981 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
18982 provided by a particular plugin.
18983
18984 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
18985
18986 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
18987 save customizations (with "emacs -Q"), just set the variable
18988 instead of erroring out.
18989
18990 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18991
18992 2011-07-08 Juri Linkov <juri@jurta.org>
18993
18994 * arc-mode.el (archive-zip-expunge, archive-zip-update)
18995 (archive-zip-update-case): Use 7z if found by `executable-find'.
18996 The order of searching the available programs is the same as in
18997 `archive-zip-extract' (bug#8968).
18998
18999 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19000
19001 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19002 (menu-bar-options-menu): Tweak descriptions.
19003
19004 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19005
19006 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19007 menu items into verb phrases (bug#1421). Also refill to fit under
19008 80 columns.
19009
19010 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19011
19012 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19013 (Info-read-node-name): Doc fix (Bug#1084).
19014
19015 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19016 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19017 (end-of-sexp, beginning-of-sexp)
19018 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19019 (forward-symbol, forward-same-syntax, word-at-point)
19020 (sentence-at-point): Doc fix (Bug#1144).
19021
19022 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19023
19024 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19025 should cover it (bug#1281).
19026
19027 * cus-edit.el (custom-show): Mark as obsolete.
19028
19029 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
19030 negotiation fails, then possibly try again with a non-encrypted
19031 connection (bug#9017).
19032
19033 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19034 be used.
19035
19036 2011-07-07 Richard Stallman <rms@gnu.org>
19037
19038 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19039 property, and handle its changed format.
19040 Look for the correct line number.
19041 Use file's line contents (but not past first =) to find
19042 correct line in message.
19043
19044 2011-07-07 Kenichi Handa <handa@m17n.org>
19045
19046 * international/characters.el (build-unicode-category-table):
19047 Delete it.
19048 (unicode-category-table): Set it by unicode-property-table-internal.
19049
19050 * international/mule-cmds.el (char-code-property-alist): Move to
19051 to src/chartab.c.
19052 (get-char-code-property): Call unicode-property-table-internal to
19053 load a file. Call get-unicode-property-internal where necessary.
19054 (put-char-code-property): Call unicode-property-table-internal to
19055 load a file. Call put-unicode-property-internal where necessary.
19056 put-unicode-property-internal where necessary.
19057 (char-code-property-description):
19058 Call unicode-property-table-internal to load a file.
19059
19060 * international/charprop.el:
19061 * international/uni-bidi.el:
19062 * international/uni-category.el:
19063 * international/uni-combining.el:
19064 * international/uni-comment.el:
19065 * international/uni-decimal.el:
19066 * international/uni-decomposition.el:
19067 * international/uni-digit.el:
19068 * international/uni-lowercase.el:
19069 * international/uni-mirrored.el:
19070 * international/uni-name.el:
19071 * international/uni-numeric.el:
19072 * international/uni-old-name.el:
19073 * international/uni-titlecase.el:
19074 * international/uni-uppercase.el: Regenerate.
19075
19076 * loadup.el: Load international/charprop.el before
19077 international/characters.
19078
19079 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19080
19081 * window.el (next-buffer, previous-buffer): Signal an error if
19082 called from a minibuffer window.
19083
19084 * bindings.el: Revert 2011-07-04 change.
19085
19086 2011-07-06 Richard Stallman <rms@gnu.org>
19087
19088 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19089 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19090 Treat markers like ints.
19091 (rmail-mime-entity): Doc fix.
19092
19093 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19094
19095 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19096 defcustom again for backwards compatibility.
19097
19098 * simple.el (shell-command-on-region): Fill.
19099
19100 * dired-aux.el (dired-kill-line): Add a doc string.
19101
19102 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19103 to "\\sw\\|\\s_" (bug#358).
19104
19105 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19106 (dired-unmark-backward): Ditto.
19107 (dired-flag-backup-files): Ditto.
19108
19109 * dired-x.el (dired-mark-sexp): Ditto.
19110
19111 2011-07-06 Richard Stallman <rms@gnu.org>
19112
19113 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19114 (rmail-mime-entity): New arg TRUNCATED.
19115 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19116 New functions.
19117 (rmail-mime-save): Warn if entity is truncated.
19118 (rmail-mime-toggle-hidden): Likewise, for showing.
19119 (rmail-mime-process-multipart): Record when an entity is truncated.
19120
19121 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19122 if ENTITY is a string.
19123
19124 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19125
19126 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
19127 of faces when `M-C-x'-ing their definitions (bug#8378).
19128 Also clean up the code slightly.
19129
19130 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
19131 because that makes the colors go away.
19132
19133 * mail/sendmail.el (send-mail-function): Change the default to
19134 `sendmail-query-once'.
19135 (sendmail-query-once): Add an autoload cookie.
19136
19137 * net/network-stream.el (network-stream-open-starttls): Try using
19138 a plain connection even if the server offered STARTTLS, and we
19139 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19140 capability. This should make smtpmail.el work in slightly more
19141 configurations.
19142
19143 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
19144
19145 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19146 New defun.
19147 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
19148
19149 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
19150
19151 * progmodes/sql.el: Version 3.0
19152 (sql-product-alist): Add product :completion-object,
19153 :completion-column, and :statement attributes.
19154 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
19155 (sql-mode-syntax-table): Mark all punctuation.
19156 (sql-font-lock-keywords-builder): Temporarily remove fallback on
19157 ansi keywords.
19158 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
19159 (sql-mode-oracle-font-lock-keywords): Improve.
19160 (sql-oracle-show-reserved-words): New function for development.
19161 (sql-product-font-lock): Simplify for source code buffers.
19162 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
19163 New functions.
19164 (sql-highlight-product): Set product specific syntax table.
19165 (sql-mode-map): Add statement movement functions.
19166 (sql-ansi-statement-starters, sql-oracle-statement-starters):
19167 New variable.
19168 (sql-statement-regexp, sql-beginning-of-statement)
19169 (sql-end-of-statement, sql-signum): New functions.
19170 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
19171 (sql-show-sqli-buffer): Bug fix.
19172 (sql-interactive-mode): Store connection data as buffer local.
19173 (sql-connect): Add NEW-NAME parameter. Redesign interaction
19174 with sql-interactive-mode.
19175 (sql-save-connection): Save buffer local settings.
19176 (sql-connection-menu-filter): Change menu entry name.
19177 (sql-product-interactive): Bug fix.
19178 (sql-preoutput-hold): New variable.
19179 (sql-interactive-remove-continuation-prompt): Bug fixes.
19180 (sql-debug-redirect): New variable.
19181 (sql-str-literal): New function.
19182 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
19183 Redesign.
19184 (sql-oracle-save-settings, sql-oracle-restore-settings)
19185 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19186 (sql-completion-object, sql-completion-column)
19187 (sql-completion-sqlbuf): New variables.
19188 (sql-build-completions-1, sql-build-completions)
19189 (sql-try-completion): New functions.
19190 (sql-read-table-name): Use them.
19191 (sql-contains-names): New buffer local variable.
19192 (sql-list-all, sql-list-table): Use it.
19193 (sql-oracle-completion-types): New variable.
19194 (sql-oracle-completion-object, sql-sqlite-completion-object)
19195 (sql-postgres-completion-object): New functions.
19196
19197 2011-07-06 Glenn Morris <rgm@gnu.org>
19198
19199 * window.el (pop-to-buffer): Doc fix.
19200
19201 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
19202
19203 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19204
19205 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
19206
19207 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
19208
19209 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
19210
19211 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
19212
19213 * button.el (button): Inherit from link face. Suggested by Dan
19214 Nicolaescu.
19215
19216 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19217
19218 * progmodes/gdb-mi.el: Fit in 80 columns.
19219 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19220 switch-to-buffer.
19221
19222 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19223 if imenu is simply not configured (bug#8941).
19224
19225 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19226
19227 * allout.el (allout-post-undo-hook): New allout outline-change
19228 event hook to signal undo activity.
19229 (allout-post-command-business): Run allout-post-undo-hook if an
19230 undo just occurred.
19231 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19232 * allout-widgets.el (allout-widgets-after-undo-function):
19233 Ensure the integrity of the current item's decoration after it has been
19234 in the vicinity of an undo.
19235 (allout-widgets-mode): Include allout-widgets-after-undo-function
19236 on the new allout-post-undo-hook.
19237
19238 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19239
19240 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19241 Let define-derived-mode define it.
19242 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19243 cycles of abbrev-table inheritance (bug#8998).
19244
19245 2011-07-05 Roland Winkler <winkler@gnu.org>
19246
19247 * textmodes/bibtex.el: Add support for biblatex.
19248 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19249 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19250 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19251 (bibtex-entry-alist, bibtex-field-alist): New variables.
19252 (bibtex-entry-field-alist): Obsolete alias for
19253 bibtex-BibTeX-entry-alist.
19254 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19255 (bibtex-set-dialect): New command.
19256 (bibtex-entry-type, bibtex-entry-head)
19257 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19258 Bind via bibtex-set-dialect.
19259 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19260 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19261 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19262 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19263 Define via bibtex-set-dialect.
19264 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19265 Obey bibtex-no-opt-remove-re.
19266 (bibtex-vec-push, bibtex-vec-incr): New functions.
19267 (bibtex-format-entry, bibtex-field-list)
19268 (bibtex-print-help-message, bibtex-validate)
19269 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19270
19271 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19272
19273 * progmodes/compile.el (compilation-goto-locus):
19274 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19275 * bs.el (bs-cycle-next, bs-cycle-previous):
19276 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19277 * bindings.el (mode-line-other-buffer):
19278 * autoinsert.el (auto-insert):
19279 * arc-mode.el (archive-extract):
19280 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19281
19282 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19283
19284 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19285 Fix check of `emacs-lock-unlockable-modes'.
19286 Coerce true values of `emacs-lock--try-unlocking' to t.
19287
19288 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19289
19290 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19291 * emacs-lock.el: New file.
19292
19293 2011-07-05 Julien Danjou <julien@danjou.info>
19294
19295 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19296 than `boundp' to check if face is set.
19297
19298 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19299
19300 * register.el (registerv-make):
19301 * window.el (window-min-height): Fix typos in docstrings.
19302
19303 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19304
19305 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
19306 Update doc string.
19307
19308 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19309
19310 * server.el (server-execute): Catch quit and call
19311 `server-return-error' to pass the error back to emacsclient and
19312 close the connection (bug#8942).
19313
19314 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19315
19316 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19317 insecure exception for current topic. Also note that auto-saves
19318 are handled differently.
19319
19320 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
19321 State variables for tracking auto-save inhibition situation.
19322
19323 (allout-write-contents-hook-handler): Rename from
19324 'allout-write-file-hook-handler', and describe how it depends on
19325 write-contents-functions sensitivity to non-nil value to prevent
19326 file write.
19327
19328 (allout-auto-save-hook-handler): Remove. auto-save does not check
19329 this in individual buffers, only in the starting buffer, so this
19330 is not the right way for us to inhibit auto-save in a buffer
19331 according to its condition.
19332
19333 (allout-mode): Use new allout-write-contents-hook-handler, and
19334 only with write-contents-functions. Remove auto-save provisions -
19335 they're implemented elsewhere.
19336
19337 (allout-before-change-handler): If undo is in progress, note that
19338 for attention of allout-post-command-business.
19339
19340 (allout-post-command-business): If the command we're following was
19341 an undo, check for change in the status of encrypted items and
19342 adjust auto-save inhibitions accordingly.
19343
19344 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19345 according to whether there are or aren't any plain-text topics
19346 pending encryption.
19347
19348 (allout-inhibit-auto-save-info-for-decryption):
19349 Adjust buffer-saved-size and some allout state to inhibit auto-saves
19350 if there are plain-text topics pending encryption.
19351
19352 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19353 buffer-saved-size and some allout state to not inhibit auto-saves
19354 if there are no longer any plain-text topics pending encryption.
19355
19356 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19357 No longer provide for exemption of the current topic.
19358
19359 2011-07-04 Juri Linkov <juri@jurta.org>
19360
19361 Add 7z operations to delete and save changed members (bug#8968).
19362 * arc-mode.el (archive-7z-expunge, archive-7z-update):
19363 New defcustoms.
19364 (archive-7z-write-file-member): New function.
19365 (archive-7z-summarize): Fix the number of dashes in the
19366 listing output.
19367
19368 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19369
19370 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19371 (bug#8958).
19372
19373 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
19374
19375 * bindings.el: Ignore next-buffer and previous-buffer in
19376 minibuffer-local-map.
19377
19378 * font-lock.el (font-lock-builtin-face): Change light background
19379 color to dark slate blue (Bug#6693).
19380
19381 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
19382
19383 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19384
19385 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19386
19387 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
19388 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19389 Add switch-to-buffer.
19390
19391 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19392
19393 * isearch.el (isearch-search-fun-function): Clarify further the
19394 meaning of the function returned.
19395
19396 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
19397
19398 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
19399
19400 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
19401 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
19402 Use it.
19403 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
19404 `tramp-default-remote-path' does not exist.
19405 (tramp-send-command-and-read): New optional argument NOERROR.
19406 (tramp-open-connection-setup-interactive-shell)
19407 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
19408 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
19409 (tramp-process-sentinel): Flush also process' connection property.
19410 (tramp-sh-handle-start-file-process): Do not set process
19411 sentinel. It is done now ...
19412 (tramp-maybe-open-connection): ... here. (Bug#8929)
19413
19414 2011-07-04 MON KEY <monkey@sandpframing.com>
19415
19416 * play/animate.el (animate-string): Doc fixes and allow changing
19417 the buffer name (bug#5417).
19418
19419 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19420
19421 * play/animate.el (animation-buffer-name): Rename from *animate*.
19422
19423 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
19424
19425 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
19426 This is simpler and helps future-proof the code.
19427 (timer-until): Use time-subtract and float-time.
19428 (timer--time-less-p): Use time-less-p.
19429
19430 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19431
19432 * type-break.el (timep): Use the value of `float-time' to avoid a
19433 byte-compiler warning.
19434
19435 * server.el (server-eval-and-print): Return any result, even nil.
19436
19437 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
19438
19439 * type-break.el: Accept time formats that the builtins accept.
19440 (timep, type-break-time-difference): Accept any format that
19441 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
19442 This is simpler and helps future-proof the code.
19443 (type-break-time-difference): Round rather than ignoring
19444 subseconds components.
19445
19446 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19447
19448 * info.el (Info-apropos-matches): Make non-interactive, since it
19449 doesn't seem to do anything useful as a command (bug#8829).
19450
19451 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
19452
19453 * frame.el (frame-background-mode, frame-set-background-mode):
19454 Move from faces.el.
19455 (frame-default-terminal-background): New function.
19456
19457 * custom.el (custom-push-theme): Don't record faces in `changed'
19458 theme; this doesn't work correctly for per-frame face settings.
19459 (disable-theme): Use face-set-after-frame-default to reset faces.
19460 (custom--frame-color-default): New function.
19461
19462 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19463
19464 * dired.el (dired-flagging-regexp): Remove unused variable
19465 (bug#8769).
19466
19467 2011-03-29 Kevin Ryde <user42@zip.com.au>
19468
19469 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19470 `perl-Test2' extend to match possible "fail #N" rep count
19471 (bug#8377).
19472
19473 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19474
19475 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
19476 `smtpmail-via-smtp' now returns the error instead of nil.
19477
19478 * isearch.el (isearch-search-fun-function): Clarify the doc string
19479 (bug#8101).
19480
19481 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
19482
19483 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
19484 unnecessary spaces (bug#8987).
19485
19486 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19487
19488 * net/network-stream.el (open-network-stream): Use the
19489 :end-of-capability command thoughout.
19490
19491 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
19492
19493 * net/network-stream.el (open-network-stream): Add the
19494 :end-of-capability command parameter, used by pop3.el.
19495
19496 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19497
19498 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
19499
19500 * fringe.el (fringe-query-style): Remove redundant text " (type ?
19501 for list)" (bug#6475).
19502
19503 * files.el (file-expand-wildcards): Ignore non-readable
19504 sub-directories while trying to find matches instead of signaling
19505 an error (bug#6297).
19506
19507 * man.el (Man-reference-regexp): Allow matching possible
19508 word-wrapped references (bug#6289).
19509
19510 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
19511 for consistency with the other vc buffers (bug#6197).
19512 (vc-checkin): Ditto.
19513
19514 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
19515
19516 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
19517
19518 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19519
19520 * custom.el (defcustom): Clarify that :set is only used in the
19521 Customize user interface (bug#6089).
19522
19523 * progmodes/flymake.el (flymake-mode): If the buffer isn't
19524 associated with a file, refuse to run instead of erroring out
19525 (bug#6084).
19526
19527 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
19528 the doc string, since it appears that using `fill-column' always
19529 controls the width (bug#7845).
19530
19531 * simple.el (shell-command-on-region): Say where the error output
19532 went if `shell-command-default-error-buffer' is set (bug#6857).
19533
19534 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
19535
19536 * allout.el (allout-yank-processing): Adjust cursor position for
19537 backwards-deleted space.
19538
19539 (allout-rebullet-heading): Register changes with
19540 allout-exposure-changed-hook, so the modified topic is properly
19541 decorated.
19542
19543 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19544
19545 * minibuffer.el (completion-in-region): Document PREDICATE
19546 (bug#7136).
19547
19548 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
19549 of keyword/argument pairs (bug#6904).
19550
19551 * replace.el (multi-occur):
19552 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
19553
19554 2011-07-02 Drew Adams <drew.adams@oracle.com>
19555
19556 * dired.el (dired-mark-if): Make the message about whether it's
19557 marking or unmarking clearer (bug#8523).
19558
19559 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19560
19561 * disp-table.el (display-table-print-array): New function.
19562 (describe-display-table): Use it to print the vectors more pretty
19563 (Bug#8859).
19564
19565 2011-07-02 Martin Rudalics <rudalics@gmx.at>
19566
19567 * window.el (window-state-get-1): Don't assign clone numbers.
19568 Add clone-of item to list of window parameters.
19569 (window-state-put-2): Don't process clone numbers.
19570 (display-buffer-alist): Fix doc-string.
19571
19572 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
19573
19574 * subr.el (remq): Don't allocate if it's not needed.
19575 (keymap--menu-item-binding, keymap--menu-item-with-binding)
19576 (keymap--merge-bindings): New functions.
19577 (keymap-canonicalize): Use them to refine the canonicalization.
19578 * minibuffer.el (minibuffer-local-completion-map)
19579 (minibuffer-local-must-match-map): Move initialization from C.
19580 (minibuffer-local-filename-completion-map): Move initialization from C;
19581 don't inherit from anything here.
19582 (minibuffer-local-filename-must-match-map): Make obsolete.
19583 (completing-read-default): Use make-composed-keymap to combine
19584 minibuffer-local-filename-completion-map with either
19585 minibuffer-local-must-match-map or
19586 minibuffer-local-filename-completion-map.
19587
19588 2011-07-01 Glenn Morris <rgm@gnu.org>
19589
19590 * type-break.el (type-break-time-sum): Use dolist.
19591
19592 * textmodes/flyspell.el (flyspell-word-search-backward):
19593 Replace CL function.
19594
19595 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19596
19597 * mouse.el (mouse--strip-first-event): New function.
19598 (function-key-map): Use it to map fringe clicks to normal clicks
19599 by default.
19600
19601 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
19602 (vc-bzr-revision-completion-table): Add support for annotate and date.
19603
19604 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
19605 inherit from parent.
19606
19607 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19608
19609 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
19610 (dired-show-file-type): Doc fixup (bug#8818).
19611
19612 * dired.el (dired-mode): Fix up the doc string as suggested by
19613 Drew Adams (bug#8817).
19614
19615 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
19616 cookie, since the manual says that it should be possible to add
19617 this function to `find-file-hook' (bug#8709).
19618
19619 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19620
19621 * progmodes/cfengine.el: Moved all cfengine3.el functionality
19622 here. Noted Ted Zlatanov as the maintainer.
19623 (cfengine-common-settings, cfengine-common-syntax): New functions
19624 to set up common things between `cfengine-mode' and
19625 `cfengine3-mode'.
19626 (cfengine3-mode): New mode.
19627 (cfengine3-defuns cfengine3-defuns-regex
19628 (cfengine3-class-selector-regex cfengine3-category-regex)
19629 (cfengine3-vartypes cfengine3-font-lock-keywords)
19630 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
19631 (cfengine3-indent-line): Add from cfengine3.el.
19632
19633 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
19634
19635 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
19636
19637 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
19638
19639 2011-07-01 Martin Rudalics <rudalics@gmx.at>
19640
19641 * window.el (same-window-buffer-names, same-window-regexps)
19642 (same-window-p, special-display-frame-alist)
19643 (special-display-popup-frame, special-display-function)
19644 (special-display-buffer-names, special-display-regexps)
19645 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
19646 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19647 (split-window-preferred-function, split-height-threshold)
19648 (split-width-threshold, even-window-heights)
19649 (display-buffer-mark-dedicated, window-splittable-p)
19650 (split-window-sensibly, window-safely-shrinkable-p):
19651 Un-obsolete.
19652 (display-buffer): Don't spread args with function specifier
19653 because special-display-popup-frame won't like it.
19654
19655 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
19656
19657 Time-stamp simplifications and fixes.
19658 These improve accuracy slightly, and future-proof the code
19659 against some potential changes to current-time format.
19660
19661 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
19662 by using time-since and float-time.
19663
19664 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
19665 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
19666 + NNN microseconds".
19667
19668 * type-break.el (type-break-time-sum): Rewrite using time-add.
19669
19670 * play/hanoi.el (hanoi-current-time-float): Remove.
19671 All uses replaced by float-time.
19672
19673 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
19674 This yields a more-accurate answer.
19675 (rng-time-to-float): Remove; no longer needed.
19676
19677 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
19678
19679 * calendar/timeclock.el (timeclock-seconds-to-time):
19680 Defalias to seconds-to-time, since they're the same thing.
19681
19682 * emacs-lisp/elp.el (elp-elapsed-time):
19683 * emacs-lisp/benchmark.el (benchmark-elapse):
19684 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
19685
19686 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19687
19688 * window.el (bury-buffer): Don't iconify the only frame.
19689 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
19690 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
19691
19692 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
19693
19694 * eshell/em-smart.el (eshell-smart-display-navigate-list):
19695 Add mouse-yank-primary.
19696
19697 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19698
19699 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
19700
19701 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19702
19703 * emacs-lisp/find-func.el (find-library--load-name): New fun.
19704 (find-library-name): Use it to find relative load names when provided
19705 absolute file name (bug#8803).
19706
19707 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19708
19709 * textmodes/flyspell.el (flyspell-word): Consider words that
19710 differ only in case as potential doublons (bug#5687).
19711
19712 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
19713 Remove two rather uninteresting debugging-like messages to make
19714 debbugs.el more silent.
19715
19716 * comint.el (comint-password-prompt-regexp): Accept "Response" as
19717 a password-like phrase.
19718
19719 2011-06-30 Masatake YAMATO <yamato@redhat.com>
19720
19721 * progmodes/cc-guess.el: New file.
19722
19723 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
19724
19725 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
19726 derived from `c-basic-common-init'.
19727
19728 * progmodes/cc-mode.el (top-level): Require cc-guess.
19729 (c-basic-common-init): Use `cc-choose-style-for-mode'.
19730
19731 2011-06-30 Lawrence Mitchell <wence@gmx.li>
19732
19733 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
19734
19735 2011-06-30 Alan Mackenzie <acm@muc.de>
19736
19737 * progmodes/cc-engine.el (c-guess-continued-construct):
19738 Correct the handling of template-args-cont, particularly for when font
19739 lock is disabled. Name this case as "CASE G".
19740
19741 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
19742
19743 * allout.el (allout-yank-processing): Fix injection of extra space
19744 between bullet and non-whitespace character in first topic when
19745 pasting, ensuring that the actual spacing in the pasted topic
19746 following the bullet char is preserved. This extra space was
19747 causing pasted encrypted topics to get a decrypted status even
19748 when the content was actually still encrypted. Now the decryption
19749 status from before the paste is preserved.
19750
19751 (allout-flag-region): Set all allout overlays so they evaporate
19752 when reduced to zero length (evanescent), to prevent overlay
19753 leakage.
19754
19755 2011-06-30 Glenn Morris <rgm@gnu.org>
19756
19757 * w32-fns.el (w32-charset-info-alist): Declare.
19758
19759 * find-dired.el (find-grep-options): Simplify.
19760
19761 * term/ns-win.el (ns-set-resource): Declare.
19762
19763 * ses.el (row, col): Declare dynamic variables honestly.
19764
19765 * textmodes/reftex-parse.el (index-tags): Declare.
19766
19767 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
19768
19769 * cus-edit.el (customize-push-and-save): New function.
19770
19771 * files.el (hack-local-variables-confirm): Use it.
19772
19773 * custom.el (load-theme): New arg NO-CONFIRM.
19774 Use customize-push-and-save (Bug#8720).
19775 (custom-enabled-themes): Doc fix.
19776
19777 * cus-theme.el (customize-create-theme)
19778 (custom-theme-merge-theme): Callers to load-theme changed.
19779
19780 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19781
19782 * thingatpt.el (thing-at-point-short-url-regexp): Require that
19783 short URLs have at least one dot in them (bug #7614).
19784
19785 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
19786 nil, because using a pty is apparently too slow (bug #895).
19787
19788 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
19789
19790 * mail/sendmail.el (sendmail-query-once): New function.
19791 (sendmail-query-once-function): New variable.
19792
19793 2011-06-29 Glenn Morris <rgm@gnu.org>
19794
19795 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
19796
19797 * ses.el (top-level): Require cl when compiling.
19798 (ses-set-localvars): Fix error statement.
19799 Call it at compile time to silence a storm of warnings.
19800
19801 2011-06-29 Martin Rudalics <rudalics@gmx.at>
19802
19803 * window.el (normalize-live-buffer): Rename to
19804 window-normalize-buffer.
19805 (normalize-live-frame): Rename to window-normalize-frame.
19806 (normalize-any-window): Rename to window-normalize-any-window.
19807 (normalize-live-window): Rename to window-normalize-live-window.
19808 (make-window-atom): Rename to window-make-atom.
19809 (window-resize-reset): Rename to window--resize-reset.
19810 (window-resize-reset-1): Rename to window--resize-reset-1.
19811 (resize-mini-window): Rename to window--resize-mini-window.
19812 (resize-subwindows-skip-p): Rename to
19813 window--resize-subwindows-skip-p.
19814 (resize-subwindows-normal): Rename to
19815 window--resize-subwindows-normal.
19816 (resize-subwindows): Rename to window--resize-subwindows.
19817 (resize-other-windows): Rename to window--resize-siblings.
19818 (resize-this-window): Rename to window--resize-this-window.
19819 (resize-root-window): Rename to window--resize-root-window.
19820 (resize-root-window-vertically): Rename to
19821 window--resize-root-window-vertically.
19822 (normalize-buffer-to-display): Rename to
19823 window-normalize-buffer-to-display.
19824 (normalize-buffer-to-switch-to): Rename to
19825 window-normalize-buffer-to-switch-to.
19826 Correspondingly update all callers of the functions listed
19827 above.
19828 (display-buffer-alist, display-buffer-normalize-arguments)
19829 (display-buffer-normalize-options, display-buffer)
19830 (display-buffer-alist-set): Use "function" instead of
19831 "fun-with-args".
19832
19833 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
19834
19835 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
19836 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
19837 debbugs.gnu.org. Mention acknowledgment email.
19838
19839 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
19840
19841 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
19842 buffer multibyteness, since it shouldn't matter.
19843
19844 2011-06-28 Martin Rudalics <rudalics@gmx.at>
19845
19846 * window.el (display-buffer-in-side-window): Handle dedicated
19847 windows as in display-buffer-reuse-window.
19848 (display-buffer-normalize-alist): Use value of override
19849 specifier.
19850 (display-buffer-normalize-specifiers): Use value of
19851 other-window-means-other-frame specifier.
19852 (display-buffer-alist): Rewrite some texts in widgets.
19853 (display-buffer): Spread arguments when calling function
19854 specified by fun-with-args.
19855
19856 2011-06-28 Deniz Dogan <deniz@dogan.se>
19857
19858 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19859 Unnest `let'.
19860
19861 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
19862 selectors (Bug#5732).
19863 (css-proprietary-nmstart-re): Use `regexp-opt'.
19864
19865 2011-06-27 Jari Aalto <jari.aalto@cante.net>
19866
19867 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
19868 (eshell-ls-date-format): New defcustom.
19869 (eshell-ls-file): Use it.
19870
19871 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19872
19873 * help-fns.el (describe-variable): Fix message for terminal-local vars.
19874
19875 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
19876
19877 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
19878 (ange-ftp-make-tmp-name): New arg.
19879 (ange-ftp-file-local-copy): Use it.
19880
19881 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
19882
19883 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
19884 no-conversion (Bug#8870).
19885
19886 2011-06-27 Martin Rudalics <rudalics@gmx.at>
19887
19888 * window.el (window-right, window-left, window-child)
19889 (window-child-count, window-last-child)
19890 (window-iso-combination-p, walk-window-tree-1)
19891 (window-atom-check-1, window-tree-1, delete-window)
19892 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
19893 new naming conventions - window-vchild, window-hchild,
19894 window-next and window-prev are now called window-top-child,
19895 window-left-child, window-next-sibling and window-prev-sibling
19896 respectively.
19897 (resize-window-reset): Rename to window-resize-reset.
19898 (resize-window-reset-1): Rename to window-resize-reset-1.
19899 (resize-window): Rename to window-resize.
19900 (window-min-height, window-min-width)
19901 (resize-mini-window, resize-this-window, resize-root-window)
19902 (resize-root-window-vertically, adjust-window-trailing-edge)
19903 (enlarge-window, shrink-window, maximize-window)
19904 (minimize-window, delete-window, quit-restore-window)
19905 (split-window, balance-windows, balance-windows-area-adjust)
19906 (balance-windows-area, window-state-put-2)
19907 (display-buffer-even-window-sizes, display-buffer-set-height)
19908 (display-buffer-set-width, set-window-text-height)
19909 (fit-window-to-buffer): Rename all "resize-window" prefixed
19910 calls to use the "window-resize" prefix convention.
19911 (display-buffer-alist): Fix symbol for label specifier.
19912 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
19913 corresponding specifier.
19914 Reported by Juanma Barranquero <lekktu@gmail.com>.
19915
19916 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19917
19918 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
19919 convention.
19920 (ses-call-printer): Does not pass an empty string to formatter when the
19921 cell is empty to keep from barking printer Calc math-format-value.
19922
19923 2011-06-27 Richard Stallman <rms@gnu.org>
19924
19925 * battery.el (battery-mode-line-limit): New variable.
19926 (battery-update): Handle it.
19927
19928 * mail/rmailmm.el (rmail-mime-process-multipart):
19929 Handle truncated messages.
19930
19931 2011-06-27 Glenn Morris <rgm@gnu.org>
19932
19933 * progmodes/flymake.el (flymake-err-line-patterns):
19934 Allow for column numbers in the ant/javac pattern. (Bug#8866)
19935
19936 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19937
19938 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
19939 (ses--clean-!, ses--clean-_): New functions.
19940 (ses-range): Add configurability of readout order, and conversion
19941 to Calc vector.
19942
19943 * ses.el (ses-repair-cell-reference-all): New function.
19944 (ses-cell-symbol): Set macro as safe, so that it can be used in
19945 formulas.
19946
19947 * ses.el: Update cycle detection algorithm.
19948 (ses-localvars): Add ses--Dijkstra-attempt-nb and
19949 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
19950 (ses-set-localvars): New function.
19951 (ses-make-cell): Add property-list as a cell element.
19952 (ses-cell-property-get-fun, ses-cell-property-get)
19953 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
19954 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
19955 New functions.
19956 (ses-cell-property-set, ses-cell-property-pop)
19957 (ses-cell-property-get-handle): New macro.
19958 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
19959 New aliases, used for code readability.
19960 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
19961 cycle detection.
19962 (ses-self-reference-early-detection): New defcustom.
19963 (ses-formula-references): Robustify against self-referring cells.
19964 (ses-mode): Use ses-set-localvars.
19965 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
19966 before lauching the update processing.
19967 (ses-initialize-Dijkstra-attempt): New function.
19968 (ses-recalculate-cell): Update for cycle detection based on
19969 Dijkstra algorithm.
19970
19971 * ses.el: Fix commenting and indenting convention.
19972
19973 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19974
19975 * bs.el (bs-cycle-next): Complete last change.
19976
19977 2011-06-27 Drew Adams <drew.adams@oracle.com>
19978
19979 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
19980
19981 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19982
19983 * net/network-stream.el (network-stream-open-starttls):
19984 Don't re-get capabilities unless we've reestablished connection.
19985 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
19986
19987 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
19988 to binary to possibly avoid line encoding issues on Windows (among
19989 other things).
19990
19991 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19992
19993 * net/network-stream.el (open-network-stream): Return an :error
19994 saying what the problem was, if possible.
19995
19996 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
19997 server.
19998
19999 * net/network-stream.el (network-stream-open-starttls): If we
20000 wanted to use STARTTLS, and the server offered it, but we weren't
20001 able to because we had no STARTTLS support, then close the connection.
20002 (open-network-stream): Return an :error element, if present.
20003
20004 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20005
20006 * hl-line.el (hl-line-sticky-flag): Doc fix.
20007 (global-hl-line-sticky-flag): New option (Bug#8323).
20008 (global-hl-line-highlight): Obey it.
20009
20010 * vc/vc.el (vc-revert-show-diff): Default to t.
20011
20012 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
20013
20014 * allout-widgets.el (allout-widgets-post-command-business):
20015 Stop decorating intermediate isearch matches. They're not being
20016 undecorated when an isearch is continued past, and isearch
20017 automatically collapses them. This leads to "widget leaks", where
20018 decorated items accumulate in collapsed areas. Lines with lots of
20019 hidden widgets can slow down cursor travel, substantially.
20020 Too much complicated machinery would be needed to ensure undecoration,
20021 so we're doing without this nicety.
20022
20023 (allout-widgets-tally-string): Don't try to do a hash-table-count
20024 of allout-widgets-tally when it's nil. This eliminates spurious "Error
20025 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20026 *Messages* when allout-widgets-maintain-tally is t.
20027
20028 2011-06-26 Martin Rudalics <rudalics@gmx.at>
20029
20030 * window.el (display-buffer-normalize-argument): Rename to
20031 display-buffer-normalize-arguments. Handle special meaning of
20032 LABEL argument. Respect special-display-function when popping up
20033 a new frame. Fix code searching for a window showing the buffer
20034 on another frame.
20035 (display-buffer-normalize-specifiers):
20036 Call display-buffer-normalize-arguments.
20037 (display-buffer-in-window): Don't undedicate the window if its
20038 buffer remains the same.
20039 Reported by Drew Adams <drew.adams@oracle.com>.
20040 (display-buffer-alist): Add choice for same-window macro
20041 specfier.
20042 (display-buffer): Mention special meaning of LABEL argument in
20043 doc-string. Fix quoting. Don't pop up a new frame even as
20044 fallback.
20045
20046 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
20047
20048 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20049 avoid deleting the current window in some cases (bug#8911).
20050
20051 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20052
20053 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20054 (Bug#8934)
20055
20056 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20057
20058 * net/network-stream.el (network-stream-open-starttls):
20059 Use built-in TLS support if `gnutls-available-p' is true.
20060 (network-stream-open-tls): Ditto.
20061
20062 2011-06-26 Leo Liu <sdl.web@gmail.com>
20063
20064 * register.el (registerv): New struct.
20065 (registerv-make): New function.
20066 (jump-to-register, describe-register-1, insert-register):
20067 Support the jump-func, print-func and insert-func slot of a registerv
20068 struct. (Bug#8415)
20069
20070 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20071
20072 * vc/vc.el (vc-revert-show-diff): New defcustom.
20073 (vc-diff-internal): New arg specifying diff buffer.
20074 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20075 reuse an existing *vc-diff* buffer (Bug#8927).
20076
20077 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20078
20079 2011-06-26 Glenn Morris <rgm@gnu.org>
20080
20081 * progmodes/f90.el (f90-critical-indent): New option.
20082 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20083 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20084 (f90-mode): Doc fix.
20085 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20086 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20087 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20088 (f90-match-end): Handle block, critical.
20089
20090 2011-06-25 Glenn Morris <rgm@gnu.org>
20091
20092 * calendar/diary-lib.el (diary-included-files): Doc fix.
20093 (diary-include-files): New function, extracted from
20094 diary-include-other-diary-files and diary-mark-included-diary-files.
20095 (diary-include-other-diary-files, diary-mark-included-diary-files):
20096 Just call diary-include-files.
20097 (diary-mark-entries): Reset diary-included-files on first call.
20098
20099 * calendar/diary-lib.el (diary-mark-entries)
20100 (diary-mark-included-diary-files):
20101 Visit included diary-files in temp buffers.
20102
20103 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20104 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20105 (f90-start-block-re, f90-imenu-generic-expression)
20106 (f90-looking-at-program-block-start, f90-no-block-limit):
20107 Add support for submodules.
20108
20109 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20110 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
20111
20112 2011-06-25 Eli Zaretskii <eliz@gnu.org>
20113
20114 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20115 buffer-file-type before setting its value, to avoid disastrous
20116 global effects on decoding files for DOS/Windows systems. (Bug#8780)
20117
20118 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20119
20120 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20121
20122 * ses.el (ses-unload-function):
20123 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20124
20125 * proced.el (proced-unload-function):
20126 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20127
20128 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20129
20130 * server.el (server-create-window-system-frame): Add parameters arg.
20131 (server-process-filter): Doc fix. Handle frame-parameters.
20132
20133 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20134
20135 Fix bug#8730, bug#8781.
20136
20137 * loadhist.el (unload--set-major-mode): New function.
20138 (unload-feature): Use it.
20139
20140 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20141 (python-unload-function): New function.
20142
20143 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20144
20145 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
20146
20147 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
20148
20149 * net/browse-url.el (browse-url-firefox-program): Add icecat to
20150 the candidates list.
20151
20152 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
20153
20154 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
20155
20156 2011-06-23 Richard Stallman <rms@gnu.org>
20157
20158 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
20159 (rmail-variables): Set next-error-move-function.
20160 (rmail-what-message): Take argument POS.
20161 (rmail-next-error-move): New function.
20162
20163 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
20164
20165 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20166 messages for adjacent non-terminals.
20167
20168 2011-06-23 Richard Stallman <rms@gnu.org>
20169
20170 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
20171 (rmail-show-message-1): Preserve buffer modified flag.
20172 (rmail-start-mail): Don't specify use of rmail-mail-return;
20173 that's done by mail-bury now.
20174 (rmail-mail-return): Handle arg NEWBUF.
20175
20176 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
20177
20178 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20179 SIZE is a number.
20180
20181 2011-06-23 Martin Rudalics <rudalics@gmx.at>
20182
20183 * window.el (get-lru-window, get-mru-window)
20184 (get-largest-window): Never return a minibuffer window.
20185 (display-buffer-pop-up-window): Fix a bug that could lead to
20186 reusing the minibuffer window.
20187 (display-buffer): Pass original specifier argument to
20188 display-buffer-function instead of the normalized one.
20189 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20190
20191 2011-06-22 Leo Liu <sdl.web@gmail.com>
20192
20193 * minibuffer.el (completing-read-function)
20194 (completing-read-default): Move from minibuf.c.
20195
20196 2011-06-22 Richard Stallman <rms@gnu.org>
20197
20198 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20199 to Rmail even if not started by a special Rmail command.
20200
20201 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20202 Copy the buffer currently showing just one message.
20203
20204 2011-06-22 Roland Winkler <winkler@gnu.org>
20205
20206 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20207 (bibtex-clean-entry): First delete the old key so that a
20208 customized algorithm for generating the new key does not get
20209 confused by the old key.
20210 (bibtex-url): Obey regexp of first step.
20211 (bibtex-search-entries): Do not use add-to-list with local
20212 list-var.
20213
20214 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20215
20216 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20217 stored a user name, then query for the password first, instead of
20218 waiting for SMTP to give an error message and the trying again.
20219
20220 2011-06-22 Lawrence Mitchell <wence@gmx.li>
20221
20222 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20223 BUFFER in call-process.
20224
20225 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20226
20227 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20228 QUIT twice.
20229 (smtpmail-try-auth-methods): Require user name and password from
20230 auth-source.
20231
20232 2011-06-22 Martin Rudalics <rudalics@gmx.at>
20233
20234 * window.el (display-buffer-default-specifiers)
20235 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20236 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
20237 (split-window): Normalize SIDE argument (Bug#8916).
20238
20239 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20240 (special-display-frame-alist, special-display-popup-frame):
20241 Remove duplicate declarations. These are now in window.el.
20242
20243 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20244
20245 * mail/smtpmail.el (smtpmail-via-smtp):
20246 Set :use-starttls-if-possible so that we always use STARTTLS if the
20247 server supports it. SMTP servers that support STARTTLS commonly
20248 require it.
20249
20250 * net/network-stream.el (network-stream-open-starttls): Support
20251 upgrading to STARTTLS always, even if we don't have built-in support.
20252 (open-network-stream): Add the :always-query-capabilities keyword.
20253
20254 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20255 upgrades with `open-network-stream', and rely solely on
20256 auth-source for all credentials. Big changes throughout the file,
20257 but in particular:
20258 (smtpmail-auth-credentials): Remove.
20259 (smtpmail-starttls-credentials): Remove.
20260 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20261 MAIL FROM, too.
20262
20263 * net/network-stream.el (network-stream-open-starttls):
20264 Provide support for client certificates both for external and built-in
20265 STARTTLS.
20266 (auth-source): Require.
20267 (open-network-stream): Document the :client-certificate keyword.
20268 (network-stream-certificate): Change cert-cert to cert and
20269 cert-key to key.
20270
20271 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
20272
20273 * net/tramp-cache.el (top): Don't load the persistency file when
20274 "emacs -Q" has been called.
20275
20276 2011-06-21 Tim Harper <timcharper@gmail.com>
20277
20278 * term/ns-win.el (ns-initialize-window-system):
20279 Set application-specific `ApplePressAndHoldEnabled' system
20280 resource to NO as it is not yet supported by the NS port.
20281
20282 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
20283
20284 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20285 (list-dynamic-libraries): ...not here.
20286
20287 2011-06-21 Leo Liu <sdl.web@gmail.com>
20288
20289 * subr.el (sha1): Implement sha1 using secure-hash.
20290
20291 2011-06-21 Martin Rudalics <rudalics@gmx.at>
20292
20293 * window.el (display-buffer-alist): In default value do not
20294 enforce searching a window on any but the selected frame.
20295 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20296 (display-buffer-select-window): Remove function.
20297 (display-buffer-in-window): When a window on another frame gets
20298 reused, do not select it any more but just raise its frame if
20299 necessary (Bug#8851) and (Bug#8856).
20300 (display-buffer-normalize-options): Handle pop-up-frames related
20301 options more faithfully.
20302 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20303 window if it is on another frame.
20304 (display-buffer-alist, display-buffer-default-specifiers):
20305 Don't make new frame unsplittable by default.
20306 (display-buffer-normalize-argument): Fix doc-string typo and use
20307 'same-frame-other-window instead of 'other-window when associating
20308 with display-buffer-macro-specifiers.
20309
20310 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20311
20312 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20313 New functions.
20314 (5x5-mode-map, 5x5-mode-menu): Bind them.
20315 (5x5-draw-grid): Tweak the solver's rendering.
20316
20317 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20318
20319 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20320 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20321
20322 2011-06-21 Drew Adams <drew.adams@oracle.com>
20323
20324 * menu-bar.el: Use function variable instead of switch-to-buffer.
20325 (menu-bar-select-buffer-function): New variable.
20326 (menu-bar-update-buffers): Use it (bug#8876).
20327
20328 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20329
20330 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20331 variable's status.
20332
20333 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20334
20335 * x-dnd.el (x-dnd-version-from-flags)
20336 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20337 and long as number (Bug#8899).
20338 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20339
20340 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20341
20342 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
20343 (completion-try-completion, completion-all-completions): Compute the
20344 metadata argument if it's missing; make it optional (bug#8795).
20345
20346 * wid-edit.el: Use lex-bind and move towards completion-at-point.
20347 (widget-complete): Use new :completion-function property.
20348 (widget-completions-at-point): New function.
20349 (default): Use :completion-function instead of :complete.
20350 (widget-default-completions): Rename from widget-default-complete;
20351 Rewrite.
20352 (widget-string-complete, widget-file-complete, widget-color-complete):
20353 Remove functions.
20354 (file, symbol, function, variable, coding-system, color):
20355 * international/mule-cmds.el (default-input-method, charset)
20356 (language-info-custom-alist):
20357 * cus-edit.el (face): Use new property :completions.
20358
20359 * progmodes/pascal.el (pascal-completions-at-point): New function.
20360 (pascal-mode): Use it.
20361 (pascal-mode-map): Use completion-at-point.
20362 (pascal-toggle-completions): Make obsolete.
20363 (pascal-complete-word, pascal-show-completions):
20364 * progmodes/octave-mod.el (octave-complete-symbol):
20365 Redefine as obsolete alias.
20366 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20367 Signal absence of completion info for old Octave,
20368 (inferior-octave-complete): Redefine as obsolete alias.
20369 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20370 (meta-completions-at-point): Rename from meta-complete-symbol and
20371 adapt it for use on completion-at-point-functions.
20372 (meta-common-mode): Use it.
20373 (meta-looking-at-backward, meta-match-buffer): Remove.
20374 (meta-complete-symbol): Redefine as obsolete alias.
20375 (meta-common-mode-map): Use completion-at-point.
20376 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20377 (makefile-mode-map): Use completion-at-point.
20378 (makefile-completions-at-point): Rename from makefile-complete and
20379 adapt it for use on completion-at-point-functions.
20380 (makefile-mode): Use it.
20381 (makefile-complete): Redefine as obsolete alias.
20382
20383 2011-06-20 Deniz Dogan <deniz@dogan.se>
20384
20385 * net/rcirc.el: Delete trailing whitespaces once and for all.
20386
20387 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
20388
20389 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
20390
20391 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
20392
20393 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
20394
20395 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
20396
20397 2011-06-19 Martin Rudalics <rudalics@gmx.at>
20398
20399 * window.el (display-buffer-other-window-means-other-frame):
20400 Call display-buffer-normalize-alist.
20401 (display-buffer-normalize-specifiers-1): Rename to
20402 display-buffer-normalize-argument. New argument other-frame.
20403 Rewrite.
20404 (display-buffer-normalize-specifiers-2): Rename to
20405 display-buffer-normalize-options.
20406 (display-buffer-normalize-alist-1): New function.
20407 (display-buffer-normalize-specifiers-3): Rename to
20408 display-buffer-normalize-alist.
20409 Call display-buffer-normalize-alist-1.
20410 (display-buffer-normalize-options-inhibit): New variable.
20411 (display-buffer-normalize-specifiers): Rewrite calling
20412 display-buffer-normalize-alist,
20413 display-buffer-normalize-argument, and
20414 display-buffer-normalize-options. Don't call the latter if
20415 display-buffer-normalize-options-inhibit is non-nil.
20416 (frame-auto-delete): New option.
20417 (window-deletable-p): Use frame-auto-delete.
20418 (window-list-no-nils, window-state-ignored-parameters)
20419 (window-state-get-1, window-state-get, window-state-put-list)
20420 (window-state-put-1, window-state-put-2, window-state-put):
20421 New functions.
20422 (display-buffer-normalize-options): Move special-display-p group
20423 after pop-up-frame group (Bug#8851) and (Bug#8856).
20424
20425 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
20426
20427 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
20428 groups (Bug#8776).
20429 (rx-submatch-n): New function.
20430 (rx): Document it.
20431
20432 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
20433 (Bug#8768).
20434
20435 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
20436
20437 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
20438
20439 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
20440 anytime existing face settings are present (Bug#8889).
20441
20442 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
20443 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
20444 Remove unused argument.
20445
20446 2011-06-18 Martin Rudalics <rudalics@gmx.at>
20447
20448 * window.el (display-buffer-default-specifiers):
20449 Remove pop-up-frame. Add pop-up-window-min-height,
20450 pop-up-window-min-width, and another reuse-window specifier
20451 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
20452 (display-buffer-normalize-specifiers-2):
20453 Handle split-height-threshold and split-width-threshold also when
20454 pop-up-windows is unset. Add a reuse-window specifier for the
20455 case popping up a new window fails.
20456 (special-display-popup-frame): Remove double quoting.
20457 (display-buffer-normalize-specifiers-1): Fix thinko.
20458
20459 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20460
20461 * shell.el (shell-completion-vars): Set pcomplete-termination-string
20462 according to comint-completion-addsuffix.
20463
20464 * pcomplete.el: Convert to lexical binding and fix bug#8819.
20465 (pcomplete-suffix-list): Mark as obsolete.
20466 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
20467 pcomplete-seen in the closure.
20468 (pcomplete-comint-setup): Setup completion-at-point as well.
20469 (pcomplete--entries): New function.
20470 (pcomplete--env-regexp): New var.
20471 (pcomplete-entries): Rewrite to work with partial-completion and
20472 without relying on pcomplete-suffix-list.
20473 (pcomplete-pare-list): Remove, unused.
20474
20475 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20476
20477 * window.el (display-buffer-alist): Set pop-up-window-min-height
20478 and pop-up-window-min-width in default value. Reported by
20479 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
20480 other-window-means-other-frame.
20481 (display-buffer-macro-specifiers): Comment out entry for
20482 other-window specifier.
20483 (display-buffer-other-window-means-other-frame): New function.
20484 (display-buffer-normalize-specifiers-1): New arguments
20485 buffer-name and label. Treat other-window case specially.
20486 (display-buffer-normalize-specifiers-2): Treat other-window case
20487 specially.
20488 (display-buffer-normalize-specifiers-3): New function.
20489 (display-buffer-normalize-specifiers):
20490 Call display-buffer-normalize-specifiers-3.
20491
20492 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20493
20494 * window.el (same-window-p): Fix two typos introduced when
20495 adding with-no-warnings.
20496 (display-buffer-normalize-specifiers-1): Don't check
20497 pop-up-frames for 'unset initialization.
20498 (display-buffer-normalize-specifiers-2): Major rewrite using
20499 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
20500 (pop-up-frames, display-buffer-reuse-frames)
20501 (display-buffer-mark-dedicated): Don't initialize to 'unset.
20502 Suggested by David Engster <deng@randomsample.de>.
20503 (even-window-heights): Initialize to 'unset.
20504 (display-buffer-alist-set): Handle new 'unset initializations.
20505 (display-buffer-macro-specifiers): Don't pop up a new frame in the
20506 other window case.
20507
20508 2011-06-16 Martin Rudalics <rudalics@gmx.at>
20509
20510 * window.el (display-buffer-normalize-specifiers-1):
20511 Respect current value of pop-up-frames for most reasonable values of
20512 second argument of display-buffer (Bug#8865).
20513 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
20514 (switch-to-buffer-other-window-same-frame)
20515 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
20516 Adams (Bug#8875).
20517 (display-buffer): Don't check noninteractive when calling
20518 display-buffer-pop-up-frame.
20519 (display-buffer-pop-up-frame): Never pop up a frame in
20520 noninteractive mode (Bug#8857).
20521 (enlarge-window, shrink-window): Don't report an error when the
20522 window can't be resized as requested (Bug#8862).
20523
20524 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20525
20526 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
20527
20528 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
20529
20530 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
20531
20532 2011-06-15 Alan Mackenzie <acm@muc.de>
20533
20534 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
20535 for declarators, disable knr checking to speed up for normal files.
20536 2: Refactor, replacing a sequence of nested if forms by a cond form.
20537
20538 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20539
20540 * net/network-stream.el (open-network-stream): Add the keyword
20541 :always-query-capabilities for the case where you want to force a
20542 `plain' network connection, but the protocol still requires the
20543 capabilitiy command (i.e., SMTP and EHLO).
20544
20545 * subr.el (process-live-p): Rename from `process-alive-p' for
20546 consistency with other `-live-p' functions.
20547
20548 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20549
20550 * window.el (same-window-buffer-names, same-window-regexps)
20551 (special-display-frame-alist, special-display-popup-frame)
20552 (special-display-function, special-display-buffer-names)
20553 (special-display-regexps, pop-up-frame-alist)
20554 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
20555 (pop-up-windows, split-window-preferred-function)
20556 (split-height-threshold, split-width-threshold, even-window-heights)
20557 (display-buffer-mark-dedicated): Don't encourage the use of
20558 display-buffer-alist from Elisp code.
20559
20560 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
20561
20562 * progmodes/python.el (python-mode): Derive from prog-mode.
20563 * progmodes/ps-mode.el (ps-mode):
20564 * progmodes/mixal-mode.el (mixal-mode):
20565 * progmodes/cfengine.el (cfengine-mode):
20566 * progmodes/ld-script.el (ld-script-mode): Likewise.
20567
20568 2011-06-15 Martin Rudalics <rudalics@gmx.at>
20569
20570 * window.el (display-buffer-alist): Trim default value to avoid
20571 popping up a new frame (Bug#8857) or reusing an arbitrary window
20572 on another frame.
20573 (display-buffer): Do not fall back on popping up a new frame in
20574 batch mode (Bug#8857).
20575
20576 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
20577
20578 * cus-theme.el (describe-theme-1): Use custom-theme-p.
20579 (custom-theme-summary): New function.
20580 (customize-themes): Use it.
20581
20582 2011-06-13 Glenn Morris <rgm@gnu.org>
20583
20584 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
20585
20586 2011-06-13 Martin Rudalics <rudalics@gmx.at>
20587
20588 * help.el (help-window): Remove variable.
20589 (help-window-point-marker, temp-buffer-max-height)
20590 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
20591 (help-print-return-message): Don't set help-window.
20592 (resize-temp-buffer-window): Rewrite cod eand doc-string.
20593 (help-window-setup-finish): Remove.
20594 (help-window-display-message, help-window-setup)
20595 (with-help-window): Major rewrite based on new
20596 display-buffer-window variable.
20597
20598 * help-mode.el (help-mode-finish): Remove help-window related
20599 code.
20600
20601 * view.el (view-exits-all-viewing-windows): Remove reference to
20602 view-return-to-alist in doc-string.
20603 (view-return-to-alist): Make obsolete.
20604 (view-buffer): Call pop-to-buffer-same-window and remove
20605 undo-window code.
20606 (view-buffer-other-window): Call pop-to-buffer-other-window and
20607 simplify code. Ignore second argument.
20608 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
20609 simplify code. Ignore second argument.
20610 (view-return-to-alist-update): Make obsolete.
20611 (view-mode-enter): Rename second argument to QUIT-RESTORE.
20612 Rewrite using quit-restore window parameters.
20613 (view-mode-exit): Rename second argument to EXIT-ONLY.
20614 Rewrite using quit-restore-window.
20615 (View-exit, View-exit-and-edit, View-leave, View-quit)
20616 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
20617 appropriate arguments.
20618 (view-end-message): Use quit-restore window parameter.
20619
20620 * window.el (display-buffer-function): Rewrite doc-string.
20621 (display-buffer-window, display-buffer-alist): New variables.
20622 (display-buffer-split-specifiers)
20623 (display-buffer-side-specifiers)
20624 (display-buffer-macro-specifiers): New constants.
20625 (display-buffer-even-window-sizes, display-buffer-set-height)
20626 (display-buffer-set-width, display-buffer-select-window)
20627 (display-buffer-in-window, display-buffer-reuse-window)
20628 (display-buffer-split-window-1, display-buffer-split-window)
20629 (display-buffer-split-atom-window, display-buffer-pop-up-window)
20630 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
20631 (display-buffer-in-side-window, normalize-buffer-to-display)
20632 (display-buffer-normalize-specifiers-1)
20633 (display-buffer-normalize-specifiers-2)
20634 (display-buffer-normalize-specifiers, display-buffer-frame):
20635 New functions.
20636 (display-buffer): Major rewrite.
20637 (display-buffer-other-window, display-buffer-other-frame)
20638 (pop-to-buffer, switch-to-buffer-other-window)
20639 (switch-to-buffer-other-frame): Rewrite.
20640 (display-buffer-same-window, display-buffer-same-frame)
20641 (display-buffer-same-frame-other-window)
20642 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20643 (pop-to-buffer-other-window)
20644 (pop-to-buffer-same-frame-other-window)
20645 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
20646 (switch-to-buffer-other-window-same-frame): New functions.
20647 (same-window-p, special-display-p): Rewrite disabling warnings.
20648 Make obsolete.
20649 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20650 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
20651 Make obsolete
20652 (same-window-buffer-names, same-window-regexps)
20653 (special-display-frame-alist, special-display-popup-frame)
20654 (special-display-function, special-display-buffer-names)
20655 (special-display-regexps, pop-up-frame-alist)
20656 (pop-up-frame-function, split-window-preferred-function)
20657 (split-height-threshold, split-width-threshold)
20658 (even-window-heights): Make obsolete.
20659
20660 2011-06-12 Glenn Morris <rgm@gnu.org>
20661
20662 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
20663 Misc simplifications.
20664
20665 2011-06-12 Martin Rudalics <rudalics@gmx.at>
20666
20667 * window.el (window-safely-shrinkable-p): Restore function which
20668 was inadvertently removed in change from 2011-06-11. Declare as
20669 obsolete.
20670
20671 * calendar/calendar.el (calendar-generate-window):
20672 Use window-iso-combined-p instead of combination of one-window-p and
20673 window-safely-shrinkable-p.
20674
20675 2011-06-12 Glenn Morris <rgm@gnu.org>
20676
20677 * progmodes/fortran.el (fortran-mode-syntax-table):
20678 * progmodes/f90.el (f90-mode-syntax-table):
20679 Set % to punctuation. (Bug#8820)
20680 (f90-find-tag-default): Remove, no longer needed.
20681
20682 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
20683
20684 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
20685
20686 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
20687
20688 * image.el (image-animated-p): Return animation delay in seconds.
20689 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
20690 (image-animate-timeout): Remove DELAY argument. Don't assume
20691 every subimage has the same delay; get it from image-animated-p.
20692 (image-animate): Caller changed.
20693
20694 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
20695
20696 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
20697 to ignored backtrace functions.
20698
20699 2011-06-11 Glenn Morris <rgm@gnu.org>
20700
20701 * calendar/appt.el (appt-disp-window-function): Doc fix.
20702 (appt-check): Handle overlapping appointments. (Bug#8337)
20703
20704 2011-06-11 Martin Rudalics <rudalics@gmx.at>
20705
20706 * window.el (window-tree-1, window-tree): New functions, moving
20707 the latter to window.el.
20708 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
20709 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
20710 (bw-refresh-edges): Remove.
20711 (balance-windows-1, balance-windows-2): New functions.
20712 (balance-windows): Rewrite in terms of window tree functions,
20713 balance-windows-1 and balance-windows-2.
20714 (bw-adjust-window): Remove.
20715 (balance-windows-area-adjust): New function with functionality of
20716 bw-adjust-window but using resize-window.
20717 (set-window-text-height): Rewrite doc-string.
20718 Use normalize-live-window and resize-window.
20719 (enlarge-window-horizontally, shrink-window-horizontally):
20720 Rename argument to DELTA.
20721 (window-buffer-height): New function.
20722 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
20723 Rewrite using new window resize routines.
20724 (kill-buffer-and-window, mouse-autoselect-window-select):
20725 Use ignore-errors instead of condition-case.
20726 (quit-window): Call delete-frame instead of delete-windows-on
20727 for the only buffer on frame.
20728
20729 2011-06-10 Martin Rudalics <rudalics@gmx.at>
20730
20731 * loadup.el (top-level): Load window before files for the sake
20732 of replace-buffer-in-windows.
20733
20734 * files.el (read-buffer-to-switch)
20735 (switch-to-buffer-other-window)
20736 (switch-to-buffer-other-frame, display-buffer-other-frame):
20737 Move to window.el.
20738
20739 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
20740 (previous-buffer): Move to window.el.
20741
20742 * bindings.el (unbury-buffer): Move to window.el.
20743
20744 * window.el (delete-other-windows-vertically): Move after
20745 definition of delete-other-windows.
20746 (other-window, delete-windows-on, replace-buffer-in-windows):
20747 Move here from window.c.
20748 (record-window-buffer, unrecord-window-buffer)
20749 (set-window-buffer-start-and-point, switch-to-prev-buffer)
20750 (switch-to-next-buffer): New functions.
20751 (get-next-valid-buffer, last-buffer, next-buffer): Move here
20752 from simple.el. Call switch-to-next-buffer.
20753 (previous-buffer): Move here from simple.el.
20754 Call switch-to-prev-buffer.
20755 (bury-buffer): Move here from buffer.c. Switch to previous
20756 buffer when window cannot be deleted.
20757 (unbury-buffer): Move here from bindings.el.
20758 (ctl-x-map): Move binding for other-window from window.c to
20759 here.
20760 (read-buffer-to-switch, switch-to-buffer-other-window)
20761 (switch-to-buffer-other-frame): Move here from files.el.
20762 (normalize-buffer-to-switch-to): New functions.
20763 (switch-to-buffer): Move here from buffer.c.
20764 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
20765
20766 2011-06-10 Martin Rudalics <rudalics@gmx.at>
20767
20768 * window.el (window-min-height, window-min-width): Move here
20769 from window.c. Add defcustoms and rewrite doc-strings.
20770 (resize-mini-window, resize-window): New functions.
20771 (adjust-window-trailing-edge, enlarge-window, shrink-window):
20772 Move here from window.c.
20773 (maximize-window, minimize-window): New functions.
20774 (delete-window, delete-other-windows, split-window): Move here
20775 from window.c.
20776 (window-split-min-size): New function.
20777 (split-window-keep-point): Mention split-window-above-each-other
20778 instead of split-window-vertically.
20779 (split-window-above-each-other, split-window-vertically):
20780 Rename split-window-vertically to split-window-above-each-other
20781 and provide defalias for old definition.
20782 (split-window-side-by-side, split-window-horizontally):
20783 Rename split-window-horizontally to split-window-side-by-side
20784 and provide defalias for the old definition.
20785 (ctl-x-map): Move bindings for delete-window,
20786 delete-other-windows and enlarge-window here from window.c.
20787 Replace bindings for split-window-vertically and
20788 split-window-horizontally by bindings for
20789 split-window-above-each-other and split-window-side-by-side.
20790
20791 * cus-start.el (all): Remove entries for window-min-height and
20792 window-min-width. Add entries for window-splits and
20793 window-nest.
20794
20795 2011-06-09 Glenn Morris <rgm@gnu.org>
20796
20797 * calendar/appt.el (appt-mode-line): New function.
20798 (appt-check, appt-disp-window): Use it.
20799
20800 * files.el (hack-one-local-variable-eval-safep):
20801 Allow minor-modes with explicit +/-1 arguments.
20802
20803 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
20804
20805 * term/xterm.el (xterm): Add defgroup.
20806 (xterm-extra-capabilities): Add defcustom to supply known xterm
20807 capabilities, skip querying them, or query them (default).
20808 (terminal-init-xterm): Use it.
20809 (terminal-init-xterm-modify-other-keys): New function to set up
20810 modifyOtherKeys support to simplify `terminal-init-xterm'.
20811
20812 2011-06-09 Martin Rudalics <rudalics@gmx.at>
20813
20814 * window.el (resize-window-reset, resize-window-reset-1)
20815 (resize-subwindows-skip-p, resize-subwindows-normal)
20816 (resize-subwindows, resize-other-windows, resize-this-window)
20817 (resize-root-window, resize-root-window-vertically)
20818 (window-deletable-p, window-or-subwindow-p)
20819 (frame-root-window-p): New functions.
20820
20821 2011-06-09 Glenn Morris <rgm@gnu.org>
20822
20823 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
20824 (ange-ftp-get-files): Use it.
20825
20826 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
20827
20828 * mail/sendmail.el (mail-recover-1, mail-recover):
20829 * files.el (recover-file, recover-session):
20830 Handle dired-listing-switches not being just a single short option.
20831
20832 2011-06-09 Glenn Morris <rgm@gnu.org>
20833
20834 * calendar/appt.el (appt-display-message, appt-disp-window):
20835 Handle lists of appointments.
20836
20837 2011-06-08 Martin Rudalics <rudalics@gmx.at>
20838
20839 * window.el (one-window-p): Move down in code.
20840 Rewrite doc-string.
20841 (window-current-scroll-bars): Rewrite doc-string.
20842 Normalize live window argument.
20843 (walk-windows, get-window-with-predicate, count-windows):
20844 Rewrite doc-string. Use window-list-1.
20845 (window-in-direction-2, window-in-direction, get-mru-window):
20846 New functions.
20847
20848 2011-06-08 Reuben Thomas <rrt@sc3d.org>
20849
20850 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
20851 Doc fix (Bug#8713).
20852
20853 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
20854
20855 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
20856
20857 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
20858
20859 * loadhist.el (unload-feature-special-hooks):
20860 Add `comint-output-filter-functions'.
20861
20862 2011-06-08 Ivan Kanis <gnu@kanis.fr>
20863
20864 * calendar/appt.el (appt-check): Move some initializations into the let.
20865
20866 2011-06-08 Martin Rudalics <rudalics@gmx.at>
20867
20868 * window.el (window-height): Defalias to window-total-height.
20869 (window-width): Defalias to window-body-width.
20870
20871 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
20872
20873 * image-mode.el (image-toggle-animation): New command.
20874 (image-mode-map): Bind it to RET.
20875 (image-mode): Update message.
20876 (image-toggle-display-image): Avoid a spurious cache flush.
20877 (image-transform-rotation): Doc fix.
20878 (image-transform-properties): Return quickly in the normal case.
20879 (image-animate-loop): Rename from image-animate-max-time.
20880
20881 * image.el (image-animate-max-time): Move to image-mode.el.
20882 (create-animated-image): Remove unnecessary function.
20883 (image-animate): Rename from image-animate-start. New arg.
20884 (image-animate-stop): Remove; just use image-animate-timer.
20885 (image-animate-timer): Use car-safe.
20886 (image-animate-timeout): Rename argument.
20887
20888 2011-06-07 Martin Rudalics <rudalics@gmx.at>
20889
20890 * window.el (get-lru-window, get-largest-window): Move here from
20891 window.c. Rename first argument to ALL-FRAMES.
20892 Rephrase doc-strings.
20893 (get-buffer-window-list): Rewrite using window-list-1.
20894 Rephrase doc-string.
20895 (window-safe-min-height, window-safe-min-width): New constants.
20896 (window-size-ignore, window-min-size, window-min-size-1)
20897 (window-sizable, window-sizable-p, window-size-fixed-1)
20898 (window-size-fixed-p, window-min-delta-1, window-min-delta)
20899 (window-max-delta-1, window-max-delta, window-resizable)
20900 (window-resizable-p, window-total-height, window-total-width)
20901 (window-body-width): New functions.
20902 (window-full-height-p, window-full-width-p): Rewrite using
20903 window-total-size.
20904 (window-body-height): Rewrite using window-body-size.
20905
20906 2011-06-06 Martin Rudalics <rudalics@gmx.at>
20907
20908 * window.el (window-right, window-left, window-child)
20909 (window-child-count, window-last-child, window-any-p)
20910 (normalize-live-buffer, normalize-live-frame)
20911 (normalize-any-window, normalize-live-window)
20912 (window-iso-combination-p, window-iso-combined-p)
20913 (window-iso-combinations)
20914 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
20915 (windows-with-parameter, window-with-parameter)
20916 (window-atom-root, make-window-atom, window-atom-check-1)
20917 (window-atom-check, window-side-check, window-check):
20918 New functions.
20919 (ignore-window-parameters, window-sides, window-sides-vertical)
20920 (window-sides-slots): New variables.
20921 (window-size-fixed): Move down in code. Minor doc-string fix.
20922
20923 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
20924
20925 * comint.el (comint-dynamic-complete-as-filename)
20926 (comint-dynamic-complete-filename): Correctly call
20927 completion-in-region.
20928
20929 2011-06-05 Deniz Dogan <deniz@dogan.se>
20930
20931 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
20932 in last change.
20933
20934 2011-06-05 Deniz Dogan <deniz@dogan.se>
20935
20936 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
20937 (rcirc): Use it to prompt for encryption.
20938
20939 2011-06-05 Roland Winkler <winkler@gnu.org>
20940
20941 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
20942 (bibtex-search-entries): New command bound to C-c C-a.
20943 (bibtex-display-entries): New function.
20944
20945 2011-06-05 Roland Winkler <winkler@gnu.org>
20946
20947 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
20948 (bibtex-insert-kill): After yanking insert newline if necessary.
20949 (bibtex-initialize): Call bibtex-string-files-init only once.
20950 (bibtex-mode): Do not call easy-menu-add.
20951 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
20952 (bibtex-yank): Set arg properly if nil.
20953
20954 2011-06-05 Roland Winkler <winkler@gnu.org>
20955
20956 * textmodes/bibtex.el (bibtex-search-entry-globally):
20957 New variable.
20958 (bibtex-search-entry): Use it.
20959
20960 2011-06-05 Roland Winkler <winkler@gnu.org>
20961
20962 * textmodes/bibtex.el (bibtex-entry-format): New option
20963 sort-fields.
20964 (bibtex-format-entry, bibtex-reformat): Honor this option.
20965 (bibtex-parse-entry): Return fields in proper order.
20966
20967 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
20968
20969 * doc-view.el (doc-view-remove-if): Move computation of result out
20970 of `dolist' to silence misleading lexical-binding warning.
20971
20972 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
20973
20974 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
20975 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
20976
20977 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
20978
20979 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
20980 "SunOS 5.10".
20981
20982 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
20983
20984 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
20985 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
20986 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
20987 (tramp-parse-putty):
20988 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
20989 (tramp-completion-function-alist-ssh)
20990 (tramp-completion-function-alist-telnet)
20991 (tramp-completion-function-alist-su)
20992 (tramp-completion-function-alist-putty): Set `tramp-autoload'
20993 cookie.
20994
20995 * net/tramp-ftp.el:
20996 * net/tramp-sh.el:
20997 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
20998 load "tramp.el" `tramp-set-completion-function'.
20999
21000 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
21001
21002 * shell.el: Require and use pcomplete.
21003 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21004 (shell-completion-vars): Set pcomplete-default-completion-function.
21005
21006 2011-06-04 Deniz Dogan <deniz@dogan.se>
21007
21008 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21009 `memq' (Bug#8799).
21010
21011 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21012
21013 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21014
21015 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
21016
21017 * bs.el (bs--mark-unmark, bs--nth-wrapper):
21018 * mpc.el (mpc-select-extend, mpc-songpointer-context):
21019 * vc/log-view.el (log-view-beginning-of-defun):
21020 * vc/smerge-mode.el (smerge-apply-resolution-patch)
21021 (smerge-refine-forward, smerge-refine-chopup-region):
21022 Silence warning for unused `dotimes' counter variables.
21023
21024 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21025
21026 * net/tramp.el (tramp-with-progress-reporter): Rename from
21027 with-progress-reporter. Use `declare'.
21028 * net/tramp-smb.el:
21029 * net/tramp-sh.el:
21030 * net/tramp-gvfs.el: Update all uses.
21031
21032 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
21033
21034 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21035 buffer isn't killed before making it current.
21036
21037 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21038
21039 Silence various byte-compiler warnings.
21040 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21041 `access-type' and new obsolescence format.
21042 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21043 new format.
21044 (byte-compile-check-variable): New `access-type' argument.
21045 Only warn if the access-type is obsolete.
21046 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21047 (byte-compile-variable-set): Adjust callers.
21048 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21049 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21050 setting it as obsolete.
21051 * simple.el (minibuffer-completing-symbol):
21052 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21053 access as obsolete.
21054 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21055 obsolete yet.
21056 * international/quail.el (quail-mouse-choose-completion): Remove unused
21057 code referring to obsolete var.
21058 (quail-choose-completion-string): Remove.
21059 * server.el (server-clients-with, server-kill-buffer-query-function)
21060 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21061 * proced.el (proced-send-signal):
21062 * emacs-lisp/lisp.el (lisp-complete-symbol):
21063 Replace completion-annotate-function with completion-extra-properties.
21064
21065 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21066
21067 * simple.el (goto-line): Use read-number.
21068 (overriding-map-is-bound): Remove.
21069 (saved-overriding-map): Change default.
21070 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21071 Take the map as argument.
21072 (universal-argument, negative-argument, digit-argument): Use it.
21073 (restore-overriding-map): Adjust.
21074 (do-auto-fill): Use fill-forward-paragraph.
21075 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21076
21077 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21078 (minibuffer-inactive-mode): New major mode.
21079 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21080 the *Messages* buffer" hack.
21081 (mouse-popup-menubar): Don't burp if the event is a normal key.
21082
21083 Miscellaneous tweaks.
21084 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21085 lexical scoping as in subr.el's dolist and dotimes.
21086 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21087 Silence compiler warning.
21088 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21089 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21090 * international/ccl.el (ccl-compile): Trivial simplification.
21091 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21092 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21093 `printflag' argument.
21094 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21095 Purecopy the whole obsolescence data.
21096
21097 2011-06-01 Leo Liu <sdl.web@gmail.com>
21098
21099 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21100 improve doc-string as suggested by Marco Pessotto
21101 <melmothx@gmail.com>.
21102 (rcirc-print): Fix last change.
21103
21104 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21105
21106 * minibuffer.el (complete-with-action): Return nil for the metadata and
21107 boundaries of non-functional tables.
21108 (completion-table-dynamic): Return nil for the metadata.
21109 (completion-table-with-terminator): Add default case, using
21110 complete-with-action.
21111 (completion--metadata): New function.
21112 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21113 to try and avoid pathological performance problems.
21114 (completion--embedded-envvar-table): Return `category' metadata.
21115
21116 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21117
21118 * subr.el (process-alive-p): New tiny convenience function.
21119
21120 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21121
21122 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21123 content but also its previous major mode.
21124
21125 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
21126
21127 * emacs-lisp/debug.el (debug): Restore the previous content of the
21128 *Backtrace* buffer when we exit with C-M-c.
21129
21130 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21131
21132 * minibuffer.el: Add metadata method to completion tables.
21133 (completion-category-overrides): New defcustom.
21134 (completion-metadata, completion--field-metadata)
21135 (completion-metadata-get, completion--styles)
21136 (completion--cycle-threshold): New functions.
21137 (completion-try-completion, completion-all-completions):
21138 Add `metadata' argument to choose completion-styles.
21139 (completion--do-completion): Use metadata to choose cycling.
21140 (completion-all-sorted-completions): Use metadata for sorting.
21141 Remove :completion-cycle-penalty which is not needed any more.
21142 (completion--try-word-completion): Add `metadata' argument.
21143 (minibuffer-completion-help): Check metadata for annotation function
21144 and sorting.
21145 (completion-file-name-table): Return `category' metadata.
21146 (minibuffer-completing-file-name): Make obsolete.
21147 * simple.el (minibuffer-completing-symbol): Make obsolete.
21148 * icomplete.el (icomplete-completions): Pass new `metadata' param to
21149 completion-try-completion.
21150
21151 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21152
21153 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
21154
21155 2011-05-30 Leo Liu <sdl.web@gmail.com>
21156
21157 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
21158 (rcirc-print): Decode all incoming messages (bug#8744).
21159 (rcirc-decode-coding-system): Allow value nil for automatic coding
21160 system detection.
21161
21162 2011-06-01 Glenn Morris <rgm@gnu.org>
21163
21164 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21165
21166 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21167
21168 * image.el (image-animate-max-time): Allow nil and t values.
21169 Default to nil.
21170 (create-animated-image): Doc fix.
21171 (image-animate-start): Remove second arg; just use
21172 image-animate-max-time.
21173 (image-animate-timeout): Doc fix. Args changed.
21174
21175 * image-mode.el (image-toggle-display-image): Ensure that the
21176 image spec passed to the animate timer is the same object as in
21177 the buffer's display property (Bug#6981).
21178 (image-transform-properties): Doc fix.
21179
21180 * image.el (image-animate-max-time): Default to nil.
21181
21182 2011-05-29 Martin Rudalics <rudalics@gmx.at>
21183
21184 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21185 entire buffer list (Bug#8184).
21186
21187 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21188
21189 * image.el (imagemagick-types-inhibit)
21190 (imagemagick-register-types): Doc fix.
21191
21192 2011-05-29 Deniz Dogan <deniz@dogan.se>
21193
21194 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21195 default.
21196
21197 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21198
21199 * select.el: Don't perform clipboard-manager saving in hooks;
21200 leave the hooks empty.
21201
21202 2011-05-28 Leo Liu <sdl.web@gmail.com>
21203
21204 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21205 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21206 (occur-edit-mode): New major mode (Bug#8463).
21207 (occur-after-change-function): New function.
21208 (occur-engine): Give Occur tags a read-only property.
21209
21210 2011-05-28 Kevin Ryde <user42@zip.com.au>
21211
21212 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21213
21214 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21215
21216 * bindings.el (help-echo): Make the initial non-indicator dash
21217 empty on graphical terminals (Bug#7295).
21218
21219 * files.el (auto-mode-alist): Move config rule after the
21220 in-stripping one (Bug#8547).
21221
21222 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21223
21224 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21225 setting (Bug#8740).
21226
21227 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21228
21229 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21230 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21231 (Bug#8539).
21232
21233 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21234
21235 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21236
21237 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21238
21239 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21240 (hs-hide-block-at-point, hs-find-block-beginning)
21241 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21242 (Bug#8279).
21243
21244 2011-05-28 Glenn Morris <rgm@gnu.org>
21245
21246 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21247
21248 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21249
21250 * help-fns.el (describe-function-1): If the function is a derived
21251 major mode, print the parent mode.
21252
21253 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21254 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21255
21256 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21257
21258 * minibuffer.el (completion--capf-wrapper): Check applicability before
21259 returning non-nil for non-exclusive completion data.
21260 * progmodes/etags.el (tags-completion-at-point-function):
21261 * info-look.el (info-lookup-completions-at-point): Mark as
21262 non-exclusive.
21263 (info-complete): Adjust accordingly.
21264
21265 * info-look.el: Convert to lexical-binding and completion-at-point.
21266 (info-lookup-completions-at-point): New function.
21267 (info-complete): Use it and completion-in-region.
21268
21269 2011-05-28 Drew Adams <drew.adams@oracle.com>
21270
21271 * isearch.el: Let M-e start with point at the first mismatched char.
21272 (isearch-fail-pos): New function.
21273 (isearch-edit-string): Use it.
21274
21275 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21276
21277 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21278
21279 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
21280
21281 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21282 traversal functions for avl-trees.
21283 (avl-tree--stack): New struct.
21284 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21285 (avl-tree-enter): Add optional `updatefun' arg.
21286 (avl-tree--do-enter): Add optional `updatefun' arg.
21287 Change return value.
21288 (avl-tree-delete): Add optional `test' and `nilflag' args.
21289 (avl-tree--do-delete): Add `test' and `nilflag' args.
21290 Change return value.
21291 (avl-tree-member): Add optional `nilflag'
21292 (avl-tree-member-p): New function.
21293 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21294 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21295 (avl-tree-stack-empty-p): New functions.
21296
21297 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21298 avl-tree--del-balance1 and make it work both ways.
21299 (avl-tree--del-balance2): Remove.
21300 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21301 make it work both ways.
21302 (avl-tree--enter-balance2): Remove.
21303 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21304 New macros.
21305 (avl-tree--mapc, avl-tree-map): Add direction argument.
21306
21307 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
21308
21309 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21310
21311 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
21312
21313 * select.el: Support clipboard managers with built-in function
21314 x-clipboard-manager-save, via delete-frame-functions and
21315 kill-emacs-hook.
21316 (xselect-convert-to-targets): Add MULTIPLE target to list.
21317 (xselect-convert-to-save-targets): New function.
21318
21319 2011-05-27 Kenichi Handa <handa@m17n.org>
21320
21321 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21322 let-binding rfc2047-encode-encoded-words to nil.
21323
21324 2011-05-27 Glenn Morris <rgm@gnu.org>
21325
21326 * mail/emacsbug.el: Don't require url-util.
21327
21328 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21329
21330 * files.el (set-auto-mode):
21331 Also respect mode: entries at the end of the file. (Bug#8586)
21332
21333 2011-05-26 Glenn Morris <rgm@gnu.org>
21334
21335 * files.el (hack-local-variables-prop-line, hack-local-variables):
21336 Downcase mode names, as seems to be traditional.
21337 (hack-local-variables, hack-local-variables-apply): Doc fixes.
21338
21339 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21340 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21341
21342 2011-05-25 Julien Danjou <julien@danjou.info>
21343
21344 * textmodes/rst.el (rst-define-level-faces): Do not define face
21345 symbol if it is already defined.
21346
21347 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
21348
21349 * play/5x5.el (5x5-new-game, 5x5-randomize):
21350 Reset 5x5-solver-output to nil when a new grid is cast.
21351 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21352 these debugging traces, as defmacro breaks the compiled code.
21353
21354 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21355
21356 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21357
21358 2011-05-24 Leo Liu <sdl.web@gmail.com>
21359
21360 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21361 (vc-bzr-sha1): Adapt.
21362
21363 * sha1.el: Remove. Function `sha1' is now builtin.
21364
21365 * bindings.el: Provide sha1 feature.
21366
21367 2011-05-24 Kenichi Handa <handa@m17n.org>
21368
21369 * mail/sendmail.el: Require `rfc2047'.
21370 (mail-insert-from-field): Do not perform RFC2047 encoding.
21371 (mail-encode-header): New function.
21372 (sendmail-send-it): Set buffer-file-coding-system of the work
21373 buffer to the return value of select-message-coding-system.
21374 Call mail-encode-header.
21375
21376 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21377
21378 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
21379
21380 * mail/supercite.el (sc-default-cite-frame):
21381 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
21382
21383 2011-05-24 Glenn Morris <rgm@gnu.org>
21384
21385 * progmodes/python.el (brm-menu): Declare.
21386
21387 * emulation/viper.el (viper-set-hooks): Declare.
21388
21389 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
21390 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
21391 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
21392 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
21393 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
21394 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
21395
21396 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21397
21398 Add an :exit-function for completion-at-point.
21399
21400 * minibuffer.el (completion--done): New fun.
21401 (completion--do-completion): Use it. New arg `expect-exact'.
21402 (minibuffer-complete, minibuffer-complete-word): Don't output message,
21403 since completion--do-completion does it for us now.
21404 (minibuffer-force-complete): Use completion--done and
21405 completion--replace. Handle sole-completion case with more care.
21406 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
21407 (completion-extra-properties): New var.
21408 (completion-annotate-function): Make obsolete.
21409 (minibuffer-completion-help): Adjust accordingly.
21410 Use completion-list-insert-choice-function.
21411 (completion-at-point, completion-help-at-point):
21412 Bind completion-extra-properties.
21413 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
21414 * simple.el (completion-list-insert-choice-function): New var.
21415 (completion-setup-function): Preserve it.
21416 (choose-completion): Pay attention to it, shuffle the code a bit.
21417 (choose-completion-string): New arg `insert-function'.
21418
21419 * textmodes/bibtex.el: Convert to lexical binding.
21420 (bibtex-mode-map): Use completion-at-point.
21421 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
21422 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
21423 (bibtex-complete): Define as obsolete alias.
21424 (bibtex-complete-internal): Remove.
21425 (bibtex-format-entry): Remove unused sub-group in regexp.
21426 * shell.el (shell--command-completion-data)
21427 (shell-environment-variable-completion):
21428 * pcomplete.el (pcomplete-completions-at-point):
21429 * comint.el (comint--complete-file-name-data): Use :exit-function
21430 instead of completion-table-with-terminator so it also works for
21431 choose-completion.
21432
21433 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21434
21435 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
21436
21437 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
21438 (bug#8710).
21439
21440 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
21441
21442 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
21443
21444 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
21445 customization variable and implement: If non-nil, auto-fill will
21446 be inhibited while on topic's header line.
21447
21448 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
21449
21450 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
21451 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
21452 always have a solution in grid size = 5 cases.
21453 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
21454 (5x5-solver-output, 5x5-log-buffer): New vars.
21455 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
21456 Make these variables buffer local to achieve 5x5 multi-session-ness.
21457 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
21458 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
21459 (5x5-solve-suggest): New funs.
21460 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
21461 randomize a grid so that we ensure that there is always a solution.
21462 (5x5-make-random-grid): Allow other movement than flipping.
21463
21464 2011-05-23 Kevin Ryde <user42@zip.com.au>
21465
21466 * emacs-lisp/advice.el (ad-read-advised-function):
21467 Use `function-called-at-point' as the default, if it has
21468 advice and passes PREDICATE.
21469
21470 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21471
21472 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
21473 byte-compile-lambda if it's actually a lambda.
21474
21475 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
21476 Fix function quoting. Use backquote better.
21477
21478 2011-05-22 Yuanle Song <sylecn@gmail.com>
21479
21480 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
21481 matching (Bug#8516).
21482
21483 2011-05-22 Jari Aalto <jari.aalto@cante.net>
21484
21485 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
21486 different face (Bug#8178).
21487
21488 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
21489
21490 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
21491 defface (Bug#8144).
21492
21493 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
21494
21495 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
21496 funcall as well (bug#8712). Warn when performing those conversions.
21497 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
21498
21499 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
21500
21501 2011-05-22 Glenn Morris <rgm@gnu.org>
21502
21503 * files.el (hack-local-variables-prop-line): Small simplifications.
21504 (hack-local-variables, hack-local-variables-prop-line):
21505 If MODE-ONLY, return the mode, rather than just `t'.
21506
21507 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
21508
21509 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
21510
21511 2011-05-21 Glenn Morris <rgm@gnu.org>
21512
21513 * files.el (hack-local-variables-prop-line, hack-local-variables):
21514 If only interested in the mode, don't bother doing the other stuff.
21515
21516 * image-mode.el (image-after-revert-hook):
21517 Redraw all frames on which the image is visible. (Bug#8567)
21518
21519 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
21520
21521 * wid-edit.el (widget-checklist-match-inline):
21522 Fix 2011-04-19 change. (Bug#8649)
21523
21524 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
21525
21526 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
21527 Also allow singlespace after single-letter capitals followed by a dot.
21528
21529 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
21530 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
21531
21532 2011-05-20 Nix <nix@esperi.org.uk>
21533
21534 * files.el (basic-save-buffer-2):
21535 Fix handling of break-hardlink-on-save with non-existent files.
21536
21537 2011-05-19 Deniz Dogan <deniz@dogan.se>
21538
21539 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
21540 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
21541
21542 2011-05-19 Glenn Morris <rgm@gnu.org>
21543
21544 * progmodes/f90.el (f90-type-def-re):
21545 Handle "type, bind(c)". (Bug#8691)
21546
21547 * emacs-lisp/autoload.el (batch-update-autoloads):
21548 Set autoload-excludes by parsing loadup.el rather than Makefiles.
21549
21550 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
21551
21552 * net/tramp.el (tramp-process-actions): Set "first-password-request"
21553 property for the correct connection in case of multihops.
21554
21555 2011-05-18 Glenn Morris <rgm@gnu.org>
21556
21557 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
21558 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
21559
21560 Rationalize calendar handling of day and month abbrev-arrays.
21561 * calendar/calendar.el (calendar-customized-p): New function.
21562 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
21563 (calendar-day-name-array, calendar-month-name-array): Doc fix.
21564 Add :set function.
21565 (calendar-abbrev-length, calendar-day-abbrev-array)
21566 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
21567 (calendar-day-abbrev-array, calendar-month-abbrev-array):
21568 Elements may no longer be nil.
21569 (calendar-day-name, calendar-month-name):
21570 Update for changed nature of abbrev arrays.
21571 * calendar/diary-lib.el (diary-name-pattern):
21572 Update for changed nature of abbrev arrays.
21573 (diary-mark-entries-1): Update calendar-make-alist calls.
21574 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
21575 * calendar/cal-html.el (cal-html-day-abbrev-array):
21576 Simply inherit from calendar-day-abbrev-array.
21577
21578 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
21579
21580 * progmodes/grep.el (grep-mode): Disable default
21581 compilation-directory-matcher setting (bug#8684).
21582
21583 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
21584
21585 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
21586 instead of "head" and "tail". There were problems with SunOS 5.9,
21587 and it performs better.
21588
21589 2011-05-17 Glenn Morris <rgm@gnu.org>
21590
21591 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
21592
21593 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
21594 Replace obsolete function.
21595
21596 * shell.el (pcomplete-parse-arguments-function): Declare.
21597
21598 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
21599 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
21600 (appt-check): Doc fixes.
21601 (appt-disp-window-function, appt-delete-window-function):
21602 Remove needless special case in custom :type.
21603 (appt-display-count): Default to 0, not nil.
21604 (appt-check): Reset appt-display-count to 0, not nil.
21605
21606 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
21607
21608 * progmodes/python.el (python-font-lock-keywords):
21609 Add the Python 3.X keyword "nonlocal" (bug#8639).
21610
21611 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
21612
21613 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
21614
21615 2011-05-16 Kevin Ryde <user42@zip.com.au>
21616
21617 * info-look.el (makefile-automake-mode): New setups, looking in
21618 automake manual, then makefile-mode.
21619 (makefile-mode): Remove automake manual, have it just in
21620 makefile-automake-mode since there's various things different or
21621 not relevant to plain make.
21622 (makefile-mode): Remove "other-modes" non-existent automake-mode,
21623 believe a hypothetical automake-mode would go to makefile-mode,
21624 not the other way around.
21625
21626 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
21627
21628 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
21629 hunk-end tags (Bug#8672).
21630
21631 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
21632 vc-annotate-show-diff-revision-at-line (Bug#8671).
21633
21634 2011-05-14 Glenn Morris <rgm@gnu.org>
21635
21636 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
21637 in the middle of an existing one with multiple authors. (Bug#8645)
21638 (change-log-font-lock-keywords): Also handle multiple author lines
21639 with leading tabs. (Bug#8644)
21640
21641 * calendar/appt.el (appt-check): Rename some local variables.
21642 Some simplification/reordering.
21643
21644 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
21645 (feedmail-sendmail-f-doesnt-sell-me-out)
21646 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21647 (feedmail-debug-sit-for, feedmail-queue-express-hook)
21648 (feedmail-queue-runner-message-sender): Set :version.
21649 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
21650 (bbdb-dwim-net-address, vm-mail): Declare.
21651 (feedmail-binmail-gnulinuxish-template):
21652 Rename from feedmail-binmail-linuxish-template.
21653 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
21654 Use insert-buffer-substring.
21655
21656 2011-05-14 Bill Carpenter <bill@carpenter.org>
21657
21658 * mail/feedmail.el (feedmail-patch-level): Increase.
21659 (feedmail-debug): New custom group.
21660 (feedmail-confirm-outgoing-timeout)
21661 (feedmail-sendmail-f-doesnt-sell-me-out)
21662 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21663 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
21664 (feedmail-sender-line, feedmail-from-line)
21665 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
21666 (feedmail-spray-this-address)
21667 (feedmail-spray-address-fiddle-plex-list)
21668 (feedmail-queue-use-send-time-for-date)
21669 (feedmail-queue-use-send-time-for-message-id)
21670 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
21671 (feedmail-buffer-eating-function):
21672 Doc fixes.
21673 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
21674 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
21675 (feedmail-message-action-scroll-down): New functions.
21676 (feedmail-queue-directory, feedmail-queue-draft-directory):
21677 Use expand-file-name.
21678 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
21679 Remove C-v help entry.
21680 (feedmail-queue-buffer-file-name): New variable.
21681 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
21682 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
21683 (feedmail-message-action-send-strong, feedmail-message-action-edit)
21684 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
21685 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
21686 (feedmail-message-action-toggle-spray)
21687 (feedmail-run-the-queue-no-prompts)
21688 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
21689 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
21690 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
21691 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
21692 (feedmail-envelope-deducer, feedmail-fiddle-from)
21693 (feedmail-fiddle-sender, feedmail-default-date-generator)
21694 (feedmail-fiddle-date, feedmail-fiddle-message-id)
21695 (feedmail-fiddle-spray-address)
21696 (feedmail-fiddle-list-of-spray-fiddle-plexes)
21697 (feedmail-fiddle-list-of-fiddle-plexes)
21698 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
21699 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
21700 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
21701 Change default. Doc fix.
21702 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
21703 (feedmail-binmail-linuxish-template): New constant.
21704 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
21705 Respect feedmail-sendmail-f-doesnt-sell-me-out.
21706 (feedmail-send-it): Add debug call.
21707 Use feedmail-queue-buffer-file-name, and
21708 feedmail-send-it-immediately-wrapper.
21709 (feedmail-message-action-send): Add debug call.
21710 Use feedmail-send-it-immediately-wrapper.
21711 (feedmail-queue-express-to-queue): Add debug call.
21712 Run feedmail-queue-express-hook.
21713 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
21714 (feedmail-message-action-help-blat):
21715 Rename from feedmail-queue-send-edit-prompt-help-first.
21716 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
21717 Check line-endings. Handle errors better.
21718 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
21719 Doc fix. Add debug call.
21720 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
21721 Use feedmail-queue-send-edit-prompt-inner.
21722 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
21723 (feedmail-queue-send-edit-prompt-inner): New function, extracted
21724 from feedmail-queue-send-edit-prompt.
21725 (feedmail-queue-send-edit-prompt-help)
21726 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
21727 (feedmail-tidy-up-slug): Add debug call.
21728 Respect feedmail-queue-slug-suspect-regexp.
21729 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
21730 (feedmail-dump-message-to-queue): Add debug call.
21731 Expand queue-directory.
21732 (feedmail-dump-message-to-queue): Change message slightly.
21733 Use feedmail-say-chatter.
21734 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
21735 (feedmail-send-it-immediately-wrapper): New function.
21736 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
21737 Insert empty string rather than newline. Handle full-frame case.
21738 Use catch/throw. Use feedmail-say-chatter.
21739 (feedmail-fiddle-from): Try mail-host-address.
21740 (feedmail-default-message-id-generator): Doc fix.
21741 Bind system-time-locale. Handle missing end.
21742 (feedmail-fiddle-x-mailer): Add debug call.
21743 Handle feedmail-x-mailer-line being nil.
21744 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
21745 Add debug call. Use buffer-substring-no-properties.
21746 (feedmail-say-debug, feedmail-say-chatter): New functions.
21747 (feedmail-find-eoh): Give an explicit error.
21748
21749 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
21750
21751 * net/newst-treeview.el (newsticker-treeview-face): Change default
21752 family from helvetica to sans.
21753 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
21754 etc/images/newsticker.
21755
21756 * net/newst-reader.el (newsticker-feed-face): Change default
21757 family from helvetica to sans.
21758
21759 * net/newst-plainview.el (newsticker-new-item-face)
21760 (newsticker-old-item-face, newsticker-immortal-item-face)
21761 (newsticker-obsolete-item-face, newsticker-date-face)
21762 (newsticker-statistics-face): Change default family from
21763 helvetica to sans.
21764 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
21765 etc/images/newsticker.
21766
21767 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
21768 (newsticker--process-auto-mark-filter-match): Tell user about
21769 auto-marking.
21770
21771 2011-05-13 Didier Verna <didier@xemacs.org>
21772
21773 Common Lisp indentation improvements on defmethod and lambda-lists.
21774 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
21775 TODO entries.
21776 (lisp-lambda-list-keyword-parameter-indentation)
21777 (lisp-lambda-list-keyword-parameter-alignment)
21778 (lisp-lambda-list-keyword-alignment): New customizable user options.
21779 (lisp-indent-defun-method): Improve docstring.
21780 (extended-loop-p): Fix comment.
21781 (lisp-indent-lambda-list-keywords-regexp): New variable.
21782 (lisp-indent-lambda-list): New function.
21783 (lisp-indent-259): Use it.
21784 (lisp-indent-defmethod): Support for more than one
21785 method qualifier and properly indent methods lambda-lists.
21786 (defgeneric): Provide a missing common-lisp-indent-function property.
21787
21788 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
21789
21790 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
21791 bounds for the empty string (bug#8667).
21792
21793 2011-05-13 Glenn Morris <rgm@gnu.org>
21794
21795 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
21796
21797 * mail/sendmail.el (sendmail-program): Try executable-find first.
21798 (sendmail-send-it): `sendmail-program' cannot be unbound.
21799
21800 * calendar/appt.el (appt-make-list): Simplify.
21801 (appt-time-msg-list): Doc fix.
21802 (appt-check): Change mode-line message at the time of the appointment.
21803
21804 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
21805
21806 * progmodes/ld-script.el (ld-script-keywords)
21807 (ld-script-builtins): Update keywords list.
21808
21809 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21810
21811 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
21812
21813 * shell.el (shell-completion-vars): New function.
21814 (shell-mode):
21815 * simple.el (read-shell-command): Use it.
21816 (blink-matching-open): No need for " [...]" in minibuffer-message.
21817
21818 2011-05-12 Glenn Morris <rgm@gnu.org>
21819
21820 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
21821 (appt-check): Simplify.
21822
21823 2011-05-12 Eli Zaretskii <eliz@gnu.org>
21824
21825 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
21826 literal "/dev/null".
21827
21828 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21829
21830 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
21831 Fix typo.
21832
21833 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
21834
21835 * progmodes/which-func.el (which-function):
21836 Use add-log-current-defun instead of add-log-current-defun-function,
21837 which might not be defined (Bug#8260).
21838
21839 2011-05-12 Glenn Morris <rgm@gnu.org>
21840
21841 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
21842 Let byte-compile-initial-macro-environment always take precedence.
21843
21844 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21845
21846 * net/rcirc.el: Add support for SSL/TLS connections.
21847 (rcirc-server-alist): New field `encryption'.
21848 (rcirc): Check `encryption' settings.
21849 (rcirc-connect): New arg `encryption'. Use open-network-stream.
21850 Merge make-local-variable into `set'.
21851 (rcirc--connection-open-p): New function.
21852 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
21853 the process is not a network process (e.g. running gnutls-cli).
21854 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
21855 Make rcirc-(en|de)code-coding-system local here.
21856 (rcirc-mode): Merge make-local-variable into `set'.
21857 (rcirc-parent-buffer): Make permanent buffer-local.
21858 (rcirc-multiline-minor-mode): Don't do it here.
21859 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
21860 there's no server buffer.
21861
21862 2011-05-11 Glenn Morris <rgm@gnu.org>
21863
21864 * newcomment.el (comment-kill): Prefix "unused" local.
21865
21866 * term/w32console.el (get-screen-color): Declare.
21867
21868 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
21869 Handle symbol elements of byte-compile-initial-macro-environment.
21870
21871 2011-05-10 Leo Liu <sdl.web@gmail.com>
21872
21873 * bookmark.el (bookmark-bmenu-mode-map):
21874 Bind bookmark-bmenu-search to `/'.
21875
21876 * mail/footnote.el: Convert to utf-8 encoding.
21877 (footnote-unicode-string, footnote-unicode-regexp): New variable.
21878 (Footnote-unicode): New function.
21879 (footnote-style-alist): Add unicode style to the list.
21880 (footnote-style): Doc fix.
21881
21882 2011-05-10 Jim Meyering <meyering@redhat.com>
21883
21884 Fix doubled-word typos.
21885 * international/quail.el (quail-insert-kbd-layout): and and -> and
21886 * kermit.el: and and -> and
21887 * net/ldap.el (ldap-search-internal): to to -> to
21888 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
21889 * progmodes/js.el (js-mode): and and -> and
21890 * textmodes/artist.el (artist-move-to-xy): at at -> at
21891 (artist-draw-region-trim-line-endings): if if -> if
21892 And Safetyc -> Safety.
21893 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
21894
21895 2011-05-10 Glenn Morris <rgm@gnu.org>
21896 Stefan Monnier <monnier@iro.umontreal.ca>
21897
21898 * files.el (hack-one-local-variable-eval-safep):
21899 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
21900
21901 2011-05-10 Glenn Morris <rgm@gnu.org>
21902
21903 * calendar/diary-lib.el (diary-list-entries-hook)
21904 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
21905 (diary-nongregorian-marking-hook, diary-list-entries)
21906 (diary-include-other-diary-files, diary-mark-entries)
21907 (diary-mark-included-diary-files): Doc fixes.
21908
21909 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
21910
21911 * misc.el: Require tabulated-list.el during compilation.
21912
21913 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
21914
21915 * progmodes/compile.el (compilation-start):
21916 Run compilation-filter-hook for the async case too.
21917 (compilation-filter-hook): Doc fix.
21918
21919 2011-05-09 Deniz Dogan <deniz@dogan.se>
21920
21921 * wdired.el: Remove outdated installation comment. Fix usage
21922 comment.
21923
21924 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
21925
21926 * misc.el: Implement new command `list-dynamic-libraries'.
21927 (list-dynamic-libraries--loaded-only-p): New variable.
21928 (list-dynamic-libraries--refresh): New function.
21929 (list-dynamic-libraries): New command.
21930
21931 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
21932
21933 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21934 Fix the ant regexp to handle end-line and end-column info from jikes.
21935 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
21936 higher priority to avoid clobbering by gnu.
21937
21938 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
21939
21940 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
21941 if the face has existing theme settings (Bug#8454).
21942
21943 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
21944
21945 * progmodes/perl-mode.el (perl-imenu-generic-expression):
21946 Only match variables declared via `my' or `our' (Bug#8261).
21947
21948 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
21949 special file names `.' and `..' (Bug#8259).
21950
21951 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
21952
21953 * progmodes/grep.el (grep-mode-font-lock-keywords):
21954 Remove buffer-changing entries.
21955 (grep-filter): New function.
21956 (grep-mode): Add it to compilation-filter-hook.
21957
21958 * progmodes/compile.el (compilation-filter-hook)
21959 (compilation-filter-start): New defvars.
21960 (compilation-filter): Call compilation-filter-hook prior to
21961 updating the process mark.
21962
21963 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
21964
21965 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
21966
21967 2011-05-07 Eli Zaretskii <eliz@gnu.org>
21968
21969 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
21970 mailclient-send-it even if window-system is nil. (Bug#8595)
21971
21972 * term/w32console.el (terminal-init-w32console):
21973 Call get-screen-color and use its output to set the frame
21974 background-mode. (Bug#8597)
21975
21976 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
21977
21978 Make bytecomp.el understand that defmethod defines funs (bug#8631).
21979 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
21980 New functions.
21981 (defgeneric, eieio--defmethod): Use them.
21982 (eieio-defgeneric): Remove.
21983 (defmethod): Call defgeneric in a way visible to the byte-compiler.
21984
21985 2011-05-07 Glenn Morris <rgm@gnu.org>
21986
21987 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
21988 Use let rather than let*.
21989 (timeclock-find-discrep): Remove unused local.
21990
21991 * calendar/diary-lib.el (diary-comment-start): Doc fix.
21992
21993 * calendar/appt.el (appt-time-msg-list): Doc fix.
21994
21995 2011-05-06 Noah Friedman <friedman@splode.com>
21996
21997 * apropos.el (apropos-print-doc): Only use
21998 emacs-lisp-docstring-fill-column when it is bound to an integer,
21999 per that variable's documentation.
22000
22001 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22002
22003 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
22004 and warnings are not silently discarded (e.g. use -d instead of -P).
22005
22006 2011-05-06 Glenn Morris <rgm@gnu.org>
22007
22008 * calendar/appt.el (appt-message-warning-time): Doc fix.
22009 (appt-warning-time-regexp): New option.
22010 (appt-make-list): Respect appt-message-warning-time.
22011
22012 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22013 New options.
22014 (diary-add-to-list): Strip comments from the displayed string.
22015 (diary-mode): Set comment-start and comment-end.
22016
22017 * vc/diff-mode.el (smerge-refine-subst): Declare.
22018 (diff-refine-hunk): Don't require smerge-mode when compiling.
22019
22020 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
22021
22022 * simple.el (list-processes): Return nil as the docstring says.
22023
22024 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22025
22026 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22027 to "".
22028 (ange-ftp-write-region, ange-ftp-insert-file-contents)
22029 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22030 determining of binary transfer. (Bug#7383)
22031
22032 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22033
22034 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22035 Fix port computation bug. (Bug#8618)
22036
22037 2011-05-05 Glenn Morris <rgm@gnu.org>
22038
22039 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22040
22041 * simple.el (shell-dynamic-complete-functions)
22042 (comint-dynamic-complete-functions): Declare.
22043
22044 * net/network-stream.el (gnutls-negotiate):
22045 * simple.el (tabulated-list-print): Fix declarations.
22046
22047 * progmodes/gud.el (syntax-symbol, syntax-point):
22048 Remove unnecessary and incorrect declarations.
22049
22050 * emacs-lisp/check-declare.el (check-declare-scan):
22051 Handle byte-compile-initial-macro-environment in bytecomp.el.
22052
22053 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22054
22055 Fix earlier half-done eieio-defmethod change (bug#8338).
22056 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22057 Streamline and change calling convention.
22058 (defmethod): Adjust accordingly and simplify.
22059 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22060 new eieio--defmethod.
22061 (slot-boundp): Minor CSE simplification.
22062
22063 2011-05-05 Milan Zamazal <pdm@zamazal.org>
22064
22065 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22066 (glasses-make-readable): Use glasses-separate-capital-groups.
22067
22068 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
22069
22070 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22071 (warning-series): Doc fix.
22072 (display-warning): Don't try to create the buffer if we just found it.
22073
22074 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
22075
22076 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22077 (autoload-find-generated-file): New function.
22078 (generate-file-autoloads): Bind generated-autoload-file to
22079 buffer-file-name.
22080 (update-file-autoloads, update-directory-autoloads):
22081 Use autoload-find-generated-file. If called interactively, prompt for
22082 output file (Bug#7989).
22083 (batch-update-autoloads): Doc fix.
22084
22085 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
22086
22087 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22088
22089 2011-05-04 Glenn Morris <rgm@gnu.org>
22090
22091 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22092 function, so it follows changes in calendar-date-style.
22093 (diary-fancy-date-matcher): New function.
22094 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22095 (diary-fancy-font-lock-fontify-region-function):
22096 Use diary-fancy-date-pattern as a function.
22097
22098 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22099 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22100
22101 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22102
22103 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22104 instead of positional arguments. Allow :keylist and :crlfiles
22105 arguments.
22106 (open-gnutls-stream): Call it.
22107
22108 * net/network-stream.el (network-stream-open-starttls): Adjust to
22109 call `gnutls-negotiate' with :process and :hostname arguments.
22110
22111 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22112
22113 * minibuffer.el (completion--message): New function.
22114 (completion--do-completion, minibuffer-complete)
22115 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22116 (completion--do-completion): Don't ignore completion-auto-help when in
22117 icomplete-mode.
22118
22119 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22120 internal encoding (e.g. tibetan zero is not whitespace).
22121 (global-whitespace-mode): Prefer save-current-buffer.
22122 (whitespace-trailing-regexp): Remove useless save-match-data.
22123 (whitespace-empty-at-bob-regexp): Minor simplification.
22124
22125 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
22126
22127 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22128
22129 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22130
22131 * textmodes/ispell.el (ispell-add-per-file-word-list):
22132 Use `concat' to create string for insertion.
22133
22134 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22135
22136 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22137 Avoid open-line which runs post-self-insert-hook.
22138 (bibtex-fill-entry): Remove unused `end' var.
22139
22140 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22141
22142 * textmodes/ispell.el (ispell-add-per-file-word-list):
22143 Protect against `nil' value of `comment-start' (Bug#8579).
22144
22145 2011-05-03 Leo Liu <sdl.web@gmail.com>
22146
22147 * isearch.el (isearch-yank-pop): New command.
22148 (isearch-mode-map): Bind it to `M-y'.
22149 (isearch-forward): Mention it.
22150
22151 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22152
22153 * simple.el (minibuffer-complete-shell-command): Remove.
22154 (minibuffer-local-shell-command-map): Use completion-at-point.
22155 (read-shell-command): Setup completion vars here instead.
22156 (read-expression-map): Bind TAB to symbol completion.
22157
22158 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
22159 error directly rather via storing it into `results'.
22160
22161 2011-05-02 Leo Liu <sdl.web@gmail.com>
22162
22163 * vc/diff.el: Fix description.
22164
22165 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22166
22167 * server.el (server-eval-at): New function.
22168
22169 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22170
22171 * net/network-stream.el (open-network-stream): Take a :nowait
22172 parameter and pass it on to `make-network-process'.
22173 (network-stream-open-plain): Ditto.
22174
22175 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
22176
22177 * faces.el (face-spec-set-match-display): Don't match toolkit
22178 options on terminal frames.
22179
22180 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22181
22182 * progmodes/pascal.el: Use lexical binding.
22183 (pascal-mode-map): Remove author preferences.
22184
22185 * pcomplete.el (pcomplete-std-complete): Don't abuse
22186 completion-at-point.
22187
22188 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22189
22190 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22191 removing code that has been dead since 1991 or so.
22192
22193 * startup.el (command-line): When warning about "_emacs", use a
22194 delayed warning to allow the user to filter it out.
22195
22196 2011-04-28 Deniz Dogan <deniz@dogan.se>
22197
22198 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22199 user has not joined.
22200
22201 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22202
22203 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22204 aren't any completions at point.
22205
22206 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22207
22208 * subr.el (display-delayed-warnings): New function.
22209 (delayed-warnings-hook): New variable.
22210
22211 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22212
22213 * minibuffer.el (completion-at-point, completion-help-at-point):
22214 Don't presume that a given completion-at-point-function will always
22215 use the same calling convention.
22216
22217 * pcomplete.el (pcomplete-completions-at-point):
22218 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22219 pcomplete-seen is non-nil.
22220 (pcomplete-comint-setup): Also recognize the new comint/shell
22221 completion functions.
22222 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22223 pcomplete-seen is non-nil.
22224
22225 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
22226
22227 * calendar/icalendar.el (diary-lib): Add require statement.
22228 (icalendar--create-uid): Read out a uid from a text-property on
22229 the first character in the entry. This allows for code to add its
22230 own uid to the entry.
22231 (icalendar--convert-float-to-ical): Add export of
22232 `diary-float'-entries save for those with the optional DAY
22233 argument.
22234
22235 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22236
22237 * subr.el (shell-quote-argument): Use alternate escaping strategy
22238 when we spot a variable reference in a string.
22239
22240 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22241
22242 * cus-start.el (all): Define customization for debug-on-event.
22243
22244 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22245
22246 * subr.el (shell-quote-argument): Escape correctly under Windows.
22247
22248 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22249
22250 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22251
22252 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
22253
22254 * net/tramp.el (tramp-process-actions): Add POS argument.
22255 Delete region between POS and (pos).
22256
22257 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22258 Use `nil' position in `tramp-process-actions' call.
22259 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22260
22261 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22262 position in `tramp-process-actions' call.
22263
22264 * net/trampver.el: Update release number.
22265
22266 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22267
22268 * custom.el (defcustom): Obey lexical-binding.
22269
22270 Fix octave-inf completion problems reported by Alexander Klimov.
22271 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22272 Inherit from octave-mode-syntax-table.
22273 (inferior-octave-mode): Set info-lookup-mode.
22274 (inferior-octave-completion-at-point): New function.
22275 (inferior-octave-complete): Use it and completion-in-region.
22276 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22277 comint-filename-completion.
22278 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22279 symbol elements which shouldn't be word elements.
22280 (octave-font-lock-keywords, octave-beginning-of-defun)
22281 (octave-function-header-regexp): Adjust regexps accordingly.
22282 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22283
22284 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
22285
22286 * net/gnutls.el (gnutls-errorp): Declare before first use.
22287
22288 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22289
22290 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22291 verify-error, and verify-hostname-error parameters. Check whether
22292 default trustfile exists before going to use it. Add missing
22293 argument to gnutls-message-maybe call. Return value.
22294 Reported by Claudio Bley <claudio.bley@gmail.com>.
22295 (open-gnutls-stream): Add usage example.
22296
22297 * net/network-stream.el (network-stream-open-starttls): Give host
22298 parameter to `gnutls-negotiate'.
22299 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
22300 * subr.el (shell-quote-argument): Escape correctly under Windows.
22301
22302 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
22303
22304 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22305 Use correct match group (bug#8438).
22306
22307 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22308
22309 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22310 (package-menu--generate): New arg specifying packages to show.
22311 (package-menu-refresh, package-menu-execute, list-packages):
22312 Callers changed.
22313 (package-show-package-list): New function, replacing deleted
22314 package--list-packages (renamed because it is non-internal).
22315
22316 * finder.el (finder-list-matches): Use package-show-package-list
22317 instead of deleted package--list-packages.
22318
22319 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22320 Based on a previous implementation by Juanma Barranquero (Bug#8366).
22321 (vc-annotate-mode-map): Bind it to RET.
22322
22323 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22324
22325 * progmodes/etags.el (next-file): Don't use set-buffer to change
22326 buffers (Bug#8478).
22327
22328 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22329
22330 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22331
22332 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22333 (apropos-accumulator): Doc fix.
22334 (apropos-function, apropos-macro, apropos-command)
22335 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22336 (apropos-plist): Add face property.
22337 (apropos-symbols-internal): Fix indentation.
22338 (apropos-print): Simplify help, and recognize apropos-multi-type.
22339 (apropos-print-doc): Use button-type-get to extract the button's
22340 face property. Fill docstring (Bug#8352).
22341
22342 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
22343
22344 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22345
22346 * play/mpuz.el (mpuz-silent): Doc fix.
22347 (mpuz-mode-map): Use mapc.
22348 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22349 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22350 Fix typos in docstrings.
22351
22352 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22353 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22354
22355 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22356
22357 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
22358
22359 * minibuffer.el (completion--do-completion): Avoid the "Next char
22360 not unique" prompt if icomplete-mode is enabled (Bug#5849).
22361
22362 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22363 mouse-2 into unread-command-events, it is interpreted correctly.
22364
22365 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
22366 (image-toggle-display): Doc fix.
22367
22368 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
22369
22370 * textmodes/page.el (what-page): Use line-number-at-pos to
22371 calculate line number (Bug#6825).
22372
22373 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22374
22375 * eshell/esh-mode.el (find-tag-interactive): Declare function.
22376 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22377 Pass argument NO-DEFAULT to `find-tag-interactive'.
22378
22379 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22380
22381 Lexical-binding cleanup.
22382
22383 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22384 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22385 * progmodes/ada-prj.el (ada-prj-initialize-values)
22386 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22387 (ada-prj-show-value):
22388 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
22389 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
22390 (antlr-invalidate-context-cache, antlr-options-menu-filter)
22391 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
22392 * progmodes/bug-reference.el (bug-reference-push-button):
22393 * progmodes/fortran.el (fortran-line-length):
22394 * progmodes/glasses.el (glasses-change):
22395 * progmodes/octave-mod.el (octave-fill-paragraph):
22396 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
22397 (python-pdbtrack-grub-for-buffer, python-sentinel):
22398 * progmodes/sql.el (sql-save-connection):
22399 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
22400 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
22401 Mark unused parameters.
22402
22403 * progmodes/compile.el (compilation--flush-directory-cache)
22404 (compilation--flush-parse, compile-internal): Mark unused parameters.
22405 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
22406 (compilation-next-error-function): Remove unused variable `timestamp'.
22407
22408 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
22409 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
22410
22411 * progmodes/dcl-mode.el (dcl-end-of-command):
22412 Remove unused variable `start'.
22413 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
22414 (dcl-option-value-basic, dcl-option-value-offset)
22415 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
22416 Mark unused parameters.
22417 (dcl-save-local-variable): Remove unused variable `val'.
22418 (mode): Declare.
22419
22420 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
22421 Mark unused parameters.
22422 (delphi-ignore-changes): Move before first use.
22423 (delphi-charset-token-at): Remove unused variable `start'.
22424 (delphi-else-start): Remove unused variable `if-count'.
22425 (delphi-comment-block-start, delphi-comment-block-end):
22426 Remove unused variable `kind'.
22427 (delphi-indent-line): Remove unused variable `new-point'.
22428
22429 * progmodes/ebrowse.el (ebrowse-files-list)
22430 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
22431 Mark unused parameters. Don't quote `lambda'.
22432 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
22433 Don't quote `lambda'.
22434 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
22435 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
22436 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
22437 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
22438 Use `ignore-errors'.
22439 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
22440 (ebrowse-view/find-file-and-search-pattern)
22441 (ebrowse-view/find-member-declaration/definition):
22442 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
22443 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
22444 Rename parameter PREFIX-ARG to PREFIX.
22445 (ebrowse-tags-read-name): Remove unused variables `start' and
22446 `member-info'.
22447 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
22448 to `tags-file'.
22449
22450 * progmodes/etags.el (local-find-tag-hook): Declare.
22451 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
22452 Mark unused parameters.
22453
22454 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
22455 (executable-interpret): Mark unused parameter.
22456
22457 * progmodes/flymake.el (flymake-process-sentinel)
22458 (flymake-after-change-function)
22459 (flymake-create-temp-with-folder-structure)
22460 (flymake-get-include-dirs-dot): Mark unused parameters.
22461 (flymake-safe-delete-directory): Remove unused variable `err'.
22462
22463 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
22464 (speedbar-timer-fn, speedbar-line-text)
22465 (speedbar-change-expand-button-char, speedbar-delete-subblock)
22466 (speedbar-center-buffer-smartly): Declare functions.
22467 (gdb-find-watch-expression): Remove unused variable `array'.
22468 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
22469 (gdb-starting): Mark unused parameters.
22470 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
22471 (gdb-table-string): Remove unused variable `res'.
22472 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
22473 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
22474 (gdb-display-buffer): Remove unused variable `cur-size'.
22475
22476 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
22477 allow lexical-binding compilation.
22478 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
22479 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
22480 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
22481 Mark unused parameters.
22482 (gud-gdb-marker-filter): Remove unused variable `match'.
22483 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
22484 lambda expressions and funcall them, instead of using `fset'.
22485
22486 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
22487 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
22488
22489 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
22490 variable `header-beg'; use `let'.
22491
22492 * progmodes/icon.el (indent-icon-exp): Remove unused variables
22493 `restart', `last-sexp' and `at-do'.
22494
22495 * progmodes/js.el (js--debug): Mark unused parameter.
22496 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
22497 (js--splice-into-items): Remove unused variable `item'.
22498 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
22499
22500 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
22501 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
22502 (makefile-complete): Remove unused variable `try'.
22503 (makefile-fill-paragraph, makefile-match-function-end):
22504 Mark unused parameters.
22505
22506 * progmodes/octave-inf.el (inferior-octave-complete):
22507 Remove unused variable `proc'.
22508 (inferior-octave-output-digest): Mark unused parameter.
22509
22510 * progmodes/perl-mode.el (perl-calculate-indent):
22511 Remove unused variable `err'.
22512
22513 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
22514 (prolog-indent-line): Mark unused parameters.
22515 (prolog-indent-line): Remove unused variable `beg'.
22516
22517 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
22518 (reporter-dont-compact-list): Declare.
22519
22520 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
22521 Remove unused variable `char'.
22522 (sh-debug): Mark unused parameter.
22523 (sh-get-indent-info): Remove unused variable `start'.
22524 (sh-calculate-indent): Remove unused variable `var'.
22525
22526 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
22527 (simula-electric-keyword): Remove unused variable `null'.
22528 (simula-search-backward, simula-search-forward): Remove unused
22529 variables `begin' and `end'.
22530
22531 * progmodes/vera-mode.el (vera-guess-basic-syntax):
22532 Remove unused variable `pos'.
22533 (vera-electric-tab, vera-comment-uncomment-region):
22534 Mark unused parameters.
22535 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
22536
22537 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
22538
22539 * emacs-lisp/package.el (package--builtins, package-alist)
22540 (package-load-descriptor, package-built-in-p, package-activate)
22541 (define-package, package-installed-p)
22542 (package-compute-transaction, package-buffer-info)
22543 (package--push): Doc fix. Distinguish more clearly between
22544 version strings and version lists.
22545
22546 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
22547
22548 Lexical-binding cleanup.
22549
22550 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
22551 (5x5-make-mutate-best):
22552 * play/fortune.el (fortune-in-buffer):
22553 * play/gomoku.el (gomoku-init-display):
22554 * play/solitaire.el (solitaire, solitaire-do-check):
22555 * play/tetris.el (tetris-default-update-speed-function):
22556 Mark unused parameters.
22557
22558 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
22559 (bubbles--shift): Remove unused variable `char-org'.
22560 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
22561 (bubbles--show-images): Remove unused variable `char'.
22562
22563 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
22564 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
22565 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
22566 (decipher-analyze-buffer): Use ?\s.
22567 (decipher-make-checkpoint): Remove unused variable `mapping'.
22568
22569 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
22570
22571 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
22572 Remove unused variable `result'; use `let'.
22573
22574 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
22575 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
22576 (gametree-children-shown-p, gametree-compute-reduced-score):
22577 Use `ignore-errors'.
22578
22579 * play/handwrite.el (ps-lpr-switches): Declare.
22580 (handwrite): Remove unused variables `pmin' and `lastp'.
22581
22582 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
22583
22584 * play/landmark.el (landmark-init-display)
22585 (landmark-update-naught-weights): Mark unused parameters.
22586 (landmark-y): Remove unused variable `noise'. Simplify.
22587 (landmark-human-plays): Remove unused variable `score'.
22588
22589 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
22590 (mpuz-try-proposal): Remove unused variable `game'.
22591
22592 * play/zone.el (life-patterns): Declare.
22593
22594 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
22595
22596 * vc/vc.el (ediff-vc-internal): Declare function.
22597
22598 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22599
22600 * shell.el: Use lexical-binding and std completion UI.
22601 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
22602 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
22603 comint-preoutput-filter-functions rather than on
22604 comint-output-filter-functions.
22605 (shell-command-completion, shell--command-completion-data)
22606 (shell-filename-completion, shell-environment-variable-completion)
22607 (shell-c-a-p-replace-by-expanded-directory): New functions.
22608 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
22609 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
22610 (shell-dynamic-complete-environment-variable): Use them.
22611 (shell-dynamic-complete-as-environment-variable)
22612 (shell-dynamic-complete-as-command): Remove.
22613 (shell-match-partial-variable): Match past point.
22614 * comint.el: Clean up use of completion-at-point-functions.
22615 (comint-completion-at-point): New function.
22616 (comint-mode): Use it completion-at-point-functions.
22617 (comint-dynamic-complete): Make it obsolete.
22618 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
22619 (comint-c-a-p-replace-by-expanded-history): New function.
22620 (comint-dynamic-complete-functions)
22621 (comint-replace-by-expanded-history): Use it.
22622 * minibuffer.el (completion-table-with-terminator): Allow dynamic
22623 termination strings. Try harder to avoid second try-completion.
22624 (completion-in-region-mode-map): Disable bindings that don't work yet.
22625
22626 * comint.el: Use lexical-binding. Require CL.
22627 (comint-dynamic-complete-functions): Use comint-filename-completion.
22628 (comint-completion-addsuffix): Tweak custom type.
22629 (comint-filename-completion, comint--common-suffix)
22630 (comint--common-quoted-suffix, comint--table-subvert)
22631 (comint--complete-file-name-data): New functions.
22632 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
22633 (comint-dynamic-list-filename-completions): Use them.
22634 (comint-dynamic-simple-complete): Make obsolete.
22635
22636 * minibuffer.el (completion-in-region-mode):
22637 Keep completion-in-region-mode--predicate global.
22638 (completion-in-region--postch):
22639 Assume completion-in-region-mode--predicate is not null.
22640
22641 * progmodes/flymake.el (flymake-start-syntax-check-process):
22642 Obey `dir'. Simplify.
22643
22644 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
22645 we're in VC after all.
22646
22647 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
22648
22649 * vc/vc.el (vc-diff-build-argument-list-internal)
22650 (vc-version-ediff, vc-ediff): New commands.
22651 (vc-version-diff): Use vc-diff-build-argument-list-internal.
22652
22653 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22654
22655 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
22656 add sanity check.
22657
22658 * obsolete/erc-hecomplete.el: Make obsolete.
22659 * obsolete/: Standardize obsolescence info in the header.
22660
22661 2011-04-20 Glenn Morris <rgm@gnu.org>
22662
22663 * calendar/solar.el (solar-horizontal-coordinates):
22664 Use the longitude argument rather than `calendar-longitude'.
22665 (solar-date-next-longitude): Remove unused locals.
22666
22667 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
22668
22669 * whitespace.el: New version 13.2.1.
22670
22671 2011-04-20 felix <EmacsWiki> (tiny change)
22672
22673 * whitespace.el (global-whitespace-mode): Keep highlight when
22674 switching between major modes on a file.
22675
22676 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
22677
22678 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
22679 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
22680 multi-line comments as well.
22681
22682 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
22683
22684 Lexical-binding cleanup.
22685
22686 * arc-mode.el (archive-mode-revert):
22687 * cmuscheme.el (scheme-interactively-start-process):
22688 * custom.el (custom-initialize-delay):
22689 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
22690 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
22691 * emacs-lock.el (emacs-lock-clear-sentinel):
22692 * ezimage.el (defezimage):
22693 * follow.el (follow-avoid-tail-recenter):
22694 * fringe.el (set-fringe-mode-1):
22695 * generic-x.el (bat-generic-mode-compile):
22696 * help-mode.el (help-info-variable, help-do-xref)
22697 (help-mode-revert-buffer):
22698 * help.el (view-emacs-todo):
22699 * iswitchb.el (iswitchb-completion-help):
22700 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
22701 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
22702 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
22703 * locate.el (locate-update):
22704 * longlines.el (longlines-encode-region)
22705 (longlines-after-change-function):
22706 * outline.el (outline-isearch-open-invisible):
22707 * ps-def.el (declare-function, charset-dimension, char-width)
22708 (encode-char):
22709 * ps-mule.el (ps-mule-plot-string):
22710 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
22711 (recentf-edit-list-select, recentf-edit-list-validate)
22712 (recentf-open-files-action):
22713 * rect.el (delete-whitespace-rectangle-line)
22714 (rectangle-number-line-callback):
22715 * register.el (window-configuration-to-register)
22716 (frame-configuration-to-register):
22717 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
22718 * select.el (xselect-convert-to-string, xselect-convert-to-length)
22719 (xselect-convert-to-targets, xselect-convert-to-delete)
22720 (xselect-convert-to-filename, xselect-convert-to-charpos)
22721 (xselect-convert-to-lineno, xselect-convert-to-colno)
22722 (xselect-convert-to-os, xselect-convert-to-host)
22723 (xselect-convert-to-user, xselect-convert-to-class)
22724 (xselect-convert-to-name, xselect-convert-to-integer)
22725 (xselect-convert-to-atom, xselect-convert-to-identity):
22726 * subr.el (declare, ignore, process-kill-without-query)
22727 (text-clone-maintain):
22728 * terminal.el (te-get-char, te-tic-sentinel):
22729 * tool-bar.el (tool-bar-make-keymap):
22730 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
22731 * type-break.el (type-break-mode, type-break-noninteractive-query):
22732 * view.el (View-back-to-mark):
22733 * wid-browse.el (widget-browse-action, widget-browse-widget)
22734 (widget-browse-widgets, widget-browse-sexp):
22735 * widget.el (define-widget-keywords):
22736 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
22737 Mark unused parameters.
22738
22739 * align.el (align-adjust-col-for-rule): Mark unused parameter.
22740 (align-areas): Remove unused variable `look'.
22741 (align-region): Remove unused variables `real-end' and `pos-list'.
22742
22743 * apropos.el (apropos-score-doc): Remove unused variable `i'.
22744
22745 * bindings.el (mode-line-modified, mode-line-remote):
22746 Mark unused parameters.
22747 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
22748
22749 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
22750 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
22751
22752 * comint.el (comint-history-isearch-pop-state)
22753 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
22754 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
22755 (comint-substitute-in-file-name): Doc fix.
22756
22757 * completion.el (cmpl-statistics-block): Mark unused parameter.
22758 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
22759 (save-completions-to-file, load-completions-from-file):
22760 Remove unused local variable `e'.
22761
22762 * composite.el (compose-chars): Remove unused variable `len'.
22763 (lgstring-insert-glyph): Remove unused variable `g'.
22764 (compose-glyph-string): Remove unused variables `ascent',
22765 `descent', `lbearing' and `rbearing'.
22766 (compose-glyph-string-relative): Remove unused variables
22767 `lbearing', `rbearing' and `wadjust'.
22768 (compose-gstring-for-graphic): Remove unused variables `header',
22769 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
22770 (compose-gstring-for-terminal): Remove unused variables `header'
22771 and `nchars'. Use `let', not `let*'.
22772
22773 * cus-edit.el (Custom-set, Custom-save, custom-reset)
22774 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
22775 (Custom-buffer-done, custom-buffer-create-internal)
22776 (custom-browse-visibility-action, custom-browse-group-tag-action)
22777 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
22778 (widget-magic-mouse-down-action, custom-toggle-parent)
22779 (custom-add-parent-links, custom-toggle-hide-variable)
22780 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
22781 (custom-toggle-hide-face, face, hook, custom-group-link-action)
22782 (custom-face-menu-create, custom-variable-menu-create, get)
22783 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
22784 (custom-reset-standard-save-and-update): Remove unused variable `value'.
22785 (customize-apropos): Remove unused variable `tests'.
22786 (custom-group-value-create): Remove unused variable `hidden-p'.
22787 (sort-fold-case): Declare.
22788
22789 * cus-theme.el (custom-reset-standard-faces-list)
22790 (custom-reset-standard-variables-list): Declare.
22791 (customize-create-theme, custom-theme-revert, custom-theme-write)
22792 (custom-theme-choose-mode, customize-themes, custom-theme-save):
22793 Mark unused parameters.
22794
22795 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
22796
22797 * delim-col.el (delimit-columns-max): Move defvar before first use.
22798
22799 * descr-text.el (describe-char-categories): Don't quote `lambda'.
22800 (describe-char): Don't quote `lambda'. Mark unused parameter.
22801
22802 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
22803 (auto-insert): Declare.
22804 (desktop-restore-file-buffer): Rename desktop-* parameters;
22805 mark unused ones.
22806 (desktop-create-buffer): Rename desktop-* parameters and bind them.
22807 (desktop-buffer): Rename desktop-* parameters.
22808
22809 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
22810 (dframe-reposition-frame-xemacs, dframe-help-echo)
22811 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
22812 Mark unused parameters.
22813
22814 * dired-aux.el (backup-extract-version-start, overwrite-query)
22815 (overwrite-backup-query, rename-regexp-query)
22816 (rename-non-directory-query): Declare.
22817 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
22818 (dired-add-entry): Remove unused variable `orig-file-name'.
22819 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
22820 Use parameter PRESERVE-TIME instead of accessing dynamic variable
22821 `dired-copy-preserve-time' directly.
22822 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
22823 (dired-insert-subdir-newpos): Rename unused variable `pos'.
22824
22825 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
22826 (dired-virtual-revert, dired-make-relative-symlink):
22827 Mark unused parameters.
22828 (manual-program): Declare.
22829 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
22830 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
22831 wrapped in `with-no-warnings' to avoid replacing one warning by another.
22832
22833 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
22834
22835 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
22836
22837 * echistory.el (electric-history-in-progress, Helper-return-blurb):
22838 Declare.
22839
22840 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
22841
22842 * electric.el (Electric-command-loop): Rename parameter
22843 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
22844
22845 * expand.el (expand-in-literal): Remove unused variable `here'.
22846
22847 * facemenu.el (facemenu-add-new-color):
22848 Remove unused variable `docstring'.
22849
22850 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
22851 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
22852 (face-attr-construct): Mark unused parameter. Doc fix.
22853 (read-color): Remove unused variable `hex-string'.
22854
22855 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
22856 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
22857 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
22858 (display-buffer-other-frame): Remove unused variable `old-window'.
22859 (kill-buffer-hook): Declare.
22860 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
22861 Mark unused parameters.
22862 (after-find-file): Pass 1 to `auto-save-mode', not t.
22863
22864 * files-x.el (auto-insert): Declare.
22865 (modify-file-local-variable-prop-line): Remove unused variable `val'.
22866
22867 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
22868 variable `buf'. Mark unused parameter.
22869 (find-lisp-insert-directory): Mark unused parameter.
22870
22871 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
22872 (format-encode-region): Remove unused variables `cur-buf' and `result'.
22873 (format-common-tail): Remove, unused.
22874 (format-deannotate-region): Remove unused variable `loc'.
22875 (format-annotate-region): Remove unused variable `p'.
22876 (format-annotate-single-property-change): Remove unused variables
22877 `default' and `tail'.
22878
22879 * forms.el (read-file-filter): Declare.
22880 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
22881
22882 * frame.el (frame-creation-function-alist): Mark unused parameter.
22883 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
22884
22885 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
22886 Remove unused parameters.
22887 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
22888 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
22889
22890 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
22891 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
22892 (hfy-prepare-tag-map): Mark unused parameters.
22893 (htmlfontify-buffer): Use `called-interactively-p'.
22894
22895 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
22896 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
22897 (ibuffer-do-occur): Mark unused parameters.
22898 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
22899 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
22900
22901 * ibuffer.el: Don't quote `lambda'.
22902 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
22903 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
22904 Mark unused parameters.
22905
22906 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
22907 (ido-completing-read): Mark unused parameters.
22908 (ido-copy-current-word): Mark unused parameters;
22909 remove unused variable `name'.
22910 (ido-sort-merged-list): Remove unused parameter `dirs'.
22911
22912 * ielm.el (ielm-input-sender): Mark unused parameter.
22913 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
22914 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
22915 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
22916 `ielm-string' as a dynamic variable accessible from the IELM prompt.
22917 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
22918
22919 * image-dired.el (image-dired-display-thumbs): Remove unused
22920 variables `curr-file' and `count'.
22921 (image-dired-remove-tag): Remove unused variable `start'.
22922 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
22923 variable `curr-file'
22924 (image-dired-rotate-original): Remove unused variable `temp-file'.
22925 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
22926 Remove unused variable `file'.
22927 (image-dired-gallery-generate): Remove unused variable `curr'.
22928 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
22929
22930 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
22931
22932 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
22933
22934 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
22935
22936 * isearch.el (minibuffer-history-symbol): Declare.
22937 (isearch-edit-string): Remove unused variable `err'.
22938 (isearch-message-prefix, isearch-message-suffix):
22939 Mark unused parameters.
22940
22941 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
22942
22943 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
22944
22945 * makesum.el (double-column): Remove unused variable `cnt'.
22946
22947 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
22948 (ido-ignore-item-temp-list): Declare.
22949
22950 * mouse-drag.el (mouse-drag-throw): Remove unused variables
22951 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
22952 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
22953 (mouse-drag-drag): Remove unused variables `mouse-delta' and
22954 `mouse-col-delta'.
22955
22956 * mouse-sel.el (mouse-extend-internal):
22957 Remove unused variable `orig-window-frame'.
22958
22959 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
22960 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
22961 Move declarations before first use.
22962 (pcomplete-opt): Mark unused parameters; doc fix.
22963
22964 * proced.el (proced-revert): Mark unused parameter.
22965 (proced-send-signal): Remove unused variable `err'.
22966
22967 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
22968 Rename parameter PREFIX-ARG to ARG.
22969 (ps-basic-plot-string, ps-basic-plot-whitespace):
22970 Mark unused parameters.
22971
22972 * replace.el (replace-count): Define.
22973 (occur-revert-function): Mark unused parameters.
22974 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
22975 (isearch-case-fold-search, isearch-string): Declare.
22976 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
22977 bind `case-fold-search'. Remove unused variables `beg' and `end',
22978 and simplify.
22979 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
22980 COUNT and bind `replace-count'.
22981 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
22982 to COUNT.
22983
22984 * savehist.el (print-readably, print-string-length): Declare.
22985
22986 * shadowfile.el (shadow-expand-cluster-in-file-name):
22987 Remove unused variable `cluster'.
22988 (shadow-copy-file): Remove unused variable `i'.
22989 (shadow-noquery, shadow-clusters, shadow-site-cluster)
22990 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
22991 (shadow-define-literal-group, shadow-define-regexp-group)
22992 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
22993
22994 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
22995 (shell): Use `called-interactively-p'.
22996 (shell-directory-tracker): Remove unused variable `chdir-failure'.
22997
22998 * simple.el (compilation-context-lines, comint-file-name-quote-list)
22999 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23000 (delete-backward-char): Remove unused variable `ocol'.
23001 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23002 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23003 (event-apply-hyper-modifier, event-apply-shift-modifier)
23004 (event-apply-control-modifier, event-apply-meta-modifier):
23005 Mark unused parameters.
23006 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23007 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23008
23009 * speedbar.el (speedbar-ignored-directory-expressions)
23010 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23011 (speedbar-find-file, speedbar-dir-follow)
23012 (speedbar-directory-buttons-follow, speedbar-tag-find)
23013 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23014 (speedbar-buffers-line-directory, speedbar-buffer-click):
23015 Mark unused parameters.
23016 (speedbar-tag-file): Remove unused variable `mode'.
23017 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23018
23019 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23020
23021 * talk.el (talk): Remove unused variable `display'.
23022
23023 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23024 (tar-write-region-annotate): Mark unused parameter.
23025
23026 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23027 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23028 Declare them, wrapped in `with-no-warnings' to avoid replacing one
23029 warning by another.
23030
23031 * time-stamp.el (time-stamp-string-preprocess):
23032 Remove unused variable `require-padding'.
23033
23034 * tree-widget.el (widget-glyph-enable): Declare.
23035 (tree-widget-action): Mark unused parameter.
23036
23037 * w32-fns.el (x-get-selection): Mark unused parameter.
23038 (autoload-make-program, generated-autoload-file): Declare.
23039
23040 * wdired.el (wdired-revert): Mark unused parameters.
23041 (wdired-xcase-word): Remove unused variable `err'.
23042
23043 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23044 (whitespace-help-scroll): Remove unused variable `data-help'.
23045
23046 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23047 (widget-image-insert, widget-after-change, default)
23048 (widget-default-format-handler, widget-default-notify)
23049 (widget-default-prompt-value, widget-info-link-action)
23050 (widget-url-link-action, widget-function-link-action)
23051 (widget-variable-link-action, widget-file-link-action)
23052 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23053 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23054 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23055 (widget-insert-button-action, widget-delete-button-action, visibility)
23056 (widget-documentation-link-action, widget-documentation-string-action)
23057 (widget-const-prompt-value, widget-regexp-match, symbol)
23058 (widget-coding-system-prompt-value)
23059 (widget-key-sequence-value-to-external, sexp)
23060 (widget-sexp-value-to-internal, character, vector, cons)
23061 (widget-choice-prompt-value, widget-boolean-prompt-value)
23062 (widget-color--choose-action): Mark unused parameters.
23063 (widget-item-match-inline, widget-choice-match-inline)
23064 (widget-checklist-match, widget-checklist-match-inline)
23065 (widget-group-match): Rename parameter VALUES to VALS.
23066 (widget-field-value-set): Remove unused variable `size'.
23067 (widget-color-action): Remove unused variables `value' and `start'.
23068
23069 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
23070 variable `dir'. Doc fix.
23071 (windmove-find-other-window): Don't pass it.
23072
23073 * window.el (count-windows): Mark unused parameter.
23074 (bw-adjust-window): Remove unused variable `err'.
23075
23076 * woman.el (woman-file-name): Remove unused variable `default'.
23077 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23078 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23079 (global-font-lock-mode): Declare.
23080 (woman-decode-region): Mark unused parameter.
23081 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23082
23083 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23084 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23085 (x-dnd-handle-moz-url): Remove unused variable `title'.
23086 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23087
23088 * xml.el (xml-parse-tag, xml-parse-attlist):
23089 Remove unused variable `pos'.
23090
23091 2011-04-19 Glenn Morris <rgm@gnu.org>
23092
23093 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23094 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23095 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23096 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23097 * calendar/cal-html.el (cal-html-insert-minical):
23098 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23099 (calendar-mark-date-pattern):
23100 Prefix "unused" locals.
23101
23102 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23103 optional argument `style'.
23104
23105 * calendar/appt.el (appt-make-list):
23106 * calendar/cal-china.el (calendar-chinese-date-string):
23107 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23108 (diary-hebrew-yahrzeit):
23109 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23110 * calendar/calendar.el (calendar-generate-window):
23111 * calendar/time-date.el (time-to-days):
23112 Remove unused local variables.
23113
23114 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
23115
23116 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23117 glyphless-char-display table.
23118 (tabulated-list-glyphless-char-display): New var.
23119
23120 2011-04-18 Sam Steingold <sds@gnu.org>
23121
23122 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23123 to acknowledgments.
23124
23125 2011-04-17 Glenn Morris <rgm@gnu.org>
23126
23127 * calendar/diary-lib.el (diary-sexp-entry):
23128 * calendar/holidays.el (holiday-sexp):
23129 Set debug-on-error rather than the removed stack-trace-on-error.
23130
23131 2011-04-16 Glenn Morris <rgm@gnu.org>
23132
23133 * progmodes/f90.el: Use lexical-binding.
23134 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23135
23136 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23137
23138 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23139 (mail-mode): Setup mailalias completion here instead.
23140 * mail/mailalias.el: Use lexical-binding.
23141 (pattern, mailalias-done): Declare dynamic.
23142 (mail-completion-at-point-function): New function, from mail-complete.
23143 (mail-complete): Use it.
23144 (mail-completion-expand): New function.
23145 (mail-get-names): Use it.
23146 (mail-directory, mail-directory-process, mail-directory-stream):
23147 Don't use `pattern' for lexically bound arg.
23148
23149 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
23150
23151 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
23152 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
23153 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
23154
23155 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
23156 (byte-save-window-excursion, byte-temp-output-buffer-setup)
23157 (byte-interactive-p): Define them again, for use when inlining
23158 old code.
23159
23160 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
23161
23162 * loadup.el: Use `string-to-number', not `string-to-int'.
23163
23164 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23165
23166 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23167 gud-gdb-complete-command.
23168 (gud-gdb-completions): New function, from gud-gdb-complete-command.
23169 (gud-gdb-completion-at-point): New function.
23170 (gud-gdb-completions): Remove.
23171
23172 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
23173
23174 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23175 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
23176 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23177 whether `executable-find' is bound.
23178
23179 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23180
23181 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23182
23183 * minibuffer.el (completion-in-region-mode-predicate)
23184 (completion-in-region-mode--predicate): New vars.
23185 (completion-in-region, completion-in-region--postch)
23186 (completion-in-region-mode): Use them.
23187 (completion--capf-wrapper): Also return the hook function.
23188 (completion-at-point, completion-help-at-point):
23189 Adjust and provide a predicate.
23190
23191 Preserve arg names for advice of subr and lexical functions (bug#8457).
23192 * help-fns.el (help-function-arglist): Consolidate the subr and
23193 new-byte-code cases. Add argument `preserve-names' to extract names
23194 from the docstring when needed.
23195 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23196 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23197 (ad-arglist): Use help-function-arglist's new arg.
23198 (ad-definition-type): Use cond.
23199
23200 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
23201
23202 * autorevert.el (auto-revert-handler):
23203 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23204 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23205 Don't quote lambda.
23206
23207 * image-mode.el (image-transform-set-scale):
23208 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23209
23210 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23211
23212 * net/network-stream.el (network-stream-open-starttls): Only do
23213 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
23214 Upgrades via gnutls-cli are too slow to be done opportunistically.
23215
23216 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
23217
23218 * dframe.el (dframe-current-frame): Remove spurious quote.
23219
23220 2011-04-12 Glenn Morris <rgm@gnu.org>
23221
23222 * calendar/cal-tex.el (cal-tex-end-document):
23223 Try to automatically use latin1 input if needed.
23224
23225 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23226 Don't try to cons a mark onto an empty element.
23227
23228 2011-04-11 Leo Liu <sdl.web@gmail.com>
23229
23230 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23231 buffers.
23232 (ido-kill-buffer-at-head): Support killing virtual buffers.
23233
23234 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
23235
23236 * minibuffer.el (completion-show-inline-help): New var.
23237 (completion--do-completion, minibuffer-complete)
23238 (minibuffer-force-complete, minibuffer-complete-word):
23239 Inhibit minibuffer messages if completion-show-inline-help is nil.
23240
23241 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23242 to avoid interference from inline help (Bug#5849).
23243
23244 2011-04-10 Leo Liu <sdl.web@gmail.com>
23245
23246 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23247 Fix typo.
23248
23249 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
23250
23251 * image-mode.el (image-toggle-display-image): Signal an error if
23252 not in Image mode.
23253 (image-transform-mode, image-transform-resize)
23254 (image-transform-set-rotation): Doc fix.
23255 (image-transform-set-resize): Delete.
23256 (image-transform-set-scale, image-transform-fit-to-height)
23257 (image-transform-fit-to-width): Handle image-toggle-display-image
23258 and image-transform-resize directly.
23259
23260 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
23261
23262 * doc-view.el (doc-view-fit-width-to-window)
23263 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23264 New functions for fitting the shown image to the Emacs window size.
23265 (doc-view-mode-map): Add bindings for the new functions.
23266
23267 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
23268
23269 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
23270 Fix typo in docstring.
23271
23272 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23273
23274 * files.el (file-size-human-readable): Produce one digit after
23275 decimal, like "ls -lh" does.
23276
23277 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23278 the file size representation.
23279
23280 * simple.el (list-processes): If async subprocesses are not
23281 available, error out with a clear error message.
23282
23283 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
23284
23285 * help.el (help-form-show): New function, to be called from C.
23286 Put help-form output in a buffer named differently than *Help*.
23287
23288 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23289
23290 * files.el (file-size-human-readable): New function.
23291
23292 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23293 computing the representation inline. Don't require `cl'.
23294
23295 2011-04-08 Glenn Morris <rgm@gnu.org>
23296
23297 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23298
23299 * net/browse-url.el (browse-url-firefox):
23300 Test system-type, not system-configuration.
23301
23302 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23303 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23304 Use log-edit-empty-buffer-p. (Bug#7598)
23305
23306 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23307 (rlogin-mode-map): Initialize in the defvar.
23308 (rlogin): Use ignore-errors.
23309
23310 * replace.el (occur-mode-map): Some fixes for menu items.
23311
23312 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23313
23314 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23315
23316 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23317
23318 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23319 issuing unused warnings.
23320
23321 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23322 macro directly.
23323
23324 * simple.el: Lisp reimplement of list-processes. Based on an
23325 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23326 (process-menu-mode): New major mode.
23327 (list-processes--refresh, list-processes):
23328 (process-menu-visit-buffer): New functions.
23329
23330 * files.el (save-buffers-kill-emacs): Don't assume any return
23331 value of list-processes, which is undocumented anyway.
23332
23333 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23334
23335 * emacs-lisp/tabulated-list.el: New file.
23336
23337 * emacs-lisp/package.el: Use Tabulated List mode.
23338 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23339 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23340 table format using Tabulated List mode variables.
23341 (package--push): New macro, replacing package-list-maybe-add.
23342 (package-menu--generate): Use package--push. Renamed from
23343 package--generate-package-list.
23344 (package-menu-refresh, list-packages): Use it.
23345 (package-menu--print-info): Rename from package-print-package.
23346 Return insertion data instead of inserting it directly.
23347 (package-menu-describe-package, package-menu-execute):
23348 Use tabulated-list-get-id.
23349 (package-menu-mark-delete, package-menu-mark-install)
23350 (package-menu-mark-unmark, package-menu-backup-unmark)
23351 (package-menu-mark-obsolete-for-deletion):
23352 Use tabulated-list-put-tag.
23353 (package--list-packages, package-menu-revert)
23354 (package-menu-get-package, package-menu-get-version)
23355 (package-menu-sort-by-column): Functions deleted.
23356 (package-menu-package-list, package-menu-sort-key): Vars deleted.
23357 (package-menu--status-predicate, package-menu--version-predicate)
23358 (package-menu--name-predicate)
23359 (package-menu--description-predicate): Handle arguments in the
23360 Tabulated List format.
23361 (package-list-packages-no-fetch): Call list-packages.
23362
23363 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
23364
23365 * files.el (after-find-file-from-revert-buffer): Remove variable.
23366 (after-find-file): Don't bind it.
23367 (revert-buffer-in-progress-p): New variable.
23368 (revert-buffer): Bind it.
23369 Pass nil for `after-find-file-from-revert-buffer'.
23370
23371 * saveplace.el (save-place-find-file-hook): Use new variable
23372 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23373
23374 2011-04-06 Glenn Morris <rgm@gnu.org>
23375
23376 * Makefile.in (AUTOGEN_VCS): New variable.
23377 (autoloads): Use $AUTOGEN_VCS.
23378
23379 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23380 * calendar/calendar.el (calendar-mode-map):
23381 Check for toolkit scroll bars. (Bug#8305)
23382
23383 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23384
23385 * minibuffer.el (completion-in-region--postch)
23386 (completion-in-region-mode): Remove unnecessary messages.
23387
23388 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
23389
23390 * font-lock.el (font-lock-refresh-defaults):
23391 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
23392 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
23393
23394 * info.el (Info-directory-list, Info-read-node-name-2)
23395 (Info-split-parameter-string): Doc fixes.
23396 (Info-virtual-nodes): Reflow docstring.
23397 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
23398 (Info-apropos-toc-nodes, info-finder, Info-get-token)
23399 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
23400 Fix typos in docstrings.
23401 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
23402 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
23403 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
23404 (Info-restore-desktop-buffer): Mark unused parameters.
23405 (Info-directory-find-file, Info-directory-find-node)
23406 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
23407 (Info-virtual-index-find-node, Info-apropos-find-file)
23408 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
23409 Mark unused parameters; fix typos in docstrings.
23410 (Info-virtual-index): Remove unused local variable `nodename'.
23411
23412 2011-04-05 Deniz Dogan <deniz@dogan.se>
23413
23414 * net/rcirc.el: Update my e-mail address.
23415 (rcirc-mode-map): Remove M-o binding.
23416
23417 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23418
23419 * startup.el (command-line): Save the cursor's theme-face
23420 directly, instead of using face-override-spec.
23421
23422 * custom.el (load-theme): Minor optimization in assigning faces.
23423
23424 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23425
23426 * help-fns.el (describe-variable): Complete all variables having
23427 documentation, including keywords.
23428 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
23429
23430 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23431
23432 Convert to lexical-binding.
23433
23434 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
23435 (bs--get-marked-string, bs--get-modified-string)
23436 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
23437 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
23438 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
23439
23440 * ehelp.el (electric-help-execute-extended)
23441 (electric-help-ctrl-x-prefix):
23442 * hexl.el (hexl-revert-buffer-function):
23443 * linum.el (linum-after-change, linum-after-scroll):
23444 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
23445
23446 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
23447
23448 2011-04-04 Daiki Ueno <ueno@unixuser.org>
23449
23450 * epa-dired.el:
23451 * epa-mail.el:
23452 * epa-hook.el:
23453 * epa-file.el:
23454 * epa.el:
23455 * epg.el: Use lexical binding.
23456
23457 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
23458
23459 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
23460
23461 * textmodes/flyspell.el (flyspell-word): Recognize default
23462 dictionary case for flyspell-mark-duplications-exceptions.
23463 Use regexp matching for languages.
23464 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
23465 default dictionary (Bug#7926).
23466
23467 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
23468
23469 * emacs-lisp/package.el (package--with-work-buffer):
23470 Recognize https URLs.
23471
23472 * net/network-stream.el: Move from gnus/proto-stream.el.
23473 Change prefix to network-stream throughout.
23474 (open-protocol-stream): Merge into open-network-stream, leaving
23475 open-protocol-stream as an alias. Handle nil BUFFER args.
23476
23477 * subr.el (open-network-stream): Move to net/network-stream.el.
23478
23479 2011-04-02 Glenn Morris <rgm@gnu.org>
23480
23481 * find-dired.el (find-exec-terminator): New option.
23482 (find-ls-option): Test for -ls support.
23483 (find-ls-subdir-switches): Test for -b in find-ls-option.
23484 (find-dired, find-grep-dired): Doc fixes.
23485 (find-dired): Use find-exec-terminator.
23486
23487 * find-dired.el (find-ls-option, find-ls-subdir-switches)
23488 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
23489 (find-name-arg): Remove purecopy.
23490
23491 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
23492 (grep-compute-defaults): Check for `-exec COMMAND +' support.
23493 Set grep-find-use-xargs, grep-find-command, and grep-find-template
23494 accordingly. Don't add the null-device if not needed.
23495
23496 * files.el (save-some-buffers): Doc fix.
23497
23498 2011-04-02 Eli Zaretskii <eliz@gnu.org>
23499
23500 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
23501
23502 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
23503
23504 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
23505 Use `dolist' rather than `mapcar'.
23506
23507 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
23508
23509 Add lexical binding.
23510
23511 * subr.el (apply-partially): Use new closures rather than CL.
23512 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
23513 (dolist, dotimes): Use slightly different expansion for lexical code.
23514 (functionp): Move to C.
23515 (letrec): New macro.
23516 (with-wrapper-hook): Use it and apply-partially instead of CL.
23517 (eval-after-load): Preserve lexical-binding.
23518 (save-window-excursion, with-output-to-temp-buffer): Turn them
23519 into macros.
23520
23521 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
23522
23523 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
23524 than the arglist.
23525 (help-add-fundoc-usage): Don't add `Not documented'.
23526 (help-function-arglist): Handle closures, subroutines, and new
23527 byte-code-functions.
23528 (help-make-usage): Remove leading underscores.
23529 (describe-function-1): Handle closures.
23530 (describe-variable): Use special-variable-p for completion.
23531
23532 * files.el (lexical-binding): Declare safe.
23533
23534 * emacs-lisp/pcase.el: Don't use destructuring-bind.
23535 (pcase--memoize): Rename from pcase-memoize. Change weakness.
23536 (pcase): Add `let' pattern.
23537 Change memoization so it actually works.
23538 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
23539 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
23540 <let>: New case.
23541
23542 * emacs-lisp/macroexp.el: Use lexical binding.
23543 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
23544 Don't convert ' to #' without checking that it's indeed quoting
23545 a lambda.
23546
23547 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
23548 Use eval-sexp-add-defvars.
23549 (eval-sexp-add-defvars): New fun.
23550
23551 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
23552
23553 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
23554 Don't autoload.
23555 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
23556 than the internal `byte-compile-lambda'.
23557 (defmethod): Don't hide code under quotes.
23558 (eieio-defmethod): New `code' argument.
23559
23560 * emacs-lisp/eieio-comp.el: Remove.
23561
23562 * emacs-lisp/edebug.el (edebug-eval-defun)
23563 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
23564 (edebug-toggle): Avoid `eval'.
23565
23566 * emacs-lisp/disass.el (disassemble-internal): Handle new
23567 `closure' objects.
23568 (disassemble-1): Handle new byte codes.
23569
23570 * emacs-lisp/cl.el (pushnew): Silence warning.
23571
23572 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
23573 (cl-byte-compile-throw): Remove.
23574 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
23575
23576 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
23577 closures.
23578
23579 * emacs-lisp/cconv.el: New file.
23580
23581 * emacs-lisp/bytecomp.el: Use lexical binding instead of
23582 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
23583 (byte-compile-initial-macro-environment):
23584 Handle declare-function here.
23585 (byte-compile--lexical-environment): New var.
23586 (byte-stack-ref, byte-stack-set, byte-discardN)
23587 (byte-discardN-preserve-tos): New lap codes.
23588 (byte-interactive-p): Don't use any more.
23589 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
23590 New macros.
23591 (byte-compile-lapcode): Use them and handle new lap codes.
23592 (byte-compile-obsolete): Remove.
23593 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
23594 (byte-compile-arglist-warn): Check late def of inlinable funs.
23595 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
23596 since they should have been expanded by now.
23597 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
23598 (byte-compile-from-buffer): Remove unused second arg.
23599 (byte-compile-preprocess): New function.
23600 (byte-compile-toplevel-file-form): New function to distinguish
23601 file-form calls from outside from file-form calls from hunk-handlers.
23602 (byte-compile-file-form): Simplify.
23603 (byte-compile-file-form-defsubst): Remove.
23604 (byte-compile-file-form-defmumble): Simplify now that
23605 byte-compile-lambda always returns a byte-code-function.
23606 (byte-compile): Preprocess.
23607 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
23608 Remove, not used any more.
23609 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
23610 (byte-compile-make-args-desc): New funs.
23611 (byte-compile-lambda): Handle lexical functions. Always return
23612 a byte-code-function.
23613 (byte-compile-reserved-constants): New var, to make up room for
23614 closed-over variables.
23615 (byte-compile-constants-vector): Obey it.
23616 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
23617 (byte-compile-macroexpand-declare-function): New function.
23618 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
23619 byte-code-functions.
23620 (byte-compile-form): Check obsolescence here.
23621 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
23622 (byte-compile-variable-ref): Remove.
23623 (byte-compile-dynamic-variable-op): New fun.
23624 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23625 (byte-compile-variable-set): New funs.
23626 (byte-compile-discard): Add 2 args.
23627 (byte-compile-stack-ref, byte-compile-stack-set)
23628 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
23629 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
23630 macroexpand-all instead.
23631 (byte-compile-quote-form): Remove.
23632 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
23633 (byte-compile-bind, byte-compile-unbind): New funs.
23634 (byte-compile-let): Handle let* and lexical binding.
23635 (byte-compile-let*): Remove.
23636 (byte-compile-catch, byte-compile-unwind-protect)
23637 (byte-compile-track-mouse, byte-compile-condition-case):
23638 Handle a new :fun-body form, used for lexical scoping.
23639 (byte-compile-save-window-excursion)
23640 (byte-compile-with-output-to-temp-buffer): Remove.
23641 (byte-compile-defun): Simplify.
23642 (byte-compile-stack-adjustment): New fun.
23643 (byte-compile-out): Use it.
23644 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
23645
23646 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
23647 handler any more.
23648
23649 * emacs-lisp/byte-opt.el: Use lexical binding.
23650 (byte-inline-lapcode): Remove (to bytecomp).
23651 (byte-compile-inline-expand): Pay attention to inlining to/from
23652 lexically bound code.
23653 (byte-compile-unfold-lambda): Don't handle byte-code-functions
23654 any more.
23655 (byte-optimize-form-code-walker): Don't handle save-window-excursion
23656 any more and don't call compiler-macros.
23657 (byte-compile-splice-in-already-compiled-code): Remove.
23658 (byte-code): Don't inline any more.
23659 (disassemble-offset): Receive `bytes' as argument rather than via
23660 dynamic scoping.
23661 (byte-compile-tag-number): Declare before first use.
23662 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
23663 `return' even if make-spliceable.
23664 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
23665 obsolete interactive-p.
23666 (byte-optimize-lapcode): Optimize new lap-codes.
23667 Don't trip up on new form of `byte-constant' lap code.
23668
23669 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
23670
23671 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
23672
23673 * custom.el (custom-initialize-default, custom-declare-variable):
23674 Use `defvar'.
23675
23676 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
23677 New variables.
23678 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
23679 (COMPILE_FIRST): Add macroexp and cconv.
23680 * makefile.w32-in: Mirror changes in Makefile.in.
23681
23682 * vc/cvs-status.el:
23683 * vc/diff-mode.el:
23684 * vc/log-edit.el:
23685 * vc/log-view.el:
23686 * vc/smerge-mode.el:
23687 * textmodes/bibtex-style.el:
23688 * textmodes/css-mode.el:
23689 * startup.el:
23690 * uniquify.el:
23691 * minibuffer.el:
23692 * newcomment.el:
23693 * reveal.el:
23694 * server.el:
23695 * mpc.el:
23696 * emacs-lisp/smie.el:
23697 * doc-view.el:
23698 * dired.el:
23699 * abbrev.el: Use lexical binding.
23700
23701 2011-04-01 Eli Zaretskii <eliz@gnu.org>
23702
23703 * info.el (info-display-manual): New function.
23704
23705 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
23706
23707 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
23708
23709 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
23710
23711 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
23712 an entry for that server in rcirc-authinfo. (Bug#8385)
23713
23714 2011-03-31 Glenn Morris <rgm@gnu.org>
23715
23716 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
23717
23718 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
23719
23720 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
23721
23722 * progmodes/python.el (python-default-interpreter)
23723 (python-python-command-args, python-jython-command-args)
23724 (python-which-shell, python-which-args, python-which-bufname)
23725 (python-file-queue, python-comint-output-filter-function)
23726 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
23727 variables and functions.
23728
23729 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
23730
23731 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
23732 (completion-in-region-mode): New minor mode.
23733 (completion-in-region): Use it.
23734 (completion-in-region--data, completion-in-region-mode-map): New vars.
23735 (completion-in-region--postch): New function.
23736 (completion--capf-misbehave-funs, completion--capf-safe-funs):
23737 New vars.
23738 (completion--capf-wrapper): New function.
23739 (completion-at-point): Use it to track well-behavedness of
23740 hook functions.
23741 (completion-help-at-point): New command.
23742
23743 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
23744
23745 * vc/add-log.el (add-change-log-entry): Don't use whitespace
23746 syntax class to search for whitespace on a single line
23747 (Message-ID: <4D938140.4030905@redhat.com>).
23748
23749 2011-03-30 Leo Liu <sdl.web@gmail.com>
23750
23751 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
23752 New commands.
23753 (edit-abbrevs-map): Bind them here.
23754 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
23755
23756 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
23757
23758 * allout.el (allout-hide-by-annotation, allout-flag-region):
23759 Reduce possibility of overlay leakage by making them volatile.
23760
23761 * allout-widgets.el (allout-widgets-tally): Define as nil so the
23762 hash is not shared between buffers. Mode initialization is
23763 responsible for giving it a useful starting value.
23764 (allout-item-span): Reduce possibility of overlay leakage by
23765 making them volatile.
23766 (allout-widgets-count-buttons-in-region): Add diagnostic function
23767 for tracking down button overlay leaks.
23768
23769 2011-03-29 Leo Liu <sdl.web@gmail.com>
23770
23771 * ido.el (ido-read-internal): Use the default history var
23772 minibuffer-history if no HISTORY is specified.
23773
23774 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
23775
23776 * net/imap.el (imap-shell-open, imap-process-connection-type):
23777 Use imap-process-connection-type for 'shell' streams as well as
23778 Kerberos, SSL, other subprocesses.
23779
23780 2011-03-28 Leo Liu <sdl.web@gmail.com>
23781
23782 * abbrev.el (abbrev-table-empty-p): New function.
23783 (prepare-abbrev-list-buffer): Place empty abbrev tables after
23784 nonempty ones. (Bug#5937)
23785
23786 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
23787
23788 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
23789
23790 2011-03-27 Leo Liu <sdl.web@gmail.com>
23791
23792 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
23793 for foreground and background colors.
23794 (ansi-color-make-color-map): Adapt.
23795
23796 2011-03-25 Leo Liu <sdl.web@gmail.com>
23797
23798 * midnight.el (midnight-time-float): Remove. Note it calculates
23799 the microsecond component incorrectly and seconds-to-time does the
23800 same job.
23801 Remove redundant (require 'timer).
23802
23803 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
23804 (ido-completions): Remove unused arguments. (Bug#8329)
23805
23806 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
23807
23808 * minibuffer.el (completion--flush-all-sorted-completions):
23809 Remove itself from hook.
23810 (completion-at-point): Let the functions perform the completion
23811 immediately and return nil or t.
23812 * comint.el (comint-dynamic-complete-functions): Now identical to
23813 completion-at-point-functions.
23814 (comint-dynamic-list-input-ring): Remove unused var `index'.
23815 (comint--match-partial-filename, comint--unquote&expand-filename):
23816 New funs, split from comint-match-partial-filename.
23817 (comint-dynamic-complete): Use completion-at-point.
23818 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
23819
23820 2011-03-24 Drew Adams <drew.adams@oracle.com>
23821
23822 * thingatpt.el: Support `defun'.
23823
23824 2011-03-23 Leo Liu <sdl.web@gmail.com>
23825
23826 * abbrevlist.el: Move to obsolete/abbrevlist.el.
23827
23828 * help-mode.el (help-mode-finish): Tweak regexp.
23829
23830 2011-03-23 Glenn Morris <rgm@gnu.org>
23831
23832 * eshell/esh-opt.el (eshell-eval-using-options):
23833 Do not bind unused local variable `eshell-option-stub'.
23834
23835 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
23836
23837 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
23838
23839 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
23840 keymap variable in `with-no-warnings' to avoid a warning when the
23841 keymap has been already `defconst'ed.
23842
23843 2011-03-22 Leo Liu <sdl.web@gmail.com>
23844
23845 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
23846 encode all chars in abbrevs; otherwise use emacs-mule or
23847 utf-8-emacs. (Bug#8308)
23848
23849 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
23850
23851 * simple.el (backward-delete-char-untabify):
23852 Avoid warning about using `delete-backward-char'.
23853
23854 * image.el (image-type-file-name-regexps): Make it variable.
23855 `imagemagick-register-types' modifies it, and the user may want
23856 to add new extensions for known image types.
23857 (imagemagick-register-types): Throw error if not using ImageMagick.
23858
23859 2011-03-22 Leo Liu <sdl.web@gmail.com>
23860
23861 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
23862 located before rcirc-prompt-end-marker.
23863 (rcirc-complete): Error if point is not after rcirc prompt.
23864 Handle the case when table is nil.
23865 (rcirc-user-authenticated): Define to fix compiler warning.
23866
23867 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
23868
23869 * custom.el (custom--inhibit-theme-enable): Make it affect only
23870 custom-theme-set-variables and custom-theme-set-faces.
23871 (provide-theme): Ignore custom--inhibit-theme-enable.
23872 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
23873 (custom-enabling-themes): Delete variable.
23874 (enable-theme): Accept only loaded themes as arguments.
23875 Ignore the special custom-enabled-themes variable.
23876 (custom-enabled-themes): Forbid themes from setting this.
23877 Eliminate use of custom-enabling-themes.
23878 (custom-push-theme): Quote "changed" custom var entry.
23879
23880 2011-03-21 Leo Liu <sdl.web@gmail.com>
23881
23882 * ido.el (ido-read-internal): Add ido-selected to history instead
23883 of user input.
23884
23885 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
23886
23887 * subr.el (deferred-action-list, deferred-action-function):
23888 Mark obsolete.
23889
23890 2011-03-21 Leo Liu <sdl.web@gmail.com>
23891
23892 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
23893 change on 2011-02-13 (bug#8309).
23894
23895 * minibuffer.el (read-file-name-function): Change default value.
23896 (read-file-name--defaults): Rename from read-file-name-defaults.
23897 (read-file-name-default): Rename from read-file-name.
23898 (read-file-name): Call read-file-name-function.
23899
23900 2011-03-21 Glenn Morris <rgm@gnu.org>
23901
23902 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
23903 Doc fixes.
23904
23905 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
23906
23907 * cus-theme.el: Add missing provide statement.
23908 (customize-create-theme): Extract theme value correctly.
23909 (custom-theme-visit-theme): Autoload.
23910 (customize-create-theme): Prompt before inserting default faces.
23911
23912 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
23913
23914 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
23915 units and musical notes.
23916
23917 2011-03-20 Leo Liu <sdl.web@gmail.com>
23918
23919 * ido.el (ido-read-internal): Use completing-read-default.
23920 (ido-completing-read): Fix compatibility with completing-read.
23921
23922 2011-03-20 Christian Ohler <ohler@gnu.org>
23923
23924 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
23925 (ert-delete-all-tests): Use `called-interactively-p' rather than
23926 `interactive-p'.
23927 (ert--make-xrefs-region): Respect END.
23928
23929 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
23930
23931 * dired-aux.el (dired-create-directory): Signal an error if the
23932 directory already exists (Bug#8246).
23933
23934 * facemenu.el (list-colors-display): Call list-faces-display
23935 inside with-help-window.
23936 (list-colors-print): Use display property to align the final
23937 column, instead of checking window-width.
23938
23939 2011-03-19 Eli Zaretskii <eliz@gnu.org>
23940
23941 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
23942 windows-nt systems.
23943 (emerge-protect-metachars): Quote correctly for ms-dos and
23944 windows-nt systems.
23945
23946 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
23947
23948 * info.el (info-initialize): Replace all uses of `:' with
23949 path-separator for compatibility with non-Unix systems.
23950 Cache quoting of path-separator. (Bug#8258)
23951
23952 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
23953
23954 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
23955 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
23956 (mouse-avoidance-mode): Fix typos in docstrings.
23957
23958 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
23959
23960 * startup.el (package-subdirectory-regexp): Move from package.el.
23961 Omit \\` and \\', and let callers add them.
23962
23963 * emacs-lisp/package.el (package-strip-version)
23964 (package-load-all-descriptors): Add \\` and \\' to
23965 package-subdirectory-regexp before using it.
23966 (package-untar-buffer): New arg DIR; ensure that file untars only
23967 into this expected directory. Remove superfluous delete-region.
23968 (package-unpack): Caller changed.
23969 (package-tar-file-info): Use package-subdirectory-regexp.
23970
23971 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
23972
23973 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
23974 diff-mode-shared-map (bug#8284).
23975 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
23976
23977 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
23978
23979 * calendar/time-date.el (format-seconds): Use assoc instead of
23980 assoc-string, since assoc-string doesn't exist in XEmacs.
23981
23982 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
23983
23984 * custom.el (custom-known-themes): Reflow docstring.
23985 (custom-theme-load-path): Fix typo in docstring.
23986 (load-theme): Fix typo in error message.
23987 (custom-available-themes, custom-variable-theme-value):
23988 Use `let', not `let*'.
23989
23990 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
23991
23992 * calc/README: Mention inclusion of musical notes.
23993
23994 * calc/calc-units.el (calc-lu-quant): Rename from
23995 `calc-logunits-quantity'.
23996 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
23997 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
23998 (calc-db): Rename from `calc-dblevel'.
23999 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24000 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24001 (calc-np): Rename from `calc-nplevel'.
24002 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24003 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24004 (calc-lu-plus): Rename from `calc-logunits-add'.
24005 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24006 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24007 (calc-lu-minus): Rename from `calc-logunits-sub'.
24008 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24009 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24010 (calc-lu-times): Rename from `calc-logunits-mul'.
24011 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24012 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24013 (calc-lu-divide): Rename from `calc-logunits-div'.
24014 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24015 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24016
24017 * calc/calc-ext.el (calc-init-extensions): Update the names of the
24018 functions being autoloaded.
24019
24020 * calc/calc.el (calc-lu-power-reference): Rename from
24021 `calc-logunits-power-reference'.
24022 (calc-lu-field-reference): Rename from
24023 `calc-logunits-field-reference'.
24024
24025 * calc/calc-help.el (calc-l-prefix-help):
24026 Mention musical note functions.
24027
24028 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
24029
24030 * minibuffer.el (completion-all-sorted-completions):
24031 Use :completion-cycle-penalty text property if present.
24032
24033 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24034
24035 * allout.el (allout-yank-processing): Adjust for new rebulleting
24036 regime so bullet being yanked is used without prompting the user
24037 for a choice.
24038
24039 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24040
24041 * startup.el (command-line): Warn the user that _emacs is deprecated.
24042
24043 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24044
24045 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24046 (delphi-verbose, delphi-comment-face, delphi-string-face)
24047 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24048 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24049 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24050 (delphi-new-comment-line, delphi-font-lock-defaults)
24051 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24052 Fix typos in docstrings.
24053
24054 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24055
24056 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
24057 Invert the roles of character and string values for INSTEAD, so a
24058 string is used for the more common case of a defaulting prompt.
24059
24060 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24061
24062 * progmodes/ruby-mode.el (ruby-backward-sexp):
24063 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24064 * play/gamegrid.el (gamegrid-make-face):
24065 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24066 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24067 * notifications.el (notifications-notify):
24068 * net/xesam.el (xesam-search-engines):
24069 * net/quickurl.el (quickurl-list-insert):
24070 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24071
24072 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
24073
24074 * startup.el (command-line): Update package subdirectory regexp.
24075
24076 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24077
24078 * allout.el (allout-abbreviate-flattened-numbering)
24079 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24080
24081 * subr.el (read-char-choice): Only show the cursor after the prompt,
24082 not after the answer.
24083
24084 2011-03-15 Kevin Ryde <user42@zip.com.au>
24085
24086 * help-fns.el (variable-at-point): Skip leading quotes, if any
24087 (bug#8253).
24088
24089 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24090
24091 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24092 warning message.
24093
24094 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
24095
24096 * shell.el (shell): When called interactively, offer to change the
24097 shell file name on remote hosts.
24098
24099 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24100
24101 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24102 integration for LDAP parameters. The host, base, user or binddn,
24103 and secret tokens can be specified in a netrc file, for instance.
24104 This is optional because an `auth-source' parameter must be
24105 specified in the search attributes.
24106
24107 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
24108
24109 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24110
24111 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24112
24113 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24114 into declaration. Remove redundant and harmful binding.
24115
24116 2011-03-12 Eli Zaretskii <eliz@gnu.org>
24117
24118 * files.el (file-ownership-preserved-p): Pass `integer' as an
24119 explicit 2nd argument to `file-attributes'. If the file's owner
24120 is the Administrators group on Windows, and the current user is
24121 Administrator, consider that a match.
24122
24123 * server.el (server-ensure-safe-dir): Consider server directory
24124 safe on MS-Windows if its owner is the Administrators group while
24125 the current Emacs user is Administrator. Use `=' to compare
24126 numerical UIDs, since they could be integers or floats.
24127
24128 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
24129
24130 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24131
24132 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
24133
24134 Sync with Tramp 2.2.1.
24135
24136 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24137
24138 * net/trampver.el: Update release number.
24139
24140 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24141
24142 * progmodes/compile.el (compilation--previous-directory): Fix up
24143 various nil/dead-marker mismatches (bug#8014).
24144 (compilation-directory-properties, compilation-error-properties):
24145 Don't call it at a position past the one we're about to change.
24146
24147 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
24148 Disable obsolescence warnings in the file that declares it.
24149
24150 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
24151
24152 * allout-widgets.el (allout-widgets-tally):
24153 Initialize allout-widgets-tally as a hash table rather than nil to
24154 prevent mode-line redisplay warnings. Also, clarify the module
24155 description and fix a comment typo.
24156
24157 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
24158
24159 * help-fns.el (describe-variable): Don't complete keywords.
24160 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
24161
24162 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
24163
24164 * emacs-lisp/package.el (package-version-join): Impose a standard
24165 string representation for pre/alpha/beta version lists.
24166 (package-unpack-single): Standardize the directory name by passing
24167 it through package-version-join.
24168 (package-strip-rcs-id): Accept any version string that does not
24169 signal an error in version-to-list.
24170
24171 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
24172
24173 * simple.el (delete-trailing-whitespace): Return nil for the
24174 benefit of `write-file-functions'.
24175
24176 2011-03-10 Glenn Morris <rgm@gnu.org>
24177
24178 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24179
24180 * vc/vc-git.el (vc-git-program): New option.
24181 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24182 (vc-git--call): Use it.
24183
24184 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24185
24186 * cus-edit.el (Custom-newline): If no button at point, look
24187 for a subgroup button at start-of-line. (Bug#2298)
24188
24189 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24190
24191 2011-03-10 Julien Danjou <julien@danjou.info>
24192
24193 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24194 `cursor-type' is nil.
24195
24196 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24197
24198 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24199
24200 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24201
24202 * allout.el: Change so yank of distinctive-bullet items
24203 preserves the existing header prefix, rebulleting it if necessary,
24204 rather than replacing it. This is necessary for proper operation
24205 of cooperative addons like allout-widgets.
24206 (allout-make-topic-prefix, allout-rebullet-heading):
24207 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24208 value as alternate bullet to be used, instead of prompting the user
24209 for a bullet character.
24210
24211 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
24212
24213 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24214 Do not use `tramp-file-name-port', because this returns also
24215 `tramp-default-port'.
24216
24217 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24218
24219 * net/rcirc.el (rcirc-handler-001): Remove useless
24220 with-rcirc-process-buffer.
24221 (rcirc-check-auth-status): Swap arguments to string-match.
24222
24223 2011-03-09 Glenn Morris <rgm@gnu.org>
24224
24225 * shell.el (shell-mode):
24226 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24227
24228 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24229 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24230
24231 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24232
24233 * emacs-lisp/package.el (package-refresh-contents)
24234 (package-menu-execute): Use condition-case-no-debug.
24235
24236 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
24237
24238 * simple.el (shell-command-to-string): Use `process-file'.
24239
24240 * emacs-lisp/package.el (package-tar-file-info): Handle also
24241 remote files.
24242
24243 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24244 Use `equal' for upload base check.
24245
24246 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24247
24248 * textmodes/texinfo.el (texinfo-environments):
24249 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24250
24251 2011-03-08 Glenn Morris <rgm@gnu.org>
24252
24253 * cus-start.el (cursor-in-non-selected-windows):
24254 Fix :set quoting oddness. (Bug#8192)
24255
24256 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24257 in some setf expressions. (Bug#2159)
24258
24259 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24260
24261 * custom.el (custom-available-themes): Return themes in
24262 alphabetical order.
24263
24264 See ChangeLog.15 for earlier changes.
24265
24266 ;; Local Variables:
24267 ;; coding: utf-8
24268 ;; End:
24269
24270 Copyright (C) 2011-2013 Free Software Foundation, Inc.
24271
24272 This file is part of GNU Emacs.
24273
24274 GNU Emacs is free software: you can redistribute it and/or modify
24275 it under the terms of the GNU General Public License as published by
24276 the Free Software Foundation, either version 3 of the License, or
24277 (at your option) any later version.
24278
24279 GNU Emacs is distributed in the hope that it will be useful,
24280 but WITHOUT ANY WARRANTY; without even the implied warranty of
24281 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24282 GNU General Public License for more details.
24283
24284 You should have received a copy of the GNU General Public License
24285 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.