* lisp/progmodes/which-func.el (which-function): Silence imenu errors.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/which-func.el (which-function): Silence imenu errors
4 (bug#13433).
5
6 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
7
8 * progmodes/sql.el: (sql-imenu-generic-expression):
9 (sql-mode-font-lock-object-name): Match schema qualified names.
10 (sql-connect): Use string keys.
11 (sql-product-interactive): Wait for interpreter prompt.
12 (sql-comint-oracle): Set process coding based on NLS_LANG.
13
14 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
15
16 * progmodes/sql.el (sql-output-to-send): Remove, unused.
17 (sql-interactive-remove-continuation-prompt):
18 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
19
20 2013-01-14 Leo Liu <sdl.web@gmail.com>
21
22 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
23 (Bug#13420)
24
25 2013-01-14 Glenn Morris <rgm@gnu.org>
26
27 * progmodes/compile.el (compilation-error-regexp-alist-alist):
28 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
29
30 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
31
32 * progmodes/python.el (python-nav-end-of-statement):
33 Fix cornercase when handling multiline strings.
34
35 2013-01-13 Richard Stallman <rms@gnu.org>
36
37 * mail/sendmail.el (mail-position-on-field): Add doc string.
38
39 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
40 Get current message boundaries and pass them to
41 message-forward-make-body-mime. Minor style changes.
42
43 2013-01-13 Eli Zaretskii <eliz@gnu.org>
44
45 * cus-start.el (all): Avoid warnings about
46 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
47
48 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
49
50 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
51
52 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
53
54 * jit-lock.el (jit-lock-debug-mode): New minor mode.
55 (jit-lock--debug-fontifying): New var.
56 (jit-lock--debug-fontify): New function.
57 * subr.el (condition-case-unless-debug): Don't prevent catching the
58 error, just let the debbugger run.
59 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
60 timer code and don't drop errors silently.
61
62 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
63
64 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
65 `permanent-local' property.
66 (auto-revert-notify-handler): Use `file-equal-p'.
67
68 2013-01-12 Eli Zaretskii <eliz@gnu.org>
69
70 * autorevert.el (auto-revert-notify-handler): Fix filtering of
71 file notification by ACTION. For filtering by file name, compare
72 only the non-directory part of the file name.
73
74 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
75
76 * autorevert.el: Use cl-lib instead of cl.
77
78 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
79 (vc-bzr-checkin): Use it.
80 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
81 will preserve match-data.
82
83 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
84
85 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
86 (js--declaration-keyword-re): New var.
87 (js--multi-line-declaration-indentation): New function.
88 (js--proper-indentation): Use it.
89
90 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
91
92 * calc/calc.el (calc-highlight-selections-with-faces)
93 (calc-dispatch):
94 * comint.el (comint-history-isearch-message):
95 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
96 * ffap.el (ffap-string-at-point-region, ffap-next)
97 (ffap-string-at-point, ffap-string-around)
98 (ffap-copy-string-as-kill, ffap-highlight-overlay)
99 (ffap-literally):
100 * font-lock.el (font-lock-keywords-alist)
101 (font-lock-removed-keywords-alist):
102 * help-mode.el (help-xref-symbol-regexp):
103 * info.el (Info-find-emacs-command-nodes):
104 * international/mule.el (add-to-coding-system-list):
105 * isearch.el (isearch-message-function, isearch-fail-pos):
106 * misearch.el (multi-isearch-next-buffer-function):
107 * newcomment.el (comment-box):
108 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
109 (pr-setting-database):
110 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
111 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
112 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
113 (pike-font-lock-keywords-3):
114 * progmodes/compile.el (compile):
115 * progmodes/etags.el (tags-table-files)
116 (tags-table-files-function, tags-included-tables-function):
117 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
118 (gdb-restore-windows):
119 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
120 (ps-n-up-filling-database):
121 * server.el (server-buffer, server-log):
122 * simple.el (newline, delete-backward-char, delete-forward-char)
123 (minibuffer-history-isearch-message, kill-line, track-eol)
124 (temporary-goal-column):
125 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
126 (flyspell-default-deplacement-commands):
127 * textmodes/ispell.el (ispell-accept-output):
128 * textmodes/sgml-mode.el (html-tag-help):
129 * vc/compare-w.el (compare-ignore-whitespace)
130 (compare-ignore-case, compare-windows-dehighlight):
131 * vc/diff.el (diff):
132 * whitespace.el (whitespace-point)
133 (whitespace-font-lock-refontify, whitespace-bob-marker)
134 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
135
136 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
137
138 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
139 (auto-revert-notify-rm-watch): Ignore errors.
140 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
141 inotify, and '(size last-write-time) for w32notify.
142 Set buffer-local `auto-revert-use-notify' to nil when adding a file
143 watch fails - this is a fallback to the file modification check.
144 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
145 (auto-revert-notify-event-action)
146 (auto-revert-notify-event-file-name): New defuns.
147 (auto-revert-notify-handler): Use them. Implement first
148 plausibility checks.
149 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
150
151 2013-01-11 Julien Danjou <julien@danjou.info>
152
153 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
154 max are almost equal. Also return the correct value for V which is
155 already between 0 and 1.
156
157 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
158
159 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
160
161 2013-01-11 Eli Zaretskii <eliz@gnu.org>
162
163 * autorevert.el (auto-revert-notify-rm-watch)
164 (auto-revert-notify-add-watch): Fix typos in w32notify function
165 names.
166
167 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
168
169 * autorevert.el (auto-revert-notify-enabled): Move up.
170 (auto-revert-use-notify): New defcustom.
171 (auto-revert-mode, global-auto-revert-mode)
172 (auto-revert-notify-add-watch, auto-revert-handler)
173 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
174 `auto-revert-notify-enabled'.
175
176 2013-01-10 Elias Pipping <pipping@exherbo.org>
177
178 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
179 * doc-view.el (doc-view-document->bitmap):
180 Use doc-view-single-page-converter-function instead of
181 single-page-converter arg; adjust callers.
182
183 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
184
185 * progmodes/which-func.el (which-function): Understand Semantic's use
186 of overlays in imenu--index-alist.
187
188 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
189
190 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
191 (Man-man-k-use-anchor): New var.
192 (Man-parse-man-k): New function.
193 (Man-completion-table): Use it.
194 (man): Flush the completion cache between uses.
195
196 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
197
198 * autorevert.el: Add file watch support.
199 (auto-revert-notify-enabled): New defconst.
200 (auto-revert-notify-watch-descriptor-hash-list)
201 (auto-revert-notify-watch-descriptor)
202 (auto-revert-notify-modified-p): New defvars.
203 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
204 (auto-revert-notify-handler): New defuns.
205 (auto-revert-mode, global-auto-revert-mode): Remove file watches
206 when mode is disabled.
207 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
208 (auto-revert-buffers): Add file watches for active buffers.
209
210 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
211
212 * cus-start.el (toplevel): Only allow float values for
213 scroll-up-aggressively and scroll-down-aggressively.
214 Allow any number for line-spacing.
215
216 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
217
218 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
219 (doc-view-pdf->png-converter-function): Use mupdf if available.
220 (doc-view-djvu->png-converter-function)
221 (doc-view-ps->png-converter-function): Remove.
222 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
223 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
224 (doc-view-already-converted-p): Adjust accordingly.
225 (doc-view-mode-p): Simplify.
226 (doc-view-enlarge): Use setq-local.
227 (doc-view-pdf->png-converter-ghostscript)
228 (doc-view-djvu->png-converter-ddjvu)
229 (doc-view-pdf->png-converter-mupdf): Rework to call
230 doc-view-start-process directly.
231 (doc-view-pdf/ps->png): Simplify accordingly.
232 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
233 (doc-view-document->bitmap): Rename from doc-view-document->png.
234 (doc-view-convert-current-doc): Merge pdf and djvu cases.
235 (doc-view-set-slice-from-bounding-box): Fix completion table.
236 (doc-view-mode): Use add-hook for after-revert-hook.
237
238 2013-01-10 Glenn Morris <rgm@gnu.org>
239
240 * emacs-lisp/authors.el (authors-ignored-files)
241 (authors-valid-file-names, authors-renamed-files-alist):
242 Add some more entries.
243
244 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
245
246 * image-mode.el (image-mode-winprops): Don't throw away the fallback
247 `t' pseudo-window entry.
248
249 2013-01-10 Alan Mackenzie <acm@muc.de>
250
251 Fix bugs in the c-parse-state mechanism. Reuse some markers
252 instead of continually generating new ones.
253
254 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
255 (c-state-old-cpp-end-marker): New variables.
256 (c-append-lower-brace-pair-to-state-cache): Start a backward
257 search for "}" definitively outside CPP constructs.
258 (c-remove-stale-state-cache): Inform the caller of a need to
259 search back for a brace pair in certain circumstances.
260 (c-state-maybe-marker): New macro.
261 (c-parse-state): Reuse markers when appropriate.
262
263 2013-01-10 Glenn Morris <rgm@gnu.org>
264
265 * simple.el (execute-extended-command): Doc fix.
266 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
267
268 2013-01-10 Chong Yidong <cyd@gnu.org>
269
270 * faces.el (read-face-name): Doc fix.
271
272 2013-01-10 Roland Winkler <winkler@gnu.org>
273
274 * emacs-lisp/crm.el: Allow any regexp for separators.
275 (crm-default-separator): All spaces around the default comma separator.
276 (crm--completion-command): New macro.
277 (crm-completion-help, crm-complete, crm-complete-word): Use it.
278 (crm-complete-and-exit): Handle non-single-char separators.
279
280 2013-01-09 Elias Pipping <pipping@lavabit.com>
281
282 * doc-view.el: Add support for DjVu (bug#13164).
283 (doc-view-djvu->png-converter-function): New config var.
284 (doc-view-single-page-converter-function, doc-view--image-type)
285 (doc-view--image-file-extension): New vars.
286 (doc-view-mode): Initialize them.
287 (doc-view-goto-page): Use them.
288 (doc-view-mode-p): Add support for ddjvu.
289 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
290 (doc-view-set-up-single-converter): New funs.
291 (doc-view-pdf/ps->png): Extend for djvu.
292 (doc-view-document->png): Rename from doc-view-pdf->png.
293 (doc-view-convert-current-doc): Handle djvu.
294 (doc-view-insert-image, doc-view-display)
295 (doc-view-already-converted-p): Don't hardcode png.
296 (doc-view-set-doc-type): Recognize djvu docs.
297
298 2013-01-09 Elias Pipping <pipping@lavabit.com>
299
300 * doc-view.el: Add support for mupdf converter (bug#13164).
301 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
302 (doc-view-ps->png-converter-function): New config vars.
303 (doc-view-pdf->png-converter-ghostscript)
304 (doc-view-ps->png-converter-ghostscript)
305 (doc-view-pdf->png-converter-mupdf): New functions.
306 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
307
308 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
309
310 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
311 first in session cache: When `tramp-own-remote-path' is in
312 `tramp-remote-path', the remote path is only set in the session
313 cache.
314
315 2013-01-09 Glenn Morris <rgm@gnu.org>
316
317 * emacs-lisp/trace.el (trace-function-foreground)
318 (trace-function-background): Doc fix.
319
320 2013-01-09 Juri Linkov <juri@jurta.org>
321
322 * international/mule-cmds.el (read-char-by-name): Move let-binding
323 of completion-ignore-case around completing-read to fix regression
324 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
325 `string-match-p' using the nil value of `case-fold-search' and
326 `completion-ignore-case' in `completion-pcm--all-completions'.
327 (Bug#12615).
328
329 2013-01-09 Glenn Morris <rgm@gnu.org>
330
331 * progmodes/compile.el (compilation-parse-errors):
332 Fix typo. (Bug#13369)
333
334 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
335
336 * comint.el (comint-send-input): Check size of buffer before
337 waiting for process output, in case already accepted. (Bug#13290)
338
339 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
340
341 Spelling fixes.
342 * net/tramp-adb.el (tramp-adb-get-toolbox):
343 Fix misspelling of 'unknown'.
344
345 2013-01-08 Juri Linkov <juri@jurta.org>
346
347 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
348 * progmodes/flymake.el (flymake-errline, flymake-warnline):
349 Use underline style wave on terminals that support it. (Bug#13000)
350
351 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
352
353 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
354 the predicate returns nil.
355
356 * simple.el: Use lexical-binding.
357 (primitive-undo): Use pcase.
358 (minibuffer-history-isearch-push-state): Use a closure.
359
360 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
361
362 * simple.el (primitive-undo): Move from undo.c.
363
364 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
365
366 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
367 (cvs-mode-remove-handled): Use it (bug#13380).
368
369 * emacs-lisp/nadvice.el (advice--tweak): New function.
370 (advice--remove-function, advice--subst-main): Use it.
371
372 * emacs-lisp/advice.el: Update commentary.
373
374 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
375
376 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
377 Remove spurious entry.
378
379 2013-01-08 Glenn Morris <rgm@gnu.org>
380
381 * net/tramp.el (tramp-default-host-alist): Add :version.
382
383 2013-01-08 Juri Linkov <juri@jurta.org>
384
385 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
386 single completion. (Bug#12456)
387 (info--manual-names): Expand node completions into an explicit list
388 before appending it to another list. Filter out internal buffers
389 with the leading space in the buffer name. (Bug#10771)
390
391 2013-01-08 Juri Linkov <juri@jurta.org>
392
393 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
394 that defaults to the Top node.
395 (Info-goto-node, Info-read-node-name): Doc fix to mention that
396 the short format (FILENAME) goes to the Top node.
397 (Info-build-node-completions): Rename arg `file' to `filename'.
398 (Bug#13365)
399
400 2013-01-07 Bastien Guerry <bzg@gnu.org>
401
402 * menu-bar.el (menu-bar-search-documentation-menu):
403 Use `apropos-user-option' and fix the help message.
404
405 2013-01-07 Bastien Guerry <bzg@gnu.org>
406
407 * apropos.el (apropos-do-all): Update docstring.
408 (apropos-user-option-button): New face.
409 (apropos-user-option): Rename from `apropos-variable' and update
410 docstring.
411 (apropos-variable): Rewrite, now show all variables by default.
412 (apropos-print): Mention "User option" instead of "Variable" when
413 printing doc for user options. (Bug#13276)
414
415 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
416
417 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
418 Handle filename correctly, when parsing "source -> target" symlink
419 output.
420 (tramp-adb-handle-set-file-times): New defun.
421
422 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
423
424 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
425 advice list when the interactive-spec of ad-Advice-* changes.
426
427 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
428
429 * wid-edit.el (widget-default-get): Work for inlined elements.
430 (Bug#12670)
431
432 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
433
434 * net/tramp.el (tramp-default-host-alist): New defcustom.
435 (tramp-find-host): Use it.
436 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
437 `eshell-directory-change-hook'.
438
439 * net/tramp-adb.el (top): Add adb specific entry in
440 `tramp-default-host-alist'.
441 (tramp-adb-file-name-host): Remove function.
442 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
443 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
444
445 * net/tramp-sh.el: Move eshell integration code to tramp.el.
446
447 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
448
449 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
450
451 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
452
453 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
454 consist of more than one digit.
455 (tramp-adb-file-name-handler-alist):
456 Use `tramp-handle-file-exists-p' consistently.
457 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
458 (tramp-adb-handle-file-exists-p): Remove function.
459 (tramp-adb-file-name-host): New defun.
460 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
461 Use it.
462 (tramp-adb-maybe-open-connection): Set "remote-path" property.
463
464 2013-01-06 Chong Yidong <cyd@gnu.org>
465
466 * vc/vc.el (vc-next-action): Detect buffer modifications
467 conflicting with locking VCS operation (Bug#11490).
468
469 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
470
471 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
472
473 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
474 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
475
476 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
477
478 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
479 parsing of ls output using regular expression (handle filenames
480 with spaces). Use virtual device number.
481 (tramp-do-parse-file-attributes-with-ls): New defun (Code
482 cleanup).
483
484 2013-01-04 Daiki Ueno <ueno@gnu.org>
485
486 * epg.el: Silence byte-compiler warnings.
487 (epg--start): Use delete-char instead of delete-backward-char.
488 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
489
490 2013-01-04 Daiki Ueno <ueno@gnu.org>
491
492 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
493 Suggested by Eli Zaretskii <eliz@gnu.org>.
494
495 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
496
497 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
498 non-negative integers. Otherwise, the default values are used.
499 (tramp-convert-file-attributes): Convert uid and gid to integers.
500
501 2013-01-04 Glenn Morris <rgm@gnu.org>
502
503 * term.el (term-handle-colors-array): Ensure face attributes
504 are fully specified, not nil. (Bug#13337)
505
506 * term.el (term-default-fg-color, term-default-bg-color):
507 Fix custom type.
508
509 * progmodes/etags.el (tags-compression-info-list): Doc fix.
510 (tag-find-file-of-tag-noselect): Check auto-compression-mode
511 rather than 'jka-compr being loaded. (Bug#13338)
512
513 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
514
515 * icomplete.el (icomplete-completions):
516 Honor icomplete-prospects-height once more following
517 2012-11-29 changes. (Bug#13224)
518
519 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
520
521 * subr.el (internal--called-interactively-p--get-frame): Find aliases
522 of called-interactively-p as well (bug#13237).
523
524 * view.el (view--enable, view--disable): Rename from view-mode-enable
525 and view-mode-disable and assume it's called from view-mode.
526 (view-mode-enable, view-mode-disable): Redefine as obsolete
527 compatibility layer above view-mode.
528 (view-mode-enter): Call `view-mode'.
529
530 * files.el (after-find-file): Call `view-mode'.
531
532 * doc-view.el (doc-view-scale-internally): New var.
533 (doc-view-enlarge, doc-view-insert-image): Obey it.
534
535 2013-01-03 Daiki Ueno <ueno@gnu.org>
536
537 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
538 exist. (Bug#13344)
539
540 2013-01-03 Glenn Morris <rgm@gnu.org>
541
542 * mail/rmail.el (rmail-set-header-1): Ignore case.
543 Handle multi-line headers. (Bug#13330)
544
545 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
546 Handle paragraph starting at beginning of buffer.
547
548 * subr.el (eval-after-load): Don't purecopy the form, so that it
549 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
550
551 * emacs-lisp/byte-run.el (defun): Place cl declarations
552 after any interactive spec. (Bug#13265)
553
554 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
555
556 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
557 defun. Don't check for DECL if DOCSTRING isn't a string.
558 (defun): Likewise.
559
560 2013-01-02 Glenn Morris <rgm@gnu.org>
561
562 * eshell/em-cmpl.el (eshell-pcomplete):
563 More thoroughly imitate pcomplete. (Bug#13293)
564
565 * files.el (parse-colon-path): Doc fix. (Bug#12351)
566 Return nil for empty path elements. (Bug#13296)
567
568 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
569
570 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
571 order to improve efficiency (Based on Daniel Colascione's
572 <dancol@dancol.org> patch). (Bug#13182)
573
574 2013-01-02 Glenn Morris <rgm@gnu.org>
575
576 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
577
578 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
579
580 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
581 neither DOCSTRING nor DECL was given. (Bug#13316)
582
583 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
584
585 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
586 `error' call.
587 (tramp-do-copy-or-rename-file): Ignore errors when calling
588 `set-file-extended-attributes'.
589
590 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
591 Add handler for `file-acl'.
592 (tramp-smb-handle-file-acl): New defun.
593
594 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
595
596 * calc/README: Mention ISO 8601 week-numbering dates.
597
598 2013-01-01 Martin Rudalics <rudalics@gmx.at>
599
600 * view.el (view-mode-enable): New argument run-view-mode-hook.
601 Run view-mode-hook only when it's non-nil (Bug#13315).
602 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
603 argument t.
604
605 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
606
607 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
608 (No device connected, invalid device name). (Bug #13299)
609
610 2012-12-31 Martin Rudalics <rudalics@gmx.at>
611
612 * window.el (window-resizable--p): Rename to window-resizable-p.
613 (window-resize-no-error): New function.
614
615 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
616 broken in fix from 2012-12-28.
617
618 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
619
620 * subr.el (special-form-p): Don't signal errors on undef aliases.
621
622 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
623
624 * calc/calc-forms.el (math-parse-date): Try using
625 `math-parse-iso-date' when it looks like it might be needed.
626 Allow times of 24:00.
627 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
628 of 24:00.
629
630 2012-12-30 Glenn Morris <rgm@gnu.org>
631
632 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
633 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
634 (rmail-summary-displayed, rmail-summary): Declare.
635 (mairix-rmail-display): Just require rmail.
636
637 2012-12-30 Chong Yidong <cyd@gnu.org>
638
639 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
640 check for the tarball contents.
641
642 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
643
644 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
645 tarfile content listings (Bug#13136).
646
647 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
648
649 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
650 Insert the undecoded text of the message being forwarded. (Bug#9521)
651
652 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
653
654 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
655 integers, if they are real numbers. (Bug#13282)
656
657 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
658 Return `t' on success.
659
660 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
661 Add handler for `set-file-selinux-context'.
662
663 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
664
665 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
666 (tramp-sh-handle-set-file-acl): Return `t' on success.
667
668 2012-12-29 Eli Zaretskii <eliz@gnu.org>
669
670 * files.el (backup-buffer-copy, basic-save-buffer-2):
671 If set-file-extended-attributes fails, fall back on set-file-modes
672 instead of signaling an error. (Bug#13298)
673 (basic-save-buffer): Likewise.
674
675 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
676
677 * progmodes/python.el: Support other commands triggering
678 python-indent-line so indentation cycling continues to work.
679 (python-indent-trigger-commands): New defcustom.
680 (python-indent-line): Use it.
681
682 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
683
684 * progmodes/python.el (python-shell-send-region): Add blank lines
685 for non sent code so backtraces remain correct.
686
687 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
688
689 * progmodes/python.el: Remove cl dependency.
690 (python-syntax-count-quotes): Replace incf call.
691 (python-fill-string): Replace setf call.
692
693 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
694
695 * info.el (info-other-window): New arg, for consistency with info.
696
697 2012-12-28 Martin Rudalics <rudalics@gmx.at>
698
699 * mail/rmail.el (rmail-maybe-display-summary):
700 Rewrite (Bug#13066).
701
702 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
703
704 * epg.el (epg--start): Modify process-environment locally.
705
706 2012-12-28 Daiki Ueno <ueno@gnu.org>
707
708 * epg.el: Support pinentry-curses.
709 Suggested by Werner Koch in
710 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
711 (epg-agent-file, epg-agent-mtime): New variable.
712 (epg--start): Record the modified time of gpg-agent socket file,
713 to restore Emacs frame after pinentry-curses termination.
714 (epg-wait-for-completion): Restore Emacs frame here.
715
716 2012-12-27 Juri Linkov <juri@jurta.org>
717
718 * info.el (Info-file-completions): New variable.
719 (Info-read-node-name-1): Complete node names in the Info file
720 when a file name is given. Call `Info-build-node-completions'
721 with a file name.
722 (Info-build-node-completions): Add new arg `file'. When it is
723 non-nil, visit it in a temporary buffer and cache its completions in
724 `Info-current-file-completions'. Move most of the function body to
725 `Info-build-node-completions-1'.
726 (Info-build-node-completions-1): New function with the body from
727 `Info-build-node-completions'. (Bug#12456)
728
729 2012-12-27 Juri Linkov <juri@jurta.org>
730
731 * frame.el (frame-maximization-style): Remove user option.
732 (cycle-frame-maximized): Remove function.
733 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
734 (toggle-frame-fullscreen): New command bound to <f11> instead of
735 `toggle-frame-maximized'.
736 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
737
738 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
739
740 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
741
742 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
743 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
744 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
745 for `file-accessible-directory-p'. (Bug#13275)
746
747 2012-12-27 Sam Steingold <sds@gnu.org>
748
749 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
750 continuations, see <http://stackoverflow.com/questions/3582436>.
751
752 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
753
754 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
755 "module" and "def" to have indentation before them.
756 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
757
758 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
759
760 2012-12-27 Alan Mackenzie <acm@muc.de>
761
762 Speed up fontification where there's large brace blocks.
763 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
764 to a call of c-beginning-of-decl-1.
765
766 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
767
768 * comint.el (comint-adjust-window-point): New function.
769 (comint-postoutput-scroll-to-bottom):
770 Call comint-adjust-window-point (Bug#13248).
771
772 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
773
774 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
775 Rakefile regexp.
776 (auto-mode-alist): Associate .gemspec files with ruby-mode
777 (https://bugs.ruby-lang.org/issues/5453).
778
779 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
780
781 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
782 Suppress coloring, if possible (required for BusyBox based systems like
783 CyanogenMod).
784 (tramp-adb-handle-file-attributes)
785 (tramp-adb-handle-insert-directory)
786 (tramp-adb-handle-file-name-all-completions): Use it.
787 (tramp-adb-get-toolbox): New defun. Check for remote shell
788 implementation (BusyBox or Toolbox).
789
790 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
791
792 * startup.el (initial-buffer-choice): Allow function as value
793 (Bug#13251).
794 (command-line-1): Handle case where initial-buffer-choice
795 specifies a function.
796 * server.el (server-execute): Handle case where
797 initial-buffer-choice specifies a function.
798
799 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
800
801 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
802 its own function.
803 (smtpmail-try-auth-methods): Forget the user name/password if the
804 login is unsuccessful (bug#12424).
805
806 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
807
808 * notifications.el (notifications-notify): Protect body with
809 `with-demoted-errors'.
810
811 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
812 Check properties of remote device. Restart connection, if there is a
813 change.
814
815 2012-12-21 Chong Yidong <cyd@gnu.org>
816
817 * sort.el (sort-subr): Doc fix (Bug#13056).
818
819 2012-12-21 Bastien Guerry <bzg@gnu.org>
820
821 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
822
823 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
824
825 * simple.el (process-file): Overwrite stderr file, if exists.
826
827 2012-12-21 Daiki Ueno <ueno@gnu.org>
828
829 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
830 (epg-error): Set `error-message' property.
831
832 2012-12-21 Chong Yidong <cyd@gnu.org>
833
834 * international/mule-cmds.el (read-char-by-name): Signal an error
835 if the user does not supply a valid character (Bug#13177).
836
837 * simple.el (transpose-subr-1): Preserve marker positions by
838 changing the insertion sequence (Bug#13122).
839
840 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
841
842 * simple.el (kill-region): Deactivate mark even for empty regions
843 (Bug#13169).
844
845 2012-12-21 Chong Yidong <cyd@gnu.org>
846
847 * help-fns.el (describe-variable): Make sure we get the right
848 buffer name (Bug#13105). Suggested by Kelly Dean.
849
850 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
851
852 * comint.el (comint-redirect-previous-input-string): New variable.
853 (comint-redirect-setup, comint-redirect-cleanup)
854 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
855 (comint-redirect-preoutput-filter): Fix verbose message.
856
857 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
858
859 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
860 is too long for Tramp. See discussion in
861 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
862
863 * progmodes/compile.el (compilation-start): Remove line escape
864 template.
865
866 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
867
868 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
869 Adjust comment.
870
871 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
872
873 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
874 following non-comment text (bug#13207).
875 (lm-header-multiline): Continuation lines need to be indented more than
876 the first line.
877 (lm-homepage): New function.
878 (lm-with-file): Don't be confused if narrowing is in effect.
879
880 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
881
882 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
883 very beginning of a hunk (e.g. killing the first line).
884
885 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
886
887 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
888 and text properties from returned ACL string.
889 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
890 for "setfacl" command.
891
892 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
893
894 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
895 `tramp-cleanup-this-connection', when the process has died.
896 (Bug#13151)
897
898 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
899
900 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
901
902 2012-12-17 Kevin Ryde <user42@zip.com.au>
903
904 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
905
906 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
907
908 Add support for preserving ACL entries of files.
909
910 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
911 `set-file-acl' handlers.
912
913 * net/tramp-adb.el (tramp-adb-handle-copy-file):
914 Handle PRESERVE-EXTENDED-ATTRIBUTES.
915
916 * net/tramp-compat.el (tramp-compat-copy-file):
917 Handle PRESERVE-EXTENDED-ATTRIBUTES.
918
919 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
920 Add `file-acl' and `set-file-acl' handlers.
921 (tramp-gvfs-handle-copy-file):
922 Handle PRESERVE-EXTENDED-ATTRIBUTES.
923 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
924 New defuns.
925
926 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
927 Add `file-acl' and `set-file-acl' handlers.
928 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
929 (tramp-sh-handle-set-file-acl): New defuns.
930 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
931 Handle PRESERVE-EXTENDED-ATTRIBUTES.
932
933 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
934 Add `file-acl' and `set-file-acl' handlers.
935 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
936
937 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
938
939 * help-macro.el (make-help-screen): Instead of switch-to-buffer
940 use pop-to-buffer with NORECORD argument t. As buffer name, use
941 *Metahelp* with a leading space (Bug#13190).
942
943 2012-12-16 Romain Francoise <romain@orebokech.com>
944
945 * files.el (file-extended-attributes)
946 (set-file-extended-attributes): New functions.
947 (backup-buffer): Use them to handle both SELinux context and ACL
948 entries.
949 (backup-buffer-copy): Work with an alist of extended attributes,
950 rather than an SELinux context.
951 (basic-save-buffer-2): Ditto.
952
953 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
954
955 * battery.el (battery-bsd-apm): New function.
956
957 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
958
959 * calc/calc.el (calc-standard-date-formats): Adjust one of the
960 standard date formats.
961
962 2012-12-15 Juri Linkov <juri@jurta.org>
963
964 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
965 `isearch-insert-char-by-name'.
966 (with-isearch-suspended): New defmacro with body mostly from
967 `isearch-edit-string' except the part that sets
968 `isearch-new-string' and `isearch-new-message'.
969 (isearch-edit-string): Use new macro `with-isearch-suspended' with
970 body that sets `isearch-new-string' and `isearch-new-message'.
971 (isearch-insert-char-by-name): New command.
972 * international/mule-cmds.el (read-char-by-name): Let-bind
973 `enable-recursive-minibuffers' to t.
974 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
975
976 2012-12-15 Juri Linkov <juri@jurta.org>
977
978 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
979 (Bug#13175)
980
981 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
982
983 * dired-x.el (dired-guess-shell-command): Put colon at the end of
984 the prompt. (Bug#13045)
985
986 2012-12-14 Glenn Morris <rgm@gnu.org>
987
988 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
989 Try to include filename in non-bytecomp warning. (Bug#13132)
990
991 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
992
993 Fix permissions bugs with setgid directories etc. (Bug#13125)
994 * files.el (backup-buffer): Don't rely on 9th output of
995 file-attributes, as it's now a placeholder. Instead, use the new
996 optional arg of file-ownership-preserved-p.
997 (file-ownership-preserved-p): New optional arg GROUP.
998 Fix mishandling of setuid directories that would cause this
999 function to return t when it should have returned nil.
1000 Document what happens if the file does not exist, and when
1001 it's not known whether the ownership will be preserved.
1002 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
1003 Likewise.
1004 (tramp-get-local-gid): Use group-gid for integer, as that's
1005 faster and more reliable.
1006
1007 2012-12-14 Julien Danjou <julien@danjou.info>
1008
1009 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
1010 Update keywords list, data type and PL/pgSQL.
1011
1012 2012-12-14 Dave Abrahams <dave@boostpro.com>
1013
1014 * vc/ediff-util.el (ediff-buffer-type): New function.
1015 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
1016 rather than taking it as as argument.
1017 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
1018
1019 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
1020
1021 * json.el: Add pretty-print option (bug#12634).
1022 (json-encoding-separator, json-encoding-default-indentation)
1023 (json--encoding-current-indentation, json-encoding-pretty-print)
1024 (json-encoding-lisp-style-closings): New vars.
1025 (json--with-indentation): New macro.
1026 (json-encode-hash-table, json-encode-alist, json-encode-plist)
1027 (json-encode-array): Use it to obey json-encoding-pretty-print.
1028 (json-pretty-print-buffer, json-pretty-print): New commands.
1029
1030 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
1031
1032 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1033 Extract `ruby-syntax-propertize-expansions'.
1034 (ruby-syntax-propertize-expansions): Only change syntax on
1035 certain string delimiters, to punctuation. This way the common
1036 functions like forward-word and thing-at-point still work.
1037 (ruby-match-expression-expansion): Improve readability.
1038 (ruby-block-contains-point): New function.
1039 (ruby-add-log-current-method): Handle several edge cases.
1040
1041 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
1042
1043 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
1044 unload-feature finishes even when aborting an ongoing edebug session.
1045 Also, do not worry about edebug-mode, unload-feature takes care of it.
1046
1047 2012-12-13 Andreas Schwab <schwab@suse.de>
1048
1049 * net/tls.el (tls-program): Update customize type.
1050
1051 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
1052
1053 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
1054 (edebug-setup-hook, cl-read-load-hooks): Use it.
1055 (edebug-unload-function): New function. (Bug#13163)
1056
1057 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
1058
1059 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
1060 Otherwise, there could be errors in autoloading. (Bug#13151)
1061
1062 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
1063
1064 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
1065 sequences.
1066
1067 2012-12-13 Alan Mackenzie <acm@muc.de>
1068
1069 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
1070 * progmodes/cc-engine.el (c-backward-comments): Add code to work
1071 around `forward-comment' not recognizing ^M as whitespace.
1072
1073 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
1074
1075 * progmodes/python.el (python-skeleton-class)
1076 (python-skeleton-def): Do not add space after defun name.
1077
1078 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1079
1080 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
1081 (cl--symbol-function): Remove (now that funbound is like nil).
1082
1083 2012-12-12 Glenn Morris <rgm@gnu.org>
1084
1085 * button.el (button--area-button-p): Fix typo.
1086
1087 2012-12-12 Sam Steingold <sds@gnu.org>
1088
1089 * frame.el (frame-maximization-style): New user option.
1090 (toggle-frame-maximized): Toggle frame maximization according to
1091 `frame-maximization-style', bound to <f11>.
1092 (cycle-frame-maximized): Cycle between all maximization styles and
1093 non-maximized frame, bound to shift-<f11>.
1094
1095 2012-12-12 David Cadé <codename68@gmail.com>
1096
1097 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
1098
1099 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
1100
1101 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
1102 (eieio-override-prin1): Don't quote kewords and booleans.
1103 (object-write) <eieio-default-superclass>: Don't put closing parens
1104 on new line, avoid needless empty lines, align values that are objects
1105 with the slot keyword (instead of beginning on the same line).
1106 (eieio-list-prin1): Align value with slot keyword; increase
1107 eieio-print-depth before printing members of the list.
1108
1109 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1110
1111 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
1112 a display text-property.
1113 (report-emacs-bug-hook): Don't bother deleting it any more.
1114
1115 * hilit-chg.el (highlight-save-buffer-state): Delete.
1116 Use with-silent-modifications instead.
1117 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
1118
1119 * button.el: Handle buttons in display text-properties.
1120 (button--area-button-p, button--area-button-string):
1121 Use (STRING . STRING-POS) representation instead of just STRING.
1122
1123 2012-12-11 Eli Zaretskii <eliz@gnu.org>
1124
1125 * makefile.w32-in (compile4-SH): Fix a typo that caused term
1126 subdirectory be skipped.
1127
1128 2012-12-11 Glenn Morris <rgm@gnu.org>
1129
1130 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
1131
1132 * progmodes/f90.el (f90-line-continued, f90-indent-region):
1133 Treat preprocessor lines embedded in continuations like comments.
1134 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
1135
1136 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
1137
1138 * calc/calc.el (calc-standard-date-formats): Add more date
1139 formats.
1140 * calc/calc-forms.el (math-parse-iso-date): New function.
1141 (math-parse-date): Use `math-parse-iso-date' when appropriate.
1142 (math-parse-iso-date-validate): Add extra error checking.
1143 (calc-date-notation): Add ability to access new date formats.
1144
1145 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1146
1147 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
1148 font-lock as well as when there's no text-property.
1149
1150 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
1151
1152 * hi-lock.el: Refine the choice of default face.
1153 (hi-lock-keyword->face): New function. Use it wherever we used
1154 cadadadr instead.
1155 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
1156 (hi-lock--last-face): Remove var.
1157 (hi-lock--unused-faces): New var to replace it.
1158 (hi-lock-read-face-name): Use/maintain it.
1159 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
1160 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
1161 if it has another face.
1162
1163 2012-12-10 Eli Zaretskii <eliz@gnu.org>
1164
1165 * subr.el (w32notify-handle-event): New function.
1166 (inotify-handle-event): Doc fix.
1167
1168 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1169
1170 * subr.el (inotify-event-p, inotify-handle-event): New functions.
1171
1172 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
1173
1174 * simple.el (just-one-space): Doc fix.
1175
1176 2012-12-10 Eli Zaretskii <eliz@gnu.org>
1177
1178 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
1179
1180 2012-12-10 Le Wang <l26wang@gmail.com>
1181
1182 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
1183 narrowed buffer (bug#12361).
1184
1185 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
1186
1187 * vc/vc-hooks.el (vc-state): Doc fix.
1188
1189 2012-12-10 Glenn Morris <rgm@gnu.org>
1190
1191 * mail/rmail.el (rmail-maybe-display-summary):
1192 Preserve buffer, in case select-window changes it. (Bug#13066)
1193
1194 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1195
1196 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
1197 cl-load-hook where they belong.
1198
1199 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1200
1201 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
1202
1203 2012-12-09 Eli Zaretskii <eliz@gnu.org>
1204
1205 Parallelize byte compilation on MS-Windows.
1206 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
1207 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
1208 (WINS_BASIC): Define as concatenation of the above.
1209 (compile): Subdivide into 4 separate and independent jobs that can
1210 be run in parallel.
1211 (compile0-CMD, compile0-SH): New targets for compiling
1212 COMPILE_FIRST files, which are prerequisites for the rest of the
1213 byte-compilation.
1214 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
1215 New targets for parallel compilation with cmd.exe.
1216 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
1217 compiling under a Unixy shell.
1218
1219 2012-12-09 Chong Yidong <cyd@gnu.org>
1220
1221 * simple.el (set-mark-default-inactive): Delete this
1222 accidentally-introduced option.
1223 (set-mark-command, exchange-point-and-mark): Remove calls.
1224
1225 2012-12-09 Glenn Morris <rgm@gnu.org>
1226
1227 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
1228 Respect a defcustom's :set function, if appropriate. (Bug#109)
1229 (eval-defun): Doc fix.
1230
1231 2012-12-08 Juri Linkov <juri@jurta.org>
1232
1233 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
1234 (Info-fontify-node, Info-bookmark-make-record): Remove the
1235 file extension from Info-current-file (Bug#13016).
1236
1237 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1238
1239 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
1240 point, still provide some default.
1241 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
1242 names, since we don't use it right now. Actually return the list.
1243 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
1244
1245 2012-12-07 Chong Yidong <cyd@gnu.org>
1246
1247 * novice.el (disabled-command-function): Remove a spurious help
1248 xref (Bug#13043). Suggested by Kelly Dean.
1249
1250 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
1251 syntax is specified (Bug#13025).
1252
1253 * info.el (Info-set-mode-line): Remove the file extension from
1254 Info-current-file if there is one (Bug#13016).
1255
1256 2012-12-07 Glenn Morris <rgm@gnu.org>
1257
1258 * mail/rmail.el (rmail-mime-decoded): New permanent local.
1259 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
1260 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
1261 and rmail-mime-decoded. (Bug#9841)
1262
1263 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
1264 (batch-unrmail, unrmail): Doc fixes.
1265 (unrmail): Respect unrmail-mbox-format.
1266 * mail/rmail.el (rmail-mbox-format): New option.
1267 (rmail-show-message-1): Respect rmail-mbox-format.
1268
1269 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1270
1271 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
1272
1273 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1274
1275 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
1276 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
1277 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
1278 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
1279 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
1280 (cl-progv): Don't rely on dynamic scoping to find the body.
1281 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
1282 (cl--proclaims-deferred): Rename from the "cl-" prefix.
1283 (cl-declaim): Use backquotes.
1284 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
1285 Use "cl--" prefix for the object's tag.
1286
1287 * ses.el: Use advice-add/remove.
1288 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
1289 (copy-region-as-kill, yank): Use advice-add.
1290 (ses-unload-function): Use advice-remove.
1291
1292 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
1293
1294 * button.el: Make them work in header-lines (bug#12817).
1295 (button-map): Add bindings for header-line and mode-line use.
1296 (button-get, button-put, button-label): `button' may now be a string.
1297 (button-activate): Don't make it a defsubst.
1298 (button--area-button-p, button--area-button-string): New functions.
1299 (make-text-button): Fix the return value when `beg' was a string.
1300 (push-button): Handle the mode-line case.
1301
1302 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1303
1304 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
1305 (sql-signum): Remove. Use `cl-signum' instead.
1306 (sql-read-passwd): Remove; use read-passwd instread.
1307 (sql-get-login-ext): Use read-string.
1308 (sql-get-login): Use dolist and pcase.
1309 (sql--completion-table): Rename from sql-try-completion.
1310 Use complete-with-action.
1311 (sql-mode): Don't change abbrev-all-caps globally.
1312 (sql-connect): Don't rely on dynamic scoping for `new-name'.
1313 (sql-postgres-completion-object): Initialize vars in their `let'.
1314 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
1315 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
1316 (sql-comint-interbase): Use a single append, without setq.
1317 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
1318
1319 * hi-lock.el: Rework the default face and the serialize regexp code.
1320 (hi-lock--auto-select-face-defaults): Remove.
1321 (hi-lock-string-serialize-serial): Remove.
1322 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
1323 make weak.
1324 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
1325 equal string.
1326 (hi-lock-set-pattern): Adjust accordingly.
1327 (hi-lock--regexps-at-point): Simplify accordingly.
1328 (hi-lock--auto-select-face-defaults): Remove.
1329 (hi-lock--last-face): New var to replace it.
1330 (hi-lock-read-face-name): Rewrite (bug#11095).
1331 (hi-lock-unface-buffer): Arrange for the face to be the next default.
1332
1333 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
1334
1335 * net/tramp.el (tramp-replace-environment-variables):
1336 Hide compiler warning.
1337 (tramp-file-name-for-operation): Remove `executable-find',
1338 `start-process', `call-process' and `call-process-region'.
1339
1340 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
1341
1342 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
1343 compatibility.
1344
1345 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
1346
1347 2012-12-06 Chong Yidong <cyd@gnu.org>
1348
1349 * ffap.el (ffap-replace-file-component): Fix typo.
1350
1351 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1352
1353 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
1354 fix open-paren-like token test (bug#12785).
1355
1356 2012-12-06 Glenn Morris <rgm@gnu.org>
1357
1358 * mail/rmailsum.el (rmail-new-summary): Tweak for
1359 rmail-maybe-display-summary changing buffer. (Bug#13066)
1360
1361 2012-12-06 Juri Linkov <juri@jurta.org>
1362
1363 * info.el (Info-fontify-node): Don't hide the last newline.
1364 (Bug#12272)
1365
1366 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
1367
1368 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
1369 so as to enable message-read-from-minibuffer to expand mail aliases.
1370
1371 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1372
1373 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
1374 the `intangible' property.
1375 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
1376
1377 2012-12-05 Deniz Dogan <deniz@dogan.se>
1378
1379 * net/rcirc.el (rcirc-urls): Update documentation.
1380 (rcirc-condition-filter): New function.
1381 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
1382 and exclude consecutive duplicate URLs (Bug#6082).
1383
1384 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
1385
1386 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1387 Check return code of copy command.
1388
1389 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
1390 Use group `tramp'. Add version.
1391
1392 2012-12-05 Chong Yidong <cyd@gnu.org>
1393
1394 * ffap.el (ffap-url-regexp): Don't require matching at front of
1395 string (Bug#4952).
1396 (ffap-url-p): If only a substring matches, return that.
1397 (ffap-url-at-point): Use the return value of ffap-url-p.
1398 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
1399 (find-file-at-point, dired-at-point, dired-at-point-prompter)
1400 (ffap-guess-file-name-at-point): Likewise.
1401 (ffap-replace-file-component): Fix typo.
1402
1403 * info.el (info-display-manual): Add existing Info buffers, whose
1404 files may not be in Info-directory-list, to the completion.
1405 (info--manual-names): New helper function.
1406
1407 2012-12-05 Glenn Morris <rgm@gnu.org>
1408
1409 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
1410 New functions, for detecting and resolving conflicts. (Bug#10709)
1411
1412 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
1413
1414 * hi-lock.el (hi-lock-auto-select-face): New user variable.
1415 (hi-lock-auto-select-face-defaults): New buffer local variable.
1416 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
1417 (hi-lock-unface-buffer): Prompt user with useful defaults.
1418 With prefix arg, unhighlight all hi-lock patterns in buffer.
1419
1420 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1421
1422 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
1423
1424 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
1425
1426 * Makefile.in (TRAMP_SRC):
1427 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
1428
1429 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
1430
1431 * net/tramp-adb.el: New package.
1432
1433 2012-12-04 Chong Yidong <cyd@gnu.org>
1434
1435 * terminal.el: Move to obsolete/.
1436
1437 * longlines.el: Move to obsolete/.
1438
1439 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
1440 Remove code referring to longlines mode.
1441
1442 2012-12-03 Juri Linkov <juri@jurta.org>
1443
1444 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
1445
1446 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1447
1448 * textmodes/ispell.el (ispell-init-process)
1449 (ispell-start-process, ispell-internal-change-dictionary):
1450 Make sure personal dictionary name is expanded after initial
1451 `default-directory' value. Use expanded strings for
1452 keep/restart checks and for value (Bug#13019).
1453
1454 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1455
1456 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
1457
1458 2012-12-03 Leo Liu <sdl.web@gmail.com>
1459
1460 * files.el (dir-locals-read-from-file): Check file non-empty
1461 before reading. (Bug#13038)
1462
1463 2012-12-03 Glenn Morris <rgm@gnu.org>
1464
1465 * jka-cmpr-hook.el (jka-compr-get-compression-info):
1466 Remove any version extension before checking filename. (Bug#13006)
1467 (jka-compr-compression-info-list): Belated :version bump.
1468
1469 2012-12-03 Chong Yidong <cyd@gnu.org>
1470
1471 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
1472
1473 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
1474 (buffer-menu): Doc fix (Bug#12294).
1475
1476 2012-12-03 Roland Winkler <winkler@gnu.org>
1477
1478 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
1479 of diary-show-all-entries in the diary buffer (Bug#12994).
1480
1481 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
1482
1483 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
1484 "<STDIN>". This is binary safe.
1485
1486 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1487
1488 * calc/calc-forms.el (math-absolute-from-iso-dt)
1489 (math-date-to-iso-dt, math-parse-iso-date-validate)
1490 (math-iso-dt-to-date): New functions.
1491 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
1492 (math-fd-isoweekday): New variables.
1493 (calc-date-notation, math-parse-standard-date, math-format-date)
1494 (math-format-date-part): Add support for more formatting codes.
1495
1496 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
1497
1498 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
1499 current buffer's file name when called interactively (Bug#12488).
1500
1501 2012-12-02 Juri Linkov <juri@jurta.org>
1502
1503 * info.el (info-display-manual): Don't clobber an existing Info
1504 buffer (Bug#10770). Add completion (Bug#10771).
1505
1506 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
1507
1508 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
1509 before using it for comparison (Bug#5297).
1510
1511 2012-12-01 Jari Aalto <jari.aalto@cante.net>
1512
1513 * textmodes/css-mode.el (css-current-defun-name): New function.
1514 (css-mode): Use it.
1515
1516 * textmodes/sgml-mode.el (html-current-defun-name): New function.
1517 (html-mode): Use it.
1518
1519 2012-12-01 Chong Yidong <cyd@gnu.org>
1520
1521 Modularize add-log-current-defun (Bug#2224).
1522 Suggested by Jari Aalto.
1523
1524 * vc/add-log.el (add-log-current-defun-function): Doc fix.
1525 (add-log-current-defun): Move mode-specific code to other files.
1526 (add-log-lisp-like-modes, add-log-c-like-modes)
1527 (add-log-tex-like-modes): Variables deleted.
1528
1529 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
1530 (lisp-mode-variables): Use it.
1531
1532 * progmodes/cc-mode.el (c-common-init):
1533 * progmodes/cperl-mode.el (cperl-mode): Set a value for
1534 add-log-current-defun-function.
1535
1536 * progmodes/m4-mode.el (m4-current-defun-name): New function.
1537 (m4-mode): Use it.
1538
1539 * progmodes/perl-mode.el (perl-current-defun-name): New.
1540 (perl-mode): Use it.
1541
1542 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1543 Use lisp-current-defun-name.
1544
1545 * textmodes/tex-mode.el (tex-current-defun-name): New.
1546 (tex-common-initialization): Use it.
1547
1548 * textmodes/texinfo.el (texinfo-current-defun-name): New.
1549 (texinfo-mode): Use it.
1550
1551 2012-12-01 Chong Yidong <cyd@gnu.org>
1552
1553 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
1554 * progmodes/autoconf.el (autoconf-mode):
1555 * progmodes/js.el (js-mode):
1556 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
1557 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
1558 * progmodes/perl-mode.el (perl-mode):
1559 * progmodes/sh-script.el (sh-mode, sh-set-shell):
1560 * textmodes/css-mode.el (css-mode):
1561 * textmodes/sgml-mode.el (html-mode, sgml-mode)
1562 (sgml-tags-invisible, sgml-guess-indent):
1563 * textmodes/tex-mode.el (tex-common-initialization)
1564 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
1565 (doctex-mode, plain-tex-mode, latex-mode):
1566 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
1567
1568 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
1569
1570 * vc/vc-hg.el (vc-hg-next-revision):
1571 Ensure use of default "tip" output format. (Bug#6968)
1572
1573 2012-12-01 Kim F. Storm <storm@cua.dk>
1574
1575 * startup.el (fancy-startup-tail): Add a clickable link
1576 (Bug#2176).
1577
1578 2012-12-01 Chong Yidong <cyd@gnu.org>
1579
1580 * startup.el (fancy-startup-tail): Improve the message about
1581 auto-save files (Bug#2176).
1582
1583 * files.el (recover-session): Improve the descriptive message, and
1584 use substitute-command-keys.
1585
1586 2012-12-01 Glenn Morris <rgm@gnu.org>
1587
1588 * ido.el (ido-file-internal):
1589 Handle other-window, other-frame for dired. (Bug#13036)
1590
1591 2012-11-30 Glenn Morris <rgm@gnu.org>
1592
1593 * icomplete.el (icomplete-separator): Fix :version.
1594
1595 2012-11-30 Chong Yidong <cyd@gnu.org>
1596
1597 * shell.el (shell): For C-u M-x shell, use an inactive shell
1598 buffer as the default (Bug#1975).
1599 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
1600 (shell-mode): Use them to reapply ansi colorization if Shell mode
1601 is re-enabled.
1602
1603 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
1604
1605 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
1606
1607 2012-11-30 Samuel Bronson <naesten@gmail.com>
1608
1609 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
1610 flag to xargs, for compatibility with BSD xargs (Bug#11703).
1611
1612 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
1613
1614 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
1615 by move-to-column (Bug#3234).
1616
1617 2012-11-30 Chong Yidong <cyd@gnu.org>
1618
1619 * longlines.el (longlines-wrap-line, longlines-encode-region):
1620 Preserve text properties (Bug#1425).
1621
1622 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1623
1624 * vc/vc.el (vc-register): Allow registering a file which is
1625 already registered with a different backend (Bug#10589).
1626
1627 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
1628 Stefan Monnier <monnier@iro.umontreal.ca>
1629
1630 * icomplete.el: Change separator; add ido-style commands.
1631 (icomplete-show-key-bindings): Remove custom var.
1632 (icomplete-get-keys): Remove function.
1633 (icomplete-forward-completions, icomplete-backward-completions):
1634 New commands.
1635 (icomplete-minibuffer-map): New var.
1636 (icomplete-minibuffer-setup): Use it.
1637 (icomplete-exhibit): Don't delay if the list of completions is known.
1638 (icomplete-separator): New custom.
1639 (icomplete-completions): Use it.
1640 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
1641 (minibuffer-force-complete-and-exit): New command.
1642 (minibuffer--complete-and-exit): New function extracted from
1643 minibuffer-complete-and-exit.
1644 (minibuffer-complete-and-exit): Use it.
1645
1646 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
1647 error message when the file doesn't exist (bug#12974).
1648
1649 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1650
1651 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
1652
1653 2012-11-29 Glenn Morris <rgm@gnu.org>
1654
1655 * files.el (hack-dir-local-variables): Warn if try to set
1656 coding via dir-locals, since it doesn't work. (Bug#7169)
1657
1658 Add desktop support for restoring vc-dir buffers. (Bug#10606)
1659 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
1660 Set buffer-local value of desktop-save-buffer.
1661 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
1662 New functions.
1663 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
1664 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
1665
1666 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
1667 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
1668 Doc fix.
1669 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
1670 Doc fixes.
1671
1672 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
1673
1674 * calc/calc-forms.el (calc-date-notation): Fix regexp
1675 used to find time codes. Fix symbol for seconds.
1676
1677 2012-11-27 Glenn Morris <rgm@gnu.org>
1678
1679 * emacs-lisp/derived.el (derived-mode-make-docstring):
1680 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
1681
1682 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1683
1684 * textmodes/table.el (table-insert): Don't use `symbol-name' on
1685 lexically scoped variables (bug#13005).
1686
1687 2012-11-27 Glenn Morris <rgm@gnu.org>
1688
1689 * vc/vc-hooks.el (vc-mistrust-permissions):
1690 Default to t, to avoid data-loss. (Bug#11490)
1691
1692 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
1693
1694 * progmodes/python.el (python-indent-guess-indent-offset):
1695 If indentation is guessed make python-indent-offset buffer-local.
1696
1697 Fix Imenu regression.
1698 * progmodes/python.el (python-nav-beginning-of-defun):
1699 Fix forward movement when statement(s) separates point from defun.
1700 (python-imenu-prev-index-position): New function.
1701
1702 2012-11-27 Eli Zaretskii <eliz@gnu.org>
1703
1704 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
1705
1706 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
1707 Don't set buffer-file-type. Return nil. (Bug#12989)
1708
1709 2012-11-27 Glenn Morris <rgm@gnu.org>
1710
1711 * hippie-exp.el (hippie-expand-try-functions-list):
1712 Re-autoload it. (Bug#12982)
1713
1714 2012-11-27 Eli Zaretskii <eliz@gnu.org>
1715
1716 * descr-text.el (describe-char-padded-string):
1717 Call internal-char-font only on GUI frames. (Bug#11964)
1718
1719 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
1720
1721 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
1722 and obsoletion message.
1723
1724 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1725
1726 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
1727 the constructs to keep outside of the `cl-block' (bug#12977).
1728
1729 2012-11-27 Chong Yidong <cyd@gnu.org>
1730
1731 * mouse.el (mouse-drag-line): Even if the line is not draggable,
1732 keep reading until we get the up-event anyway, in order to process
1733 the up-event for mouse-1-click-follows-link (Bug#12971).
1734
1735 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
1736
1737 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
1738 base function is not yet defined (bug#12965).
1739 (ad-activate-advised-definition): Use ad-compile-function.
1740 (ad-activate): Use cond.
1741
1742 2012-11-25 Leo Liu <sdl.web@gmail.com>
1743
1744 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
1745 (Bug#12979)
1746
1747 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1748
1749 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
1750 reftex-section-info-function in order to be compatible with
1751 Texinfo integration.
1752
1753 * textmodes/reftex.el (reftex-section-pre-regexp)
1754 (reftex-section-post-regexp, reftex-section-info-function):
1755 New variable.
1756 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
1757 reftex-section-post-regexp, and reftex-section-info-function in order
1758 to be compatible with Texinfo integration.
1759
1760 * textmodes/reftex-toc.el (reftex-toc-promote-action):
1761 use reftex-section-pre-regexp variable in order to be compatible with
1762 Texinfo integration.
1763
1764 2012-11-25 Chong Yidong <cyd@gnu.org>
1765
1766 * faces.el: Make face-spec-set more analogous to setq.
1767 (face-spec-set): Change the third arg to specify whether this
1768 function is being called via defface, customize, or a third party.
1769 Set the appropriate symbol properties. Clear the override spec if
1770 setting via Custom. Initialize face if necessary. (Bug#4988)
1771 (face-spec-recalc): Allow theme faces to completely replace the
1772 defface spec, in the same way as custom faces (Bug#8454).
1773
1774 * cus-face.el (custom-declare-face): Move face initialization to
1775 face-spec-set.
1776 (custom-theme-set-faces): Don't initialize the face name here, as
1777 that is now done in face-spec-set.
1778
1779 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
1780 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
1781 Simplify by using the new arg to face-spec-set.
1782
1783 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
1784 reset face-override-spec too, and use custom-declare-face.
1785
1786 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
1787
1788 * term/ns-win.el (ns-initialize-window-system): Move creation of
1789 fontsets here (Bug#11964).
1790
1791 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1792
1793 * ses.el (ses-rename-cell): Correct bug on mode-line update after
1794 cell renaming.
1795
1796 2012-11-24 Chong Yidong <cyd@gnu.org>
1797
1798 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
1799 obsolete.
1800
1801 * custom.el (custom-theme-set-variables): Use a topological sort
1802 for ordering by custom dependencies (Bug#12952).
1803 (custom--sort-vars, custom--sort-vars-1): New functions.
1804
1805 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1806
1807 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
1808 lexical-binding (bug#12938).
1809
1810 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
1811
1812 * image-mode.el (image-transform-check-size): Use assertions only
1813 for images of type imagemagick.
1814
1815 Otherwise no error, image-transform-fit-to-{width,height} is
1816 silently ignored, as before. Doc fix.
1817
1818 2012-11-24 Chong Yidong <cyd@gnu.org>
1819
1820 * faces.el (color-defined-p): Doc fix (Bug#12853).
1821
1822 2012-11-24 Juri Linkov <juri@jurta.org>
1823
1824 * dired.el (dired-mark): Add optional arg `interactive'.
1825 Check for `use-region-p' if `interactive' is non-nil.
1826 (dired-unmark, dired-flag-file-deletion): Add optional arg
1827 `interactive'. Call `dired-mark' with the arg `interactive'.
1828 (Bug#10624)
1829
1830 * wdired.el: Revert 2012-10-17 change partly and replace it with
1831 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
1832 (wdired-finish-edit): Add marks for new file names to
1833 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
1834 after `revert-buffer'.
1835 (wdired-do-renames): Remove calls to `dired-remove-file',
1836 `dired-add-file', `dired-add-entry'. (Bug#11795)
1837
1838 2012-11-24 Alan Mackenzie <acm@muc.de>
1839
1840 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
1841
1842 Fix bugs in the state cache. Enhance a debugging mechanism.
1843 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
1844 "brace at column zero" strategy for C++.
1845 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
1846 (c-parse-state-point): New variable.
1847 (c-record-parse-state-state): Record old parse state with
1848 `copy-tree'. Record previous value of point.
1849 (c-debug-parse-state-double-cons): New debugging function.
1850 (c-debug-parse-state): Call the above new function.
1851 (c-toggle-parse-state-debug): Output a confirmatory message.
1852
1853 * progmodes/cc-mode.el (c-before-change, c-after-change):
1854 Call c-invalidate-state-cache from `c-before-change' instead of
1855 `c-after-change'.
1856
1857 2012-11-23 Chong Yidong <cyd@gnu.org>
1858
1859 * find-cmd.el (find-constituents): Add executable, ipath,
1860 readable, samefile, writable, daystart, regextype (Bug#12856).
1861
1862 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1863
1864 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
1865
1866 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
1867
1868 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
1869 definition. This fixes a bootstrap failure.
1870 (calc-gregorian-switch): In menu, put dates before regions.
1871 This is easier to follow, lines up better in the menu, and lets us
1872 coalesce regions that switch at the same time. Give country
1873 names, not "Vatican", as that's better for non-expert users.
1874 Use names that are stable between the date of switch and now, e.g.,
1875 Bohemia and Moravia (which existed then and now) and not
1876 Czechoslovakia (which didn't exist then and doesn't exist now).
1877 What is now the U.S. mostly did not switch at the same time as
1878 Britain, so omit the U.S. Correct spelling of "Britain".
1879 Catholic Switzerland was too much of a mess, so omit it.
1880
1881 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
1882
1883 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
1884 after the variable is changed.
1885
1886 2012-11-21 Daniel Colascione <dancol@dancol.org>
1887
1888 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
1889 in SQL declarations for font-lock.
1890 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
1891
1892 2012-11-21 Glenn Morris <rgm@gnu.org>
1893
1894 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
1895 (face-italic-p): Add optional argument "inherit".
1896
1897 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
1898 Remove -p suffix from names, for consistency with other set-face-*.
1899 (set-face-inverse-video): Fix interactive spec.
1900 * play/gamegrid.el (gamegrid-make-mono-tty-face):
1901 * textmodes/table.el (table--update-cell-face):
1902 Use set-face-inverse-video rather than now obsolete alias.
1903
1904 2012-11-21 Eli Zaretskii <eliz@gnu.org>
1905
1906 * simple.el (line-move): Don't call line-move-partial if
1907 scroll-conservatively is in effect. (Bug#12927)
1908
1909 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1910
1911 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
1912 Fallback on completion-at-point rather than
1913 pcomplete-expand-and-complete, and only if pcomplete actually failed.
1914 (eshell-cmpl-initialize): Setup completion-at-point.
1915
1916 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
1917
1918 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
1919
1920 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
1921
1922 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
1923 are remote, check out-of-band property for both.
1924
1925 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1926
1927 * window.el (switch-to-buffer): Re-add the warning that was lost in the
1928 code rewrite.
1929
1930 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
1931
1932 More minor time fixes.
1933 * calendar/time-date.el: Commentary fix.
1934 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
1935 too much other code depends on (0 0) time stamps.
1936 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
1937 Add a couple of FIXME comments.
1938
1939 Minor cleanup for times as lists of four integers.
1940 * files.el (dir-locals-directory-cache):
1941 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
1942 Doc fixes.
1943 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
1944 * ps-bdf.el (bdf-file-newer-than-time):
1945 Process four-integers time stamps, not two. Doc fixes.
1946
1947 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1948
1949 * uniquify.el (uniquify-managed): Use defvar-local.
1950 (rename-buffer, create-file-buffer): Advise with advice-add.
1951 (uniquify-unload-function): Unadvise accordingly.
1952
1953 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
1954 (trace-buffer): Don't purecopy.
1955 (trace-entry-message, trace-exit-message): Add `context' arg.
1956 (trace--timer): New var.
1957 (trace-make-advice): Adjust for use in nadvice.
1958 Add `context' argument. Delay `display-buffer' via a timer.
1959 (trace-function-internal): Use advice-add.
1960 (trace--read-args): New function.
1961 (trace-function-foreground, trace-function-background): Use it.
1962 (trace-function): Rename to trace-function-foreground and redefine as
1963 an alias to that new name.
1964 (untrace-function, untrace-all): Adjust to the use of nadvice.
1965
1966 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
1967
1968 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
1969
1970 * subr.el (called-interactively-p-functions): New var.
1971 (internal--called-interactively-p--get-frame): New macro.
1972 (called-interactively-p, interactive-p): Rewrite in Lisp.
1973 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
1974 (called-interactively-p-functions): Use it.
1975 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
1976 (called-interactively-p-functions): Use it.
1977 * allout.el (allout-called-interactively-p): Don't assume
1978 called-interactively-p is a subr.
1979
1980 2012-11-20 Glenn Morris <rgm@gnu.org>
1981
1982 * profiler.el (profiler-report-mode-map): Add a menu.
1983 No need to bind `q' because we derive from special-mode.
1984 (profiler-report-find-entry): Handle calls from the menu-bar.
1985
1986 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
1987
1988 * emacs-lisp/byte-run.el (defun-declarations-alist):
1989 Allow a compiler-macro to be a lambda expression.
1990
1991 * progmodes/python.el: Use cl-lib. Move var declarations outside of
1992 eval-when-compile.
1993 (python-syntax-context): Add compiler-macro.
1994 (python-font-lock-keywords): Simplify with De Morgan.
1995
1996 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
1997
1998 * files.el (load-file): Require match in minibuffer selection, as was
1999 the case in Emacs-20 before we changed the spec to allow .elc files
2000 (bug#12935).
2001
2002 * json.el: Don't require cl since we don't use it.
2003 * color.el: Don't require cl.
2004 (color-complement): `caddr' -> `nth 2'.
2005
2006 * calendar/time-date.el (time-to-seconds): De-obsolete.
2007
2008 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2009
2010 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
2011 year numbers.
2012 (math-date-to-julian-dt): Adjust the initial approximation for the
2013 year to deal with the new definition of the DATE.
2014
2015 2012-11-19 Daniel Colascione <dancol@dancol.org>
2016
2017 * term/w32-win.el (cygwin-convert-path-from-windows):
2018 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
2019
2020 2012-11-18 Chong Yidong <cyd@gnu.org>
2021
2022 * filecache.el (file-cache--read-list): New function.
2023 (file-cache-add-directory-list, file-cache-add-file-list)
2024 (file-cache-delete-file-list, file-cache-delete-directory-list):
2025 Use it to read a list of files or directories (Bug#12846).
2026 (file-cache-add-file, file-cache-add-directory)
2027 (file-cache-delete-file-list, file-cache-delete-file-regexp)
2028 (file-cache-delete-directory): Print an message.
2029
2030 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
2031
2032 * calc/calc-forms.el (math-date-to-dt): Use integer date when
2033 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
2034
2035 2012-11-18 Glenn Morris <rgm@gnu.org>
2036
2037 * image.el (insert-image, insert-sliced-image): Doc fix.
2038
2039 2012-11-18 Chong Yidong <cyd@gnu.org>
2040
2041 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
2042 (Bug#12810).
2043
2044 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2045
2046 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
2047 response when the target file is in a subdirectory (Bug#12757).
2048
2049 2012-11-18 Chong Yidong <cyd@gnu.org>
2050
2051 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
2052
2053 2012-11-18 Glenn Morris <rgm@gnu.org>
2054
2055 * emacs-lisp/cl-lib.el (face-underline-p):
2056 Use set-face-underline rather than the alias set-face-underline-p.
2057
2058 * window.el (with-temp-buffer-window): Doc fix.
2059 * subr.el (with-output-to-temp-buffer):
2060 Add doc xref to with-temp-buffer-window.
2061
2062 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
2063
2064 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
2065 * calc/calc.el (math-format-date-cache): Declare.
2066
2067 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
2068
2069 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
2070 It also uses January 1, 1 AD as its day number 1.
2071 * calc/calc-forms.el (math-julian-date-beginning)
2072 (math-julian-date-beginning-int): Implement this.
2073
2074 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
2075
2076 * descr-text.el (quail-find-key):
2077 * dired.el (desktop-file-name):
2078 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
2079 * generic-x.el (comint-mode, comint-exec):
2080 * image-dired.el (widget-forward):
2081 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
2082 (speedbar-change-expand-button-char)
2083 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
2084 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
2085 * printing.el (easy-menu-add-item, easy-menu-remove-item)
2086 (widget-field-action, widget-value-set):
2087 * speedbar.el (imenu--make-index-alist):
2088 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
2089 (ring-length, ring-insert):
2090 * vcursor.el (compare-windows-skip-whitespace):
2091 * woman.el (dired-get-filename):
2092 Declare functions.
2093
2094 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
2095
2096 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2097
2098 * calc/calc.el (calc-gregorian-switch): New variable.
2099
2100 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
2101 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
2102 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
2103 (math-leap-year-p): Add option to distinguish between Julian
2104 and Gregorian calendars.
2105 (math-day-number): Use `math-day-in-year' to do the computations.
2106 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
2107 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
2108 to do the computations.
2109 (math-date-to-dt): Use `math-date-to-julian-dt' and
2110 `math-date-to-gregorian-dt' to do the computations.
2111 (calcFunc-weekday, math-format-date-part): Use the new version of
2112 the DATE to determine the weekday.
2113 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
2114 when necessary.
2115
2116 2012-11-17 Eli Zaretskii <eliz@gnu.org>
2117
2118 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
2119 Cygwin; otherwise use 'file:'. (Bug#12914)
2120 (cygwin-convert-path-from-windows): Declare, to avoid
2121 byte-compiler warnings.
2122
2123 2012-11-17 Andreas Politz <politza@fh-trier.de>
2124
2125 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
2126 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
2127 prefix and negative numeric prefix args (Bug#12795).
2128
2129 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
2130
2131 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
2132 Don't signal an error with a score that is too low to add to the
2133 list of top scores. (Bug#12779)
2134
2135 2012-11-17 Chong Yidong <cyd@gnu.org>
2136
2137 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
2138
2139 * filecache.el (file-cache-add-file): Handle relative file name in
2140 the argument (Bug#12694).
2141
2142 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
2143
2144 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
2145
2146 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2147
2148 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
2149
2150 * emacs-lisp/cl-lib.el: Set more meaningful version number.
2151
2152 2012-11-16 Martin Rudalics <rudalics@gmx.at>
2153
2154 * window.el (enlarge-window, shrink-window): Don't mention return
2155 value in doc-string (Bug#12896).
2156 (window--display-buffer): Don't resize frames - it won't work
2157 with all window managers and defeat pop-up-frame-alist.
2158 (display-buffer-alist): In doc-string explain that CONDITION can
2159 be a function and which arguments are passed to it (Bug#12854).
2160 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
2161 expressions (Bug#12854).
2162 (display-buffer): Pass ACTION argument to
2163 display-buffer-assq-regexp.
2164
2165 2012-11-16 Glenn Morris <rgm@gnu.org>
2166
2167 * window.el (fit-frame-to-buffer-bottom-margin)
2168 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
2169
2170 * faces.el (face-underline-p): Use face-attribute-specified-or.
2171
2172 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
2173
2174 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
2175
2176 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2177
2178 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
2179
2180 2012-11-16 Glenn Morris <rgm@gnu.org>
2181
2182 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
2183 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
2184
2185 * faces.el (face-underline-p): Doc fix. Handle :underline being
2186 things other than `t' (a string, a list).
2187 (face-inverse-video-p): Doc fix.
2188 (set-face-underline): Rename it back from set-face-underline-p.
2189 Doc fix. Allow interactive input of values other than t.
2190 (read-face-attribute): Apply formatting to :underline,
2191 since like :box and :stipple it can take list values.
2192
2193 * term.el (ansi-term): Don't let C-x escape-char binding
2194 clobber the more standard C-c binding. (Bug#12842)
2195
2196 * subr.el (set-temporary-overlay-map): Doc fix.
2197
2198 2012-11-16 Martin Rudalics <rudalics@gmx.at>
2199
2200 * window.el (record-window-buffer)
2201 (display-buffer-record-window): When copying the markers to
2202 window-point preserve window-point-insertion-type. (Bug#12588)
2203
2204 2012-11-16 Glenn Morris <rgm@gnu.org>
2205
2206 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
2207 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
2208 Use new names for hooks rather than obsolete aliases.
2209
2210 2012-11-15 Daniel Colascione <dancol@dancol.org>
2211
2212 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
2213 prefix instead of "file:" so that when FILE-NAME begins with "//",
2214 as it does when the target file is on a network share, url-handler
2215 isn't confused.
2216
2217 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2218
2219 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
2220 a preactivated advice from an old advice.el; they're not compatible!
2221
2222 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
2223
2224 * emacs-lisp/nadvice.el (advice--make-interactive-form):
2225 Fix string-spec case.
2226
2227 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
2228
2229 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2230
2231 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
2232 (advice--buffer-local-function-sample): New var.
2233 (advice--set-buffer-local, advice--buffer-local): New functions.
2234 (add-function, remove-function): Use them.
2235
2236 2012-11-15 Drew Adams <drew.adams@oracle.com>
2237
2238 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
2239
2240 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2241
2242 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
2243 potential binding of print-gensym to t, and prettify (back)quotes in
2244 case they appear in args's default values (bug#12884).
2245
2246 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2247
2248 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
2249 (advice-eval-interactive-spec): New function.
2250 (advice--make-interactive-form): Support around advice (bug#12844).
2251
2252 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
2253
2254 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
2255 more strict. Add docstring.
2256 (ruby-expression-expansion-re): Extract from
2257 `ruby-match-expression-expansion'.
2258 (ruby-syntax-propertize-function): After everything else, search
2259 for expansions in string literals, mark their insides as
2260 whitespace syntax and save match data for font-lock.
2261 (ruby-font-lock-keywords): Use the 2nd group from expression
2262 expansion matches.
2263 (ruby-match-expression-expansion): Use the match data saved to the
2264 text property in ruby-syntax-propertize-function.
2265
2266 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2267
2268 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
2269 (bug#12879).
2270
2271 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2272
2273 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
2274 start/end keyword a bit harder. Works with different values of N.
2275 Add more comments.
2276 (ruby-end-of-block): Update accordingly.
2277
2278 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2279
2280 * woman.el (woman-file-name): Don't mess with unread-command-events
2281 (bug#12861).
2282
2283 * emacs-lisp/advice.el: Layer on top of nadvice.el.
2284 Remove out of date self-require hack.
2285 (ad-do-advised-functions): Use simple `dolist'.
2286 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
2287 (ad-advice-definition): Redefine as functions.
2288 (ad-advice-classes): Move before first use.
2289 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
2290 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
2291 (ad--defalias-fset): Remove functions.
2292 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
2293 (ad-get-orig-definition): Rewrite.
2294 (ad-make-advised-definition-docstring): Change base docstring.
2295 (ad-real-orig-definition): Rewrite.
2296 (ad-map-arglists): Change name of called function.
2297 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
2298 (ad-make-advised-definition): Simplify.
2299 (ad-assemble-advised-definition): Tweak for new calling context.
2300 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
2301 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
2302 function and call ad-activate if needed.
2303 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
2304 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
2305 (ad-compile-function): Compile ad-Advice-*.
2306 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
2307 (ad-start-advice, ad-stop-advice): Remove.
2308
2309 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2310
2311 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
2312 period before class method names, not after. Remove handling of
2313 one impossible case. Add comments.
2314
2315 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2316
2317 * emacs-lisp/advice.el: Remove support for freezing.
2318 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
2319 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
2320 Remove support for `freeze'.
2321
2322 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
2323 override the default.
2324 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
2325 cl--dotimes/dolist.
2326 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
2327 `cl' is loaded.
2328
2329 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
2330 from add-advice.
2331 (advice--strip-macro): New function.
2332 (advice--defalias-fset): Use them to handle macros.
2333 (advice-add): Use them.
2334 (advice-member-p): Correctly handle macros.
2335
2336 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2337
2338 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2339 Never font-lock the beginning of singleton class as heredoc.
2340
2341 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2342
2343 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
2344
2345 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
2346
2347 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
2348 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
2349 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
2350
2351 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2352
2353 Fix end-of-defun misbehavior.
2354 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
2355 python-beginning-of-defun-function. Handle nested defuns
2356 correctly.
2357 (python-nav-end-of-defun): Rename from
2358 python-end-of-defun-function. Ensure forward movement.
2359 (python-info-current-defun): Reimplement to work as intended
2360 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
2361 parent defuns as soon as possible.
2362
2363 2012-11-13 Glenn Morris <rgm@gnu.org>
2364
2365 * progmodes/flymake.el (flymake-error-bitmap)
2366 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
2367 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
2368
2369 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2370
2371 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
2372 backward, always stop at indentation. Reverts the change from
2373 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
2374
2375 2012-11-13 Glenn Morris <rgm@gnu.org>
2376
2377 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
2378 Add ibuffer-filter-by-derived-mode.
2379
2380 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
2381 the same name shadowing each other.
2382
2383 * window.el (with-temp-buffer-window): Doc tweak.
2384
2385 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
2386
2387 * help.el (temp-buffer-max-height):
2388 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
2389 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
2390
2391 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2392
2393 * emacs-lisp/nadvice.el: New package.
2394 * subr.el (special-form-p): New function.
2395 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
2396 (elp-all-instrumented-list): Remove var.
2397 (elp-not-profilable): Remove elp-wrapper.
2398 (elp-profilable-p): Use autoloadp and special-form-p.
2399 (elp--advice-name): New const.
2400 (elp-instrument-function): Use advice-add.
2401 (elp--instrumented-p): New predicate.
2402 (elp-restore-function): Use advice-remove.
2403 (elp-restore-all, elp-reset-all): Use mapatoms.
2404 (elp-set-master): Use elp--instrumented-p.
2405 (elp--make-wrapper): Rename from elp-wrapper, return a function
2406 suitable for advice-add. Use cl-inf.
2407 (elp-results): Use mapatoms+elp--instrumented-p.
2408 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
2409 (debug-function-list): Remove var.
2410 (debug): Rename arg, and then let-bind it explicitly inside.
2411 (debugger-setup-buffer): Rename arg.
2412 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
2413 (debugger-frame-number): Adjust to new debug-on-entry setup.
2414 (debug--implement-debug-on-entry): Rename from
2415 implement-debug-on-entry, add argument.
2416 (debugger-special-form-p): Remove, use special-form-p instead.
2417 (debug-on-entry): Use advice-add.
2418 (debug--function-list): New function.
2419 (cancel-debug-on-entry): Use it, along with advice-remove.
2420 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
2421 (debugger-list-functions): Use debug--function-list instead of
2422 debug-function-list.
2423 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
2424 (ad-special-form-p): Remove, use special-form-p instead.
2425 (ad-set-advice-info): Use add-function and remove-function.
2426 (ad--defalias-fset): Adjust accordingly.
2427
2428 2012-11-10 Glenn Morris <rgm@gnu.org>
2429
2430 * mail/emacsbug.el (report-emacs-bug-tracker-url)
2431 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
2432 (report-emacs-bug-create-existing-bugs-buffer)
2433 (report-emacs-bug-parse-query-results)
2434 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
2435
2436 * term.el (term-default-fg-color, term-default-bg-color):
2437 Make obsolete, rather than just saying "deprecated" in the doc.
2438
2439 * term.el (term): Rename from `term-face'.
2440 (term-current-face, ansi-term-color-vector)
2441 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
2442 Update all users.
2443
2444 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
2445
2446 * server.el (server-create-window-system-frame): Handle Nextstep
2447 specially (Bug#12780).
2448
2449 2012-11-10 Glenn Morris <rgm@gnu.org>
2450
2451 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2452 Unautoload, and make obsolete. (Bug#7449)
2453
2454 2012-11-10 Chong Yidong <cyd@gnu.org>
2455
2456 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
2457 rename from diff-remove-trailing-whitespace (Bug#12831).
2458
2459 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
2460
2461 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
2462 miscompilation of trace.el.
2463
2464 2012-11-10 Glenn Morris <rgm@gnu.org>
2465
2466 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
2467
2468 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
2469
2470 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
2471 (bug#12812).
2472
2473 2012-11-10 Chong Yidong <cyd@gnu.org>
2474
2475 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
2476 a defcustom with an appropriate :set function.
2477 (minibuffer-default--in-prompt-regexps): New function.
2478
2479 2012-11-10 Glenn Morris <rgm@gnu.org>
2480
2481 * emacs-lisp/cl.el (define-setf-expander, defsetf)
2482 (define-modify-macro): Doc fixes.
2483
2484 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
2485 (gv-define-simple-setter): Update doc of `fix-return'.
2486
2487 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
2488
2489 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
2490 twice when `fix-return' is set (bug#12813).
2491
2492 * emacs-lisp/cl.el (defsetf): Pass the third arg to
2493 gv-define-simple-setter (bug#12812).
2494
2495 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
2496 (bug#12756).
2497
2498 2012-11-10 Glenn Morris <rgm@gnu.org>
2499
2500 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
2501
2502 * emacs-lisp/cl-extra.el (cl-prettyexpand):
2503 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
2504 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
2505 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
2506
2507 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
2508
2509 2012-11-10 Leo Liu <sdl.web@gmail.com>
2510
2511 * ido.el (ido-set-matches-1): Improve flex matching performance by
2512 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
2513
2514 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2515
2516 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
2517 (ad--defalias-fset): New function.
2518 (ad-safe-fset): Remove.
2519 (ad-make-freeze-definition): Use cl-letf*.
2520
2521 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2522
2523 * subr.el (dolist): Don't bind VAR in RESULT.
2524
2525 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
2526 (fset, documentation): Don't save real def since we don't advise.
2527 (ad-do-advised-functions): Remove problematic `result-form'.
2528 (ad-safe-fset): `ad-real-fset' => `fset'.
2529 (ad-read-advised-function): Don't assume that ad-do-advised-functions
2530 uses CL's dolist internally.
2531 (ad-arglist): Remove unused arg `name'.
2532 (ad-docstring, ad-make-advised-docstring):
2533 `ad-real-documentation' => `documentation'.
2534 (warning-suppress-types): Declare.
2535 (ad-set-arguments): Simple CSE.
2536 (ad-recover-normality): Sanity check.
2537
2538 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
2539 (funcall '(lambda ..) ..) into ((lambda ..) ..).
2540
2541 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
2542
2543 * ses.el: symbol to coordinate mapping is made by symbol property
2544 `ses-cell'. This means that the same mapping is done for all SES
2545 sheets. That is good enough for cells with standard A1 names, but
2546 not for named cell. So a hash map is added for the latter.
2547 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
2548 (ses-sym-rowcol): Use hashmap for named cell.
2549 (ses-is-cell-sym-p): New defun.
2550 (ses-decode-cell-symbol): New defun.
2551 (ses-create-cell-variable): Add cell to hashmap when name is not
2552 A1-like.
2553 (ses-rename-cell): Check that cell new name is not already in
2554 spreadsheet with the use of ses-is-cell-sym-p
2555 (ses-rename-cell): Use hash map for named cells, but accept also
2556 renaming back to A1-like.
2557
2558 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2559
2560 * emacs-lisp/advice.el: Use new dynamic docstrings.
2561 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2562 Use dynamic-docstring-function instead of ad-advice-info.
2563 (ad--make-advised-docstring): New function extracted from
2564 ad-make-advised-docstring.
2565 (ad-make-advised-docstring): Use it.
2566 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
2567 from sql-help.
2568 (sql-help): Use it with dynamic-docstring-function.
2569
2570 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
2571
2572 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2573
2574 * files.el (hack-one-local-variable--obsolete): New function.
2575 (hack-one-local-variable): Use it for obsolete settings.
2576
2577 * subr.el (locate-user-emacs-file): If both old and new name exist, use
2578 the new name.
2579
2580 * progmodes/js.el (js--filling-paragraph): New var.
2581 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
2582 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
2583 less sneaky.
2584
2585 2012-11-08 Julien Danjou <julien@danjou.info>
2586
2587 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
2588 `auto-mode-alist' (Bug#12835).
2589
2590 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2591
2592 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
2593 (perl--prettify-symbols-alist): New const.
2594 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
2595 New functions.
2596 (perl-font-lock-keywords-2): Use them.
2597 (perl-electric-noindent-p): New function.
2598 (perl-mode): Use it to set up electric-indent-mode.
2599 (perl-electric-terminator, perl-indent-command): Mark obsolete.
2600 (perl-mode-map): Remove bindings for them.
2601 (perl-imenu-generic-expression, perl-outline-level):
2602 Match functions&packages in column>0.
2603
2604 * env.el (env--substitute-vars-regexp): New const.
2605 (substitute-env-vars): Use it. Add `only-defined' arg.
2606 * net/tramp.el (tramp-replace-environment-variables): Use it.
2607
2608 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2609 Byte-compile *before* eval in eval-and-compile.
2610 (byte-compile-log-warning): Remove redundant inhibit-read-only.
2611 (byte-compile-file-form-autoload): Don't hide actual definition.
2612 (byte-compile-maybe-guarded): Accept `functionp' as well.
2613
2614 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
2615
2616 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
2617
2618 * notifications.el (notifications-get-server-information-method):
2619 New defconst.
2620 (notifications-get-capabilities): Fix docstring.
2621 (notifications-get-server-information): New defun.
2622
2623 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2624
2625 * textmodes/ispell.el (ispell-region): Standard re-indent for better
2626 readability.
2627
2628 * textmodes/ispell.el: Experimental support for support debugging.
2629 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
2630 buffer for ispell.
2631 (ispell-print-if-debug): New function to print stuff to
2632 `ispell-debug-buffer' if debugging is enabled.
2633 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
2634 show some debugging info.
2635 (ispell-buffer-with-debug): New function that creates a debugging
2636 buffer and calls `ispell-buffer' with debugging enabled.
2637
2638 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
2639 comment in autoconf mode. (Bug#12768)
2640
2641 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
2642
2643 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
2644 frame-first-window, frame-root-window, frame-selected-window,
2645 minibuffer-selected-window, minibuffer-window,
2646 window-absolute-pixel-edges, window-at, window-body-height,
2647 window-body-width, window-display-table, window-combination-limit,
2648 window-frame, window-fringes, window-inside-absolute-pixel-edges,
2649 window-inside-edges, window-inside-pixel-edges, window-left-child,
2650 window-left-column, window-margins, window-next-buffers,
2651 window-next-sibling, window-new-normal, window-new-total,
2652 window-normal-size, window-parameter, window-parameters, window-parent,
2653 window-pixel-edges, window-point, window-prev-buffers,
2654 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
2655 window-start, window-text-height, window-top-child, window-top-line,
2656 window-total-height, window-total-width and window-use-time to the list
2657 of functions without side-effects.
2658 (toplevel): Add window-valid-p to the list of error-free functions
2659 without side-effects.
2660
2661 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2662
2663 * textmodes/ispell.el (ispell-program-name):
2664 Update spellchecker parameters when customized.
2665
2666 2012-11-04 Glenn Morris <rgm@gnu.org>
2667
2668 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
2669
2670 2012-11-04 Chong Yidong <cyd@gnu.org>
2671
2672 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
2673 same-window-* variables.
2674
2675 2012-11-04 Juri Linkov <juri@jurta.org>
2676
2677 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
2678 (isearch-describe-key, isearch-describe-mode): Use a display
2679 action instead of binding same-window-* variables (Bug#10040).
2680
2681 2012-11-03 Glenn Morris <rgm@gnu.org>
2682
2683 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2684 Rename handler properties back from cl-- to cl-. (Bug#12788)
2685
2686 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
2687
2688 2012-11-03 Eli Zaretskii <eliz@gnu.org>
2689
2690 * term/pc-win.el: Don't load term/internal from here.
2691
2692 * loadup.el: Load term/internal from here.
2693
2694 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
2695
2696 * progmodes/python.el (inferior-python-mode): Fix hang in
2697 jit-lock (Bug#12645).
2698
2699 2012-11-03 Martin Rudalics <rudalics@gmx.at>
2700
2701 * window.el (switch-to-visible-buffer)
2702 (switch-to-buffer-preserve-window-point): Fix doc-strings.
2703
2704 2012-11-03 Glenn Morris <rgm@gnu.org>
2705
2706 * emacs-lisp/cl-lib.el (cl--random-time):
2707 Rename from cl-random-time. (Bug#12773)
2708 (cl--gensym-counter, cl--random-state): Update callers.
2709 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
2710
2711 2012-11-03 Chong Yidong <cyd@gnu.org>
2712
2713 * cus-start.el: Make cursor-type customizable (Bug#11633).
2714
2715 2012-11-02 Glenn Morris <rgm@gnu.org>
2716
2717 * filecache.el: No need to load find-lisp when compiling.
2718 (find-lisp-find-files): Autoload it.
2719 (file-cache-add-directory-recursively): Don't require find-lisp.
2720
2721 * image.el (image-type-from-file-name): Trivial simplification.
2722
2723 * emacs-lisp/bytecomp.el (byte-compile-eval):
2724 Decouple "noruntime" and "cl-functions" warnings.
2725
2726 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
2727
2728 * play/gomoku.el (gomoku-display-statistics): Update mode line
2729 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
2730
2731 2012-10-31 Martin Rudalics <rudalics@gmx.at>
2732
2733 * window.el (quit-restore-window): If the window has been
2734 created on an existing frame and ended up as the sole window on
2735 that frame, do not delete it (Bug#12764).
2736
2737 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
2738
2739 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2740 Rename from sh--inside-arithmetic-expression, handle more cases
2741 (bug#11263).
2742
2743 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
2744 (sh-font-lock-open-heredoc): Use it (bug#12770).
2745
2746 2012-10-30 Glenn Morris <rgm@gnu.org>
2747
2748 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
2749
2750 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
2751
2752 2012-10-29 Chong Yidong <cyd@gnu.org>
2753
2754 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
2755 function key is stored in a keyboard macro (Bug#4894).
2756
2757 * thingatpt.el (number-at-point): Apply a thing-at-point property.
2758
2759 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2760
2761 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
2762 header comments".
2763 (diff-unified->context, diff-context->unified)
2764 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
2765
2766 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
2767
2768 * files.el (find-alternate-file): Only ask one question (bug#12487).
2769
2770 2012-10-29 Chong Yidong <cyd@gnu.org>
2771
2772 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
2773 Suggested by Dan Nicolaescu (Bug#6326).
2774
2775 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
2776
2777 * startup.el (fancy-about-screen): Don't message (Bug#12680).
2778
2779 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
2780
2781 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
2782
2783 * face-remap.el (face-remap-add-relative): Handle the case where a
2784 face-remapping-alist entry is a cons cell (Bug#12762).
2785
2786 2012-10-29 Kevin Ryde <user42@zip.com.au>
2787
2788 * woman.el (woman-parse-numeric-value): Handle picas correctly
2789 (Bug#12639).
2790
2791 2012-10-29 Glenn Morris <rgm@gnu.org>
2792
2793 * emacs-lisp/cl.el (defsetf): Doc fix.
2794
2795 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2796
2797 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
2798 syntax to the matching opener, if any (bug#12547).
2799 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
2800 matching open as a "case-(".
2801 (sh-smie-rc-grammar): Add a corresponding rule for it.
2802
2803 2012-10-28 Daniel Hackney <dan@haxney.org>
2804
2805 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
2806 "PKGNAME-autoloads.el" in case we created it.
2807
2808 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2809
2810 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
2811 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
2812 (completion--twq-all): Disable too-strict assertions.
2813
2814 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
2815
2816 2012-10-27 Eli Zaretskii <eliz@gnu.org>
2817
2818 * profiler.el (profiler-report-make-entry-part): Fix help-echo
2819 text to match the real keybindings.
2820
2821 2012-10-27 Juri Linkov <juri@jurta.org>
2822
2823 * wdired.el (wdired-keep-marker-rename): New defcustom.
2824 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
2825 (Bug#11795)
2826
2827 * dired.el (dired-keep-marker-rename): Add reference to
2828 `wdired-keep-marker-rename' in the docstring.
2829 Add default character value ?R to display initially in
2830 Customization UI instead of ?@.
2831
2832 2012-10-27 Martin Rudalics <rudalics@gmx.at>
2833
2834 * window.el (display-buffer): In doc-string describe
2835 window-height and window-width alist entries.
2836
2837 * time.el (display-time-world): Restore fit-window-to-buffer
2838 behavior.
2839
2840 2012-10-27 Chong Yidong <cyd@gnu.org>
2841
2842 * subr.el (insert-buffer-substring-as-yank): Doc fix.
2843
2844 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
2845
2846 * minibuffer.el (completion-category-overrides): New completion
2847 category `bookmark' (bug#11131).
2848
2849 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2850
2851 * emacs-lisp/advice.el (ad-assemble-advised-definition):
2852 Silence bogus compiler warnings for ad-do-it.
2853
2854 * bookmark.el (bookmark-completing-read): Set the completion category
2855 to `bookmark' (bug#11131).
2856
2857 2012-10-26 Bastien <bzg@altern.org>
2858 Stefan Monnier <monnier@iro.umontreal.ca>
2859
2860 * face-remap.el: Use lexical-binding.
2861 (text-scale-adjust): Improve docstring. Use itself for the temporary
2862 overlay-map bindings, so as to repeat the "Use..." message each time.
2863
2864 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2865
2866 * emacs-lisp/macroexp.el (macroexp--expand-all):
2867 Obey byte-compile-warning-enabled-p (bug#12486).
2868
2869 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
2870 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
2871
2872 2012-10-26 Martin Rudalics <rudalics@gmx.at>
2873
2874 * mouse.el (mouse-drag-line): Move last form into preceding when
2875 clause (Bug#12731).
2876
2877 * help.el (resize-temp-buffer-window): Fix doc-string.
2878
2879 2012-10-25 David Engster <deng@randomsample.de>
2880
2881 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
2882 Remove. This feature is already integrated in imenu.
2883
2884 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
2885 always loaded. Require `speedbar' unconditionally.
2886
2887 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2888
2889 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
2890
2891 * minibuffer.el (minibuffer-force-complete): Fix thinko.
2892
2893 * net/ldap.el (ldap-search-internal): The official ldif format starts
2894 with a "version: 1" header (bug#12724).
2895
2896 * emacs-lisp/package.el (package-installed-p): Warn if not ready
2897 (bug#12721).
2898
2899 2012-10-25 Glenn Morris <rgm@gnu.org>
2900
2901 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
2902
2903 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2904
2905 * minibuffer.el (minibuffer-force-complete): Use one more marker
2906 for the temporary-overlay-map command (bug#12619).
2907
2908 2012-10-24 Chong Yidong <cyd@gnu.org>
2909
2910 * time.el (display-time-world-mode): Derive from special-mode.
2911 (display-time-world): Use display-buffer (Bug#12708).
2912 (display-time-world-mode-map): Variable deleted.
2913 (display-time-world-display): Wrap the final delete-char inside
2914 inhibit-read-only.
2915
2916 2012-10-24 Chong Yidong <cyd@gnu.org>
2917
2918 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
2919 Doc fix.
2920
2921 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
2922
2923 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2924
2925 * minibuffer.el (completion--all-sorted-completions-location): New var.
2926 (completion--cache-all-sorted-completions)
2927 (completion--flush-all-sorted-completions): Use it.
2928 (completion-in-region, completion-in-region--postch)
2929 (completion-at-point, completion-help-at-point): Use markers in
2930 completion-in-region--data (bug#12619).
2931
2932 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2933
2934 * progmodes/compile.el (compilation-start): Try to handle common
2935 quoting of `cd' argument (bug#12640).
2936
2937 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
2938 (bug#12671).
2939
2940 2012-10-23 Glenn Morris <rgm@gnu.org>
2941
2942 * progmodes/gud.el (gud-menu-map):
2943 Check gdb-active-process is bound. (Bug#12358)
2944
2945 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2946
2947 * repeat.el (repeat): Set real-this-command (bug#12232).
2948
2949 * htmlfontify.el (hfy-post-html-hook):
2950 * filesets.el (filesets-cache-fill-content-hook):
2951 * arc-mode.el (archive-extract-hook):
2952 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
2953 * net/rcirc.el (rcirc-sentinel-functions)
2954 (rcirc-receive-message-functions, rcirc-activity-functions)
2955 (rcirc-print-functions):
2956 * net/dbus.el (dbus-event-error-functions):
2957 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
2958 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
2959 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
2960 * term/sun.el (sun-raw-prefix-hooks):
2961 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
2962
2963 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
2964
2965 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2966 Set `tramp-chunksize' to 1. This improves the performance.
2967 (tramp-smb-wait-for-output): Add timeout to
2968 `tramp-accept-process-output' calls.
2969
2970 2012-10-23 Chong Yidong <cyd@gnu.org>
2971
2972 * faces.el (font-list-limit): Define as an obsolete variable.
2973
2974 * startup.el (command-line):
2975 * cus-start.el: Don't refer to font-list-limit.
2976
2977 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
2978
2979 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2980
2981 * subr.el (internal-temp-output-buffer-show): Rename from
2982 temp-output-buffer-show, since previously compiled files expect this name.
2983
2984 2012-10-23 Glenn Morris <rgm@gnu.org>
2985
2986 * image.el (image-type-from-file-name): If multiple types match,
2987 return the first one that is supported. (Bug#9045)
2988
2989 2012-10-22 Glenn Morris <rgm@gnu.org>
2990
2991 * image.el (imagemagick-enabled-types): Doc fix.
2992
2993 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
2994
2995 * progmodes/which-func.el (which-func-current): The hash-table may have
2996 an explicit nil (bug#12338).
2997
2998 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2999
3000 * electric.el (electric-pair-delete-selection-self-insert-function):
3001 Rename to electric-pair-will-use-region, return a boolean.
3002 (electric-pair-mode): Adjust accordingly. Don't require delsel.
3003
3004 * delsel.el (delete-selection-helper): Use a function instead of a hook.
3005 (delete-selection-pre-hook): Use use-region-p.
3006 (delete-selection-self-insert-function): Remove.
3007 (self-insert-command): Obey self-insert-uses-region-functions.
3008 (self-insert-iso): Revert to previous setting, since we don't actually
3009 know what that command does.
3010 (delete-selection-self-insert-hooks): Remove.
3011
3012 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
3013
3014 * delsel.el (delete-selection-helper): New function, extracted from
3015 delete-selection-pre-hook.
3016 (delete-selection-pre-hook): Use it.
3017 (delete-selection-self-insert-function): New function.
3018 (delete-selection-self-insert-hooks): New hook.
3019 (self-insert-command, self-insert-iso): Use it.
3020 * electric.el (electric-pair-syntax): New function, extracted from
3021 electric-pair-post-self-insert-function.
3022 (electric-pair-post-self-insert-function): Use it.
3023 (electric-pair-delete-selection-self-insert-function): New function.
3024 (electric-pair-mode): Require delsel and setup
3025 delete-selection-self-insert-hooks (bug#11520).
3026
3027 2012-10-20 Chong Yidong <cyd@gnu.org>
3028
3029 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
3030 no changes to show (Bug#12586).
3031
3032 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
3033 list explicitly (Bug#12571).
3034
3035 2012-10-20 Arne Jørgensen <arne@arnested.dk>
3036
3037 * progmodes/flymake.el (flymake-create-temp-inplace):
3038 Use file-truename.
3039
3040 2012-10-20 Eli Zaretskii <eliz@gnu.org>
3041
3042 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
3043
3044 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
3045
3046 * calc/calc-units.el (math-extract-units): Properly extract powers
3047 of units.
3048
3049 2012-10-20 Daniel Colascione <dancol@dancol.org>
3050
3051 * frame.el (make-frame): Set x-display-name as we used to in order
3052 to unbreak creating an X11 frame from an Emacs daemon started
3053 without a display.
3054
3055 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3056
3057 * minibuffer.el (minibuffer-force-complete): Make the next completion use
3058 the same completion-field (bug#12221).
3059
3060 2012-10-19 Martin Rudalics <rudalics@gmx.at>
3061
3062 * emacs-lisp/debug.el (debug): Record height of debugger window
3063 also when debugger will be back (Bug#8789).
3064
3065 2012-10-18 Chong Yidong <cyd@gnu.org>
3066
3067 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3068 Convert to defcustom.
3069 (gdb-get-source-file): Don't bind pop-up-windows.
3070
3071 * progmodes/gud.el (gud-display-line): Don't specially re-use
3072 other frames for the gdb-mi case (Bug#12648).
3073
3074 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3075
3076 * emacs-lisp/advice.el: Clean up commentary a bit.
3077 (ad-do-advised-functions, ad-with-originals): Use `declare'.
3078 (byte-code-function-p): Never redefine.
3079
3080 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
3081
3082 2012-10-18 Glenn Morris <rgm@gnu.org>
3083
3084 * dired.el (dired-sort-toggle): Some ls implementations only allow
3085 a single option string. (Bug#12666)
3086
3087 * minibuffer.el (completion-cycle-threshold): Doc fix.
3088
3089 2012-10-17 Kenichi Handa <handa@gnu.org>
3090
3091 * international/mule.el (set-keyboard-coding-system):
3092 Recover input meta mode when the new coding system doesn not use 8-bit.
3093 Supply TERMINAL arg to set-input-meta-mode.
3094
3095 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
3096
3097 * wdired.el (wdired-old-marks): New variable.
3098 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
3099 (wdired-do-renames): Move point with renamed file and don't lose
3100 mark status (Bug#11795).
3101
3102 2012-10-16 Juri Linkov <juri@jurta.org>
3103
3104 * replace.el (query-replace-help): Mention multi-buffer replacement
3105 keys in the Help message. (Bug#12655)
3106
3107 2012-10-15 Chong Yidong <cyd@gnu.org>
3108
3109 * emacs-lisp/byte-run.el (defsubst): Doc fix.
3110
3111 2012-10-14 Eli Zaretskii <eliz@gnu.org>
3112
3113 * window.el (display-buffer): Doc fix.
3114
3115 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3116 Adjust the msft regexp to the output of Studio 2010, and move msft
3117 before edg-1. See the discussion on emacs-devel,
3118 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
3119 for the details.
3120
3121 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3122
3123 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
3124 (oset): Move uses of object-class-fast macro after its definition.
3125
3126 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
3127
3128 2012-10-13 Chong Yidong <cyd@gnu.org>
3129
3130 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
3131 enabled, re-enable it (Bug#11963).
3132
3133 2012-10-13 Martin Rudalics <rudalics@gmx.at>
3134
3135 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
3136 non-nil, restore window configuration (Bug#12623).
3137
3138 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3139
3140 * help-fns.el (describe-variable, describe-function-1):
3141 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
3142
3143 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
3144
3145 2012-10-12 Glenn Morris <rgm@gnu.org>
3146
3147 * mail/rmailsum.el (rmail-header-summary):
3148 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
3149
3150 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
3151
3152 * progmodes/python.el (python-mode-map):
3153 Replace subtitute-key-definition with proper command remapping.
3154 (python-nav--up-list): Fix behavior for blocks on the same level.
3155
3156 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3157
3158 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
3159
3160 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
3161 changes to the format of load-history.
3162
3163 * international/mule-cmds.el (read-char-by-name): Move let-binding of
3164 completion-ignore-case in case that var is buffer-local (bug#12615).
3165
3166 2012-10-11 Kenichi Handa <handa@gnu.org>
3167
3168 * international/eucjp-ms.el: Re-generated.
3169
3170 2012-10-10 Kenichi Handa <handa@gnu.org>
3171
3172 * select.el (xselect--encode-string): If a coding is specified for
3173 selection, and that is compatible with COMPOUND_TEXT, use it.
3174
3175 2012-10-10 Martin Rudalics <rudalics@gmx.at>
3176
3177 * window.el (switch-to-buffer-preserve-window-point): New option.
3178 (switch-to-buffer):
3179 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
3180
3181 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3182
3183 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
3184 Don't document nil as a useful value (bug#12583).
3185
3186 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
3187
3188 * net/tramp.el (tramp-debug-message):
3189 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
3190 (with-tramp-progress-reporter): Rename from
3191 `tramp-with-progress-reporter'.
3192 (with-tramp-file-property, with-tramp-connection-property):
3193 Move from tramp-cache.el, rename from `with-file-property' and
3194 `with-connection-property', respectively.
3195
3196 * net/tramp-cache.el: Remove `with-file-property' and
3197 `with-connection-property'.
3198
3199 * net/tramp.el:
3200 * net/tramp-gvfs.el:
3201 * net/tramp-sh.el:
3202 * net/tramp-smb.el: Adapt callees.
3203
3204 * net/trampver.el: Update release number.
3205
3206 2012-10-09 Glenn Morris <rgm@gnu.org>
3207
3208 * w32-fns.el (set-message-beep):
3209 * term/w32-win.el (set-message-beep): Update declarations.
3210
3211 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3212
3213 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
3214 (mode-line-widen, mode-line-input-method-map)
3215 (mode-line-coding-system-map, mode-line-remote)
3216 (mode-line-unbury-buffer, mode-line-bury-buffer)
3217 (mode-line-next-buffer, mode-line-previous-buffer):
3218 Replace save-selected-window+select-window => with-selected-window.
3219
3220 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
3221 * progmodes/cc-vars.el (bq-process): Remove, unused.
3222
3223 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
3224
3225 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
3226
3227 Implemented `backward-up-list'-like navigation.
3228 * progmodes/python.el (python-nav-up-list)
3229 (python-nav-backward-up-list): New functions.
3230 (python-mode-map): Define substitute key for backward-up-list to
3231 python-nav-backward-up-list.
3232
3233 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3234
3235 * progmodes/python.el (python-fill-paragraph): Rename from
3236 python-fill-paragraph-function. Fixed fill-paragraph for
3237 decorators (Bug#12605).
3238
3239 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3240
3241 * progmodes/python.el (python-shell-output-filter): Handle extra
3242 carriage return in OSX (Bug#12409).
3243
3244 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3245
3246 Fix shell handling of unbalanced quotes and parens in output.
3247 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
3248 (python-syntax-propertize-function): Use it.
3249 (python-shell-output-syntax-table): New var.
3250 (inferior-python-mode): Prevent unbalanced parens/quotes from
3251 previous output mess with current input context.
3252
3253 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
3254
3255 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
3256 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
3257
3258 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
3259
3260 * ffap.el (ffap-replace-file-component): Support Tramp file name
3261 syntax, not only ange-ftp's one.
3262
3263 2012-10-08 Glenn Morris <rgm@gnu.org>
3264
3265 * cus-start.el (message-log-max): Set :version.
3266
3267 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
3268
3269 2012-10-08 Martin Rudalics <rudalics@gmx.at>
3270
3271 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
3272 the minibuffer window (Bug#10851).
3273
3274 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3275
3276 Enhancements on forward-sexp movement.
3277 * progmodes/python.el (python-nav-beginning-of-statement)
3278 (python-nav-end-of-statement): Return point-marker.
3279 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
3280 (python-info-current-symbol)
3281 (python-info-statement-starts-block-p): Rename from
3282 python-info-beginning-of-block-p.
3283 (python-info-statement-ends-block-p): Rename from
3284 python-info-end-of-block-p.
3285 (python-info-beginning-of-statement-p)
3286 (python-info-end-of-statement-p)
3287 (python-info-beginning-of-block-p, python-info-end-of-block-p):
3288 New functions.
3289
3290 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3291
3292 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
3293 frame-selected-windows.
3294
3295 2012-10-08 Daniel Colascione <dancol@dancol.org>
3296
3297 * battery.el (battery-status-function): Check for
3298 w32-battery-status itself, not system-time windows-nt.
3299
3300 * frame.el: Require cl-lib.
3301 (display-format-alist): New variable mapping frame types to
3302 functions that initialize them.
3303 (window-system-for-display): New function: interprets
3304 display-format-alist.
3305 (make-frame-on-display): Remove existing display-selection logic
3306 and just forward to make-frame, which will now DTRT.
3307 (make-frame): Restructure to use window-system-for-display to
3308 figure out how to create a frame on a given display.
3309 (display-mouse-p): Look for frame-type w32, not a particular
3310 system-type.
3311
3312 * loadup.el: Load w32 lisp code when we have the w32 feature.
3313
3314 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
3315 system-type windows-nt.
3316
3317 * server.el (server-create-window-system-frame): Look for window
3318 type.
3319 (server-proces-filter): Only force a window system when windows-nt
3320 _and_ w32. Explain why.
3321
3322 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
3323 of window systems we configure for the mode.
3324
3325 * startup.el (command-line): Mark window system is initialized
3326 after we've done it.
3327
3328 * common-win.el (x-select-text): Look for w32, not windows-nt.
3329
3330 * ns-win.el: Require cl-lib. Add ourselves to
3331 display-format-alist.
3332 (ns-initialize-window-system): Assert we're not initialized twice.
3333
3334 * w32-win.el: Enable lexical binding; require cl-lib; add
3335 ourselves to display-format-alist.
3336 (w32-handle-dropped-file): Convert incoming dropped files from
3337 Windows paths to Cygwin ones before passing them on to the rest of
3338 Emacs.
3339 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
3340 (w32-initialize-window-system): Assert we're not initialized twice.
3341
3342 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
3343 (x-initialize-window-system): Assert we're not initialized twice.
3344
3345 * w32-common-fns.el: New File.
3346 (w32-version, w32-using-nt, w32-get-clipboard-data)
3347 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3348 (w32-charset-info-alist, x-last-selected, text)
3349 (x-get-selection-value, x-selection-value): Move here.
3350
3351 * w32-fns.el: Require w32-common-fns.
3352 (w32-version, w32-using-nt, w32-get-clipboard-data)
3353 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3354 (w32-charset-info-alist, x-last-selected, text)
3355 (x-get-selection-value, x-selection-value): Move to
3356 w32-common-fns.
3357
3358 * w32-vars.el:
3359 (w32-allow-system-shell, w32-system-shells): Define only in
3360 non-cygwin case.
3361
3362 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3363
3364 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
3365 (read-passwd): Remove a few more potential sources of leaks.
3366
3367 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3368
3369 * progmodes/python.el (inferior-python-mode)
3370 (python-shell-make-comint): Fix initialization of local
3371 variables copied from parent buffer.
3372
3373 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
3374
3375 * term/ns-win.el (ns-read-file-name): Update declaration to match
3376 nsfns.m.
3377 (ns-respond-to-change-font): Change fontsize separatly so we are sure
3378 it is set when font is acted upon.
3379
3380 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3381
3382 Enhancements to indentation.
3383 * progmodes/python.el (python-indent-context): Give priority to
3384 inside-string context. Make comments indentation markers.
3385 (python-indent-region): Do not mess with strings, unless it's the
3386 enclosing set of quotes.
3387
3388 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3389
3390 * window.el (internal--before-save-selected-window)
3391 (internal--after-save-selected-window): New functions extracted from
3392 save-selected-window. Make sure we return the `alist' we construct.
3393 (save-selected-window): Use them.
3394
3395 * textmodes/tex-mode.el (tex-recenter-output-buffer):
3396 Use with-selected-window.
3397
3398 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
3399 forms that define macros (bug#12593).
3400
3401 2012-10-07 Kenichi Handa <handa@gnu.org>
3402
3403 * international/mule-conf.el (compound-text-with-extensions):
3404 Add :mime-charset property as x-ctext.
3405
3406 2012-10-07 Stefan Merten <smerten@oekonux.de>
3407
3408 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3409 (rst-indent-literal-normal, rst-indent-literal-minimized)
3410 (rst-indent-comment): Correct :version tag.
3411 (rst-official-cvs-rev): Correct version string.
3412
3413 2012-10-07 Glenn Morris <rgm@gnu.org>
3414
3415 * mail/rmailmm.el (rmail-mime-process-multipart):
3416 Do not confuse a multipart message with an epilogue
3417 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
3418
3419 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3420
3421 Fix shell output retrieval and comint-prompt-regexp init.
3422 * progmodes/python.el (inferior-python-mode):
3423 (python-shell-make-comint): Fix initialization of
3424 comint-prompt-regexp from copied file local variables.
3425 (python-shell-fetched-lines): Remove var.
3426 (python-shell-output-filter-in-progress): Rename from
3427 python-shell-fetch-lines-in-progress.
3428 (python-shell-output-filter-buffer): Rename from
3429 python-shell-fetch-lines-string.
3430 (python-shell-fetch-lines-filter): Delete function.
3431 (python-shell-output-filter): New function.
3432 (python-shell-send-string-no-output): Use them.
3433
3434 2012-10-07 Glenn Morris <rgm@gnu.org>
3435
3436 * hi-lock.el (hi-lock-process-phrase):
3437 Try to make it less fragile. (Bug#7161)
3438
3439 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
3440
3441 2012-10-06 Glenn Morris <rgm@gnu.org>
3442
3443 * ehelp.el (electric-help-mode): Use help-mode rather than
3444 non-existent mode `help'.
3445 (electric-help-map): Use button-buffer-map. (Bug#10917)
3446
3447 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
3448 (reftex-create-bibtex-footer): Fix custom types.
3449
3450 * progmodes/sh-script.el (sh-indent-after-continuation):
3451 Add explicit :group.
3452
3453 * textmodes/rst.el (rst-preferred-decorations)
3454 (rst-shift-basic-offset): Clarify obsolescence versions.
3455
3456 * profiler.el (profiler): Add missing group :version tag.
3457 * avoid.el (mouse-avoidance-banish-position):
3458 * proced.el (proced-renice-command):
3459 * calc/calc.el (calc-ensure-consistent-units):
3460 * calendar/icalendar.el (icalendar-import-format-uid):
3461 * net/tramp.el (tramp-save-ad-hoc-proxies):
3462 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3463 * progmodes/flymake.el (flymake-error-bitmap)
3464 (flymake-warning-bitmap, flymake-fringe-indicator-position):
3465 * progmodes/sh-script.el (sh-indent-after-continuation):
3466 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
3467 (verilog-before-save-font-hook, verilog-after-save-font-hook):
3468 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
3469 (vhdl-array-index-record-field-in-sensitivity-list)
3470 (vhdl-indent-comment-like-next-code-line):
3471 * textmodes/reftex-vars.el (reftex-ref-style-alist)
3472 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
3473 (reftex-cite-key-separator, reftex-create-bibtex-header)
3474 (reftex-create-bibtex-footer):
3475 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3476 (rst-indent-literal-normal, rst-indent-literal-minimized)
3477 (rst-indent-comment): Add missing custom :version tags.
3478
3479 * calendar/timeclock.el (timeclock-modeline-display):
3480 Add missing obsolete alias for renamed user option.
3481
3482 * strokes.el (strokes-modeline-string):
3483 * emulation/crisp.el (crisp-mode-modeline-string):
3484 * eshell/esh-mode.el (eshell-status-in-modeline):
3485 Aliases to defcustoms must come before the defcustom.
3486
3487 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
3488 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
3489 (cal-tex-cursor-week-monday): Doc fixes.
3490 (cal-tex-cursor-week2-summary): Doc fix.
3491 Rename from cal-tex-cursor-week-at-a-glance.
3492
3493 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
3494 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
3495
3496 * calendar/calendar.el (calendar-mode-map):
3497 Add cal-tex-cursor-week2-summary.
3498
3499 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
3500
3501 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
3502
3503 * subr.el (read-passwd-map): New var.
3504 (read-passwd): Use `read-string' again.
3505 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
3506
3507 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
3508
3509 * register.el (append-to-register, prepend-to-register):
3510 Deactivate mark, as does `copy-to-register' (bug#12389).
3511
3512 2012-10-06 Chong Yidong <cyd@gnu.org>
3513
3514 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
3515
3516 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
3517
3518 * international/characters.el: Fix simple mistake ((car chars) ->
3519 elt), delete duplicated code.
3520
3521 2012-10-06 Glenn Morris <rgm@gnu.org>
3522
3523 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
3524
3525 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
3526
3527 * color.el (color-hsl-to-rgb): Fix incorrect results for
3528 small and large hue values. (Bug#12559)
3529
3530 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
3531
3532 Enhancements to docstring formatting when filling paragraphs.
3533 * progmodes/python.el (python-fill-docstring-style): Rename from
3534 python-fill-string-style. Added new style.
3535 (python-fill-string): Use new style. Better checks for
3536 docstrings.
3537
3538 2012-10-05 Glenn Morris <rgm@gnu.org>
3539
3540 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
3541
3542 * color.el (color-name-to-rgb, color-rgb-to-hex)
3543 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
3544 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
3545 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3546 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
3547
3548 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
3549
3550 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
3551
3552 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
3553 to get the correct size across symlinks.
3554
3555 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
3556
3557 2012-10-04 Juri Linkov <juri@jurta.org>
3558
3559 * replace.el (query-replace-interactive): Declare obsolete.
3560 (query-replace-read-from): Add the last incremental search string
3561 to the list of default values accessible via M-n.
3562 (map-query-replace-regexp): Use `read-regexp'.
3563 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3564 (map-query-replace-regexp, replace-string, replace-regexp):
3565 Fix docstrings to replace mentions of `query-replace-interactive'
3566 with alternatives. (Bug#12526)
3567
3568 2012-10-04 Juri Linkov <juri@jurta.org>
3569
3570 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
3571 (dired-pop-to-buffer): Declare obsolete.
3572 (dired-mark-pop-up): Doc fix.
3573
3574 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
3575
3576 Allow user to set docstring style for fill-paragraph.
3577 * progmodes/python.el
3578 (python-fill-comment-function, python-fill-string-function)
3579 (python-fill-decorator-function, python-fill-paren-function):
3580 Remove :safe for defcustoms.
3581 (python-fill-string-style): New defcustom
3582 (python-fill-paragraph-function): Enhance context detection.
3583 (python-fill-string): Honor python-fill-string-style settings.
3584
3585 2012-10-04 Martin Rudalics <rudalics@gmx.at>
3586
3587 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
3588 after setting its buffer (Bug#10805).
3589
3590 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
3591
3592 Fix cornercase for string syntax.
3593 * progmodes/python.el (python-syntax-propertize-function):
3594 Simplify and enhance the regexp for unescaped quotes. Now it also
3595 matches quotes in weird situations like the single quote in
3596 "something\"'".
3597 (python-syntax-stringify): Simplify num-quotes detecting code.
3598
3599 2012-10-03 Glenn Morris <rgm@gnu.org>
3600
3601 * help-macro.el (three-step-help):
3602 Revert 2012-09-29 change. (Bug#12567)
3603
3604 2012-10-03 Martin Rudalics <rudalics@gmx.at>
3605
3606 * menu-bar.el (kill-this-buffer): Don't do anything when
3607 `menu-frame' is not alive or visible (Bug#8184).
3608
3609 * emacs-lisp/debug.el (debug): When quitting the debugger window
3610 restore current buffer (Bug#12502).
3611
3612 2012-10-02 Chong Yidong <cyd@gnu.org>
3613
3614 * progmodes/hideif.el (hif-lookup, hif-defined):
3615 Handle semantic-c-takeover-hideif.
3616
3617 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
3618
3619 Change sampling interval units from ms to ns.
3620 * profiler.el (profiler-sampling-interval): Change units
3621 from ms to ns, multiplying the default by 1000000 so that
3622 it remains 1 ms.
3623 (profiler-report-cpu-line-format): Give enough room for
3624 the maximum counters on 64-bit hosts.
3625 (profiler-report-render-calltree-1): Call them "CPU samples",
3626 not "Time (ms)", since they are not milliseconds now (and
3627 never really were).
3628
3629 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
3630
3631 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
3632 Fix querying BBDB for entries without a last name (Bug#11580).
3633
3634 2012-10-02 Chong Yidong <cyd@gnu.org>
3635
3636 * emacs-lisp/eieio.el: Restore Version header.
3637
3638 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3639
3640 * vc/diff-mode.el (diff--auto-refine-data): New var.
3641 (diff-hunk): Use it to delay refinement.
3642 (diff-mode): Remove overlays when we turn off font-lock.
3643
3644 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
3645 (table-initialize-table-fixed-width-mode)
3646 (table-set-table-fixed-width-mode): Remove functions.
3647 (table-command-list): Move initialization into declaration.
3648 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
3649 (table-with-cache-buffer): Use `declare'.
3650 (table-span-cell): Simplify via CSE.
3651 (table-fixed-width-mode): Use define-minor-mode.
3652 (table-call-interactively, table-funcall, table-apply): Remove.
3653 (table-function): New function, to replace them.
3654
3655 * bookmark.el (bookmark-search-pattern): Remove var.
3656 (bookmark-read-search-input): Remove function.
3657 (bookmark-bmenu-search): Reimplement using a minibuffer.
3658
3659 * faces.el (modeline): Remove obsolete face name.
3660
3661 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
3662 and give a non-nil default value.
3663 (add-change-log-entry): Simplify accordingly.
3664
3665 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
3666
3667 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
3668 (vc-git-log-edit-toggle-amend): New function.
3669 (vc-git-log-edit-toggle-signoff): New function.
3670 (vc-git-log-edit-mode): New major mode.
3671 (vc-git-log-edit-mode-map): Keymap for it.
3672 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
3673
3674 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
3675 header names.
3676 (log-edit-toggle-header): New function.
3677 (log-edit-extract-headers): Accept function values in HEADERS alist.
3678
3679 2012-10-01 David Engster <deng@randomsample.de>
3680
3681 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
3682 from symbol property and change message to be more consistent with
3683 Emacs proper.
3684 (eieio-describe-generic): Add filename for each implementation.
3685 Fix indices for generic and normal methods.
3686 (eieio-method-def, eieio-class-def): New buttons.
3687 (eieio-help-find-method-definition)
3688 (eieio-help-find-class-definition): New functions.
3689 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
3690 class, constructor and method definitions.
3691
3692 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
3693 information in symbol property.
3694 (scoped-class): Remove.
3695 (eieio-slot-name-index, call-next-method): Check if it is bound.
3696
3697 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
3698
3699 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
3700 (eieio-custom-mode): New major mode.
3701 (eieio-customize-object): Use it.
3702
3703 2012-10-01 Eric Ludlam <zappo@gnu.org>
3704
3705 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
3706 specifying the expected class, and whether subclassing is allowed.
3707 (eieio-persistent-convert-list-to-object):
3708 (eieio-persistent-validate/fix-slot-value)
3709 (eieio-persistent-slot-type-is-class-p): New functions.
3710 (eieio-named::slot-missing): Doc fix.
3711
3712 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
3713 Stop using unused publd variable.
3714
3715 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
3716 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
3717 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
3718 (eieio-speedbar-handle-click): Do not specify a class for the
3719 method. Fixes method invocation order problems with EDE.
3720
3721 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3722
3723 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
3724 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
3725
3726 2012-10-01 Karl Fogel <kfogel@red-bean.com>
3727
3728 * bookmark.el (bookmark-version-control): Give tags in the
3729 :type choices (Bug#12309), and improve doc string.
3730 (bookmark-write-file): Bind `print-circle' to `t' to allow
3731 circular custom bookmark types. (Bug#12503)
3732
3733 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
3734
3735 Revert the FOLLOW-SYMLINKS change for file-attributes.
3736 * files.el (remote-file-name-inhibit-cache, after-find-file):
3737 * time.el (display-time-file-nonempty-p): Undo last change.
3738
3739 * profiler.el (profiler-sampling-interval): Change default back to 1.
3740 See Stefan Monnier in
3741 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
3742
3743 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
3744
3745 Shell output catching a la gud-gdb.
3746 * progmodes/python.el (python-shell-fetch-lines-in-progress)
3747 (python-shell-fetch-lines-string, python-shell-fetched-lines):
3748 New Vars.
3749 (python-shell-fetch-lines-filter): New function.
3750 (python-shell-send-string-no-output): Use them.
3751
3752 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
3753
3754 * profiler.el (profiler-sampling-interval): Rename from
3755 profiler-sample-interval.
3756 (profiler-sampling-interval): Default to 10.
3757 (profiler-find-profile): New command (was profiler-find-log).
3758 (profiler-find-profile-other-window): New command.
3759 (profiler-find-profile-other-frame): New command.
3760 (profiler-profile): Introduce API-level data structure.
3761
3762 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
3763
3764 file-attributes has a new optional arg FOLLOW-SYMLINKS.
3765 * files.el (remote-file-name-inhibit-cache):
3766 * time.el (display-time-file-nonempty-p): Use it.
3767 * files.el (after-find-file): Don't chase links before calling
3768 file-exists-p, as file-exists-p already does the right thing.
3769
3770 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
3771
3772 Merge from standalone RefTeX repository.
3773
3774 The following ChangeLog entries are shortened versions of the
3775 original ones with file paths adapted. A not so strongly edited
3776 version of the original ChangeLog can be found in the commit log.
3777
3778 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
3779 (reftex-arg-cite): Use `reftex-cite-key-separator'.
3780 Correctly handle new value type returned by `reftex-citation'.
3781
3782 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
3783 that entries with whitespace at various places are found.
3784 Doc fix. Include entries that are cross-referenced from cited entries.
3785 Include @String definitions in the resulting bib file. Add header
3786 and footer defined in `reftex-create-bibtex-header' and
3787 `reftex-create-bibtex-footer'.
3788 (reftex-do-citation): Make it possible again to insert
3789 non-existent entries. Save match data when asking for optional
3790 arguments. Return all keys, not just the first one.
3791 (reftex-all-used-citation-keys): Fix regexp to correctly extract
3792 all citations in the same line.
3793 (reftex-parse-bibtex-entry): Accept additional optional argument
3794 `raw' and keep quotes or braces if it is non-nil. Match fields
3795 containing hyphens besides word constituents.
3796 (reftex-get-string-refs): New function.
3797 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
3798 and ask if it should be reread in case it did.
3799 (reftex-pop-to-bibtex-entry)
3800 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
3801 entries with spaces or tabs in front of arguments.
3802 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
3803 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
3804 Match entries containing numbers and symbol constituents.
3805 (reftex-do-citation, reftex-figure-out-cite-format):
3806 Use `reftex-cite-key-separator'.
3807
3808 * textmodes/reftex-dcr.el: Move provide statement to end of file.
3809 (reftex-mouse-view-crossref): Explain why point is set.
3810
3811 * textmodes/reftex-global.el: Whitespace changes.
3812
3813 * textmodes/reftex-index.el: Move provide statement to end of
3814 file.
3815 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
3816 (reftex-index-visit-phrases-buffer): Set marker when visiting
3817 buffer. This allows for returning from the phrases file to the
3818 file one was just editing instead of the file where the last
3819 phrases was added from.
3820 (reftex-index-phrases-syntax-table): New variable. Give ?\"
3821 punctuation syntax as it usually is not used as string quote in
3822 TeX-related modes and may occur unmatched. The change also
3823 prevents fontification of quoted content.
3824 (reftex-index-phrases-mode): Use it.
3825
3826 * textmodes/reftex-parse.el (reftex-parse-from-file):
3827 Move backward one char if a `\' was matched after a section macro.
3828 (reftex-parse-from-file): Use beginning of match instead of end as
3829 bound.
3830
3831 * textmodes/reftex-ref.el: Adapt creation of
3832 `reftex-<package>-<macro>' functions to new structure of
3833 `reftex-ref-style-alist'.
3834 (reftex-reference): Use `reftex-ref-style-list' function.
3835 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
3836 reference macro if `reftex-ref-macro-prompt' is non-nil.
3837 (reftex-reference): Pass refstyle to `reftex-format-special'.
3838 Determine reference macro by looking at
3839 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
3840 Use only one special format function.
3841 (reftex-varioref-vref, reftex-fancyref-fref)
3842 (reftex-fancyref-Fref): Remove definitions. The functions are now
3843 generated from `reftex-ref-style-alist'.
3844 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
3845 Remove.
3846 (reftex-format-special): New function.
3847
3848 * textmodes/reftex-sel.el
3849 (reftex-select-cycle-ref-style-internal): Adapt to new structure
3850 of `reftex-ref-style-alist'. Remove code for testing macro type.
3851 (reftex-select-toggle-varioref)
3852 (reftex-select-toggle-fancyref): Remove.
3853 (reftex-select-cycle-ref-style-internal)
3854 (reftex-select-cycle-ref-style-forward)
3855 (reftex-select-cycle-ref-style-backward): New functions.
3856 (reftex-select-label-map): Use `v' and `V' for general cycling
3857 through reference styles. Add `p' for switching between number
3858 and page reference types.
3859
3860 * textmodes/reftex-toc.el (reftex-re-enlarge):
3861 Call `enlarge-window' only if there is something to do because in Emacs
3862 the horizontal version throws an error even if the parameter is 0.
3863
3864 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
3865 (reftex-plug-into-AUCTeX): Doc fix.
3866 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
3867 string. Adapt to new name.
3868 (reftex-ref-style-alist): Change structure so that it is not
3869 possible to use multiple different package names within a style.
3870 Remove the symbols for symbols for macro type distinction.
3871 Add characters for macro selection.
3872 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
3873 (reftex-create-bibtex-footer): New variables.
3874 (reftex-format-ref-function): Mention third argument of special
3875 format function.
3876 (reftex-ref-style-alist, reftex-ref-style-default-list):
3877 New variables.
3878 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
3879 to new implementation. Mark as obsolete. Add compatibility code
3880 for honoring the variable values in case they are set.
3881 (reftex-cite-format-builtin, reftex-bibliography-commands):
3882 Add support for ConTeXt.
3883 (reftex-format-ref-function, reftex-format-cite-function):
3884 Fix custom type.
3885 (reftex-cite-key-separator): New variable.
3886
3887 * textmodes/reftex.el (reftex-syntax-table-for-bib)
3888 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
3889 `reftex-syntax-table' because parens have to retain their paren
3890 syntax in order for parsing of BibTeX entries like @book(...) to
3891 work.
3892 (reftex-in-comment): Do not error out if `comment-start-skip' is
3893 not set. Deal correctly with escaped comment characters.
3894 (reftex-tie-multifile-symbols): Add doc string.
3895 Initialize `reftex-ref-style-list'.
3896 (reftex-untie-multifile-symbols): Add doc string.
3897 (reftex-add-index-macros): Doc fix.
3898 (reftex-ref-style-activate, reftex-ref-style-toggle)
3899 (reftex-ref-style-list): New functions.
3900 (reftex-mode-menu): Use them. Adapt to new structure of
3901 `reftex-ref-style-alist'.
3902 (reftex-select-with-char): Kill the RefTeX Select buffer when
3903 done.
3904 (reftex-remove-if): New function.
3905 (reftex-erase-all-selection-and-index-buffers)
3906 (reftex-mode-menu): Reference styles are now computed from
3907 `reftex-ref-style-alist'. Fix typo.
3908 (reftex-report-bug): New function.
3909 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
3910 algorithms with O(n log n). Introduce optional argument SORT (not
3911 yet used).
3912
3913 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
3914
3915 Enhancements for triple-quote string syntax.
3916 * progmodes/python.el (python-syntax-propertize-function):
3917 Match both quote cases in one regexp.
3918 (python-syntax-stringify): Handle matches properly.
3919
3920 2012-09-30 Juri Linkov <juri@jurta.org>
3921
3922 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
3923 to nil around the call to `insert' to prevent
3924 directory time modification by lock_file. (Bug#2295)
3925 * tar-mode.el (tar-summarize-buffer): Idem.
3926
3927 2012-09-30 Juri Linkov <juri@jurta.org>
3928
3929 * facemenu.el (list-colors-sort): Add option "Luminance".
3930 (list-colors-sort-key): Implement it.
3931
3932 * vc/diff-mode.el (diff-refine-removed):
3933 * vc/ediff-init.el (ediff-fine-diff-A):
3934 * vc/smerge-mode.el (smerge-refined-removed):
3935 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
3936
3937 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
3938
3939 * term/ns-win.el (x-file-dialog): New function.
3940
3941 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
3942
3943 * ido.el (ido-max-directory-size): Default to nil; the current
3944 default is small for POSIX systems, and impractical on Windows 7
3945 now that lstat returns directory sizes for NTFS.
3946
3947 2012-09-30 Martin Rudalics <rudalics@gmx.at>
3948
3949 In buffer display functions handle window-height/window-width
3950 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
3951 * window.el (window--display-buffer): New argument ALIST.
3952 Obey window-height and window-width alist entries.
3953 (window--try-to-split-window): New argument ALIST.
3954 Bind window-combination-limit to t when the window's size shall be
3955 changed and window-combination-limit equals `window-size'.
3956 (display-buffer-in-atom-window)
3957 (display-buffer-in-major-side-window)
3958 (display-buffer-in-side-window, display-buffer-same-window)
3959 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3960 (display-buffer-pop-up-window, display-buffer-below-selected)
3961 (display-buffer-at-bottom, display-buffer-in-previous-window)
3962 (display-buffer-use-some-window): Adjust all callers of
3963 window--display-buffer and window--try-to-split-window.
3964 (fit-frame-to-buffer): New option.
3965 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
3966 is non-nil.
3967 (display-buffer-in-major-side-window): Evaluate window-height /
3968 window-width alist entries.
3969
3970 * help.el (temp-buffer-resize-frames)
3971 (temp-buffer-resize-regexps): Remove options.
3972 (temp-buffer-resize-mode): Adjust doc-string.
3973 (resize-temp-buffer-window): Don't consult
3974 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
3975 temp-buffer-resize-frames.
3976
3977 * dired.el (dired-mark-pop-up):
3978 Call display-buffer-below-selected with a fit-window-to-buffer alist
3979 entry.
3980
3981 2012-09-30 Chong Yidong <cyd@gnu.org>
3982
3983 * server.el (server-host): Document the security implications.
3984 (server-auth-key): Doc fix.
3985
3986 * startup.el (initial-buffer-choice): Doc fix.
3987
3988 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
3989
3990 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
3991 restriction change.
3992
3993 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
3994
3995 * help-fns.el (help-fns--obsolete): Fix last change.
3996
3997 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
3998
3999 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
4000 (minor-mode-map-alist): Remove redundant code.
4001
4002 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
4003 visited in a buffer.
4004 (cvs-insert-visited-file): New function.
4005 (find-file-hook): Use it.
4006
4007 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
4008
4009 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
4010 chose face.
4011 (log-edit-empty-buffer-p): Don't require a space after a header.
4012
4013 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
4014
4015 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
4016
4017 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
4018 a proper minor-mode.
4019
4020 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
4021
4022 2012-09-29 Glenn Morris <rgm@gnu.org>
4023
4024 * winner.el (winner-mode): Remove variable (let define-minor-mode
4025 handle it).
4026 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
4027 Doc fixes.
4028 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
4029 (winner-mode): Use define-minor-mode.
4030
4031 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
4032 the full definition in loaddefs, rather than duplicating it.
4033
4034 * help-macro.el (three-step-help): No need to autoload defcustom.
4035
4036 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
4037 (inferior-lisp-program, inferior-lisp-load-command)
4038 (inferior-lisp-prompt, inferior-lisp-mode-hook):
4039 No need to autoload defcustoms.
4040
4041 * hippie-exp.el (hippie-expand-try-functions-list)
4042 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
4043 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
4044 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
4045 (hippie-expand-only-buffers): No need to autoload defcustoms.
4046 * progmodes/vhdl-mode.el (vhdl-line-expand):
4047 Explicitly load hippie-exp, so it does not get autoloaded
4048 while hippie-expand-try-functions-list is let-bound.
4049
4050 2012-09-28 Glenn Morris <rgm@gnu.org>
4051
4052 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
4053
4054 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
4055 Only "cl.el" counts as cl these days.
4056
4057 2012-09-28 Juri Linkov <juri@jurta.org>
4058
4059 Display archive errors in the echo area instead of inserting
4060 to the file buffer.
4061
4062 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
4063 to STDERR-TEST that can be a regexp matching a successful output.
4064 Create a temporary file and redirect stderr to it. Search for
4065 STDERR-TEST in the stderr output and display it in the echo area
4066 if no match is found.
4067 (archive-extract-by-file): New function like
4068 `archive-extract-by-stdout' but extracting archives to files
4069 and looking for successful matches in stdout. Function body is
4070 mostly copied from `archive-rar-extract'.
4071 (archive-rar-extract): Use `archive-extract-by-file'.
4072 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
4073
4074 2012-09-28 Leo Liu <sdl.web@gmail.com>
4075
4076 * pcomplete.el (pcomplete-show-completions):
4077 Use minibuffer-message to make pcomplete usable in minibuffer.
4078
4079 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
4080
4081 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4082
4083 * type-break.el: Use lexical-binding.
4084 (type-break-mode): Use define-minor-mode.
4085
4086 * emacs-lisp/pcase.el (pcase--mark-used): New.
4087 (pcase--u1): Use it (bug#12512).
4088
4089 * custom.el (load-theme): Set buffer-file-name so the load is recorded
4090 in load-history with the right file name.
4091
4092 2012-09-28 Tassilo Horn <tsdh@gnu.org>
4093
4094 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
4095 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
4096 (doc-view-get-bounding-box): Make bounding box slicing work for
4097 ODF and DVI documents.
4098
4099 2012-09-28 Glenn Morris <rgm@gnu.org>
4100
4101 * type-break.el (type-break-mode, type-break-interval)
4102 (type-break-good-rest-interval, type-break-keystroke-threshold):
4103 No need to autoload.
4104 (type-break-good-rest-interval, type-break-keystroke-threshold):
4105 Add :set-after.
4106
4107 2012-09-28 Chong Yidong <cyd@gnu.org>
4108
4109 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
4110 Add :version tag.
4111
4112 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4113
4114 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
4115
4116 2012-09-27 Glenn Morris <rgm@gnu.org>
4117
4118 * faces.el (x-display-name): Declare (for without-x builds).
4119
4120 * linum.el (linum-format): Don't autoload it. Improve :type.
4121
4122 * progmodes/tcl.el: Don't require outline when compiling.
4123 (outline-regexp, outline-level): Declare.
4124 * textmodes/sgml-mode.el: Don't require outline when compiling.
4125 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
4126
4127 * term.el (term-ansi-reset):
4128 Try setting term-ansi-face-already-done to nil. (Bug#11785)
4129
4130 * vc/vc.el (vc-next-action): Only gripe about committing read-only
4131 files for RCS and SCCS. (Bug#9781)
4132
4133 2012-09-27 Chong Yidong <cyd@gnu.org>
4134
4135 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
4136 change; value should be t.
4137
4138 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4139
4140 * image-mode.el: Use lexical-binding.
4141 (image-mode-winprops): Use t to stand for the window of
4142 a buffer that's not displayed.
4143 * doc-view.el (doc-view-new-window-function): Handle the new
4144 t in winprops.
4145 (doc-view-enlarge): Make it a real nop if the size is not changed.
4146 (doc-view-display): Handle the case where the buffer is not (yet?)
4147 displayed in any window.
4148 (doc-view-saved-settings): New var.
4149 (doc-view-mode): Use it.
4150 (doc-view-fallback-mode): Set it.
4151
4152 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
4153 Set lexical-binding.
4154 (minibuffer-eldef-shorten-default): New var.
4155 (minibuffer-default-in-prompt-regexps): Use it for new default.
4156 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
4157
4158 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
4159
4160 * international/uni-bidi.el:
4161 * international/uni-category.el:
4162 * international/uni-name.el:
4163 * international/uni-numeric.el: Regenerate.
4164
4165 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
4166 Stefan Monnier <monnier@iro.umontreal.ca>
4167
4168 * profiler.el: New file.
4169
4170 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4171
4172 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
4173 (testcover-reinstrument): Simplify with CSE.
4174
4175 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
4176
4177 * window.el (temp-buffer-window-setup): Fix typo in docstring.
4178
4179 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
4180
4181 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
4182 (verilog-auto-input, verilog-auto-insert-lisp)
4183 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
4184 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
4185 (verilog-auto-unused, verilog-auto-wire)
4186 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
4187 newline. Reported by Andrew Jones.
4188 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
4189 Reported by Brad Dobbie.
4190 (verilog-batch-delete-trailing-whitespace):
4191 Create verilog-batch-delete-trailing-whitespace.
4192 Reported by Brad Dobbie.
4193 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
4194 parameters from another module. Reported by Dan Katz.
4195 (verilog-auto, verilog-auto-assign-modport)
4196 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
4197 AUTOINOUTMODPORT for UVM interface module shell generation.
4198 Reported by Brad Dobbie.
4199 (verilog-auto-inst-interfaced-ports): Make default nil, as more
4200 standard behavior.
4201 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
4202 Reported by Matt Martin.
4203
4204 2012-09-25 Martin Rudalics <rudalics@gmx.at>
4205
4206 * window.el (window--resize-child-windows): When resizing child
4207 windows proportionally, process them in reverse order to
4208 preserve the "when splitting a window the new one gets the odd
4209 line" behavior.
4210 (window--resize-root-window-vertically): When resizing the
4211 minibuffer window try to affect only windows at the bottom of the
4212 frame. (Bug#12419)
4213
4214 2012-09-25 Chong Yidong <cyd@gnu.org>
4215
4216 * subr.el (declare): Doc fix.
4217
4218 * help-fns.el (help-fns--obsolete): Handle macros properly.
4219
4220 2012-09-25 Chong Yidong <cyd@gnu.org>
4221
4222 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
4223 this function obsolete.
4224
4225 * calendar/cal-x.el (calendar-two-frame-setup)
4226 (calendar-only-one-frame-setup, calendar-one-frame-setup):
4227 * calendar/calendar.el (american-calendar, european-calendar)
4228 (calendar-for-loop):
4229 * comint.el (comint-dynamic-simple-complete)
4230 (comint-dynamic-complete-as-filename, comint-unquote-filename):
4231 * desktop.el (desktop-load-default):
4232 * dired-x.el (dired-omit-here-always)
4233 (dired-hack-local-variables, dired-default-directory):
4234 * emacs-lisp/derived.el (derived-mode-class):
4235 * emacs-lisp/timer.el (timer-set-time-with-usecs):
4236 * emacs-lock.el (toggle-emacs-lock):
4237 * epa.el (epa-display-verify-result):
4238 * epg.el (epg-sign-keys, epg-start-sign-keys)
4239 (epg-passphrase-callback-function):
4240 * eshell/esh-util.el (eshell-for):
4241 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
4242 (eshell-add-to-window-buffer-names):
4243 * files.el (locate-file-completion):
4244 * imenu.el (imenu-example--create-c-index)
4245 (imenu-example--create-lisp-index)
4246 (imenu-example--lisp-extract-index-name)
4247 (imenu-example--name-and-position):
4248 * international/mule-cmds.el (princ-list):
4249 * international/mule-diag.el (decode-codepage-char):
4250 * international/mule-util.el (detect-coding-with-priority):
4251 * iswitchb.el (iswitchb-read-buffer):
4252 * mail/mailalias.el (mail-complete):
4253 * mail/sendmail.el (mail-sent-via):
4254 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
4255 (mouse-major-mode-menu):
4256 * password-cache.el (password-read-and-add):
4257 * pcomplete.el (pcomplete-parse-comint-arguments):
4258 * progmodes/sh-script.el (sh-maybe-here-document):
4259 * replace.el (query-replace-regexp-eval):
4260 * savehist.el (savehist-load):
4261 * simple.el (choose-completion-delete-max-match):
4262 * term.el (term-dynamic-simple-complete):
4263 * vc/ediff-init.el (ediff-check-version):
4264 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
4265 * vc/vc.el (vc-diff-switches-list):
4266 * view.el (view-return-to-alist-update): Likewise.
4267
4268 * subr.el (eval-next-after-load, makehash, insert-string)
4269 (assoc-ignore-representation, assoc-ignore-case): Use declare to
4270 mark obsolete.
4271 (mode-line-inverse-video): Variable deleted.
4272
4273 * international/mule-util.el (string-to-sequence): Remove.
4274
4275 * calendar/calendar.el (calendar-version):
4276 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
4277 (icalendar-convert-diary-to-ical):
4278 * cus-edit.el (custom-mode):
4279 * ansi-color.el (ansi-color-unfontify-region):
4280 * international/latin1-disp.el (latin1-char-displayable-p):
4281 * progmodes/cwarn.el (turn-on-cwarn-mode):
4282 * progmodes/which-func.el (which-func-update-1):
4283 Use define-obsolete-function-alias.
4284
4285 * net/newst-backend.el (newsticker-cache-filename):
4286 * net/newst-treeview.el (newsticker-groups-filename):
4287 Fix incorrect obsolescence declaration.
4288
4289 * allout.el (allout-passphrase-hint-string): Likewise.
4290 (allout-init): Use a declare form to mark obsolete.
4291
4292 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
4293 this applies to functions.
4294
4295 * iswitchb.el (iswitchb-read-buffer): Move code of
4296 iswitchb-define-mode-map here, and delete that obsolete function.
4297
4298 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
4299 font-lock-reference-face.
4300
4301 2012-09-25 Glenn Morris <rgm@gnu.org>
4302
4303 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
4304 Doc fixes.
4305
4306 * eshell/em-term.el (eshell-term-name):
4307 Default to term-term-name. (Bug#12485)
4308
4309 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4310
4311 * progmodes/python.el (python-shell-send-buffer): Better handling
4312 of "if __name__ == '__main__':" conditionals when sending the buffer.
4313
4314 2012-09-24 Glenn Morris <rgm@gnu.org>
4315
4316 * eshell/esh-cmd.el (eshell-find-alias-function):
4317 Tighten up file-name regexp. (Bug#12499)
4318
4319 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4320
4321 Enhancements for triple-quote string syntax.
4322 * progmodes/python.el (python-quote-syntax): Remove.
4323 (python-syntax-propertize-function): New value.
4324 (python-syntax-count-quotes, python-syntax-stringify):
4325 New functions.
4326
4327 2012-09-24 Chong Yidong <cyd@gnu.org>
4328
4329 * mail/supercite.el (sc-version): Remove obsolete function.
4330 (sc-describe): Don't mark as obsolete, since it is bound.
4331 (sc-submit-bug-report): Remove.
4332
4333 * vc/log-edit.el (cvs-changelog-full-paragraphs)
4334 (cvs-commit-buffer-require-final-newline): Remove.
4335 (log-edit-require-final-newline)
4336 (log-edit-changelog-full-paragraphs): Default to t.
4337
4338 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
4339 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
4340 * vc/vc.el (vc-checkout-carefully): Likewise.
4341
4342 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
4343 (emerge-version): Remove.
4344
4345 * progmodes/compile.el (compile-internal): Remove.
4346 (compilation-parse-errors-function): Fix typo.
4347
4348 * international/mule.el (set-char-table-default): Remove.
4349 (set-coding-priority, make-coding-system, generic-char-p)
4350 (charset-list, charset-bytes, charset-id): Use declare to mark
4351 functions as obsolete.
4352
4353 * vc/pcvs-defs.el (cvs-buffer-name-alist)
4354 (cvs-invert-ignore-marks): Remove references to obsolete vars.
4355 * vc/vc-hooks.el (vc-default-registered): Don't use
4356 vc-master-templates.
4357
4358 * font-lock.el (font-lock-reference-face):
4359 Use define-obsolete-variable-alias.
4360
4361 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
4362 * calendar/calendar.el (calendar-font-lock-keywords):
4363 * calendar/diary-lib.el (diary-font-lock-keywords)
4364 (diary-fancy-font-lock-keywords):
4365 * textmodes/reftex-sel.el (reftex-insert-docstruct):
4366 * textmodes/reftex-index.el (reftex-insert-index):
4367 * textmodes/reftex-cite.el (reftex-format-bib-entry):
4368 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4369 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
4370 * progmodes/prolog.el (prolog-font-lock-keywords):
4371 * progmodes/idlwave.el (idlwave-idl-keywords):
4372 * progmodes/ada-mode.el (ada-font-lock-keywords):
4373 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
4374
4375 2012-09-24 Glenn Morris <rgm@gnu.org>
4376
4377 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
4378
4379 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
4380
4381 * progmodes/python.el (python-indent-line): More consistent cursor
4382 movement behavior.
4383
4384 2012-09-23 Stefan Merten <smerten@oekonux.de>
4385
4386 * textmodes/rst.el: Fix compiler warning.
4387
4388 2012-09-23 Roland Winkler <winkler@gnu.org>
4389
4390 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
4391 Transcribe also LaTeX hyphenation.
4392 (bibtex-reformat): Bug fix. Do not quote twice the elements of
4393 bibtex-reformat-previous-options.
4394
4395 2012-09-23 Roland Winkler <winkler@gnu.org>
4396
4397 * proced.el (proced-renice-command): New variable.
4398 (proced-marked-processes): New function.
4399 (proced-with-processes-buffer): New macro.
4400 (proced-send-signal): Use them.
4401 (proced-renice): New command bound to r.
4402
4403 2012-09-23 Roland Winkler <winkler@gnu.org>
4404
4405 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
4406 ibuffer-saved-filter-groups has one element, shortcut the call of
4407 completing-read. (Bug#12331)
4408
4409 2012-09-23 Chong Yidong <cyd@gnu.org>
4410
4411 * bindings.el (mode-line-toggle-read-only):
4412 * bs.el (bs-toggle-readonly):
4413 * buff-menu.el (Buffer-menu-toggle-read-only):
4414 * dired.el (dired-toggle-read-only):
4415 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
4416
4417 2012-09-23 Chong Yidong <cyd@gnu.org>
4418
4419 * image.el (image-type-available-p): Adapt to init-image-library
4420 argument changes.
4421
4422 2012-09-22 Juri Linkov <juri@jurta.org>
4423
4424 * dired.el (dired-mode-map): Add [remap read-only-mode] for
4425 `dired-toggle-read-only'. (Bug#12462)
4426
4427 2012-09-22 Martin Rudalics <rudalics@gmx.at>
4428
4429 * subr.el (temp-output-buffer-show): New function.
4430 (with-output-to-temp-buffer): Call temp-output-buffer-show
4431 instead of internal-temp-output-buffer-show.
4432
4433 2012-09-22 Chong Yidong <cyd@gnu.org>
4434
4435 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
4436 (Bug#12462).
4437
4438 * repeat.el (repeat): Doc fix (Bug#12348).
4439
4440 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
4441 (Bug#10909).
4442
4443 * simple.el (shell-command-on-region): Doc fix.
4444 (read-only-mode): Doc fix.
4445
4446 2012-09-22 Eli Zaretskii <eliz@gnu.org>
4447
4448 * emacs-lisp/timer.el (run-with-idle-timer)
4449 (timer-activate-when-idle): Warn against reinvoking an idle timer
4450 from within its own timer action. (Bug#12447)
4451
4452 2012-09-22 Martin Rudalics <rudalics@gmx.at>
4453
4454 * cus-start.el (window-combination-limit): Add new optional
4455 values.
4456 * window.el (temp-buffer-window-show)
4457 (window--try-to-split-window): Handle new values of
4458 window-combination-limit (Bug#1806).
4459 (split-window): Test window-combination-limit for t instead of
4460 non-nil.
4461 (display-buffer-at-bottom): New buffer display action function.
4462 * help.el (temp-buffer-resize-regexps): New option.
4463 (temp-buffer-resize-mode): Rewrite doc-string.
4464 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
4465 Don't resize reused window. Suggested by Glenn Morris.
4466
4467 2012-09-22 Stefan Merten <smerten@oekonux.de>
4468
4469 * textmodes/rst.el: Revamp section title faces.
4470 (rst-official-version)
4471 (rst-package-emacs-version-alist): Sync with official version
4472 V1.4.0.
4473 (rst-faces-defaults, rst-set-level-default)
4474 (rst-level-face-max, rst-level-face-base-color)
4475 (rst-level-face-base-light, rst-level-face-format-light)
4476 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
4477 (rst-adornment-faces-alist): Match new setup.
4478 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
4479 (rst-level-5, rst-level-6): New faces.
4480
4481 2012-09-22 Chong Yidong <cyd@gnu.org>
4482
4483 * simple.el (undo): Handle indirect buffers (Bug#8207).
4484
4485 2012-09-21 Leo Liu <sdl.web@gmail.com>
4486
4487 IDO: Disable match re-ordering for buffer switching.
4488 * ido.el (ido-buffer-disable-smart-matches): New variable.
4489 (ido-set-matches-1): Use it. (Bug#2042)
4490
4491 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
4492
4493 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
4494 Fix 2011-05-17 change. (Bug#12418)
4495
4496 2012-09-21 Leo Liu <sdl.web@gmail.com>
4497
4498 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
4499
4500 2012-09-21 Glenn Morris <rgm@gnu.org>
4501
4502 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
4503 Be more robust about locating simple.el.
4504
4505 2012-09-21 Glenn Morris <rgm@gnu.org>
4506
4507 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
4508
4509 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
4510
4511 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
4512
4513 2012-09-20 Juri Linkov <juri@jurta.org>
4514
4515 * replace.el (query-replace-read-from): Use `read-regexp' instead
4516 of `read-from-minibuffer' when `regexp-flag' is non-nil.
4517 (occur-read-primary-args): Use `read-regexp' instead of
4518 `read-string'.
4519 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
4520 `read-from-minibuffer'.
4521 * isearch.el (isearch-occur): Use `read-regexp' instead of
4522 `read-string'.
4523 * dired.el (dired-read-regexp): Use `read-regexp' instead of
4524 `read-from-minibuffer'.
4525 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
4526 of `read-string'. (Bug#7567)
4527
4528 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
4529 and allow accepting a list of strings prepended to a list of
4530 standard default values. Doc fix. (Bug#12321)
4531
4532 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
4533
4534 * replace.el (read-regexp): Don't add ": " when PROMPT already
4535 ends with a colon and space. (Bug#12321)
4536
4537 2012-09-20 Tassilo Horn <tsdh@gnu.org>
4538
4539 * doc-view.el (doc-view-display): Better fix for the cl-assertion
4540 error.
4541
4542 2012-09-20 Stefan Merten <smerten@oekonux.de>
4543
4544 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
4545 Fixes feature request bug#11711.
4546 (rst-mode): Create `imenu-create-index-function'.
4547 (rst-get-stripped-line): Delete after refactoring.
4548 (rst-section-tree, rst-section-tree-rec)
4549 (rst-section-tree-point): Refactor and document properly.
4550 (rst-imenu-find-adornments-for-position)
4551 (rst-imenu-convert-cell, rst-imenu-create-index):
4552 New function.
4553
4554 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4555
4556 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
4557 (macroexp--expand-all): Use it.
4558 (macroexp--funcall-and-return): Remove by folding it into its sole
4559 caller (macroexp--warn-and-return).
4560 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
4561 Use macroexp--obsolete-warning.
4562
4563 * calc/calc.el: Fix last change by removing the whole chunk, since it
4564 was only needed back when Calc was not bundled.
4565
4566 2012-09-20 Martin Rudalics <rudalics@gmx.at>
4567
4568 * emacs-lisp/debug.el (debug): Restore assignment to
4569 debugger-old-buffer removed on 2012-09-08.
4570
4571 2012-09-20 Juri Linkov <juri@jurta.org>
4572
4573 * dired-aux.el (dired-diff): Remove (require 'diff) since
4574 `diff-latest-backup-file' is now autoloaded.
4575
4576 2012-09-20 Chong Yidong <cyd@gnu.org>
4577
4578 * vc/diff.el (diff-latest-backup-file): Autoload.
4579
4580 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4581
4582 * calc/calc.el: Remove redundant autoload shape check.
4583 (sel-mode): Don't defvar.
4584 (calc-get-stack-element): Add `sel-mode' arg instead.
4585 (calc-top, calc-top-list): Pass it this additional argument.
4586 * calc/calc-store.el (calc-store-map):
4587 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
4588 (calc-map-equation, calc-outer-product, calc-inner-product):
4589 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
4590
4591 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
4592
4593 2012-09-19 Juri Linkov <juri@jurta.org>
4594
4595 * dired-aux.el (dired-diff): Add (require 'diff) because
4596 `diff-latest-backup-file' is not autoloaded.
4597 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
4598 of `dired-get-filename' to t to not report error when there is
4599 no default file on the current line.
4600
4601 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4602
4603 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
4604 macroexp--eval-if-compile.
4605 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
4606 (macroexp--expand-all): Use them (bug#12371).
4607
4608 * doc-view.el (doc-view-guess-paper-size)
4609 (doc-view-scale-bounding-box): Fix unbound `caddr'.
4610
4611 2012-09-19 Tassilo Horn <tsdh@gnu.org>
4612
4613 New feature: set optimal slice from BoundingBox information.
4614 * doc-view.el (doc-view-mode-map): Add keybinding.
4615 (doc-view-menu): Add menu entry.
4616 (doc-view-set-slice): Adapt docstring.
4617 (doc-view-get-bounding-box, doc-view-guess-paper-size)
4618 (doc-view-scale-bounding-box)
4619 (doc-view-set-slice-from-bounding-box): New functions.
4620 (doc-view-paper-sizes): New defvar.
4621
4622 2012-09-19 Glenn Morris <rgm@gnu.org>
4623
4624 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
4625 (byte-compile-log-warning): Autoload. (Bug#12371)
4626
4627 * calendar/calendar.el (calendar-american-month-header)
4628 (calendar-european-month-header, calendar-iso-month-header)
4629 (calendar-month-header): New options.
4630 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
4631 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
4632
4633 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
4634
4635 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
4636
4637 2012-09-18 Juri Linkov <juri@jurta.org>
4638
4639 * dired-aux.el (dired-diff): Restore original functionality of
4640 getting the default value, but keep new feature of using the
4641 latest existing backup file (`diff-latest-backup-file').
4642
4643 2012-09-18 Juri Linkov <juri@jurta.org>
4644
4645 * dired.el (dired-mark): If the region is active in Transient Mark
4646 mode, mark all files in the active region. Doc fix.
4647 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
4648 Doc fix. (Bug#10624)
4649
4650 2012-09-18 Juri Linkov <juri@jurta.org>
4651
4652 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
4653 attributes for M-n are pulled from the file at point.
4654 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
4655 Suggested by Drew Adams. (Bug#10624)
4656
4657 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
4658
4659 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
4660 whitespace after "end".
4661 (ruby-do-end-to-brace): Collapse block to one line if it fits
4662 within fill-column.
4663
4664 2012-09-18 Martin Rudalics <rudalics@gmx.at>
4665
4666 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
4667 value.
4668 (debug): Don't remove debugger window when debugger is expected
4669 to be back.
4670
4671 2012-09-18 Chong Yidong <cyd@gnu.org>
4672
4673 * custom.el (defface): Doc fix.
4674
4675 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
4676
4677 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
4678
4679 * progmodes/compile.el (compilation-start): Use compilation-always-kill
4680 to initialize query-on-exit; then test that instead (bug#12288).
4681
4682 2012-09-17 Stefan Merten <smerten@oekonux.de>
4683
4684 * textmodes/rst.el: Add support for `testcover'.
4685 (rst-defcustom-testcover, rst-testcover-add-compose)
4686 (rst-testcover-add-1value): New functions.
4687 (rst-portable-mark-active-p): Replace by `use-region-p'.
4688 (rst-update-section, rst-classify-adornment)
4689 (rst-find-title-line): Mark `1value' forms.
4690 (rst-classify-adornment): Remove superfluous form.
4691 (rst-update-section, rst-get-adornments-around)
4692 (rst-adornment-complete-p, rst-get-next-adornment)
4693 (rst-adjust, rst-promote-region)
4694 (rst-display-adornments-hierarchy, rst-straighten-adornments)
4695 (rst-find-pfx-in-region, rst-section-tree-rec)
4696 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
4697 (rst-toc-node, rst-toc, rst-forward-section)
4698 (rst-iterate-leftmost-paragraphs)
4699 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
4700 (rst-bullet-list-region)
4701 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
4702 (rst-compile-find-conf, rst-compile)
4703 (rst-repeat-last-character): Fix style.
4704
4705 2012-09-17 Chong Yidong <cyd@gnu.org>
4706
4707 * comint.el (comint--complete-file-name-data): Don't add a space
4708 if the status is `sole'; that adds a gratuitous space in the
4709 completion-cycling case (Bug#12092).
4710
4711 * pcomplete.el (pcomplete-completions-at-point): Likewise.
4712
4713 2012-09-17 Richard Stallman <rms@gnu.org>
4714
4715 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
4716 only in the mime-shown mode, not in raw mode.
4717 (rmail-mime): Toggle off mime by displaying the message without
4718 mime processing. (Bug#12305)
4719
4720 * mail/rmail.el (rmail-retry-failure):
4721 Turn off mime processing first. (Bug#12037)
4722
4723 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
4724
4725 2012-09-17 Chong Yidong <cyd@gnu.org>
4726
4727 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
4728 (shell-dynamic-complete-functions): Convert to defcustom.
4729 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
4730
4731 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
4732 * comint.el (comint-prompt-read-only):
4733 * custom.el (defcustom):
4734 * hi-lock.el (hi-lock-mode):
4735 * ibuffer.el (ibuffer-formats):
4736 * ielm.el (ielm-prompt-read-only):
4737 * novice.el (disable-command):
4738 * saveplace.el (toggle-save-place):
4739 * speedbar.el (speedbar-supported-extension-expressions):
4740 * startup.el (auto-save-list-file-prefix, init-file-user)
4741 (after-init-hook, inhibit-startup-echo-area-message):
4742 * strokes.el (strokes-help):
4743 * time-stamp.el (time-stamp):
4744 * calendar/calendar.el (calendar, diary-file):
4745 * calendar/diary-lib.el (diary-mail-entries, diary)
4746 (diary-list-entries-hook):
4747 * calendar/holidays.el (holidays, calendar-holidays):
4748 * calendar/lunar.el (lunar-phases):
4749 * calendar/solar.el (sunrise-sunset):
4750 * emulation/edt.el (edt-load-keys):
4751 * emulation/viper.el (viper-mode):
4752 * eshell/em-alias.el (eshell-command-aliases-list):
4753 * eshell/esh-util.el (eshell-convert-numeric-arguments):
4754 * international/ogonek.el (ogonek-information):
4755 * net/tramp-cmds.el (tramp-bug):
4756 * net/quickurl.el (quickurl-reread-hook-postfix):
4757 * play/decipher.el (decipher-font-lock-keywords):
4758 * progmodes/cc-styles.el (c-set-style):
4759 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
4760 * progmodes/inf-lisp.el (inferior-lisp-prompt):
4761 * progmodes/octave-mod.el (octave-mode):
4762 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
4763 * progmodes/verilog-mode.el (verilog-read-defines):
4764 * textmodes/two-column.el (2C-mode): Likewise.
4765
4766 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
4767
4768 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
4769 that holds many addresses.
4770
4771 2012-09-16 Chong Yidong <cyd@gnu.org>
4772
4773 * align.el (align-areas): Call the indication function with
4774 positions instead of markers for arguments (Bug#12343).
4775
4776 * files.el (parse-colon-path): Use split-string (Bug#12351).
4777
4778 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4779 (display-buffer-function): Mark as obsolete.
4780
4781 * progmodes/compile.el (compilation-parse-errors): Accept list
4782 values similar to font-lock-keywords (Bug#12136).
4783 Suggested by Oleksandr Manzyuk.
4784 (compilation-error-regexp-alist): Doc fix.
4785
4786 2012-09-15 Glenn Morris <rgm@gnu.org>
4787
4788 * version.el (emacs-bzr-version-bzr): New function.
4789 (emacs-bzr-get-version): Add optional EXTERNAL argument.
4790
4791 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
4792 checkouts, check the parent dirstate matches the branch.
4793 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
4794 empty string.
4795
4796 * version.el (emacs-bzr-version): Doc fix.
4797 (emacs-bzr-version-dirstate): New function.
4798 (emacs-bzr-get-version): For lightweight checkouts, if the parent
4799 is local try and check that it matches the branch. If not, just
4800 use dirstate information. (Bug#12441)
4801
4802 2012-09-14 Juri Linkov <juri@jurta.org>
4803
4804 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
4805 (Bug#12399)
4806
4807 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4808
4809 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
4810
4811 * emacs-lisp/edebug.el: Miscellaneous cleanup.
4812 Remove obsolete byte-compiler hack that tried to silence some warnings.
4813 (edebug-submit-bug-report): Remove.
4814 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
4815 Remove aliases, use the un-prefixed name instead.
4816 (edebug-pop-to-buffer): Consider other frames.
4817 (edebug-original-read):: Make it more obvious that it's always defined.
4818 (edebug--make-form-data-entry, edebug--form-data-name)
4819 (edebug--form-data-begin, edebug--form-data-end): Rename from the
4820 single-dashed name, and implement with cl-defstruct.
4821 (edebug-set-form-data-entry): Use the standard accessors.
4822 (edebug-make-top-form-data-entry): Use push.
4823 (edebug-no-match): Drop useless `funcall'.
4824 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
4825 to functions.
4826 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
4827 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
4828 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
4829 (easy-menu-define, with-custom-print): Remove redundant specs.
4830 (edebug-outside-overriding-local-map)
4831 (edebug-outside-overriding-terminal-local-map): Remove, unused.
4832 (edebug--display): Bind unread-command-events directly to nil rather
4833 than binding it to unread-command-events and later setting it to nil.
4834 (edebug--display): Kill edebug-eval-buffer here...
4835 (edebug--recursive-edit): ...rather than here.
4836 Bind standard-output and standard-input.
4837 (edebug-eval): Check cl-macroexpand-all is fboundp.
4838 (edebug-temp-display-freq-count): Fix last change.
4839
4840 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
4841 * subr.el (noreturn, 1value): Add `debug' spec.
4842 * emacs-lisp/advice.el: Require cl-lib.
4843 (ad-copy-tree): Remove, use copy-tree instead.
4844 (ad-dolist): Remove use dolist or cl-dolist instead.
4845 (ad-do-return): Remove, use cl-return instead.
4846 (defadvice): Add `debug' spec.
4847
4848 2012-09-13 Juri Linkov <juri@jurta.org>
4849
4850 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
4851 (Bug#12399)
4852
4853 2012-09-13 Glenn Morris <rgm@gnu.org>
4854
4855 * calc/calc.el (math-compose-expr):
4856 * calc/calc-ext.el (math-compose-expr):
4857 * progmodes/cc-defs.el (cl-macroexpand-all):
4858 * progmodes/cc-langs.el (delete-duplicates, mapcan)
4859 (cl-macroexpand-all): Update declarations.
4860
4861 * vc/vc.el: No need to require ediff.
4862 (ediff-load-version-control): Declare.
4863 (ediff-vc-internal): Fix declaration.
4864 (vc-version-ediff): Require ediff.
4865
4866 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4867
4868 Use a more backwards-compatible timer format (Bug#12430).
4869 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
4870 being right after USECS, as that better supports old code that
4871 inadvisedly looked directly at the timer vector.
4872
4873 2012-09-13 Kenichi Handa <handa@gnu.org>
4874
4875 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
4876 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
4877 `coding-priority' property of these language environment.
4878
4879 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4880
4881 Fix glitches caused by addition of psec to timers (Bug#12430).
4882 * image.el (image-animate-timer):
4883 * time.el (display-time-world-timer):
4884 Use timer--function and timer--args rather than raw access to
4885 timer vector.
4886
4887 2012-09-13 Glenn Morris <rgm@gnu.org>
4888
4889 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
4890 If not compiling a file, try using load-file-name.
4891
4892 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4893
4894 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
4895 Fix last change.
4896 (edebug-update-eval-list): Use `push'.
4897
4898 * emacs-lisp/edebug.el: Use lexical-binding.
4899 Remove the "edebug-" prefix from non-dynamically-scoped variables.
4900 Mark unused args with underscore.
4901 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
4902 (edebug-form-data): Use defvar-local.
4903 (edebug-make-before-and-after-form, edebug-make-after-form):
4904 Use backquote.
4905 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
4906 Not dynamically scoped any more.
4907 (edebug--enter-trace): Add arguments `function' and `args'.
4908 Rename from edebug-enter-trace.
4909 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
4910 (edebug--update-coverage): Add `after-index' and `value' args.
4911 Rename from edebug-update-coverage.
4912 (edebug-slow-after): Call it accordingly.
4913 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
4914 edebug-recursive-edit.
4915 (edebug--display): Call it accordingly. Add args `value',
4916 `offset-index', and `arg-mode'. Rename from edebug-display.
4917 (edebug-debugger, edebug): Call it accordingly.
4918 (edebug-eval-display-list): Use dolist.
4919
4920 2012-09-12 Juri Linkov <juri@jurta.org>
4921
4922 * info.el (Info-search): Don't check for isearch-mode and
4923 isearch-regexp before let-binding search-spaces-regexp to
4924 Info-search-whitespace-regexp.
4925 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
4926 search-whitespace-regexp if isearch-lax-whitespace or
4927 isearch-regexp-lax-whitespace is non-nil.
4928 (Info-mode): Don't set local variable search-whitespace-regexp.
4929 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
4930
4931 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4932
4933 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
4934 (debugger-env-macro): Remove support for unread-command-char.
4935
4936 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
4937 the temporary map re-appearing on emulation-mode-map-alists.
4938
4939 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
4940 since 22.1.
4941
4942 * ehelp.el (with-electric-help): Accept functions in
4943 electric-help-form-to-execute.
4944 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
4945 And replace unread-command-char -> unread-command-events.
4946
4947 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
4948
4949 Sync with Tramp 2.2.6.
4950
4951 * net/tramp.el (tramp-accept-process-output): Don't use
4952 JUST-THIS-ONE in the XEmacs case.
4953
4954 * net/trampver.el: Update release number.
4955
4956 2012-09-12 Martin Rudalics <rudalics@gmx.at>
4957
4958 * emacs-lisp/debug.el (debugger-previous-window-height):
4959 New variable.
4960 (debug): When debugger-jumping-flag is non-nil try to restore
4961 height of debugger window. (Bug#8789)
4962
4963 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4964
4965 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
4966 overriding-local-map and pre/post-command-hook here.
4967 (edebug-recursive-edit): Do it here instead (bug#12345).
4968 (edebug-outside-unread-command-char): Remove all uses of
4969 unread-command-char.
4970
4971 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
4972 inhibit-debugger is bound instead.
4973
4974 2012-09-11 Bastien Guerry <bzg@gnu.org>
4975
4976 * subr.el (set-temporary-overlay-map): Add a docstring.
4977 (Bug#12346)
4978
4979 2012-09-11 Bastien Guerry <bzg@gnu.org>
4980
4981 * minibuffer.el (completion-table-subvert): Fix docstring.
4982 (Bug#12347)
4983
4984 2012-09-11 Bastien Guerry <bzg@gnu.org>
4985
4986 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
4987
4988 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
4989
4990 * progmodes/sql.el: Version 3.1
4991 (sql-db2-escape-newlines): New variable.
4992 (sql-escape-newlines-filter): Use it.
4993
4994 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
4995
4996 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
4997
4998 2012-09-10 Dan Nicolaescu <dann@gnu.org>
4999
5000 * vc/diff-mode.el (diff-mode-menu):
5001 Bind diff-remove-trailing-whitespace.
5002
5003 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5004
5005 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
5006 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
5007 (emacs-lisp-byte-code-mode): New functions.
5008 (eval-sexp-add-defvars): Don't skip defvars in column >0.
5009 (eval-defun-2): Remove bogus interactive spec.
5010 (lisp-indent-line): Remove redundant whole-exp code, now done in
5011 indent-according-to-mode.
5012 (save-match-data): Remove redundant indent data.
5013
5014 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
5015 Use `declare'.
5016
5017 2012-09-09 Juri Linkov <juri@jurta.org>
5018
5019 * replace.el (replace-regexp-lax-whitespace): New defcustom.
5020 (replace-lax-whitespace, query-replace-regexp)
5021 (query-replace-regexp-eval, replace-regexp): Doc fix.
5022 (perform-replace, replace-highlight): Let-bind
5023 isearch-lax-whitespace to replace-lax-whitespace and
5024 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
5025
5026 * isearch.el (isearch-query-replace): Let-bind
5027 replace-lax-whitespace to isearch-lax-whitespace and
5028 replace-regexp-lax-whitespace to
5029 isearch-regexp-lax-whitespace. (Bug#10885)
5030
5031 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
5032
5033 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
5034
5035 2012-09-09 Alan Mackenzie <acm@muc.de>
5036
5037 * progmodes/cc-engine.el (c-state-cache-init):
5038 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
5039 (c-record-parse-state-state):
5040 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
5041
5042 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
5043
5044 * register.el (register-separator): Rename from
5045 separator-register. All uses changed. Doc fix.
5046 (register): Fix version.
5047
5048 2012-09-09 Chong Yidong <cyd@gnu.org>
5049
5050 * replace.el (query-replace-map): Bind four new symbols for
5051 requesting window scrolling.
5052
5053 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
5054 query-replace-map (Bug#8948).
5055
5056 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
5057
5058 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
5059 since they are now in query-replace-map.
5060
5061 * window.el (scroll-other-window-down): Make the arg optional.
5062
5063 2012-09-09 Chong Yidong <cyd@gnu.org>
5064
5065 * files.el (hack-local-variables-confirm): Use quit-window to kill
5066 the *Local Variables* buffer.
5067
5068 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5069
5070 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
5071 not just expect to be at its beginning. Adjust callees.
5072 Succeed when do-end block has no space before the pipe character.
5073 (ruby-brace-to-do-end): When the original block is one-liner,
5074 convert to multiline. Reindent the result.
5075
5076 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
5077
5078 * register.el (register): New group.
5079 (separator-register): New user option.
5080 (increment-register): Route it to `append-to-register', if
5081 register contains text. Implication is that `C-x r +' can now be
5082 used for appending to a text register (bug#12217).
5083 (append-to-register, prepend-to-register): Add separator based on
5084 `separator-register'.
5085
5086 2012-09-08 Alan Mackenzie <acm@muc.de>
5087
5088 AWK Mode: make auto-newline work when there's "==" in the pattern.
5089 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
5090 correctly.
5091 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
5092 Test more rigorously for "=" token.
5093
5094 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5095
5096 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
5097 Only fail when reached LIMIT.
5098
5099 2012-09-08 Chong Yidong <cyd@gnu.org>
5100
5101 * dired.el (dired-mode-map): Don't bind M-=.
5102
5103 * dired-aux.el (dired-diff): Use backup file as default.
5104
5105 2012-09-08 Drew Adams <drew.adams@oracle.com>
5106
5107 * subr.el (add-to-history): Fix delete usage (Bug#12314).
5108
5109 2012-09-08 Chong Yidong <cyd@gnu.org>
5110
5111 * subr.el (syntax-after, syntax-class): Doc fix.
5112
5113 2012-09-08 Martin Rudalics <rudalics@gmx.at>
5114
5115 * window.el (display-buffer-in-previous-window): New buffer
5116 display action function.
5117
5118 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
5119 (debugger-previous-window): New variable.
5120 (debug): Rewrite using display-buffer-in-previous-window,
5121 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
5122
5123 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5124
5125 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
5126
5127 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
5128
5129 * progmodes/python.el (python-shell-send-string):
5130 When default-directory is remote, create temp file on remote
5131 filesystem.
5132 (python-shell-send-file): When file is remote, pass local view of
5133 file paths to remote Python interpreter. (Bug#12340)
5134
5135 2012-09-07 Chong Yidong <cyd@gnu.org>
5136
5137 * window.el (switch-to-buffer): Doc fix (Bug#12181).
5138
5139 * files.el (after-find-file): Don't fail on a read-only buffer if
5140 require-final-newline is `visit' or `visit-save' (Bug#11156).
5141
5142 * subr.el (read-char-choice): Allow quitting via ESC ESC.
5143
5144 * userlock.el (ask-user-about-supersession-threat):
5145 Use read-char-choice (Bug#12093).
5146
5147 2012-09-07 Chong Yidong <cyd@gnu.org>
5148
5149 * subr.el (buffer-narrowed-p): New function.
5150
5151 * ses.el (ses-widen):
5152 * simple.el (count-words--buffer-message):
5153 * net/browse-url.el (browse-url-of-buffer): Use it.
5154
5155 * simple.el (count-words-region): Don't signal an error if there
5156 is a non-nil prefix arg and the mark is not set.
5157
5158 * help.el (describe-key-briefly): Allow the message to be seen
5159 when invoked from the minibuffer (Bug#7014).
5160
5161 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5162
5163 * progmodes/ruby-mode.el (ruby-end-of-defun)
5164 (ruby-beginning-of-defun): Simplify, allow indentation before
5165 block beginning and end keywords.
5166 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
5167 (ruby-end-of-defun): Expect that the point is at the beginning of
5168 the defun.
5169
5170 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5171
5172 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
5173 (bug#12367).
5174 (cl--make-usage-args): Strip _ from argument names.
5175
5176 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5177
5178 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
5179 obsolete alias speedbar-key-map.
5180 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
5181 (vhdl-index-menu-init): Don't use obsolete variable
5182 font-lock-maximum-size.
5183
5184 2012-09-06 Chong Yidong <cyd@gnu.org>
5185
5186 * frame.el (window-system-version): Mark as obsolete.
5187
5188 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
5189 of obsolete variable speedbar-key-map.
5190
5191 2012-09-06 Juri Linkov <juri@jurta.org>
5192
5193 * replace.el (replace-lax-whitespace): New defcustom.
5194 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5195 (replace-string, replace-regexp): Mention it in docstrings.
5196 (perform-replace, replace-highlight): Let-bind
5197 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
5198 to the values of replace-lax-whitespace and regexp-flag.
5199 Don't let-bind search-whitespace-regexp. (Bug#10885)
5200
5201 * isearch.el (isearch-query-replace): Let-bind
5202 replace-lax-whitespace instead of let-binding
5203 replace-search-function and replace-re-search-function.
5204 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
5205 and isearch-regexp-lax-whitespace to lazy-highlight variables.
5206 (isearch-toggle-symbol): Set isearch-regexp to nil
5207 in isearch-word mode (like in isearch-toggle-word).
5208
5209 2012-09-06 Juri Linkov <juri@jurta.org>
5210
5211 * replace.el (replace-search-function)
5212 (replace-re-search-function): Set default values to nil.
5213 (perform-replace): Let-bind isearch-related variables based on
5214 replace-related values, call `isearch-search-fun' and let-bind
5215 the result to `search-function'. Remove code that sets
5216 `search-function' and `search-string' separately for
5217 `delimited-flag'.
5218 (replace-highlight): Add new argument `delimited-flag' and
5219 rename other arguments to the names used in `perform-replace'.
5220 Let-bind `isearch-word' to the argument `delimited-flag'.
5221 (Bug#10885, bug#10887)
5222
5223 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5224
5225 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
5226 ruby-beginning-of-indent, simplify, allow all keywords to have
5227 indentation before them.
5228 (ruby-beginning-of-indent): Adjust for above. Search until the
5229 found point is not inside a string or comment.
5230 (ruby-font-lock-keywords): Allow symbols to start with "@"
5231 character, give them higher priority than variables.
5232 (ruby-syntax-propertize-function)
5233 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
5234 matchers. Expression expansions are not comments when inside a
5235 string, and there comment syntax status is irrelevant.
5236 (ruby-match-expression-expansion): New function. Check that
5237 expression expansion is inside a string, and it's not escaped.
5238 (ruby-font-lock-keywords): Use it.
5239
5240 2012-09-05 Martin Rudalics <rudalics@gmx.at>
5241
5242 * help.el (temp-buffer-max-height): New default value.
5243 (temp-buffer-resize-frames): New option.
5244 (resize-temp-buffer-window): Optionally resize frame.
5245
5246 * window.el (fit-frame-to-buffer-bottom-margin): New option.
5247 (fit-frame-to-buffer): New function.
5248
5249 2012-09-05 Glenn Morris <rgm@gnu.org>
5250
5251 * emulation/cua-rect.el (cua--init-rectangles):
5252 * textmodes/picture.el (picture-mode-map):
5253 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
5254 like forward-char and backward-char. (Bug#12317)
5255
5256 2012-09-05 Leo Liu <sdl.web@gmail.com>
5257
5258 * progmodes/flymake.el (flymake-warning-re): New variable.
5259 (flymake-parse-line): Use it.
5260
5261 2012-09-05 Glenn Morris <rgm@gnu.org>
5262
5263 * calendar/holidays.el (holiday-christian-holidays):
5264 Rename an entry. (Bug#12289)
5265
5266 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5267
5268 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
5269 (bug#12222).
5270
5271 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5272
5273 * loadup.el: Load macroexp. Remove hack.
5274 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
5275 (macroexp--expand-all): Use it to get better warnings.
5276 (macroexp--backtrace, macroexp--trim-backtrace-frame)
5277 (internal-macroexpand-for-load): New functions.
5278 (macroexp--pending-eager-loads): New var.
5279 (emacs-startup-hook): New hack to replace one in loadup.el.
5280 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
5281 (cl--compiler-macro-cXXr): Move to top, before they can be used.
5282 (cl-psetf): Simplify.
5283 (cl-defstruct): Add indent rule.
5284
5285 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
5286
5287 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
5288 over `user-mail-address' for the SMTP MAIL FROM envelope.
5289 (smtpmail-via-smtp): Ditto.
5290
5291 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
5292
5293 * progmodes/ruby-mode.el: Clean up keybindings.
5294 (ruby-mode-map): Don't bind ruby-electric-brace,
5295 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
5296 backward-kill-word, reindent-then-newline-and-indent.
5297 (ruby-mark-defun): Remove.
5298 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
5299 (ruby-mode): Set local beginning-of-defun-function and
5300 end-of-defun-function values.
5301
5302 2012-09-03 Martin Rudalics <rudalics@gmx.at>
5303
5304 * window.el (temp-buffer-window-setup-hook)
5305 (temp-buffer-window-show-hook): New hooks.
5306 (temp-buffer-window-setup, temp-buffer-window-show)
5307 (with-temp-buffer-window): New functions.
5308 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
5309 (special-display-popup-frame): Make sure the window used shows BUFFER.
5310
5311 * help.el (temp-buffer-resize-mode): Fix doc-string.
5312 (resize-temp-buffer-window): New optional argument WINDOW.
5313
5314 * files.el (recover-file, save-buffers-kill-emacs):
5315 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
5316
5317 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
5318
5319 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
5320 remote definition of `default-directory', ensure we can connect.
5321
5322 2012-09-02 Juri Linkov <juri@jurta.org>
5323
5324 Toggle whitespace matching mode with M-s SPC.
5325 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
5326
5327 * isearch.el (search-whitespace-regexp): Doc fix.
5328 Remove cons cell customization.
5329 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
5330 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
5331 New variables.
5332 (isearch-forward, isearch-forward-regexp): Doc fix.
5333 (isearch-toggle-lax-whitespace): New command.
5334 (search-forward-lax-whitespace, search-backward-lax-whitespace)
5335 (re-search-forward-lax-whitespace)
5336 (re-search-backward-lax-whitespace): New functions.
5337 (isearch-whitespace-regexp): Remove function.
5338 (isearch-query-replace): Let-bind replace-search-function and
5339 replace-re-search-function.
5340 (isearch-occur): Let-bind search-spaces-regexp according to the
5341 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
5342 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
5343 condition for C-q SPC.
5344 (isearch-search-fun-default): Use new functions mentioned above.
5345 (isearch-search-forward, isearch-search-backward): Remove functions.
5346 (isearch-search): Don't let-bind search-spaces-regexp.
5347 (isearch-lazy-highlight-space-regexp): Remove variable.
5348 (isearch-lazy-highlight-lax-whitespace)
5349 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
5350 (isearch-lazy-highlight-new-loop): Use them.
5351 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
5352
5353 2012-09-02 Chong Yidong <cyd@gnu.org>
5354
5355 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
5356
5357 2012-09-02 Glenn Morris <rgm@gnu.org>
5358
5359 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
5360
5361 2012-09-01 Glenn Morris <rgm@gnu.org>
5362
5363 * term.el: Tidy up menu definitions.
5364 (term-mode-map): Use easymenu for In/Out, Complete menus.
5365 (term-pager-break-map): Initialize in the defvar.
5366 (term-terminal-menu, term-signals-menu): Define with easymenu.
5367 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
5368 (term-pager-menu): New, extracted from term-process-pager.
5369 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
5370 (term-update-mode-line): Propertize line/char and page items.
5371 (term-process-pager): Move keymap initialization elsewhere.
5372
5373 2012-09-01 Martin Rudalics <rudalics@gmx.at>
5374
5375 * window.el (switch-to-prev-buffer): Handle additional values of
5376 BURY-OR-KILL argument. Don't switch in minibuffer window.
5377 (switch-to-next-buffer): Don't switch in minibuffer window.
5378 (quit-restore-window): New function based on quit-window.
5379 Handle additional values of former KILL argument.
5380 (quit-window): Call quit-restore-window with appropriate
5381 interpretation of KILL argument.
5382 (display-buffer-below-selected): New buffer display action
5383 function.
5384
5385 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5386
5387 * minibuffer.el (completion-at-point-functions): Complete docstring
5388 (bug#12254).
5389
5390 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
5391
5392 Better seed support for (random).
5393 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
5394 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
5395 * play/mpuz.el, play/tetris.el, play/zone.el:
5396 * calc/calc-comb.el (math-init-random-base):
5397 * play/blackbox.el (bb-init-board):
5398 * play/life.el (life):
5399 * server.el (server-use-tcp):
5400 * type-break.el (type-break):
5401 Remove unnecessary call to (random t).
5402 * net/sasl.el (sasl-unique-id-function):
5403 Change (random t) to (random), now that the latter is more random.
5404 * play/life.el (life-initialized): Remove no-longer-needed var.
5405
5406 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
5407
5408 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5409 Consider frame's buffer predicate when choosing the buffer.
5410 (Bug#12081)
5411
5412 2012-08-30 Richard Stallman <rms@gnu.org>
5413
5414 * simple.el (special-mode-map): Delete binding for `z'.
5415
5416 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
5417
5418 * progmodes/compile.el (compilation-always-kill): Doc fix.
5419
5420 2012-08-30 Chong Yidong <cyd@gnu.org>
5421
5422 * window.el (display-buffer-reuse-frames): Make the obsolescence
5423 message more informative.
5424
5425 2012-08-30 Glenn Morris <rgm@gnu.org>
5426
5427 * paren.el (show-paren-delay):
5428 Add a :set function. Doc fix. (Bug#12297)
5429
5430 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
5431
5432 * progmodes/compile.el (compilation-always-kill): New var.
5433 (compilation-start): Use it.
5434
5435 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5436
5437 * simple.el (read-only-mode): Move from files.el for bootstrapping.
5438 * files.el (read-only-mode): Move to simple.el.
5439
5440 * files.el (read-only-mode): New minor mode.
5441 (toggle-read-only): Use it and mark obsolete.
5442 (find-file--read-only):
5443 * vc/vc.el (vc-next-action, vc-checkout):
5444 * vc/vc-cvs.el (vc-cvs-checkout):
5445 * obsolete/vc-mcvs.el (vc-mcvs-update):
5446 * ffap.el (ffap--toggle-read-only): Update callers.
5447
5448 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
5449
5450 * eshell/esh-ext.el (eshell-external-command): Do not examine
5451 remote shell scripts.
5452 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
5453
5454 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
5455 "/usr/local/sbin".
5456
5457 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5458
5459 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
5460
5461 2012-08-28 Leo Liu <sdl.web@gmail.com>
5462
5463 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
5464 completion-at-point. (Bug#12220)
5465
5466 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
5467
5468 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
5469
5470 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5471
5472 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
5473 be buffer-local; add delete-trailing-whitespace (bug#12259).
5474
5475 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
5476
5477 * progmodes/hideif.el (hif-compress-define-list):
5478 Fix typo. (Bug#11951)
5479
5480 2012-08-28 Dan Nicolaescu <dann@gnu.org>
5481
5482 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
5483 buffer local setting.
5484
5485 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
5486 rcirc-encode-coding-system.
5487
5488 2012-08-28 Leo Liu <sdl.web@gmail.com>
5489
5490 * net/rcirc.el (rcirc-split-message): New function.
5491 (rcirc-send-message): Use it. (Bug#12051)
5492
5493 2012-08-28 Juri Linkov <juri@jurta.org>
5494
5495 * info.el (Info-fontify-node): Hide empty lines at the end of
5496 the node. (Bug#12272)
5497
5498 2012-08-27 Drew Adams <drew.adams@oracle.com>
5499
5500 * dired.el (dired-pop-to-buffer): Make window start at beginning
5501 of buffer (Bug#12281).
5502
5503 2012-08-26 Chong Yidong <cyd@gnu.org>
5504
5505 * window.el (special-display-regexps, special-display-frame-alist)
5506 (special-display-buffer-names, special-display-function)
5507 (display-buffer-reuse-frames): Mark as obsolete.
5508
5509 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
5510
5511 * help.el (help-print-return-message): Don't treat
5512 display-buffer-reuse-frames specially.
5513
5514 2012-08-26 Chong Yidong <cyd@gnu.org>
5515
5516 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5517 New variable, replacing gdb-frame-parameters.
5518 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
5519 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
5520 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
5521 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
5522 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
5523 the functions directly with gdb-display-buffer-other-frame-action.
5524 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
5525 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
5526 (gdb-display-stack-buffer, gdb-display-locals-buffer)
5527 (gdb-display-registers-buffer): Define directly.
5528 (def-gdb-display-buffer): Macro deleted.
5529 (gdb-display-buffer): Remove second and third args, callers don't
5530 use them. Defer to the default display-buffer behavior, apart
5531 from making windows dedicated.
5532 (gdb-setup-windows): Don't call display-buffer unnecessarily.
5533
5534 * progmodes/gud.el (gud-display-line): Just use display-buffer.
5535
5536 * window.el (display-buffer-pop-up-frame): Handle a
5537 pop-up-frame-parameters alist entry.
5538 (display-buffer): Document it.
5539
5540 2012-08-26 Chong Yidong <cyd@gnu.org>
5541
5542 * isearch.el (search-whitespace-regexp): Make string and nil
5543 values apply to both ordinary and regexp search. Allow a cons
5544 cell value to distinguish between the two.
5545 (isearch-whitespace-regexp, isearch-search-forward)
5546 (isearch-search-backward): New functions.
5547 (isearch-occur, isearch-search-fun-default, isearch-search)
5548 (isearch-lazy-highlight-new-loop): Use them.
5549 (isearch-forward, isearch-forward-regexp): Doc fix.
5550
5551 2012-08-26 Chong Yidong <cyd@gnu.org>
5552
5553 * faces.el (help-argument-name): Always inherit from italic
5554 (Bug#12213).
5555
5556 2012-08-25 Martin Rudalics <rudalics@gmx.at>
5557
5558 * window.el (window--even-window-heights): Even heights when
5559 WINDOW and the selected window form a vertical combination.
5560 (display-buffer-use-some-window): Provide that window used gets
5561 sized back by quit-window. (Bug#11880) and (Bug#12091)
5562
5563 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
5564
5565 Fix file time stamp problem with bzr and CVS (Bug#12001).
5566 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
5567 in the file's time stamp, since the version control system loses
5568 that information.
5569
5570 2012-08-22 Juri Linkov <juri@jurta.org>
5571
5572 * info.el (Info-fontify-node): Hide the suffix of the
5573 Info file name in the header line. (Bug#12187)
5574
5575 2012-08-22 Glenn Morris <rgm@gnu.org>
5576
5577 * calendar/cal-tex.el (cal-tex-weekly-common):
5578 Restore leading blank page.
5579
5580 2012-08-22 Le Wang <l26wang@gmail.com>
5581
5582 * misc.el (forward-to-word, backward-to-word): Activate or extend
5583 the region under `shift-select-mode'. (Bug#12231)
5584
5585 2012-08-22 Bastien Guerry <bzg@gnu.org>
5586
5587 * progmodes/executable.el (executable-prefix): Set to "#!" instead
5588 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
5589 gives details on why the space is never needed.
5590
5591 2012-08-22 Martin Rudalics <rudalics@gmx.at>
5592
5593 * window.el (walk-window-tree, window-with-parameter):
5594 New optional argument MINIBUF to control whether these functions
5595 should run on the minibuffer window.
5596 (window-at-side-list): Don't operate on minibuffer window.
5597 (window-in-direction): Simplify and rewrite doc-string.
5598 (window--size-ignore): Rename to window--size-ignore-p.
5599 Update callers.
5600 (display-buffer-in-atom-window, window--major-non-side-window)
5601 (window--major-side-window, display-buffer-in-major-side-window)
5602 (delete-side-window, display-buffer-in-side-window):
5603 New functions.
5604 (window--side-check, window-deletable-p, delete-window)
5605 (delete-other-windows, split-window): Handle side windows and
5606 atomic windows appropriately.
5607 (window--display-buffer): Call display-buffer-record-window also
5608 when the window buffer did not change.
5609
5610 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
5611
5612 * help-fns.el (help-fns--key-bindings):
5613 Abbreviate non-symbol remap targets. (Bug#12174)
5614
5615 2012-08-22 Martin Rudalics <rudalics@gmx.at>
5616
5617 * dired.el (dired-mark-remembered): Don't clobber point.
5618 (Bug#11795)
5619
5620 2012-08-22 Glenn Morris <rgm@gnu.org>
5621
5622 * progmodes/bug-reference.el (bug-reference): New custom group.
5623 (bug-reference-bug-regexp): Make it a defcustom.
5624
5625 2012-08-22 Daiki Ueno <ueno@unixuser.org>
5626
5627 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
5628 (js-paren-indent-offset, js-square-indent-offset)
5629 (js-curly-indent-offset): Add :safe (Bug#12257).
5630
5631 2012-08-22 Edward O'Connor <hober0@gmail.com>
5632
5633 * json.el (json-key-format): Add error properties.
5634 (json-encode-key): New function.
5635 (json-encode-hash-table, json-encode-alist, json-encode-plist):
5636 Use json-encode-key.
5637
5638 2012-08-22 Glenn Morris <rgm@gnu.org>
5639
5640 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
5641 (cal-tex-leftday, cal-tex-rightday): Remove functions.
5642 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
5643 Update for above change.
5644
5645 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
5646
5647 * cus-face.el (custom-face-attributes): Fix customize type for the
5648 :underline attribute. (Bug#11805)
5649
5650 2012-08-21 Martin Rudalics <rudalics@gmx.at>
5651
5652 * window.el (window-point-1, set-window-point-1): Remove.
5653 (window-in-direction, record-window-buffer)
5654 (set-window-buffer-start-and-point, split-window-below)
5655 (window--state-get-1, display-buffer-record-window):
5656 Replace calls to window-point-1 and set-window-point-1 by calls to
5657 window-point and set-window-point respectively.
5658
5659 2012-08-21 Glenn Morris <rgm@gnu.org>
5660
5661 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
5662 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
5663 Use it.
5664
5665 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
5666 (cal-tex-shortday): New function.
5667 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
5668 (cal-tex-cursor-filofax-daily): Use the above.
5669
5670 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
5671 New functions.
5672 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5673 (cal-tex-cursor-filofax-week): Use them.
5674
5675 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
5676 New constants.
5677 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5678 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
5679
5680 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
5681 (cal-tex-end-document): Don't rely on buffer name.
5682
5683 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
5684 Use cal-tex-vspace.
5685 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
5686 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
5687 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
5688 Use cal-tex-arg.
5689
5690 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
5691 (cal-tex-cursor-week, cal-tex-cursor-week2)
5692 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
5693 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5694 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
5695 (cal-tex-insert-preamble, cal-tex-b-document)
5696 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
5697 Improve cal-tex-cmd usage.
5698
5699 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
5700 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
5701 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
5702 (cal-tex-weekly-paper): New function.
5703 (cal-tex-cursor-week, cal-tex-cursor-week2)
5704 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
5705 (cal-tex-cursor-day): Use it.
5706
5707 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
5708 (cal-tex-cursor-filofax-week): Remove leading blank page.
5709
5710 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5711 Add autoload cookie. For now at least, don't use color, since
5712 no other cal-tex function does.
5713
5714 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
5715 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5716 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
5717
5718 2012-08-21 Juri Linkov <juri@jurta.org>
5719
5720 * info.el (Info-file-attributes): New variable.
5721 (info-insert-file-contents): Add file attributes to
5722 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
5723 `Info-toc-nodes' when previous modtime of the Info file is less
5724 than new modtime.
5725 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
5726 of info.el. (Bug#12230)
5727
5728 2012-08-20 Glenn Morris <rgm@gnu.org>
5729
5730 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
5731 * calendar/holidays.el (calendar-holiday-list):
5732 Report errors with display-warning rather than beep'n'sleep.
5733
5734 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
5735
5736 * net/tramp.el (tramp-accept-process-output): Accept only output
5737 from PROC. Otherwise, process filters and sentinels might be
5738 confused. (Bug#12145)
5739
5740 2012-08-20 Chong Yidong <cyd@gnu.org>
5741
5742 * descr-text.el (describe-text-properties-1): Use overlays-in to
5743 report on empty overlays (Bug#3322).
5744
5745 2012-08-20 Glenn Morris <rgm@gnu.org>
5746
5747 * mail/rmailout.el (rmail-output-read-file-name):
5748 Trap and report errors in rmail-output-file-alist elements.
5749
5750 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
5751 since most non-font-lock faces are not also variables).
5752
5753 2012-08-20 Edward Reingold <reingold@iit.edu>
5754
5755 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5756 New function. (Bug12160)
5757
5758 2012-08-19 Glenn Morris <rgm@gnu.org>
5759
5760 * mail/rmailout.el (rmail-output-read-file-name):
5761 Fix previous change (when the alist is nil or does not match).
5762
5763 2012-08-19 Chong Yidong <cyd@gnu.org>
5764
5765 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
5766 (Bug#12228).
5767
5768 2012-08-18 Chong Yidong <cyd@gnu.org>
5769
5770 * simple.el (yank-handled-properties): New defcustom.
5771 (yank-excluded-properties): Add font-lock-face and category.
5772 (yank): Doc fix.
5773
5774 * subr.el (remove-yank-excluded-properties):
5775 Obey yank-handled-properties. The special handling of font-lock-face
5776 and category is now done this way, instead of being hard-coded.
5777 (insert-for-yank-1): Remove font-lock-face handling.
5778 (yank-handle-font-lock-face-property)
5779 (yank-handle-category-property): New function.
5780
5781 2012-08-17 Glenn Morris <rgm@gnu.org>
5782
5783 * mail/rmailout.el (rmail-output-read-file-name):
5784 Check rmail-output-file-alist against the full message body
5785 in the correct rmail buffer. (Bug#12214)
5786
5787 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
5788
5789 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5790 Eliminate superfluous prompt. (Bug#12203)
5791
5792 2012-08-17 Chong Yidong <cyd@gnu.org>
5793
5794 * mouse.el (mouse-appearance-menu): If x-select-font returns a
5795 font spec, set the font directly (Bug#3228).
5796
5797 2012-08-17 Martin Rudalics <rudalics@gmx.at>
5798
5799 * window.el (delete-window): Fix last fix.
5800
5801 2012-08-16 Martin Rudalics <rudalics@gmx.at>
5802
5803 * window.el (window-valid-p): Move to window.c.
5804 (window-child, window-child-count, window-last-child)
5805 (window-normalize-window, window-combined-p)
5806 (window-combinations, window-atom-root, window-min-size)
5807 (window-sizable, window-sizable-p, window-size-fixed-p)
5808 (window-min-delta, window-max-delta, window--resizable)
5809 (window--resizable-p, window-resizable, window-total-size)
5810 (window-full-height-p, window-full-width-p, window-body-size)
5811 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
5812 (minimize-window, window-deletable-p, delete-window)
5813 (delete-other-windows, set-window-buffer-start-and-point)
5814 (next-buffer, previous-buffer, split-window, balance-windows-2)
5815 (set-window-text-height, window-buffer-height)
5816 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
5817 (truncated-partial-width-window-p): Minor code adjustments.
5818 In doc-strings state whether the argument window has to denote a
5819 live, valid or any window.
5820
5821 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
5822
5823 * progmodes/subword.el (subword-forward-function)
5824 (subword-backward-function, subword-forward-regexp)
5825 (subword-backward-regexp): New variables.
5826 (subword-forward, subword-forward-internal, subword-backward-internal):
5827 Use new variables, eg so that different "word" definitions
5828 can be easily used. (Bug#11411)
5829
5830 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5831
5832 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
5833 for composite selectors.
5834 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
5835 operation just because we can't find a previous revision.
5836
5837 2012-08-15 Chong Yidong <cyd@gnu.org>
5838
5839 * frame.el (set-frame-font): Accept font objects.
5840
5841 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5842
5843 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
5844
5845 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
5846
5847 * man.el (Man-overstrike-face, Man-underline-face)
5848 (Man-reverse-face): Remove variables.
5849 (Man-overstrike, Man-underline, Man-reverse): New faces.
5850 (Man-fontify-manpage): Use them instead of the variables.
5851 (Man-cleanup-manpage): Comment change.
5852 (Man-ansi-color-map): New variable.
5853 (Man-fontify-manpage): Use it.
5854 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
5855
5856 Implement ANSI SGR parameters 22-27 (bug#12146).
5857 * ansi-color.el (ansi-colors): Doc fix.
5858 (ansi-color-context, ansi-color-context-region): Doc fix.
5859 (ansi-color--find-face): New function.
5860 (ansi-color-apply, ansi-color-apply-on-region): Use it.
5861 Rename the local variable `face' to `codes' since it is now a list of
5862 ansi codes. Doc fix.
5863 (ansi-color-get-face): Remove.
5864 (ansi-color-parse-sequence): New function, derived from
5865 ansi-color-get-face.
5866 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
5867 codes 22-27.
5868
5869 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
5870
5871 * subr.el (read-passwd): Allow use from a minibuffer.
5872
5873 2012-08-14 Eli Zaretskii <eliz@gnu.org>
5874
5875 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
5876 inside comments and strings as identifiers.
5877
5878 * progmodes/gud.el (gud-tooltip-print-command): Quote the
5879 expression to evaluate. This allows to evaluate expressions with
5880 embedded whitespace.
5881 (gud-tooltip-tips): Add a blank before the newline in the
5882 message-box text, for the benefit of message-box emulation on
5883 MS-Windows.
5884
5885 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
5886 messages from GDB, pop them up in a tooltip to give feedback to
5887 user.
5888 (gdb-tooltip-print-1): Quote the expression to evaluate.
5889 This allows to evaluate expressions with embedded whitespace.
5890 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
5891 if the TTY name is nil or empty (which happens when communicating
5892 with the inferior via pipes, e.g. on MS-Windows).
5893 (gdb-internals): If GDB sends a "&\n" empty debugging message,
5894 don't send that to the GUD buffer.
5895
5896 2012-08-14 Glenn Morris <rgm@gnu.org>
5897
5898 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
5899 Optimize away setq-default with no args, as for setq. (Bug#12195)
5900
5901 2012-08-14 Chong Yidong <cyd@gnu.org>
5902
5903 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
5904
5905 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
5906 (Bug#12085).
5907
5908 2012-08-14 Glenn Morris <rgm@gnu.org>
5909
5910 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
5911
5912 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
5913
5914 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
5915 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5916 Use cached shell name.
5917
5918 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5919
5920 * progmodes/python.el (python-shell-send-string):
5921 (python-shell-send-setup-code): Do not use `format' with `message'.
5922
5923 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
5924
5925 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
5926 (ruby-percent-literal-beg-re): New constant.
5927 (ruby-syntax-general-delimiters-goto-beg): Rename to
5928 `ruby-syntax-enclosing-percent-literal', improve literal type check.
5929 (ruby-syntax-propertize-general-delimiters): Rename to
5930 `ruby-syntax-propertize-percent-literal', it's a shorter and more
5931 popular term. Adjust comments everywhere.
5932 (ruby-syntax-propertize-percent-literal): Only propertize when not
5933 inside a simple string or comment. When the literal is unclosed,
5934 leave the text after it unpropertized.
5935 (ruby-syntax-methods-before-regexp): New constant.
5936 (ruby-syntax-propertize-function): Use it to recognize regexps.
5937 Don't look at the text after regexp, just use the whitelist.
5938
5939 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
5940
5941 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
5942 non-nil always load the compiled file if it exists. (Bug#12197)
5943
5944 2012-08-14 Chong Yidong <cyd@gnu.org>
5945
5946 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
5947 (hi-lock-set-pattern): When deciding whether to use font lock or
5948 overlays, look at font-lock-mode instead of font-lock-fontified
5949 (Bug#12168).
5950 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
5951 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
5952
5953 2012-08-14 Daiki Ueno <ueno@unixuser.org>
5954
5955 * subr.el (internal--after-with-selected-window): Fix typo
5956 (Bug#12193).
5957
5958 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5959
5960 Use `completion-table-dynamic' for completion functions.
5961 * progmodes/python.el
5962 (python-shell-completion--do-completion-at-point)
5963 (python-shell-completion--get-completions):
5964 Remove functions.
5965 (python-shell-completion-complete-at-point): New function.
5966 (python-completion-complete-at-point): Use it.
5967
5968 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
5969
5970 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
5971 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
5972
5973 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5974
5975 * subr.el (function-get): Refine `autoload' arg so it can also
5976 autoload functions for gv.el (bug#12191).
5977 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
5978 autoloads macros.
5979
5980 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
5981 Prefer pcase-let over destructuring-bind.
5982 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
5983 Also, remove whitespace as we go, rather than after accumulating the
5984 various places.
5985
5986 * subr.el (internal--before-with-selected-window)
5987 (internal--after-with-selected-window): Fix typo seleted->selected.
5988 (with-selected-window): Adjust callers.
5989 Reported by Dmitry Gutov <dgutov@yandex.ru>.
5990
5991 2012-08-13 Bastien Guerry <bzg@gnu.org>
5992
5993 * window.el (special-display-popup-frame): Minor docstring
5994 enhancement. (Bug#12172)
5995
5996 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
5997
5998 * tar-mode.el (tar-header-data-end): Only ignore size for files of
5999 type 1-6.
6000 (tar-header-block-summarize, tar-get-descriptor): Handle pax
6001 extended headers.
6002
6003 * files.el (hack-local-variables-filter): Remove useless eval.
6004
6005 2012-08-13 Martin Rudalics <rudalics@gmx.at>
6006
6007 * subr.el (with-selected-window): Fix last change.
6008
6009 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6010
6011 * subr.el (internal--before-with-seleted-window)
6012 (internal--after-with-seleted-window): New functions.
6013 (with-selected-window): Use them, to replace dependency on
6014 tty-top-frame.
6015
6016 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
6017
6018 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
6019 binding for `newline'.
6020 (ruby-move-to-block): When moving backward, stop at block opening,
6021 not indentation.
6022 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
6023 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
6024 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6025 `ruby-toggle-block'.
6026
6027 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6028
6029 * ibuffer.el (ibuffer-do-toggle-read-only):
6030 * dired.el (dired-toggle-read-only):
6031 * buff-menu.el (Buffer-menu-toggle-read-only):
6032 * bindings.el (mode-line-toggle-read-only):
6033 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
6034
6035 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
6036
6037 * descr-text.el (describe-char): Put the overlays over the
6038 "displayed as" character.
6039
6040 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
6041
6042 * calc/calc-units.el (math-default-units-table): Give an
6043 initial value.
6044 (math-put-default-units): Add options to put composite units and
6045 unit systems in the default units table.
6046 (calc-convert-units): Send composite units to
6047 `math-put-default-units' when appropriate.
6048
6049 2012-08-11 Glenn Morris <rgm@gnu.org>
6050
6051 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
6052
6053 * tutorial.el (help-with-tutorial):
6054 * emacs-lisp/copyright.el (copyright-update-directory):
6055 * emacs-lisp/autoload.el (autoload-find-generated-file)
6056 (autoload-find-file): Disable local eval: (for insurance).
6057
6058 * files.el (hack-local-variables-filter): If an eval: form is not
6059 known to be safe, and enable-local-variables is :safe, then ignore
6060 the form totally, as is done for non-eval forms. (Bug#12155)
6061 This is CVE-2012-3479.
6062
6063 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6064
6065 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
6066 (rx-form): Simplify.
6067
6068 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
6069
6070 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
6071 ?, _, and : are symbol constituents, ! is not (but kinda should be).
6072 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
6073 (ruby-syntax-propertize-function): Adjust for changes in
6074 `ruby-syntax-propertize-heredoc'.
6075
6076 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
6077
6078 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
6079 binding (use `M-;' instead).
6080 (ruby-singleton-class-p): New function.
6081 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
6082
6083 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6084
6085 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
6086
6087 2012-08-10 Chong Yidong <cyd@gnu.org>
6088
6089 * progmodes/python.el (python-shell-get-process-name): Don't mess
6090 with same-window-buffer-names.
6091
6092 * eshell/eshell.el (eshell-add-to-window-buffer-names)
6093 (eshell-remove-from-window-buffer-names): Make obsolete.
6094 (eshell-buffer-name, eshell-unload-hook): Don't use them.
6095 (eshell): Just use pop-to-buffer-same-window instead.
6096
6097 2012-08-10 Chong Yidong <cyd@gnu.org>
6098
6099 * bindings.el: Bind M-= back to count-words-region.
6100
6101 * simple.el (count-words-region): Accept a prefix arg for acting
6102 on the entire buffer.
6103 (count-words--buffer-message): New helper function.
6104
6105 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6106
6107 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
6108 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
6109 (event-start, event-end): Use posn-at-point to return a more
6110 informative posn.
6111 (posnp): New function.
6112 * mouse.el (popup-menu-normalize-position): Use it.
6113
6114 2012-08-10 Masatake YAMATO <yamato@redhat.com>
6115
6116 * mouse.el (popup-menu-normalize-position): New function.
6117 (popup-menu): Use `popup-menu-normalize-position' to normalize
6118 the form for POSITION argument.
6119
6120 * term/x-win.el (x-menu-bar-open):
6121 Use the value returend from (posn-at-point) as position
6122 passed to `popup-menu'.
6123
6124 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6125
6126 * calc/calccomp.el (math-compose-expr): Add extra argument
6127 indicating that parentheses should be put around products in
6128 denominators. Give multiplication precedence over division during
6129 composition.
6130
6131 2012-08-09 Chong Yidong <cyd@gnu.org>
6132
6133 * man.el (Man-switches, Man-sed-command, Man-awk-command)
6134 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
6135 (Man-untabify-command, manual-program): Convert to defcustom
6136 (Bug#10429).
6137
6138 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
6139
6140 * descr-text.el (describe-char): Don't insert extra newlines
6141 (Bug#10127).
6142
6143 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
6144 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
6145
6146 * align.el (align-region): Delete temporary markers (Bug#10047).
6147 Plus some code cleanups.
6148
6149 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6150
6151 * progmodes/python.el (python-pdbtrack-tracked-buffer)
6152 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
6153 (python-shell-internal-last-output): Use make-local-variable
6154 instead of make-variable-buffer-local.
6155
6156 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6157
6158 * progmodes/python.el: Enhancements to forward-sexp.
6159 (python-nav-forward-sexp): Rename from
6160 python-nav-forward-sexp-function.
6161 (python-nav--forward-sexp, python-nav--backward-sexp):
6162 New functions.
6163
6164 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6165
6166 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
6167 modes and simplification modes.
6168
6169 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6170
6171 * delsel.el (delete-selection-pre-hook): Don't propagate the
6172 file-supersession signals (bug#12161).
6173
6174 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6175
6176 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
6177 (cl-map-extents): Add compatibility aliases (bug#12135).
6178
6179 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
6180
6181 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
6182 tests by `ignore-error'.
6183 (tramp-find-shell): Open also a new shell, when cache is already
6184 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
6185
6186 2012-08-08 Juri Linkov <juri@jurta.org>
6187
6188 * bookmark.el: Add `defaults' property to the bookmark record.
6189 (bookmark-current-buffer): Doc fix.
6190 (bookmark-make-record): Add `defaults' property with default values
6191 to the bookmark record.
6192 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
6193 with `bookmark-insert-current-bookmark'.
6194 (bookmark-set): Get `defaults' property from the bookmark record
6195 and use it in `read-from-minibuffer'.
6196 (bookmark-insert-current-bookmark): Remove function.
6197
6198 * info.el (Info-bookmark-make-record): Add `defaults' property
6199 with values of canonical Info node name, the current Info file
6200 name and the current Info node name. (Bug#12107)
6201
6202 2012-08-08 Juri Linkov <juri@jurta.org>
6203
6204 * files.el (basic-save-buffer): Use `buffer-name' as the default
6205 of `read-file-name' when buffer is not visiting a file (bug#12128).
6206
6207 2012-08-08 Juri Linkov <juri@jurta.org>
6208
6209 * info.el (Info-isearch-search): Doc fix.
6210 (Info-search): Change search-failed message from "initial node" to
6211 "end of node" (bug#12078).
6212 (Info-isearch-search): Change `isearch-string-state' to
6213 `isearch--state-string'.
6214
6215 2012-08-08 Glenn Morris <rgm@gnu.org>
6216
6217 * language/persian.el: Remove file.
6218 * language/misc-lang.el: Move unique part of persian.el here.
6219 * loadup.el: Remove language/persian.
6220
6221 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
6222
6223 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
6224
6225 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
6226
6227 * progmodes/python.el: Fix defsubst warning.
6228 (python-syntax-context) Rename from python-info-ppss-context.
6229 (python-syntax-context-type): Rename from
6230 python-info-ppss-context-type.
6231 (python-syntax-comment-or-string-p): Rename from
6232 python-info-ppss-comment-or-string-p.
6233
6234 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6235
6236 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
6237
6238 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
6239
6240 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
6241 a defcustom that is quoted with backquote.
6242
6243 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
6244 Fix handling of interactive spec when the body uses return.
6245 (math-do-arg-check, math-define-function-body): Use backquote forms.
6246 * calc/calc-ext.el (math-defcache): Likewise.
6247 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
6248 * allout.el (allout-new-exposure): Likewise.
6249 * calc/calcalg2.el (math-tracing-integral): Likewise.
6250 * info.el (Info-last-menu-item): Likewise.
6251 * emulation/vip.el (vip-loop): Likewise.
6252 * textmodes/artist.el (artist-funcall): Likewise.
6253 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
6254 Construct menu-item directly.
6255
6256 * progmodes/autoconf.el (font-lock-syntactic-keywords):
6257 Don't declare.
6258
6259 2012-08-07 Chong Yidong <cyd@gnu.org>
6260
6261 * simple.el (deactivate-mark): Preserve text properties when
6262 saving the primary selection (Bug#8384).
6263
6264 2012-08-07 Kevin Ryde <user42@zip.com.au>
6265
6266 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
6267 (woman-parse-numeric-value): On a bad .IP line, issue a warning
6268 and continue processing (Bug#12110).
6269
6270 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6271
6272 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
6273 syntax-propertize-function (bug#10095).
6274
6275 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6276
6277 * help-fns.el (help-fns--key-bindings, help-fns--signature)
6278 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
6279 describe-function-1.
6280 (describe-function-1): Use them. Move compiler macro after sig.
6281 (help-fns--compiler-macro): Use function-get. Assume we're already in
6282 standard-output. Adjust layout to new call order.
6283
6284 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
6285 re-binding a symbol that has a symbol-macro (bug#12119).
6286
6287 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
6288
6289 * language/persian.el: New file. (Bug#11812)
6290 * loadup.el: Add language/persian.el.
6291
6292 2012-08-06 Chong Yidong <cyd@gnu.org>
6293
6294 * window.el (window--maybe-raise-frame): New function.
6295 (window--display-buffer): Split off from here.
6296 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6297 (display-buffer-pop-up-window, display-buffer-use-some-window):
6298 Obey an inhibit-switch-frame action alist entry.
6299 (display-buffer): Update doc.
6300
6301 * replace.el (occur-after-change-function): Avoid losing focus by
6302 using the inhibit-switch-frame display parameter (Bug#12139).
6303
6304 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
6305
6306 Make internal shell process buffer names start with space.
6307 * progmodes/python.el (python-shell-make-comint): Add optional
6308 argument INTERNAL.
6309 (run-python-internal): Use it.
6310 (python-shell-internal-get-or-create-process): Check for new
6311 internal buffer names.
6312
6313 2012-08-06 Glenn Morris <rgm@gnu.org>
6314
6315 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
6316 Do less getting and setting of environment variables.
6317
6318 2012-08-05 Chong Yidong <cyd@gnu.org>
6319
6320 * proced.el (proced): Add substitution string to docstring to
6321 trigger autoloading of the proced library on C-h f (Bug#1768).
6322
6323 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6324 Don't show defvars which have no second argument (Bug#8638).
6325
6326 * imenu.el (imenu-generic-expression): Move documentation here
6327 from imenu--generic-function.
6328 (imenu--generic-function): Refer to imenu-generic-expression.
6329
6330 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
6331
6332 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
6333 indentation declaration.
6334 (viper-loop): Add indentation declaration (Bug#7025).
6335
6336 2012-08-05 Chong Yidong <cyd@gnu.org>
6337
6338 * help-fns.el (describe-variable): Add hyperlink for
6339 directory-local variables files. Improve buffer-local and
6340 permanent-local reporting; suggested by MON KEY (Bug#6644).
6341
6342 * help-mode.el (help-dir-local-var-def): New button type.
6343
6344 * files.el (kill-buffer-hook): Provide a defvar.
6345
6346 2012-08-05 Glenn Morris <rgm@gnu.org>
6347
6348 * eshell/esh-ext.el (eshell/addpath):
6349 Also update eshell-path-env. (Bug#12013)
6350
6351 2012-08-05 Chong Yidong <cyd@gnu.org>
6352
6353 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
6354
6355 * fringe.el (fringe-styles): Add docstring.
6356 (fringe--check-mode): New function.
6357 (set-fringe-mode, set-fringe-style): Use it.
6358 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
6359
6360 * files.el (set-auto-mode): Fix invalid setq call.
6361
6362 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6363
6364 * isearch.el: Misc simplification; use defstruct.
6365 (isearch-mode-map): Dense maps now work like sparse ones.
6366 (isearch--state): New defstruct.
6367 (isearch-string-state, isearch-message-state, isearch-point-state)
6368 (isearch-success-state, isearch-forward-state)
6369 (isearch-other-end-state, isearch-word-state, isearch-error-state)
6370 (isearch-wrapped-state, isearch-barrier-state)
6371 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
6372 replaced by defstruct's accessors.
6373 (isearch--set-state): Rename from isearch-top-state and change
6374 calling convention.
6375 (isearch-push-state): Use new isearch--get-state.
6376 (isearch-toggle-word): Disable regexp when enabling word.
6377 (isearch-message-prefix): Remove unused arg _c-q-hack.
6378 (isearch-message-suffix): Remove unused arg _ellipsis.
6379
6380 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
6381
6382 * simple.el (list-processes--refresh): For a server use :host or
6383 :local as the address.
6384 (list-processes): Doc fix.
6385
6386 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
6387
6388 * lisp/mpc.el: Support password in host argument.
6389 (mpc--proc-connect): Parse and use new password element.
6390 Set mpc-proc variable instead of returning process.
6391 (mpc-proc): Adjust accordingly.
6392
6393 2012-08-03 Eli Zaretskii <eliz@gnu.org>
6394
6395 * whitespace.el (whitespace-display-mappings): Use Unicode
6396 codepoints, instead of emacs-mule codepoints. See
6397 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
6398 for the details.
6399
6400 * files.el (file-truename): Don't skip symlink-chasing part on
6401 windows-nt. Incorporate the resolution of 8+3 short aliases on
6402 Windows into the loop that recursively chases symlinks.
6403 Compare directory and its parent case-insensitively on MS-Windows and
6404 MS-DOS.
6405
6406 2012-08-03 Chong Yidong <cyd@gnu.org>
6407
6408 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
6409
6410 * sort.el (sort-regexp-fields): Doc fix.
6411
6412 2012-08-03 Tassilo Horn <tsdh@gnu.org>
6413
6414 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
6415 labels regex position point at the expected place.
6416
6417 2012-08-03 MON KEY <monkey@sandpframing.com>
6418
6419 * net/imap.el (imap-interactive-login, imap-authenticate)
6420 (imap-mailbox-lsub, imap-mailbox-list)
6421 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
6422 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
6423 (imap-parse-response): Doc fix.
6424
6425 2012-08-03 João Távora <joaotavora@gmail.com>
6426
6427 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
6428 if sexp scanning does not move point (Bug#5734).
6429
6430 2012-08-02 Tassilo Horn <tsdh@gnu.org>
6431
6432 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
6433 Add listings, minted, and ctable packages.
6434 (reftex-label-alist-builtin): Move listings, minted, and ctable
6435 entries before LaTeX.
6436 (reftex-label-alist): Docfix.
6437
6438 2012-08-02 Bastien Guerry <bzg@gnu.org>
6439
6440 * replace.el (occur): Fix docstring (bug#12122).
6441
6442 2012-08-02 Glenn Morris <rgm@gnu.org>
6443
6444 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
6445
6446 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
6447
6448 Obsolete alias inactivate-current-input-method-function (Bug#10150).
6449 * international/mule-cmds.el: Create
6450 inactivate-current-input-method-function as an obsolete alias for
6451 deactivate-current-input-method-function. See Katsumi Yamaoka in
6452 <http://bugs.gnu.org/10150#46>.
6453
6454 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
6455
6456 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
6457 of nested `if's.
6458
6459 2012-08-01 Glenn Morris <rgm@gnu.org>
6460
6461 * progmodes/autoconf.el (autoconf-definition-regexp):
6462 Add AH_TEMPLATE, adjust submatch numbering.
6463 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
6464 (autoconf-current-defun-function): Update for above change.
6465 (autoconf-current-defun-function): First skip to end of current word.
6466
6467 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
6468
6469 * calendar/cal-html.el (cal-html-insert-agenda-days):
6470 Fix typo. (Bug#12018)
6471
6472 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6473
6474 Shell processes: enhancements to startup and CEDET compatibility.
6475 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
6476 (python-shell-make-comint): accept-process-output at startup.
6477 (run-python-internal): Set inferior-python-mode-hook to nil.
6478 (python-shell-internal-get-or-create-process): call sit-for.
6479 (python-preoutput-result): Add obsolete alias.
6480 (python-shell-internal-send-string): Use it.
6481 (python-shell-send-setup-code): Remove call to
6482 accept-process-output.
6483
6484 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
6485
6486 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
6487 (Bug#12108)
6488
6489 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
6490
6491 * calc-mode.el (calc-basic-simplification-mode): Rename from
6492 `calc-limited-simplification-mode'.
6493 (calc-alg-simplification-mode): New function.
6494 (calc-set-simplify-mode): Adjust message.
6495
6496 * calc.el (calc-set-mode-line): Adjust mode line display for
6497 basic simplification mode.
6498
6499 * calc-help.el (calc-m-prefix-help): Update help message.
6500
6501 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
6502 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
6503
6504 2012-07-31 Bastien Guerry <bzg@gnu.org>
6505
6506 * man.el (man): Fix comment. (bug#12101)
6507
6508 2012-07-31 Martin Rudalics <rudalics@gmx.at>
6509
6510 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6511 Don't return a non-nil value when no suitable buffer was found.
6512
6513 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6514
6515 * progmodes/python.el (run-python-internal): Disable font lock for
6516 internal shells.
6517
6518 2012-07-30 Stefan Merten <smerten@oekonux.de>
6519
6520 * textmodes/rst.el: Silence `checkdoc-ispell'.
6521 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6522 (rst-official-version, rst-official-cvs-rev)
6523 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
6524 (rst-mode-map): New key binding.
6525
6526 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
6527
6528 Update .PHONY listings in makefiles.
6529 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
6530 autoloads, update-subdirs, updates, bzr-update, update-authors,
6531 compile-onefile, compile-calc, backup-compiled-files,
6532 compile-after-backup, compile-one-process, mh-autoloads,
6533 bootstrap-clean, distclean, maintainer-clean.
6534
6535 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
6536
6537 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
6538 (calc-set-mode-line): Don't display "AlgSimp ".
6539
6540 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
6541 (calc-lim-simplify-mode): New function.
6542 (calc-set-simplify-mode): Default to 'alg.
6543 (calc-default-simplify-mode): Make algebraic simplifications
6544 the default.
6545
6546 * calc/calc-ext.el (calc-init-extensions): Remove binding for
6547 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
6548
6549 * calc/calc-help.el (calc-m-prefix-help): Change messages to
6550 indicate new simplification modes.
6551
6552 * calc/README: Mention new default simplification mode.
6553
6554 * calc/calc.el (math-normalize-error): New variable.
6555 (math-normalize): Set `math-normalize-error' to t
6556 when there's an error.
6557
6558 * calc/calc-alg.el (math-simplify): Don't simplify when
6559 `math-normalize' returns an error.
6560
6561 2012-07-29 Eli Zaretskii <eliz@gnu.org>
6562
6563 * international/mule-cmds.el (set-locale-environment): Revert last
6564 change, since display-graphic-p returns nil when this function is
6565 called during startup. Instead...
6566
6567 * term/w32console.el (terminal-init-w32console): ...setup the
6568 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
6569
6570 2012-07-29 Juri Linkov <juri@jurta.org>
6571
6572 * simple.el (goto-line): Don't display default line number in the
6573 prompt because it should be displayed by `read-number' (bug#9952).
6574 Add the current line number to the defaults of `goto-line' to
6575 allow its easier modification by users with `M-n' (bug#9201).
6576
6577 * subr.el (read-number): Support multiple default values like in
6578 other minibuffer reading functions. Replace `read' with
6579 `string-to-number' for consistency with `number-to-string'.
6580
6581 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
6582
6583 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
6584 * emulation/viper-init.el (viper-deactivate-input-method-action):
6585 Rename from viper-inactivate-input-method-action.
6586 (viper-deactivate-input-method):
6587 Rename from viper-inactivate-input-method.
6588 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
6589 * international/mule-cmds.el (deactivate-input-method):
6590 Rename from inactivate-input-method.
6591 Also run input-method-deactivate-hook.
6592 (deactivate-current-input-method-function):
6593 Rename from inactivate-current-input-method-function.
6594 (input-method-deactivate-hook): New hook.
6595 (input-method-inactivate-hook): Mark obsolete.
6596 (inactivate-input-method): Mark obsolete.
6597
6598 * international/quail.el (quail-activate):
6599 Also run quail-deactivate-hook.
6600 (quail-deactivate): Rename from quail-inactivate.
6601 * international/robin.el (robin-activate):
6602 Also run robin-deactivate-hook.
6603 (robin-deactivate): Rename from robin-inactivate.
6604
6605 2012-07-29 Chong Yidong <cyd@gnu.org>
6606
6607 * simple.el (indicate-copied-region): New function.
6608 (kill-ring-save): Split off from here.
6609
6610 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
6611 (kill-rectangle): Set deactivate-mark to t on read-only error.
6612
6613 * register.el (copy-to-register, copy-rectangle-to-register):
6614 Deactivate the mark, and use indicate-copied-region (Bug#10056).
6615 (append-to-register, prepend-to-register): Call indicate-copied-region.
6616
6617 2012-07-29 Juri Linkov <juri@jurta.org>
6618
6619 * simple.el (async-shell-command-buffer): New defcustom.
6620 (shell-command): Use it. (Bug#4719)
6621
6622 2012-07-28 Eli Zaretskii <eliz@gnu.org>
6623
6624 * international/mule-cmds.el (set-locale-environment): In a
6625 console session on MS-Windows, set up keyboard and terminal
6626 encoding from the OEM codepage, not the ANSI codepage.
6627 (Bug#12055)
6628
6629 2012-07-28 Chong Yidong <cyd@gnu.org>
6630
6631 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
6632 gdb-get-location.
6633
6634 2012-07-28 Leo Liu <sdl.web@gmail.com>
6635
6636 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
6637 the alist (bug#12029).
6638
6639 2012-07-28 Eli Zaretskii <eliz@gnu.org>
6640
6641 * makefile.w32-in (custom-deps, finder-data, updates, compile)
6642 (compile-always, compile-first)
6643 ($(lisp)/calendar/cal-loaddefs.el)
6644 ($(lisp)/calendar/diary-loaddefs.el)
6645 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
6646 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
6647 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
6648 instead of on update-subdirs.
6649 (bootstrap-clean): Delete $(lisp)/subdirs.el.
6650
6651 2012-07-28 Chong Yidong <cyd@gnu.org>
6652
6653 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
6654 directory if vc-deduce-backend returns nil (Bug#7350).
6655
6656 * simple.el (delete-trailing-lines): New option.
6657 (delete-trailing-whitespace): Obey it (Bug#11879).
6658
6659 2012-07-28 David Engster <deng@randomsample.de>
6660
6661 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
6662 Explanation of new 'symbol-qnames feature in doc-strings.
6663 (xml-maybe-do-ns): Return expanded names as plain symbols if
6664 'symbol-qnames was provided in XML-NS argument (Bug#11916).
6665 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
6666
6667 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6668
6669 Consistent completion in inferior python with emacs -nw.
6670 * progmodes/python.el (inferior-python-mode): replace "<tab>"
6671 binding in inferior-python-mode-map with "\t".
6672 (python-shell-completion-complete-at-point)
6673 (python-completion-complete-at-point): Remove interactive spec.
6674
6675 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6676
6677 * calc/calccomp.el (math-compose-expr): Undo previous change.
6678
6679 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6680
6681 * progmodes/python.el (python-mode-map): Add keybinding for
6682 run-python.
6683 (python-shell-make-comint): Fix pop-to-buffer call.
6684 (run-python): Autoload. New arg SHOW.
6685 (python-shell-get-or-create-process): Do not pop python process
6686 buffer.
6687
6688 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
6689
6690 * notifications.el (notifications-on-action-signal)
6691 (notifications-on-closed-signal): Use also the bus address for the map.
6692 (notifications-notify, notifications-close-notification)
6693 (notifications-get-capabilities): Add optional argument BUS.
6694
6695 2012-07-27 Tassilo Horn <tsdh@gnu.org>
6696
6697 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
6698 Add support for the lstlisting and minted environments, and for the
6699 ctable macro.
6700 * textmodes/reftex.el (reftex-compile-variables): Also recognize
6701 labels written in keyvals syntax.
6702
6703 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6704
6705 * calc/calccomp.el (math-compose-expr): Use parentheses when
6706 there is a product in the denominator of a fraction.
6707
6708 2012-07-26 Eli Zaretskii <eliz@gnu.org>
6709
6710 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
6711 ($(lisp)/calendar/diary-loaddefs.el)
6712 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
6713 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
6714 Fixes failures in parallel bootstrap because subdirs.el is being
6715 rewritten while the autoload files are built at the same time,
6716 which needs to load subdirs.el.
6717
6718 2012-07-26 Martin Rudalics <rudalics@gmx.at>
6719
6720 * mouse.el (popup-menu): Fix doc-string and re-indent code.
6721 (mouse-drag-line): Don't exit tracking when a switch-frame or
6722 switch-window event occurs (Bug#12006).
6723
6724 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6725
6726 * mouse.el (popup-menu): Fix last change.
6727
6728 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6729
6730 Autoload from Lisp with more care. Follow aliases when looking for
6731 function properties.
6732 * subr.el (autoloadp): New function.
6733 (symbol-file): Use it.
6734 (function-get): New function.
6735 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
6736 autoload-do-load.
6737 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
6738 (lisp-indent-function):
6739 * emacs-lisp/gv.el (gv-get):
6740 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
6741 * emacs-lisp/byte-opt.el (byte-optimize-form):
6742 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6743 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
6744 Use function-get.
6745 * emacs-lisp/cl.el: Don't propagate function properties any more.
6746
6747 * speedbar.el (speedbar-add-localized-speedbar-support):
6748 * emacs-lisp/disass.el (disassemble-internal):
6749 * desktop.el (desktop-load-file):
6750 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
6751 (describe-function-1):
6752 * emacs-lisp/find-func.el (find-function-noselect):
6753 * emacs-lisp/elp.el (elp-instrument-function):
6754 * emacs-lisp/advice.el (ad-has-proper-definition):
6755 * apropos.el (apropos-safe-documentation, apropos-macrop):
6756 * emacs-lisp/debug.el (debug-on-entry):
6757 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
6758 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
6759 * calc/calc.el (name): Use autoloadp & autoload-do-load.
6760
6761 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
6762
6763 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
6764 function, not an obsolete variable (Bug#12046).
6765
6766 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6767
6768 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
6769
6770 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
6771
6772 * emacs-lisp/pp.el (pp-display-expression): Select old selected
6773 window only if it is still live (Bug#12034).
6774
6775 2012-07-25 Martin Rudalics <rudalics@gmx.at>
6776
6777 * subr.el (redirect-frame-focus): Add advertised calling
6778 convention (Bug#12030).
6779
6780 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
6781
6782 Prefer typical American spelling for "acknowledgment".
6783 * vc/add-log.el (change-log-acknowledgment): Rename from
6784 change-log-acknowledgement, with an alias for the old name.
6785
6786 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
6787
6788 * calc-alg.el (math-simplify-divide): Don't cross multiply
6789 in an equation when the lhs is a variable.
6790
6791 2012-07-24 Julien Danjou <julien@danjou.info>
6792
6793 * net/netrc.el (netrc-find-service-number, netrc-store-data):
6794 Remove, unused.
6795
6796 2012-07-23 Eli Zaretskii <eliz@gnu.org>
6797
6798 * startup.el (command-line): Don't display an empty user name in
6799 the error message about non-existent home directory, when
6800 init-file-user was set to an empty string. See
6801 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
6802 for the details and context.
6803
6804 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
6805
6806 * ses.el (ses-cell-formula-aset): New macro.
6807 (ses-cell-references-aset): New macro.
6808 (ses-cell-p): New function.
6809 (ses-rename-cell): Do no longer rely on complex operations like
6810 ses-cell-set-formula or ses-set-cell to change the cell and handle
6811 the undo at the same time, but rather use lower level new macros
6812 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
6813 the undo directly. Refresh the mode line.
6814
6815 2012-07-21 Leo Liu <sdl.web@gmail.com>
6816
6817 * progmodes/cc-cmds.el (c-defun-name):
6818 Use match-string-no-properties instead for consistency.
6819
6820 2012-07-20 Leo Liu <sdl.web@gmail.com>
6821
6822 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
6823 (Bug#7879)
6824
6825 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
6826
6827 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
6828
6829 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
6830 * progmodes/bug-reference.el, misearch.el: Provide themselves
6831 (bug#11915).
6832
6833 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
6834 of narrowed buffer (bug#11966).
6835
6836 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
6837
6838 * ses.el (ses-rename-cell): Set new name also in reference list of
6839 cells of which the renamed cell depends.
6840
6841 2012-07-20 Masatake YAMATO <yamato@redhat.com>
6842
6843 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
6844 to check whether menu-bar is shown or not. If not shown,
6845 show the menu-bar as a popup menu instead of using tmm.
6846 * mouse.el (popup-menu): Accept `point' as `position' argument.
6847
6848 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
6849
6850 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
6851 up inside string symbol literal (bug#11923).
6852
6853 2012-07-20 Eli Zaretskii <eliz@gnu.org>
6854
6855 * startup.el (fancy-startup-text): Read the whole tutorial, not
6856 just its first 256 bytes. Prevents gibberish in display of the
6857 tutorial title.
6858
6859 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
6860
6861 Drop idle buffer compaction due to an absence of the
6862 proved efficiency.
6863 * compact.el: Remove.
6864
6865 2012-07-19 Sam Steingold <sds@gnu.org>
6866
6867 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
6868 vc-bzr-pull & vc-bzr-merge-branch.
6869 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
6870 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
6871 for consistency with compilation-error-regexp-alist.
6872 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
6873 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
6874 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
6875 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
6876
6877 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6878
6879 * emacs-lisp/chart.el: Use lexical-binding.
6880 (chart-emacs-storage): Don't hardcode the list of entries.
6881
6882 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6883
6884 Next round of tweaks caused by Fgarbage_collect changes.
6885 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
6886
6887 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6888
6889 Compact buffers when idle.
6890 * compact.el: New file.
6891
6892 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6893
6894 * subr.el (eventp): Presume that if it looks vaguely like an event,
6895 it's an event (bug#10190).
6896
6897 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
6898
6899 Enhancements to ppss related code (thanks Stefan).
6900 * progmodes/python.el (python-indent-context)
6901 (python-indent-calculate-indentation, python-indent-dedent-line)
6902 (python-indent-electric-colon, python-nav-forward-block)
6903 (python-mode-abbrev-table)
6904 (python-info-assignment-continuation-line-p): Simplify checks
6905 for ppss context.
6906 (python-info-continuation-line-p): Cleanup.
6907 (python-info-ppss-context): Do not catch 'quote.
6908 (python-info-ppss-context-type)
6909 (python-info-ppss-comment-or-string-p): Simplify.
6910
6911 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
6912
6913 * progmodes/python.el: Enhancements to eldoc support.
6914 (python-info-current-symbol): New function.
6915 (python-eldoc-at-point): Use python-info-current-symbol.
6916 (python-info-current-defun): Fix cornercase on first defun scan.
6917 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
6918 and signal error when no inferior python process is available.
6919
6920 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
6921
6922 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
6923 assume it's always t.
6924 (vc-git-registered): Remove caching, the function is only called
6925 once.
6926 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
6927
6928 2012-07-18 Chong Yidong <cyd@gnu.org>
6929
6930 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
6931
6932 * simple.el (count-words): Report on narrowing (Bug#9959).
6933
6934 * bindings.el: Bind M-= to count-words.
6935
6936 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
6937
6938 2012-07-18 Masatake YAMATO <yamato@redhat.com>
6939
6940 * progmodes/sh-script.el (sh-imenu-generic-expression):
6941 Capture a function with `function' keyword and without parentheses
6942 like "function FOO" (bug#11856).
6943
6944 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
6945
6946 * window.el (split-window-sensibly): Make WINDOW argument
6947 optional.
6948
6949 2012-07-18 Chong Yidong <cyd@gnu.org>
6950
6951 * subr.el (keyboard-translate): Doc fix (Bug#7261).
6952
6953 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
6954 and make C-x 8 RET exit isearch (Bug#11439).
6955
6956 * international/iso-transl.el: Move isearch-mode-map key
6957 definitions to isearch.el.
6958
6959 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
6960
6961 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
6962 (eieio-defclass): Use gv-define-setter when possible.
6963
6964 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
6965
6966 Reflect recent changes in Fgarbage_collect.
6967 * emacs-lisp/chart.el (chart-emacs-storage): Change to
6968 reflect new format of data returned by Fgarbage_collect.
6969
6970 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6971
6972 New utility functions + python-info-ppss-context fix (Bug#11910).
6973 * progmodes/python.el (python-info-beginning-of-block-statement-p)
6974 (python-info-ppss-comment-or-string-p): New functions.
6975 (python-info-ppss-context): Small fix for string check.
6976
6977 2012-07-17 Juri Linkov <juri@jurta.org>
6978
6979 * dired-aux.el (dired-do-async-shell-command): Doc fix.
6980 (dired-do-async-shell-command): Don't add `*' at the end of the
6981 command (Bug#11815).
6982 (dired-do-shell-command): Doc fix.
6983 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
6984 Join the individual commands using either "&" or ";" as the
6985 separator depending on the values of these trailing characters.
6986 At the end re-add the trailing "&". (Bug#10598)
6987
6988 * simple.el (async-shell-command): Sync the interactive spec with
6989 `shell-command'. Doc fix.
6990 (shell-command): Doc fix.
6991
6992 2012-07-17 Juri Linkov <juri@jurta.org>
6993
6994 * descr-text.el (describe-char): Fix format args. (Bug#10129)
6995
6996 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6997
6998 Final renames and doc fixes for movement commands (bug#11899).
6999 * progmodes/python.el (python-nav-beginning-of-statement):
7000 Rename from python-nav-statement-start.
7001 (python-nav-end-of-statement): Rename from
7002 python-nav-statement-end.
7003 (python-nav-beginning-of-block): Rename from
7004 python-nav-block-start.
7005 (python-nav-end-of-block): Rename from python-nav-block-end.
7006
7007 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7008
7009 * progmodes/python.el (python-shell-send-string-no-output):
7010 Allow accept-process-output to quit, keeping shell process ready for
7011 future interactions (Bug#11868).
7012
7013 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
7014
7015 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
7016
7017 * emacs-lisp/elint.el (elint-find-args-in-code):
7018 Use help-function-arglist, so as to handle lexical byte-code.
7019
7020 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
7021 change (bug#11826).
7022
7023 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
7024
7025 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
7026 Avoid spuriously marking the buffer as modified because of c-is-sws.
7027
7028 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
7029 as not-a-comment (bug#11946).
7030
7031 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
7032 for uninterned vars.
7033
7034 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
7035 Use read-event since we don't really want to read chars but bytes.
7036
7037 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
7038 $$..$$ but also $..$ using regexps (bug#11953).
7039 Use tex-verbatim for \url and \path.
7040 (tex-font-lock-keywords): Define as defconst like the others.
7041 (tex-common-initialization): Don't use font-lock-syntax-table any more.
7042
7043 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
7044
7045 * international/mule-cmds.el (ucs-insert): Make it an obsolete
7046 alias for insert-char.
7047
7048 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7049
7050 * progmodes/python.el: Simplified imenu implementation.
7051 (python-nav-jump-to-defun): Remove command.
7052 (python-mode-map): Use `imenu' instead.
7053 (python-nav-list-defun-positions-cache)
7054 (python-imenu-include-defun-type, python-imenu-make-tree)
7055 (python-imenu-subtree-root-label, python-imenu-index-alist):
7056 Remove vars.
7057 (python-nav-list-defun-positions, python-nav-read-defun)
7058 (python-imenu-tree-assoc, python-imenu-make-element-tree)
7059 (python-imenu-make-tree, python-imenu-create-index):
7060 Remove functions.
7061 (python-mode): Update to interact with imenu by setting
7062 `imenu-extract-index-name-function' only.
7063
7064 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7065
7066 * progmodes/python.el: Enhancements to navigation commands.
7067 (python-nav-backward-sentence)
7068 (python-nav-forward-sentence): Remove.
7069 (python-nav-backward-statement, python-nav-forward-statement)
7070 (python-nav-statement-start, python-nav-statement-end)
7071 (python-nav-backward-block, python-nav-forward-block)
7072 (python-nav-block-start, python-nav-block-end)
7073 (python-nav-forward-sexp-function)
7074 (python-info-current-line-comment-p)
7075 (python-info-current-line-empty-p): New functions.
7076 (python-indent-context): Use `python-nav-statement-start'.
7077
7078 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
7079
7080 * eshell/em-ls.el (eshell/ls): Use `apply'.
7081
7082 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
7083 multi-hops, instead of Tramp internals.
7084
7085 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
7086
7087 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
7088 when F1 and F2 are located on different hosts.
7089
7090 2012-07-14 Chong Yidong <cyd@gnu.org>
7091
7092 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
7093 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
7094 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
7095 (xterm-mouse--read-event-sequence-1000)
7096 (xterm-mouse--read-event-sequence-1006): New functions. For old
7097 mouse protocol, handle M-mouse-X events correctly.
7098 (xterm-mouse-event): New arg specifying mouse protocol.
7099 (turn-on-xterm-mouse-tracking-on-terminal)
7100 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
7101 sequence to toggle extended coordinates on newer XTerms.
7102 This appears to be harmless on terminals which do not support this.
7103
7104 2012-07-14 Leo Liu <sdl.web@gmail.com>
7105
7106 Add fringe bitmap indicators for flymake. (Bug#11253)
7107 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
7108 (flymake-make-overlay): New arg BITMAP.
7109 (flymake-error-bitmap, flymake-warning-bitmap)
7110 (flymake-fringe-indicator-position): New user variables.
7111
7112 * fringe.el: New bitmap exclamation-mark.
7113
7114 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
7115
7116 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
7117 also (Bug#7879).
7118
7119 2012-07-14 Chong Yidong <cyd@gnu.org>
7120
7121 * electric.el (electric-pair-post-self-insert-function): Fix pair
7122 insertion in empty-region case (Bug#11520).
7123
7124 2012-07-14 Chong Yidong <cyd@gnu.org>
7125
7126 * bindings.el: Consolidate ctl-x-r-map bindings.
7127 Bind copy-rectangle-as-kill to C-x r w.
7128
7129 * rect.el, register.el: Move bindings to bindings.el.
7130
7131 2012-07-14 Reuben Thomas <rrt@sc3d.org>
7132
7133 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
7134
7135 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
7136
7137 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
7138
7139 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
7140
7141 * bindings.el (top): Use `mapc' instead of `mapcar'.
7142
7143 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
7144
7145 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
7146
7147 * progmodes/sql.el (sql-comint): Suppress the check for program on
7148 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
7149 (Bug#11908)
7150
7151 2012-07-13 Chong Yidong <cyd@gnu.org>
7152
7153 * bindings.el: Assign a non-nil permanent-local property to
7154 per-buffer variables which lack a default value (Bug#11930).
7155
7156 * help-fns.el (describe-variable): In the "automatically becomes
7157 local" notice, take note of permanent-local variables.
7158
7159 2012-07-13 Chong Yidong <cyd@gnu.org>
7160
7161 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
7162 to allow printing the message when called from Lisp.
7163
7164 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7165 Remove toggle-read-only.
7166
7167 * bs.el (bs-toggle-readonly):
7168 * buff-menu.el (Buffer-menu-toggle-read-only):
7169 Remove with-no-warnings around toggle-read-only.
7170
7171 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
7172 Remove with-no-warnings around toggle-read-only.
7173 (ffap-read-only, ffap-read-only-other-window)
7174 (ffap-read-only-other-frame): Callers changed.
7175
7176 * help-mode.el: Don't require view package.
7177 (help-mode-finish): Set buffer-read-only instead of calling
7178 toggle-read-only.
7179
7180 * bindings.el (mode-line-toggle-read-only):
7181 * dired.el (dired-toggle-read-only):
7182 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
7183 with non-nil second arg.
7184
7185 * emacs-lisp/eieio-custom.el (eieio-customize-object):
7186 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
7187 directly.
7188
7189 2012-07-12 Eli Zaretskii <eliz@gnu.org>
7190
7191 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
7192 not incf.
7193
7194 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
7195
7196 More CL cleanups and reduction of use of cl.el.
7197 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
7198 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
7199 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
7200 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
7201 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
7202 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
7203 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
7204 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
7205 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
7206 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
7207 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
7208 * eshell/em-cmpl.el, eshell/em-banner.el:
7209 * calendar/parse-time.el: Use cl-lib.
7210 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
7211 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
7212 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
7213 * term/ns-win.el, term.el, shell.el, ps-samp.el:
7214 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
7215 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
7216 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
7217 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
7218 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
7219 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
7220 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
7221 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
7222 `lambda' rather than with `quote'.
7223 (eshell-do-opt): Adjust accordingly.
7224 (eshell-process-option): Simplify.
7225 * eshell/esh-var.el:
7226 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
7227 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
7228 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
7229 to `pcase--dontcare'.
7230 * emacs-lisp/cl.el (labels): Mark obsolete.
7231 (cl--letf, letf): Move to cl-lib.
7232 (cl--letf*, letf*): Remove.
7233 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
7234 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
7235 (cl-progv): Rewrite.
7236 (cl--letf, cl-letf): Move from cl.el.
7237 (cl-letf*): New macro.
7238 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
7239
7240 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
7241
7242 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
7243
7244 2012-07-11 Chong Yidong <cyd@gnu.org>
7245
7246 * vc/log-edit.el (log-edit-vc-backend): New variable.
7247 (log-edit): Doc fix.
7248
7249 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
7250 argument of log-edit to set up all local variables.
7251 (vc-start-logentry): New optional arg specifying VC backend.
7252
7253 * vc/vc.el (vc-checkin): Use it.
7254 (vc-deduce-fileset): Handle Log Edit buffers.
7255 (vc-diff): Make first argument optional too.
7256
7257 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
7258
7259 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
7260
7261 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
7262 command, just in case. The function is not needed anymore.
7263 (eshell-external-command): Do not call `eshell-remote-command'.
7264
7265 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
7266
7267 Reduce use of (require 'cl).
7268 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
7269 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
7270 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
7271 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
7272 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
7273 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
7274 * battery.el, avoid.el, abbrev.el: Use cl-lib.
7275 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
7276 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
7277 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
7278 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
7279 * calculator.el, autorevert.el, apropos.el: Don't require CL.
7280 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
7281 (byte-compile-unfold-bcf, byte-compile-check-variable):
7282 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
7283 (byte-compile-nilconstp):
7284 * emacs-lisp/autoload.el (make-autoload): Use pcase.
7285 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
7286
7287 * emacs-lisp/gv.el (cond): Make it a valid place.
7288 (if): Simplify slightly.
7289
7290 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
7291 (pcase--self-quoting-p): New function.
7292 (pcase--u1): Use it.
7293
7294 2012-07-10 Glenn Morris <rgm@gnu.org>
7295
7296 * emacs-lisp/authors.el (authors-fixed-entries):
7297 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
7298
7299 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
7300
7301 Rename configure.in to configure.ac (Bug#11603).
7302 * emacs-lisp/authors.el (authors-canonical-file-name):
7303 * progmodes/autoconf.el (autoconf-mode):
7304 Prefer configure.ac to configure.in.
7305
7306 2012-07-08 Chong Yidong <cyd@gnu.org>
7307
7308 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
7309 Implement the mouse-1-click-follows-link handling properly.
7310
7311 * info.el (Info-link-keymap): Use follow-link mechanism for
7312 header-line links (Bug#374).
7313
7314 * simple.el (deactivate-mark): Do not set the primary selection
7315 if another program has acquired it (Bug#11772).
7316
7317 2012-07-07 Kevin Ryde <user42@zip.com.au>
7318
7319 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
7320 (woman-decode-region): Replace escaped-escapes without destroying
7321 bold or underline (Bug#11552).
7322 (woman2-process-escapes): Handle nofill regions (Bug#11591).
7323
7324 2012-07-07 Chong Yidong <cyd@gnu.org>
7325
7326 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
7327 (interprogram-cut-function, interprogram-paste-function):
7328 Mention that we typically mean the clipboard.
7329
7330 2012-07-06 Glenn Morris <rgm@gnu.org>
7331
7332 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
7333
7334 * files.el (toggle-read-only): Restrict message to interactive use.
7335
7336 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
7337
7338 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
7339
7340 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
7341
7342 2012-07-06 Glenn Morris <rgm@gnu.org>
7343
7344 * Makefile.in (compile-one-process): Rename from "recompile".
7345
7346 * Makefile.in (bzr-update): "compile" is the same as "recompile
7347 autoloads", but parallelizable, so use that instead.
7348
7349 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
7350
7351 * window.el (quit-window): Always restore window height when
7352 it's saved in quit-restore parameter (Bug#11810).
7353
7354 2012-07-06 Glenn Morris <rgm@gnu.org>
7355
7356 * simple.el (kill-whole-line): Doc tweak.
7357
7358 2012-07-06 Eli Zaretskii <eliz@gnu.org>
7359
7360 * files.el (file-relative-name): Compare file names
7361 case-insensitively if on MS-Windows or MS-DOS, or if
7362 read-file-name-completion-ignore-case is non-nil. Don't use
7363 case-fold-search for this purpose. (Bug#11827)
7364
7365 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
7366
7367 * calendar/cal-dst.el (calendar-current-time-zone):
7368 Return calendar-current-time-zone-cache if non-nil.
7369
7370 2012-07-17 Masatake YAMATO <yamato@redhat.com>
7371 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
7372
7373 * calendar/cal-dst.el (calendar-current-time-zone):
7374 Return calendar-current-time-zone-cache if non-nil.
7375
7376 2012-07-06 Glenn Morris <rgm@gnu.org>
7377
7378 * Makefile.in (cvs-update): Remove old alias.
7379
7380 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
7381
7382 Sync with Tramp 2.2.6-pre.
7383
7384 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
7385 compatible declaration.
7386
7387 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7388 Protect `list-load-path-shadows' call.
7389
7390 * net/tramp-compat.el (top): Require packages, which aren't
7391 autoloaded anymore for XEmacs. Protect call of
7392 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
7393 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
7394 it hurts at least for SXEmacs.
7395 (tramp-compat-temporary-file-directory): In XEmacs, there is no
7396 standard-value for `temporary-file-directory'.
7397
7398 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
7399 Redirect stderr to /dev/null.
7400 (tramp-sh-handle-write-region): uid and gid can be floats.
7401 Reported by Russell Sim <russell.sim@gmail.com>.
7402 (tramp-sh-handle-vc-registered): Hide errors.
7403 (tramp-vc-file-name-handler): Use dummy results for `process-file'
7404 and `start-file-process'.
7405 (tramp-maybe-open-connection): Check also whether `non-essential'
7406 is bound.
7407
7408 2012-07-04 Chong Yidong <cyd@gnu.org>
7409
7410 * xml.el (xml--parse-buffer): Use xml-syntax-table.
7411 (xml-parse-tag): Likewise, and avoid changing entity tables.
7412 (xml-syntax-table): Define from scratch, making sure not to give
7413 x2000 and other Unicode spaces whitespace syntax, since those are
7414 not spaces in XML.
7415 (xml-parse-fragment): Delete unused function.
7416 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
7417 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
7418 (xml-entity-ref, xml-pe-reference-re)
7419 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
7420 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
7421 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
7422 (xml-entity-value-re): Use syntax references in regexps where
7423 possible; no need to define inside a let-binding.
7424 (xml-parse-dtd): Use xml-pe-reference-re.
7425 (xml-entity-or-char-ref-re): New defconst.
7426 (xml-parse-string, xml-substitute-special): Use it.
7427
7428 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7429
7430 * files.el (locate-dominating-file): Allow `name' to be a predicate.
7431 (find-file--read-only): New function.
7432 (find-file-read-only, find-file-read-only-other-window)
7433 (find-file-read-only-other-frame): Use it.
7434 (insert-file-contents-literally): Don't `fset'.
7435 (get-free-disk-space): Use locate-dominating-file.
7436
7437 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
7438 function is already compiled.
7439
7440 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
7441
7442 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
7443
7444 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
7445 files on the same host.
7446
7447 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
7448
7449 * help-fns.el (describe-function-1): Only call
7450 help-fns--autoloaded-p when we have a file name. (Bug#11848)
7451
7452 2012-07-03 Chong Yidong <cyd@gnu.org>
7453
7454 * xml.el: Protect parser against XML bombs.
7455 (xml-entity-expansion-limit): New variable.
7456 (xml-parse-string, xml-substitute-special): Use it.
7457 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
7458
7459 2012-07-03 Glenn Morris <rgm@gnu.org>
7460
7461 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7462 Allow linking to specific messages in debbugs reports (eg 123#5).
7463
7464 2012-07-02 Chong Yidong <cyd@gnu.org>
7465
7466 * xml.el: Fix entity and character reference expansion, allowing
7467 them to expand into markup as per XML spec.
7468 (xml-default-ns): New variable.
7469 (xml-entity-alist): Use XML spec definitions for lt and amp.
7470 (xml-parse-region): Make first two arguments optional.
7471 Discard text properties.
7472 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
7473 All callers changed.
7474 (xml-parse-tag): Call xml-parse-tag-1. For backward
7475 compatibility, this function should not modify buffer contents.
7476 (xml-parse-tag-1): Fix opening-tag regexp.
7477 (xml-parse-string): Rewrite, handling entity and character
7478 references properly.
7479 (xml--entity-replacement-text): Signal an error if a parameter
7480 entity is undefined.
7481
7482 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7483
7484 * comint.el (comint-output-filter): Filter out repeated prompts.
7485
7486 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
7487 and file-name-absolute-p.
7488 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
7489 internal calls.
7490
7491 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
7492
7493 Spelling fixes.
7494 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
7495 Rename from byte-compile--refiy-function. All uses changed.
7496
7497 2012-07-01 Chong Yidong <cyd@gnu.org>
7498
7499 * xml.el (xml--parse-buffer): New function. Move most of
7500 xml-parse-region here.
7501 (xml-parse-region): Copy region into a temporary buffer, since
7502 parameter entity substitution requires changing buffer contents.
7503 Use xml--parse-buffer.
7504 (xml-parse-file): Use xml--parse-buffer.
7505 (xml-parse-dtd): Make parameter entity substitution work right.
7506 Use proper regexps for ELEMENT declarations (Bug#7172).
7507
7508 2012-06-30 Glenn Morris <rgm@gnu.org>
7509
7510 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
7511
7512 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
7513 Remove outdated and unnecessary dbus declarations.
7514
7515 2012-06-30 Eli Zaretskii <eliz@gnu.org>
7516
7517 * emacs-lisp/timer.el (timer-until): Subtract results of
7518 float-time, instead of taking float-time of the result of
7519 time-subtract, since float-time signals an error for negative time
7520 arguments.
7521
7522 2012-06-30 Chong Yidong <cyd@gnu.org>
7523
7524 * xml.el (xml-*-re): Convert defvars into defconsts, and
7525 eval-and-compile them so eval-and-compile works on derivatives.
7526 (xml--entity-replacement-text): Use eval-and-comple.
7527
7528 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
7529
7530 * vc/vc-git.el (vc-git-registered): Use cache property
7531 `git-registered'.
7532 (vc-git-mode-line-string): Call `vc-working-revision' instead of
7533 `vc-git-working-revision' in order to benefit from the cache.
7534 (vc-git-root): Use cache property `git-root'. (Bug#11757)
7535
7536 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
7537
7538 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
7539 removed (likely outside Emacs). (Bug#11757)
7540
7541 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7542
7543 * emacs-lisp/cl-lib.el: Require macroexp.
7544
7545 2012-06-30 Chong Yidong <cyd@gnu.org>
7546
7547 * xml.el: Implement XML parameter entities.
7548 (xml-parameter-entity-alist): New variable.
7549 (xml-parse-region, xml-parse-fragment): Preserve previous values
7550 of xml-entity-alist and xml-parameter-entity-alist, so that
7551 repeated calls on different documents do not change them.
7552 (xml-parse-tag): Fix doctype regexp.
7553 (xml--entity-replacement-text): New function.
7554 (xml-parse-dtd): Use it. Don't handle system entities; doing that
7555 properly requires url retrieval which is unimplemented.
7556 (xml-escape-string): Doc fix.
7557
7558 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7559
7560 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
7561
7562 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
7563
7564 * fringe.el (fringe-mode): Doc fix.
7565
7566 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
7567
7568 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
7569 is non-nil.
7570 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
7571 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
7572
7573 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
7574
7575 * calendar/cal-dst.el (calendar-current-time-zone):
7576 Return calendar-current-time-zone-cache if non-nil.
7577
7578 2012-06-29 Masatake YAMATO <yamato@redhat.com>
7579
7580 * progmodes/which-func.el (which-func-format):
7581 Add mouse-face. (Bug#11698)
7582
7583 2012-06-29 Leo Liu <sdl.web@gmail.com>
7584
7585 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
7586
7587 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7588
7589 * minibuffer.el (minibuffer-confirm-exit-commands):
7590 Add completion-at-point (bug#11725).
7591
7592 2012-06-29 Glenn Morris <rgm@gnu.org>
7593
7594 * progmodes/f90.el (f90-font-lock-keywords-2):
7595 Add some preprocessor elements. (Bug#10499)
7596
7597 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7598
7599 * progmodes/cperl-mode.el (cperl-update-syntaxification):
7600 Use syntax-propertize (bug#11739).
7601
7602 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
7603
7604 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
7605
7606 2012-06-28 Julien Danjou <julien@danjou.info>
7607
7608 * term.el (term-handle-colors-array): Use a set of new faces to
7609 color the terminal. Also uses :inverse-video property.
7610 (term-default-fg-color): Set to nil by default, deprecate in favor
7611 of `term-face'.
7612 (term-default-bg-color): Set to nil by default, deprecate in favor
7613 of `term-face'.
7614 (term-current-face): Use `term-face' by default.
7615 (term-bold-attribute): Variable deleted.
7616
7617 2012-06-28 Glenn Morris <rgm@gnu.org>
7618
7619 * simple.el (completion-list-mode-finish):
7620 Don't use toggle-read-only. (Since completion-list-mode has
7621 a special mode-class, it wasn't doing anything extra anyway.)
7622
7623 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
7624
7625 Make inlining of other-mode interpreted functions work (bug#11799).
7626 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
7627 (byte-compile): Use it to fix compilation of lexical-binding closures.
7628 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
7629 function, if needed.
7630
7631 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7632
7633 * help-mode.el (help-make-xrefs): Don't just withstand
7634 cyclic-variable-indirection but any error in documentation-property.
7635
7636 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
7637 memory use.
7638 * bindings.el (bindings--define-key): New function.
7639 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
7640 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
7641 * bindings.el: Use it to purecopy define-key bindings.
7642
7643 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
7644
7645 * emacs-lisp/cl.el (flet): Mark obsolete.
7646 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
7647 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
7648 * progmodes/js.el (js-c-fill-paragraph):
7649 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
7650 (ebrowse-switch-member-buffer-to-derived-class):
7651 * play/5x5.el (5x5-solver): Use cl-flet.
7652
7653 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
7654 (cl--symbol-function): New macro.
7655 (cl--letf, cl--letf*): Use it.
7656
7657 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
7658 Strip "toggle-" if any.
7659
7660 2012-06-27 Glenn Morris <rgm@gnu.org>
7661
7662 * info.el (Info-default-directory-list): Move here from paths.el.
7663 * paths.el: Remove file, which is now empty.
7664 * loadup.el: No longer load "paths".
7665
7666 * custom.el (custom-initialize-delay): Doc fix.
7667
7668 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7669 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
7670 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
7671 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
7672 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
7673 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
7674 * eshell/eshell.el (eshell-defgroup): Remove alias.
7675
7676 2012-06-27 Chong Yidong <cyd@gnu.org>
7677
7678 * help.el (help-enable-auto-load): New variable.
7679
7680 * help-fns.el (help-fns--autoloaded-p): New function.
7681 (describe-function-1): Refer to a function as "autoloaded" if it
7682 was autoloaded at any time in the past. Perform autoloading if
7683 help-enable-auto-load is non-nil.
7684
7685 2012-06-26 Eli Zaretskii <eliz@gnu.org>
7686
7687 * makefile.w32-in (compile, compile-always): Depend on
7688 update-subdirs, not on subdirs.el. Otherwise, several different
7689 sub-targets of 'bootstrap' running in parallel could
7690 simultaneously write to subdirs.el, producing a garbled file.
7691
7692 2012-06-26 Sam Steingold <sds@gnu.org>
7693
7694 * files.el (file-name-base): New convenience function.
7695 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
7696 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
7697 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
7698 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
7699 * textmodes/ispell.el, textmodes/reftex-ref.el:
7700 * textmodes/tex-mode.el: Use it.
7701 Did not touch cedet and org because they are maintained elsewhere.
7702
7703 2012-06-26 Martin Rudalics <rudalics@gmx.at>
7704
7705 * calendar/calendar.el (calendar-exit): Don't try to delete or
7706 iconify last frame. See:
7707 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
7708
7709 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
7710
7711 * server.el (server-process-filter): Remember dir in the
7712 process's `server-client-directory' properties.
7713
7714 2012-06-24 Chong Yidong <cyd@gnu.org>
7715
7716 * xml.el (xml-parse-tag): Correctly handle comment embedded in
7717 non-tag text.
7718
7719 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
7720
7721 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
7722
7723 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7724
7725 * help-fns.el (describe-variable): Don't croak when doc is not found.
7726 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
7727 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
7728 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
7729 * emacs-lisp/smie.el (smie-next-sexp): CSE.
7730 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
7731 ((lambda ..) ..).
7732 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
7733
7734 2012-06-23 Chong Yidong <cyd@gnu.org>
7735
7736 * info.el (Info-mouse-follow-link): Accept symbol values of
7737 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
7738 (Info-fontify-node): Use Info-link-keymap for all navigation
7739 buttons, with link-args property to perform the desired action.
7740 (Info-link-keymap): Doc fix.
7741 (Info-next-link-keymap, Info-prev-link-keymap)
7742 (Info-up-link-keymap): Delete now-unused keymaps.
7743
7744 2012-06-23 Chong Yidong <cyd@gnu.org>
7745
7746 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
7747
7748 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
7749 system abbrevs.
7750
7751 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
7752
7753 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7754
7755 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
7756 (bug#11719).
7757
7758 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
7759 the requote function doesn't work properly (bug#11714).
7760
7761 2012-06-23 Glenn Morris <rgm@gnu.org>
7762
7763 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
7764
7765 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7766
7767 Further GV/CL cleanups.
7768 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
7769 gv-expander.
7770 (gv--defun-declaration): New function.
7771 (defun-declarations-alist): Use it.
7772 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
7773 (gv-place): Autoload.
7774 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
7775 original definition of dotimes and dolist.
7776 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
7777 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
7778 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
7779 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7780 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
7781 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
7782 to the function's definition.
7783 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
7784 * window.el:
7785 * files.el:
7786 * faces.el:
7787 * env.el: Don't use CL.
7788
7789 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
7790
7791 Support higher-resolution time stamps (Bug#9000).
7792
7793 * calendar/time-date.el (with-decoded-time-value): New arg
7794 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
7795 (encode-time-value): New optional arg PICO. New type 3.
7796 (time-to-seconds) [!float-time]: Support the new picoseconds
7797 component if it's used.
7798 (seconds-to-time, time-subtract, time-add):
7799 Support ps-resolution time stamps as well.
7800
7801 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
7802 (timerp): Timer vectors now have length 9, not 8.
7803 (timer--time): Support new-style (4-part) time stamps.
7804 (timer-next-integral-multiple-of-time): Time stamps now have
7805 picosecond resolution, so take a bit more care about rounding.
7806 (timer-relative-time, timer-inc-time): New optional arg psecs.
7807 (timer-set-time-with-usecs): Set psecs to 0.
7808 (timer--activate): Check psecs component, too.
7809
7810 * proced.el (proced-time-lessp): Support ps-resolution stamps.
7811
7812 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7813
7814 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
7815 Move the non-essential binding to the post/pre-command-hook where it is
7816 more obviously correct.
7817
7818 * subr.el (read-passwd): Don't use a history at all.
7819 * savehist.el (savehist-save): Remove password saved accidentally
7820 because of the above bug.
7821
7822 2012-06-22 Bastien Guerry <bzg@gnu.org>
7823
7824 * files.el (toggle-read-only): Display a message telling whether
7825 the buffer is read-only or not (bug#11726).
7826
7827 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7828
7829 * emacs-lisp/gv.el: New file.
7830 * subr.el (push, pop): Extend to generalized variables.
7831 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
7832 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
7833 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
7834 gv-define-simple-setter, and gv-define-expander.
7835 Remove setf-methods defined in gv. Rename cl-setf -> setf.
7836 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
7837 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
7838 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
7839 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
7840 gv-letplace.
7841 (cl-defstruct): Don't define setf-method any more.
7842 * emacs-lisp/cl.el (flet): Don't autoload.
7843 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
7844 (define-setf-expander, defsetf, define-modify-macro)
7845 (cl-struct-setf-expander): Move from cl-lib.el.
7846 * emacs-lisp/syntax.el:
7847 * emacs-lisp/ewoc.el:
7848 * emacs-lisp/smie.el:
7849 * emacs-lisp/cconv.el:
7850 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
7851 (timer--time): Use gv-define-simple-setter.
7852 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
7853 to avoid coding-system problems in subr.el. Adjust all users.
7854 (macroexp--maxsize, macroexp-small-p): New functions.
7855 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
7856 * scroll-bar.el (scroll-bar-mode):
7857 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7858 (normal-erase-is-backspace-mode): Don't use the `eq' place.
7859 * winner.el (winner-configuration, winner-make-point-alist)
7860 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
7861 * files.el (locate-file-completion-table): Avoid list*.
7862
7863 2012-06-22 Chong Yidong <cyd@gnu.org>
7864
7865 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
7866 (dired-create-files): Doc fix (Bug#11329).
7867 (dired-do-copy): Doc fix (Bug#11334).
7868 (dired-mark-read-string): Doc fix (Bug#11553).
7869
7870 * dired.el (dired-recursive-copies, dired-recursive-deletes):
7871 Doc fix (Bug#11326).
7872 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
7873 (dired-dwim-target): Doc fix.
7874
7875 * wdired.el (wdired-mode): Doc fix.
7876
7877 2012-06-22 Glenn Morris <rgm@gnu.org>
7878
7879 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
7880 (pcmpl-rpm-cache-stamp-file): New constant.
7881 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
7882 (pcmpl-rpm-packages): Optionally cache list of packages.
7883
7884 * pcmpl-rpm.el (pcmpl-rpm): New group.
7885 (pcmpl-rpm-query-options): New option.
7886 (pcmpl-rpm-packages): No need to inline it.
7887 Use pcmpl-rpm-query-options.
7888
7889 * calendar/calendar.el (calendar-in-read-only-buffer):
7890 Avoid some needless mode changes.
7891
7892 2012-06-21 Chong Yidong <cyd@gnu.org>
7893
7894 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
7895 (desktop-path): Remove . from the default value (Bug#10977).
7896 (desktop-read): Use user-emacs-directory if desktop-path is nil.
7897
7898 2012-06-20 Chong Yidong <cyd@gnu.org>
7899
7900 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
7901
7902 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
7903
7904 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
7905 (bug#11201).
7906
7907 2012-06-20 Chong Yidong <cyd@gnu.org>
7908
7909 * term.el (term-window-width): Handle the case of a missing right
7910 fringe (Bug#8837).
7911 (term-check-size): Use window-text-height (Bug#5445).
7912 (term-mode): Use define-derived-mode. Minor cleanups.
7913 Set font-lock-defaults (Bug#7692).
7914 (term-move-columns, term-insert-char, term-emulate-terminal)
7915 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
7916
7917 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
7918
7919 * net/ange-ftp.el (ange-ftp-get-passwd):
7920 Bind `enable-recursive-minibuffers'.
7921 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
7922
7923 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
7924
7925 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
7926
7927 2012-06-19 Glenn Morris <rgm@gnu.org>
7928
7929 * progmodes/python.el (python-mode): Derive from prog-mode.
7930
7931 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
7932
7933 * emulation/edt.el (edt-default-menu-bar-update-buffers)
7934 (edt-user-menu-bar-update-buffers): New functions.
7935 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
7936
7937 2012-06-19 Chong Yidong <cyd@gnu.org>
7938
7939 * subr.el (with-selected-window): Preserve the selected window's
7940 terminal's top-frame (Bug#4702).
7941
7942 * window.el (save-selected-window): Likewise.
7943
7944 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7945
7946 * progmodes/python.el (python-rx-constituents): Move backquote.
7947 (python-skeleton-define, python-define-auxiliary-skeleton):
7948 Use `declare'.
7949
7950 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
7951
7952 * minibuffer.el (read-file-name-default): Revert the patch from
7953 2012-06-17.
7954
7955 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7956
7957 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
7958 (pcase--u1, pcase--q1): Don't use apply-partially.
7959
7960 2012-06-18 Glenn Morris <rgm@gnu.org>
7961
7962 * progmodes/python.el (python-proc, python-buffer)
7963 (python-send-receive, python-send-string): Fix obsolete versions.
7964
7965 2012-06-18 Martin Rudalics <rudalics@gmx.at>
7966
7967 * window.el (special-display-p): Completely remove stringp
7968 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
7969
7970 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
7971
7972 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
7973
7974 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
7975
7976 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
7977 * net/tramp-sh.el (tramp-maybe-open-connection):
7978 Throw if `non-essential' is non-nil.
7979
7980 2012-06-17 Martin Rudalics <rudalics@gmx.at>
7981
7982 * window.el (special-display-p): Signal an error if BUFFER-NAME
7983 is not a string (Bug#11713).
7984
7985 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
7986
7987 * progmodes/python.el (python-info-beginning-of-backslash):
7988 Rename from python-info-beginning-of-backlash, as a spelling fix.
7989
7990 2012-06-17 Chong Yidong <cyd@gnu.org>
7991
7992 * term.el (term-emulate-terminal): If term-check-size is called,
7993 move point to the process mark without resetting point (Bug#4635).
7994
7995 2012-06-17 Glenn Morris <rgm@gnu.org>
7996
7997 * international/mule-cmds.el (mule-menu-keymap)
7998 (set-language-environment, set-locale-environment): Doc tweaks.
7999
8000 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
8001
8002 * cus-face.el (custom-face-attributes): Add wave-style underline
8003 attribute.
8004 * faces.el (set-face-attribute): Update docstring to describe
8005 wave-style underline attribute.
8006
8007 2012-06-16 Chong Yidong <cyd@gnu.org>
8008
8009 * term/xterm.el (terminal-init-xterm): Discard input before
8010 querying background mode (Bug#10959).
8011
8012 2012-06-16 Stefan Merten <smerten@oekonux.de>
8013
8014 * textmodes/rst.el: Added and corrected some comments.
8015 (rst-re-alist-def): Improve symbol syntax.
8016 (rst-mode-syntax-table): Correct syntax entries.
8017 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8018 (rst-official-version, rst-official-cvs-rev): Update version
8019 information.
8020
8021 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
8022
8023 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
8024 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
8025
8026 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
8027
8028 * progmodes/python.el: New python.el merge.
8029 (python-guess-indent): Obsolete var.
8030 (python-indent-guess-indent-offset): New defcustom.
8031 (python-indent): Obsolete var.
8032 (python-indent-offset): New defcustom.
8033 (python-python-command, python-jython-command): Delete var.
8034 (python-shell-interpreter): New defcustom.
8035 (python-pdbtrack-do-tracking-p): Delete var.
8036 (python-pdbtrack-activate): New defcustom.
8037 (python-use-skeletons): Obsolete var.
8038 (python-skeleton-autoinsert): New defcustom.
8039 (inferior-python-filter-regexp, python-continuation-offset)
8040 (python-honour-comment-indentation, python-indent-string-contents)
8041 (python-jython-packages, python-mode-hook)
8042 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
8043 (python-shell-prompt-alist)
8044 (python-source-modes): Delete defcustoms.
8045 (python-check-buffer-name, python-eldoc-setup-code)
8046 (python-eldoc-string-code, python-ffap-setup-code)
8047 (python-ffap-string-code, python-fill-comment-function)
8048 (python-fill-decorator-function, python-fill-paren-function)
8049 (python-fill-string-function, python-imenu-include-defun-type)
8050 (python-imenu-make-tree, python-imenu-subtree-root-label)
8051 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
8052 (python-shell-compilation-regexp-alist)
8053 (python-shell-completion-module-string-code)
8054 (python-shell-completion-pdb-string-code)
8055 (python-shell-completion-setup-code)
8056 (python-shell-completion-string-code)
8057 (python-shell-enable-font-lock, python-shell-exec-path)
8058 (python-shell-extra-pythonpaths)
8059 (python-shell-internal-buffer-name, python-shell-interpreter-args)
8060 (python-shell-process-environment)
8061 (python-shell-prompt-block-regexp)
8062 (python-shell-prompt-output-regexp)
8063 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
8064 (python-shell-send-setup-max-wait, python-shell-setup-codes)
8065 (python-shell-virtualenv-path): New defcustoms.
8066 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
8067 (inferior-python-mode-syntax-table, python--prompt-regexp)
8068 (python-buffer, python-command python-python-command)
8069 (python-default-template, python-imports, python-indent-index)
8070 (python-indent-list, python-indent-list-length)
8071 (python-mode-running, python-pdbtrack-is-tracking-p)
8072 (python-preoutput-continuation, python-preoutput-leftover)
8073 (python-preoutput-result, python-preoutput-skip-next-prompt)
8074 (python-prev-dir/file, python-recursing)
8075 (python-saved-check-command, python-version-checked)
8076 (python-which-func-length-limit)
8077 (view-return-to-alist): Delete vars.
8078 (python-check-custom-command, python-dotty-syntax-table)
8079 (python-imenu-index-alist, python-indent-current-level)
8080 (python-indent-dedenters, python-indent-levels)
8081 (python-nav-beginning-of-defun-regexp)
8082 (python-nav-list-defun-positions-cache)
8083 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
8084 (python-shell-internal-buffer)
8085 (python-skeleton-available): New vars.
8086 (def-python-skeleton): Delete macro.
8087 (python-skeleton-define): New macro.
8088 (python-define-auxiliary-skeleton, python-rx): New macros.
8089 (python-insert-class): Delete command.
8090 (python-skeleton-class): New command.
8091 (python-insert-def): Delete command.
8092 (python-skeleton-def): New command.
8093 (python-insert-for): Delete command.
8094 (python-skeleton-for): New command.
8095 (python-insert-if): Delete command.
8096 (python-skeleton-if): New command.
8097 (python-insert-try/except, python-insert-try/finally): Delete commands.
8098 (python-skeleton-try): New command.
8099 (python-insert-while): Delete command.
8100 (python-skeleton-while): New command.
8101 (python-backspace): Delete command.
8102 (python-indent-dedent-line-backspace): New command.
8103 (python-electric-colon): Delete command.
8104 (python-indent-electric-colon): New command.
8105 (python-guess-indent): Delete command.
8106 (python-indent-guess-indent-offset): New command.
8107 (python-shift-left): Delete command.
8108 (python-indent-shift-left): New command.
8109 (python-shift-right): Delete command.
8110 (python-indent-shift-right): New command.
8111 (python-find-function): Delete command.
8112 (python-nav-jump-to-defun): New command.
8113 (python-next-statement): Delete command.
8114 (python-nav-forward-sentence): New command.
8115 (python-previous-statement): Delete command.
8116 (python-nav-backward-sentence): New command.
8117 (python-fill-paragraph): Delete command.
8118 (python-fill-paragraph-function): New command.
8119 (python-send-buffer): Delete command.
8120 (python-shell-send-buffer): New command.
8121 (python-send-defun): Delete command.
8122 (python-shell-send-defun): New command.
8123 (python-send-region, python-send-region-and-go): Delete commands.
8124 (python-shell-send-region)
8125 (python-shell-switch-to-shell): New commands.
8126 (python-send-string): Delete command.
8127 (python-shell-send-string): New command.
8128 (python-switch-to-python): Delete command.
8129 (python-shell-switch-to-shell): New command.
8130 (python-describe-symbol): Delete command.
8131 (python-eldoc-at-point): New command.
8132 (python--set-prompt-regexp, python-args-to-list)
8133 (python-after-info-look, python-check-version)
8134 (python-check-comint-prompt, python-find-imports)
8135 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
8136 (python-unload-function, python-expand-template)
8137 (python-maybe-jython, python-preoutput-filter)
8138 (python-pdbtrack-get-source-buffer)
8139 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
8140 (python-pdbtrack-toggle-stack-tracking)
8141 (python-pdbtrack-track-stack-file, python-initial-text)
8142 (python-first-word, python-comment-line-p, python-send-command)
8143 (python-setup-brm, python-sentinel, python-set-proc)
8144 (python-skip-out, python-input-filter, python-outdent-p)
8145 (python-outline-level, python-backslash-continuation-line-p)
8146 (python-end-of-block, python-end-of-statement, python-mark-block)
8147 (python-beginning-of-block, python-beginning-of-statement)
8148 (python-blank-line-p, python-beginning-of-string)
8149 (python-open-block-statement-p): Delete functions.
8150 (python-indent-line, python-indent-line-1): Delete functions.
8151 (python-indent-line): New function.
8152 (python-indentation-levels): Delete function.
8153 (python-indent-calculate-levels): New function.
8154 (python-proc): Delete function.
8155 (python-shell-get-process): New function.
8156 (python-send-receive): Delete function.
8157 (python-shell-send-string-no-output): New function.
8158 (python-module-path): Delete function.
8159 (python-ffap-module-path): New function.
8160 (python-completion-at-point)
8161 (python-symbol-completions): Delete functions.
8162 (python-completion-complete-at-point): New function.
8163 (python-load-file): Delete function.
8164 (python-shell-send-file): New function.
8165 (python-calculate-indentation): Delete function.
8166 (python-indent-calculate-indentation): New function.
8167 (python-skip-comments/blanks): Delete function.
8168 (python-util-forward-comment): New function.
8169 (python-continuation-line-p): Delete function.
8170 (python-info-continuation-line-p): New function.
8171 (python-which-func, python-current-defun): Delete function.
8172 (python-info-current-defun): New function.
8173 (python-beginning-of-defun): Delete function.
8174 (python-nav-beginning-of-defun): New function.
8175 (python-close-block-statement-p)
8176 (python-block-end-p): Delete function.
8177 (python-info-closing-block): New function.
8178 (python-comint-output-filter-function)
8179 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
8180 (python-fill-comment, python-fill-decorator, python-fill-paren)
8181 (python-fill-string, python-imenu-make-element-tree)
8182 (python-imenu-make-tree, python-imenu-tree-assoc)
8183 (python-indent-context, python-indent-dedent-line)
8184 (python-indent-line-function)
8185 (python-indent-post-self-insert-function)
8186 (python-indent-toggle-levels)
8187 (python-info-assignment-continuation-line-p)
8188 (python-info-beginning-of-backlash)
8189 (python-info-block-continuation-line-p)
8190 (python-info-closing-block-message)
8191 (python-info-line-ends-backslash-p)
8192 (python-info-looking-at-beginning-of-defun)
8193 (python-info-ppss-context, python-info-ppss-context-type)
8194 (python-nav-list-defun-positions, python-nav-read-defun)
8195 (python-nav-sentence-end, python-nav-sentence-start)
8196 (python-pdbtrack-comint-output-filter-function)
8197 (python-pdbtrack-set-tracked-buffer)
8198 (python-shell-calculate-exec-path)
8199 (python-shell-calculate-process-environment)
8200 (python-shell-completion--do-completion-at-point)
8201 (python-shell-completion--get-completions)
8202 (python-shell-completion-complete-at-point)
8203 (python-shell-completion-complete-or-indent)
8204 (python-shell-get-or-create-process)
8205 (python-shell-get-process-name)
8206 (python-shell-internal-get-or-create-process)
8207 (python-shell-internal-get-process-name)
8208 (python-shell-internal-send-string, python-shell-make-comint)
8209 (python-shell-parse-command, python-shell-send-setup-code)
8210 (python-skeleton-add-menu-items)
8211 (python-util-clone-local-variables, python-util-position)
8212 (run-python-internal, python-indentation-levels)
8213 (python-nav-beginning-of-defun)
8214 (python-completion-complete-at-point): New functions.
8215 (run-python): Change arguments. New API requirements.
8216
8217 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8218
8219 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
8220 (bug#11649).
8221
8222 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
8223 (macroexp--expand-all): Use it.
8224
8225 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
8226 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
8227 Use `cl-function' instead.
8228
8229 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
8230
8231 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
8232 Suggested by Stefan Monnier while discussing bug#11657.
8233
8234 2012-06-14 Sam Steingold <sds@gnu.org>
8235
8236 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
8237
8238 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
8239
8240 * play/doctor.el (doctor-doc): Remove parameter and use
8241 doctor-sent instead of sent.
8242 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
8243
8244 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8245
8246 * files.el: Require cl-lib.
8247 (file-name-non-special): Replace case -> cl-case.
8248
8249 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
8250
8251 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
8252 mapping from #' to function*.
8253
8254 2012-06-13 Chong Yidong <cyd@gnu.org>
8255
8256 * mouse.el (mouse-drag-track): Do not set the mark if the user
8257 releases the mouse without selecting anything (Bug#11588).
8258
8259 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8260
8261 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
8262 as well (bug#11646).
8263
8264 * loadup.el: Count byte-code functions as well.
8265
8266 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
8267 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
8268
8269 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
8270 (bug#11649). Add cl-defun and cl-defmacro.
8271
8272 2012-06-13 Drew Adams <drew.adams@oracle.com>
8273
8274 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8275 Fix last change.
8276
8277 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
8278
8279 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
8280 Otherwise, it blocks in batch mode.
8281
8282 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
8283
8284 * help-mode.el (bookmark-make-record-default): Declare.
8285
8286 2012-06-13 Chong Yidong <cyd@gnu.org>
8287
8288 * emacs-lisp/package.el (list-packages): Compute a list of
8289 packages that are newly-available since the last list-packages
8290 invocation.
8291 (package-menu--new-package-list): New var.
8292 (package-menu--generate, package-menu--print-info)
8293 (package-menu--status-predicate, package-menu-mark-install):
8294 Handle new status label "new".
8295
8296 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8297
8298 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
8299 conversion to backquotes.
8300
8301 2012-06-12 Chong Yidong <cyd@gnu.org>
8302
8303 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
8304 Rename from gud-inhibit-global-bindings.
8305
8306 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
8307
8308 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
8309 hook from nxml-glyph-set-hook.
8310
8311 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
8312 declaration.
8313
8314 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
8315
8316 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
8317 Convert to defcustom.
8318
8319 2012-06-12 Drew Adams <drew.adams@oracle.com>
8320
8321 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8322 New functions.
8323 (help-mode): Use them.
8324
8325 2012-06-11 Glenn Morris <rgm@gnu.org>
8326
8327 * progmodes/fortran.el (fortran-font-lock-keywords-3):
8328 Use preprocessor face for directives.
8329 (fortran-directive-re): Doc fix.
8330
8331 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8332
8333 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
8334 conversion to backquotes (bug#11652).
8335
8336 Fix compiler-expansion of CL's cXXr functions (bug#11673).
8337 * emacs-lisp/cl-lib.el (cl--defalias): New function.
8338 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
8339 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
8340 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8341 (cl-ninth, cl-tenth): Mark them as inlinable.
8342 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
8343 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
8344 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
8345 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
8346 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
8347 (cl-list*, cl-adjoin): Don't put an autoload manually.
8348 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
8349 (cl--compiler-macro-list*): Add autoload cookie.
8350 (cl--compiler-macro-cXXr): New function.
8351
8352 * help-fns.el (help-fns--compiler-macro): New function extracted from
8353 describe-function-1; follow aliases and use `compiler-macro' property.
8354 (describe-function-1): Use it.
8355
8356 2012-06-11 Chong Yidong <cyd@gnu.org>
8357
8358 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
8359 is uninstalled, if imagemagick is installed.
8360
8361 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8362
8363 * emacs-lisp/cl-lib.el: Use lexical-binding.
8364 (cl-map-extents, cl-maclisp-member): Remove.
8365 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
8366 (cl--set-substring, cl--block-wrapper, cl--block-throw)
8367 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
8368 * emacs-lisp/cl-extra.el: Use lexical-binding.
8369 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
8370 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
8371 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
8372 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
8373 * emacs-lisp/cl-seq.el: Use lexical-binding.
8374 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
8375 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
8376 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
8377 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
8378 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
8379 CL's internals.
8380
8381 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
8382
8383 Sync with Tramp 2.2.6-pre.
8384
8385 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
8386 `print-length' and `print-level' to nil, in order to avoid
8387 truncation. Reported by Christopher Schmidt
8388 <christopher@ristopher.com>.
8389
8390 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
8391
8392 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
8393 New defmacro.
8394 (tramp-compat-copy-directory): Add optional argument
8395 COPY-CONTENTS. It is not handled yet.
8396
8397 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
8398 (tramp-ftp-file-name-p): Simplify.
8399
8400 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
8401 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
8402 connection vector.
8403
8404 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
8405 (tramp-methods): Do not use `tramp-password-end-of-line'.
8406 (tramp-completion-function-alist-putty): Handle UNIX case.
8407 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
8408 (tramp-do-file-attributes-with-stat)
8409 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
8410 gid as real numbers. They could run out of integer range on cygwin.
8411 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
8412 (tramp-sh-handle-expand-file-name): Handle hops.
8413 (tramp-open-connection-setup-interactive-shell):
8414 Use `tramp-cleanup'. Move check for busyboxes ...
8415 (tramp-find-shell): ... here. Simplify implementation.
8416 Set "remote-shell" property also for alternative shells.
8417 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
8418 If failing, a regular file would be written otherwise.
8419 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
8420 (tramp-find-inline-encoding): Cache the coding commands in the
8421 process cache. Apply test command on the remote side, if defined.
8422 (tramp-find-inline-compress): Cache the compress commands in the
8423 process cache.
8424 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
8425 when requested. Handle hops.
8426 (tramp-current-connection): New defvar.
8427 (tramp-maybe-open-connection): Use `tramp-cleanup'.
8428 Throw `suppress', if there was a failed connection shortly before.
8429 Handle user interrupt. (Bug#10187)
8430 (tramp-get-inline-compress, tramp-get-inline-coding):
8431 Read connection properties from the process cache.
8432
8433 * net/tramp-smb.el (tramp-smb-server-version)
8434 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
8435 New defconsts.
8436 (tramp-smb-prompt): Extend for powershell prompt.
8437 (tramp-smb-file-name-handler-alist): Add handlers for
8438 `process-file', `shell-command' and `start-file-process'.
8439 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
8440 (tramp-smb-winexe-shell-command-switch): New defcustoms.
8441 (tramp-smb-file-name-p): Simplify.
8442 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
8443 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
8444 (tramp-smb-shell-quote-argument): New defuns.
8445 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
8446 Implement using "tar". By this, time-stamps are preserved.
8447 (tramp-smb-handle-copy-file): Handle also the case of directories.
8448 (tramp-smb-do-file-attributes-with-stat)
8449 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
8450 Use `tramp-get-connection-buffer').
8451 (tramp-smb-handle-rename-file): Use "rename", when source and
8452 target are on the same share.
8453 (tramp-smb-maybe-open-connection): Handle wrong passwords.
8454 Use `tramp-smb-server-version'.
8455 (tramp-smb-wait-for-output): Remove prompt.
8456
8457 * net/tramp.el (top): Require 'cl.
8458 (tramp-methods, tramp-rsh-end-of-line):
8459 Remove `tramp-password-end-of-line' from docstring.
8460 (tramp-save-ad-hoc-proxies): New defcustom.
8461 (tramp-completion-function-alist): Adapt docstring.
8462 (tramp-default-password-end-of-line): Remove defcustom.
8463 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
8464 (tramp-user-regexp, tramp-file-name-regexp-unified)
8465 (tramp-file-name-regexp-url): Extend regexp by hop separator.
8466 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
8467 (tramp-remote-file-name-spec-regexp): New defconst.
8468 (tramp-file-name-structure): Extend structure for hops.
8469 (tramp-get-method-parameter): Move up.
8470 (tramp-file-name-p, tramp-dissect-file-name)
8471 (with-parsed-tramp-file-name): Handle hops.
8472 (tramp-file-name-hop): New defun.
8473 (tramp-make-tramp-file-name): New optional arg HOP.
8474 (tramp-message-show-progress-reporter-message): New defvar.
8475 (tramp-with-progress-reporter): Use it. We cannot use
8476 `tramp-message-show-message' here, because this suppresses also
8477 error buffers.
8478 (tramp-error-with-buffer): Suppress buffer view, if
8479 `tramp-message-show-message' is nil.
8480 Use `tramp-get-connection-buffer'.
8481 (tramp-cleanup): New defun.
8482 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
8483 (tramp-file-name-handler): If `debug-on-error' is set, propagate
8484 an error unchanged.
8485 (tramp-completion-handle-file-name-all-completions): Handle hops.
8486 Fix an error when called from ido.
8487 (tramp-completion-dissect-file-name): Use better local variable
8488 name. Add hop to the vector.
8489 (tramp-handle-insert-file-contents): Use progress-reporter for the
8490 whole scenario.
8491 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
8492 to `t'.
8493 (tramp-check-for-regexp): Simplify search.
8494 (tramp-enter-password): Remove it. Move implementation ...
8495 (tramp-action-password): ... here.
8496 (tramp-mode-string-to-int, tramp-local-host-p)
8497 (tramp-make-tramp-temp-file, tramp-read-passwd)
8498 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
8499 Set tramp-autoload cookie.
8500
8501 * net/trampver.el: Update release number.
8502
8503 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8504 Michael Albinus <michael.albinus@gmx.de>
8505
8506 * net/tramp.el (tramp-set-completion-function): Fix docstring.
8507 (tramp-parse-group, tramp-parse-file)
8508 (tramp-parse-shostkeys-sknownhosts): New defuns.
8509 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
8510 (tramp-parse-shosts-group, tramp-parse-sconfig)
8511 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
8512 (tramp-parse-sknownhosts, tramp-parse-hosts)
8513 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
8514 Use them.
8515 (tramp-parse-passwd-group, tramp-parse-netrc-group)
8516 (tramp-parse-putty-group): Don't narrow.
8517 (tramp-parse-putty): Make a loop.
8518 (tramp-file-name-handler): Catch the `suppress' signal.
8519
8520 2012-06-11 Chong Yidong <cyd@gnu.org>
8521
8522 * image.el (imagemagick-register-types): Put the ImageMagick entry
8523 at the end of image-type-file-name-regexps.
8524
8525 2012-06-11 Johan Bockgård <bojohan@gnu.org>
8526
8527 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
8528 (pcase, pcase-let*, pcase-dolist): Use them.
8529
8530 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8531
8532 * emacs-lisp/pcase.el (pcase--let*): New function.
8533 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
8534 (pcase--expand): Use macroexp-let².
8535
8536 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8537
8538 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
8539 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
8540 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
8541 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
8542 * emacs-lisp/derived.el: Use pcase instead of `cl'.
8543 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
8544
8545 2012-06-10 Glenn Morris <rgm@gnu.org>
8546
8547 * mail/rmail.el (rmail-yank-current-message): Leave point at
8548 correct position. (Bug#11660)
8549
8550 2012-06-10 Chong Yidong <cyd@gnu.org>
8551
8552 * allout-widgets.el: Fix code header.
8553
8554 2012-06-10 Chong Yidong <cyd@gnu.org>
8555
8556 * cus-edit.el (customize-changed-options-previous-release):
8557 Bump to 24.1.
8558
8559 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
8560
8561 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
8562
8563 2012-06-09 Chong Yidong <cyd@gnu.org>
8564
8565 * ebuff-menu.el (electric-buffer-list): Preserve header line.
8566
8567 2012-06-09 Martin Rudalics <rudalics@gmx.at>
8568
8569 * window.el (special-display-popup-frame): Don't use
8570 window--display-buffer (Bug#11651).
8571
8572 2012-06-09 Eli Zaretskii <eliz@gnu.org>
8573
8574 Fix parallel builds: make sure loaddefs.el is not being written
8575 while Lisp files are compiled.
8576 (compile): Don't depend on 'mh-autoloads'.
8577 (compile-CMD, compile-SH): Depend on 'autoloads'.
8578 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
8579
8580 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
8581
8582 2012-06-09 Chong Yidong <cyd@gnu.org>
8583
8584 * face-remap.el (face-remap-add-relative, face-remap-set-base)
8585 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
8586 Doc fixes (Bug#11225).
8587
8588 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8589
8590 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
8591 a function if there's a clear indication that it has a compiler-macro.
8592 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
8593 (macro-declarations-alist): Add arglist to declaration functions.
8594 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
8595 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
8596 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
8597 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
8598 Also add autoload to find the compiler macro.
8599 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
8600 (cl--compiler-macro-member, cl--compiler-macro-assoc)
8601 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
8602 (cl--compiler-macro-get): New functions, replacing calls to
8603 cl-define-compiler-macro.
8604 (cl-typep) [compiler-macro]: Use macroexp-let².
8605
8606 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
8607
8608 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
8609 string properly, fixes Bug#11473.
8610
8611 2012-06-08 Chong Yidong <cyd@gnu.org>
8612
8613 * faces.el (set-face-attribute): Doc fix.
8614 (modify-face): Don't use :bold and :italic.
8615 (error, warning, success): Tweak definitions.
8616
8617 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
8618 (custom-modified, custom-set, custom-changed, custom-themed)
8619 (custom-saved, custom-button, custom-button-mouse)
8620 (custom-button-pressed, custom-state, custom-comment-tag)
8621 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
8622 (custom-group-subtitle): Use new-style face specs.
8623 (custom-invalid-face, custom-rogue-face, custom-modified-face)
8624 (custom-set-face, custom-changed-face, custom-saved-face)
8625 (custom-button-face, custom-button-pressed-face)
8626 (custom-documentation-face, custom-state-face)
8627 (custom-comment-face, custom-comment-tag-face)
8628 (custom-variable-tag-face, custom-variable-button-face)
8629 (custom-face-tag-face, custom-group-tag-face-1)
8630 (custom-group-tag-face): Remove obsolete face alias.
8631
8632 * epa.el (epa-validity-high, epa-validity-medium)
8633 (epa-validity-low, epa-mark, epa-field-name, epa-string)
8634 (epa-field-name, epa-field-body):
8635 * font-lock.el (font-lock-comment-face, font-lock-string-face)
8636 (font-lock-keyword-face, font-lock-builtin-face)
8637 (font-lock-function-name-face, font-lock-variable-name-face)
8638 (font-lock-type-face, font-lock-constant-face):
8639 * ido.el (ido-first-match, ido-only-match, ido-subdir)
8640 (ido-virtual, ido-indicator, ido-incomplete-regexp):
8641 * speedbar.el (speedbar-button-face, speedbar-file-face)
8642 (speedbar-directory-face, speedbar-tag-face)
8643 (speedbar-selected-face, speedbar-highlight-face)
8644 (speedbar-separator-face):
8645 * whitespace.el (whitespace-newline, whitespace-space)
8646 (whitespace-hspace, whitespace-tab, whitespace-trailing)
8647 (whitespace-line, whitespace-space-before-tab)
8648 (whitespace-space-after-tab, whitespace-indentation)
8649 (whitespace-empty):
8650 * emulation/cua-base.el (cua-global-mark):
8651 * eshell/em-prompt.el (eshell-prompt):
8652 * net/newst-plainview.el (newsticker-new-item-face)
8653 (newsticker-old-item-face, newsticker-immortal-item-face)
8654 (newsticker-obsolete-item-face, newsticker-date-face)
8655 (newsticker-statistics-face, newsticker-default-face):
8656 * net/newst-reader.el (newsticker-feed-face)
8657 (newsticker-extra-face, newsticker-enclosure-face):
8658 * net/newst-treeview.el (newsticker-treeview-face)
8659 (newsticker-treeview-new-face, newsticker-treeview-old-face)
8660 (newsticker-treeview-immortal-face)
8661 (newsticker-treeview-obsolete-face)
8662 (newsticker-treeview-selection-face):
8663 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
8664 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
8665 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
8666 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
8667 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
8668 (nxml-outline-active-indicator, nxml-outline-ellipsis):
8669 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
8670 (mpuz-text):
8671 * progmodes/vera-mode.el (vera-font-lock-number)
8672 (vera-font-lock-function, vera-font-lock-interface):
8673 * textmodes/table.el (table-cell): Use new-style face specs, and
8674 don't use the old :bold and :italic attributes.
8675
8676 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
8677 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
8678 (ebrowse-member-class, ebrowse-progress): Likewise.
8679 (ebrowse-tree-mark-face, ebrowse-root-class-face)
8680 (ebrowse-file-name-face, ebrowse-default-face)
8681 (ebrowse-member-attribute-face, ebrowse-member-class-face)
8682 (ebrowse-progress-face): Remove obsolete faces.
8683
8684 * progmodes/flymake.el (flymake-errline, flymake-warnline):
8685 Inherit from error and warning faces respectively.
8686
8687 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
8688 Likewise.
8689 (flyspell-incorrect-face, flyspell-duplicate-face):
8690 Remove obsolete aliases.
8691
8692 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
8693
8694 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8695 Avoid infloop.
8696
8697 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8698
8699 * startup.el (argv, argi): Make lexically scoped.
8700 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
8701 * emacs-lisp/cl-macs.el: Use lexical-binding.
8702 Rename cl-bind-* to cl--bind-*.
8703 * files.el: Don't require `cl' since it doesn't use it.
8704 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
8705
8706 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
8707
8708 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
8709 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
8710 instead of calling external sort utility.
8711 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
8712
8713 2012-06-08 Eli Zaretskii <eliz@gnu.org>
8714
8715 * descr-text.el (describe-char): Mention how to insert the
8716 character, if the current input method doesn't support it.
8717 See the discussion in this thread for the details:
8718 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
8719
8720 2012-06-08 Sam Steingold <sds@gnu.org>
8721
8722 * bindings.el (global-map): Bind XF86Forward to next-buffer and
8723 XF86Back to previous-buffer.
8724 (minibuffer-local-map): Bind them to next-history-element and
8725 previous-history-element respectively.
8726 * help-mode.el (help-mode-map): Bind them to help-go-forward and
8727 help-go-back respectively.
8728 * info.el (Info-mode-map): Bind them to Info-history-forward and
8729 Info-history-back respectively.
8730 These are the keys next to Up on the ThinkPad keyboard.
8731
8732 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8733
8734 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
8735 * emacs-lisp/cl-macs.el: Provide itself.
8736 (cl--labels-convert-cache): New var.
8737 (cl--labels-convert): New function.
8738 (cl-flet, cl-labels): New implementation with new semantics, relying on
8739 lexical-binding.
8740 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
8741 (cl-closure-vars, cl--function-convert-cache)
8742 (cl--function-convert): Move from cl-macs.el.
8743 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
8744 rename by removing the "cl-" prefix.
8745 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
8746
8747 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8748
8749 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
8750 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
8751 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
8752 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
8753 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
8754 (cl-hash-table-count): Add old compatibility aliases.
8755
8756 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
8757 Use macroexpand-all-environment instead.
8758 (cl--old-macroexpand): New var.
8759 (cl--sm-macroexpand): New function.
8760 (cl-symbol-macrolet): Use it during macro expansion.
8761 (cl--function-convert-cache): New var.
8762 (cl--function-convert): New function, extracted from
8763 cl-macroexpand-all.
8764 (cl-lexical-let): Use it.
8765
8766 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
8767 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
8768 (cl-member): Remove old alias.
8769
8770 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
8771 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
8772 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
8773 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
8774 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
8775 (cl-macroexpand-cmacs): Remove var.
8776 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
8777 Use macroexpand-all instead.
8778
8779 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8780
8781 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
8782 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
8783 (macroexp-copyable-p): New functions and macros.
8784 * emacs-lisp/edebug.el (edebug-unwrap):
8785 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
8786 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
8787 (pcase--let*): Remove.
8788 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
8789 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
8790 macroexp-const-p instead.
8791 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
8792
8793 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
8794 instead of "cl-" for internal definitions. Use macroexp-const-p.
8795 (cl-old-bc-file-form): Remove var.
8796 (cl-const-exprs-p): Remove fun.
8797 (cl-labels, cl-macrolet): Use backquote.
8798 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
8799 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
8800 (cl-define-setf-expander): Rename from cl-define-setf-method.
8801 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
8802
8803 * international/mule-cmds.el: Don't require CL.
8804 (view-hello-file): Don't use `letf'.
8805
8806 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8807
8808 * tmm.el (tmm-prompt): Use string-prefix-p.
8809 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
8810 (tmm-add-prompt): Use minibuffer-completion-help.
8811 (tmm-delete-map): Remove.
8812
8813 * subr.el (kbd): Make it its own function.
8814
8815 2012-06-07 Stefan Merten <smerten@oekonux.de>
8816
8817 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
8818 Silence compiler warnings. Fix versions.
8819 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
8820 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
8821 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
8822 (rst-package-emacs-version-alist): Correct Emacs version to
8823 represent major merge with upstream.
8824 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
8825
8826 2012-06-06 Glenn Morris <rgm@gnu.org>
8827
8828 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
8829 Only print environment variables if set.
8830
8831 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8832
8833 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
8834 (macroexp--cons): Rename from maybe-cons.
8835 (macroexp--accumulate): Rename from macroexp-accumulate.
8836 (macroexp--all-forms): Rename from macroexpand-all-forms.
8837 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
8838 (macroexp--expand-all): Rename from macroexpand-all-1.
8839
8840 2012-06-06 Sam Steingold <sds@gnu.org>
8841
8842 * calendar/calendar.el (calendar-in-read-only-buffer):
8843 Call `special-mode' to enable the standard read-only keybindings.
8844
8845 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8846
8847 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
8848 with "loading" messages (bug#11635).
8849
8850 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
8851
8852 * files.el (enable-remote-dir-locals): New option.
8853 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
8854
8855 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8856 Ensure, that the temp directory is local.
8857
8858 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
8859 `temporary-file-directory'.
8860
8861 * progmodes/python.el (python-send-region): Ensure, that the
8862 temporary file is created also in the remote case.
8863
8864 2012-06-06 Glenn Morris <rgm@gnu.org>
8865
8866 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
8867 (vc-rcs-update-changelog): Use it.
8868
8869 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
8870
8871 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
8872 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
8873 (vc-sccs-diff): Replace use of the external vcdiff script.
8874
8875 2012-06-05 Glenn Morris <rgm@gnu.org>
8876
8877 * ledit.el: Move to obsolete/.
8878
8879 2012-06-05 Sam Steingold <sds@gnu.org>
8880
8881 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
8882 patch (Bug#11140).
8883
8884 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8885
8886 * emacs-lisp/cust-print.el: Move to obsolete.
8887
8888 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
8889 compiler-macro expansion.
8890
8891 Add native compiler-macro support.
8892 * emacs-lisp/macroexp.el (macroexpand-all-1):
8893 Support compiler-macros directly. Properly follow aliases and apply
8894 the compiler macros more thoroughly.
8895 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
8896 macroexpand now properly follows aliases.
8897 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
8898 (cl-compiler-macroexpand): Use new prop.
8899 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
8900
8901 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
8902
8903 2012-06-05 Martin Rudalics <rudalics@gmx.at>
8904
8905 * window.el (get-lru-window, get-mru-window, get-largest-window):
8906 New argument NOT-SELECTED to avoid picking the selected window.
8907 (window--display-buffer-1, window--display-buffer-2): Replace by
8908 new function window--display-buffer
8909 (display-buffer-same-window, display-buffer-reuse-window)
8910 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8911 Use window--display-buffer.
8912 (display-buffer-use-some-window): Remove temporary dedication
8913 hack by calling get-lru-window and get-largest-window with
8914 NOT-SELECTED argument non-nil. Call window--display-buffer.
8915
8916 2012-06-05 Glenn Morris <rgm@gnu.org>
8917
8918 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
8919 Replace external vcdiff script.
8920
8921 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8922
8923 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
8924
8925 2012-06-04 Chong Yidong <cyd@gnu.org>
8926
8927 * image.el (imagemagick-types-inhibit): Revert last change.
8928 Add INFO and M.
8929 (imagemagick-enabled-types): Remove CIN and EPS*.
8930
8931 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8932
8933 * emacs-lisp/cl-lib.el: Rename from cl.el.
8934 * emacs-lisp/cl.el: New compatibility file.
8935 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
8936 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
8937 to obey the "cl-" prefix.
8938 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
8939
8940 2012-06-03 Glenn Morris <rgm@gnu.org>
8941
8942 * emacs-lisp/authors.el (authors-aliases): Addition.
8943
8944 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
8945 Fix :version.
8946
8947 2012-06-03 Stefan Merten <smerten@oekonux.de>
8948
8949 * textmodes/rst.el: Add comments.
8950 (rst-transition, rst-adornment): New faces.
8951 (rst-adornment-faces-alist): Make default safe to reevaluate.
8952 Fixes
8953 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
8954 Improve customization tags.
8955 (rst-define-level-faces): Clarify meaning.
8956
8957 2012-06-03 Chong Yidong <cyd@gnu.org>
8958
8959 * progmodes/compile.el (compilation-mode-line-fail)
8960 (compilation-mode-line-run, compilation-mode-line-exit):
8961 New faces.
8962 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
8963
8964 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
8965
8966 * progmodes/which-func.el (which-func-update-ediff-windows):
8967 New function. Use it in ediff-select-hook (Bug#11478).
8968
8969 2012-06-03 Chong Yidong <cyd@gnu.org>
8970
8971 * bindings.el: Remove explicit help text from format-mode-line.
8972 It is now supplied by mode-line-default-help-echo.
8973 (mode-line-front-space, mode-line-end-spaces)
8974 (mode-line-misc-info): New variables.
8975 (mode-line-modes, mode-line-position): Move the default value to
8976 the variable definition.
8977 (mode-line-default-help-echo): New defcustom.
8978 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
8979 (mode-line-modified-help-echo): New functions.
8980 (mode-line-mule-info, mode-line-modified): Use them.
8981 (mode-line-eol-desc, propertized-buffer-identification):
8982 Consistency fixes for help text.
8983 (mode-line-coding-system-map): Allow using mouse-3 to invoke
8984 set-buffer-file-coding-system (Bug#289).
8985 (mode-line-mule-info-help-echo): Update help text.
8986
8987 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8988
8989 * simple.el (execute-extended-command): Set real-this-command
8990 (bug#11506).
8991
8992 2012-06-02 Chong Yidong <cyd@gnu.org>
8993
8994 Remove incorrect uses of "modeline" in comments, docstrings, and
8995 function/variable names (Bug#10329).
8996
8997 * cus-edit.el (mode-line):
8998 * dframe.el (dframe-mouse-hscroll):
8999 * emacs-lisp/re-builder.el:
9000 * emacs-lisp/easy-mmode.el (define-minor-mode):
9001 * frame.el (set-frame-name):
9002 * help.el (lookup-minor-mode-from-indicator):
9003 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
9004 * progmodes/cc-cmds.el (c-toggle-auto-newline)
9005 (c-toggle-hungry-state):
9006 * progmodes/antlr-mode.el (antlr-language-alist):
9007 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
9008 * progmodes/vhdl-mode.el (vhdl-mode):
9009 * progmodes/which-func.el (which-func, which-func-cleanup-function):
9010 * term/ns-win.el (ns-face-at-pos):
9011 * term/sup-mouse.el (sup-mouse-report):
9012 * textmodes/flyspell.el (flyspell-mode-line-string):
9013 * textmodes/ispell.el (ispell-highlight-face):
9014 * textmodes/reftex-global.el:
9015 * vc/vc-arch.el (vc-arch-mode-line-string):
9016 * vc/vc-cvs.el (vc-cvs-mode-line-string):
9017 * vc/vc-git.el (vc-git-mode-line-string):
9018 * vc/vc-hooks.el (vc-display-status)
9019 (vc-default-mode-line-string):
9020 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
9021
9022 * ansi-color.el (ansi-color-faces-vector): Change default faces.
9023
9024 * dired.el (dired-sort-set-mode-line): Rename from
9025 dired-sort-set-modeline. All callers changed.
9026
9027 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
9028 eshell-status-in-modeline.
9029
9030 * foldout.el (foldout-mode-line-string): Rename from
9031 foldout-modeline-string. All callers changed.
9032 (foldout-update-mode-line): Rename from foldout-update-modeline.
9033
9034 * subr.el (redraw-modeline): Make into obsolete alias.
9035
9036 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
9037 timeclock-modeline-display. Make old name an alias.
9038 (timeclock-update-mode-line): Likewise. All callers changed.
9039 (timeclock-mode-line-display): No need to check before using
9040 add-hook.
9041 (timeclock-relative, timeclock-day-over-hook)
9042 (timeclock-use-elapsed, timeclock-mode-string)
9043 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
9044
9045 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
9046 crisp-mode-modeline-string.
9047
9048 * play/solitaire.el (solitaire-build-mode-line): Rename from
9049 solitaire-build-modeline. All callers changed.
9050
9051 * play/zone.el (zone-hiding-mode-line): Rename from
9052 zone-hiding-modeline. All callers changed.
9053 (zone): Remove unusued `modeline-hidden-level' property.
9054
9055 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
9056 xscheme-modeline-initialize. All callers changed.
9057
9058 * strokes.el (strokes-lighter): Rename from
9059 strokes-modeline-string.
9060
9061 * textmodes/sgml-mode.el (html-face-tag-alist)
9062 (html-tag-face-alist): Use mode-line face instead of obsolete
9063 alias modeline.
9064
9065 2012-06-02 Stefan Merten <smerten@oekonux.de>
9066
9067 * textmodes/rst.el: Always require `cl'.
9068 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
9069
9070 2012-06-02 Chong Yidong <cyd@gnu.org>
9071
9072 * image.el (imagemagick-enabled-types): Rename from
9073 imagemagick-types-enable. Add many more types.
9074 (imagemagick-types-inhibit): Change default to nil.
9075 (imagemagick-filter-types): Caller changed.
9076
9077 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9078
9079 * emacs-lisp/cl-macs.el: Use backquotes.
9080 (cl-transform-function-property): Use eval-and-compile rather than
9081 abusing `require'.
9082 (defstruct): Use declare-function instead of with-no-warnings.
9083
9084 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
9085 (byte-compile-output-docform): Re-add the print-circle bindings.
9086 (byte-compile-fix-header): Use #$ just because it's shorter.
9087 (byte-compile-output-file-form): Remove defun/defmacro.
9088
9089 2012-06-01 Martin Rudalics <rudalics@gmx.at>
9090
9091 * simple.el (choose-completion): Remove now obsolete binding for
9092 owindow.
9093
9094 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
9095
9096 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
9097 in order to avoid "Stack overflow in regexp matcher".
9098
9099 2012-05-31 Glenn Morris <rgm@gnu.org>
9100
9101 * image.el: For clarity, call imagemagick-register-types at
9102 top-level, rather than relying on a custom :initialize.
9103 (imagemagick-types-enable): New option. (Bug#11557)
9104 (imagemagick-filter-types): New function. (Bug#7406)
9105 (imagemagick-register-types): Use imagemagick-filter-types.
9106 If disabling support, remove elements altogether rather
9107 than using an impossible regexp.
9108 (imagemagick-types-inhibit): Give it the default init function.
9109
9110 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9111
9112 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
9113 Handle arbitrary file name lengths (Bug#11585).
9114
9115 2012-05-31 Martin Rudalics <rudalics@gmx.at>
9116
9117 * desktop.el (desktop-read): Clear previous and next buffers for
9118 all windows and bury *Messages* buffer (bug#11556).
9119
9120 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9121
9122 Add `declare' for `defun'. Align `defmacro's with it.
9123 * emacs-lisp/easy-mmode.el (define-minor-mode)
9124 (define-globalized-minor-mode): Don't autoload the var definitions.
9125 * emacs-lisp/byte-run.el: Use lexical-binding.
9126 (defun-declarations-alist, macro-declarations-alist): New vars.
9127 (defmacro, defun): Use them.
9128 (make-obsolete, define-obsolete-function-alias)
9129 (make-obsolete-variable, define-obsolete-variable-alias):
9130 Use `declare'.
9131 (macro-declaration-function): Mark obsolete.
9132 * emacs-lisp/autoload.el: Use lexical-binding.
9133 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
9134
9135 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9136
9137 * textmodes/ispell.el (ispell-with-no-warnings):
9138 Define as a macro.
9139 (ispell-kill-ispell, ispell-change-dictionary):
9140 Use `called-interactively-p' for Emacs instead of obsolete
9141 `interactive-p'.
9142
9143 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9144
9145 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
9146 (macro-declaration-function): Move var from C code.
9147 (macro-declaration-function): Define function with defalias.
9148 * emacs-lisp/macroexp.el (macroexpand-all-1):
9149 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
9150 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
9151 defun/defmacro any more.
9152 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
9153 Provide fallback for unknown arglist.
9154 (byte-compile-arglist-warn): Change calling convention.
9155 (byte-compile-output-file-form): Move print-vars binding.
9156 (byte-compile-output-docform): Simplify accordingly.
9157 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
9158 (byte-compile-defmacro-declaration): Remove.
9159 (byte-compile-file-form-defmumble): Generalize to defalias.
9160 (byte-compile-output-as-comment): Return byte-positions.
9161 Simplify callers accordingly.
9162 (byte-compile-lambda): Use `assert'.
9163 (byte-compile-defun, byte-compile-defmacro): Remove.
9164 (byte-compile-file-form-defalias):
9165 Use byte-compile-file-form-defmumble.
9166 (byte-compile-defalias-warn): Remove.
9167
9168 2012-05-29 Stefan Merten <smerten@oekonux.de>
9169
9170 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
9171 possible. Fix authors. Improve comments. Improve loading of `cl'.
9172
9173 (rst-mode-abbrev-table): Merge definition.
9174 (rst-mode): Make sure `font-lock-defaults' is buffer local.
9175 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
9176
9177 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
9178
9179 * calendar/icalendar.el
9180 (icalendar-export-region): Export UID properly.
9181
9182 2012-05-29 Leo Liu <sdl.web@gmail.com>
9183 * calendar/icalendar.el (icalendar-import-format):
9184 Add `icalendar-import-format-uid' (Bug#11525).
9185 (icalendar-import-format-uid): New.
9186 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
9187 Export UID.
9188
9189 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9190
9191 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
9192 different alternative patterns.
9193 (pcase-codegen): Be more careful to preserve identity.
9194 (pcase--u1): Don't forget to mark vars as used.
9195
9196 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
9197 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
9198 (byte-compile-from-buffer): ...rather than here.
9199
9200 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
9201 functions from byte-compile-function-environment.
9202
9203 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
9204
9205 * window.el (window-deletable-p): Avoid deleting the root window
9206 of a frame with an active minibuffer.
9207
9208 2012-05-29 Martin Rudalics <rudalics@gmx.at>
9209
9210 * simple.el (choose-completion): Use quit-window (Bug#11567).
9211
9212 2012-05-29 Chong Yidong <cyd@gnu.org>
9213
9214 * whitespace.el (whitespace-cleanup): Fix usage of
9215 whitespace-empty-at-bob-regexp (Bug#11492).
9216
9217 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9218
9219 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
9220 revert (Bug#11488).
9221
9222 2012-05-29 Juri Linkov <juri@jurta.org>
9223
9224 * isearch.el (isearch-mode-map): Bind `M-s _' to
9225 `isearch-toggle-symbol'. Bind `M-s c' to
9226 `isearch-toggle-case-fold'.
9227 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
9228 (isearch-forward): Add `M-s _' to the docstring.
9229 (isearch-forward-symbol, isearch-toggle-case-fold)
9230 (isearch-symbol-regexp): New functions. (Bug#11381)
9231
9232 2012-05-29 Juri Linkov <juri@jurta.org>
9233
9234 * isearch.el (isearch-word): Add docstring. (Bug#11381)
9235 (isearch-occur, isearch-search-and-update): If `isearch-word' is
9236 a function, call it to get the regexp.
9237 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
9238 property `isearch-message-prefix' instead of the string "word ".
9239 (isearch-search-fun-default): For the case of `isearch-word',
9240 return a lambda that calls re-search-forward/re-search-backward
9241 with a regexp returned by `word-search-regexp' or by the function
9242 in `isearch-word'.
9243
9244 2012-05-29 Juri Linkov <juri@jurta.org>
9245
9246 * isearch.el (isearch-search-fun-default): New function.
9247 (isearch-search-fun): Move default part to the new function
9248 `isearch-search-fun-default'.
9249 (isearch-search-fun-function): Set the default value to
9250 `isearch-search-fun-default'. (Bug#11381)
9251
9252 * comint.el (comint-history-isearch-end):
9253 Use `isearch-search-fun-default'.
9254 (comint-history-isearch-search): Use `isearch-search-fun-default'
9255 and remove spacial case for `isearch-word'.
9256 (comint-history-isearch-wrap): Remove spacial case for
9257 `isearch-word'.
9258
9259 * hexl.el (hexl-isearch-search-function):
9260 Use `isearch-search-fun-default'.
9261
9262 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
9263 Use `word-search-regexp' for `isearch-word'.
9264
9265 * misearch.el (multi-isearch-search-fun):
9266 Use `isearch-search-fun-default'.
9267
9268 * simple.el (minibuffer-history-isearch-search):
9269 Use `isearch-search-fun-default' and remove spacial case for
9270 `isearch-word'.
9271 (minibuffer-history-isearch-wrap): Remove spacial case for
9272 `isearch-word'.
9273
9274 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
9275 Remove spacial case for `isearch-word'.
9276 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
9277
9278 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9279
9280 Decrease XEmacs incompatibilities.
9281 * textmodes/flyspell.el (flyspell-check-pre-word-p):
9282 Use `string-match'.
9283 (flyspell-delete-region-overlays): Use alternative definition for
9284 XEmacs.
9285 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
9286 (flyspell-word): Use `process-kill-without-query' if XEmacs.
9287 (flyspell-mode-on): Use `interactive-p' if XEmacs.
9288 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
9289 `define-obsolete-face-alias' under XEmacs, but old method.
9290
9291 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
9292 `with-no-warnings' definition or Emacs alias.
9293 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
9294 (ispell-word): Do not use `region-p' if XEmacs.
9295
9296 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9297
9298 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
9299 Check for `ispell-dictionary-base-alist' instead of full
9300 `ispell-dictionary-alist'.
9301 (ispell-init-process): Show spellchecker when starting new Ispell
9302 process.
9303
9304 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9305
9306 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
9307 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
9308
9309 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
9310
9311 * version.el (motif-version-string, gtk-version-string)
9312 (ns-version-string): Declare.
9313
9314 2012-05-27 Juri Linkov <juri@jurta.org>
9315
9316 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
9317 after the `eval-defun-1' specialcaseing
9318 like in `edebug-eval-defun' (bug#10181).
9319
9320 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
9321 like in `eval-defun-1'.
9322
9323 2012-05-27 Eli Zaretskii <eliz@gnu.org>
9324
9325 * mail/sendmail.el (mail-yank-region):
9326 Recognize rmail-yank-current-message in addition to insert-buffer.
9327 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
9328 a *mail* buffer created through rmail-start-mail with sendmail as
9329 mail-user-agent.
9330
9331 2012-05-27 Chong Yidong <cyd@gnu.org>
9332
9333 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
9334 Default to 256 (Bug#11267).
9335
9336 * help.el (describe-mode): Doc fix.
9337
9338 2012-05-26 Glenn Morris <rgm@gnu.org>
9339
9340 * w32-fns.el (w32-init-info): Remove.
9341 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
9342
9343 * info.el (info-initialize): For self-contained NS builds, put the
9344 included info/ directory at the front. (Bug#2791)
9345
9346 * paths.el (Info-default-directory-list): Make it a defcustom,
9347 mainly so that we can use custom-initialize-delay.
9348
9349 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9350
9351 * subr.el (buffer-has-markers-at): Mark obsolete.
9352
9353 * subr.el (lambda): Use declare.
9354
9355 * emacs-lisp/lisp-mode.el (lambda):
9356 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
9357
9358 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9359
9360 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
9361
9362 2012-05-26 Glenn Morris <rgm@gnu.org>
9363
9364 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
9365
9366 2012-05-25 Glenn Morris <rgm@gnu.org>
9367
9368 * paths.el: Remove no-byte-compile.
9369 * loadup.el: No need to load paths.el uncompiled.
9370
9371 * image.el (imagemagick-types-inhibit): Doc fix.
9372
9373 * version.el: Remove no-byte-compile and associated formatting.
9374 * loadup.el: No need to load version.el uncompiled. AFAICS, this
9375 is ancient code from when there was an "inc-vers.el".
9376
9377 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9378
9379 * progmodes/gdb-mi.el: Minor style changes.
9380 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
9381 Turn into minor modes.
9382 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
9383 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
9384 (gdb-shell): Remove unneeded let-binding.
9385 (gdb-get-many-fields): Eliminate O(n²) behavior.
9386
9387 2012-05-25 Eli Zaretskii <eliz@gnu.org>
9388
9389 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
9390 platforms that don't link in fontset.c.
9391
9392 2012-05-25 Juri Linkov <juri@jurta.org>
9393
9394 Use the same diff color scheme as in modern VCSes (bug#10181).
9395
9396 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
9397 to avoid confusion with `diff-added' that now uses green colors.
9398 (diff-removed): Use shades of red.
9399 (diff-added): Use shades of green.
9400 (diff-changed): Leave just the yellow color.
9401 (diff-use-changed-face): New variable.
9402 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
9403 how to highlight context diff changes.
9404 (diff-refine-change): Use shades of yellow.
9405 (diff-refine-removed): New face that uses shades of red.
9406 (diff-refine-added): New face that uses shades of green.
9407 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
9408 `diff-refine-removed' in the call to `smerge-refine-subst'
9409 depending on the value of `diff-use-changed-face'.
9410
9411 * vc/smerge-mode.el (smerge-mine): Use shades of red.
9412 (smerge-other): Use shades of green.
9413 (smerge-base): Use shades of yellow.
9414 (smerge-refined-change): Empty face.
9415 (smerge-refined-removed): New face that uses shades of red.
9416 (smerge-refined-added): New face that uses shades of green.
9417 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
9418 args `props-r' and `props-a', and use them. Doc fix.
9419 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
9420 on its value use different faces `smerge-refined-change',
9421 `smerge-refined-removed', `smerge-refined-added' in the call to
9422 `smerge-refine-subst'.
9423
9424 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
9425 Add face condition `min-colors 88' with shades of red.
9426 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
9427 `min-colors 88' with shades of green.
9428 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
9429 `min-colors 88' with shades of yellow.
9430
9431 2012-05-24 Glenn Morris <rgm@gnu.org>
9432
9433 * paths.el (prune-directory-list, remote-shell-program): Move to...
9434 * files.el (prune-directory-list, remote-shell-program): ...here.
9435 For the latter, delay initialization, prefer ssh, just search PATH.
9436
9437 * paths.el (term-file-prefix): Move to faces.el (the only user).
9438 * faces.el (term-file-prefix): Move here, make it a defcustom.
9439
9440 * paths.el (news-directory, news-path, news-inews-program):
9441 Move to gnus/nnspool.el.
9442
9443 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
9444
9445 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
9446 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
9447 Make the latter a defcustom, with a delayed initialization.
9448
9449 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
9450 These were deleted from Gnus itself late 2010.
9451
9452 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
9453
9454 * progmodes/which-func.el (which-func-ff-hook):
9455 Check against user-error, not error.
9456
9457 * emacs-lisp/edebug.el (top): Do not load or set up loading of
9458 cl-specs.el, which no longer exists.
9459
9460 2012-05-22 Glenn Morris <rgm@gnu.org>
9461
9462 * info.el (info-emacs-bug): New command.
9463 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
9464 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
9465
9466 2012-05-21 Glenn Morris <rgm@gnu.org>
9467
9468 * makefile.w32-in (update-subdirs-SH):
9469 * Makefile.in (update-subdirs): Update for moved update-subdirs.
9470
9471 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9472
9473 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
9474
9475 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9476 Simplify Maven regexp, and make sure the file can't start with a space
9477 (bug#11517).
9478
9479 2012-05-21 Glenn Morris <rgm@gnu.org>
9480
9481 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9482 Scrap superfluous subshells.
9483
9484 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9485
9486 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
9487 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
9488
9489 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
9490
9491 * calc/calc.el (calc-ensure-consistent-units): New variable.
9492
9493 * calc/calc-units.el (math-consistent-units-p)
9494 (math-check-unit-consistency): New functions.
9495 (calc-quick-units, calc-convert-units):
9496 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
9497 is non-nil.
9498 (calc-extract-units): Fix typo.
9499
9500 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9501
9502 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
9503
9504 * textmodes/flyspell.el: Commenting style, plus code simplifications.
9505 (flyspell-default-deplacement-commands): Don't spell check after
9506 repeated window/frame switches (e.g. triggered by mouse-movement).
9507 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
9508 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
9509 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
9510 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
9511 Remove unused vars.
9512 (flyspell-get-casechars, flyspell-get-not-casechars):
9513 Simplify; Don't bother removing a ] just to add it back.
9514 * textmodes/ispell.el (ispell-program-name): Use executable-find.
9515
9516 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9517
9518 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
9519 New functions.
9520 (math-function-table): Add support for more C functions.
9521
9522 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9523
9524 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9525 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9526 Protect delay handling for otherchars against empty otherchars.
9527
9528 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9529
9530 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
9531 their respective macro declarations.
9532 * skeleton.el (define-skeleton):
9533 * progmodes/compile.el (define-compilation-mode):
9534 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
9535 (define-ibuffer-filter):
9536 * emacs-lisp/generic.el (define-generic-mode):
9537 * emacs-lisp/easy-mmode.el (define-minor-mode)
9538 (define-globalized-minor-mode):
9539 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
9540 * emacs-lisp/byte-run.el (defsubst):
9541 * custom.el (deftheme): Add doc-string metadata.
9542
9543 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9544
9545 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
9546
9547 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9548
9549 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
9550
9551 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
9552 * emacs-lisp/cl-macs.el: Idem.
9553 * emacs-lisp/cl-specs.el: Remove.
9554
9555 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9556
9557 Minor renaming of internal CL functions and variables.
9558 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
9559 (cl--position): Rename from cl-position.
9560 (cl--delete-duplicates): Rename from cl-delete-duplicates.
9561 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
9562 (cl--random-state): Rename from *random-state*.
9563
9564 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9565
9566 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
9567 parens around the arg list (bug#11499).
9568
9569 2012-05-17 Juri Linkov <juri@jurta.org>
9570
9571 * isearch.el (word-search-regexp, word-search-backward)
9572 (word-search-forward, word-search-backward-lax)
9573 (word-search-forward-lax): Move functions from search.c
9574 (bug#10145, bug#11381).
9575
9576 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9577
9578 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9579 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9580 Delay for otherchars as for normal word components.
9581
9582 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9583
9584 * minibuffer.el (completion--sifn-requote): Fix last change.
9585 (minibuffer-local-must-match-filename-map):
9586 Move define-obsolete-variable-alias before its var.
9587
9588 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9589
9590 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
9591
9592 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
9593 behavior.
9594 (completion--string-equal-p): New function.
9595 (completion--twq-all): Use it to get better assertion failure data.
9596
9597 Only handle ".." and '..' quoting in shell-mode (bug#11466).
9598 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
9599 (shell--requote-argument): New functions.
9600 (shell-completion-vars): Use them.
9601 (shell--parse-pcomplete-arguments): Rename from
9602 shell-parse-pcomplete-arguments.
9603 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
9604 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
9605 Obey comint-file-name-quote-list.
9606
9607 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
9608 (smie-indent-keyword): Use it.
9609
9610 2012-05-14 Stefan Merten <smerten@oekonux.de>
9611
9612 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
9613
9614 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9615
9616 * net/rlogin.el (rlogin-mode-map): Fix last change.
9617
9618 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
9619
9620 * mail/smtpmail.el (smtpmail-send-command): Send the command and
9621 the following \r\n using a single `process-send-string', since the
9622 Lotus SMTP server refuses to accept any commands if they are sent
9623 with two `process-send-string's (Bug#11444).
9624
9625 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9626
9627 * shell.el (shell-parse-pcomplete-arguments):
9628 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
9629
9630 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9631
9632 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
9633 (image-transform-scale, image-transform-right-angle-fudge): New vars.
9634 (image-transform-width, image-transform-fit-width): New functions.
9635 (image-transform-properties): Use them.
9636 (image-transform-check-size): New function.
9637 (image-toggle-display-image): Use it (for testing).
9638 (image-transform-set-rotation): Reduce angle mod 360.
9639 Delete obsolete comment.
9640
9641 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9642
9643 * image-mode.el: Fix scaling (bug#11399).
9644 (image-transform-resize): Doc fix.
9645 (image-transform-properties): Default scale is 1 and height should
9646 be an integer.
9647
9648 2012-05-13 Johan Bockgård <bojohan@gnu.org>
9649
9650 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
9651 than hard-coding `car', to fix misbehavior when moving forward.
9652
9653 2012-05-13 Chong Yidong <cyd@gnu.org>
9654
9655 * emacs-lisp/tabulated-list.el (tabulated-list-format)
9656 (tabulated-list-entries, tabulated-list-padding)
9657 (tabulated-list-sort-key): Make permanent-local.
9658
9659 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
9660 (electric-buffer-list): Put electric buffer menu
9661 command descriptions in this docstring, instead of the docstring
9662 of electric-buffer-menu-mode. Code cleanups.
9663 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
9664 Electric-buffer-menu-mode.
9665 (electric-buffer-update-highlight): Minor code cleanup.
9666
9667 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
9668
9669 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
9670 (Bug#11447)
9671
9672 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9673
9674 Move define-obsolete-variable-alias before the var's definition.
9675 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
9676 * tooltip.el (tooltip-hook):
9677 * textmodes/reftex-toc.el (reftex-toc-map):
9678 * textmodes/reftex-sel.el (reftex-select-label-map)
9679 (reftex-select-bib-map):
9680 * textmodes/reftex-index.el (reftex-index-map)
9681 (reftex-index-phrases-map):
9682 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
9683 * progmodes/meta-mode.el (meta-mode-map):
9684 * novice.el (disabled-command-hook):
9685 * loadhist.el (unload-hook-features-list):
9686 * frame.el (blink-cursor):
9687 * files.el (find-file-not-found-hooks, write-file-hooks)
9688 (write-contents-hooks):
9689 * emulation/tpu-edt.el (GOLD-map):
9690 * emacs-lock.el (emacs-lock-from-exiting):
9691 * emacs-lisp/generic.el (generic-font-lock-defaults):
9692 * emacs-lisp/chart.el (chart-map):
9693 * dos-fns.el (register-name-alist):
9694 * dired-x.el (dired-omit-files-p):
9695 * desktop.el (desktop-enable):
9696 * cus-edit.el (custom-mode-hook):
9697 * buff-menu.el (buffer-menu-mode-hook):
9698 * bookmark.el (bookmark-read-annotation-text-func)
9699 (bookmark-exit-hooks):
9700 * allout.el (allout-mode-deactivate-hook)
9701 (allout-exposure-change-hook, allout-structure-added-hook)
9702 (allout-structure-deleted-hook, allout-structure-shifted-hook):
9703 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
9704 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
9705 comes before the corresponding variable's definition.
9706
9707 2012-05-12 Chong Yidong <cyd@gnu.org>
9708
9709 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
9710 (Buffer-menu-mouse-select): Restore function (Bug#11459).
9711 (Buffer-menu-mode-map): Bind it.
9712 (Buffer-menu--pretty-name): Add a mouse-face property.
9713
9714 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9715
9716 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
9717 (prolog-upper-case-string, prolog-lower-case-string)
9718 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
9719 (prolog-use-smie, prolog-smie-grammar): New vars.
9720 (prolog-smie-forward-token, prolog-smie-backward-token)
9721 (prolog-smie-rules): New funs.
9722 (prolog-comment-indent): Remove.
9723 (prolog-mode-variables): Use default comment indentation instead.
9724 Setup SMIE.
9725 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
9726 (prolog-mode): Don't call them any more.
9727 (prolog-electric-colon, prolog-electric-dash)
9728 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
9729
9730 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
9731
9732 * minibuffer.el (completion--twq-all): Again, allow case differences.
9733
9734 * term.el: Move keymap initialization code to be more idiomatic.
9735 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
9736 (term-terminal-menu): Move initialization into declaration.
9737 (term-escape-char): Let the user set it in her .emacs.
9738
9739 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
9740 Provide SMIE-based indentation (not enabled by default yet).
9741 (sh-mode-map): Don't bind electric keys.
9742 Use electric-pair-mode instead of skeleton-pair.
9743 (sh-assignment-regexp): Fit within 80 columns.
9744 (sh-indent-supported): Specify actual shell name instead of boolean.
9745 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
9746 (sh-maybe-here-document): Use it. Make obsolete.
9747 (sh-electric-here-document-mode) New minor mode.
9748 (sh-mode): Use it. Don't set sh-indent-supported-here here.
9749 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
9750 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
9751 (sh-smie-rc-grammar, sh-use-smie): New vars.
9752 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
9753 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
9754 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
9755 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
9756 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
9757 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
9758 (sh-set-shell): Use smie-setup if requested.
9759
9760 * term.el (term-set-escape-char): Properly set term-escape-char.
9761 See http://stackoverflow.com/questions/10524656.
9762
9763 2012-05-10 Chong Yidong <cyd@gnu.org>
9764
9765 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
9766 Use url-generic-parse-url, and handle host names and Windows
9767 filenames properly.
9768 (ffap-url-unwrap-remote): Use url-generic-parse-url.
9769 (ffap-url-unwrap-remote): Accept list values, specifying a list of
9770 URL schemes to work on.
9771 (ffap--toggle-read-only): New function.
9772 (ffap-read-only, ffap-read-only-other-window)
9773 (ffap-read-only-other-frame): Use it.
9774 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
9775 necessary for ffap-url-unwrap-remote.
9776
9777 2012-05-10 Dave Abrahams <dave@boostpro.com>
9778
9779 * cus-start.el (create-lockfiles): Add it.
9780
9781 2012-05-09 Chong Yidong <cyd@gnu.org>
9782
9783 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
9784 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
9785
9786 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9787
9788 * shell.el (shell-completion-vars): Fix last change (bug#11348).
9789
9790 2012-05-09 Chong Yidong <cyd@gnu.org>
9791
9792 * ansi-color.el (ansi-color-process-output): Check for validity of
9793 comint-last-output-start before using it. This avoids a bad
9794 interaction with gdb-mi's input/output buffer.
9795
9796 2012-05-09 Glenn Morris <rgm@gnu.org>
9797
9798 * files.el (dir-locals-read-from-file):
9799 Mention dir-locals in any error message.
9800
9801 2012-05-09 Chong Yidong <cyd@gnu.org>
9802
9803 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
9804 package (Bug#11410).
9805
9806 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
9807 variables into description.
9808
9809 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9810
9811 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
9812 shell-delimiter-argument-list (bug#11348).
9813 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
9814
9815 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
9816
9817 * textmodes/rst.el: Silence byte-compiler warnings.
9818 (rst-re-alist, rst-reset-section-caches): Move around.
9819 (rst-re): Use `characterp', not `char-valid-p'.
9820 (font-lock-beg, font-lock-end): Declare.
9821
9822 * progmodes/idlw-shell.el (specs): Remove reference to deleted
9823 variable `idlwave-shell-activate-alt-keybindings' and simplify.
9824
9825 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
9826
9827 2012-05-08 Glenn Morris <rgm@gnu.org>
9828
9829 * files.el (auto-mode-alist): Treat ".make" like ".mk".
9830
9831 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9832
9833 * vc/log-edit.el: Add GNU coding standards highlighting.
9834 (log-edit-font-lock-gnu-style)
9835 (log-edit-font-lock-gnu-keywords): New vars.
9836 (log-edit-font-lock-keywords): New fun.
9837 (log-edit-mode): Don't fold case in font-lock.
9838 (log-edit-font-lock-keywords): Do not assume case-folding.
9839
9840 * imenu.el: Misc cleanup. Make docstrings out of comments.
9841 Use lexical-binding.
9842 (imenu--index-alist, imenu--last-menubar-index-alist)
9843 (imenu-menubar-modified-tick): Use defvar-local.
9844 (imenu--split-menu): Remove unused var.
9845 (imenu--cleanup-seen): Declare as global.
9846 (imenu--cleanup): Use dolist.
9847
9848 * subr.el (defvar-local): Add debug spec and doc-string position.
9849
9850 2012-05-08 Glenn Morris <rgm@gnu.org>
9851
9852 * language/burmese.el, language/cham.el, language/czech.el:
9853 * language/english.el, language/georgian.el, language/greek.el:
9854 * language/japanese.el, language/khmer.el, language/korean.el:
9855 * language/lao.el, language/misc-lang.el, language/romanian.el:
9856 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
9857 * language/thai.el, language/utf-8-lang.el:
9858 Remove no-byte-compile setting.
9859
9860 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
9861
9862 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9863
9864 * progmodes/make-mode.el (makefile-browse):
9865 Remove unnecessary interactive. (Bug#11324)
9866
9867 2012-05-07 Glenn Morris <rgm@gnu.org>
9868
9869 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
9870
9871 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
9872
9873 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9874
9875 * loadup.el: Preload newcomment.el.
9876 * newcomment.el: Move autoload-only code to toplevel.
9877
9878 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
9879 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9880 Handle new :right-align column property.
9881 (tabulated-list-print-col): Idem, plus use `display' text-property to
9882 try and preserve alignment for variable pitch fonts.
9883
9884 2012-05-07 Chong Yidong <cyd@gnu.org>
9885
9886 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
9887 (tabulated-list-use-header-line): New var.
9888 (tabulated-list-init-header): Use it.
9889 (tabulated-list-print-fake-header): New function.
9890 (tabulated-list-print): Use it.
9891 (tabulated-list-sort-button-map): Add non-header-line commands.
9892 (tabulated-list-init-header): Add column name property to basic
9893 labels as well.
9894 (tabulated-list-col-sort): Handle non-header-line button case.
9895 (tabulated-list--sort-by-column-name): Fix a corner case.
9896
9897 * buff-menu.el (list-buffers--refresh):
9898 Handle Buffer-menu-use-header-line.
9899
9900 2012-05-06 Chong Yidong <cyd@gnu.org>
9901
9902 * buff-menu.el: Convert to Tabulated List mode.
9903 (Buffer-menu-buffer+size-width): Make obsolete.
9904 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
9905 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
9906 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
9907 documentation into docstring of buffer-menu.
9908 (Buffer-menu-toggle-files-only): Add an informative message.
9909 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
9910 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
9911 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
9912 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
9913 (Buffer-menu-execute, Buffer-menu-select)
9914 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
9915 (Buffer-menu-bury): Use Tabulated List machinery.
9916 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
9917 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
9918 Delete.
9919 (list-buffers--refresh): New function.
9920 (list-buffers-noselect): Use it.
9921 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
9922 (Buffer-menu--pretty-file-name): New helper functions.
9923
9924 * loadup.el: Preload tabulated-list.
9925
9926 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
9927 tabulated-list-sort-column.
9928 (tabulated-list-init-header): Add the initial aligning space even
9929 if tabulated-list-padding is zero.
9930
9931 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
9932
9933 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
9934 whose cdr is not a cons cell correctly (bug#11038).
9935
9936 2012-05-06 Chong Yidong <cyd@gnu.org>
9937
9938 * emacs-lisp/tabulated-list.el (tabulated-list-format):
9939 Accept additional plist in column descriptors.
9940 (tabulated-list-init-header): Obey it.
9941 (tabulated-list-get-entry): New function.
9942 (tabulated-list-put-tag): Use it. Use string-width instead of
9943 length.
9944 (tabulated-list--column-number): New function.
9945 (tabulated-list-print): Use it.
9946 (tabulated-list-print-col): New function.
9947 Set `tabulated-list-column-name' property on each column's text.
9948 (tabulated-list-print-entry): Use it.
9949 (tabulated-list-delete-entry, tabulated-list-set-col):
9950 New functions.
9951 (tabulated-list-sort-column): New command (Bug#11337).
9952
9953 * buff-menu.el (list-buffers): Move C-x C-b binding from
9954 buff-menu.el to bindings.el.
9955
9956 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
9957 :advertised-binding feature.
9958
9959 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
9960
9961 * progmodes/compile.el (compilation-internal-error-properties):
9962 Calculate start position correctly when end-col is set but
9963 end-line is not (Bug#11382).
9964
9965 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
9966
9967 * man.el (Man-unindent): Use text-property-default-nonsticky to
9968 prevent untabify from inheriting face properties (Bug#11408).
9969
9970 2012-05-05 Stefan Merten <smerten@oekonux.de>
9971
9972 * textmodes/rst.el: Major merge with upstream development up to
9973 Docutils SVN r7399 / rst.el V1.2.1.
9974
9975 Clarify maintainership and authors.
9976
9977 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
9978 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
9979 (rst-official-version, rst-official-cvs-rev, rst-version)
9980 (rst-package-emacs-version-alist): New functions and variables
9981 for version information.
9982
9983 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
9984 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
9985 (rst-mode-syntax-table, rst-mode): New and corrected functions
9986 and variables representing reStructuredText features.
9987
9988 (rst-re): New function for reStructuredText regexes. Use in
9989 many places.
9990
9991 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
9992 (rst-mode-map): Rebind keys.
9993
9994 (rst-mode-lazy, rst-font-lock-keywords)
9995 (rst-font-lock-extend-region)
9996 (rst-font-lock-extend-region-internal)
9997 (rst-font-lock-extend-region-extend)
9998 (rst-font-lock-find-unindented-line-limit)
9999 (rst-font-lock-find-unindented-line-match)
10000 (rst-adornment-level, rst-font-lock-adornment-level)
10001 (rst-font-lock-adornment-match)
10002 (rst-font-lock-handle-adornment-pre-match-form)
10003 (rst-font-lock-handle-adornment-matcher): Major revision of
10004 font-locking. Integrate with other code. Use `jit-lock-mode'.
10005
10006 (rst-preferred-adornments, rst-adjust-hook)
10007 (rst-new-adornment-down, rst-preferred-bullets)
10008 (rst-preferred-bullets, rst-indent, rst-indent-width)
10009 (rst-indent-field, rst-indent-literal-normal)
10010 (rst-indent-literal-minimized, rst-indent-comment): Change,
10011 extend and improve customization.
10012
10013 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
10014 (rst-normalize-cursor-position, rst-get-decoration)
10015 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
10016 (rst-rstrip, rst-toc-insert-find-delete-contents)
10017 (rst-shift-fill-region, rst-compute-bullet-tabs)
10018 (rst-debug-print-tabs, rst-debug-mark-found)
10019 (rst-shift-region-guts, rst-shift-region-right)
10020 (rst-shift-region-left, rst-use-char-classes)
10021 (rst-font-lock-keywords-function)
10022 (rst-font-lock-indentation-point)
10023 (rst-font-lock-find-unindented-line-begin)
10024 (rst-font-lock-find-unindented-line-end)
10025 (rst-font-lock-find-unindented-line)
10026 (rst-font-lock-adornment-point, rst-font-lock-level)
10027 (rst-adornment-level-alist): Remove functions and variables.
10028
10029 (rst-compare-adornments, rst-get-adornment-match)
10030 (rst-suggest-new-adornment, rst-get-adornments-around)
10031 (rst-adornment-complete-p, rst-get-next-adornment)
10032 (rst-adjust-adornment, rst-display-adornments-hierarchy)
10033 (rst-straighten-adornments): Standardize function names to
10034 use "adornment" instead of "decoration". Correct callers.
10035 Similar standardizing in many places.
10036
10037 (rst-update-section, rst-adjust, rst-promote-region)
10038 (rst-enumerate-region, rst-bullet-list-region)
10039 (rst-repeat-last-character): Correct use of `interactive'.
10040
10041 (rst-classify-adornment, rst-find-all-adornments)
10042 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
10043 (rst-find-leftmost-column, rst-repeat-last-character):
10044 Refactor functions.
10045
10046 (rst-find-title-line, rst-reset-section-caches)
10047 (rst-get-adornments-around, rst-adjust-adornment-work)
10048 (rst-arabic-to-roman, rst-roman-to-arabic)
10049 (rst-insert-list-pos, rst-insert-list-new-item)
10050 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
10051 New functions.
10052
10053 (rst-all-sections, rst-section-hierarchy)
10054 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
10055 New variables.
10056
10057 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
10058 configuration instead of only buffer. Change where necessary.
10059
10060 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
10061 (rst-shift-region, rst-adaptive-fill): New functions for
10062 indentation and filling.
10063
10064 (rst-comment-line-break, rst-comment-indent)
10065 (rst-comment-insert-comment, rst-comment-region)
10066 (rst-uncomment-region): New functions for handling comments.
10067
10068 (rst-compile): Quote shell arguments.
10069
10070 (rst-compile-pdf-preview, rst-compile-slides-preview):
10071 Delete temporary files after use.
10072
10073 2012-05-05 Glenn Morris <rgm@gnu.org>
10074
10075 * calendar/cal-html.el: Optionally include holidays in the output.
10076 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
10077 (cal-html-holidays): New option.
10078 (cal-html-css-default): Add holiday entry.
10079 (holiday-in-range): Autoload it.
10080 (cal-html-htmlify-entry): Add optional class argument.
10081 (cal-html-htmlify-list): Add optional holidays argument.
10082 (cal-html-insert-agenda-days): Include holidays in the output.
10083 (cal-html-one-month): Maybe include holidays.
10084
10085 * calendar/holidays.el (holiday-in-range):
10086 Move here from cal-tex-list-holidays.
10087 * calendar/cal-tex.el (cal-tex-list-holidays):
10088 Make it an obsolete alias for holiday-in-range. Update all callers.
10089
10090 2012-05-05 Chong Yidong <cyd@gnu.org>
10091
10092 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
10093 Nextstep.
10094
10095 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
10096
10097 * files.el (file-auto-mode-skip): New var.
10098 (set-auto-mode-1): Use it.
10099
10100 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10101
10102 * repeat.el: Use lexical-binding.
10103 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
10104 (repeat-undo-count): Remove.
10105 (repeat):
10106 * progmodes/octave-mod.el (octave-abbrev-start):
10107 * progmodes/f90.el (f90-abbrev-start):
10108 * face-remap.el (text-scale-adjust):
10109 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
10110
10111 * emacs-lisp/pcase.el (pcase--let*): New function.
10112 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
10113 a bit more.
10114 (pcase--split-pred): Be more clever about ruling out overlap between
10115 a predicate and some constant pattern.
10116 (pcase--q1): Use `null' instead of (eq foo nil).
10117
10118 * subr.el (setq-local, defvar-local): New macros.
10119 (kbd): Redefine as an alias.
10120 (with-selected-window): Leave unrelated frames alone.
10121 (set-temporary-overlay-map): New function.
10122
10123 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10124
10125 * subr.el (user-error): New function.
10126 * window.el (switch-to-buffer):
10127 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
10128 (smerge-match-conflict):
10129 * simple.el (previous-matching-history-element)
10130 (next-matching-history-element, goto-history-element, undo-more)
10131 (undo-start):
10132 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
10133 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
10134 (next-file, tags-loop-scan, list-tags, complete-tag):
10135 * progmodes/compile.el (compilation-loop):
10136 * mouse.el (mouse-minibuffer-check):
10137 * man.el (Man-bgproc-sentinel, Man-goto-page):
10138 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
10139 (Info-history-forward, Info-follow-reference, Info-menu)
10140 (Info-extract-menu-item, Info-extract-menu-counting)
10141 (Info-forward-node, Info-backward-node, Info-next-menu-item)
10142 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
10143 (Info-next-reference, Info-prev-reference, Info-index)
10144 (Info-index-next, Info-follow-nearest-node)
10145 (Info-copy-current-node-name):
10146 * imenu.el (imenu--make-index-alist)
10147 (imenu-default-create-index-function, imenu-add-to-menubar):
10148 * files.el (basic-save-buffer, recover-file):
10149 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10150 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
10151 (checkdoc-message-text, checkdoc-defun):
10152 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
10153 * cus-edit.el (customize-changed-options, customize-rogue)
10154 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
10155 (custom-variable-mark-to-reset-standard)
10156 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
10157 (custom-file):
10158 * completion.el (check-completion-length):
10159 * comint.el (comint-search-arg)
10160 (comint-previous-matching-input-string-position)
10161 (comint-previous-matching-input)
10162 (comint-replace-by-expanded-history-before-point, comint-send-input)
10163 (comint-copy-old-input, comint-backward-matching-input)
10164 (comint-goto-process-mark, comint-set-process-mark):
10165 * calendar/calendar.el (calendar-cursor-to-date): Use it.
10166 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
10167
10168 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10169
10170 * dabbrev.el (dabbrev--ignore-case-p): New function.
10171 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
10172 Use it.
10173
10174 * files.el (automount-dir-prefix): Mark as obsolete.
10175
10176 2012-05-04 Glenn Morris <rgm@gnu.org>
10177
10178 * patcomp.el, play/bruce.el: Move to obsolete/.
10179
10180 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
10181
10182 Fix minor Y10k bugs.
10183 * arc-mode.el (archive-unixdate):
10184 * autoinsert.el (auto-insert-alist):
10185 * calc/calc-forms.el (math-this-year):
10186 * emacs-lisp/copyright.el (copyright-current-year)
10187 (copyright-update-year, copyright):
10188 * tar-mode.el (tar-clip-time-string):
10189 * time.el (display-time-update):
10190 Don't assume years have 4 digits.
10191
10192 2012-05-04 Chong Yidong <cyd@gnu.org>
10193
10194 * dos-w32.el (file-name-buffer-file-type-alist)
10195 (direct-print-region-use-command-dot-com):
10196 * ffap.el (ffap-menu-regexp):
10197 * find-file.el (ff-special-constructs):
10198 * follow.el (follow-debug):
10199 * forms.el (forms--debug):
10200 * iswitchb.el (iswitchb-all-frames):
10201 * ido.el (ido-all-frames):
10202 * emacs-lisp/timer.el (timer-max-repeats):
10203 * mail/feedmail.el (feedmail-mail-send-hook)
10204 (feedmail-mail-send-hook-queued):
10205 * mail/footnote.el (footnote-signature-separator):
10206 * mail/mailabbrev.el (mail-alias-separator-string)
10207 (mail-abbrev-mode-regexp):
10208 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
10209 * progmodes/idlwave.el (idlwave-libinfo-file)
10210 (idlwave-default-completion-case-is-down)
10211 (idlwave-library-routines): Convert defvars to defcustoms.
10212
10213 * mail/rmail.el (rmail-decode-mime-charset):
10214 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
10215 (idlwave-shell-fix-inserted-breaks)
10216 (idlwave-shell-activate-alt-keybindings)
10217 (idlwave-shell-use-breakpoint-glyph):
10218 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
10219
10220 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10221
10222 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
10223
10224 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
10225
10226 * progmodes/verilog-mode.el (font-lock-keywords):
10227 Fix mis-highligting auto. Reported by Craig Barner.
10228 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
10229 defines from global name space. Reported by Dan Dever.
10230 (verilog-auto-reset, verilog-auto-reset-widths)
10231 (verilog-auto-tieoff): Support using unbased numbers for
10232 AUTORESET and AUTOTIEOFF.
10233 (verilog-submit-bug-report): Update variable list.
10234 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
10235 parenthesis from not matching. Reported by Michael Rytting.
10236 (verilog-auto-template-lint): Fix hash error when linting modules
10237 with no used templates.
10238 (verilog-warn, verilog-warn-error)
10239 (verilog-warn-fatal): When non-interactive report multiple
10240 warnings before exiting. Suggested by Brad Dobbie.
10241 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
10242 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
10243 to report unused template errors. Reported by Brad Dobbie.
10244 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
10245 nets, bug438. Reported by Vns Blore.
10246 (verilog-auto-inout-module, verilog-auto-reg)
10247 (verilog-read-decls, verilog-read-sub-decls-sig)
10248 (verilog-signals-edit-wire-reg, verilog-signals-with):
10249 Fix passing of Verilog data types in ANSI input/output ports
10250 such as "output logic" into the AUTOs. Special case "wire" and
10251 "reg" for backwards compatibility presuming Verilog 2001.
10252 (verilog-auto-ascii-enum): Add "auto enum" as alias.
10253 (verilog-preprocess): Fix replication of preprocess output.
10254 Reported by Brad Dobbie.
10255 (verilog-auto-inst-interfaced-ports):
10256 Create verilog-auto-inst-interfaced-ports, bug429.
10257 Reported by Julian Gorfajn.
10258 (verilog-after-save-font-hook)
10259 (verilog-before-save-font-hook): New variable.
10260 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
10261 (verilog-save-font-mods): Wrap disabling fontification, reported
10262 by David Rogoff.
10263 (verilog-do-indent, verilog-pretty-declarations-auto)
10264 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
10265 Reported by Pierre-David Pfister.
10266 (verilog-set-auto-endcomments): Fix endtask auto comments outside
10267 of class declarations, bug292. Reported by Kevin Heilman.
10268 (verilog-read-decls): Fix 'parameter type' not appearing in
10269 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
10270 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
10271 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
10272 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
10273 Reported by David Kravitz.
10274
10275 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
10276
10277 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
10278 assignment with tests in ifs and for loops.
10279 (verilog-extended-complete-re, verilog-complete-reg): Change so
10280 that DPI inport functions don't look like fuction declarations.
10281 (verilog-pretty-expr): Don't line up assignment
10282 operations to the test and increment in if and for loops
10283 (verilog-extended-complete-re, verilog-complete-reg): Change so
10284 that DPI inport functions don't look like fuction declarations.
10285
10286 2012-05-03 Kenichi Handa <handa@m17n.org>
10287
10288 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
10289 decoding, and show a warning message without signaling an error
10290 (Bug#11282).
10291
10292 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10293
10294 * emacs-lisp/bytecomp.el
10295 (byte-compile-file-form-custom-declare-variable): Compile all elements,
10296 since cconv.el might have introduced :fun-body, internal-make-closure,
10297 and friends for bytecomp to handle (bug#11391).
10298 * custom.el (defcustom): Avoid ((λ ..) ..).
10299
10300 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10301
10302 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
10303
10304 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
10305
10306 * notifications.el (dbus-debug):
10307 * term/linux.el (gpm-mouse-enable):
10308 * term/screen.el (xterm-register-default-colors): Declare.
10309
10310 2012-05-02 Chong Yidong <cyd@gnu.org>
10311
10312 * cus-start.el (gc-cons-percentage, exec-suffixes)
10313 (dos-display-scancodes, dos-hyper-key, dos-super-key)
10314 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
10315 (make-cursor-line-fully-visible, void-text-area-pointer)
10316 (font-list-limit): Add customization data.
10317
10318 * allout.el (allout-exposure-change-functions)
10319 (allout-structure-added-functions)
10320 (allout-structure-deleted-functions)
10321 (allout-structure-shifted-functions): Rename abnormal hooks from
10322 *-hook, and convert to defcustoms.
10323 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
10324 Convert to defcustoms.
10325 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
10326
10327 * allout-widgets.el: Hook callers changed.
10328
10329 2012-05-02 Eli Zaretskii <eliz@gnu.org>
10330
10331 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
10332 the yanked message in preference to the default value of
10333 buffer-file-coding-system.
10334
10335 2012-05-02 Martin Rudalics <rudalics@gmx.at>
10336
10337 * window.el (display-buffer--action-function-custom-type):
10338 Fix entry.
10339
10340 2012-05-02 Alan Mackenzie <acm@muc.de>
10341
10342 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
10343
10344 2012-05-01 Glenn Morris <rgm@gnu.org>
10345
10346 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
10347
10348 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
10349
10350 * cus-edit.el (custom-variable-documentation): Simplify with format.
10351
10352 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10353 Stefan Monnier <monnier@iro.umontreal.ca>
10354
10355 * simple.el (suggest-key-bindings, execute-extended-command):
10356 Move from keyboard.c.
10357
10358 2012-05-01 Chong Yidong <cyd@gnu.org>
10359
10360 * follow.el: Eliminate advice.
10361 (set-process-filter, process-filter, sit-for): Advice deleted.
10362 (follow-mode-off-hook): Obsolete hook removed.
10363 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
10364 Vars deleted.
10365 (follow-auto): Use a :set function.
10366 (follow-mode): Rewritten. Don't advise process filters.
10367 (follow-switch-to-current-buffer-all, follow-scroll-up)
10368 (follow-scroll-down): Assume follow-mode is bound.
10369 (follow-comint-scroll-to-bottom)
10370 (follow-align-compilation-windows): New functions.
10371 (follow--window-sorter): New function.
10372 (follow-all-followers): Use it to explicitly sort windows by their
10373 positions; don't make assumptions about next-window order.
10374 (follow-windows-start-end, follow-delete-other-windows-and-split)
10375 (follow-calc-win-start): Doc fix.
10376 (follow-windows-aligned-p, follow-select-if-visible): Don't call
10377 vertical-motion unnecessarily.
10378 (follow-adjust-window): New function.
10379 (follow-post-command-hook): Use it.
10380 (follow-call-set-process-filter, follow-call-process-filter)
10381 (follow-intercept-process-output, follow-tidy-process-filter-alist)
10382 (follow-stop-intercept-process-output, follow-generic-filter):
10383 Functions deleted.
10384 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
10385 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
10386 New functions, replacing advice on scroll-bar-* commands.
10387 (follow-mwheel-scroll): New function (Bug#4112).
10388
10389 * comint.el (comint-adjust-point): New function.
10390 (comint-postoutput-scroll-to-bottom): Use it.
10391 Call follow-comint-scroll-to-bottom for Follow mode buffers.
10392
10393 2012-05-01 Glenn Morris <rgm@gnu.org>
10394
10395 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
10396 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
10397 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
10398 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
10399 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
10400 Remove no-byte-compile setting.
10401
10402 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10403
10404 * minibuffer.el (completion-table-with-quoting): Fix compatibility
10405 all-completions code to not return a number in the last cdr.
10406
10407 2012-04-30 Leo Liu <sdl.web@gmail.com>
10408
10409 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
10410 read-only error.
10411
10412 2012-04-29 Chong Yidong <cyd@gnu.org>
10413
10414 * follow.el (follow-calc-win-end): Rewrite to handle partial
10415 screen lines correctly (Bug#8390).
10416 (follow-avoid-tail-recenter): Minor cleanup.
10417
10418 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10419
10420 Avoid the obsolete `assoc' package.
10421 * speedbar.el (speedbar-refresh): Avoid adelete.
10422 (speedbar-file-lists): Simplify and avoid aput.
10423 * man.el (Man--sections, Man--refpages): New vars, replacing
10424 Man-sections-alist and Man-refpages-alist.
10425 (Man-build-section-alist, Man-build-references-alist):
10426 Use them; avoid aput.
10427 (Man--last-section, Man--last-refpage): New vars.
10428 (Man-follow-manual-reference): Use them.
10429 Use the `default' arg of completing-read.
10430 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
10431
10432 2012-04-27 Chong Yidong <cyd@gnu.org>
10433
10434 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
10435
10436 * startup.el (x-apply-session-resources): New function.
10437
10438 * term/ns-win.el (ns-initialize-window-system):
10439 * term/w32-win.el (w32-initialize-window-system):
10440 * term/x-win.el (x-initialize-window-system): Use it to properly
10441 set menu-bar-mode and other vars from X resources, even if the
10442 initial frame is not a window-system frame (Bug#2299).
10443
10444 * subr.el (read-key): Avoid running filter function when setting
10445 up temporary tool bar entries (Bug#9922).
10446
10447 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
10448
10449 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
10450 (Bug#11344)
10451
10452 2012-04-27 Chong Yidong <cyd@gnu.org>
10453
10454 * select.el (xselect--encode-string): New function, split from
10455 xselect-convert-to-string.
10456 (xselect-convert-to-string): Use it.
10457 (xselect-convert-to-filename, xselect-convert-to-os)
10458 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
10459 returned strings are properly encoded (Bug#11315).
10460
10461 2012-04-27 Chong Yidong <cyd@gnu.org>
10462
10463 * simple.el (delete-active-region): Move to killing custom group.
10464
10465 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
10466
10467 * progmodes/which-func.el (which-func-current): Quote %
10468 characters for mode-line processing.
10469
10470 2012-04-27 Chong Yidong <cyd@gnu.org>
10471
10472 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
10473 reaching eob (Bug#11286).
10474
10475 2012-04-27 Eli Zaretskii <eliz@gnu.org>
10476
10477 * progmodes/gdb-mi.el (gdb-control-level): New variable.
10478 (gdb): Make it buffer-local and init to zero.
10479 (gdb-control-commands-regexp): New variable.
10480 (gdb-send): Don't wrap in "-interpreter-exec console" if
10481 gdb-control-level is positive. Increment gdb-control-level
10482 whenever the command matches gdb-control-commands-regexp, and
10483 decrement it each time the command is "end". (Bug#11279)
10484
10485 2012-04-27 Martin Rudalics <rudalics@gmx.at>
10486
10487 * window.el (adjust-window-trailing-edge, enlarge-window)
10488 (shrink-window, window-resize):
10489 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
10490 windows (Bug#11276).
10491
10492 2012-04-27 Chong Yidong <cyd@gnu.org>
10493
10494 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
10495 fix "missing prefix" warning. All callers changed.
10496
10497 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10498
10499 * emacs-lisp/assoc.el: Move to obsolete/.
10500
10501 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10502
10503 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
10504
10505 * term/ns-win.el (ns-define-service):
10506 * progmodes/pascal.el (pascal-goto-defun):
10507 * progmodes/js.el (js--read-tab):
10508 * progmodes/etags.el (tags-lazy-completion-table):
10509 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
10510 * emacs-lisp/ewoc.el (ewoc--wrap):
10511 * emacs-lisp/assoc.el (aput, adelete, amake):
10512 * doc-view.el (doc-view-convert-current-doc):
10513 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
10514
10515 2012-04-26 Chong Yidong <cyd@gnu.org>
10516
10517 * image.el (image-type-from-buffer): Only return supported image
10518 type (Bug#9045).
10519
10520 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
10521 value, for symmetry with diff-end-of-hunk.
10522 (diff-split-hunk, diff-find-source-location)
10523 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
10524 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
10525 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
10526 compute the relevant hunk or file properly (Bug#6005).
10527 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
10528
10529 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10530
10531 * vc/vc-mtn.el:
10532 * vc/vc-hg.el:
10533 * vc/vc-git.el:
10534 * vc/vc-dir.el:
10535 * vc/vc-cvs.el:
10536 * vc/vc-bzr.el:
10537 * vc/vc-arch.el:
10538 * vc/vc.el: Replace lexical-let by lexical-binding.
10539 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
10540 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
10541 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
10542
10543 2012-04-26 Chong Yidong <cyd@gnu.org>
10544
10545 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
10546 (diff-mode-shared-map): Bind it to / and [remap undo].
10547
10548 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
10549 (ediff-window-setup-function): Use it as the default, to set up
10550 windows based on whether the current frame is graphical (Bug#2138).
10551 (ediff-choose-window-setup-function-automatically): Make obsolete.
10552
10553 * vc/ediff-init.el: Always define ediff-pixel-width/height.
10554
10555 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10556
10557 * ffap.el: Remove old code for obsolete package.
10558 (ffap-complete-as-file-p): Remove.
10559
10560 Use completion-table-with-quoting for comint and pcomplete.
10561 * comint.el (comint--unquote&requote-argument)
10562 (comint--unquote-argument, comint--requote-argument): New functions.
10563 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
10564 (comint-quote-filename): Use regexp-opt-charset.
10565 (comint--common-suffix, comint--common-quoted-suffix)
10566 (comint--table-subvert): Remove.
10567 (comint-unquote-function, comint-requote-function): New vars.
10568 (comint--complete-file-name-data): Use them with
10569 completion-table-with-quoting.
10570 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
10571 * pcomplete.el (pcomplete-arg-quote-list)
10572 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
10573 (pcomplete-unquote-argument-function): Default to non-nil.
10574 (pcomplete-unquote-argument): Simplify.
10575 (pcomplete--common-quoted-suffix): Remove.
10576 (pcomplete-requote-argument-function): New var.
10577 (pcomplete--common-suffix): New function.
10578 (pcomplete-completions-at-point): Use completion-table-with-quoting
10579 and completion-table-subvert.
10580
10581 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
10582 (minibuffer--double-dollars): Preserve properties.
10583 (completion--sifn-requote): New function.
10584 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
10585
10586 * minibuffer.el: Add support for completion of quoted/escaped data.
10587 (completion-table-with-quoting, completion-table-subvert): New funs.
10588 (completion--twq-try, completion--twq-all): New functions.
10589 (completion--nth-completion): New function.
10590 (completion-try-completion, completion-all-completions): Use it.
10591
10592 2012-04-25 Leo Liu <sdl.web@gmail.com>
10593
10594 * progmodes/python.el (python-pdbtrack-get-source-buffer):
10595 Use compilation-message if available to find real filename.
10596
10597 2012-04-25 Chong Yidong <cyd@gnu.org>
10598
10599 * vc/diff-mode.el (diff-setup-whitespace): New function.
10600 (diff-mode): Use it.
10601
10602 * vc/diff.el (diff-sentinel):
10603 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
10604 Whitespace mode variables based on diff style (Bug#8612).
10605
10606 2012-04-25 Leo Liu <sdl.web@gmail.com>
10607
10608 * progmodes/python.el (python-send-region): Add suffix .py to the
10609 temp file.
10610
10611 * files.el (auto-mode-alist): Use javascript-mode instead.
10612
10613 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
10614
10615 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
10616
10617 * net/soap-client.el (soap-resolve-references-for-sequence-type)
10618 (soap-resolve-references-for-array-type): Hack to prevent self
10619 references, see Bug#9.
10620 (soap-parse-envelope): Report the contents of the 'detail' node
10621 when receiving a fault reply.
10622 (soap-parse-envelope): Report the contents of the entire 'detail' node.
10623
10624 * net/soap-inspect.el (soap-sample-value-for-simple-type)
10625 (soap-inspect-simple-type): New function.
10626
10627 * net/soap-client.el (soap-simple-type): New struct.
10628 (soap-default-xsd-types, soap-default-soapenc-types)
10629 (soap-decode-basic-type, soap-encode-basic-type):
10630 support unsignedInt and double basic types.
10631 (soap-resolve-references-for-simple-type)
10632 (soap-parse-simple-type, soap-encode-simple-type): New function.
10633 (soap-parse-schema): Parse xsd:simpleType declarations.
10634
10635 * net/soap-client.el (soap-default-xsd-types)
10636 (soap-default-soapenc-types): Add integer, byte and anyURI types.
10637 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
10638 the local name of "soapenc:Array".
10639 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
10640 decoding integer, byte and anyURI xsd types.
10641
10642 2012-04-25 Chong Yidong <cyd@gnu.org>
10643
10644 * cus-edit.el (custom-buffer-create-internal): Update header text.
10645
10646 2012-04-25 Eli Zaretskii <eliz@gnu.org>
10647
10648 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
10649 settings on 'system-type', not on 'window-system'. On MS-Windows,
10650 set interactive-mode on in GDB.
10651
10652 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10653
10654 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
10655 (ruby-syntax-propertize-regexp): Remove.
10656 (ruby-syntax-propertize-function): Split regexp into chunks.
10657 Match following code directly.
10658
10659 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
10660
10661 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
10662 (ruby-syntax-propertize-regexp): New function.
10663 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
10664 by a special keyword.
10665
10666 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
10667 (ruby-syntax-general-delimiters-goto-beg)
10668 (ruby-syntax-propertize-general-delimiters): New functions.
10669 (ruby-syntax-propertize-function): Use them to handle GDL.
10670 (ruby-font-lock-keywords): Move old handling of GDL...
10671 (ruby-font-lock-syntactic-keywords): .. to here.
10672 (ruby-calculate-indent): Adjust indentation for GDL.
10673
10674 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
10675
10676 * notifications.el (top): Remove unneeded declarations.
10677 (notifications-specification-version): Change to "1.2".
10678 (notifications-interface, notifications-notify-method)
10679 (notifications-close-notification-method): Fix docstring.
10680 (notifications-get-capabilities-method): New defconst.
10681 (notifications-notify): Add :action-items, :resident and
10682 :transient hints. Change "image_data" to "image-data" and
10683 "image_path" to "image-path".
10684 (notifications-get-capabilities): New defun.
10685
10686 2012-04-24 Leo Liu <sdl.web@gmail.com>
10687
10688 * progmodes/python.el: Move hideshow setup to the end.
10689
10690 2012-04-24 Martin Rudalics <rudalics@gmx.at>
10691
10692 * window.el (handle-select-window): Clear echo area since this is
10693 no more done by read_char (Bug#11304).
10694
10695 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10696
10697 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
10698 and `/ M' to filter-derived-mode.
10699 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
10700 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
10701 (ibuffer-mark-by-mode): Use default rather than initial-input.
10702 (ibuffer-filter-by-derived-mode): Autoload and require-match.
10703
10704 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
10705
10706 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
10707 (ibuffer-filter-by-derived-mode): New filter.
10708 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
10709
10710 2012-04-23 Andreas Politz <politza@fh-trier.de>
10711
10712 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
10713
10714 2012-04-23 Chong Yidong <cyd@gnu.org>
10715
10716 * cus-edit.el (customize-apropos, customize-apropos-options):
10717 Disable matching of non-option variables (Bug#11176).
10718 (customize-option, customize-option-other-window)
10719 (customize-changed-options): Doc fix.
10720 (customize-apropos-options, customize-apropos-faces)
10721 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
10722
10723 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
10724 Fix word list splitting (Bug#11132).
10725 (apropos-symbol, apropos-keybinding, apropos-label)
10726 (apropos-property, apropos-function-button)
10727 (apropos-variable-button, apropos-misc-button): New faces.
10728 (apropos-symbol-face, apropos-keybinding-face)
10729 (apropos-label-face, apropos-property-face, apropos-match-face):
10730 Variables removed (Bug#8396).
10731 (apropos-library-button, apropos-format-plist, apropos-print)
10732 (apropos-print-doc, apropos-describe-plist): Callers changed.
10733
10734 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
10735
10736 * net/xesam.el (xesam-mode-map): Use let-bound map in
10737 initialization. (Bug#11292)
10738
10739 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10740
10741 Preserve ispell session localwords when switching back to
10742 original buffer.
10743
10744 * textmodes/ispell.el (ispell-buffer-session-localwords):
10745 New buffer-local variable to hold buffer session localwords.
10746 (ispell-kill-ispell): Add option 'clear to delete session
10747 localwords.
10748 (ispell-command-loop, ispell-change-dictionary)
10749 (ispell-buffer-local-words): Preserve session localwords when
10750 needed.
10751
10752 * textmodes/flyspell.el (flyspell-process-localwords)
10753 (flyspell-do-correct): Preserve session localwords when needed.
10754
10755 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10756
10757 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
10758 using obsolete `translation-table-for-input'.
10759 (ispell-word, ispell-process-line, ispell-complete-word):
10760 Use plain `insert' instead of removed `ispell-insert-word'.
10761
10762 2012-04-22 Chong Yidong <cyd@gnu.org>
10763
10764 * cus-edit.el (custom-variable-menu)
10765 (custom-variable-reset-saved, custom-face-menu)
10766 (custom-face-reset-saved): If there is no saved value, make the
10767 "reset-saved" operation bring back the default (Bug#9509).
10768 (custom-face-state): Properly detect themed faces.
10769
10770 * faces.el (face-spec-set): Stop supporting deprecated form of
10771 third arg.
10772
10773 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
10774
10775 Move functions from C to Lisp. Make non-blocking method calls
10776 the default. Implement further D-Bus standard interfaces.
10777
10778 * net/dbus.el (dbus-message-internal): Declare function.
10779 Remove unneeded function declarations.
10780 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
10781 (dbus-message-type-method-return, dbus-message-type-error)
10782 (dbus-message-type-signal): Declare variables. Remove local
10783 definitions.
10784 (dbus-interface-dbus, dbus-interface-peer)
10785 (dbus-interface-introspectable, dbus-interface-properties)
10786 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
10787 Adapt docstring.
10788 (dbus-interface-objectmanager): New defconst.
10789 (dbus-call-method, dbus-call-method-asynchronously)
10790 (dbus-send-signal, dbus-method-return-internal)
10791 (dbus-method-error-internal, dbus-register-service)
10792 (dbus-register-signal, dbus-register-method): New defuns, moved
10793 from dbusbind.c
10794 (dbus-call-method-handler, dbus-setenv)
10795 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
10796 New defuns.
10797 (dbus-call-method-non-blocking): Make it an obsolete function.
10798 (dbus-unregister-object, dbus-unregister-service)
10799 (dbus-handle-event, dbus-register-property)
10800 (dbus-property-handler): Obey the new structure of
10801 `bus-registered-objects'.
10802 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
10803 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
10804 Use `dbus-call-method'.
10805
10806 2012-04-22 Chong Yidong <cyd@gnu.org>
10807
10808 * cus-edit.el (custom-commands, custom-reset-menu)
10809 (Custom-reset-standard): Tweak labels.
10810 (custom-reset-button-menu): Change default to t.
10811 (custom-buffer-create-internal): For the custom-reset-button-menu
10812 case, put the revert button first.
10813 (custom-group-subtitle): New face.
10814 (custom-group-value-create): Align docstring to a specific column.
10815
10816 * wid-edit.el (widget-documentation-link-add): Don't handle
10817 indentation in this function.
10818 (widget-documentation-string-indent-to): New function.
10819 (widget-documentation-string-value-create): Use it.
10820
10821 * autorevert.el (auto-revert):
10822 * epg-config.el (epg):
10823 * ibuffer.el (ibuffer):
10824 * mpc.el (mpc):
10825 * ses.el (ses):
10826 * eshell/eshell.el (eshell):
10827 * net/ange-ftp.el (ange-ftp):
10828 * progmodes/ebnf2ps.el (postscript):
10829 * progmodes/flymake.el (flymake):
10830 * progmodes/prolog.el (prolog):
10831 * progmodes/verilog-mode.el (verilog-mode):
10832 * progmodes/which-func.el (which-func):
10833 * term/xterm.el (xterm):
10834 * textmodes/picture.el (picture):
10835 * textmodes/tildify.el (tildify):
10836 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
10837 customization buffers.
10838
10839 2012-04-22 Alan Mackenzie <acm@muc.de>
10840
10841 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
10842 Adding a ) can hide the resulting (..) from searches. Fix it.
10843 Bound the backward search to the position of the existing (.
10844
10845 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
10846
10847 * progmodes/verilog-mode.el (verilog-mode): Check whether
10848 which-func-modes is t before adding verilog-mode.
10849 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
10850
10851 2012-04-21 Leo Liu <sdl.web@gmail.com>
10852
10853 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
10854
10855 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
10856
10857 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
10858 filling of the last column of a table (Bug#5635).
10859 (woman-find-next-control-line): New arg, specifying an additional
10860 regexp component for the control line.
10861 (woman2-roff-buffer): Use it.
10862 (woman-break-table): New function.
10863 (woman2-TS): Use it.
10864
10865 2012-04-21 Chong Yidong <cyd@gnu.org>
10866
10867 * woman.el (woman-set-buffer-display-table, woman-decode-region)
10868 (woman-horizontal-escapes, woman-negative-vertical-space)
10869 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
10870 (WoMan-warn-ignored): Use ?\s instead of ?\ .
10871
10872 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10873
10874 * minibuffer.el (completion-file-name-table): Complete user names.
10875
10876 2012-04-20 Leo Liu <sdl.web@gmail.com>
10877
10878 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
10879 and pcase-let*.
10880
10881 2012-04-20 Chong Yidong <cyd@gnu.org>
10882
10883 * server.el (server-execute): Respect initial-buffer-choice if it
10884 is a string and there are no files to open (Bug#2825).
10885 (server-create-window-system-frame, server-create-tty-frame):
10886 Don't switch buffers here.
10887 (server-process-filter): Only try to open a window system frame if
10888 compiled with graphical support (Bug#8314).
10889
10890 2012-04-20 Dan Nicolaescu <dann@gnu.org>
10891
10892 * battery.el (battery-echo-area-format): Display remaining time
10893 for sysfs backend too (Bug#11269).
10894 (battery-linux-sysfs): Fix conditional for the charge.
10895
10896 2012-04-20 Chong Yidong <cyd@gnu.org>
10897
10898 * progmodes/gdb-mi.el (gdb): Revert previous change.
10899 (gdb-inferior-io--init-proc): New function.
10900 (gdb-init-1): Use it.
10901 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
10902 responsible for allocating a new pty and hooking it to gdb when
10903 the old pty gets an EIO due to process exit.
10904 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
10905 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
10906 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
10907
10908 2012-04-20 Eli Zaretskii <eliz@gnu.org>
10909
10910 * window.el (window-min-size, window-sizable, window-min-delta)
10911 (window-max-delta, window--resizable, window-resizable)
10912 (window-total-size, window-full-height-p, window-full-width-p)
10913 (window-in-direction, window--resize-mini-window, window-resize)
10914 (window--resize-child-windows-normal)
10915 (window--resize-child-windows, window--resize-siblings)
10916 (window--resize-this-window, adjust-window-trailing-edge)
10917 (enlarge-window, shrink-window): Doc fixes.
10918
10919 2012-04-20 Chong Yidong <cyd@gnu.org>
10920
10921 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
10922 New function to call delete-process on the gdb-inferior buffer's pty.
10923 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
10924 pty process (Bug#11273).
10925 (gdb-update): New arg to suppress talking to the gdb process.
10926 (gdb-done-or-error): Use it.
10927 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
10928 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
10929 sentinel not being called.
10930
10931 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
10932
10933 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
10934
10935 2012-04-20 Glenn Morris <rgm@gnu.org>
10936
10937 * net/network-stream.el (open-network-stream): Doc fix.
10938
10939 2012-04-20 Chong Yidong <cyd@gnu.org>
10940
10941 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
10942
10943 2012-04-20 Alan Mackenzie <acm@muc.de>
10944
10945 Ensure searching for keywords is case sensitive.
10946
10947 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
10948 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
10949 (c-defun-name, c-mark-function, c-cpp-define-name)
10950 (c-comment-indent, c-scan-conditionals, c-indent-defun)
10951 (c-context-line-break): Bind case-fold-search to nil.
10952
10953 * progmodes/cc-mode.el (c-font-lock-fontify-region):
10954 Bind case-fold-search to nil.
10955
10956 2012-04-20 Chong Yidong <cyd@gnu.org>
10957
10958 * mail/sendmail.el (mail-bury): Call return action with the right
10959 Rmail buffer (Bug#11242).
10960
10961 * server.el (server-process-filter): Handle corner case where both
10962 tty and nowait options are present (Bug#11102).
10963
10964 2012-04-20 Eli Zaretskii <eliz@gnu.org>
10965
10966 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
10967 (top level): Put into the executable the ident-style '$Id:' tag on
10968 windows-nt as well.
10969
10970 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10971
10972 * electric.el (electric-indent-post-self-insert-function): Check that
10973 electric-indent-mode is enabled in current buffer.
10974
10975 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
10976
10977 * imenu.el (imenu-progress-message): Restore; it is "used" in
10978 erc/erc-imenu.el and net/snmp-mode.el.
10979
10980 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
10981
10982 * avoid.el (mouse-avoidance-mode): Mark unused arg.
10983 (mouse-avoidance-nudge-mouse): Remove unused binding.
10984
10985 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
10986
10987 * descr-text.el (describe-char):
10988 * progmodes/python.el (python-describe-symbol):
10989 Don't call `toggle-read-only', set `buffer-read-only'.
10990
10991 * imenu.el (imenu-default-goto-function): Mark unused args.
10992 (imenu-progress-message): Remove obsolete macro; all callers changed.
10993
10994 * subr.el (keymap-canonicalize): Remove unused binding.
10995 (read-passwd): Mark unused arg.
10996
10997 * tutorial.el (tutorial--display-changes): Remove unused binding.
10998 (tutorial--save-tutorial-to): Remove unused variable.
10999
11000 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
11001 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
11002 (package-generate-autoloads, package-menu--generate)
11003 (package-menu--find-upgrades): Remove unused bindings.
11004
11005 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
11006 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
11007 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
11008 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
11009 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
11010 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
11011 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
11012 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
11013 (cua-delete-char-rectangle): Mark unused args.
11014 (cua-align-rectangle): Remove unused binding.
11015
11016 * mail/rmail.el (compilation--message->loc)
11017 (epa--find-coding-system-for-mime-charset): Declare.
11018
11019 * net/dbus.el (dbus-register-service): Declare.
11020 (dbus-name-owner-changed-handler): Remove unused binding.
11021
11022 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
11023 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
11024 (nxml-scan-backward-within): Mark unused arg.
11025 (nxml-dynamic-markup-word): Remove unused binding.
11026
11027 * mouse.el (mouse-menu-major-mode-map):
11028 * emacs-lisp/authors.el (authors-scan-change-log)
11029 (authors-add-to-author-list):
11030 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
11031 * emacs-lisp/smie.el (smie-auto-fill):
11032 * mail/sendmail.el (mail-bury):
11033 * mail/unrmail.el (unrmail):
11034 * net/tls.el (open-tls-stream):
11035 * textmodes/picture.el (picture-mouse-set-point):
11036 Remove unused bindings.
11037
11038 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
11039
11040 * net/tramp.el (tramp-action-password): Let-bind
11041 `enable-recursive-minibuffers' to t.
11042
11043 2012-04-18 Sam Steingold <sds@gnu.org>
11044
11045 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
11046 instead of 'string to accommodate values like [f11].
11047 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
11048 * progmodes/gdb-mi.el: Likewise.
11049
11050 2012-04-18 Leo Liu <sdl.web@gmail.com>
11051
11052 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
11053 current buffer.
11054 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
11055 LOCAL is nil.
11056
11057 2012-04-18 Chong Yidong <cyd@gnu.org>
11058
11059 * simple.el (line-move): Use forward-line if in batch mode
11060 (Bug#11053).
11061
11062 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
11063
11064 * files.el (after-find-file): Do not try to add a final newline if
11065 the buffer is read-only (Bug#11156).
11066
11067 2012-04-17 Richard Stallman <rms@gnu.org>
11068
11069 * mail/rmail.el (rmail-start-mail):
11070 Pass (rmail-mail-return...) for the return-action.
11071 Pass (rmail-yank-current-message...) for the yank-action.
11072 (rmail-yank-current-message): New function.
11073 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
11074 (rmail-reply): Likewise.
11075 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
11076
11077 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
11078 buffer, not the last. Reject temp buffers. Use the rmail-mode
11079 buffer, not newbuf.
11080
11081 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
11082
11083 * server.el (server-ensure-safe-dir): Simplify.
11084
11085 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11086
11087 * emacs-lisp/smie.el: Provide smarter auto-filling.
11088 (smie-auto-fill): New function.
11089 (smie-setup): Use it.
11090
11091 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
11092
11093 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
11094
11095 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
11096 (comment-indent): Use it.
11097
11098 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
11099
11100 * ses.el: The overall change is to add cell renaming, that is
11101 setting fancy names for cell symbols other than name matching
11102 "\\`[A-Z]+[0-9]+\\'" regexp .
11103 (ses-localvars): Add ses--renamed-cell-symb-list.
11104 (ses-create-cell-variable): New defun.
11105 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
11106 (ses-relocate-formula): Relocate formulas only for cells the
11107 symbols of which are not renamed, i.e. symbols whose names do not
11108 match regexp "\\`[A-Z]+[0-9]+\\'".
11109 (ses-relocate-all): Relocate values only for cells the symbols of
11110 which are not renamed.
11111 (ses-load): Create cells variables as the (ses-cell ...) are read,
11112 in order to check row col consistency with cell symbol name only
11113 for cells that are not renamed.
11114 (ses-replace-name-in-formula): New defun.
11115 (ses-rename-cell): New defun.
11116
11117 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
11118
11119 * progmodes/perl-mode.el (perl-indent-parens-as-block):
11120 New option (bug#11118).
11121 (perl-calculate-indent): Respect it.
11122
11123 2012-04-17 Glenn Morris <rgm@gnu.org>
11124
11125 * dired-aux.el (dired-mark-read-string): Doc fix.
11126
11127 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
11128
11129 * dired-aux.el (dired-mark-read-string): Offer optional completion.
11130 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
11131
11132 2012-04-17 Glenn Morris <rgm@gnu.org>
11133
11134 * mouse.el (mouse-drag-track):
11135 * speedbar.el (speedbar-frame-mode):
11136 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
11137
11138 2012-04-16 Leo Liu <sdl.web@gmail.com>
11139
11140 * progmodes/python.el: Trivial cleanup.
11141
11142 2012-04-16 Glenn Morris <rgm@gnu.org>
11143
11144 * vc/vc.el (vc-string-prefix-p):
11145 * vc/pcvs-util.el (cvs-string-prefix-p):
11146 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
11147 * mpc.el (mpc-string-prefix-p):
11148 Make all of these into obsolete aliases for string-prefix-p.
11149 Update callers.
11150 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
11151
11152 * textmodes/two-column.el: Move custom options to the start.
11153 (frame-width): Remove compat definition.
11154 (2C-associate-buffer, 2C-dissociate):
11155 Use with-current-buffer rather than save-excursion.
11156 (2C-dissociate): Force a mode-line update.
11157 (2C-autoscroll): Use ignore-errors.
11158
11159 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
11160 Autoload trivia.
11161
11162 * emacs-lisp/cl-extra.el (*random-state*):
11163 Remove unnecessary declaration.
11164
11165 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
11166
11167 * play/cookie1.el (cookie-snarf):
11168 Give an explicit error if input file cannot be read.
11169
11170 * play/yow.el (yow-file): Use expand-file-name rather than concat.
11171
11172 * progmodes/perl-mode.el (c-macro-expand):
11173 Remove unnecessary autoload (it is in loaddefs.el).
11174
11175 * textmodes/picture.el (picture-desired-column)
11176 (picture-update-desired-column): Convert comments to doc-strings.
11177 (picture-substitute): Remove function.
11178 (picture-mode-map): Initialize in the defvar.
11179
11180 * woman.el: Remove eval-after-load for tar-mode.
11181 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
11182 (woman-tar-extract-file): Autoload it.
11183
11184 * frame.el (automatic-hscrolling): Make this alias obsolete.
11185
11186 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11187
11188 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
11189 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
11190 (ispell-dictionary-base-alist): Revert to original XEmacs
11191 friendly version for default. [:alpha:] will be added in
11192 `ispell-set-spellchecker-params' if needed.
11193
11194 2012-04-16 Chong Yidong <cyd@gnu.org>
11195
11196 * image.el (imagemagick--file-regexp): New variable.
11197 (imagemagick-register-types): Use it.
11198 (imagemagick-types-inhibit): Add :set function. Allow new value
11199 of t to inhibit all types.
11200
11201 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
11202 so we can preload it.
11203
11204 * loadup.el (fboundp): Preload regexp-opt, needed by
11205 imagemagick-register-types.
11206
11207 2012-04-15 Chong Yidong <cyd@gnu.org>
11208
11209 * frame.el (scrolling): Remove nearly unused customization group.
11210
11211 * scroll-all.el (scroll-all-mode): Move to windows group.
11212
11213 2012-04-15 Chong Yidong <cyd@gnu.org>
11214
11215 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
11216
11217 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11218
11219 Avoid the use of ((lambda ...) ...) in lexical-binding code.
11220 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
11221
11222 2012-04-15 Glenn Morris <rgm@gnu.org>
11223
11224 * simple.el (process-file-side-effects): Doc fix.
11225
11226 2012-04-15 Glenn Morris <rgm@gnu.org>
11227
11228 * international/mule-cmds.el (set-language-environment): Doc fix.
11229
11230 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
11231
11232 * server.el (server-auth-key, server-generate-key): Doc fixes.
11233 (server-get-auth-key): Doc fix. Use `string-match-p'.
11234 (server-start): Reflow docstring.
11235
11236 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
11237
11238 * server.el (server-generate-key): `called-interactively-p'
11239 requires a parameter.
11240
11241 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
11242
11243 * server.el (server-auth-key): New variable.
11244 (server-generate-key, server-get-auth-key): New function.
11245 (server-start): Use the new variable and functions to allow
11246 setting a permanent server key (bug#9423).
11247
11248 2012-04-14 Leo Liu <sdl.web@gmail.com>
11249
11250 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
11251
11252 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
11253
11254 Spelling fixes.
11255 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
11256 Emacs uses American spelling.
11257
11258 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
11259
11260 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
11261 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
11262 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
11263 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
11264
11265 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11266
11267 * progmodes/which-func.el (which-func-modes): Change default.
11268
11269 2012-04-14 Kim F. Storm <storm@cua.dk>
11270
11271 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
11272 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
11273
11274 2012-04-14 Chong Yidong <cyd@gnu.org>
11275
11276 * custom.el (custom-theme-set-variables): Doc fix.
11277
11278 2012-04-14 Glenn Morris <rgm@gnu.org>
11279
11280 * international/mule.el (set-auto-coding-for-load): Doc fix.
11281
11282 2012-04-14 Alan Mackenzie <acm@muc.de>
11283
11284 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
11285 imenu work again for Objective C Mode. Correct the *-index values,
11286 these having been disturbed by a previous change in 2011-08.
11287
11288 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
11289 Correct two search limits.
11290
11291 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11292
11293 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
11294
11295 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
11296
11297 * international/characters.el: Fix sorting.
11298
11299 2012-04-14 Eli Zaretskii <eliz@gnu.org>
11300
11301 * international/characters.el: Add more missing Latin case pairs.
11302
11303 2012-04-14 Glenn Morris <rgm@gnu.org>
11304
11305 * files.el (dir-locals-set-class-variables): Doc fix.
11306
11307 2012-04-14 Eli Zaretskii <eliz@gnu.org>
11308
11309 * international/characters.el: Add set-case-syntax-pair call for
11310 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
11311 counterpart. (Bug#11209)
11312
11313 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
11314
11315 2012-04-14 Glenn Morris <rgm@gnu.org>
11316
11317 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11318
11319 2012-04-14 Eli Zaretskii <eliz@gnu.org>
11320
11321 * textmodes/ispell.el (ispell-dictionary-base-alist):
11322 Add data for Hebrew.
11323
11324 2012-04-14 Chong Yidong <cyd@gnu.org>
11325
11326 * net/rcirc.el (rcirc-cmd-quit):
11327 Revert 2012-03-18 change (Bug#11192).
11328
11329 2012-04-14 Glenn Morris <rgm@gnu.org>
11330
11331 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
11332
11333 2012-04-14 Eli Zaretskii <eliz@gnu.org>
11334
11335 * minibuffer.el (completion-in-region-mode-map):
11336 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
11337
11338 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
11339
11340 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
11341
11342 2012-04-13 Masatake YAMATO <yamato@redhat.com>
11343
11344 * minibuffer.el (minibuffer-local-filename-syntax): New variable
11345 to allow `C-M-f' and `C-M-b' to move to the nearest path
11346 separator (bug#9511).
11347
11348 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
11349
11350 * avoid.el: Require cl when compiling. And also move the
11351 `provide' to the end.
11352
11353 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11354
11355 * avoid.el (mouse-avoidance-banish-position): New variable.
11356 (mouse-avoidance-banish-destination): Use it (bug#10165).
11357
11358 2012-04-13 Leo Liu <sdl.web@gmail.com>
11359
11360 * progmodes/which-func.el (which-func-modes): Add objc-mode.
11361
11362 2012-04-13 Ken Brown <kbrown@cornell.edu>
11363
11364 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
11365 this is no longer needed now that cygstart understands file:// URLs.
11366 (browse-url-filename-alist): For the same reason, don't modify
11367 file:// URLs on Cygwin.
11368
11369 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11370
11371 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
11372 the region on shift if the binding is already shifted (bug#11221).
11373
11374 2012-04-12 Glenn Morris <rgm@gnu.org>
11375
11376 * mail/mailpost.el: Move to obsolete/.
11377
11378 2012-04-12 Drew Adams <drew.adams@oracle.com>
11379
11380 * imenu.el (imenu--generic-function): Ignore invisible definitions
11381 (bug#10123).
11382
11383 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
11384
11385 * hexl.el (hexl-bits): New variable.
11386 (hexl-options): Mention the variable in the doc string.
11387 (hexl-rulerise, hexl-line-displen): New functions.
11388 (hexl-mode): Mention the new variable.
11389 (hexl-mode, hexl-current-address, hexl-current-address):
11390 Use the displen.
11391 (hexl-ascii-start-column): New function.
11392 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
11393 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
11394
11395 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11396
11397 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
11398 '("-i" ENCODING), in 2 separate command-line arguments, to specify
11399 the encoding, as expected by hunspell.
11400
11401 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11402
11403 * battery.el (battery--linux-sysfs-regexp): New const.
11404 (battery-status-function): Use it. Remove yeeloong special case.
11405 (battery-yeeloong-sysfs): Remove.
11406 (battery-echo-area-format): Remove yeeloong special case.
11407
11408 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11409
11410 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
11411 Reported by Noah Friedman.
11412
11413 * subr.el (read-passwd): Use read-string.
11414
11415 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11416
11417 * vcursor.el (vcursor-move): Increase the priority of the overlay
11418 (bug#9663).
11419
11420 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11421
11422 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
11423 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
11424
11425 2012-04-11 William Stevenson <yhvh2000@gmail.com>
11426
11427 * textmodes/artist.el (artist-mode): Convert artist-mode to use
11428 define-minor-mode (bug#10760).
11429
11430 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11431
11432 * progmodes/grep.el (rgrep): Tweak the find command line so
11433 that directories matching `grep-find-ignored-files' won't be
11434 pruned (bug#10351).
11435
11436 2012-04-11 Chong Yidong <cyd@gnu.org>
11437
11438 * startup.el (command-line): Remove support for long-obsolete
11439 variable font-lock-face-attributes.
11440
11441 2012-04-11 Glenn Morris <rgm@gnu.org>
11442
11443 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
11444
11445 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11446
11447 * window.el (window--state-get-1): Obey window-point-insertion-type.
11448
11449 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
11450
11451 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
11452 to previous function when point is on the first character of a
11453 function. Take care of that in `narrow-to-defun' (bug#6157).
11454
11455 2012-04-11 Glenn Morris <rgm@gnu.org>
11456
11457 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
11458 not just file-errors.
11459
11460 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
11461 (vc-bzr-sha1): Use internal sha1.
11462
11463 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11464
11465 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
11466
11467 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
11468
11469 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
11470 that start in the middle of the line (bug#10496).
11471
11472 2012-04-10 Dan Nicolaescu <dann@gnu.org>
11473
11474 * battery.el (battery-linux-proc-acpi): Only one battery is
11475 discharged at a time, but that seems to confuse battery.el when
11476 computing `rate-type' for the battery not being discharged
11477 (bug#10332).
11478
11479 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11480
11481 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
11482
11483 * international/quail.el: Use dolist and simplify.
11484 (quail-define-package, quail-update-keyboard-layout)
11485 (quail-define-rules): Use dolist.
11486 (quail-insert-kbd-layout, quail-get-translation): CSE.
11487
11488 * tmm.el: Use dolist, remove left over hook.
11489 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
11490 Use dolist.
11491 (calendar-load-hook): Don't mess with it.
11492
11493 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
11494 Use derived-mode-p. Run the diff asynchronously.
11495
11496 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11497
11498 * obsolete/mouse-sel.el: Add an Obsolete-since header.
11499
11500 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
11501
11502 * misc.el: Display absolute path of loaded DLLs (bug#10424).
11503 (list-dynamic-libraries--loaded): New function.
11504 (list-dynamic-libraries--refresh): Use it.
11505
11506 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
11507
11508 * progmodes/python.el (python-fill-paragraph):
11509 Make python-fill-region in a multiline string work when font-lock is
11510 disabled (bug#7018).
11511
11512 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
11513
11514 * language/european.el (cp775): Add oem/legacy (en)coding on
11515 DOS/MS Windows for the Baltic languages. There are still plenty
11516 of texts written in this encoding/codepage (bug#6519).
11517
11518 2012-04-10 Glenn Morris <rgm@gnu.org>
11519
11520 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
11521 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
11522
11523 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
11524
11525 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
11526 next-line "n" and previous-line "p" in order to make recentf more
11527 consistent with ibuffer, dired or org-mode (bug#9387).
11528
11529 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11530
11531 * image.el (put-image): Return the overlay created instead of the
11532 optional input string (bug#7834). Note that this may break code
11533 that is (for some reason or other) depending on `put-image'
11534 returning the string.
11535
11536 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
11537
11538 * simple.el (zap-to-char): Allow zapping using input methods
11539 (bug#1580).
11540
11541 * textmodes/fill.el (fill-region): Leave point and mark where they
11542 were before filling (bug#5399).
11543
11544 2012-04-09 Glenn Morris <rgm@gnu.org>
11545
11546 * version.el (emacs-bzr-get-version):
11547 Handle lightweight checkouts of local branches.
11548
11549 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
11550
11551 * international/characters.el: Recover lost case pairs. (Bug#11209)
11552
11553 2012-04-09 Chong Yidong <cyd@gnu.org>
11554
11555 * custom.el (custom-variable-p): Return nil for non-symbol
11556 arguments instead of signaling an error.
11557 (user-variable-p): Obsolete alias for custom-variable-p.
11558
11559 * apropos.el (apropos-variable):
11560 * files-x.el (read-file-local-variable):
11561 * simple.el (set-variable):
11562 * woman.el (woman-mini-help):
11563 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
11564
11565 2012-04-09 Glenn Morris <rgm@gnu.org>
11566
11567 * startup.el (normal-top-level): Don't look for leim-list.el
11568 in places where it will not be found. (Bug#910)
11569
11570 * international/mule-cmds.el (set-default-coding-systems):
11571 * files.el (normal-mode):
11572 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
11573 This function was removed with ucs-tables.el in 2008.
11574
11575 2012-04-08 Eli Zaretskii <eliz@gnu.org>
11576
11577 * textmodes/ispell.el (ispell-check-version): For hunspell, set
11578 ispell-encoding8-command to "-i", without a trailing space.
11579 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
11580 separate command-line arguments, to specify the encoding, since
11581 that's how hunspell expects it.
11582
11583 2012-04-08 Glenn Morris <rgm@gnu.org>
11584
11585 * loadup.el: Load bindings before cus-start.
11586 This reduces somewhat the number of "rogue" settings in emacs -Q.
11587
11588 2012-04-07 Glenn Morris <rgm@gnu.org>
11589
11590 * version.el (emacs-bzr-get-version): New function.
11591 (emacs-bzr-version): New variable.
11592 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
11593 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
11594
11595 2012-04-07 Eli Zaretskii <eliz@gnu.org>
11596
11597 * international/uni-bidi.el, international/uni-category.el:
11598 * international/uni-combining.el, international/uni-decimal.el:
11599 * international/uni-decomposition.el, international/uni-digit.el:
11600 * international/uni-lowercase.el, international/uni-mirrored.el:
11601 * international/uni-name.el, international/uni-numeric.el:
11602 * international/uni-titlecase.el, international/uni-uppercase.el:
11603 Update for Unicode 6.1.
11604
11605 2012-04-07 Eli Zaretskii <eliz@gnu.org>
11606
11607 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
11608
11609 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
11610
11611 * window.el (shrink-window): Mention the `window-min-height'
11612 variable in the doc string.
11613
11614 2012-04-05 Bastien Guerry <bzg@altern.org>
11615
11616 * color.el (color-lighten-name): Fix typo.
11617
11618 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11619
11620 * server.el (server--on-display-p): New function.
11621 (server--on-display-p): Use it.
11622
11623 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
11624
11625 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
11626 (bug#11145).
11627
11628 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11629
11630 * comint.el (comint--common-quoted-suffix): Check string boundary
11631 before comparing (bug#11158).
11632 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
11633
11634 2012-04-04 Chong Yidong <cyd@gnu.org>
11635
11636 * minibuffer.el (completion-extra-properties): Doc fix.
11637
11638 * subr.el (delayed-warnings-hook): Doc fix.
11639
11640 2012-04-04 Daiki Ueno <ueno@unixuser.org>
11641
11642 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
11643 selection (Bug#11159).
11644 (epa-insert-keys): Inform that the default public key will be
11645 exported if no key is selected.
11646
11647 2012-04-04 Richard Stallman <rms@gnu.org>
11648
11649 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
11650
11651 2012-04-03 Chong Yidong <cyd@gnu.org>
11652
11653 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
11654 mail-insert-file, not its obsolete alias mail-attach-file.
11655
11656 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
11657
11658 * notifications.el (notifications-notify): Fix docstring.
11659
11660 2012-04-02 Glenn Morris <rgm@gnu.org>
11661
11662 * emacs-lisp/authors.el (authors-aliases): Another addition.
11663
11664 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
11665
11666 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
11667 `tramp-compat-call-process' instead of `tramp-local-call-process'.
11668 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
11669
11670 2012-04-01 Chong Yidong <cyd@gnu.org>
11671
11672 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
11673 Handle root directory properly.
11674 (copy-directory): Caller changed.
11675
11676 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11677 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
11678
11679 2012-03-31 Glenn Morris <rgm@gnu.org>
11680
11681 * term/xterm.el (xterm-extra-capabilities): Doc fix.
11682
11683 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
11684
11685 * calendar/calendar.el (calendar-window-list)
11686 (calendar-hide-window): Restore. (Bug#11140)
11687 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
11688
11689 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
11690
11691 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11692
11693 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11694 Check if file is a symlink (Bug#10489).
11695
11696 * files.el (copy-directory): Likewise.
11697
11698 2012-03-30 Chong Yidong <cyd@gnu.org>
11699
11700 * image.el (imagemagick-types-inhibit)
11701 (imagemagick-register-types): Doc fix.
11702
11703 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11704
11705 * textmodes/ispell.el (ispell-get-extended-character-mode):
11706 Disable extended-char-mode for hunspell. hunspell does not support it
11707 and treats ~word as ordinary words in pipe mode.
11708
11709 2012-03-30 Glenn Morris <rgm@gnu.org>
11710
11711 * tutorial.el (help-with-tutorial): Ensure local variables don't
11712 happen to make the buffer read-only. (Bug#11127)
11713
11714 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11715
11716 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
11717 (perl-calculate-indent): Return `noindent' in strings.
11718
11719 2012-03-28 Sam Steingold <sds@gnu.org>
11720
11721 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
11722 instead of the broken adhockery which does not prevent calendar
11723 buffers from being displayed at random after exit.
11724 (calendar-window-list, calendar-hide-window): Remove the broken
11725 adhockery.
11726
11727 2012-03-28 Glenn Morris <rgm@gnu.org>
11728
11729 * replace.el (query-replace-map): Doc fix.
11730
11731 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
11732
11733 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
11734 contents. (Bug#11109)
11735
11736 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11737
11738 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
11739 (bug#11077).
11740 (avl-tree--check, avl-tree--check-node): New funs.
11741
11742 2012-03-27 Martin Rudalics <rudalics@gmx.at>
11743
11744 * window.el (switch-to-visible-buffer): New option.
11745 (switch-to-prev-buffer, switch-to-next-buffer):
11746 Observe switch-to-visible-buffer. Make sure that checking for a window
11747 showing a buffer already is done on the same frame.
11748
11749 2012-03-27 Glenn Morris <rgm@gnu.org>
11750
11751 * startup.el (mail-host-address): Doc fix.
11752
11753 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11754
11755 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
11756 than 197 variables.
11757
11758 2012-03-26 Ami Fischman <ami@fischman.org>
11759
11760 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
11761
11762 2012-03-26 Glenn Morris <rgm@gnu.org>
11763
11764 * files.el (save-buffers-kill-emacs): Doc fix.
11765
11766 * startup.el (normal-top-level, command-line, command-line-1):
11767 Give them doc strings.
11768
11769 2012-03-25 Eli Zaretskii <eliz@gnu.org>
11770
11771 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
11772 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
11773
11774 2012-03-25 Chong Yidong <cyd@gnu.org>
11775
11776 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
11777 theme if it was previously enabled before (Bug#11031).
11778
11779 * cus-theme.el (custom-theme-write-faces): Retrieve current face
11780 spec with custom-face-get-current-spec if its :shown-value is not
11781 determined yet (Bug#9337).
11782 (customize-create-theme, custom-theme-revert): Doc fixes.
11783
11784 * button.el (button-at): Minor addition to docstring.
11785
11786 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
11787
11788 * vc/vc.el (vc-merge): Fix a prompt.
11789
11790 2012-03-24 Chong Yidong <cyd@gnu.org>
11791
11792 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
11793 point (Bug#9623).
11794
11795 * button.el (button-at): Minor addition to docstring.
11796
11797 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11798
11799 * newcomment.el (comment-choose-indent): No space after BOL.
11800
11801 2012-03-22 Sam Steingold <sds@gnu.org>
11802
11803 * window.el (switch-to-prev-buffer): Revert last patch because the
11804 bug turned out to be an advertised feature (Elisp manual 28.14).
11805
11806 2012-03-22 Glenn Morris <rgm@gnu.org>
11807
11808 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
11809 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
11810
11811 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11812
11813 * net/network-stream.el (network-stream-open-starttls): Make error
11814 message under Windows be less misleading.
11815
11816 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
11817
11818 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
11819 understands (bug#9942).
11820
11821 2012-03-22 Chong Yidong <cyd@gnu.org>
11822
11823 * simple.el (end-of-visible-line): Handle return value of
11824 next-single-property-change properly (Bug#9371).
11825
11826 2012-03-22 Kenichi Handa <handa@m17n.org>
11827
11828 * international/quail.el (quail-insert-kbd-layout): Fix previous
11829 change. To avoid unwanted bidi reordering, use
11830 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
11831
11832 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
11833
11834 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
11835 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
11836 (ruby-beginning-of-indent): Be more careful with the difference
11837 between word-boundary and symbol boundary.
11838 (ruby-mode-syntax-table): Make : a symbol constituent.
11839
11840 2012-03-21 Andreas Politz <politza@fh-trier.de>
11841
11842 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
11843
11844 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11845
11846 * progmodes/etags.el (tags-completion-at-point-function):
11847 Improve last fix.
11848
11849 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
11850
11851 2012-03-21 Sam Steingold <sds@gnu.org>
11852
11853 * progmodes/etags.el (tags-completion-at-point-function):
11854 Avoid the error when point is inside the pattern.
11855
11856 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
11857
11858 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
11859 line (Bug#10855).
11860
11861 2012-03-21 Drew Adams <drew.adams@oracle.com>
11862
11863 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
11864
11865 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
11866
11867 * ido.el (ido-set-current-directory, ido-read-internal)
11868 (ido-choose-completion-string, ido-completion-help): Handle nil
11869 value of ido-completion-buffer (Bug#11008).
11870
11871 2012-03-21 Sam Steingold <sds@gnu.org>
11872
11873 * window.el (switch-to-prev-buffer): Do not switch to a visible
11874 window previous buffer, just like with the frame previous buffers.
11875
11876 2012-03-21 Chong Yidong <cyd@gnu.org>
11877
11878 * faces.el (make-face, make-empty-face, copy-face):
11879 * face-remap.el (face-remap-add-relative, face-remap-set-base):
11880 Doc fixes.
11881
11882 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11883
11884 * wid-edit.el (widget-complete-field): Remove (bug#11051).
11885 (widget-complete): Remove broken use of it.
11886
11887 2012-03-20 Chong Yidong <cyd@gnu.org>
11888
11889 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11890 Use string-width and truncate-string-width to handle arbitrary
11891 characters.
11892
11893 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
11894
11895 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
11896 to draw rectangles, not squares. (Regression introduced by revno
11897 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
11898
11899 2012-03-18 Chong Yidong <cyd@gnu.org>
11900
11901 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
11902 it is not yet defined (for temacs).
11903
11904 2012-03-18 Leo Liu <sdl.web@gmail.com>
11905
11906 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
11907 prefix.
11908
11909 2012-03-17 Eli Zaretskii <eliz@gnu.org>
11910
11911 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
11912 (ispell-choices-win-default-height, ispell-silently-savep)
11913 (ispell-dictionary-alist, ispell-encoding8-command)
11914 (ispell-check-version, ispell-aspell-find-dictionary)
11915 (ispell-valid-dictionary-list, ispell-words-keyword)
11916 (ispell-get-word, ispell-internal-change-dictionary)
11917 (ispell-region, ispell-skip-region-list)
11918 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
11919 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
11920 (ispell-message-text-end, ispell-message)
11921 (ispell-buffer-local-parsing): Doc fix.
11922
11923 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
11924
11925 * htmlfontify.el: Add support for code block fontification for ODT
11926 export (Bug #9914).
11927 (hfy-optimisations): Define new option
11928 `body-text-only'
11929 (hfy-fontify-buffer): Honor above setting.
11930 (hfy-begin-span, hfy-end-span): New routines factored out form
11931 `hfy-fontify-buffer'.
11932 (hfy-begin-span-handler, hfy-end-span-handler): New variables
11933 that permit insertion of custom tags.
11934 (hfy-fontify-buffer): Use above handlers.
11935 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
11936 (hfy-face-to-css): Re-defined to be a variable.
11937 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
11938 over multiple runs. This is made possible by having the caller let
11939 bind a special variable `hfy-user-sheet-assoc'.
11940 (htmlfontify-string): New defun.
11941 (hfy-compile-face-map): Make sure that the last char in the
11942 buffer is correctly fontified.
11943 (hfy-face-resolve-face): Whitespace only change.
11944
11945 2012-03-17 Eli Zaretskii <eliz@gnu.org>
11946
11947 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
11948 message more clear.
11949
11950 2012-03-16 Leo Liu <sdl.web@gmail.com>
11951
11952 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
11953
11954 2012-03-16 Alan Mackenzie <acm@muc.de>
11955
11956 Further optimize the handling of large macros.
11957
11958 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
11959 limit to a call of `c-literal-limits'.
11960 (c-determine-+ve-limit): New function.
11961 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
11962 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
11963 In CASE 5B, restrict a search limit to 500.
11964 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
11965
11966 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
11967 Restrict macro bounds to +-500 from after-change's BEG END.
11968
11969 2012-03-16 Leo Liu <sdl.web@gmail.com>
11970
11971 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
11972
11973 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
11974
11975 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
11976 `special-mode' setting of `buffer-read-only'. (Bug#11010)
11977
11978 2012-03-16 Glenn Morris <rgm@gnu.org>
11979
11980 * view.el (view-buffer, view-buffer-other-window)
11981 (view-buffer-other-frame): Doc fixes re special mode-class.
11982
11983 * subr.el (eval-after-load): If named feature is provided not from
11984 a file, run after-load forms. (Bug#10946)
11985
11986 * calendar/calendar.el (calendar-insert-at-column):
11987 Handle non-unit-width characters a bit better. (Bug#10978)
11988
11989 2012-03-15 Chong Yidong <cyd@gnu.org>
11990
11991 * emacs-lisp/ring.el (ring-extend): New function.
11992 (ring-insert+extend): Extend the ring correctly (Bug#11019).
11993
11994 * comint.el (comint-read-input-ring)
11995 (comint-add-to-input-history): Grow comint-input-ring lazily.
11996
11997 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11998
11999 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
12000 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
12001
12002 * imenu.el: Fix multiple inheritance breakage (bug#9199).
12003 (imenu-add-to-menubar): Don't add a redundant index.
12004 (imenu-update-menubar): Handle a dynamically composed keymap.
12005
12006 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
12007
12008 * mail/sendmail.el (mail-encode-header):
12009 Bind rfc2047-encode-encoded-words to nil.
12010
12011 2012-03-13 Glenn Morris <rgm@gnu.org>
12012
12013 * calendar/calendar.el (calendar-string-spread):
12014 Handle non-unit-width characters a bit better. (Bug#10978)
12015
12016 2012-03-13 Leo Liu <sdl.web@gmail.com>
12017
12018 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
12019 directory and file as argument (Bug#10822).
12020
12021 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12022
12023 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
12024 For dynamically generated code, follow $PC.
12025 (gdb-disassembly-handler-custom): Handle no function name case.
12026
12027 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
12028
12029 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
12030 * emulation/ws-mode.el (ws-query-replace):
12031 * sort.el (sort-regexp-fields):
12032 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
12033
12034 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12035
12036 * dabbrev.el: Fix cycle completion order (bug#10963).
12037 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
12038 (dabbrev-completion): Don't use an obarray; provide
12039 a cycle-sort-function.
12040
12041 2012-03-12 Leo Liu <sdl.web@gmail.com>
12042
12043 * simple.el (kill-new): Use equal-including-properties for comparison.
12044 (kill-do-not-save-duplicates): Doc fix.
12045
12046 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12047
12048 * dabbrev.el: Fix cycle completion (bug#10963).
12049 Use lexical binding and wrap to 80 columns.
12050 (dabbrev-completion): Delay computing the list of completions.
12051
12052 2012-03-12 Kenichi Handa <handa@m17n.org>
12053
12054 * international/quail.el (quail-insert-kbd-layout): Surround each
12055 row by LRO and PDF instead of inserting many LRMs. Pad the left
12056 and right of each non-spacing marks. Insert invisible space
12057 between lower and upper characters to prevent composition.
12058
12059 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12060
12061 * minibuffer.el (minibuffer-complete): Don't get confused when the
12062 function is run twice via different commands (bug#10958).
12063 (complete-with-action): Fix docstring.
12064
12065 2012-03-12 Chong Yidong <cyd@gnu.org>
12066
12067 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
12068 (nxml-completion-at-point-function): New function.
12069 (nxml-mode): Use it.
12070 (nxml-bind-meta-tab-to-complete-flag): Default to t.
12071
12072 * emacs-lisp/package.el (package-unpack, package-unpack-single):
12073 Load generated autoloads file before byte compiling (Bug#10970).
12074 (package--make-autoloads-and-compile): New helper fun.
12075
12076 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
12077
12078 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
12079
12080 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
12081
12082 * autorevert.el (auto-revert-handler): Ensure, that
12083 file-readable-p is applied only for local files or in
12084 auto-revert-tail-mode.
12085
12086 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
12087
12088 * server.el (server-eval-at): Handle non-tcp connections.
12089 Decode result string.
12090
12091 * server.el (server-msg-size): New constant.
12092 (server-reply-print): New function.
12093 (server-eval-and-print): Use it.
12094 (server-eval-at): Use server-quote-arg and server-unquote-arg.
12095 Handle -print-nonl.
12096
12097 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
12098
12099 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
12100 (Bug#10987).
12101
12102 2012-03-11 Chong Yidong <cyd@gnu.org>
12103
12104 * simple.el (goto-line): Doc fix (Bug#9938).
12105
12106 * subr.el (save-window-excursion): Doc fix (Bug#9979).
12107
12108 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
12109 when finished (Bug#10963).
12110
12111 2012-03-11 Martin Rudalics <rudalics@gmx.at>
12112
12113 * window.el (split-window-below): Fix bug in case where
12114 split-window-keep-point is nil (Bug#10971).
12115
12116 2012-03-11 Juri Linkov <juri@jurta.org>
12117
12118 * replace.el (replace-highlight): Set isearch-word to nil
12119 unconditionally. (Bug#10887)
12120
12121 2012-03-10 Eli Zaretskii <eliz@gnu.org>
12122
12123 * net/mairix.el (mairix-replace-invalid-chars): Rename from
12124 mairix-replace-illegal-chars; all callers changed. Don't remove
12125 ^, ~, and = characters: they are meaningful in mairix search specs.
12126 (mairix-widget-create-query): Add usage information about mairix
12127 search forms: negating words, searching for substrings, etc.
12128
12129 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
12130
12131 * international/fontset.el (font-encoding-alist): Add an entry for
12132 ksx1001 (Bug#5667).
12133
12134 2012-03-10 Richard Stallman <rms@gnu.org>
12135
12136 * mail/sendmail.el (mail-encode-header):
12137 Set rfc2047-encode-encoded-words.
12138
12139 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
12140
12141 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
12142 view buffer means not swapped.
12143 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
12144 (rmail-write-region-annotate): Error if real text has disappeared.
12145
12146 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
12147
12148 2012-03-10 Chong Yidong <cyd@gnu.org>
12149
12150 * emulation/cua-rect.el (cua--init-rectangles):
12151 * emulation/cua-base.el (cua--init-keymaps):
12152 Add delete-forward-char to remappings (Bug#9666).
12153
12154 2012-03-10 Martin Rudalics <rudalics@gmx.at>
12155
12156 * speedbar.el (speedbar-unhighlight-one-tag-line):
12157 Avoid unhighlighting due to frame switching (Bug#10275).
12158
12159 2012-03-10 Chong Yidong <cyd@gnu.org>
12160
12161 * minibuffer.el (completion-in-region, completion-help-at-point):
12162 Give the completion field overlay a high priority (Bug#6830).
12163
12164 * dired.el (dired-goto-file): Recognize absolute file name
12165 listings (Bug#7126).
12166 (dired-goto-file-1): New helper function.
12167 (dired-toggle-read-only): Inhibit warnings.
12168
12169 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
12170
12171 * net/dbus.el (dbus-property-handler): Return empty array if
12172 there are no properties.
12173
12174 2012-03-09 Leo Liu <sdl.web@gmail.com>
12175
12176 * savehist.el (savehist-printable): Stricter check for string
12177 value (Bug#10937).
12178
12179 2012-03-09 Eli Zaretskii <eliz@gnu.org>
12180
12181 * mail/smtpmail.el (smtpmail-send-it):
12182 Bind coding-system-for-write to *-unix, so that FCC files are kept in
12183 valid mbox format.
12184
12185 2012-03-09 Glenn Morris <rgm@gnu.org>
12186
12187 * files.el (dir-locals-find-file):
12188 Don't check result is regular, readable.
12189 (dir-locals-read-from-file): Demote errors.
12190
12191 2012-03-08 Eli Zaretskii <eliz@gnu.org>
12192
12193 * international/quail.el (quail-insert-kbd-layout):
12194 Insert invisible LRM characters before each character in a keyboard
12195 layout cell, to prevent their reordering by bidi display engine.
12196 For details, see the discussion in
12197 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
12198
12199 2012-03-08 Alan Mackenzie <acm@muc.de>
12200
12201 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
12202 the starting position; make it extend the marked region when
12203 invoked repeatedly - all under appropriate circumstances.
12204 Fixes bugs #5525, #10906.
12205
12206 2012-03-08 Glenn Morris <rgm@gnu.org>
12207
12208 * files.el (locate-dominating-file, dir-locals-find-file):
12209 Undo 2012-03-06 change.
12210
12211 2012-03-07 Eli Zaretskii <eliz@gnu.org>
12212
12213 * international/quail.el (quail-help):
12214 Force bidi-paragraph-direction be left-to-right. See discussion in
12215 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
12216 for the reason.
12217
12218 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
12219
12220 Avoid superfluous registering of signals. (Bug#10807)
12221
12222 * notifications.el (notifications-on-action-object)
12223 (notifications-on-close-object): New defvars.
12224 (notifications-on-action-signal, notifications-on-closed-signal):
12225 Unregister the signal if not needed any longer.
12226 (notifications-notify): Register `notifications-action-signal' or
12227 `notifications-closed-signal', if :on-action or :on-close has been
12228 passed as argument.
12229
12230 2012-03-07 Chong Yidong <cyd@gnu.org>
12231
12232 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
12233 non-X platforms.
12234
12235 2012-03-06 Glenn Morris <rgm@gnu.org>
12236
12237 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12238 (x-disown-selection-internal, x-get-selection-internal):
12239 Doc fix (add arglist signatures). (Bug#10783)
12240
12241 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12242
12243 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
12244 Handle breakpoints with no "type".
12245
12246 2012-03-06 Glenn Morris <rgm@gnu.org>
12247
12248 * files.el (locate-dominating-file): Add optional predicate argument.
12249 (dir-locals-find-file): Make use of above change.
12250
12251 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
12252
12253 * info.el (Info-insert-dir): Also try "dir.gz".
12254
12255 2012-03-06 Glenn Morris <rgm@gnu.org>
12256
12257 * files.el (dir-locals-find-file):
12258 Ignore non-readable or non-regular files. (Bug#10928)
12259
12260 * files.el (locate-dominating-file): Doc fix.
12261
12262 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
12263
12264 * calendar/calendar.el (calendar-set-mode-line):
12265 `getenv' returns a string. (Bug#10951)
12266
12267 2012-03-05 Leo Liu <sdl.web@gmail.com>
12268
12269 * simple.el (backward-delete-char-untabify): Constrain point to
12270 field (Bug#10939).
12271
12272 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
12273
12274 2012-03-05 Chong Yidong <cyd@gnu.org>
12275
12276 * simple.el (count-words): If called from Lisp, return the word
12277 count, for symmetry with `count-lines'. Arglist changed.
12278 (count-words--message): Args changed. Consolidate counting code
12279 from count-words and count-words-region.
12280 (count-words-region): Caller changed.
12281 (count-lines-region): Make it an obsolete alias.
12282
12283 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
12284
12285 * saveplace.el (save-place-to-alist)
12286 (save-place-ignore-files-regexp): Allow value nil to disable this
12287 feature.
12288
12289 2012-03-04 Chong Yidong <cyd@gnu.org>
12290
12291 * faces.el (face-spec-reset-face): For the default face, reset the
12292 attributes to default values (Bug#10748).
12293
12294 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12295
12296 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
12297 previous patch: Check `message-send-mail-function', and not the
12298 default function (bug#10897).
12299
12300 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
12301
12302 * notifications.el (notifications-on-action-signal)
12303 (notifications-on-closed-signal): Check for unique service name of
12304 incoming event. Fix error in removing entry.
12305 (top): Register for signals with wildcard service name.
12306 (notifications-notify): Use daemon unique service name for map entries.
12307
12308 2012-03-04 Chong Yidong <cyd@gnu.org>
12309
12310 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
12311
12312 2012-03-04 Glenn Morris <rgm@gnu.org>
12313
12314 * abbrev.el (copy-abbrev-table, abbrev-table-p)
12315 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
12316 (expand-abbrev, define-abbrev-table): Doc fixes.
12317
12318 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12319
12320 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
12321 `message-default-send-mail-function' and not `send-mail-function'
12322 when doing the prompting for `sendmail-query-once' before sending
12323 in Message buffers (bug#10897).
12324
12325 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
12326 This is inconsistent with all the other stream functions, which leave
12327 the setting up to the higher levels (if so wanted) (bug#10931).
12328
12329 2012-03-02 Alan Mackenzie <acm@muc.de>
12330
12331 Depessimize the handling of very large macros.
12332
12333 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
12334 (c-macro-cache-syntactic): New variables to implement a one
12335 element macro cache.
12336 (c-invalidate-macro-cache): New function.
12337 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
12338 Adapt to use the new cache.
12339 (c-state-safe-place): Use better the cache of safe positions.
12340 (c-state-semi-nonlit-pos-cache)
12341 (c-state-semi-nonlit-pos-cache-limit):
12342 New variables for...
12343 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
12344 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
12345 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
12346 Use c-state-semi-safe-place.
12347
12348 * progmodes/cc-langs.el (c-get-state-before-change-functions):
12349 Add c-invalidate-macro-cache to the C, C++, Obj entries.
12350
12351 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
12352
12353 * jka-compr.el (jka-compr-call-process):
12354 Apply `file-accessible-directory-p' only when the default directory is
12355 not remote.
12356
12357 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
12358
12359 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
12360 access of FILE2, if FILE1 does not exist.
12361
12362 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
12363 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
12364
12365 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
12366 Add "PAGER=" to `process-environment'.
12367
12368 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
12369
12370 * progmodes/sql.el: Bug fix
12371 (sql-get-login-ext): Save login values in globals.
12372 (sql-get-login): Use new version of `sql-get-login-ext'.
12373 (sql-interactive-mode): Set global `sql-connection' to nil.
12374 (sql-connect): Set global values for connection.
12375 (sql-product-interactive): Save global values as buffer local.
12376
12377 2012-02-29 Leo Liu <sdl.web@gmail.com>
12378
12379 * abbrev.el (define-abbrevs): Reset sys to nil.
12380
12381 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12382
12383 * files.el (file-equal-p): Rename from `files-equal-p'.
12384 Return nil when one or both files don't exist.
12385 (file-subdir-of-p): Now only top directory must exists,
12386 return nil if it doesn't.
12387 (copy-directory): No need to test with `file-subdir-of-p' after
12388 creating dir.
12389 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
12390 to `file-equal-p'.
12391
12392 2012-02-28 Glenn Morris <rgm@gnu.org>
12393
12394 * shell.el (shell-mode):
12395 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
12396 * play/landmark.el (landmark-font-lock-face-O):
12397 * play/handwrite.el (handwrite):
12398 * play/gomoku.el (gomoku-O):
12399 * net/browse-url.el (browse-url-browser-display):
12400 * international/mule.el (define-charset):
12401 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
12402 * filesets.el (filesets-find-file-delay):
12403 * eshell/em-xtra.el (eshell-xtra):
12404 * eshell/em-unix.el (eshell-grep):
12405 * emulation/viper.el (viper-mode):
12406 * emacs-lisp/regexp-opt.el (regexp-opt-group):
12407 * emacs-lisp/easymenu.el (easy-menu-define):
12408 * calendar/timeclock.el (timeclock-use-display-time):
12409 * bs.el (bs-mode):
12410 * bookmark.el (bookmark-save-flag):
12411 Doc fix (standardize possessive apostrophe usage).
12412
12413 2012-02-27 Chong Yidong <cyd@gnu.org>
12414
12415 * emulation/viper-cmd.el (viper-intercept-ESC-key):
12416 Fix key-binding lookup for ESC key (Bug#9146).
12417
12418 * font-lock.el (font-lock-specified-p): Rename from
12419 font-lock-spec-present. Callers changed.
12420
12421 2012-02-27 Daniel Hackney <dan@haxney.org>
12422
12423 * emacs-lisp/package.el (package-compute-transaction):
12424 Handle holding a package version to t in package-load-list.
12425
12426 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
12427
12428 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
12429 (tramp-get-inode, tramp-get-device): Use cached values.
12430
12431 2012-02-26 Alan Mackenzie <acm@muc.de>
12432
12433 Check there is a font-lock specification before doing initial
12434 fontification.
12435
12436 * font-core.el (font-lock-mode): Move the conditional from
12437 :after-hook to font-lock-initial-fontify.
12438 (font-lock-default-function): Move the check for a specification
12439 to font-lock-spec-present.
12440
12441 * font-lock.el (font-lock-initial-fontify): Call ...
12442 (font-lock-spec-present): New function.
12443
12444 2012-02-26 Jim Blandy <jimb@red-bean.com>
12445
12446 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
12447 (gdb-send): Apply it to the operand of the '-interpreter-exec
12448 console' command, so that we can pass arguments with (say) quotes
12449 in them. Store exact string sent in gdb-debug-log (Bug#10765).
12450
12451 2012-02-26 Chong Yidong <cyd@gnu.org>
12452
12453 * help-fns.el (describe-function-1): Clarify description of
12454 remapping (Bug#10844).
12455
12456 * files.el (files-equal-p): Doc fix.
12457 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
12458 and quit the loop once a mismatch is found.
12459
12460 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
12461
12462 * bs.el (bs--show-with-configuration): Don't throw an error
12463 if the window cannot be split; otherwise, subsequent calls to
12464 bs-show fail, restoring a stale window config. (Bug#10882)
12465
12466 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
12467
12468 * term/ns-win.el (global-map): Bind ns-drag-file to
12469 ns-find-file (Bug#5855, Bug#10050).
12470
12471 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
12472
12473 * calendar/parse-time.el (parse-time-string): Allow extractor to
12474 return nil.
12475
12476 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
12477
12478 * net/tramp.el (tramp-file-name-for-operation):
12479 Add `files-equal-p' and `file-subdir-of-p'.
12480
12481 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
12482 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
12483 Add COPY-CONTENTS argument.
12484
12485 2012-02-25 Chong Yidong <cyd@gnu.org>
12486
12487 Add custom groups for VC backends, for consistency with vc-bzr.
12488
12489 * vc/vc-arch.el (vc-arch):
12490 * vc/vc-cvs.el (vc-cvs):
12491 * vc/vc-git.el (vc-git):
12492 * vc/vc-hg.el (vc-hg):
12493 * vc/vc-mtn.el (vc-mtn):
12494 * vc/vc-rcs.el (vc-rcs):
12495 * vc/vc-sccs.el (vc-sccs):
12496 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
12497 All relevant defcustoms reassigned.
12498
12499 2012-02-25 Chong Yidong <cyd@gnu.org>
12500
12501 * newcomment.el (comment-styles): Add autoload (Bug#10868).
12502
12503 * term/x-win.el (x-initialize-window-system): Reduce default for
12504 x-selection-timeout to 5 seconds (Bug#8869).
12505
12506 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12507
12508 * files.el (files-equal-p, file-subdir-of-p): New functions.
12509 (copy-directory): Error when trying to copy a directory on itself.
12510 Add missing copy-contents arg to tramp handler.
12511 * dired-aux.el (dired-copy-file-recursive): Same.
12512 (dired-create-files): Modify destination when source is equal to
12513 dest when copying files.
12514 Return also when dest is a subdir of source. (Bug#10489)
12515
12516 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
12517
12518 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
12519 (Bug#10874)
12520
12521 2012-02-23 Alan Mackenzie <acm@muc.de>
12522
12523 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
12524 parameter "after-hook:" to allow the expansion to run code after
12525 the execution of the mode hooks.
12526
12527 * font-lock.el (font-lock-initial-fontify): New function extracted
12528 from font-lock-mode-internal.
12529
12530 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
12531 :after-hook.
12532
12533 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12534
12535 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
12536 (completion--cache-all-sorted-completions): New function.
12537 (completion-all-sorted-completions): Use it.
12538 (completion--do-completion, minibuffer-force-complete):
12539 Use it to re-instate the flush hook.
12540
12541 * icomplete.el (icomplete-completions): Replace last fix with a better
12542 one (bug#10850).
12543
12544 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
12545
12546 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
12547 when it might call us back infinitely (bug#10797).
12548
12549 2012-02-23 Glenn Morris <rgm@gnu.org>
12550
12551 * minibuffer.el (completion-category-overrides): Doc fix.
12552
12553 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12554
12555 * minibuffer.el (completion-table-with-context): Fix inf-loop.
12556 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
12557
12558 2012-02-23 Glenn Morris <rgm@gnu.org>
12559
12560 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
12561 (authors-obsolete-files-regexps, authors-ignored-files)
12562 (authors-ambiguous-files, authors-renamed-files-alist):
12563 Add more entries.
12564
12565 2012-02-23 Juri Linkov <juri@jurta.org>
12566
12567 * isearch.el (isearch-occur): Sync interactive spec with occur's
12568 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
12569
12570 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
12571
12572 2012-02-22 Juri Linkov <juri@jurta.org>
12573
12574 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
12575 (ucs-insert): Doc fix. Check for hex digits in the string.
12576 Don't display `nil' in the error message. (Bug#10857)
12577
12578 2012-02-22 Alan Mackenzie <acm@muc.de>
12579
12580 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
12581
12582 2012-02-22 Glenn Morris <rgm@gnu.org>
12583
12584 * ffap.el (ffap-c-path):
12585 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
12586
12587 2012-02-22 Chong Yidong <cyd@gnu.org>
12588
12589 * custom.el (load-theme): Doc fix.
12590
12591 2012-02-22 Glenn Morris <rgm@gnu.org>
12592
12593 * dired-x.el (dired-guess-shell-alist-default):
12594 Remove escape sequences from nroff output. (Bug#172)
12595
12596 2012-02-21 Glenn Morris <rgm@gnu.org>
12597
12598 * vc/emerge.el (emerge-defvar-local):
12599 Set `permanent-local' property rather than unused `preserved'.
12600
12601 * textmodes/picture.el (picture-delete-char): New alias.
12602 (picture-mode-map): Use it. (Bug#10860)
12603 (picture-mode): Doc fix.
12604
12605 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
12606
12607 * newcomment.el (uncomment-region-default): Remove unused binding.
12608
12609 2012-02-21 Glenn Morris <rgm@gnu.org>
12610
12611 * textmodes/picture.el (picture-motion, picture-motion-reverse)
12612 (picture-self-insert, picture-tab-chars): Doc fix.
12613 (picture-mode-map): Fix C-a, C-e.
12614
12615 2012-02-20 Glenn Morris <rgm@gnu.org>
12616
12617 * emacs-lisp/authors.el (authors-aliases): Add another entry.
12618
12619 2012-02-20 Leo Liu <sdl.web@gmail.com>
12620
12621 * icomplete.el (icomplete-completions): Check FROM arg before
12622 passing to substring (Bug#10850).
12623
12624 2012-02-19 Chong Yidong <cyd@gnu.org>
12625
12626 * comint.el: Require ansi-color.
12627 (comint-output-filter-functions): Add ansi-color-process-output.
12628
12629 * ansi-color.el: Don't set comint-output-filter-functions; it is
12630 now in the initial value defined in comint.el.
12631 (ansi-color-apply-face-function): New variable.
12632 (ansi-color-apply-on-region): Use it.
12633 (ansi-color-apply-overlay-face): New function.
12634
12635 * shell.el (shell): No need to require ansi-color.
12636 (shell-mode): Use ansi-color-apply-face-function to highlight
12637 color escapes using font-lock-face property (Bug#10835).
12638
12639 2012-02-19 Chong Yidong <cyd@gnu.org>
12640
12641 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
12642 mode-line formats (Bug#10839).
12643
12644 2012-02-18 Glenn Morris <rgm@gnu.org>
12645
12646 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
12647
12648 * mail/undigest.el (unforward-rmail-message): Doc fix.
12649
12650 * saveplace.el (save-place-ignore-files-regexp): Add :version.
12651
12652 2012-02-18 Eli Zaretskii <eliz@gnu.org>
12653
12654 * international/characters.el (script-list): Sync with the latest
12655 Unicode Character Database.
12656
12657 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
12658
12659 * international/titdic-cnv.el: Remove duplicate coding tag.
12660 * language/cham.el: Likewise.
12661 * language/tai-viet.el: Likewise.
12662
12663 2012-02-18 Glenn Morris <rgm@gnu.org>
12664
12665 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
12666 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
12667 (calendar-bahai-all-holidays-flag, calendar-other-dates):
12668 * calendar/diary-lib.el (diary-abbreviated-year-flag):
12669 * calendar/holidays.el (holiday-bahai-holidays)
12670 (calendar-holidays, list-holidays):
12671 Use utf-8 Bahá'í in doc-strings, menus, etc.
12672
12673 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
12674
12675 * saveplace.el (save-place-ignore-files-regexp): New variable
12676 allowing for excluding files from saving their location of point.
12677 The default value matches the temporary commit message editing
12678 files from Git, SVN, Bazaar, and Mercurial.
12679 (save-place-to-alist): Use it.
12680
12681 2012-02-17 Lawrence Mitchell <wence@gmx.li>
12682 Stefan Monnier <monnier@iro.umontreal.ca>
12683
12684 * newcomment.el (uncomment-region-default): Don't leave extra space
12685 when an arg is provided (bug#8150).
12686
12687 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
12688
12689 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
12690
12691 2012-02-17 Glenn Morris <rgm@gnu.org>
12692
12693 * net/socks.el: Require network-stream. (Bug#10599)
12694
12695 2012-02-17 Kenichi Handa <handa@m17n.org>
12696
12697 * international/charprop.el:
12698 * international/uni-name.el:
12699 * international/uni-old-name.el:
12700 * international/uni-comment.el: Regenerate.
12701
12702 2012-02-16 Glenn Morris <rgm@gnu.org>
12703
12704 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
12705 Interactively in calendar buffer, give an error if not on a date.
12706
12707 2012-02-15 Glenn Morris <rgm@gnu.org>
12708
12709 * shell.el (shell-delimiter-argument-list):
12710 Revert 2011-02-17 change. (Bug#8027)
12711
12712 2012-02-15 Chong Yidong <cyd@gnu.org>
12713
12714 * minibuffer.el (completion-at-point-functions): Doc fix.
12715
12716 * custom.el (defcustom): Doc fix; note use of defvar.
12717
12718 2012-02-15 Glenn Morris <rgm@gnu.org>
12719
12720 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
12721 Doc fixes.
12722
12723 2012-02-14 Glenn Morris <rgm@gnu.org>
12724
12725 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
12726
12727 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
12728
12729 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
12730 way the ports list is computed.
12731 (smtpmail-query-smtp-server): Prompt the user for a port number if
12732 we can't connect to any of the standard ports (bug#10810).
12733
12734 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
12735
12736 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
12737
12738 2012-02-13 Glenn Morris <rgm@gnu.org>
12739
12740 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
12741
12742 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
12743
12744 * net/gnutls.el (gnutls-trustfiles): New variable.
12745 (gnutls-negotiate): Use it.
12746
12747 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
12748
12749 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
12750 does its stuff if Gnus is running.
12751
12752 2012-02-13 Alan Mackenzie <acm@muc.de>
12753
12754 Fix a loop in c-set-fl-decl-start.
12755
12756 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
12757 c-backward-syntactic-ws actually moves backwards.
12758
12759 2012-02-13 Leo Liu <sdl.web@gmail.com>
12760
12761 * net/rcirc.el (rcirc-markup-attributes): Move point to the
12762 beginning so that all \C-o chars are removed.
12763
12764 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
12765
12766 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
12767
12768 2012-02-12 Alan Mackenzie <acm@muc.de>
12769
12770 Fix infinite loop with long macros.
12771 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
12772
12773 2012-02-12 Chong Yidong <cyd@gnu.org>
12774
12775 * window.el (display-buffer): Doc fix (Bug#10785).
12776
12777 2012-02-12 Glenn Morris <rgm@gnu.org>
12778
12779 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12780 (x-disown-selection-internal, x-get-selection-internal):
12781 Sync docs with the xselect.c versions.
12782
12783 * allout-widgets.el: Add missing license notice.
12784
12785 2012-02-11 Glenn Morris <rgm@gnu.org>
12786
12787 * select.el (x-get-selection-internal, x-own-selection-internal)
12788 (x-disown-selection-internal):
12789 * x-dnd.el (x-get-selection-internal): Update declarations.
12790
12791 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
12792
12793 * window.el (window-sides-slots):
12794 * tool-bar.el (tool-bar-position):
12795 * term/xterm.el (xterm-extra-capabilities):
12796 * ses.el (ses-self-reference-early-detection):
12797 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
12798 (verilog-auto-wire-type)
12799 (verilog-auto-delete-trailing-whitespace)
12800 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
12801 (verilog-auto-tieoff-declaration):
12802 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
12803 (sql-oracle-statement-starters, sql-oracle-scan-on):
12804 * progmodes/prolog.el (prolog-align-comments-flag)
12805 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
12806 (prolog-left-indent-regexp, prolog-paren-indent-p)
12807 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
12808 (prolog-types, prolog-mode-specificators)
12809 (prolog-determinism-specificators, prolog-directives)
12810 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
12811 (prolog-electric-dot-flag)
12812 (prolog-electric-dot-full-predicate-template)
12813 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
12814 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
12815 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
12816 (prolog-program-switches, prolog-prompt-regexp)
12817 (prolog-debug-on-string, prolog-debug-off-string)
12818 (prolog-trace-on-string, prolog-trace-off-string)
12819 (prolog-zip-on-string, prolog-zip-off-string)
12820 (prolog-use-standard-consult-compile-method-flag)
12821 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
12822 (prolog-imenu-max-lines, prolog-info-predicate-index)
12823 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
12824 (prolog-char-quote-workaround):
12825 * progmodes/cc-vars.el (c-defun-tactic):
12826 * net/tramp.el (tramp-encoding-command-interactive)
12827 (tramp-local-end-of-line):
12828 * net/soap-client.el (soap-client):
12829 * net/netrc.el (netrc-file):
12830 * net/gnutls.el (gnutls):
12831 * minibuffer.el (completion-category-overrides)
12832 (completion-cycle-threshold)
12833 (completion-pcm-complete-word-inserts-delimiters):
12834 * man.el (Man-name-local-regexp):
12835 * mail/feedmail.el (feedmail-display-full-frame):
12836 * international/characters.el (glyphless-char-display-control):
12837 * eshell/em-ls.el (eshell-ls-date-format):
12838 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
12839 (lisp-lambda-list-keyword-parameter-indentation)
12840 (lisp-lambda-list-keyword-parameter-alignment):
12841 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
12842 * dired-x.el (dired-omit-verbose):
12843 * cus-theme.el (custom-theme-allow-multiple-selections):
12844 * calc/calc.el (calc-highlight-selections-with-faces)
12845 (calc-lu-field-reference, calc-lu-power-reference)
12846 (calc-note-threshold):
12847 * battery.el (battery-mode-line-limit):
12848 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
12849 (archive-7z-update):
12850 * allout.el (allout-prefixed-keybindings)
12851 (allout-unprefixed-keybindings)
12852 (allout-inhibit-auto-fill-on-headline)
12853 (allout-flattened-numbering-abbreviation):
12854 * allout-widgets.el (allout-widgets-auto-activation)
12855 (allout-widgets-icons-dark-subdir)
12856 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
12857 (allout-widgets-theme-dark-background)
12858 (allout-widgets-theme-light-background)
12859 (allout-widgets-item-image-properties-emacs)
12860 (allout-widgets-item-image-properties-xemacs)
12861 (allout-widgets-run-unit-tests-on-load)
12862 (allout-widgets-time-decoration-activity)
12863 (allout-widgets-hook-error-post-time)
12864 (allout-widgets-track-decoration):
12865 Add missing :version tags to new defcustoms and defgroups.
12866
12867 * progmodes/sql.el (sql-ansi-statement-starters)
12868 (sql-oracle-statement-starters): Add custom type.
12869
12870 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
12871 (prolog-system-version): Give it a type.
12872
12873 2012-02-11 Eli Zaretskii <eliz@gnu.org>
12874
12875 * term/pc-win.el (x-select-text, x-selection-owner-p)
12876 (x-own-selection-internal, x-disown-selection-internal)
12877 (x-get-selection-internal): Sync doc strings and argument lists
12878 with xselect.c, common-win.el and x-win.el. (Bug#10783)
12879
12880 2012-02-11 Leo Liu <sdl.web@gmail.com>
12881
12882 * progmodes/python.el (python-end-of-statement): Fix infinite
12883 loop. (Bug#10788)
12884
12885 2012-02-10 Glenn Morris <rgm@gnu.org>
12886
12887 * international/mule-cmds.el (unify-8859-on-encoding-mode)
12888 (unify-8859-on-decoding-mode): Properly mark as obsolete.
12889
12890 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
12891
12892 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
12893 about SMTP before checking the From header.
12894
12895 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
12896 into own function for reuse by emacsbug.el.
12897
12898 2012-02-10 Leo Liu <sdl.web@gmail.com>
12899
12900 * subr.el (condition-case-unless-debug): Rename from
12901 condition-case-no-debug. All callers changed.
12902 (with-demoted-errors): Fix caller.
12903
12904 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
12905 * nxml/rng-valid.el (rng-do-some-validation):
12906 * emacs-lisp/package.el (package-refresh-contents)
12907 (package-menu-execute):
12908 * desktop.el (desktop-create-buffer):
12909 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
12910
12911 2012-02-10 Glenn Morris <rgm@gnu.org>
12912
12913 * textmodes/bibtex.el:
12914 Add missing :version tags for new/changed defcustoms.
12915
12916 * files.el (remote-file-name-inhibit-cache): Doc fixes.
12917
12918 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
12919
12920 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
12921 (smtpmail-via-smtp): Use it, or fall back on the From address.
12922 (smtpmail-send-it): Ditto.
12923
12924 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
12925
12926 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
12927 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
12928 (byte-compile-tmp-var): New const.
12929 (byte-compile-defvar): Use it to minimize .elc size.
12930 Just use `defvar' rather than simulate it (bug#10761).
12931
12932 2012-02-09 Glenn Morris <rgm@gnu.org>
12933
12934 * files.el (rename-uniquely): Doc fix. (Bug#3806)
12935
12936 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
12937 Add :version tags.
12938
12939 * progmodes/compile.el (compilation-error-screen-columns)
12940 (compilation-first-column, compilation-filter-start): Doc fixes.
12941
12942 * vc/log-view.el (log-view-toggle-entry-display):
12943 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
12944
12945 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
12946 (report-emacs-bug-can-use-xdg-email):
12947 (report-emacs-bug-insert-to-mailer): Doc fixes.
12948 (report-emacs-bug): Message fix.
12949
12950 * net/browse-url.el (browse-url-can-use-xdg-open)
12951 (browse-url-xdg-open): Doc fixes.
12952
12953 * electric.el (electric-indent-mode, electric-pair-mode)
12954 (electric-layout-rules, electric-layout-mode): Doc fixes.
12955 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
12956
12957 2012-02-08 Martin Rudalics <rudalics@gmx.at>
12958
12959 * server.el (server-unselect-display): Don't inadvertently kill
12960 the current buffer. (Bug#10729)
12961
12962 2012-02-08 Glenn Morris <rgm@gnu.org>
12963
12964 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
12965 (sql-list-table): Doc fixes.
12966
12967 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
12968 Comment out (does nothing).
12969
12970 * completion.el (dynamic-completion-mode):
12971 * dirtrack.el (dirtrack-debug-mode):
12972 * electric.el (electric-layout-mode):
12973 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
12974 * face-remap.el (text-scale-mode, buffer-face-mode):
12975 * iimage.el (iimage-mode):
12976 * image-mode.el (image-transform-mode):
12977 * minibuffer.el (completion-in-region-mode):
12978 * scroll-lock.el (scroll-lock-mode):
12979 * simple.el (next-error-follow-minor-mode):
12980 * tar-mode.el (tar-subfile-mode):
12981 * tooltip.el (tooltip-mode):
12982 * vcursor.el (vcursor-use-vcursor-map):
12983 * wid-browse.el (widget-minor-mode):
12984 * emulation/tpu-edt.el (tpu-edt-mode):
12985 * emulation/tpu-extras.el (tpu-cursor-free-mode):
12986 * international/iso-ascii.el (iso-ascii-mode):
12987 * language/thai-util.el (thai-word-mode):
12988 * mail/supercite.el (sc-minor-mode):
12989 * net/goto-addr.el (goto-address-mode):
12990 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
12991 * progmodes/cwarn.el (cwarn-mode):
12992 * progmodes/flymake.el (flymake-mode):
12993 * progmodes/glasses.el (glasses-mode):
12994 * progmodes/hideshow.el (hs-minor-mode):
12995 * progmodes/pascal.el (pascal-outline-mode):
12996 * textmodes/enriched.el (enriched-mode):
12997 * vc/smerge-mode.el (smerge-mode):
12998 Doc fixes (minor mode argument).
12999
13000 2012-02-07 Eli Zaretskii <eliz@gnu.org>
13001
13002 * ls-lisp.el (ls-lisp-sanitize): New function.
13003 (ls-lisp-insert-directory): Use it to fix or remove any elements
13004 in file-alist with missing attributes. (Bug#4673)
13005
13006 2012-02-07 Alan Mackenzie <acm@muc.de>
13007
13008 Fix spurious recognition of c-in-knr-argdecl.
13009
13010 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
13011 putative K&R region.
13012
13013 2012-02-07 Alan Mackenzie <acm@muc.de>
13014
13015 * progmodes/cc-engine.el (c-forward-objc-directive):
13016 Prevent looping in "#pragma mark @implementation".
13017
13018 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
13019
13020 * notifications.el (notifications-on-closed-signal): Make `reason'
13021 optional. (Bug#10744)
13022
13023 2012-02-07 Glenn Morris <rgm@gnu.org>
13024
13025 * emacs-lisp/easy-mmode.el (define-minor-mode):
13026 Doc fixes for the macro and the mode it defines.
13027
13028 * image.el (imagemagick-types-inhibit): Doc fix.
13029
13030 * cus-start.el (imagemagick-render-type): Add it.
13031
13032 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
13033
13034 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
13035 Set the default at load time, too, so that `font-lock-fontify-buffer'
13036 can be called without setting up the entire mode first. This fixes
13037 a bug in `mm-inline-text' with C MIME parts.
13038
13039 2012-02-06 Chong Yidong <cyd@gnu.org>
13040
13041 * simple.el (list-processes--refresh): Delete exited processes
13042 (Bug#8094).
13043
13044 * comint.el (comint-next-prompt): next-single-char-property-change
13045 and prev-single-char-property-change never return nil (Bug#8657).
13046
13047 * custom.el (defcustom): Doc fix (Bug#9711).
13048
13049 2012-02-05 Chong Yidong <cyd@gnu.org>
13050
13051 * cus-edit.el (custom-variable-reset-backup): Quote the value
13052 before storing it in the customized-value property (Bug#6712).
13053 (custom-display): Add a customization type tag.
13054 (custom-buffer-create-internal): Improve tooltip message.
13055
13056 * wid-edit.el (widget-field-value-get): New optional arg to
13057 suppress trailing whitespace truncation.
13058 (character): Use it (Bug#2689).
13059
13060 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
13061
13062 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
13063 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
13064
13065 2012-02-05 Chong Yidong <cyd@gnu.org>
13066
13067 * cus-edit.el (custom-variable-value-create): For mismatched
13068 types, show the current value (Bug#7600).
13069
13070 * custom.el (defcustom): Doc fix.
13071
13072 2012-02-05 Glenn Morris <rgm@gnu.org>
13073
13074 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
13075
13076 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
13077
13078 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
13079 (pp-buffer): Use `ignore-errors', `looking-at-p'.
13080 (pp-last-sexp): Use `looking-at-p'.
13081
13082 2012-02-04 Glenn Morris <rgm@gnu.org>
13083
13084 * files.el (revert-buffer):
13085 Doc fix (mention revert-buffer-in-progress-p).
13086
13087 * emacs-lisp/ert-x.el (ert-simulate-command):
13088 Check deferred-action-list (which is obsolete) is bound.
13089
13090 * subr.el (with-wrapper-hook): Doc fixes.
13091
13092 * simple.el (filter-buffer-substring-functions)
13093 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
13094
13095 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
13096
13097 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
13098 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
13099
13100 2012-02-04 Leo Liu <sdl.web@gmail.com>
13101
13102 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
13103
13104 2012-02-04 Glenn Morris <rgm@gnu.org>
13105
13106 * image.el (image-extension-data): Add obsolete alias.
13107
13108 * isearch.el (isearch-update): Doc fix.
13109
13110 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
13111
13112 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
13113
13114 2012-02-03 Glenn Morris <rgm@gnu.org>
13115
13116 * image.el (image-animated-p): Doc fix. Use image-animated-types.
13117 (image-animate-timeout): Doc fix.
13118
13119 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
13120
13121 2012-02-02 Glenn Morris <rgm@gnu.org>
13122
13123 * server.el (server-auth-dir): Doc fix.
13124 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
13125
13126 * subr.el (run-mode-hooks): Doc fix.
13127
13128 2012-02-02 Juri Linkov <juri@jurta.org>
13129
13130 * image-mode.el (image-toggle-display-image): Remove tautological
13131 `major-mode' from the `derived-mode-p' test.
13132
13133 2012-02-02 Kenichi Handa <handa@m17n.org>
13134
13135 * composite.el (compose-region): Cancel previous change.
13136
13137 2012-02-02 Kenichi Handa <handa@m17n.org>
13138
13139 * composite.el (compose-region, compose-string): Signal error for
13140 a null string component (Bug#6988).
13141
13142 2012-02-01 Chong Yidong <cyd@gnu.org>
13143
13144 * view.el (view-buffer-other-window, view-buffer-other-frame):
13145 Handle special modes like view-buffer (Bug#10650).
13146 (view-buffer): Simplify.
13147
13148 * frame.el (set-frame-font): Tweak meaning of third argument.
13149
13150 * dynamic-setting.el (font-setting-change-default-font):
13151 Use set-frame-font (Bug#9982).
13152
13153 2012-02-01 Glenn Morris <rgm@gnu.org>
13154
13155 * progmodes/compile.el (compilation-internal-error-properties):
13156 Respect compilation-first-column in the "*compilation*" buffer.
13157
13158 * emacs-lisp/easy-mmode.el (define-minor-mode):
13159 Relax :variable's test for a named function.
13160
13161 2012-01-31 Alan Mackenzie <acm@muc.de>
13162
13163 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
13164 off by one error.
13165
13166 2012-01-31 Chong Yidong <cyd@gnu.org>
13167
13168 * frame.el (set-frame-font): New arg ALL-FRAMES.
13169
13170 * menu-bar.el (menu-set-font): Use set-frame-font.
13171
13172 * faces.el (face-spec-reset-face): Don't apply unspecified
13173 attribute values to the default face.
13174
13175 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
13176
13177 * progmodes/cwarn.el (cwarn): Remove dead link.
13178 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
13179 Remove * from defcustom docstrings.
13180 (turn-on-cwarn-mode): Make obsolete.
13181 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
13182 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
13183
13184 2012-01-31 Glenn Morris <rgm@gnu.org>
13185
13186 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
13187 Fix :variable handling of mode a symbol not equal to modefun.
13188 Allow named functions to be used as the cdr of :variable.
13189
13190 2012-01-30 Glenn Morris <rgm@gnu.org>
13191
13192 * emacs-lisp/authors.el (authors-fixed-entries):
13193 Remove reference to deleted file rnewspost.el.
13194
13195 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
13196
13197 * window.el (window-with-parameter): Remove unused variable `windows'.
13198 (window--side-check): Remove unused variable `code'.
13199 (window--resize-siblings): Remove unused variable `first'.
13200 (adjust-window-trailing-edge): Remove unused variable `failed'.
13201 (window-deletable-p, window--delete): Remove unused variable `buffer'.
13202 Use `let', not `let*'.
13203 (balance-windows-2): Remove unused variable `found'.
13204 (window--state-put-2): Remove unused variable `splits'.
13205 (window-state-put): Remove unused variable `selected'.
13206 (same-window-p): Use `string-match-p'.
13207 (display-buffer-assq-regexp): Remove unused variable `value'.
13208 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13209 Mark argument ALIST as ignored.
13210 (pop-to-buffer): Remove unused variable `old-window'.
13211
13212 2012-01-29 Eli Zaretskii <eliz@gnu.org>
13213
13214 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
13215 and .lzma compressed files.
13216
13217 2012-01-29 Chong Yidong <cyd@gnu.org>
13218
13219 * frame.el (window-system-default-frame-alist): Doc fix.
13220
13221 * dynamic-setting.el (font-setting-change-default-font): Don't
13222 change the default face if SET-FONT argument is non-nil (Bug#9982).
13223
13224 2012-01-29 Samuel Bronson <naesten@gmail.com>
13225
13226 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
13227
13228 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
13229
13230 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
13231 breakpoints in files outside current directory (Bug#6098).
13232
13233 2012-01-29 Chong Yidong <cyd@gnu.org>
13234
13235 * progmodes/python.el: Require ansi-color at top-level.
13236
13237 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
13238 Define and use in Emacs Lisp mode (Bug#9360).
13239 (lisp-mode-abbrev-table): Add doc.
13240 (lisp-mode-variables): Don't set local-abbrev-table.
13241 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
13242
13243 2012-01-28 Roland Winkler <winkler@gnu.org>
13244
13245 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
13246
13247 2012-01-28 Roland Winkler <winkler@gnu.org>
13248
13249 * textmodes/bibtex.el (bibtex-entry-alist): New function.
13250 (bibtex-set-dialect): Use it. Either set global values of
13251 dialect-dependent variables or bind these variables buffer-locally
13252 (Bug#10254).
13253 (bibtex-mode): Call bibtex-set-dialect via
13254 hack-local-variables-hook.
13255 (bibtex-dialect): Update docstring.
13256 Add safe-local-variable predicate.
13257 (bibtex-entry-alist, bibtex-field-alist): Initialize via
13258 bibtex-set-dialect.
13259 (bibtex-mode-map): Define menu for each dialect.
13260 (bibtex-entry): Fix docstring.
13261
13262 2012-01-28 Chong Yidong <cyd@gnu.org>
13263
13264 * eshell/esh-arg.el (eshell-quote-argument): New function.
13265
13266 * eshell/esh-ext.el (eshell-invoke-batch-file):
13267 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
13268 first arg to eshell-parse-command (Bug#10523).
13269
13270 2012-01-28 Drew Adams <drew.adams@oracle.com>
13271
13272 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
13273 `default-directory' is non-nil.
13274
13275 2012-01-28 Eli Zaretskii <eliz@gnu.org>
13276
13277 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
13278 line that displays system-configuration-options. (Bug#9924)
13279
13280 2012-01-28 Drew Adams <drew.adams@oracle.com>
13281
13282 * descr-text.el (describe-char): Show information about POS, in
13283 addition to information about the character at POS. Improve and
13284 update the doc string. Change "code point" to "code point in
13285 charset", to avoid confusion with the character's Unicode code
13286 point shown above that. (Bug#10129)
13287
13288 2012-01-28 Eli Zaretskii <eliz@gnu.org>
13289
13290 * descr-text.el (describe-char): Show the raw character, not only
13291 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
13292 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
13293 for the reasons.
13294
13295 2012-01-28 Phil Hagelberg <phil@hagelb.org>
13296
13297 * emacs-lisp/package.el (package-install):
13298 Run package-refresh-contents if there is no archive yet (Bug#9798).
13299
13300 2012-01-28 Chong Yidong <cyd@gnu.org>
13301
13302 * emacs-lisp/package.el (package-maybe-load-descriptor):
13303 New function, split from package-maybe-load-descriptor.
13304 (package-maybe-load-descriptor): Use it.
13305 (package-download-transaction): Fully load required packages
13306 inside the loop, so that `require' calls work (Bug#10593).
13307 (package-install): No need to call package-initialize now.
13308
13309 2012-01-28 Chong Yidong <cyd@gnu.org>
13310
13311 * simple.el (deactivate-mark): Doc fix (Bug#8614).
13312
13313 * tooltip.el (tooltip-mode): Doc fix.
13314 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
13315
13316 * frame.el (set-cursor-color): Doc fix (Bug#352).
13317
13318 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
13319 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
13320
13321 * cus-edit.el (custom-buffer-create-internal): Fix search button
13322 action (Bug#10542).
13323 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
13324
13325 2012-01-27 Eduard Wiebe <usenet@pusto.de>
13326
13327 * dired.el (dired-mark-files-regexp):
13328 Include any subdirectory components. (Bug#10445)
13329
13330 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
13331
13332 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
13333 Handle [host]:port syntax. (Bug#10533)
13334
13335 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
13336
13337 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
13338
13339 2012-01-26 Glenn Morris <rgm@gnu.org>
13340
13341 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
13342 * term.el (term-raw-escape-map): Use Control-X-prefix.
13343 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
13344
13345 2012-01-25 Martin Rudalics <rudalics@gmx.at>
13346
13347 * window.el (window-state-get, window--state-get-1): Don't deal
13348 with fixed-sizeness of windows. Simplify code.
13349
13350 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
13351
13352 * window.el (window--state-get-1, window--state-put-2):
13353 Don't save and restore the mark.
13354
13355 2012-01-25 Chong Yidong <cyd@gnu.org>
13356
13357 * custom.el (custom-variable-p): Doc fix.
13358
13359 2012-01-25 Glenn Morris <rgm@gnu.org>
13360
13361 * dired.el (dired-goto-file): Handle some of the more common
13362 characters that `ls -b' escapes. (Bug#10596)
13363
13364 * progmodes/compile.el (compilation-next-error-function):
13365 Respect compilation-first-column in the "*compilation*" buffer.
13366 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
13367
13368 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
13369
13370 2012-01-24 Glenn Morris <rgm@gnu.org>
13371
13372 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
13373
13374 2012-01-24 Julien Danjou <julien@danjou.info>
13375
13376 * color.el (color-rgb-to-hsl): Fix value computing.
13377 (color-hue-to-rgb): New function.
13378 (color-hsl-to-rgb): New function.
13379 (color-clamp, color-saturate-hsl, color-saturate-name)
13380 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
13381 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
13382
13383 2012-01-24 Glenn Morris <rgm@gnu.org>
13384
13385 * vc/vc-rcs.el (vc-rcs-create-tag):
13386 * vc/vc-sccs.el (vc-sccs-create-tag):
13387 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
13388
13389 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
13390
13391 * eshell/esh-util.el (eshell-read-hosts-file):
13392 Skip comment lines. (Bug#10549)
13393
13394 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
13395
13396 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
13397
13398 * subr.el (display-delayed-warnings): Doc fix.
13399 (collapse-delayed-warnings): New function to collapse identical
13400 adjacent warnings.
13401 (delayed-warnings-hook): Add it.
13402
13403 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
13404
13405 * net/tramp.el (tramp-action-login): Set connection property "login-as".
13406
13407 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
13408 (tramp-default-user-alist): Don't add "pscp".
13409 (tramp-do-copy-or-rename-file-out-of-band): Use connection
13410 property "login-as", if set. (Bug#10530)
13411
13412 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
13413
13414 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
13415 "plink1" and "psftp". (Bug#10530)
13416
13417 2012-01-21 Kenichi Handa <handa@m17n.org>
13418
13419 * international/mule-cmds.el (prefer-coding-system): Show a
13420 warning message if the default value of file-name-coding-system
13421 was not changed.
13422
13423 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13424
13425 * windmove.el (windmove-reference-loc):
13426 Fix windmove-reference-loc miscalculation.
13427
13428 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
13429
13430 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
13431 default unit.
13432
13433 2012-01-21 Glenn Morris <rgm@gnu.org>
13434
13435 * international/mule.el (auto-coding-alist): Add .tbz.
13436
13437 * files.el (local-enable-local-variables): Doc fix.
13438 (inhibit-local-variables-regexps): Rename from
13439 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
13440 Doc fix. Add some extensions from auto-coding-alist.
13441 (inhibit-local-variables-suffixes):
13442 Rename from inhibit-first-line-modes-suffixes. Doc fix.
13443 (inhibit-local-variables-p):
13444 New function, extracted from set-auto-mode-1.
13445 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
13446 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
13447 (hack-local-variables): Doc fix. Make the mode-only case
13448 respect enable-local-variables and friends.
13449 Respect inhibit-local-variables-regexps for file-locals, but
13450 not for directory-locals.
13451 (set-visited-file-name):
13452 Take account of inhibit-local-variables-regexps.
13453 Whether it applies may change as the file name is changed.
13454 * jka-cmpr-hook.el (jka-compr-install):
13455 * jka-compr.el (jka-compr-uninstall):
13456 Update for inhibit-first-line-modes-suffixes name change.
13457
13458 2012-01-20 Martin Rudalics <rudalics@gmx.at>
13459
13460 * help-macro.el (make-help-screen): Temporarily restore original
13461 binding for minor-mode-map-alist (Bug#10454).
13462
13463 2012-01-19 Julien Danjou <julien@danjou.info>
13464
13465 * color.el (color-name-to-rgb): Use the white color to find the max
13466 color component value and return correctly computed values.
13467 (color-name-to-rgb): Add missing float conversion for max value.
13468
13469 2012-01-19 Martin Rudalics <rudalics@gmx.at>
13470
13471 * window.el (window--state-get-1, window-state-get): Do not use
13472 special state value for window-persistent-parameters.
13473 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
13474 (window--state-put-2): Reset all window parameters to nil before
13475 assigning values of persistent parameters.
13476
13477 2012-01-18 Alan Mackenzie <acm@muc.de>
13478
13479 Eliminate sluggishness and hangs in fontification of "semicolon
13480 deserts".
13481
13482 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
13483 Change value 10000 -> 3000.
13484 (c-state-safe-place): Reformulate so it doesn't stack up an
13485 infinite number of wrong entries in c-state-nonlit-pos-cache.
13486 (c-determine-limit-get-base, c-determine-limit): New functions to
13487 determine backward search limits disregarding literals.
13488 (c-find-decl-spots): Amend commenting.
13489 (c-cheap-inside-bracelist-p): New function which detects "={".
13490
13491 * progmodes/cc-fonts.el
13492 (c-make-font-lock-BO-decl-search-function): Give a limit to a
13493 backward search.
13494 (c-font-lock-declarations): Fix an occurrence of point being
13495 undefined. Check additionally for point being in a bracelist or
13496 near a macro invocation without a semicolon so as to avoid a
13497 fruitless time consuming search for a declarator. Give a more
13498 precise search limit for declarators using the new
13499 c-determine-limit.
13500
13501 2012-01-18 Glenn Morris <rgm@gnu.org>
13502
13503 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
13504 (set-auto-mode): Doc fixes.
13505
13506 2012-01-17 Glenn Morris <rgm@gnu.org>
13507
13508 * isearch.el (search-nonincremental-instead): Fix doc typo.
13509
13510 * dired.el (dired-insert-directory): Handle newlines in directory name.
13511 (dired-build-subdir-alist): Unescape newlines in directory name.
13512
13513 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
13514
13515 * net/tramp.el (tramp-local-end-of-line): New defcustom.
13516 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
13517 (tramp-action-terminal): Use it. (Bug#10530)
13518
13519 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
13520
13521 * minibuffer.el (completion--replace): Strip properties (bug#10062).
13522
13523 2012-01-16 Martin Rudalics <rudalics@gmx.at>
13524
13525 * window.el (window-state-ignored-parameters): Remove variable.
13526 (window--state-get-1): Rename argument MARKERS to IGNORE.
13527 Handle persistent window parameters. Make copy of clone-of
13528 parameter only if requested. (Bug#10348)
13529 (window--state-put-2): Install a window parameter only if it has
13530 a non-nil value or an existing parameter shall be overwritten.
13531
13532 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
13533
13534 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
13535
13536 2012-01-14 Eli Zaretskii <eliz@gnu.org>
13537
13538 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
13539 don't pass the (nil) value of `upnode' to string-match.
13540
13541 2012-01-14 Chong Yidong <cyd@gnu.org>
13542
13543 * startup.el (command-line): Fix X resource class for cursorColor.
13544 Fix values recognized by the cursorBlink resource.
13545
13546 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
13547
13548 * epg.el (epg--make-temp-file): Avoid permission race condition
13549 when running on old Emacs versions (bug#10403).
13550
13551 2012-01-14 Glenn Morris <rgm@gnu.org>
13552
13553 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
13554
13555 2012-01-13 Alan Mackenzie <acm@muc.de>
13556
13557 Fix filling for when filladapt mode is enabled.
13558
13559 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
13560 c-mask-paragraph, pass in `fill-paragraph' rather than
13561 `fill-region-as-paragraph'. (This is a reversion of a previous
13562 change.)
13563 * progmodes/cc-mode.el (c-basic-common-init):
13564 Make fill-paragraph-handle-comment buffer local and set it to nil.
13565
13566 2012-01-13 Glenn Morris <rgm@gnu.org>
13567
13568 * dired.el (dired-switches-escape-p): New function.
13569 (dired-insert-directory): Use dired-switches-escape-p.
13570 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
13571
13572 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
13573
13574 2012-01-12 Glenn Morris <rgm@gnu.org>
13575
13576 * mail/sendmail.el (mail-mode): Update paragraph-separate for
13577 changes in adaptive-fill-regexp. (Bug#10276)
13578
13579 2012-01-11 Alan Mackenzie <acm@muc.de>
13580
13581 Fix Emacs bug #10463 - put `widen's around the critical spots.
13582
13583 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
13584 widen around each invocation of c-state-pp-to-literal. Remove an
13585 unused let variable.
13586
13587 2012-01-11 Glenn Morris <rgm@gnu.org>
13588
13589 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
13590 Doc fix.
13591
13592 2012-01-10 Chong Yidong <cyd@gnu.org>
13593
13594 * net/network-stream.el (network-stream-open-starttls):
13595 Avoid emitting a confusing error message when the server gives a bad
13596 response to the capability command.
13597
13598 2012-01-10 Glenn Morris <rgm@gnu.org>
13599
13600 * mail/unrmail.el (unrmail): Tweak previous change.
13601
13602 2012-01-09 Chong Yidong <cyd@gnu.org>
13603
13604 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
13605
13606 2012-01-08 Alan Mackenzie <acm@muc.de>
13607
13608 Optimize font locking in long enum definitions.
13609
13610 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
13611 arm to a cond form to handle enums.
13612 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
13613 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
13614
13615 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
13616
13617 * files.el (move-file-to-trash): Preserve default file modes on error.
13618 (Bug#10401)
13619
13620 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13621
13622 * faces.el (set-face-attribute): Clarify the meaning of the nil
13623 frame (bug#10294).
13624
13625 * subr.el (with-selected-frame): Mention that the selected frame
13626 is restored (bug#9980).
13627
13628 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
13629 (bug#9759).
13630
13631 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
13632 (password-read): Don't autoload unused function.
13633
13634 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
13635
13636 * progmodes/which-func.el (which-func-mode): Turn into a
13637 non-interactive function and mark as obsolete (bug#10428).
13638
13639 2012-01-06 Chong Yidong <cyd@gnu.org>
13640
13641 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
13642 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
13643 functions, along with 1 and -1.
13644
13645 2012-01-06 Eli Zaretskii <eliz@gnu.org>
13646
13647 * time.el (display-time-load-average)
13648 (display-time-default-load-average): Doc fixes. See the thread
13649 starting at
13650 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
13651 for the details.
13652
13653 2012-01-06 Glenn Morris <rgm@gnu.org>
13654
13655 * mail/unrmail.el (unrmail): Give an explicit error if the input file
13656 has no messages. (Bug#10377)
13657
13658 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
13659 than Info-edit. (Bug#10385)
13660
13661 * time.el (display-time-load-average, display-time-next-load-average):
13662 Doc fixes.
13663
13664 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
13665 local setting of buffer-read-only to the input buffer. (Bug#10419)
13666
13667 * calendar/calendar.el (calendar-mode):
13668 Locally set scroll-margin to 0. (Bug#10379)
13669
13670 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
13671
13672 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
13673
13674 2012-01-05 Glenn Morris <rgm@gnu.org>
13675
13676 * eshell/em-unix.el (diff-no-select): Autoload it.
13677 (eshell/diff): Use diff-no-select. (Bug#10420)
13678
13679 2012-01-05 Chong Yidong <cyd@gnu.org>
13680
13681 * shell.el (shell-dynamic-complete-functions): Revert last change.
13682 (shell-command-completion-function): New function.
13683 (shell-completion-vars): Use it to implement
13684 shell-completion-execonly (Bug#10417).
13685
13686 * custom.el (enable-theme): Don't set custom-safe-themes.
13687
13688 * cus-theme.el (custom-theme-merge-theme):
13689 Ignore custom-enabled-themes and custom-safe-themes.
13690
13691 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
13692
13693 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
13694 first prompt in `sql-interacive-mode'.
13695 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
13696 keywords.
13697 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
13698 (sql-product-interactive): Bug fix: Set `sql-buffer' in
13699 context of original buffer. Invoke `sql-login-hook'.
13700
13701 2012-01-04 Eli Zaretskii <eliz@gnu.org>
13702
13703 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
13704 letters in cite-prefix.
13705
13706 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13707
13708 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
13709
13710 2012-01-03 Chong Yidong <cyd@gnu.org>
13711
13712 * shell.el (shell-dynamic-complete-functions):
13713 Put pcomplete-completions-at-point, so as to try
13714 comint-filename-completion first (Bug#10417).
13715
13716 2012-01-02 Richard Stallman <rms@gnu.org>
13717
13718 * battery.el (battery-status-function):
13719 Detect when to use battery-yeeloong-sysfs.
13720 (battery-echo-area-format): Add string for Yeeloong.
13721 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
13722 (battery-yeeloong-sysfs): New function.
13723
13724 2012-01-02 Chong Yidong <cyd@gnu.org>
13725
13726 * dirtrack.el (dirtrack-list): Eliminate unused third element.
13727 (dirtrack): Merge code for handling relative filenames in prompt
13728 from shell-dir-cookie-watcher.
13729 (dirtrack-debug-message): New arg to avoid excess format calls.
13730
13731 * shell.el (shell-dir-cookie-re): Variable deleted.
13732 (shell-dir-cookie-watcher): Function deleted.
13733 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
13734 with dirtrack-mode.
13735
13736 2012-01-01 Eli Zaretskii <eliz@gnu.org>
13737
13738 * term/w32-win.el (dynamic-library-alist) <gnutls>:
13739 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
13740 libgnutls-26.dll.
13741
13742 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
13743
13744 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
13745
13746 2011-12-31 Eli Zaretskii <eliz@gnu.org>
13747
13748 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
13749 headers of non-MIME messages, when rmail-enable-mime is non-nil.
13750
13751 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
13752
13753 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
13754 also for alternative shells.
13755 (tramp-open-connection-setup-interactive-shell): Check, whether
13756 the shell is a busybox.
13757 (tramp-send-command): Don't suppress multiple prompts for
13758 busyboxes, it hurts.
13759
13760 2011-12-28 Chong Yidong <cyd@gnu.org>
13761
13762 * progmodes/gdb-mi.el (gdb-get-source-file-list)
13763 (gdb-get-source-file): Move mode line update to
13764 gdb-get-source-file (Bug#10087).
13765
13766 2011-12-25 Chong Yidong <cyd@gnu.org>
13767
13768 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
13769 gud-gdb-marker-filter without taking it as an argument.
13770 (gud-gdb-run-command-fetch-lines): Caller changed.
13771 (gud-gdb-completion-function): New variable.
13772 (gud-gdb-completion-at-point): Use it.
13773 (gud-gdb-completions-1): Split from gud-gdb-completions.
13774
13775 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
13776 function as separate arguments.
13777 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
13778 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
13779 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
13780 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
13781 (gdb-stopped, def-gdb-auto-update-trigger)
13782 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
13783 (gdb-get-changed-registers, gdb-get-main-selected-frame):
13784 Callers changed.
13785 (gud-gdbmi-completions): New function.
13786 (gdb): Use it for generating the completion table.
13787
13788 2011-12-24 Alan Mackenzie <acm@muc.de>
13789
13790 Introduce a mechanism to widen the region used in context font
13791 locking. Use this to protect declarations from losing their contexts.
13792
13793 * progmodes/cc-langs.el (c-before-font-lock-functions):
13794 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
13795 (c-before-context-fontification-functions): New defvar, a list of
13796 functions to be run just before context (etc.) font locking.
13797
13798 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
13799 New, functionality extracted from
13800 c-neutralize-syntax-in-and-mark-CPP.
13801 (c-in-after-change-fontification): New variable.
13802 (c-after-change): Set c-in-after-change-fontification.
13803 (c-set-fl-decl-start): Rejig its interface, so it can be called
13804 from both after-change and context fontifying.
13805 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
13806 New functions.
13807 (c-standard-font-lock-fontify-region-function): New variable.
13808 (c-font-lock-fontify-region): New function.
13809
13810 2011-12-24 Juri Linkov <juri@jurta.org>
13811
13812 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
13813 (Bug#10348)
13814
13815 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
13816
13817 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
13818 existence of source file. (Bug#10325)
13819
13820 2011-12-23 Alan Mackenzie <acm@muc.de>
13821
13822 Fix unstable fontification inside templates.
13823
13824 * progmodes/cc-langs.el (c-before-font-lock-functions):
13825 Newly created from the singular version. The (c c++ objc) entry now
13826 additionally has c-set-fl-decl-start. The other languages (apart
13827 from AWK) have that as a single entry.
13828
13829 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13830 The functionality for "local" declarations has been extracted to
13831 c-set-fl-decl-start.
13832
13833 * progmodes/cc-mode.el (c-common-init, c-after-change):
13834 Changes due to pluralisation of c-before-font-lock-functions.
13835 (c-set-fl-decl-start): New function, extracted from
13836 c-font-lock-enclosing-decls and enhanced.
13837
13838 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
13839
13840 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
13841
13842 2011-12-22 Juri Linkov <juri@jurta.org>
13843
13844 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
13845
13846 2011-12-22 Chong Yidong <cyd@gnu.org>
13847
13848 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
13849
13850 2011-12-21 Drew Adams <drew.adams@oracle.com>
13851
13852 * files.el (file-remote-p): Fix docstring. (Bug#10319)
13853
13854 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13855
13856 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
13857
13858 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
13859
13860 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
13861 highlighting and support. Fix up comments for capitalization.
13862 (cfengine-mode-debug): New var.
13863 (cfengine3-mode): Change the modeline indicator to "CFE3".
13864 (cfengine3-font-lock-keywords): Improve defun highlighting.
13865 (cfengine2-actions): Rename from `cfengine-actions'.
13866 (cfengine2-font-lock-keywords): Rename from
13867 `cfengine-font-lock-keywords'.
13868 (cfengine2-imenu-expression): Rename from
13869 `cfengine-imenu-expression'.
13870 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
13871 (cfengine2-beginning-of-defun): Rename from
13872 `cfengine-beginning-of-defun'.
13873 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
13874 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
13875 (cfengine2-mode): Rename from `cfengine-mode'. Change the
13876 modeline indicator to "CFE2".
13877 (cfengine-mode): Defalias to `cfengine-auto-mode'.
13878 (cfengine-mode-abbrevs): Mark obsolete.
13879
13880 2011-12-21 Chong Yidong <cyd@gnu.org>
13881
13882 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
13883 filename argument.
13884
13885 2011-12-20 Martin Rudalics <rudalics@gmx.at>
13886
13887 * window.el (window-normalize-buffer-to-display): Remove.
13888 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
13889
13890 2011-12-19 Chong Yidong <cyd@gnu.org>
13891
13892 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
13893 Don't signal an error in a predicate function; return non-nil.
13894 (vc-dir-mark-file): Move the error here.
13895 (vc-dir-mark-unmark): If acting on the region, keep going if one
13896 of the entries cannot be marked/unmarked.
13897 (vc-dir-mark-all-files): If current entry is a directory, mark
13898 only child files, as documented.
13899
13900 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
13901
13902 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
13903 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
13904 addition.
13905
13906 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
13907
13908 * term/ns-win.el (ns-get-selection-internal)
13909 (ns-store-selection-internal): Declare.
13910 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
13911 Declare as obsolete.
13912 (ns-get-pasteboard, ns-paste-secondary):
13913 Use ns-get-selection-internal.
13914 (ns-set-pasteboard, ns-copy-including-secondary):
13915 Use ns-store-selection-internal.
13916
13917 2011-12-17 Chong Yidong <cyd@gnu.org>
13918
13919 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
13920 (vc-deduce-fileset): Doc fix.
13921
13922 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
13923
13924 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
13925
13926 2011-12-13 Sam Steingold <sds@gnu.org>
13927
13928 * man.el (Man-getpage-in-background): When running under a
13929 window-system, ignore $MANWIDTH and $COLUMNS.
13930
13931 2011-12-15 Kenichi Handa <handa@m17n.org>
13932
13933 * language/ethio-util.el: Change coding tag to utf-8-emacs.
13934 (setup-ethiopic-environment-internal): Comment out key-binding for
13935 ethio-toggle-punctuation.
13936
13937 2011-12-13 Alan Mackenzie <acm@muc.de>
13938
13939 Add the switch statement to AWK Mode.
13940
13941 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
13942 "default" to the keywords regexp.
13943
13944 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
13945 expression as the rest.
13946 (c-nonlabel-token-key): Allow string literals for AWK.
13947 Refactor for the other modes.
13948
13949 Large brace-block initialisation makes CC Mode slow: Fix.
13950 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13951 routines. Limit backward searching in c-font-lock-enclosing.decl.
13952
13953 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
13954 pp-state and literal type in addition to the limits.
13955 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13956 (c-state-literal-at): Use the above new defun.
13957 (c-slow-in-literal, c-fast-in-literal): Remove.
13958 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13959
13960 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
13961 being in a literal. Add a limit for backward searching.
13962
13963 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
13964 c-slow-in-literal.
13965
13966 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
13967
13968 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
13969
13970 2011-12-13 Martin Rudalics <rudalics@gmx.at>
13971
13972 * window.el (delete-other-windows): Use correct frame in call to
13973 window-with-parameter.
13974
13975 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
13976
13977 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
13978 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
13979 (makefile-gmake-statements, makefile-makepp-statements):
13980 Use it and add new makepp keywords.
13981 (makefile-makepp-font-lock-keywords): Add new patterns.
13982 (makefile-match-function-end): Match new [...] and [[...]].
13983
13984 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
13985
13986 * ses.el (ses-call-printer-return, ses-cell-property-get)
13987 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
13988 (ses-create-cell-variable, ses-reset-header-string)
13989 (ses-cell-set-formula, ses-repair-cell-reference-all)
13990 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
13991 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
13992 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
13993 (ses-aset-with-undo, ses-load, ses-truncate-cell)
13994 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
13995 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
13996 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
13997 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
13998 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
13999 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
14000 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
14001 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
14002
14003 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
14004
14005 * ses.el: The overall change is to add cell renaming, that is
14006 setting fancy names for cell symbols other than name matching
14007 "\\`[A-Z]+[0-9]+\\'" regexp .
14008 (ses-create-cell-variable): New defun.
14009 (ses-relocate-formula): Relocate formulas only for cells the
14010 symbols of which are not renamed, i.e. symbols whose names do not
14011 match regexp "\\`[A-Z]+[0-9]+\\'".
14012 (ses-relocate-all): Relocate values only for cells the symbols of
14013 which are not renamed.
14014 (ses-load): Create cells variables as the (ses-cell ...) are read,
14015 in order to check row col consistency with cell symbol name only
14016 for cells that are not renamed.
14017 (ses-replace-name-in-formula): New defun.
14018 (ses-rename-cell): New defun.
14019
14020 2011-12-11 Chong Yidong <cyd@gnu.org>
14021
14022 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
14023 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
14024
14025 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
14026
14027 * window.el (other-window): Fix docstring.
14028
14029 2011-12-10 Eli Zaretskii <eliz@gnu.org>
14030
14031 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
14032 `from' or `to' address before taking its substring.
14033 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
14034 encoded name is chopped in the middle of the encoded string, and
14035 thus displayed encoded.
14036
14037 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
14038
14039 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
14040
14041 2011-12-10 Eli Zaretskii <eliz@gnu.org>
14042
14043 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
14044 to use texinfo-update-node and commands that call it if the
14045 Texinfo file uses @node lines without next/prev/up pointers.
14046 Correct outdated description about texinfo-master-menu.
14047 (texinfo-all-menus-update, texinfo-master-menu)
14048 (texinfo-update-node, texinfo-every-node-update)
14049 (texinfo-multiple-files-update): Doc fix. Warn against updating
14050 all the @node lines.
14051 (texinfo-master-menu): Only call texinfo-update-node if the prefix
14052 argument is numeric. Explain better in the doc string what the
14053 function really does.
14054 (texinfo-insert-master-menu-list): Improve the error message
14055 displayed if there's no menu in the Top node.
14056 (Bug#2975) See also this thread:
14057 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
14058
14059 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
14060
14061 * speedbar.el (speedbar-supported-extension-expressions):
14062 Add .adb and .ads, commonly used for Ada source code (bug#10256).
14063
14064 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
14065
14066 * printing.el (pr-mode-alist):
14067 * simple.el (filter-buffer-substring-functions)
14068 (completion-list-insert-choice-function):
14069 * window.el (window-with-parameter, window-atom-root)
14070 (window-sides-slots, window-size-fixed, window-min-delta)
14071 (window-max-delta, window--resize-mini-window)
14072 (window--resize-child-windows-normal, window-tree)
14073 (delete-other-windows, quit-window, split-window)
14074 (display-buffer-record-window, special-display-buffer-names)
14075 (special-display-regexps, special-display-popup-frame)
14076 (same-window-p, split-window-sensibly)
14077 (display-buffer-overriding-action, display-buffer-alist)
14078 (display-buffer-base-action, display-buffer, switch-to-buffer)
14079 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
14080 (fit-window-to-buffer, recenter-positions)
14081 (mouse-autoselect-window-state, mouse-autoselect-window-select):
14082 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
14083 and remove unneeded backslashes in docstrings.
14084
14085 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
14086
14087 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
14088
14089 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
14090 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
14091 end in ".mk".
14092 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
14093 when reading the makefile (bug#10116).
14094
14095 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14096
14097 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
14098 (bug#10116).
14099
14100 2011-12-06 Glenn Morris <rgm@gnu.org>
14101
14102 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
14103
14104 2011-12-06 Chong Yidong <cyd@gnu.org>
14105
14106 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
14107
14108 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
14109
14110 * textmodes/table.el (table-shorten-cell): Fix typo.
14111
14112 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
14113
14114 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
14115
14116 2011-12-05 Eli Zaretskii <eliz@gnu.org>
14117
14118 * descr-text.el (describe-char): Fix display of strong
14119 right-to-left characters and directional embeddings and overrides.
14120
14121 * simple.el (what-cursor-position): Fix display of codepoints of
14122 strong right-to-left characters.
14123
14124 2011-12-05 Chong Yidong <cyd@gnu.org>
14125
14126 * faces.el (read-color): Doc fix.
14127
14128 2011-12-05 Glenn Morris <rgm@gnu.org>
14129
14130 * align.el (align--set-marker): Add doc-string.
14131 Don't try to move something that is not a marker. (Bug#10216)
14132
14133 2011-12-04 Glenn Morris <rgm@gnu.org>
14134
14135 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
14136 overly zealous deletion of trailing whitespace.
14137
14138 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
14139
14140 * server.el (server-delete-client): On Windows, do not try to delete
14141 the only terminal.
14142 (server-process-filter): On Windows, treat requests for a tty frame as
14143 if they were for a GUI frame if the running server is in GUI mode.
14144
14145 2011-12-03 Glenn Morris <rgm@gnu.org>
14146
14147 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
14148
14149 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14150
14151 * electric.el: Streamline electric-indent's hook.
14152 (electric-indent-chars): Revert to simple list.
14153 (electric-indent-functions): New var.
14154 (electric-indent-post-self-insert-function): Use it.
14155
14156 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
14157 there's no inferior buffer (bug#10196).
14158 (prolog-consult-compile): Don't use toggle-read-only.
14159
14160 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
14161
14162 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
14163 interrupt. (Bug#10187)
14164
14165 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14166
14167 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
14168 (bug#9160).
14169
14170 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
14171 (bug#10191).
14172
14173 2011-12-02 Juri Linkov <juri@jurta.org>
14174
14175 * info.el (Info-search): Display "end of manual" when Isearch
14176 reaches the end of single-file Info manual. (Bug#9918)
14177
14178 2011-12-02 Eli Zaretskii <eliz@gnu.org>
14179
14180 * isearch.el (isearch-message-prefix): Run the input method part
14181 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
14182
14183 2011-12-02 Juri Linkov <juri@jurta.org>
14184
14185 * isearch.el (isearch-occur): Use `word-search-regexp' for
14186 `isearch-word'.
14187 (isearch-search-and-update): Add condition for `isearch-word' and
14188 call `word-search-regexp'. (Bug#10145)
14189
14190 2011-12-01 Glenn Morris <rgm@gnu.org>
14191
14192 * eshell/em-hist.el (eshell-hist-initialize):
14193 Handle eshell-history-size nil and HISTSIZE set or unset.
14194 (eshell-history-file-name, eshell-history-size): Fix custom type.
14195
14196 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14197
14198 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
14199
14200 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
14201
14202 * progmodes/verilog-mode.el (verilog-pretty-expr):
14203 Rework verilog-pretty-expr to handle new assignment operators in system
14204 verilog, such as += *= and the like.
14205 (verilog-assignment-operator-re): Regular expression to find the
14206 assigment operator in a verilog assignment.
14207 (verilog-assignment-operation-re): Regular expression to find an
14208 assignment statement for pretty-expr.
14209 (verilog-in-attribute-p): Query returns true if point is in an
14210 attribute context; used to skip these for expression line up from
14211 pretty-expr.
14212 (verilog-in-parameter-p): Query returns true if point is in an
14213 parameter definition context; used to skip these for expression
14214 line up from pretty-expr.
14215 (verilog-in-parenthesis-p): Query returns true if point is in a
14216 parenthetical expression, specifically ( ) but not [ ] or { };
14217 used by pretty-expr.
14218 (verilog-just-one-space): If there is no space, don't add one.
14219 (verilog-get-lineup-indent-2): Specifically skip just attribute
14220 contexts for expression lineup, rather than skipping all
14221 parenthetical expressions.
14222 (verilog-calculate-indent): Fix comment, and fix indent.
14223 (verilog-do-indent): Indent declarations in lists (suggested by
14224 Joachim Lechner).
14225 (verilog-mode-abbrev-table): Populate abbrev mode with the various
14226 skeleton items.
14227 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
14228 by Alain Mellan).
14229
14230 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
14231
14232 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
14233 parameters with embedded comments. Reported by Ray Stevens.
14234 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
14235 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
14236 Reported by Tim Holt.
14237 (verilog-auto): Fix AUTOing a upper module then AUTOing module
14238 instantiated by upper module causing wrong expansion until AUTOed a
14239 second time. Reported by K C Buckenmaier.
14240 (verilog-diff-auto): Fix showing .* as a difference when
14241 `verilog-auto-star-save' off. Reported by Dan Dever.
14242 (verilog-auto-reset, verilog-read-always-signals)
14243 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
14244 temporary signals in reset list if
14245 verilog-auto-reset-blocking-in-non is nil, and match assignment
14246 style to each signal's assignment type, bug381.
14247 Reported by Thomas Esposito.
14248 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
14249 (verilog-uvm-statement-re): Support UVM indentation and
14250 highlighting, with old OVM keywords only.
14251 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
14252 Support AUTOTIEOFF creating non-wire data types.
14253 Suggested by Jonathan Greenlaw.
14254 (verilog-auto-insert-lisp, verilog-delete-to-paren)
14255 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
14256 (verilog-inject-sense, verilog-read-inst-pins)
14257 (verilog-read-sub-decls, verilog-read-sub-decls-line):
14258 Fix mismatching parenthesis inside commented out code when deleting
14259 AUTOINST, bug383. Reported by Jonathan Greenlaw.
14260 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
14261 non-numeric vector width. Reported by Alex Reed.
14262 (verilog-auto-ascii-enum): Add "onehot" option to work around not
14263 detecting signals with parameter widths. Reported by Alex Reed.
14264 (verilog-auto-delete-trailing-whitespace):
14265 With `verilog-auto-delete-trailing-whitespace' remove trailing
14266 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
14267 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
14268 Fix verilog-scan-cache corruption when running user AUTO expansion
14269 hooks that call indentation routines.
14270 (verilog-simplify-range-expression): Fix typo ignoring lower case
14271 identifiers.
14272 (verilog-delete-auto): Fix delete-autos to also remove user created
14273 automatics, as long as they start with AUTO.
14274 (verilog-batch-diff-auto, verilog-diff-auto)
14275 (verilog-diff-function): Add `verilog-diff-auto' and bind to
14276 "C-c?" to report differences in AUTO expansion, ignoring spaces.
14277 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
14278 (verilog-in-paren-quick, verilog-re-search-backward-quick)
14279 (verilog-re-search-forward-quick, verilog-syntax-ppss):
14280 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
14281 is disabled and its cache will get corrupt, causing AUTOS not to
14282 expand. Instead use only -quick functions.
14283 (verilog-scan-region): Fix scanning over escaped quotes.
14284 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
14285 (verilog-re-search-backward-quick)
14286 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
14287 related functions now ignore strings, to fix misparsing of strings
14288 with magic comments embedded in them.
14289 (verilog-read-auto-template):
14290 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
14291 Reported by Brad Dobbie.
14292 (verilog-read-auto-template):
14293 Fix 'verilog-auto-inst-template-numbers' with comments.
14294 Reported by Brad Dobbie.
14295 (verilog-auto-inst, verilog-auto-inst-param)
14296 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
14297 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
14298 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
14299 debugging templates without merge conflicts, bug357.
14300 Reported by Brad Dobbie.
14301 (verilog-read-auto-template):
14302 Fix verilog-auto-inst-template-numbers with multiple templates.
14303 Reported by Brad Dobbie.
14304 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
14305 abbrevs so user won't be asked to save.
14306 (verilog-read-auto-lisp-present): Fix to start at beginning of
14307 buffer in case called outside of verilog-auto.
14308 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
14309 to "X-2". Reported by Matthew Myers.
14310 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
14311 all inputs from module templates. Reported by Leith Johnson.
14312 (verilog-module-inside-filename-p): Fix locating programs as with
14313 modules.
14314 (verilog-auto-inst-port): Fix vl-width expressions when using
14315 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
14316 (verilog-decls-get-regs, verilog-decls-get-signals,
14317 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
14318 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
14319 verilog-read-decls): Combine reg and wire structures into one var
14320 structure to represent SystemVerilog concepts.
14321 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
14322 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
14323 (verilog-auto-wire-type, verilog-insert-definition):
14324 Add verilog-auto-wire-type and AUTOLOGIC to support using
14325 SystemVerilog "logic" keyword instead of "wire"/"reg".
14326 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
14327 to declares outputs that also have assignments (presumably in an
14328 ifdef or generate if so there's not a driver conflict).
14329 Reported by Matthew Myers.
14330 (verilog-auto-declare-nettype, verilog-insert-definition):
14331 Add verilog-auto-declare-nettype to fix declarations using
14332 `default_nettype none. Reported by Julian Gorfajn.
14333 (verilog-read-always-signals-recurse, verilog-read-decls)
14334 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
14335 malformed end statement, bug325. Reported by Joshua Wise and
14336 Andrew Drake.
14337 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
14338 (verilog-inst-comment-re): Fix not deleting Interfaced comment
14339 when expanding .* in interfaces, bug320.
14340 Reported by Pierre-David Pfister.
14341 (verilog-read-module-name): Fix import statements between module
14342 name and open parenthesis, bug317.
14343 Reported by Pierre-David Pfister.
14344 (verilog-simplify-range-expression): Fix simplification of
14345 multiplications inside AUTOWIRE connections, bug303.
14346 (verilog-auto-inst-port): Support parameter expansion in
14347 multidimensional arrays.
14348 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
14349 after "assert property". Reported by Julian Gorfajn.
14350 (verilog-simplify-range-expression): Fix "couldn't merge" errors
14351 with multiplication, bug303.
14352 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
14353 Reported by Jan Frode Lonnum.
14354
14355 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
14356
14357 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
14358 (hfy-shell-file-name, hfy-shell):
14359 * international/fontset.el (x-decompose-font-name): Fix typos.
14360
14361 2011-11-29 Ken Brown <kbrown@cornell.edu>
14362
14363 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
14364 (gdb-version): Remove defvar.
14365 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
14366 (gdb-gud-context-command, gdb-non-stop-handler)
14367 (gdb-current-context-command, gdb-stopped): Use it.
14368 (gdb-init-1): Enable pretty printing here.
14369 (gdb-non-stop-handler): Don't enable pretty-printing here.
14370 Check to see if the target supports non-stop mode; if not, turn off
14371 non-stop mode. Use the following.
14372 (gdb-check-target-async): New defun.
14373 (gud-watch, gdb-stopped): Fix whitespace.
14374 (gdb-get-source-file): Don't try to display the source file if
14375 `gdb-main-file' is nil.
14376
14377 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14378
14379 * align.el: Try to generate fewer markers (bug#10047).
14380 (align--set-marker): New macro.
14381 (align-region): Use it.
14382
14383 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14384
14385 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
14386
14387 2011-11-29 Chong Yidong <cyd@gnu.org>
14388
14389 * indent.el (indent-for-tab-command, indent-according-to-mode):
14390 Doc fix.
14391 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
14392
14393 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
14394
14395 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
14396 aware of remote file names. (Bug#10124)
14397
14398 2011-11-29 Chong Yidong <cyd@gnu.org>
14399
14400 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
14401
14402 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14403
14404 * files.el (find-file): Don't use force-same-window (bug#10144).
14405 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
14406 use pop-to-buffer if the selected window can't be used.
14407 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
14408
14409 2011-11-28 Eli Zaretskii <eliz@gnu.org>
14410
14411 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
14412 special-mode-map.
14413
14414 2011-11-28 Chong Yidong <cyd@gnu.org>
14415
14416 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
14417
14418 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
14419
14420 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
14421 gdb-get-source-file-list on gdb-create-source-file-list.
14422
14423 2011-11-26 Eli Zaretskii <eliz@gnu.org>
14424
14425 * whitespace.el (whitespace-newline): Use a different foreground
14426 color for 16-color light-background displays.
14427
14428 2011-11-24 Chong Yidong <cyd@gnu.org>
14429
14430 * window.el (display-buffer--special-action): Doc fix.
14431
14432 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
14433
14434 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
14435 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
14436 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
14437 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
14438 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
14439 (avl-tree-stack-first):
14440 * emacs-lisp/cconv.el (cconv--analyse-use):
14441 * net/gnutls.el (gnutls-negotiate): Fix typos.
14442
14443 2011-11-24 Glenn Morris <rgm@gnu.org>
14444
14445 * lpr.el (lpr-windows-system, lpr-lp-system):
14446 * mail/binhex.el (binhex-begin-line):
14447 * progmodes/grep.el (grep-history, grep-find-history):
14448 * textmodes/flyspell.el:
14449 * vc/pcvs-defs.el (cvs-global-menu):
14450 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
14451 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
14452 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
14453
14454 * net/tls.el: Fix case of "GnuTLS".
14455
14456 * paths.el (rmail-file-name): Format doc-string for make-docfile.
14457
14458 * version.el (emacs-build-system): Give it a doc-string.
14459
14460 2011-11-24 Juri Linkov <juri@jurta.org>
14461
14462 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
14463
14464 2011-11-24 Glenn Morris <rgm@gnu.org>
14465
14466 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
14467 if called on a non-mime message just toggle the headers. (Bug#8006)
14468
14469 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
14470
14471 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
14472 (allout-lead-with-comment-string, allout-structure-deleted-hook)
14473 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
14474 (allout-rebullet-heading, allout-open-sibtopic)
14475 (allout-toggle-current-subtree-encryption)
14476 (allout-toggle-subtree-encryption, allout-encrypt-string)
14477 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
14478 (allout-distinctive-bullets-string, allout-auto-activation):
14479 * window.el (window-normalize-buffer-to-display):
14480 * progmodes/verilog-mode.el (verilog-batch-indent):
14481 * textmodes/bibtex.el (bibtex-field-braces-opt)
14482 (bibtex-field-strings-opt):
14483 * vc/cvs-status.el (cvs-tree-merge):
14484 Fix typos.
14485
14486 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
14487
14488 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
14489 `non-essential' to t, in order to avoid remote connections.
14490
14491 2011-11-23 Eli Zaretskii <eliz@gnu.org>
14492
14493 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14494 On MS-DOS and MS-Windows, compare with loaddefs.el
14495 case-insensitively.
14496
14497 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14498
14499 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
14500
14501 2011-11-23 Glenn Morris <rgm@gnu.org>
14502
14503 * paths.el (rmail-file-name): Reformat the doc-string so that it
14504 is picked up.
14505
14506 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
14507 (rmail-auto-file): Ignore case in the "special" field names,
14508 as mail-fetch-field does for all others.
14509
14510 * mail/rmail.el (rmail-forward):
14511 * mail/rmailkwd.el (rmail-set-label):
14512 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
14513 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
14514
14515 * mail/rmail.el (rmail-current-message): Doc fix.
14516
14517 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
14518
14519 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
14520
14521 * server.el (server-eval-and-print): Allow C-g (bug#6585).
14522
14523 2011-11-22 Glenn Morris <rgm@gnu.org>
14524
14525 * mail/rmailmm.el (test-rmail-mime-handler)
14526 (test-rmail-mime-bulk-handler)
14527 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
14528
14529 2011-11-21 Juri Linkov <juri@jurta.org>
14530
14531 * calc/calc.el (calc-read-key-sequence):
14532 Let-bind `input-method-function' to nil. (Bug#10018)
14533
14534 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14535
14536 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
14537 Tell the caller that the next line needs recomputation, even
14538 though it doesn't start a sexp (bug#10094).
14539
14540 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14541
14542 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
14543
14544 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14545
14546 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14547 Use force-same-window.
14548
14549 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
14550
14551 * descr-text.el (describe-char-unicode-data):
14552 * json.el (json-string-escape):
14553 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
14554 (Footnote-unicode, Footnote-style-p):
14555 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
14556
14557 2011-11-20 Chong Yidong <cyd@gnu.org>
14558
14559 * window.el (replace-buffer-in-windows): Restore interactive spec.
14560
14561 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14562
14563 * electric.el (electric-indent-mode): Fix last change (too optimistic).
14564
14565 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
14566 (byte-compile-global-not-obsolete-vars): New var.
14567 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
14568 Use it.
14569 (byte-compile-warn-obsolete): Align text with the one in *Help*.
14570
14571 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
14572
14573 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
14574 * progmodes/pascal.el (electric-pascal-equal):
14575 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
14576 * xml.el (xml-substitute-special): Fix typos.
14577
14578 2011-11-20 Glenn Morris <rgm@gnu.org>
14579
14580 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
14581 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
14582 Doc fixes.
14583 (rmail-decode-mime-charset): Mark as obsolete.
14584
14585 * mail/rmailsum.el (rmail-message-regexp-p-1):
14586 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
14587 Before using mime functions, check they are set. (Bug#10077)
14588
14589 2011-11-19 Juri Linkov <juri@jurta.org>
14590
14591 * info.el (Info-finder-find-node): Use `package--builtins' instead
14592 of `package-alist'. Use node names formed by the pattern "Keyword "
14593 and the keyword name.
14594
14595 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14596
14597 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
14598
14599 2011-11-19 Juri Linkov <juri@jurta.org>
14600
14601 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
14602 that calls `revert-buffer' on all Info buffers. (Bug#9915)
14603 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
14604 `old-history', `old-history-forward'. Add let-binding
14605 `window-selected'. Remove calls to `kill-buffer',
14606 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
14607 before calling `Info-find-node', so `Info-find-node-2' will reread
14608 the Info file. Restore window positions only when `window-selected'
14609 is non-nil.
14610
14611 2011-11-19 Juri Linkov <juri@jurta.org>
14612
14613 * isearch.el (isearch-lazy-highlight-new-loop):
14614 Remove condition `(not isearch-error)'. (Bug#9918)
14615
14616 * misearch.el (multi-isearch-search-fun): Add condition
14617 `(not bound)' to ignore lazy-highlighting search.
14618 Add the search-failed message "end of multi" when the end of
14619 multi-sequence is reached. Uncapitalize the search-failed
14620 message "Repeat for next buffer".
14621
14622 * info.el (Info-search): Add the search-failed message
14623 "end of the manual" when the end of the manual is reached
14624 in Isearch mode.
14625
14626 2011-11-19 Juri Linkov <juri@jurta.org>
14627
14628 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
14629 Use non-destructive `remove' instead of `delete' because
14630 `Info-history-list' stored to `Info-isearch-initial-history-list' in
14631 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
14632
14633 2011-11-19 Juri Linkov <juri@jurta.org>
14634
14635 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
14636 to nil instead of binding `search-ring' and `regexp-search-ring'.
14637 (Bug#9185)
14638
14639 2011-11-19 Eli Zaretskii <eliz@gnu.org>
14640
14641 * simple.el (line-move): Force movement by logical lines for any
14642 hscrolled window, not only when auto-hscroll-mode is on.
14643 (line-move-visual): Update doc string to that effect. (Bug#10076)
14644
14645 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14646
14647 * language/european.el (macintosh): Define as alias for mac-roman.
14648
14649 2011-11-19 Eli Zaretskii <eliz@gnu.org>
14650
14651 * mail/rmailmm.el (rmail-mime-display-header)
14652 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
14653 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
14654 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
14655 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
14656 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
14657 of a raw aref.
14658 (rmail-mime-entity-segment): To get past the tagline, move forward
14659 2 more lines, to account for the 2 empty lines that precede and
14660 follow the line with the buttons.
14661 (rmail-mime-update-tagline): Move one more line, to get past the
14662 empty line that follows the buttons in the tagline. (Bug#9520)
14663
14664 2011-11-19 Martin Rudalics <rudalics@gmx.at>
14665
14666 * window.el (window-max-delta-1, window-min-delta-1)
14667 (window-min-size-1, window-state-get-1, window-state-put-1)
14668 (window-state-put-2): Use "window--" prefix.
14669
14670 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
14671
14672 * emacs-lisp/smie.el: Improve warnings and conflict detection.
14673 (smie-warning-count): New var.
14674 (smie-set-prec2tab): Use it.
14675 (smie-bnf->prec2): Improve warnings. Add docstring.
14676 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
14677 (smie-bnf--set-class): New function.
14678 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
14679 corner case.
14680
14681 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
14682 (compilation-error-properties, compilation-move-to-column):
14683 Handle compilation-first-column while in the target buffer.
14684
14685 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
14686 Don't hardcode point-min==1.
14687
14688 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
14689 (eshell-rewrite-for-command): Remove workaround.
14690 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
14691 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
14692 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
14693
14694 * files-x.el (modify-file-local-variable): Obey commenting conventions.
14695
14696 2011-11-17 Glenn Morris <rgm@gnu.org>
14697
14698 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14699 Ignore buffer-local generated-autoload-file if it is the same
14700 as the global value. (Bug#10049)
14701
14702 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
14703
14704 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
14705 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
14706 (reftex-toc-previous-heading, reftex-toc-max-level)
14707 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
14708 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
14709 (reftex-toc-do-promote, reftex-toc-promote-prepare)
14710 (reftex-toc-promote-action, reftex-toc-extract-section-number)
14711 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
14712 (reftex-toc-rename-label, reftex-toc-visit-location)
14713 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
14714 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
14715 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
14716 leaving "*toc*" only for references to the buffer.
14717
14718 2011-11-17 Martin Rudalics <rudalics@gmx.at>
14719
14720 * window.el (window-resize, delete-window, split-window):
14721 Replace window-splits by window-combination-resize.
14722 * cus-start.el (window-splits): Replace by window-combination-resize.
14723
14724 2011-11-17 Glenn Morris <rgm@gnu.org>
14725
14726 * progmodes/sh-script.el (sh-font-lock-keywords-var):
14727 Make bash entry derive from sh entry, not shell entry.
14728
14729 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
14730
14731 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
14732 local file name.
14733
14734 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
14735
14736 * menu-bar.el (menu-bar-file-menu):
14737 * printing.el (pr-ps-utility):
14738 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
14739 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
14740 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
14741 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
14742 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
14743 (icalendar--convert-cyclic-to-ical)
14744 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
14745 (icalendar--convert-ical-to-diary)
14746 (icalendar--convert-recurring-to-diary)
14747 (icalendar--convert-non-recurring-all-day-to-diary)
14748 (icalendar-import-format-sample):
14749 * progmodes/idlw-shell.el (idlwave-shell-mode):
14750 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
14751 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
14752 (vhdl-ps-print-init): Fix typos.
14753
14754 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
14755
14756 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
14757 FSF and collapse date sequence, obscure author/maintainer email address
14758 better, remove extra version line, track relocation of author's webpage.
14759
14760 * progmodes/python.el (python-pdbtrack-input-prompt)
14761 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
14762 regular python pdb prompts. Adjustments shamelessly taken exactly as
14763 suggested in EmacsWiki page (tiny change):
14764 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
14765
14766 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
14767
14768 * expand.el (expand-pos, expand-index, expand-point):
14769 Remove redundant info from docstring.
14770 (expand-add-abbrevs): Doc fix.
14771 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
14772 (expand-sample-perl-mode-expand-list): Fix typos.
14773
14774 * net/dbus.el (dbus-event-member-name):
14775 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
14776 * term/pc-win.el (msdos-create-frame-with-faces):
14777 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
14778
14779 2011-11-16 Martin Rudalics <rudalics@gmx.at>
14780
14781 * window.el (split-window, window-state-get-1)
14782 (window-state-put-1, window-state-put-2): Rename occurrences of
14783 window-nest to window-combination-limit.
14784 * cus-start.el (window-nest): Rename to window-combination-limit.
14785
14786 2011-11-16 Chong Yidong <cyd@gnu.org>
14787
14788 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
14789 regexp (Bug#10033).
14790
14791 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14792
14793 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
14794 `completing-read' will remove *Completions* and will preserve
14795 current-buffer for us.
14796 (tmm-add-prompt): Users of *Completions* will always (re)set its
14797 major mode.
14798 (tmm-old-comp-map): Remove.
14799
14800 2011-11-16 Glenn Morris <rgm@gnu.org>
14801
14802 * mail/rmailedit.el: Require rmailmm when compiling.
14803 (rmail-old-mime-state): New declaration.
14804 (rmail-edit-current-message): If editing a mime message,
14805 edit the "raw" message from the mbox buffer.
14806 (rmail-cease-edit): Handle mime messages. (Bug#9840)
14807
14808 2011-11-15 Glenn Morris <rgm@gnu.org>
14809
14810 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
14811 which wasn't being used. Add optional arg to force given state.
14812 (rmail-mime): Add optional arg to force given state.
14813
14814 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
14815
14816 * allout.el (allout-encryption-plaintext-sanitization-regexps):
14817 * frame.el (display-mm-dimensions-alist):
14818 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
14819 (outline-move-subtree-down):
14820 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
14821 (newsticker--treeview-do-get-node):
14822 * net/quickurl.el (quickurl-list-buffer-name):
14823 * progmodes/dcl-mode.el (dcl-mode):
14824 * progmodes/gdb-mi.el (gdb-mapcar*):
14825 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
14826
14827 2011-11-15 Glenn Morris <rgm@gnu.org>
14828
14829 * mail/rmail.el (rmail-file-coding-system): It's only ever used
14830 in a boolean sense, so just make it a boolean, and fix the doc.
14831 (rmail-show-mime-function, rmail-mime-feature)
14832 (rmail-require-mime-maybe): Doc fixes.
14833 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
14834
14835 * mail/rmailmm.el (rmail-show-mime): Doc fix.
14836
14837 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
14838
14839 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
14840 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
14841 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
14842 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
14843
14844 2011-11-15 Glenn Morris <rgm@gnu.org>
14845
14846 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
14847 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
14848 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
14849 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
14850 (rmail-mime, rmail-show-mime): Doc fixes.
14851
14852 * term/ns-win.el (mode-line-frame-identification):
14853 Leave it alone. (Bug#10051)
14854
14855 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
14856
14857 * mail/rmailout.el (rmail-output-to-rmail-buffer):
14858 Handle empty buffers. (Bug#9978)
14859
14860 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
14861
14862 * international/mule.el (define-charset):
14863 * mail/rmailmm.el (rmail-mime-find-header-encoding):
14864 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
14865 * progmodes/verilog-mode.el (verilog-backward-token):
14866 * textmodes/ispell.el (lookup-words):
14867 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
14868
14869 2011-11-14 Glenn Morris <rgm@gnu.org>
14870
14871 * progmodes/executable.el
14872 (executable-make-buffer-file-executable-if-script-p):
14873 Handle file-modes returning nil.
14874
14875 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
14876 message - not necessary, and causes problems. (Bug#9831)
14877
14878 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
14879
14880 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
14881
14882 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
14883 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
14884 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
14885
14886 2011-11-12 Martin Rudalics <rudalics@gmx.at>
14887
14888 * window.el (window-resize, delete-window): Use window-splits
14889 variable instead of function.
14890 (window-state-get-1, window-state-put-2, window-state-put):
14891 Don't deal with windows' splits status.
14892
14893 2011-11-12 Glenn Morris <rgm@gnu.org>
14894
14895 * apropos.el (apropos-do-all, apropos-library, apropos-value)
14896 (apropos-documentation): Doc fixes.
14897
14898 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
14899
14900 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
14901 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
14902
14903 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14904
14905 * electric.el (electric-indent-post-self-insert-function): Make it
14906 possible for a char to only indent in some circumstances.
14907 (electric-indent-mode): Simplify.
14908
14909 2011-11-11 Martin Rudalics <rudalics@gmx.at>
14910
14911 * window.el (windows-with-parameter): Remove unused function.
14912 (windows-at-side): Rename to window-at-side-list.
14913 (window-check, window-atom-check, window-atom-check-1)
14914 (window-side-check, window-size-ignore, window-size-fixed-1)
14915 (window-in-direction-2): Prefix with "window--".
14916 (window-tree-1): Rename to window--subtree, fix doc-string.
14917
14918 2011-11-11 Glenn Morris <rgm@gnu.org>
14919
14920 * subr.el (eval-after-load): If FILE is already loaded,
14921 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
14922
14923 2011-11-10 Glenn Morris <rgm@gnu.org>
14924
14925 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
14926 Call svn via vc-svn-command rather than vc-do-command.
14927 (vc-svn-command): Add --non-interactive. (Bug#9993)
14928 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
14929
14930 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14931 Add toggle-read-only. (Bug#7292)
14932 * files.el (toggle-read-only): Mention that it should only
14933 be used interactively. (Bug#10006)
14934
14935 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
14936
14937 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14938 Adjust regexp for OCaml warnings.
14939
14940 * electric.el (electric-pair-post-self-insert-function): Let user
14941 turn it off buffer-locally (bug#9932).
14942
14943 * progmodes/python.el (python-beginning-of-statement):
14944 Rewrite (bug#2703).
14945
14946 * progmodes/compile.el: Better handle TABs (bug#9749).
14947 (compilation-internal-error-properties)
14948 (compilation-next-error-function): Obey the target buffer's
14949 compilation-error-screen-columns.
14950
14951 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
14952
14953 * progmodes/meta-mode.el: Remove obsolete comments.
14954 (meta-right-comment-regexp, meta-ignore-comment-regexp):
14955 Fix typos in docstrings.
14956
14957 2011-11-09 Martin Rudalics <rudalics@gmx.at>
14958
14959 * window.el (window-size-fixed-p): Rewrite doc-string.
14960 (window-resizable-p): Rename to window--resizable-p. Update callers.
14961 (window--resizable): New function. Make all callers of
14962 window-resizable call window--resizable instead.
14963 (window-resizable): Rewrite in terms of window--resizable.
14964
14965 2011-11-08 Glenn Morris <rgm@gnu.org>
14966
14967 * progmodes/delphi.el (delphi-mode-syntax-table):
14968 Let define-derived-mode define a proper syntax table. (Bug#9994)
14969
14970 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14971
14972 * window.el: Stay away from defsubst.
14973 (window-list-no-nils): Remove.
14974 (window-state-get-1, window-state-get): Use backquote instead.
14975
14976 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14977
14978 * emacs-lisp/find-func.el (find-function-read):
14979 Fix incorrect use of default argument in `completing-read'.
14980
14981 2011-11-08 Martin Rudalics <rudalics@gmx.at>
14982
14983 * window.el (display-buffer-function, special-display-function):
14984 Mention display-buffer-record-window but do not mention
14985 help-setup parameter in doc-strings.
14986 (window-min-delta): Fix doc-string typo.
14987
14988 2011-11-08 Chong Yidong <cyd@gnu.org>
14989
14990 * window.el (window-total-height, window-total-width): Doc fix.
14991 (window-body-size): Move from C.
14992 (window-body-height, window-body-width): Move to C.
14993
14994 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14995
14996 * window.el: Make special-display like display-buffer-alist (bug#9532).
14997 (display-buffer--special-action): New function, morphed
14998 from display-buffer--special.
14999 (display-buffer): Use it to handle special-display-buffers at higher
15000 priority (just after display-buffer-alist).
15001 (display-buffer-fallback-action, display-buffer--other-frame-action)
15002 (pop-to-buffer-same-window): Remove display-buffer--special.
15003
15004 2011-11-07 Glenn Morris <rgm@gnu.org>
15005
15006 * calendar/cal-menu.el (cal-menu-set-date-title):
15007 Do nothing if not in a calendar. (Bug#9976)
15008
15009 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
15010
15011 * files.el (find-file): Always use selected-window.
15012
15013 2011-11-07 Martin Rudalics <rudalics@gmx.at>
15014
15015 * window.el (window-combinations): Make WINDOW argument
15016 mandatory. Rewrite doc-string.
15017 (walk-window-subtree, window-atom-check, window-min-delta)
15018 (window-max-delta, window--resize-this-window)
15019 (window--resize-root-window-vertically, window-tree)
15020 (balance-windows, window-state-put): Rewrite doc-strings as to
15021 not mention the term "subwindow".
15022 (window--resize-subwindows-skip-p): Rename to
15023 window--resize-child-windows-skip-p.
15024 (window--resize-subwindows-normal): Rename to
15025 window--resize-child-windows-normal.
15026 (window--resize-subwindows): Rename to
15027 window--resize-child-windows.
15028 (window-or-subwindow-p): Rename to window--in-subtree-p.
15029
15030 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15031
15032 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
15033 Ensure that mbox format messages end in two newlines (Bug#9974).
15034
15035 2011-11-06 Chong Yidong <cyd@gnu.org>
15036
15037 * window.el (window-combination-p): Function deleted; its
15038 side-effect is not used in any existing code.
15039 (window-combinations, window-combined-p): Call window-*-child
15040 directly.
15041
15042 2011-11-05 Chong Yidong <cyd@gnu.org>
15043
15044 * window.el (window-valid-p): Rename from window-any-p.
15045 (window-size-ignore, window-state-get): Callers changed.
15046 (window-normalize-window): Rename from window-normalize-any-window.
15047 New arg LIVE-ONLY, replacing window-normalize-live-window.
15048 (window-normalize-live-window): Delete.
15049 (window-combination-p, window-combined-p, window-combinations)
15050 (walk-window-subtree, window-atom-root, window-min-size)
15051 (window-sizable, window-sizable-p, window-size-fixed-p)
15052 (window-min-delta, window-max-delta, window-resizable)
15053 (window-resizable-p, window-full-height-p, window-full-width-p)
15054 (window-current-scroll-bars, window-point-1, set-window-point-1)
15055 (window-at-side-p, window-in-direction, window-resize)
15056 (adjust-window-trailing-edge, maximize-window, minimize-window)
15057 (window-deletable-p, delete-window, delete-other-windows)
15058 (record-window-buffer, unrecord-window-buffer)
15059 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
15060 (quit-window, split-window, window-state-put)
15061 (set-window-text-height, fit-window-to-buffer)
15062 (shrink-window-if-larger-than-buffer): Callers changed.
15063
15064 2011-11-04 Eli Zaretskii <eliz@gnu.org>
15065
15066 * mail/rmail.el (rmail-simplified-subject): Decode subject with
15067 rfc2047-decode-string.
15068 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
15069 warnings.
15070
15071 * window.el (window-body-height, window-body-width): Mention in
15072 the doc string that the return values are in frame's canonical
15073 units. (Bug#9949)
15074
15075 2011-11-03 Alan Mackenzie <acm@muc.de>
15076
15077 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
15078 change in cc-engine.el.
15079
15080 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
15081
15082 * window.el (switch-to-buffer): Use `force-same-window' interactively.
15083
15084 2011-11-02 Martin Rudalics <rudalics@gmx.at>
15085
15086 * window.el (quit-window): Call unrecord-window-buffer after
15087 showing another buffer in the window. (Bug#9937)
15088 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
15089
15090 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
15091
15092 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
15093 Accept status with more than 9 shelves. (Bug#9935)
15094 Reported by Colin D Bennett <colin@gibibit.com>.
15095
15096 2011-11-01 Martin Rudalics <rudalics@gmx.at>
15097
15098 * help.el (with-help-window): Don't reference
15099 temp-buffer-show-specifiers in doc-string.
15100
15101 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
15102
15103 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
15104 menu-item.
15105
15106 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15107
15108 * whitespace.el: New version 13.2.2.
15109 (whitespace-newline-mode): Disable properly. Reported by Sarah
15110 <EmacsWiki>.
15111
15112 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
15113
15114 * net/newst-treeview.el: Remove "Time-stamp".
15115 (newsticker--group-manage-orphan-feeds): Do not call
15116 newsticker--treeview-tree-update.
15117 (newsticker-treeview-update, newsticker-treeview):
15118 Call newsticker--treeview-tree-update if necessary.
15119
15120 2011-10-30 Martin Rudalics <rudalics@gmx.at>
15121
15122 * window.el (window-iso-combination-p, window-iso-combined-p)
15123 (window-iso-combinations): Remove "iso-" infix.
15124 Suggested by Chong Yidong.
15125 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
15126 (window-max-delta-1, window-resize, window--resize-siblings)
15127 (window--resize-this-window, adjust-window-trailing-edge)
15128 (split-window, balance-windows-1)
15129 (shrink-window-if-larger-than-buffer):
15130 * calendar/calendar.el (calendar-generate-window):
15131 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
15132
15133 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15134
15135 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
15136 in place (bug#9907).
15137 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
15138 (eshell-rewrite-if-command, eshell-rewrite-for-command)
15139 (eshell-structure-basic-command, eshell-rewrite-while-command)
15140 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
15141 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
15142 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
15143 (eshell-do-pipelines-synchronously, eshell-eval-command):
15144 Use backquotes and prefer setq to set.
15145 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
15146 (eshell-macrop): Use functionp.
15147 (eshell-do-eval): Handle multiple expressions in `while' body.
15148
15149 2011-10-30 Chong Yidong <cyd@gnu.org>
15150
15151 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
15152 instead of set-mark (Bug#9810).
15153
15154 2011-10-30 Chong Yidong <cyd@gnu.org>
15155
15156 * window.el (split-window-below, split-window-right): Rename from
15157 split-window-above-each-other and split-window-side-by-side
15158 respectively. All callers changed.
15159 (split-window-sensibly, split-window-sensibly): Use them.
15160 (split-window-keep-point): Doc fix.
15161
15162 * isearch.el: Add isearch-scroll property to split-window-below
15163 and split-window-right.
15164
15165 * follow.el (follow-mode):
15166 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15167 * progmodes/ada-xref.el (ada-gdb-application):
15168 * emulation/vip.el (vip-buffer-in-two-windows):
15169 * image-dired.el (image-dired-dired-with-window-configuration):
15170 * dired-x.el (dired-do-find-marked-files):
15171 * dired.el (dired-pop-to-buffer):
15172 * bs.el (bs--show-with-configuration):
15173 * vc/emerge.el (emerge-setup-windows):
15174 * textmodes/two-column.el (2C-two-columns):
15175 * textmodes/reftex-toc.el (reftex-toc):
15176 * progmodes/gdb-mi.el (gdb-setup-windows):
15177 * progmodes/fortran.el (fortran-window-create):
15178 * net/newst-treeview.el (newsticker--treeview-window-init):
15179 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
15180 * emulation/tpu-edt.el (tpu-gold-map):
15181 * emulation/crisp.el (crisp-mode-map):
15182 * calendar/calendar.el (calendar-basic-setup): Callers changed.
15183
15184 2011-10-29 Chong Yidong <cyd@gnu.org>
15185
15186 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
15187
15188 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
15189
15190 * textmodes/flyspell.el (flyspell-word): Fix char offset for
15191 forged Ispell output (Bug#7904).
15192
15193 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
15194
15195 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15196
15197 * doc-view.el: Avoid ugly errors about not finding nil.
15198 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
15199 (doc-view-dvipdf-program, doc-view-unoconv-program)
15200 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
15201 Avoid nil or absolute file name as default value.
15202 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
15203
15204 2011-10-28 Alan Mackenzie <acm@muc.de>
15205
15206 * progmodes/cc-defs.el (c-version): -> 5.32.2.
15207
15208 2011-10-28 Alan Mackenzie <acm@muc.de>
15209
15210 Amend the handling of c-beginning/end-of-defun in nested declaration
15211 scopes.
15212
15213 * progmodes/cc-vars.el (c-defun-tactic): Move here from
15214 cc-langs.el. Change it to a defcustom.
15215
15216 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
15217 cc-vars.el.
15218
15219 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15220 Prevent "class foo : bar" being spuriously recognized as a label.
15221
15222 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
15223 Add parameter `inclusive' (to include enclosing braces in the region).
15224 (c-widen-to-enclosing-decl-scope): New function.
15225 (c-while-widening-to-decl-block): New macro.
15226 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
15227 outward for defun boundaries, and correspondingly change symbol
15228 `respect-enclosure' to `go-outward'.
15229 (c-declaration-limits): Change algorithm to report only the "innermost"
15230 defun's boundaries.
15231
15232 2011-10-28 Deniz Dogan <deniz@dogan.se>
15233
15234 * net/rcirc.el (rcirc-mode): Use hard newlines.
15235
15236 2011-10-28 Alan Mackenzie <acm@muc.de>
15237
15238 Amend to indent and fontify macros "which include their own semicolon"
15239 correctly, using the "virtual semicolon" mechanism.
15240
15241 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
15242
15243 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
15244 Recode to scan one line at a time rather than having \n and \r
15245 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
15246 (c-forward-label): Amend for virtual semicolons.
15247 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
15248
15249 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
15250 of the new C macros.
15251
15252 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
15253 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
15254 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
15255 (c-opt-cpp-macro-define): Make into a full language variable.
15256 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
15257 AWK Mode (including \n, \r) removed, no longer needed.
15258
15259 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
15260 Invoke c-make-macro-with-semi-re.
15261
15262 * progmodes/cc-vars.el (c-macro-with-semi-re):
15263 (c-macro-names-with-semicolon): New variables.
15264 (c-make-macro-with-semi-re): New function.
15265
15266 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15267
15268 * vc/log-edit.el: Fill empty field rather than adding new one.
15269 (log-edit-add-field): New function.
15270 (log-edit-insert-changelog): Use it.
15271
15272 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15273
15274 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
15275
15276 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15277
15278 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
15279 (gdb--check-interpreter): New function.
15280 (gdb): Use it.
15281
15282 2011-10-27 Glenn Morris <rgm@gnu.org>
15283
15284 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
15285 (least-positive-float, least-negative-float)
15286 (least-positive-normalized-float, least-negative-normalized-float)
15287 (float-epsilon, float-negative-epsilon):
15288 Remove unnecessary declarations.
15289
15290 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
15291 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
15292 (least-positive-float, least-negative-float)
15293 (least-positive-normalized-float, least-negative-normalized-float)
15294 (float-epsilon, float-negative-epsilon): Add doc-strings,
15295 based on those in cl.texi.
15296
15297 * files.el (set-visited-file-name): If the major-mode changed,
15298 reload the local variables. (Bug#9796)
15299
15300 2011-10-27 Chong Yidong <cyd@gnu.org>
15301
15302 * subr.el (change-major-mode-after-body-hook): New hook.
15303 (run-mode-hooks): Run it.
15304
15305 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15306 Use change-major-mode-before-body-hook.
15307
15308 * simple.el (fundamental-mode):
15309 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
15310 change introducing fundamental-mode-hook.
15311
15312 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
15313
15314 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
15315
15316 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
15317
15318 * ido.el (ido-file-name-all-completions-1): Do not require
15319 tramp.el explicitly. (Bug#7583)
15320
15321 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15322
15323 * progmodes/octave-mod.el:
15324 * progmodes/octave-inf.el: Update maintainer.
15325
15326 2011-10-26 Chong Yidong <cyd@gnu.org>
15327
15328 * subr.el (with-wrapper-hook): Rewrite doc.
15329
15330 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
15331
15332 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
15333 filenames "/method:foo:". (Bug#9793)
15334
15335 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15336
15337 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
15338 (bug#9865).
15339
15340 2011-10-24 Glenn Morris <rgm@gnu.org>
15341
15342 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
15343
15344 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
15345
15346 * notifications.el: Add the requirement of a running D-Bus session
15347 bus to the Commentary.
15348
15349 2011-10-24 Juri Linkov <juri@jurta.org>
15350
15351 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15352 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
15353 (Bug#9364)
15354
15355 2011-10-24 Juri Linkov <juri@jurta.org>
15356
15357 * info.el (Info-following-node-name-re): Add newline to the list
15358 of allowed characters for leading space. (Bug#9824)
15359
15360 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15361
15362 * progmodes/octave-inf.el (inferior-octave-mode-map):
15363 Fix C-c C-h binding.
15364 * progmodes/octave-mod.el (octave-help): Remove.
15365
15366 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
15367
15368 Sync with Tramp 2.2.3.
15369
15370 * net/tramp-cache.el (top): Pacify byte-compiler using
15371 `init-file-user' and `site-run-file'.
15372
15373 * net/trampver.el: Update release number.
15374
15375 2011-10-23 Chong Yidong <cyd@gnu.org>
15376
15377 * files.el (toggle-read-only): Remove obsolete comment about
15378 version control.
15379
15380 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
15381 for toggle-read-only. Note that this hasn't called vc-next-action
15382 since 2008-05-02, though it wasn't documented at the time.
15383
15384 * vc/ediff-init.el (ediff-toggle-read-only-function):
15385 Use toggle-read-only.
15386
15387 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
15388
15389 Fix bug #9560, sporadic wrong indentation; improve instrumentation
15390 of c-parse-state.
15391
15392 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15393 correct faulty logical expression.
15394 (c-parse-state-state, c-record-parse-state-state):
15395 (c-replay-parse-state-state): New defvar/defuns.
15396 (c-debug-parse-state): Use new functions.
15397
15398 2011-10-22 Martin Rudalics <rudalics@gmx.at>
15399
15400 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
15401 last fix. Use window-in-direction correctly.
15402
15403 2011-10-21 Chong Yidong <cyd@gnu.org>
15404
15405 * progmodes/idlwave.el (idlwave-mode):
15406 * progmodes/vera-mode.el (vera-mode): No need to set
15407 require-final-newline; that's done in prog-mode.
15408 Suggested by Stefan Monnier.
15409
15410 2011-10-21 Martin Rudalics <rudalics@gmx.at>
15411
15412 * mouse.el (mouse-drag-window-above)
15413 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
15414 (mouse-drag-mode-line-1, mouse-drag-header-line)
15415 (mouse-drag-vertical-line-rightward-window): Remove.
15416 (mouse-drag-line): New function.
15417 (mouse-drag-mode-line, mouse-drag-header-line)
15418 (mouse-drag-vertical-line): Call mouse-drag-line.
15419 * window.el (window-at-side-p, windows-at-side): New functions.
15420
15421 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
15422
15423 * tar-mode.el (tar-grind-file-mode):
15424 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
15425
15426 2011-10-21 Chong Yidong <cyd@gnu.org>
15427
15428 * progmodes/idlwave.el (idlwave-mode):
15429 * progmodes/vera-mode.el (vera-mode):
15430 Use mode-require-final-newline.
15431
15432 2011-10-20 Glenn Morris <rgm@gnu.org>
15433
15434 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
15435
15436 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
15437
15438 * emulation/cua-base.el (cua-set-mark): Fix case of string.
15439
15440 2011-10-20 Chong Yidong <cyd@gnu.org>
15441
15442 * emulation/cua-base.el (cua-mode):
15443 * mail/footnote.el (footnote-mode):
15444 * mail/mailabbrev.el (mail-abbrevs-mode):
15445 * net/xesam.el (xesam-minor-mode):
15446 * progmodes/bug-reference.el (bug-reference-mode):
15447 * progmodes/cap-words.el (capitalized-words-mode):
15448 * progmodes/compile.el (compilation-minor-mode)
15449 (compilation-shell-minor-mode):
15450 * progmodes/gud.el (gud-tooltip-mode):
15451 * progmodes/hideif.el (hide-ifdef-mode):
15452 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
15453 * progmodes/subword.el (subword-mode):
15454 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15455 * progmodes/which-func.el (which-function-mode):
15456 * term/tvi970.el (tvi970-set-keypad-mode):
15457 * term/vt100.el (vt100-wide-mode):
15458 * textmodes/flyspell.el (flyspell-mode):
15459 * textmodes/ispell.el (ispell-minor-mode):
15460 * textmodes/nroff-mode.el (nroff-electric-mode):
15461 * textmodes/paragraphs.el (use-hard-newlines):
15462 * textmodes/refill.el (refill-mode):
15463 * textmodes/reftex.el (reftex-mode):
15464 * textmodes/rst.el (rst-minor-mode):
15465 * textmodes/sgml-mode.el (html-autoview-mode)
15466 (sgml-electric-tag-pair-mode):
15467 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
15468 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
15469 * emulation/crisp.el (crisp-mode):
15470 * emacs-lisp/eldoc.el (eldoc-mode):
15471 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
15472 minor mode behavior.
15473
15474 2011-10-19 Juri Linkov <juri@jurta.org>
15475
15476 * descr-text.el (describe-char): Add #x2010 and #x2011 to
15477 the list of hard-coded chars with escape-glyph face.
15478
15479 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15480
15481 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
15482
15483 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
15484
15485 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
15486 running process.
15487
15488 2011-10-19 Glenn Morris <rgm@gnu.org>
15489
15490 * vc/vc-bzr.el (vc-bzr-after-dir-status):
15491 Ignore ignored files. (Bug#9726)
15492
15493 2011-10-19 Chong Yidong <cyd@gnu.org>
15494
15495 Doc fix for minor modes, stating that an omitted argument enables
15496 the mode unconditionally when called from Lisp.
15497
15498 * abbrev.el (abbrev-mode):
15499 * allout.el (allout-mode):
15500 * autoinsert.el (auto-insert-mode):
15501 * autoarg.el (autoarg-mode, autoarg-kp-mode):
15502 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15503 (global-auto-revert-mode):
15504 * battery.el (display-battery-mode):
15505 * composite.el (global-auto-composition-mode)
15506 (auto-composition-mode):
15507 * delsel.el (delete-selection-mode):
15508 * desktop.el (desktop-save-mode):
15509 * dired-x.el (dired-omit-mode):
15510 * dirtrack.el (dirtrack-mode):
15511 * doc-view.el (doc-view-minor-mode):
15512 * double.el (double-mode):
15513 * electric.el (electric-indent-mode, electric-pair-mode):
15514 * emacs-lock.el (emacs-lock-mode):
15515 * epa-hook.el (auto-encryption-mode):
15516 * follow.el (follow-mode):
15517 * font-core.el (font-lock-mode):
15518 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
15519 * help.el (temp-buffer-resize-mode):
15520 * hilit-chg.el (highlight-changes-mode)
15521 (highlight-changes-visible-mode):
15522 * hi-lock.el (hi-lock-mode):
15523 * hl-line.el (hl-line-mode, global-hl-line-mode):
15524 * icomplete.el (icomplete-mode):
15525 * ido.el (ido-everywhere):
15526 * image-file.el (auto-image-file-mode):
15527 * image-mode.el (image-minor-mode):
15528 * iswitchb.el (iswitchb-mode):
15529 * jka-cmpr-hook.el (auto-compression-mode):
15530 * linum.el (linum-mode):
15531 * longlines.el (longlines-mode):
15532 * master.el (master-mode):
15533 * mb-depth.el (minibuffer-depth-indicate-mode):
15534 * menu-bar.el (menu-bar-mode):
15535 * minibuf-eldef.el (minibuffer-electric-default-mode):
15536 * mouse-sel.el (mouse-sel-mode):
15537 * msb.el (msb-mode):
15538 * mwheel.el (mouse-wheel-mode):
15539 * outline.el (outline-minor-mode):
15540 * paren.el (show-paren-mode):
15541 * recentf.el (recentf-mode):
15542 * reveal.el (reveal-mode, global-reveal-mode):
15543 * rfn-eshadow.el (file-name-shadow-mode):
15544 * ruler-mode.el (ruler-mode):
15545 * savehist.el (savehist-mode):
15546 * scroll-all.el (scroll-all-mode):
15547 * scroll-bar.el (scroll-bar-mode):
15548 * server.el (server-mode):
15549 * shell.el (shell-dirtrack-mode):
15550 * simple.el (auto-fill-mode, transient-mark-mode)
15551 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
15552 (line-number-mode, column-number-mode, size-indication-mode)
15553 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
15554 * strokes.el (strokes-mode):
15555 * time.el (display-time-mode):
15556 * t-mouse.el (gpm-mouse-mode):
15557 * tool-bar.el (tool-bar-mode):
15558 * tooltip.el (tooltip-mode):
15559 * type-break.el (type-break-mode-line-message-mode)
15560 (type-break-query-mode):
15561 * view.el (view-mode):
15562 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15563 (global-whitespace-mode, global-whitespace-newline-mode):
15564 * xt-mouse.el (xterm-mouse-mode): Doc fix.
15565
15566 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15567 Fix autogenerated docstring.
15568
15569 2011-10-19 Juri Linkov <juri@jurta.org>
15570
15571 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
15572 by checking environment variables "DESKTOP_SESSION" and
15573 "XDG_CURRENT_DESKTOP". (Bug#9779)
15574
15575 2011-10-19 Juri Linkov <juri@jurta.org>
15576
15577 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
15578 (browse-url-chromium-program, browse-url-chromium-arguments):
15579 New defcustoms.
15580 (browse-url-default-browser): Check for `browse-url-chromium' and
15581 call `browse-url-chromium-program'.
15582 (browse-url-chromium): New command. (Bug#9779)
15583
15584 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
15585
15586 * facemenu.el (list-colors-duplicates): On Windows, detect more
15587 duplicates by assuming that only colors matching "^System" are
15588 special "system colors". (Bug#9722)
15589
15590 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15591
15592 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
15593 to distinguish the author from the committer.
15594
15595 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
15596
15597 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
15598
15599 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
15600
15601 * international/mule.el (sgml-html-meta-auto-coding-function):
15602 Add support for detecting encoding in HTML5 specified only as
15603 <meta charset="UTF-8">. Implementation just makes http-equiv and
15604 content-type parts from HTML4 encoding string optional. (Bug#9716)
15605
15606 2011-10-18 Glenn Morris <rgm@gnu.org>
15607
15608 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
15609
15610 2011-10-18 Chong Yidong <cyd@gnu.org>
15611
15612 * faces.el (cursor): Doc fix.
15613
15614 2011-10-17 Chong Yidong <cyd@gnu.org>
15615
15616 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
15617
15618 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
15619
15620 * dirtrack.el (dirtrack): Support shell buffers with path
15621 prefixes, e.g. tramp-based remote shells. (Bug#9647)
15622
15623 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
15624
15625 * json.el: Bump version to 1.3 and note change in History.
15626 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
15627
15628 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15629
15630 * comint.el (comint-insert-input, comint-send-input)
15631 (comint-get-old-input-default, comint-backward-matching-input)
15632 (comint-next-prompt): Use nil instead of `input' for field property of
15633 past user input (bug#114).
15634
15635 * minibuffer.el (completion--replace): Inherit surrounding properties
15636 (bug#114).
15637 (minibuffer-complete-and-exit): Use it.
15638
15639 * comint.el (comint--table-subvert): Quote the all-completions output
15640 (bug#9160).
15641
15642 2011-10-17 Martin Rudalics <rudalics@gmx.at>
15643
15644 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
15645
15646 * menu-bar.el (menu-bar-file-menu): Add entry for making new
15647 window on right of selected. (Bug#9350) Reword other window
15648 entries and separate them from frame entries.
15649
15650 2011-10-15 Glenn Morris <rgm@gnu.org>
15651
15652 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
15653 Doc fixes.
15654
15655 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
15656
15657 * net/network-stream.el (network-stream-open-starttls):
15658 Improve detection of failure due to lack of TLS support.
15659
15660 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
15661 putting the input text in front and in bold.
15662
15663 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15664
15665 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
15666
15667 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
15668 empty buffer.
15669
15670 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
15671 unread-command-events rather than pushing yet-another event.
15672
15673 2011-10-14 Eli Zaretskii <eliz@gnu.org>
15674
15675 * mail/sendmail.el (sendmail-query-once): Improve the wording of
15676 the explanation of the possible choices. Make the options passed
15677 to completing-read shorter.
15678
15679 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15680
15681 * textmodes/flyspell.el (flyspell-large-region): Make sure
15682 extended character mode is used if defined (Bug#1339).
15683
15684 2011-10-13 Eli Zaretskii <eliz@gnu.org>
15685
15686 * simple.el (what-cursor-position): Fix the display of the
15687 character info for LRE, LRO, RLE, and RLO characters by appending
15688 an invisible PDF.
15689
15690 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
15691
15692 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
15693 even in case of error; add debug spec; simplify data flow.
15694 (with-timeout-handler): Remove.
15695
15696 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
15697
15698 Fix Bug#6019, Bug#9315.
15699
15700 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
15701 complete `buffer-file-name', the local file name part could look
15702 remotely (for example on VMS).
15703
15704 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
15705 `tramp-run-real-handler'.
15706 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
15707 already quoted by '"'.
15708
15709 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
15710 Let `file-name-handler-alist' be nil, the local file name part
15711 could look remotely (for example on VMS).
15712
15713 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
15714
15715 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
15716 from here...
15717 (flyspell-post-command-hook): ...to here.
15718
15719 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15720
15721 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
15722 if not needed.
15723 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
15724 using completion. Protect against "slow" callers.
15725 Remove the "message hack".
15726
15727 2011-10-11 Juri Linkov <juri@jurta.org>
15728
15729 * isearch.el (isearch-lazy-highlight-word): New variable.
15730 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
15731 Use it. (Bug#9727)
15732
15733 2011-10-11 Glenn Morris <rgm@gnu.org>
15734
15735 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
15736 like f90-previous-statement does.
15737
15738 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15739
15740 * eshell/eshell.el (eshell-command): History should be saved
15741 only in interactive use, to avoid error.
15742
15743 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15744
15745 * minibuffer.el (completion-file-name-table): Fix last change,
15746 i.e. ignore normal errors but not the other ones.
15747
15748 2011-10-10 Martin Rudalics <rudalics@gmx.at>
15749
15750 * window.el (special-display-buffer-names)
15751 (special-display-regexps): Remove some remnants of earlier
15752 changes from doc-strings.
15753 (quit-windows-on): New function.
15754
15755 * vc/vc.el (vc-revert, vc-rollback):
15756 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
15757 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
15758 (Bug#6183) (Bug#7074) (Bug#7447)
15759
15760 2011-10-09 Martin Rudalics <rudalics@gmx.at>
15761
15762 * window.el (frame-auto-hide-function): Add version tag.
15763 (Bug#9699)
15764
15765 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
15766
15767 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
15768 condition.
15769
15770 2011-10-09 Leo Liu <sdl.web@gmail.com>
15771
15772 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
15773 (Bug#9701)
15774
15775 2011-10-08 Glenn Morris <rgm@gnu.org>
15776
15777 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
15778 before the first code statement zero indent. (Bug#9690)
15779
15780 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
15781
15782 * simple.el (count-words-region): Always count in the region.
15783 Report the number of lines and characters too.
15784 (count-words): New command, which counts in the buffer if the
15785 region is inactive, as count-words-region used to.
15786 (count-words--message): New function. Handle plurals.
15787 (count-lines-region): Make it an alias for count-words-region.
15788
15789 * bindings.el (esc-map): Replace count-lines-region with
15790 count-words-region.
15791
15792 2011-10-08 Martin Rudalics <rudalics@gmx.at>
15793
15794 * window.el (window--delete): Delete dedicated frame
15795 unconditionally when argument KILL is non-nil. (Bug#9699)
15796 (switch-to-buffer): Fix doc-string typo.
15797
15798 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15799
15800 * eshell/eshell.el (eshell-command): Avoid using hooks.
15801
15802 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
15803
15804 * bindings.el ([M-left],[M-right]): Bind to left-word and
15805 right-word respectively.
15806
15807 2011-10-07 Glenn Morris <rgm@gnu.org>
15808
15809 * cus-start.el (debug-on-quit): Fix custom type.
15810
15811 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15812
15813 * subr.el (define-key-after): Clarify that the function is not
15814 useful for non-menu keymaps.
15815
15816 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
15817
15818 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15819
15820 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
15821 in current minibuffer (Fix bug with recursive minibuffers).
15822
15823 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
15824
15825 * progmodes/gdb-mi.el (gdb): Doc fix.
15826
15827 2011-10-05 Martin Rudalics <rudalics@gmx.at>
15828
15829 * window.el (frame-auto-hide-function): New option replacing
15830 frame-auto-delete. Suggested by Stefan Monnier.
15831 (window--delete): Call frame-auto-hide-function instead of
15832 investigating frame-auto-delete.
15833 (window-point-1, set-window-point-1): New functions.
15834 (window-in-direction, record-window-buffer, window-state-get-1)
15835 (display-buffer-record-window): Use window-point-1 instead of
15836 window-point.
15837 (set-window-buffer-start-and-point): Use set-window-point-1.
15838
15839 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15840
15841 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
15842
15843 2011-10-05 Glenn Morris <rgm@gnu.org>
15844
15845 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
15846 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
15847
15848 2011-10-05 Leo Liu <sdl.web@gmail.com>
15849
15850 * subr.el (read-char-choice): Fix argument to buffer-live-p which
15851 works with buffer object.
15852
15853 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15854
15855 * mpc.el (mpc-tool-bar-map): Add labels.
15856
15857 2011-10-04 Glenn Morris <rgm@gnu.org>
15858
15859 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15860
15861 2011-10-04 Martin Rudalics <rudalics@gmx.at>
15862
15863 * window.el (window--delete): New function.
15864 (frame-auto-delete): Resuscitate option.
15865 (bury-buffer, replace-buffer-in-windows)
15866 (quit-window): Rewrite using window--delete.
15867 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15868 Pass display-buffer-mark-dedicated to window--display-buffer-2
15869 (Bug#9639).
15870
15871 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15872
15873 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
15874 returns a list (bug#9554). Add remote file name completion.
15875 * comint.el (comint--table-subvert): Curry and get quote&unquote
15876 functions as arguments.
15877 (comint--complete-file-name-data): Adjust call accordingly.
15878 * pcomplete.el (pcomplete--table-subvert): Remove.
15879 (pcomplete-completions-at-point): Use comint--table-subvert instead.
15880
15881 * minibuffer.el (completion-table-case-fold): Use currying.
15882 (completion--styles-type, completion--cycling-threshold-type):
15883 New constants.
15884 (completion-styles, completion-category-overrides)
15885 (completion-cycle-threshold): Use them.
15886 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
15887 completion-table-case-fold.
15888
15889 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
15890
15891 * minibuffer.el (completion-category-overrides): Fix type of styles
15892 and add more user friendly tags (bug#9660).
15893
15894 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15895
15896 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
15897 (mule-input-method-string): New widget.
15898 (default-input-method, language-info-custom-alist): Use it.
15899
15900 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15901
15902 * pcomplete.el: Require comint.
15903 (pcomplete--common-suffix): Remove.
15904 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
15905 (pcomplete--table-subvert): Sync with comint--table-subvert.
15906 (pcomplete--entries): Use comint-completion-file-name-table.
15907 * comint.el (comint-unquote-filename): Simplify.
15908 (comint-completion-file-name-table): New function (bug#9616).
15909 (comint--complete-file-name-data): Use it.
15910
15911 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
15912 (pcmpl-gnu-tar-buffer): Remove.
15913 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
15914 around. Make sure pcomplete-suffix-list is only changed temporarily.
15915 Don't look inside the tar's file if it's too large.
15916
15917 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
15918
15919 * cus-edit.el (custom-mode-map):
15920 * epa.el (epa-key-list-mode-map):
15921 * man.el (Man-mode-map):
15922 * startup.el (splash-screen-keymap):
15923 * simple.el (special-mode-map): Use scroll-up-command and
15924 scroll-down-command.
15925
15926 * progmodes/idlw-help.el (idlwave-help-mode-map):
15927 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
15928 * net/newst-plainview.el (newsticker-mode-map):
15929 * emulation/ws-mode.el (wordstar-mode-map):
15930 * emulation/vi.el (vi-com-map):
15931 * calc/calc-graph.el (calc-graph-show-dumb):
15932 * term/sun.el (terminal-init-sun):
15933 * term/ns-win.el (global-map):
15934 * progmodes/grep.el (grep-mode-map):
15935 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
15936 * mail/rmail.el (rmail-mode-map):
15937 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
15938
15939 * custom.el (custom-safe-themes, load-theme): Treat value of t for
15940 custom-safe-themes as special.
15941
15942 2011-10-01 Julien Danjou <julien@danjou.info>
15943
15944 * notifications.el (notifications-notify): Fix docstring.
15945
15946 2011-10-01 Per Starbäck <per@starback.se>
15947
15948 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
15949
15950 2011-09-30 Martin Rudalics <rudalics@gmx.at>
15951
15952 * startup.el (command-line-1): Fix last fix by inserting
15953 initial-scratch-message into *scratch* before displaying it.
15954 (Bug#9605) and (Bug#9636)
15955
15956 2011-09-29 Eli Zaretskii <eliz@gnu.org>
15957
15958 * simple.el (line-move): If auto-hscroll-mode is disabled and the
15959 window is hscrolled, move by logical lines. (Bug#9607)
15960 (line-move-visual): Update the doc string to the above effect.
15961
15962 2011-09-29 Martin Rudalics <rudalics@gmx.at>
15963
15964 * window.el (display-buffer-record-window): When WINDOW is the
15965 selected window use `point' instead of `window-point'. (Bug#9626)
15966
15967 * startup.el (command-line-1): Use insert-before-markers when
15968 inserting initial-scratch-message. (Bug#9605)
15969
15970 * help.el (help-window): Remove variable.
15971
15972 2011-09-29 Glenn Morris <rgm@gnu.org>
15973
15974 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
15975
15976 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
15977
15978 * descr-text.el (describe-char-categories): Accept category
15979 descriptions more than one line long.
15980
15981 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
15982
15983 * simple.el (delete-trailing-whitespace): Fix last change.
15984
15985 * progmodes/perl-mode.el (perl-syntax-propertize-function):
15986 Don't confuse "y => 3" as the beginning of a `y' operation.
15987
15988 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
15989 object has more than 4 slots (bug#9613).
15990
15991 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
15992
15993 * subr.el (with-output-to-temp-buffer):
15994 * net/quickurl.el (quickurl, quickurl-browse-url):
15995 Fix typos in docstrings.
15996
15997 2011-09-27 Eli Zaretskii <eliz@gnu.org>
15998
15999 * minibuffer.el (completion-styles)
16000 (completion-category-overrides): Cross reference each other in doc
16001 strings.
16002
16003 2011-09-27 Glenn Morris <rgm@gnu.org>
16004
16005 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
16006 to split-string. (Bug#9606)
16007
16008 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16009
16010 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
16011 (bug#9615).
16012
16013 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
16014
16015 * emacs-lisp/package.el (list-packages): Fix echo area message.
16016
16017 2011-09-27 Leo Liu <sdl.web@gmail.com>
16018
16019 * ido.el (ido-read-internal): Accept cons cell HIST arg.
16020
16021 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
16022
16023 * net/dbus.el (dbus-unregister-object): Don't release services for
16024 registered signals. (Bug#9581)
16025
16026 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
16027
16028 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
16029 function that picks between cfengine 2 and 3 support
16030 automatically. Update docs accordingly.
16031
16032 2011-09-22 Kenichi Handa <handa@m17n.org>
16033
16034 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
16035 ZERO.
16036 (indian-itrans-v5-table-for-tamil): New variable.
16037 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
16038
16039 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
16040
16041 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
16042 that's true if the current command involved collapsing of text.
16043 It's reset to false at the beginning of the next command.
16044 (allout-post-command-business): Move the cursor to the beginning
16045 of entry if the cursor is hidden and collapsing activity just
16046 happened.
16047
16048 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
16049
16050 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
16051 tracking (Bug#9541).
16052
16053 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
16054
16055 * net/newst-reader.el (newsticker-html-renderer)
16056 (newsticker-show-news): Automatically load html rendering package
16057 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
16058 because w3m-fill-column is let-bound" and the error "Symbol's value
16059 as variable is void: w3m-fill-column".
16060
16061 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
16062
16063 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
16064 Release services only if they are defined. (Bug#9581)
16065
16066 2011-09-23 Richard Stallman <rms@gnu.org>
16067
16068 * textmodes/paragraphs.el (forward-sentence): For backwards case,
16069 distinguish start of paragraph from start of its text.
16070
16071 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
16072
16073 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
16074 (rmail-generate-viewer-buffer): Put that hook on view buffer.
16075 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
16076
16077 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
16078
16079 * international/mule-diag.el (mule-diag): Insert a newline after
16080 each fontset description.
16081
16082 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16083
16084 * simple.el (delete-trailing-whitespace):
16085 Document last change; simplify.
16086
16087 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
16088
16089 * simple.el (delete-trailing-whitespace): Also delete
16090 extra newlines at the end of the buffer.
16091
16092 * textmodes/picture.el: Make motion commands obey shift-select-mode.
16093 (picture-newline): Use forward-line so as to ignore fields.
16094
16095 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16096
16097 * subr.el (with-wrapper-hook): Fix edebug spec.
16098
16099 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
16100
16101 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
16102 (bug#4538).
16103
16104 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
16105
16106 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
16107 Fix nasty bug using wrong cached values.
16108
16109 2011-09-23 Alan Mackenzie <acm@muc.de>
16110
16111 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
16112
16113 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
16114
16115 * window.el (pop-to-buffer): Ensure right window is selected if we
16116 chose another frame.
16117
16118 2011-09-22 Eli Zaretskii <eliz@gnu.org>
16119
16120 * simple.el (what-cursor-position): Use get-char-property-change
16121 and next-single-char-property-change, to be able to show display
16122 properties that come from overlays as well as text properties.
16123
16124 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
16125
16126 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
16127
16128 * cmuscheme.el (run-scheme, switch-to-scheme):
16129 * cus-edit.el (customize-group, custom-buffer-create)
16130 (customize-browse):
16131 * info.el (info):
16132 * shell.el (shell):
16133 * mail/sendmail.el (mail):
16134 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
16135
16136 2011-09-22 Richard Stallman <rms@gnu.org>
16137
16138 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
16139 move back only to line beg, don't move back over blank lines.
16140
16141 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
16142
16143 * files.el (copy-directory): Set directory attributes only in case
16144 they could be retrieved from the source directory. (Bug#9565)
16145
16146 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
16147
16148 * progmodes/hideshow.el (hs-looking-at-block-start-p)
16149 (hs-find-block-beginning, hs-hide-level-recursive):
16150 Ignore strings as well as comments. (Bug#9502)
16151
16152 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
16153
16154 * progmodes/sql.el (sql-comint-postgres):
16155 Convert port number to a string. (Bug#9566)
16156
16157 2011-09-22 Martin Rudalics <rudalics@gmx.at>
16158
16159 * window.el (quit-window): Undedicate window when switching to
16160 previous buffer. Reported by Thierry Volpiatto
16161 <thierry.volpiatto@gmail.com>.
16162 (special-display-popup-frame): When popping up a new frame reset
16163 its previous buffers to nil. Simplify code.
16164
16165 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
16166
16167 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
16168 and process filter, as done also in `shell-command'.
16169
16170 2011-09-21 Martin Rudalics <rudalics@gmx.at>
16171
16172 * window.el (set-window-buffer-start-and-point):
16173 Call set-window-start with NOFORCE argument t.
16174 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16175 (quit-window): Reword doc-string. Handle new format of
16176 quit-restore parameter. Don't delete window if it has a
16177 previous buffer we can show instead of the present one.
16178 (display-buffer-record-window): Rewrite using a new format for
16179 the quit-restore window parameter
16180 (special-display-popup-frame, display-buffer-same-window)
16181 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16182 (display-buffer-pop-up-window, display-buffer-use-some-window):
16183 Adapt symbol passed to display-buffer-record-window.
16184 * help.el (help-window-setup): Handle new format of quit-restore
16185 parameter.
16186
16187 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
16188
16189 * faces.el (face-list): Fix docstring (bug#9564).
16190
16191 * window.el (display-buffer--action-function-custom-type):
16192 Don't include internal functions in the Custom interface.
16193
16194 2011-09-20 Juri Linkov <juri@jurta.org>
16195
16196 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
16197 (Info-forward-node, Info-backward-node, Info-next-preorder)
16198 (Info-last-preorder): Use it. (Bug#9528)
16199
16200 2011-09-20 Juri Linkov <juri@jurta.org>
16201
16202 * info.el (Info-last-preorder): Visit last menu item only when
16203 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
16204
16205 2011-09-20 Julien Danjou <julien@danjou.info>
16206
16207 * password-cache.el (password-cache-remove): Remove entries even if the
16208 value is nil, so that password with a nil value (negative caching) is
16209 possible to invalidate.
16210
16211 2011-09-20 Lawrence Mitchell <wence@gmx.li>
16212
16213 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
16214 all whitespace around breakpoint. (Bug#9553)
16215 (f90-find-breakpoint): Only break at whitespace inside a comment.
16216
16217 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
16218
16219 * minibuffer.el (completion-file-name-table): Keep track of errors.
16220 (completion-table-with-predicate): Handle the case where pred1 is nil.
16221 * pcomplete.el (pcomplete-completions-at-point): Simplify.
16222
16223 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16224
16225 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
16226 (debugger-return-value): Signal an error if the debugging context does
16227 not await any return value.
16228
16229 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
16230 * image-mode.el (image-toggle-display-text)
16231 (image-toggle-display-image): Stay away from evil `intangible'.
16232
16233 2011-09-19 Leo Liu <sdl.web@gmail.com>
16234
16235 * replace.el (occur-revert-arguments): Make it permanent-local.
16236 (occur-mode): Don't call font-lock-defontify.
16237
16238 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
16239
16240 * net/ldap.el (ldap-search-internal): Don't push empty search
16241 result (Bug#9508).
16242
16243 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16244
16245 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
16246
16247 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
16248
16249 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
16250 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
16251
16252 2011-09-18 Juri Linkov <juri@jurta.org>
16253
16254 * buff-menu.el (Buffer-menu-mode-map):
16255 * dired.el (dired-mode-map):
16256 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
16257 (lisp-interaction-mode-map):
16258 * emacs-lisp/package.el (package-menu-mode-map):
16259 * epa.el (epa-key-list-mode-map):
16260 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
16261 (menu-bar-options-menu):
16262 * outline.el (outline-mode-menu-bar-map):
16263 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
16264 * vc/vc-dir.el (vc-dir-menu-map):
16265 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
16266 Capitalize non-function content words in menu item strings.
16267
16268 * dired.el (dired-mode-map): Add menu item for
16269 `image-dired-dired-toggle-marked-thumbs'.
16270
16271 2011-09-18 Juri Linkov <juri@jurta.org>
16272
16273 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
16274 to `isearch-case-fold-search' and restore its original value
16275 after the `isearch-mode' call.
16276
16277 2011-09-18 Juri Linkov <juri@jurta.org>
16278
16279 * progmodes/grep.el (grep-process-setup): Don't check code for 1
16280 because `zgrep' returns 1 for successful matches (bug#9226).
16281
16282 2011-09-18 Juri Linkov <juri@jurta.org>
16283
16284 * info.el (Info-extract-menu-node-name): Check the second match
16285 for empty string (second test-case of bug#9528).
16286 (Info-last-preorder): Let-bind `Info-history' to nil to not add
16287 intermediate nodes to the history (first test-case of bug#9528).
16288
16289 2011-09-18 Juri Linkov <juri@jurta.org>
16290
16291 * info.el (Info-mode-syntax-table): New variable.
16292 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
16293
16294 2011-09-18 Juri Linkov <juri@jurta.org>
16295
16296 * info.el (Info-file-supports-index-cookies):
16297 Increment line-beginning-position's arg from 3 to 4 because makeinfo
16298 outputs one more line for long file names (bug#4142).
16299
16300 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
16301
16302 * newcomment.el (comment-normalize-vars): If prompting for
16303 comment-start, set comment-start-skip too (Bug#8424).
16304
16305 2011-09-18 Johan Bockgård <bojohan@gnu.org>
16306
16307 * icomplete.el: Fix previous fix of Bug#5849.
16308 (icomplete-mode): Don't set completion-show-inline-help.
16309 (icomplete-minibuffer-setup): Set completion-show-inline-help
16310 locally during icompletion.
16311
16312 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
16313
16314 * woman.el (woman2-process-escapes): Don't delete unrecognized
16315 escapes (Bug#7843).
16316
16317 * files.el (inhibit-first-line-modes-regexps): Add image files.
16318 (hack-local-variables-prop-line): Return nil for malformed
16319 prop-lines (Bug#9044).
16320
16321 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
16322
16323 * net/tramp.el (top): Don't require 'shell.
16324 (tramp-methods): Fix docstring.
16325 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
16326 Return complete remote file name. Handle "smb" case.
16327 Use `tramp-tmpdir', if defined for the respective method.
16328 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
16329
16330 * net/tramp-compat.el (top): Require 'shell.
16331
16332 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
16333 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
16334 `tramp-current-host'.
16335 (tramp-get-remote-tmpdir): Remove.
16336
16337 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
16338 `tramp-tmpdir' entries.
16339 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
16340 (tramp-smb-handle-file-attributes): Ignore errors.
16341 (tramp-smb-wait-for-output): Check also for process end.
16342
16343 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
16344
16345 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
16346 when sending QUIT (bug#9312).
16347
16348 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
16349
16350 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
16351 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
16352 occur-mode-display-occurrence.
16353 (occur-edit-mode): Add usage message.
16354 (occur-cease-edit): New command.
16355 (occur-after-change-function): Use text properties to find the
16356 position of the prefix text.
16357 (occur-engine): Set stickiness of prefix text properties.
16358
16359 2011-09-17 Glenn Morris <rgm@gnu.org>
16360
16361 * progmodes/etags.el (complete-tag):
16362 Fix call to completion-in-region. (Bug#9526)
16363
16364 2011-09-17 Juri Linkov <juri@jurta.org>
16365
16366 * textmodes/ispell.el (ispell-word): Add to the error message
16367 the word, ispell program name and current dictionary (bug#9121).
16368 (ispell-tex-arg-end): Capitalize "error" in the error message.
16369
16370 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
16371
16372 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
16373 check. (Bug#4251)
16374
16375 2011-09-17 Juri Linkov <juri@jurta.org>
16376
16377 * window.el (window-safe-min-height, window-safe-min-width):
16378 Fix typos (followup to bug#9522).
16379
16380 2011-09-17 Sven Joachim <svenjoac@gmx.de>
16381
16382 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
16383
16384 2011-09-16 Eli Zaretskii <eliz@gnu.org>
16385
16386 * simple.el (line-move): If goal-column is set, move by logical
16387 lines, not by display lines. (Bug#971)
16388 (next-line, previous-line, goal-column, line-move-visual): Doc fix
16389 to reflect the above change.
16390
16391 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16392
16393 * image.el (imagemagick-register-types): Use regexp-opt.
16394
16395 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
16396
16397 * window.el (display-buffer-base-action): Rename from
16398 display-buffer-default-action. Make default value empty.
16399 (display-buffer-overriding-action): Convert to defvar.
16400 (display-buffer-fallback-action): New var.
16401
16402 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
16403
16404 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
16405 declaration.
16406 (package--add-to-archive-contents): If there is a duplicate entry
16407 with an older version, remove it.
16408 (package-menu-mark-delete, package-menu-mark-install)
16409 (package-menu-mark-unmark): Make unused args optional.
16410 (package-menu-mark-obsolete-for-deletion):
16411 Use package-menu-get-status instead of a regexp search.
16412 (package-menu-get-status): Use tabulated-list-entry.
16413 (package-menu-mark-upgrades): New command.
16414 (package-menu-mode-map): Bind it to U. Add it to menu bar.
16415 (package-menu-execute): Do installation before deletion.
16416 (package-menu-refresh, package-menu-execute): Use derived-mode-p
16417 instead of checking major-mode.
16418 (package-menu--find-upgrades): New function.
16419
16420 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16421
16422 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
16423 passwords in the log buffer.
16424 (smtpmail-process-filter): Update the process marker so that the
16425 "broken by peer" status message is inserted in the right place.
16426
16427 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
16428
16429 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
16430 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
16431 bibtex-completion-at-point-function.
16432 (bibtex-completion-at-point-function): Use them.
16433
16434 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
16435
16436 * mpc.el (mpc-constraints-tag-lookup): New function.
16437 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
16438 also to browser "album|playlist".
16439
16440 2011-09-14 Juri Linkov <juri@jurta.org>
16441
16442 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
16443 (isearch-edit-string): Use length of `isearch-string' when
16444 `isearch-fail-pos' returns nil.
16445 (isearch-message): Remove duplicate code and call
16446 `isearch-fail-pos' with arg `t'.
16447
16448 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
16449
16450 * replace.el (occur-mode-goto-occurrence): Don't force using other
16451 window (Bug#9499).
16452
16453 * dired-aux.el (dired-do-chmod): Don't provide initial input.
16454
16455 2011-09-14 Martin Rudalics <rudalics@gmx.at>
16456
16457 * window.el (display-buffer-window): Remove.
16458 (display-buffer-record-window): Use help-setup window parameter
16459 instead of variable display-buffer-window.
16460 (display-buffer-function, special-display-buffer-names)
16461 (special-display-function): Mention help-setup parameter instead
16462 of display-buffer-window in doc-string.
16463 * help.el (help-window-setup): New argument help-window.
16464 Use help-window-setup parameter instead of display-buffer-window.
16465 Reword some messages.
16466 (with-help-window): Pass window used for displaying the buffer
16467 to help-window-setup. Don't set display-buffer-window.
16468
16469 2011-09-13 Glenn Morris <rgm@gnu.org>
16470
16471 * emacs-lisp/debug.el (debugger-make-xrefs):
16472 Preserve point. (Bug#9462)
16473
16474 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
16475
16476 * window.el (window-deletable-p): Use next-frame.
16477
16478 2011-09-13 Martin Rudalics <rudalics@gmx.at>
16479
16480 * window.el (window-auto-delete): Remove.
16481 (window-deletable-p): Remove argument FORCE. Don't deal with
16482 dedication and previous buffers.
16483 (switch-to-prev-buffer): Don't delete window.
16484 (delete-windows-on): Delete a window's frame if and only if the
16485 window is dedicated.
16486 (replace-buffer-in-windows): Delete buffer's window or frame if
16487 and only if window is dedicated.
16488 (quit-window): Handle quit-restore as before last change.
16489 (bury-buffer): Delete window only if window-deletable-p returns t.
16490
16491 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
16492
16493 * window.el (window-deletable-p): Never delete the last frame on a
16494 given terminal.
16495
16496 2011-09-13 Glenn Morris <rgm@gnu.org>
16497
16498 * help.el (describe-key-briefly): Copy previous standard-output change.
16499
16500 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
16501
16502 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
16503
16504 2011-09-13 Glenn Morris <rgm@gnu.org>
16505
16506 * emacs-lisp/lisp-mode.el (lisp-indent-function):
16507 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
16508
16509 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
16510
16511 * dired-aux.el (dired-mark-read-string): Don't return default
16512 value on empty input (Bug#9361).
16513 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
16514 Omit initial minibuffer contents.
16515 (dired-do-chmod): Signal an error on empty input.
16516 (dired-mark-read-string): Don't return default on empty input.
16517
16518 * files.el (file-modes-symbolic-to-number): Doc fix.
16519
16520 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16521
16522 * international/mule-cmds.el (ucs-completions): Remove.
16523 (read-char-by-name): Use complete-with-action instead; add metadata.
16524
16525 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
16526
16527 * window.el (display-buffer--action-function-custom-type)
16528 (display-buffer--action-custom-type): New vars.
16529 (display-buffer-alist, display-buffer-default-action)
16530 (display-buffer-overriding-action): Add defcustom types.
16531
16532 * frame.el (delete-other-frames): Doc fix (Bug#276).
16533
16534 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16535
16536 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
16537
16538 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
16539
16540 Change modes that used same-window-* vars to use switch-to-buffer.
16541
16542 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
16543 Use switch-to-buffer.
16544
16545 * cus-edit.el (customize-group, custom-buffer-create)
16546 (customize-browse, custom-buffer-create-other-window):
16547 Use switch-to-buffer or switch-to-buffer-other-window.
16548
16549 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
16550 (Info-prev, Info-up, Info-speedbar-goto-node)
16551 (info-display-manual): Use switch-to-buffer.
16552 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
16553
16554 * mail/sendmail.el (mail): Use switch-to-buffer.
16555 (mail-recover): Use switch-to-buffer-other-window.
16556
16557 * cmuscheme.el (run-scheme, switch-to-scheme):
16558 * ielm.el (ielm):
16559 * shell.el (shell):
16560 * net/rlogin.el (rlogin):
16561 * net/telnet.el (telnet, rsh):
16562 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
16563
16564 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16565
16566 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
16567
16568 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16569
16570 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
16571 so don't mention it (bug#9301).
16572 (dired-sort-toggle-or-edit): Clarify string further.
16573
16574 * faces.el (face-spec-set-match-display): Make `(type graphic)'
16575 match `x', `w32' and `ns', like the manual says (bug#9029).
16576
16577 * subr.el (eval-after-load): Doc string clarification (bug#9125).
16578 (process-kill-buffer-query-function): Mention the buffer name in
16579 the query.
16580
16581 * image-mode.el (image-next-line): The line parameter is mandatory
16582 (bug#9258).
16583
16584 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
16585 which can be useful (bug#9301).
16586
16587 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
16588
16589 * subr.el (match-string): Mention that the current buffer should
16590 be the same as the search was done in (bug#9282).
16591
16592 * facemenu.el: Disable the remove-* commands if the mark isn't
16593 active (bug#9162).
16594
16595 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
16596
16597 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
16598 of display-buffer.
16599 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
16600
16601 * replace.el (occur-mode-goto-occurrence)
16602 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
16603 and display-buffer.
16604
16605 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
16606 display-buffer.
16607
16608 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
16609 special-display and same-window variables.
16610 (mail-other-window): Use switch-to-buffer-other-window.
16611 (mail-other-frame): USe switch-to-buffer-other-frame.
16612
16613 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
16614 Use display-buffer-other-frame.
16615 (gdb-display-gdb-buffer): Use pop-to-buffer.
16616
16617 * progmodes/gud.el (gud-goto-info): Use info-other-window.
16618
16619 * progmodes/python.el: Don't set same-window-buffer-names.
16620
16621 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
16622
16623 * window.el (display-buffer-alist): Add *Python*.
16624
16625 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
16626
16627 * window.el (display-buffer-alist): Add entry for buffers
16628 previously handled same-window-*.
16629 (display-buffer-alist, display-buffer-default-action)
16630 (display-buffer-overriding-action): Mark as risky.
16631 (display-buffer-alist): Document action function changes.
16632 (display-buffer--same-window-action)
16633 (display-buffer--other-frame-action): New variables.
16634 (switch-to-buffer, display-buffer-other-frame): Use them.
16635 (display-buffer): Rename reuse-frame entry to reusable-frames.
16636 (display-buffer-reuse-selected-window): Function deleted.
16637 (display-buffer-reuse-window): Handle reusable-frames alist entry.
16638 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
16639 (display-buffer-special): New function.
16640 (display-buffer--maybe-pop-up-frame-or-window): Rename from
16641 display-buffer-reuse-or-pop-window. Split off special-display
16642 part into display-buffer-special.
16643 (display-buffer-use-some-window): Don't perform any special
16644 pop-up-frames handling.
16645 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
16646 (display-buffer--maybe-same-window): Rename from
16647 display-buffer-maybe-same-window.
16648
16649 * info.el: Don't set same-window-regexps.
16650 (info-setup): New function.
16651 (info-other-window, info): Call it.
16652
16653 * cus-edit.el: Don't set same-window-regexps.
16654 (customize-group): New argument.
16655 (customize-group-other-window): Use it.
16656 (customize-face, customize-face-other-window): Likewise.
16657 (custom-buffer-create-other-window): Use pop-to-buffer directly.
16658
16659 * net/rlogin.el:
16660 * net/telnet.el:
16661 * progmodes/gud.el: Don't set same-window-regexps.
16662
16663 * cmuscheme.el:
16664 * ielm.el:
16665 * shell.el:
16666 * mail/sendmail.el:
16667 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
16668
16669 2011-09-10 Juri Linkov <juri@jurta.org>
16670
16671 * isearch.el (isearch-edit-string): Remove obsolete mention of
16672 `C-w' (`isearch-yank-word-or-char') from docstring.
16673 (isearch-query-replace): Fix typo in docstring (bug#9466).
16674
16675 2011-09-10 Juri Linkov <juri@jurta.org>
16676
16677 * paren.el (show-paren-function): Don't show escaped parens.
16678 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
16679
16680 2011-09-10 Eli Zaretskii <eliz@gnu.org>
16681
16682 * mail/sendmail.el (mml-to-mime, mml-attach-file)
16683 (mm-default-file-encoding): Remove autoload forms, they are
16684 replaced with autoload cookies in mml.el and mm-encode.el.
16685 (mail-add-attachment): New command.
16686 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
16687 (mail-mode): Mention mail-insert-file and mail-add-attachment in
16688 the doc string.
16689 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
16690
16691 2011-09-10 Reuben Thomas <rrt@sc3d.org>
16692
16693 * simple.el (count-words-region): Use buffer if there's no region
16694 (bug#9429).
16695
16696 2011-09-09 Juri Linkov <juri@jurta.org>
16697
16698 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
16699 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
16700 (wdired-isearch-filter-read-only): New function. (Bug#6362)
16701
16702 2011-09-09 Alan Mackenzie <acm@muc.de>
16703
16704 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
16705 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
16706
16707 2011-09-09 Eli Zaretskii <eliz@gnu.org>
16708
16709 Fix for Savannah bug#9392.
16710 * simple.el (mail-encode-mml): New defvar.
16711
16712 * mail/rmail.el (mail-encode-mml): Add a defvar.
16713 (rmail-enable-mime-composing): Default to t.
16714 (rmail-forward): Use MIME method of forwarding only if both
16715 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
16716 Set mail-encode-mml non-nil if the MIME method was used.
16717
16718 * mail/sendmail.el (mml-to-mime): Add autoload form.
16719 (mail-encode-mml): Add a defvar.
16720 (mail-mode): Make mail-encode-mml buffer-local and initialize it
16721 to nil.
16722 (mail-send): If mail-encode-mml is non-nil, run the outgoing
16723 message through mml-to-mime, and reset mail-encode-mml to nil.
16724
16725 2011-09-09 Glenn Morris <rgm@gnu.org>
16726
16727 * woman.el (woman-if-body): When processing an .el block,
16728 do not delete the next .el block as well. (Bug#9447)
16729 (woman-special-characters): Add oq, cq, and hy characters.
16730
16731 2011-09-08 Martin Rudalics <rudalics@gmx.at>
16732
16733 * window.el (window-deletable-p): Make sure window is live before
16734 invoking window-prev-buffers.
16735
16736 2011-09-08 Leo Liu <sdl.web@gmail.com>
16737
16738 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
16739
16740 2011-09-08 Juri Linkov <juri@jurta.org>
16741
16742 * progmodes/compile.el (compilation-environment): Make it
16743 a defcustom (bug#8340).
16744
16745 2011-09-08 Martin Rudalics <rudalics@gmx.at>
16746
16747 * window.el (frame-auto-delete): Rename to window-auto-delete.
16748 Make it control auto-deletion of windows and/or frames.
16749 (window-deletable-p): New argument FORCE. Rewrite conditions
16750 for deleting window/frame. (Bug#9419)
16751 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
16752 Rewrite handling of case when window/frame can be deleted.
16753 (delete-windows-on): Call window-deletable-p with new FORCE
16754 argument t. (Bug#9456)
16755
16756 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
16757
16758 * help-mode.el (help-mode): Restore autoload.
16759
16760 2011-09-07 Juri Linkov <juri@jurta.org>
16761
16762 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
16763 `compilation-environment'. Set buffer-local
16764 `compilation-environment' to `thisenv' later after (funcall mode).
16765 (Bug#8340)
16766
16767 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
16768 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
16769 instead of replacing its value. (Bug#8340)
16770
16771 2011-09-07 Juri Linkov <juri@jurta.org>
16772
16773 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
16774 based on text properties put by `grep-filter' instead of matching
16775 escape sequences.
16776 (grep-mode): Set buffer-local `compilation-error-screen-columns'
16777 to the value of `grep-error-screen-columns' (bug#9438).
16778
16779 2011-09-07 Juri Linkov <juri@jurta.org>
16780
16781 * simple.el (next-error-highlight, next-error-highlight-no-select):
16782 Doc fix (bug#9432).
16783
16784 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
16785
16786 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16787 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
16788
16789 2011-09-07 Leo Liu <sdl.web@gmail.com>
16790
16791 * net/rcirc.el (rcirc-mode): Conditionally initialize
16792 rcirc-input-ring.
16793
16794 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
16795
16796 * emacs-lisp/find-func.el (find-function-C-source): Only set
16797 find-function-C-source-directory after checking that we found a source
16798 file there (bug#9440).
16799
16800 2011-09-06 Alan Mackenzie <acm@muc.de>
16801
16802 * isearch.el (isearch-other-meta-char): Wherever a key list is
16803 unread, "unread" the prefix arg, too. This fixes bug #8901.
16804
16805 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
16806
16807 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
16808
16809 2011-09-05 Juri Linkov <juri@jurta.org>
16810
16811 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
16812
16813 2011-09-05 Juri Linkov <juri@jurta.org>
16814
16815 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
16816 keeping point where processing of grep matches begins, and
16817 continue to delete remaining escape sequences from the same point.
16818 (grep-filter): Make leading zero optional in "0?1;31m" because
16819 git-grep emits "\033[1;31m" escape sequences unlike expected
16820 "\033[01;31m" as GNU Grep does (bug#9408).
16821 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
16822
16823 2011-09-05 Juri Linkov <juri@jurta.org>
16824
16825 * subr.el (y-or-n-p): Capitalize "yes".
16826
16827 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
16828
16829 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
16830 `tramp-cache-unload-hook' where appropriate.
16831 (tramp-methods): Rename `tramp-remote-sh' to
16832 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
16833 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
16834
16835 * net/tramp-sh.el (top): Don't require 'shell.
16836 (tramp-methods): Add `tramp-remote-shell' and
16837 `tramp-remote-shell-args' entries.
16838 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
16839 (tramp-sh-handle-shell-command): Remove.
16840 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
16841 Use `tramp-remote-shell'.
16842
16843 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
16844
16845 * mail/sendmail.el (sendmail-query-once-function): Delete.
16846 (sendmail-query-once): Save directly to send-mail-function.
16847 Update message-send-mail-function too.
16848
16849 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
16850
16851 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16852
16853 * progmodes/python.el (python-mode-map): Use correct function to
16854 start python interpreter from menu-bar (as reported by Geert
16855 Kloosterman).
16856 (inferior-python-mode-map): Fix typo.
16857 (python-shell-map): Remove.
16858
16859 2011-09-03 Deniz Dogan <deniz@dogan.se>
16860
16861 * net/rcirc.el (rcirc-print): Simplify code for
16862 rcirc-scroll-show-maximum-output. There is no need to walk
16863 through all windows to find the right one.
16864
16865 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16866
16867 * help.el (help-return-method): Doc fix.
16868
16869 2011-09-03 Martin Rudalics <rudalics@gmx.at>
16870
16871 * window.el (window-deletable-p): Don't return a non-nil value
16872 when there's a buffer that was shown in the window before.
16873 (Bug#9419)
16874 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16875 Set window's previous buffers to nil.
16876
16877 2011-09-03 Eli Zaretskii <eliz@gnu.org>
16878
16879 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
16880 newline before and after the tag line, so it doesn't interfere
16881 with determining the paragraph direction of bidirectional text.
16882
16883 2011-09-03 Leo Liu <sdl.web@gmail.com>
16884
16885 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
16886
16887 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
16888
16889 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
16890 (pop-to-buffer): Change interactive spec. Pass second argument
16891 directly to display-buffer.
16892 (display-buffer): Fix interactive spec. Use functionp to
16893 distinguish between a function and a list of functions.
16894
16895 * abbrev.el (edit-abbrevs):
16896 * arc-mode.el (archive-extract):
16897 * autoinsert.el (auto-insert):
16898 * bookmark.el (bookmark-bmenu-list):
16899 * files.el (find-file):
16900 * view.el (view-buffer):
16901 * progmodes/compile.el (compilation-goto-locus):
16902 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
16903
16904 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
16905
16906 * window.el (display-buffer-alist): Doc fix.
16907 (display-buffer): Add docstring. Don't treat
16908 display-buffer-default specially.
16909 (display-buffer-reuse-selected-window)
16910 (display-buffer-same-window, display-buffer-maybe-same-window)
16911 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16912 (display-buffer-pop-up-window)
16913 (display-buffer-reuse-or-pop-window)
16914 (display-buffer-use-some-window): New functions.
16915 (display-buffer-default-action): Use them.
16916 (display-buffer-default): Delete.
16917 (pop-to-buffer-1): Fix choice of actions.
16918
16919 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
16920
16921 * minibuffer.el (completion--insert-strings): Don't get confused by
16922 completion entries that end with an LF char.
16923
16924 2011-09-01 Eli Zaretskii <eliz@gnu.org>
16925
16926 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
16927
16928 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
16929
16930 * window.el (display-buffer): Restore interactive spec.
16931 (display-buffer-same-window, display-buffer-other-window):
16932 New functions.
16933 (pop-to-buffer-1): New function. Use the above.
16934 (pop-to-buffer, pop-to-buffer-same-window): Use it.
16935 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
16936
16937 * view.el (view-buffer-other-window, view-buffer-other-frame):
16938 Just use pop-to-buffer.
16939
16940 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16941
16942 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
16943
16944 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
16945
16946 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
16947
16948 2011-08-31 Richard Stallman <rms@gnu.org>
16949
16950 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
16951 of the separation of rmail-view-buffer from rmail-buffer.
16952 If you say no to "replace original", the decrypt is in the
16953 view buffer. If you say yes, the decrypt goes into the
16954 rmail buffer also.
16955
16956 2011-08-31 Martin Rudalics <rudalics@gmx.at>
16957
16958 * window.el (display-buffer-window): Rewrite doc-string.
16959 (display-buffer-record-window): New function.
16960 (display-buffer-macro-specifiers)
16961 (display-buffer-even-window-sizes, display-buffer-set-height)
16962 (display-buffer-set-width, display-buffer-in-window)
16963 (display-buffer-reuse-window, display-buffer-split-specifiers)
16964 (display-buffer-side-specifiers, display-buffer-split-window-1)
16965 (display-buffer-split-window, display-buffer-split-atom-window)
16966 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16967 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
16968 (display-buffer-other-window-means-other-frame)
16969 (display-buffer-normalize-special)
16970 (display-buffer-normalize-default)
16971 (display-buffer-normalize-argument)
16972 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
16973 (display-buffer-normalize-specifiers, display-buffer-frame)
16974 (display-buffer-same-window, display-buffer-same-frame)
16975 (display-buffer-other-window)
16976 (display-buffer-same-frame-other-window)
16977 (display-buffer-other-frame, pop-to-buffer-same-window)
16978 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
16979 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
16980 (switch-to-buffer-same-frame)
16981 (switch-to-buffer-other-window-same-frame)
16982 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
16983 (display-buffer-alist-set-1, display-buffer-alist-set-2)
16984 (display-buffer-alist-set): Remove.
16985 (display-buffer-function, special-display-buffer-names)
16986 (special-display-regexps, special-display-function):
16987 In doc-string refer to display-buffer-window and quit-restore
16988 parameter.
16989 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
16990 (special-display-frame-alist, special-display-popup-frame)
16991 (same-window-buffer-names, same-window-regexps, same-window-p)
16992 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16993 (split-window-preferred-function, split-height-threshold)
16994 (split-width-threshold, window-splittable-p)
16995 (split-window-sensibly, window--try-to-split-window)
16996 (window--frame-usable-p, even-window-heights)
16997 (window--even-window-heights, window--display-buffer-1)
16998 (window--display-buffer-2, display-buffer-other-frame):
16999 Restore old Emacs 23 code, order and doc-strings where applicable.
17000 (display-buffer-default, display-buffer-assq-regexp): New functions.
17001 (display-buffer-alist): Rewrite doc-string.
17002 (display-buffer-default-action)
17003 (display-buffer-overriding-action): New variables.
17004 (display-buffer, switch-to-buffer): Rewrite.
17005 (pop-to-buffer): Restore Emacs 23 behavior but use
17006 window-normalize-buffer-to-display.
17007 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
17008 Restore Emacs 23 behavior but use
17009 window-normalize-buffer-to-switch-to.
17010 (pop-to-buffer-same-window): Rewrite.
17011 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
17012 Rewrite using Emacs 23 options.
17013
17014 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
17015
17016 * net/tramp.el (tramp-root-regexp): Remove.
17017 (tramp-completion-file-name-regexp-unified)
17018 (tramp-completion-file-name-regexp-separate)
17019 (tramp-completion-file-name-regexp-url): Don't use leading volume
17020 letter on w32 systems. (Bug#5303, Bug#9311)
17021 (tramp-drop-volume-letter): Simplify definition.
17022 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
17023
17024 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17025
17026 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
17027 (bug#9356).
17028
17029 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
17030
17031 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
17032
17033 2011-08-29 Juri Linkov <juri@jurta.org>
17034
17035 * isearch.el (isearch-done): Don't display message "Mark saved"
17036 when arg `edit' is non-nil to prevent its flicker in the echo area.
17037
17038 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
17039
17040 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
17041 obsolete packages for deletion.
17042
17043 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
17044
17045 * help-mode.el (help-mode-map): Add special-mode-map to parent.
17046 (help-mode): Derive help-mode from special-mode. Don't invoke
17047 view-mode from help-mode.
17048 (help-xref-override-view-map): Remove.
17049 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
17050 view-mode is not used anymore.
17051
17052 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
17053
17054 * server.el (server-port): Doc fix.
17055
17056 * cus-theme.el (custom-theme-choose-mode): Inherit from
17057 special-mode (Bug#9124).
17058 (custom-theme-choose-mode-map): Add special-mode to parent.
17059
17060 2011-08-28 Alan Mackenzie <acm@muc.de>
17061
17062 * progmodes/cc-fonts.el
17063 (c-make-font-lock-BO-decl-search-function): New function.
17064 (c-basic-matchers-after - "Fontify the clauses after various
17065 keywords"): Extract the three keyword lists for the 3 erroneous
17066 constructs from the list of four, and use the new function above
17067 in place of an old one.
17068
17069 2011-08-28 Deniz Dogan <deniz@dogan.se>
17070
17071 * net/rcirc.el (rcirc-insert-prev-input)
17072 (rcirc-insert-next-input): Remove unused argument.
17073
17074 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17075
17076 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
17077
17078 2011-08-27 Alan Mackenzie <acm@muc.de>
17079
17080 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
17081 handle function pointer parameters properly.
17082
17083 2011-08-27 Martin Rudalics <rudalics@gmx.at>
17084
17085 * window.el (display-buffer-reuse-window): Fix case where
17086 selected window was reused with non-nil OTHER-WINDOW argument.
17087 (Bug#9381)
17088
17089 2011-08-27 Deniz Dogan <deniz@dogan.se>
17090
17091 * net/rcirc.el (rcirc-check-auth-status): Adding support for
17092 oftc's NickServ messages.
17093
17094 2011-08-27 Glenn Morris <rgm@gnu.org>
17095
17096 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
17097
17098 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
17099
17100 * emacs-lisp/package.el (package-install): Call package-initialize
17101 if called interactively.
17102
17103 2011-08-26 Leo Liu <sdl.web@gmail.com>
17104
17105 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
17106
17107 2011-08-25 Juri Linkov <juri@jurta.org>
17108
17109 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17110 `search-whitespace-regexp' (bug#9364).
17111
17112 2011-08-25 Juri Linkov <juri@jurta.org>
17113
17114 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
17115 `regexp-search-ring' to their global values to protect from
17116 updating by `read-from-minibuffer' (bug#9185).
17117
17118 2011-08-25 Juri Linkov <juri@jurta.org>
17119
17120 * textmodes/ispell.el (ispell-command-loop): Add newline
17121 at the end of the "Use option `i'..." line.
17122
17123 2011-08-25 Juri Linkov <juri@jurta.org>
17124
17125 * battery.el (display-battery-mode): If `battery-status-function'
17126 or `battery-mode-line-format' is nil, display the message and set
17127 `display-battery-mode' to nil (bug#9363).
17128
17129 2011-08-25 Eli Zaretskii <eliz@gnu.org>
17130
17131 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
17132 bidi-string-mark-left-to-right; they are unnecessary now.
17133
17134 2011-08-25 Deniz Dogan <deniz@dogan.se>
17135
17136 * net/quickurl.el: Documentation typo fixes.
17137
17138 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
17139
17140 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
17141
17142 2011-08-25 Glenn Morris <rgm@gnu.org>
17143
17144 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
17145
17146 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
17147 (smtpmail-via-smtp): Handle nil response from smtp.
17148
17149 2011-08-24 Juri Linkov <juri@jurta.org>
17150
17151 * proced.el (proced-marked): Inherit from `error' instead of
17152 `font-lock-warning-face'.
17153
17154 * ibuffer.el (ibuffer-marked-face): Change default face from
17155 `font-lock-warning-face' to `warning'.
17156 (ibuffer-deletion-face): Change default face from
17157 `font-lock-type-face' to `error'.
17158
17159 * battery.el (battery-update): Use the face `error' instead of
17160 `font-lock-warning-face' (bug#6117).
17161
17162 2011-08-24 Juri Linkov <juri@jurta.org>
17163
17164 * faces.el (success): Change face color from "Green3" to
17165 "ForestGreen" on light background (bug#9353).
17166
17167 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
17168
17169 * window.el (quit-window): Rename from quit-restore-window.
17170 Use same arglist as old quit-window.
17171 (frame-auto-delete): Doc fix.
17172
17173 * view.el (view-mode-exit): Use quit-window.
17174
17175 2011-08-24 Juri Linkov <juri@jurta.org>
17176
17177 * isearch.el (isearch-ring-adjust1): Start visiting previous
17178 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
17179 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
17180 for empty search string (when the last search string is reused
17181 automatically) to adjust the isearch ring to the last element and
17182 prepare the correct index for further M-p commands (bug#9185).
17183
17184 2011-08-24 Kenichi Handa <handa@m17n.org>
17185
17186 * international/ucs-normalize.el: If decomposition property of
17187 CHAR is the default one (i.e. a list of CHAR itself), treat it as
17188 nil.
17189 (nfd, nfkd): Likewise.
17190
17191 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17192
17193 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
17194 from process filters aren't reliably transmitted to the surrounding
17195 accept-process-output.
17196 (mpc-proc-check): New function.
17197 (mpc-proc-sync): Use it (bug#8293)
17198
17199 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17200
17201 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
17202 Add compatibility functions (bug#9313).
17203
17204 2011-08-23 Eli Zaretskii <eliz@gnu.org>
17205
17206 * cus-start.el (all): Add entry for bidi-paragraph-direction.
17207
17208 * international/uni-bidi.el: Regenerate.
17209
17210 2011-08-23 Kenichi Handa <handa@m17n.org>
17211
17212 * international/charprop.el:
17213 * international/uni-bidi.el:
17214 * international/uni-category.el:
17215 * international/uni-combining.el:
17216 * international/uni-comment.el:
17217 * international/uni-decimal.el:
17218 * international/uni-decomposition.el:
17219 * international/uni-digit.el:
17220 * international/uni-lowercase.el:
17221 * international/uni-mirrored.el:
17222 * international/uni-name.el:
17223 * international/uni-numeric.el:
17224 * international/uni-old-name.el:
17225 * international/uni-titlecase.el:
17226 * international/uni-uppercase.el: Regenerate.
17227
17228 2011-08-23 Martin Rudalics <rudalics@gmx.at>
17229
17230 * help.el (help-window-setup): Fix message displayed when other
17231 window is reused. (Bug#9341)
17232
17233 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17234
17235 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
17236 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
17237
17238 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
17239 Mark obsolete.
17240 * shell.el (shell-parse-pcomplete-arguments): New function.
17241 (shell-completion-vars): Use it instead (bug#9160).
17242
17243 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
17244
17245 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
17246 strings and comments (bug#9333).
17247
17248 * emacs-lisp/debug.el (debug-arglist): New function.
17249 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
17250 (debug-on-entry-1): Handle interpreted closures (bug#9120).
17251
17252 2011-08-22 Juri Linkov <juri@jurta.org>
17253
17254 * progmodes/compile.el (compilation-mode-font-lock-keywords):
17255 Revert regexp that highlights output switches to its old
17256 pre-2010-10-28 value and remove one `?' from it (bug#9319).
17257
17258 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
17259 to check for empty output (bug#9226).
17260
17261 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
17262
17263 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
17264 symbol-constituent as the default, as that stops font-lock from
17265 working properly (Bug#8843).
17266
17267 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17268
17269 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
17270 `coding-system-for-*' around the process open call to avoid
17271 auth-source side effects.
17272 (smtpmail-try-auth-methods): Expand the secret password.
17273 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
17274 probe hangs.
17275
17276 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
17277
17278 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
17279
17280 * emacs-lisp/find-func.el (find-function-noselect): New arg
17281 lisp-only.
17282
17283 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
17284 signal an error for built-in functions (Bug#6664).
17285
17286 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17287
17288 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
17289 (smtpmail-try-auth-methods): Use it.
17290
17291 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
17292
17293 * font-lock.el (font-lock-fontify-region)
17294 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
17295 (font-lock-default-unfontify-buffer)
17296 (font-lock-default-fontify-region)
17297 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
17298
17299 * progmodes/compile.el (compilation-error-properties):
17300 Fix confusion between file struct and message struct (Bug#9319).
17301 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
17302 `ant' regexp.
17303
17304 * net/browse-url.el (browse-url-firefox): Don't call
17305 browse-url-firefox-sentinel unless using -remote (Bug#9328).
17306
17307 2011-08-20 Glenn Morris <rgm@gnu.org>
17308
17309 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
17310
17311 * tutorial.el (tutorial--default-keys): Update some default bindings.
17312
17313 * files.el (hack-local-variables): Fully ignore case for "mode:".
17314
17315 2011-08-20 Alan Mackenzie <acm@muc.de>
17316
17317 Resolve invalid use of a regexp in regexp-opt.
17318
17319 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
17320 detection for a java annotation.
17321
17322 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
17323 detection for a java annotation.
17324
17325 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
17326 handling for java.
17327 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
17328
17329 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
17330
17331 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
17332 (Bug#9274).
17333
17334 2011-08-20 Alan Mackenzie <acm@muc.de>
17335
17336 Fontify CPP expressions correctly when starting in the middle of
17337 such a construct. Mainly for when jit-lock etc. starts a chunk
17338 here.
17339
17340 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
17341 variable.
17342 (c-make-font-lock-search-form): New function, extracted from
17343 c-make-font-lock-search-function.
17344 (c-make-font-lock-search-function): Use the above function.
17345 (c-make-font-lock-context-search-function): New function.
17346 (c-cpp-matchers): Enhance the preprocessor expression case with
17347 the above function
17348 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
17349 which takes an expression.
17350
17351 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
17352
17353 2011-08-20 Martin Rudalics <rudalics@gmx.at>
17354
17355 * window.el (display-buffer-reuse-window)
17356 (display-buffer-pop-up-window): Don't reuse or split a side
17357 window.
17358
17359 2011-08-19 Glenn Morris <rgm@gnu.org>
17360
17361 * files.el (hack-local-variables-prop-line, hack-local-variables):
17362 Downcase "Mode:". (Bug#9331)
17363
17364 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
17365
17366 * international/characters.el: Add L and R categories.
17367
17368 * subr.el (bidi-string-mark-left-to-right): Rename from
17369 string-mark-left-to-right. Use category search.
17370
17371 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
17372
17373 2011-08-18 Juri Linkov <juri@jurta.org>
17374
17375 * faces.el (error, warning, success): New faces with definitions
17376 copied from old default values of `font-lock-warning-face',
17377 `compilation-warning', `compilation-info' (bug#6117).
17378
17379 * font-lock.el (font-lock-warning-face): Inherit from `error'.
17380
17381 * progmodes/compile.el (compilation-error): Inherit from `error'.
17382 (compilation-warning): Inherit from `warning'.
17383 (compilation-info): Inherit from `success'.
17384
17385 * dired.el (dired-marked): Inherit from `warning'.
17386 (dired-flagged): Inherit from `error'.
17387
17388 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17389
17390 * mail/smtpmail.el (auth-source): Require to avoid problems with
17391 binding variables (bug#9298). Also clean up some unused
17392 autoloads.
17393
17394 * net/network-stream.el (network-stream-open-starttls):
17395 Support using starttls.el without using gnutls-cli.
17396
17397 2011-08-17 Juri Linkov <juri@jurta.org>
17398
17399 * progmodes/grep.el (rgrep): Handle the case when
17400 `grep-find-command' is a cons cell (bug#9278).
17401
17402 2011-08-17 Martin Rudalics <rudalics@gmx.at>
17403
17404 * window.el (display-buffer-pop-up-frame): Run frame creation
17405 function with BUFFER current (as special-display-popup-frame
17406 does). Reported by Drew Adams.
17407
17408 2011-08-17 Daiki Ueno <ueno@unixuser.org>
17409
17410 * epa-mail.el: Simplify GnuPG group expansion using
17411 epg-expand-group.
17412 (epa-mail-group-alist, epa-mail-group-modtime)
17413 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
17414 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
17415 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
17416 Remove.
17417
17418 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
17419
17420 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
17421
17422 2011-08-16 Alan Mackenzie <acm@muc.de>
17423
17424 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
17425 Correct, to avoid the inside of macros.
17426
17427 2011-08-16 Richard Stallman <rms@gnu.org>
17428
17429 * epa-mail.el: Handle GnuPG group definitions.
17430 (epa-mail-group-alist, epa-mail-group-modtime)
17431 (epa-mail-gnupg-conf-file): New variables.
17432 (epa-mail-parse-groups, epa-mail-sync-groups)
17433 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
17434 (epa-mail-expand-recipients): New functions.
17435 (epa-mail-encrypt): Call epa-mail-expand-recipients.
17436
17437 * mail/rmail.el (rmail-epa-decrypt): New command.
17438
17439 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
17440 Don't bind buffer-read-only, just inhibit-read-only.
17441 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
17442 (epa-decrypt-armor-in-region): Make error message clearer.
17443
17444 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
17445
17446 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
17447 and "a2b" to "ab" for `prefix'.
17448
17449 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
17450
17451 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
17452 filter groups.
17453 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
17454 Fourquet (Bug#8804).
17455
17456 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
17457
17458 * startup.el (argi): Declare as global variable (bug#9275).
17459
17460 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
17461
17462 * subr.el (string-mark-left-to-right): Search the entire string
17463 for RTL script, not just the terminating character. Doc fix.
17464
17465 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
17466
17467 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
17468 New function.
17469 (js--regexp-literal, js-syntax-propertize-function): Remove.
17470 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
17471 (js-mode-map): Don't rebind electric keys.
17472 (js-insert-and-indent): Remove.
17473 (js-mode): Setup electric-layout and electric-indent instead.
17474
17475 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
17476
17477 2011-08-12 Daiki Ueno <ueno@unixuser.org>
17478
17479 * epa.el (epa-progress-callback-function): Fix the logic of
17480 displaying progress.
17481 * epa-file.el (epa-file-insert-file-contents): Make progress
17482 display more user-friendly.
17483 (epa-file-write-region): Ditto.
17484
17485 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
17486
17487 * subr.el (string-mark-left-to-right): New function.
17488
17489 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
17490 Use string-mark-left-to-right.
17491 (list-buffers-noselect): Caller changed.
17492
17493 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17494 Use string-mark-left-to-right.
17495 (tabulated-list-print): Recenter after moving point.
17496
17497 2011-08-10 Juri Linkov <juri@jurta.org>
17498
17499 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
17500 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
17501 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
17502
17503 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
17504
17505 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
17506 (Bug#7554).
17507
17508 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
17509
17510 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
17511 character. (Bug#6594)
17512
17513 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
17514
17515 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
17516 (image-dired--with-db-file): New macro.
17517 (image-dired-write-tags, image-dired-remove-tag)
17518 (image-dired-create-gallery-lists, image-dired-write-comments)
17519 (image-dired-get-comment, image-dired-mark-tagged-files)
17520 (image-dired-list-tags, image-dired-gallery-generate): Use it.
17521 (image-dired-gallery-generate): Use insert-file-contents.
17522
17523 * time.el (display-time-world-list, display-time-world-display):
17524 * time-stamp.el (time-stamp-string):
17525 * vc/add-log.el (add-change-log-entry): Use setenv instead of
17526 set-time-zone-rule (Bug#7337).
17527
17528 2011-08-08 Daiki Ueno <ueno@unixuser.org>
17529
17530 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
17531 (epg-error-to-string, epg-errors-to-string): New function.
17532 (epg-wait-for-completion): Reverse errors list.
17533 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
17534 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
17535 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
17536 (epg-sign-keys, epg-generate-key-from-file)
17537 (epg-generate-key-from-string): Format errors by using
17538 epg-errors-to-string (bug#9255).
17539 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
17540
17541 2011-08-07 Juri Linkov <juri@jurta.org>
17542
17543 * faces.el (list-faces-display): Remove extra angle bracket
17544 from `help-mode-map'.
17545
17546 * info.el (Info-history-toc-nodes): Doc fix.
17547
17548 * longlines.el (longlines-mode): Doc fix.
17549
17550 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
17551
17552 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
17553 of statements and in a few more cases (bug#9183).
17554
17555 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
17556 New functions.
17557 (cl-transform-lambda): Use them (bug#9239).
17558
17559 2011-08-05 Martin Rudalics <rudalics@gmx.at>
17560
17561 * window.el (display-buffer-same-window)
17562 (display-buffer-same-frame, display-buffer-other-window)
17563 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17564 (pop-to-buffer-other-window)
17565 (pop-to-buffer-same-frame-other-window)
17566 (pop-to-buffer-other-frame): Make them defuns.
17567 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
17568
17569 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17570
17571 * subr.el (make-composed-keymap): Move from C. Change calling
17572 convention, and improve docstring to bring attention to a subtle point.
17573 * minibuffer.el (completing-read-default): Adjust accordingly.
17574
17575 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
17576
17577 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
17578 (tramp-open-shell): Use `tramp-shell-quote-argument'.
17579
17580 * net/trampver.el: Update release number.
17581
17582 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17583
17584 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
17585 "in" (bug#9190).
17586
17587 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17588
17589 * mail/sendmail.el (sendmail-query-once): Restore the current
17590 buffer after querying (bug#9074).
17591
17592 * dired.el (dired-flagged): Use different faces for marked and
17593 flagged files (bug#6117).
17594
17595 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
17596 (bug#4433).
17597
17598 * ido.el (ido-mode): Switch off the message if called
17599 non-interactively.
17600
17601 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
17602 before 587, since it appears that that's more likely to work for
17603 more people.
17604
17605 * cus-edit.el (custom-file): When running under emacs -q, always
17606 refuse to save the customizations, even if the .emacs file doesn't
17607 exist.
17608
17609 * info.el: Remove the `Info-beginning-of-buffer' function
17610 (bug#8325).
17611
17612 * net/network-stream.el (network-stream-open-starttls):
17613 Use `starttls-available-p' to see whether starttls.el can be used.
17614
17615 2011-08-01 Martin Rudalics <rudalics@gmx.at>
17616
17617 * window.el (display-buffer-in-window): Don't set dedicated status
17618 of window here (Bug#9215).
17619 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17620 (display-buffer-pop-up-side-window)
17621 (display-buffer-in-side-window): Set dedicated status of window here.
17622
17623 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
17624
17625 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
17626 before binding generated-autoload-file.
17627
17628 2011-08-01 Deniz Dogan <deniz@dogan.se>
17629
17630 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
17631
17632 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
17633
17634 Sync with Tramp 2.2.2.
17635
17636 * net/trampver.el: Update release number.
17637
17638 2011-07-30 Juri Linkov <juri@jurta.org>
17639
17640 * dired-aux.el (dired-touch-initial): Remove function.
17641 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
17642 current time, and `default' to the last modification time of the
17643 current marked file (bug#6887).
17644
17645 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
17646
17647 * simple.el (goto-line): Use string-to-number to provide a
17648 numeric argument to read-number (bug#9163).
17649
17650 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
17651
17652 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
17653 connection process, it could be nil.
17654
17655 2011-07-27 Leo Liu <sdl.web@gmail.com>
17656
17657 Simplify url handling in rcirc-mode.
17658
17659 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
17660 (rcirc-browse-url-at-mouse): Remove.
17661 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
17662
17663 2011-07-26 Alan Mackenzie <acm@muc.de>
17664
17665 Fontify bitfield declarations properly.
17666
17667 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
17668 (c-symbol-chars): Now exported as a lang variable.
17669 (c-not-primitive-type-keywords): New lang variable.
17670
17671 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
17672 QT keyword "more" to prevent "more slots: ...." being spuriously
17673 parsed as a bitfield declaration.
17674
17675 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17676 Refactor and enhance to handle bitfield declarations.
17677 (c-punctuation-in): New function.
17678 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
17679 declarations properly.
17680
17681 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
17682
17683 * calendar/icalendar.el (icalendar--all-events): Take care of
17684 multiple vcalendars in a single file.
17685 (icalendar--convert-float-to-ical): Checkdoc fixes.
17686
17687 2011-07-25 Deniz Dogan <deniz@dogan.se>
17688
17689 * image.el (insert-image): Clarifying docstring.
17690
17691 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
17692
17693 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
17694 `tramp-send-command-and-check' if there is no error.
17695 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
17696
17697 2011-07-22 Alan Mackenzie <acm@muc.de>
17698
17699 Prevent cc-langs.elc being loaded at run time.
17700
17701 * progmodes/cc-mode.el: Remove two autoload forms which loaded
17702 cc-langs.
17703
17704 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
17705 "(require 'cc-langs)". Quote a form so it will evaluate at
17706 (cc-mode's) compilation time.
17707
17708 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
17709
17710 * net/tramp.el (tramp-file-name-handler): Avoid recursive
17711 loading. (Bug#9114)
17712
17713 2011-07-21 Martin Rudalics <rudalics@gmx.at>
17714
17715 * window.el (display-buffer-pop-up-window)
17716 (display-buffer-pop-up-side-window)
17717 (display-buffer-in-side-window): Call display-buffer-set-height
17718 and display-buffer-set-width after setting the new window's
17719 buffer so `fit-window-to-buffer' and friends work on the right buffer.
17720
17721 2011-07-20 Sam Steingold <sds@gnu.org>
17722
17723 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
17724 (etags-tags-included-tables): Call `convert-standard-filename' on
17725 the file names contained in TAGS so that windows Emacs can handle
17726 TAGS files created by cygwin ctags.
17727
17728 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
17729
17730 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
17731 which apparently didn't work.
17732
17733 2011-07-19 Roland Winkler <winkler@gnu.org>
17734
17735 * proced.el (proced-send-signal): For *Marked Processes* buffer
17736 put point at beginning of buffer.
17737
17738 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
17739
17740 * proced.el (proced-format): Make header lines align with the text
17741 (bug#1779).
17742
17743 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17744
17745 * view.el (view-buffer): Allow running in `special' modes if we're
17746 visiting a file (bug#8615).
17747
17748 2011-07-19 Martin Rudalics <rudalics@gmx.at>
17749
17750 * window.el (display-buffer-alist-of-strings-p)
17751 (display-buffer-alist-set-1, display-buffer-alist-set-2):
17752 New functions.
17753 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
17754 more accurately.
17755
17756 2011-07-18 Alan Mackenzie <acm@muc.de>
17757
17758 Fontify declarators properly when, e.g., a jit-lock chunk begins
17759 inside a declaration.
17760
17761 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
17762
17763 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17764 New function.
17765 (c-complex-decl-matchers): Insert reference to
17766 c-font-lock-enclosing-decls.
17767
17768 * progmodes/cc-engine.el (c-backward-single-comment):
17769 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
17770 to nil around calls to (forward-comment -1).
17771
17772 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17773
17774 * image.el (put-image): Doc typo fix.
17775
17776 * progmodes/etags.el (tags-search): Doc typo fix.
17777
17778 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
17779 password if we get errors 550 to 554.
17780
17781 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
17782
17783 * net/gnutls.el (gnutls-log-level): Remove.
17784
17785 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
17786 indentation character (bug#6380).
17787
17788 * files.el (buffer-offer-save): Made permanently local (bug#6241).
17789
17790 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
17791 to clarify what the problem is (bug#4291).
17792
17793 * simple.el (current-kill): Clarify what
17794 `interprogram-paste-function' does (bug#7500).
17795 (auto-fill-mode): Document `auto-fill-function' in relation to
17796 `auto-fill-mode' (bug#2470).
17797
17798 2011-07-16 Lawrence Mitchell <wence@gmx.li>
17799
17800 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
17801 method if slot is read-only (bug#9035).
17802
17803 2011-07-16 Martin Rudalics <rudalics@gmx.at>
17804
17805 * frame.el (select-frame-set-input-focus): New argument NORECORD.
17806 * window.el (pop-to-buffer): Select window used even if it was
17807 selected before, see discussion of (Bug#8615), (Bug#6954).
17808 Pass argument NORECORD on to select-frame-set-input-focus.
17809
17810 2011-07-15 Glenn Morris <rgm@gnu.org>
17811
17812 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
17813 Respect help-form.
17814
17815 2011-07-09 Lawrence Mitchell <wence@gmx.li>
17816
17817 * net/gnutls.el (gnutls-min-prime-bits): New variable.
17818 (gnutls-negotiate): Use it.
17819
17820 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17821
17822 * net/gnutls.el (gnutls-negotiate):
17823 Upcase `gnutls-algorithm-priority'.
17824
17825 2011-07-15 Glenn Morris <rgm@gnu.org>
17826
17827 * jka-compr.el (jka-compr-verbose): Move from here...
17828 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
17829 Add missing :version tag.
17830 * info.el: No need to require jka-compr when compiling.
17831
17832 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17833
17834 * net/gnutls.el (gnutls-algorithm-priority): New variable.
17835 (gnutls-negotiate): Use it.
17836
17837 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
17838
17839 * info.el (Info-beginning-of-buffer): New command.
17840 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
17841 announcing `b' as the key (bug#8325).
17842 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
17843
17844 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
17845
17846 * international/mule-cmds.el
17847 (describe-specified-language-support): Make the error message
17848 clearer (bug#8905).
17849
17850 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
17851
17852 * isearch.el (isearch-barrier): Add a doc string, since it's
17853 mentioned in a function doc string (bug#8678).
17854
17855 2011-07-15 Martin Rudalics <rudalics@gmx.at>
17856
17857 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
17858 buffer argument (Bug#9083) and self-identifying label argument.
17859
17860 2011-07-15 Glenn Morris <rgm@gnu.org>
17861
17862 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
17863
17864 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17865
17866 * man.el (Man-fontify-manpage): Fix message when formatting the
17867 man page (bug#7929).
17868
17869 2011-07-14 Eli Zaretskii <eliz@gnu.org>
17870
17871 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
17872 argument LRM; if non-nil, append an invisible LRM character to the
17873 buffer name.
17874 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
17875 last argument non-nil, when formatting buffer names.
17876 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
17877 paragraph direction.
17878
17879 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17880
17881 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
17882 the man page name (bug#7929).
17883
17884 * image.el (put-image): Mention the `put-image' overlay property
17885 (bug#7834).
17886
17887 * scroll-bar.el (set-scroll-bar-mode): Mention that
17888 `scroll-bar-mode' lists the values (bug#7772).
17889
17890 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
17891 command (bug#7729).
17892
17893 * rect.el (apply-on-rectangle): Return the point after the last
17894 operation.
17895 (string-rectangle): Go to the point after the last operation
17896 (bug#7522).
17897
17898 * printing.el (pr-toggle-region): Clarify the documentation
17899 slightly (bug#7493).
17900
17901 * time.el (display-time-update):
17902 Allow `display-time-mail-function' to return nil (bug#7158).
17903 Fix suggested by Detlev Zundel.
17904
17905 * vc/diff.el (diff): Clarify the order the file names are read
17906 (bug#7111).
17907
17908 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
17909 the doc string (bug#7015).
17910
17911 * font-lock.el (font-lock-maximum-decoration): Mention what
17912 numeric levels mean (bug#6935).
17913
17914 * startup.el (initial-buffer-choice): Don't mention the `none'
17915 selection, which is against policy.
17916
17917 2011-07-14 Martin Rudalics <rudalics@gmx.at>
17918
17919 * window.el (display-buffer-normalize-special):
17920 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
17921
17922 2011-07-14 Eli Zaretskii <eliz@gnu.org>
17923
17924 * subr.el (version<, version<=, version=): Mention "-CVS" and
17925 "-12345" alpha version numbers.
17926
17927 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
17928
17929 * bindings.el: Add advertised binding for set-mark-command
17930 (Bug#5772).
17931
17932 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
17933
17934 * bindings.el (mode-line-other-buffer):
17935 * bookmark.el (bookmark-bmenu-2-window):
17936 * bs.el (bs-cycle-next, bs-cycle-previous):
17937 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
17938 switch-to-buffer.
17939
17940 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17941 Delete.
17942
17943 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
17944
17945 * follow.el (follow-debug-message, follow-redisplay):
17946 * jka-cmpr-hook.el (with-auto-compression-mode):
17947 Fix typos in docstrings.
17948
17949 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17950
17951 * subr.el (with-silent-modifications): Clarify somewhat what the
17952 macro inhibits (bug#6525).
17953
17954 * simple.el (eval-expression): Note what it does if called
17955 interactively (bug#6495).
17956
17957 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
17958
17959 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
17960 Use pop-to-buffer buffer-or-name if it is nil.
17961
17962 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17963 Remove switch-to-buffer.
17964
17965 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17966
17967 * files.el (make-directory): Clarify that an error will be raised
17968 if there's an error (bug#6397).
17969
17970 * startup.el (initial-buffer-choice): Add `none' as a choice
17971 (bug#6234).
17972
17973 * subr.el (add-hook): Clarify section about buffer-local hooks
17974 (bug#6218).
17975
17976 * dired.el (dired-flagged): Clarify doc string (bug#6117).
17977
17978 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
17979
17980 * tabify.el (untabify): Preserve the current column so that point
17981 doesn't move (bug#6032).
17982
17983 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17984
17985 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
17986 Rewrite to avoid awkward possessive "s" (bug#5986).
17987
17988 2011-07-13 Glenn Morris <rgm@gnu.org>
17989
17990 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
17991 (dired-insert-directory): Give a message the first time
17992 if ls is found not to support --dired.
17993
17994 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17995
17996 * simple.el (toggle-truncate-lines): Clarify what is toggled
17997 (bug#5580). Text by Drew Adams.
17998
17999 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
18000
18001 * simple.el (blink-matching-open): Make the error message from the
18002 last change less verbose.
18003
18004 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
18005
18006 * font-lock.el (font-lock-comment-face): Use the high contrast
18007 "yellow" color for font-lock-comment-face on low color terminals
18008 using a dark background color (bug#4221).
18009
18010 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18011
18012 * dired.el (dired-insert-set-properties): Make the doc string
18013 reflect what it does now (bug#5325).
18014
18015 * simple.el (blink-matching-open): Say that we were unable to find
18016 the match within the limit, if we're limited (bug#5122).
18017
18018 * international/mule-cmds.el (prefer-coding-system): Add an
18019 example (bug#4869).
18020
18021 * progmodes/etags.el (tags-search): Document `file-list-form'
18022 (bug#4731).
18023
18024 2011-07-13 Lawrence Mitchell <wence@gmx.li>
18025
18026 * net/browse-url.el (browse-url-default-browser)
18027 (browse-url-browser-function): Make the default browser choice a
18028 bit more logical (bug#4300). Also clean up the doc string.
18029
18030 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
18031
18032 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
18033 binary endings (bug#4440).
18034
18035 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18036
18037 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
18038 which can be pretty annoying (bug#8971).
18039
18040 * jka-compr.el (jka-compr-verbose): New variable, and use
18041 throughout (bug#8971).
18042
18043 * info.el (Info-find-file): Fall back on the installation
18044 directory if we can't find the info node anywhere else.
18045
18046 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
18047
18048 * vc/vc.el (vc-revert-file):
18049 Don't set file time-stamp in the past. (Bug#5181)
18050
18051 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18052
18053 * files.el (after-find-file): Give a better error message when
18054 trying to find a symlink that points to a file that doesn't exist
18055 (bug#4398).
18056
18057 * progmodes/cc-vars.el: Remove (probably) misleading comment
18058 (bug#4396).
18059
18060 2011-07-12 Johan Bockgård <bojohan@gnu.org>
18061
18062 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
18063
18064 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
18065
18066 * mouse-sel.el: Hack restoring functionality, while keeping
18067 compatibility with 2010-07-03 changes to mouse selection.
18068 (mouse-sel-primary-overlay): New var.
18069 (mouse-sel-selection-alist): Use it.
18070 (mouse-sel-mode): Doc fix; remove points that are default features
18071 of mouse.el.
18072
18073 2011-07-12 Johan Bockgård <bojohan@gnu.org>
18074
18075 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18076 Fix previous fix (bug#2490).
18077
18078 2011-07-12 Roland Winkler <winkler@gnu.org>
18079
18080 * textmodes/bibtex.el (bibtex-initialize):
18081 Use pop-to-buffer-same-window.
18082 (bibtex-search-entries): Fix interactive call.
18083
18084 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18085
18086 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18087 Fontise bytecomp Error lines more correctly (bug#2490).
18088 Fix suggested by Johan Bockgård.
18089
18090 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
18091
18092 * dired-x.el (dired-guess-default): Use `delete-dups'.
18093
18094 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
18095
18096 * dired.el (dired-mark-prompt):
18097 * dired-aux.el (dired-read-shell-command): Doc fix.
18098
18099 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18100
18101 * mail/sendmail.el (sendmail-query-once):
18102 Use `customize-save-variable' unconditionally, now that it works under
18103 emacs -Q.
18104
18105 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18106
18107 * cus-edit.el (custom-file): Take an optional no-error variable.
18108 (customize-save-variable): Set the variable, and give a warning if
18109 running under "emacs -q".
18110
18111 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
18112
18113 * loadhist.el (unload-feature-special-hooks):
18114 Add `auto-coding-functions', `fill-nobreak-predicate' and
18115 `find-directory-functions' (bug#5327).
18116
18117 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18118
18119 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
18120
18121 * cus-edit.el (custom-guess-name-alist): -alist variables should
18122 use the `alist' type (bug#3120). Suggested by Drew Adams.
18123
18124 * printing.el: Add documentation to all the `pr-toggle-' commands.
18125
18126 2011-07-11 Leo Liu <sdl.web@gmail.com>
18127
18128 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
18129 backends where it makes sense (bug#2623).
18130
18131 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18132
18133 * dired-x.el (dired-guess-default): Remove duplicate shell command
18134 entries (bug#2028).
18135 (dired-guess-default): Fix grammar in doc string (bug#2028).
18136 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
18137
18138 * subr.el (remove-duplicates): New conveniency function.
18139
18140 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
18141
18142 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
18143 (bug#1526).
18144
18145 2011-07-10 Martin Rudalics <rudalics@gmx.at>
18146
18147 * window.el (display-buffer-normalize-default): Don't invert
18148 meaning of even-window-heights. Reported by Eli Zaretskii
18149 <eliz@gnu.org>.
18150
18151 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
18152
18153 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
18154
18155 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
18156
18157 * window.el (display-buffer): Fix arguments to
18158 display-buffer-reuse-window in last change.
18159
18160 * faces.el (link): Use a less saturated blue on light backgrounds.
18161
18162 * startup.el (fancy-startup-text, fancy-about-text)
18163 (fancy-startup-tail): Use font-lock faces, for background safety.
18164
18165 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
18166
18167 * emulation/viper-cmd.el (viper-change-state-to-vi):
18168 Limit triggering of abbrev expansion (Bug#9038).
18169
18170 2011-07-09 Martin Rudalics <rudalics@gmx.at>
18171
18172 * window.el (display-buffer-default-specifiers): Remove.
18173 (display-buffer-macro-specifiers): Remove default specifiers.
18174 (display-buffer-alist): Default to nil.
18175 (display-buffer-reuse-window): New optional argument other-window.
18176 (display-buffer-pop-up-window): Allow splitting internal
18177 windows. Check whether a live window was created.
18178 (display-buffer-other-window-means-other-frame)
18179 (display-buffer-normalize-arguments): Rename to
18180 display-buffer-normalize-argument and rewrite. Set the
18181 other-window specifier.
18182 (display-buffer-normalize-special): New function.
18183 (display-buffer-normalize-options): Rename to
18184 display-buffer-normalize-default and rewrite.
18185 (display-buffer-normalize-options-inhibit): Remove.
18186 (display-buffer-normalize-specifiers): Rewrite.
18187 (display-buffer): Process other-window specifier and call
18188 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
18189 more faithfully.
18190 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
18191 (display-buffer-alist-set): Don't handle 'unset default values.
18192 (display-buffer-in-window, display-buffer-alist-set):
18193 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
18194 <tassilo@member.fsf.org>.
18195
18196 2011-07-09 Leo Liu <sdl.web@gmail.com>
18197
18198 * register.el (insert-register): Restore accidental change on
18199 2011-06-26. (Bug#9028)
18200
18201 2011-07-09 Glenn Morris <rgm@gnu.org>
18202
18203 * subr.el (remq): Handle the empty list. (Bug#9024)
18204
18205 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
18206
18207 * mail/sendmail.el (send-mail-function): No longer delay custom
18208 initialization.
18209 * custom.el (custom-initialize-delay): Doc fix.
18210
18211 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18212
18213 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
18214
18215 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
18216
18217 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
18218 human-friendly prompt.
18219
18220 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18221
18222 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
18223 provided by a particular plugin.
18224
18225 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
18226
18227 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
18228 save customizations (with "emacs -Q"), just set the variable
18229 instead of erroring out.
18230
18231 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18232
18233 2011-07-08 Juri Linkov <juri@jurta.org>
18234
18235 * arc-mode.el (archive-zip-expunge, archive-zip-update)
18236 (archive-zip-update-case): Use 7z if found by `executable-find'.
18237 The order of searching the available programs is the same as in
18238 `archive-zip-extract' (bug#8968).
18239
18240 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
18241
18242 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
18243 (menu-bar-options-menu): Tweak descriptions.
18244
18245 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18246
18247 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
18248 menu items into verb phrases (bug#1421). Also refill to fit under
18249 80 columns.
18250
18251 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
18252
18253 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
18254 (Info-read-node-name): Doc fix (Bug#1084).
18255
18256 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
18257 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
18258 (end-of-sexp, beginning-of-sexp)
18259 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
18260 (forward-symbol, forward-same-syntax, word-at-point)
18261 (sentence-at-point): Doc fix (Bug#1144).
18262
18263 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18264
18265 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
18266 should cover it (bug#1281).
18267
18268 * cus-edit.el (custom-show): Mark as obsolete.
18269
18270 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
18271 negotiation fails, then possibly try again with a non-encrypted
18272 connection (bug#9017).
18273
18274 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
18275 be used.
18276
18277 2011-07-07 Richard Stallman <rms@gnu.org>
18278
18279 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
18280 property, and handle its changed format.
18281 Look for the correct line number.
18282 Use file's line contents (but not past first =) to find
18283 correct line in message.
18284
18285 2011-07-07 Kenichi Handa <handa@m17n.org>
18286
18287 * international/characters.el (build-unicode-category-table):
18288 Delete it.
18289 (unicode-category-table): Set it by unicode-property-table-internal.
18290
18291 * international/mule-cmds.el (char-code-property-alist): Move to
18292 to src/chartab.c.
18293 (get-char-code-property): Call unicode-property-table-internal to
18294 load a file. Call get-unicode-property-internal where necessary.
18295 (put-char-code-property): Call unicode-property-table-internal to
18296 load a file. Call put-unicode-property-internal where necessary.
18297 put-unicode-property-internal where necessary.
18298 (char-code-property-description):
18299 Call unicode-property-table-internal to load a file.
18300
18301 * international/charprop.el:
18302 * international/uni-bidi.el:
18303 * international/uni-category.el:
18304 * international/uni-combining.el:
18305 * international/uni-comment.el:
18306 * international/uni-decimal.el:
18307 * international/uni-decomposition.el:
18308 * international/uni-digit.el:
18309 * international/uni-lowercase.el:
18310 * international/uni-mirrored.el:
18311 * international/uni-name.el:
18312 * international/uni-numeric.el:
18313 * international/uni-old-name.el:
18314 * international/uni-titlecase.el:
18315 * international/uni-uppercase.el: Regenerate.
18316
18317 * loadup.el: Load international/charprop.el before
18318 international/characters.
18319
18320 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
18321
18322 * window.el (next-buffer, previous-buffer): Signal an error if
18323 called from a minibuffer window.
18324
18325 * bindings.el: Revert 2011-07-04 change.
18326
18327 2011-07-06 Richard Stallman <rms@gnu.org>
18328
18329 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
18330 (rmail-mime-insert-bulk, rmail-mime-insert-text):
18331 Treat markers like ints.
18332 (rmail-mime-entity): Doc fix.
18333
18334 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18335
18336 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
18337 defcustom again for backwards compatibility.
18338
18339 * simple.el (shell-command-on-region): Fill.
18340
18341 * dired-aux.el (dired-kill-line): Add a doc string.
18342
18343 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
18344 to "\\sw\\|\\s_" (bug#358).
18345
18346 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
18347 (dired-unmark-backward): Ditto.
18348 (dired-flag-backup-files): Ditto.
18349
18350 * dired-x.el (dired-mark-sexp): Ditto.
18351
18352 2011-07-06 Richard Stallman <rms@gnu.org>
18353
18354 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
18355 (rmail-mime-entity): New arg TRUNCATED.
18356 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
18357 New functions.
18358 (rmail-mime-save): Warn if entity is truncated.
18359 (rmail-mime-toggle-hidden): Likewise, for showing.
18360 (rmail-mime-process-multipart): Record when an entity is truncated.
18361
18362 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
18363 if ENTITY is a string.
18364
18365 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18366
18367 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
18368 of faces when `M-C-x'-ing their definitions (bug#8378).
18369 Also clean up the code slightly.
18370
18371 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
18372 because that makes the colors go away.
18373
18374 * mail/sendmail.el (send-mail-function): Change the default to
18375 `sendmail-query-once'.
18376 (sendmail-query-once): Add an autoload cookie.
18377
18378 * net/network-stream.el (network-stream-open-starttls): Try using
18379 a plain connection even if the server offered STARTTLS, and we
18380 kinda wanted to use it, if Emacs doesn't have any STARTTLS
18381 capability. This should make smtpmail.el work in slightly more
18382 configurations.
18383
18384 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
18385
18386 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18387 New defun.
18388 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
18389
18390 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
18391
18392 * progmodes/sql.el: Version 3.0
18393 (sql-product-alist): Add product :completion-object,
18394 :completion-column, and :statement attributes.
18395 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
18396 (sql-mode-syntax-table): Mark all punctuation.
18397 (sql-font-lock-keywords-builder): Temporarily remove fallback on
18398 ansi keywords.
18399 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
18400 (sql-mode-oracle-font-lock-keywords): Improve.
18401 (sql-oracle-show-reserved-words): New function for development.
18402 (sql-product-font-lock): Simplify for source code buffers.
18403 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
18404 New functions.
18405 (sql-highlight-product): Set product specific syntax table.
18406 (sql-mode-map): Add statement movement functions.
18407 (sql-ansi-statement-starters, sql-oracle-statement-starters):
18408 New variable.
18409 (sql-statement-regexp, sql-beginning-of-statement)
18410 (sql-end-of-statement, sql-signum): New functions.
18411 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
18412 (sql-show-sqli-buffer): Bug fix.
18413 (sql-interactive-mode): Store connection data as buffer local.
18414 (sql-connect): Add NEW-NAME parameter. Redesign interaction
18415 with sql-interactive-mode.
18416 (sql-save-connection): Save buffer local settings.
18417 (sql-connection-menu-filter): Change menu entry name.
18418 (sql-product-interactive): Bug fix.
18419 (sql-preoutput-hold): New variable.
18420 (sql-interactive-remove-continuation-prompt): Bug fixes.
18421 (sql-debug-redirect): New variable.
18422 (sql-str-literal): New function.
18423 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
18424 Redesign.
18425 (sql-oracle-save-settings, sql-oracle-restore-settings)
18426 (sql-oracle-list-all, sql-oracle-list-table): New functions.
18427 (sql-completion-object, sql-completion-column)
18428 (sql-completion-sqlbuf): New variables.
18429 (sql-build-completions-1, sql-build-completions)
18430 (sql-try-completion): New functions.
18431 (sql-read-table-name): Use them.
18432 (sql-contains-names): New buffer local variable.
18433 (sql-list-all, sql-list-table): Use it.
18434 (sql-oracle-completion-types): New variable.
18435 (sql-oracle-completion-object, sql-sqlite-completion-object)
18436 (sql-postgres-completion-object): New functions.
18437
18438 2011-07-06 Glenn Morris <rgm@gnu.org>
18439
18440 * window.el (pop-to-buffer): Doc fix.
18441
18442 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
18443
18444 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
18445
18446 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
18447
18448 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
18449
18450 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
18451
18452 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
18453
18454 * button.el (button): Inherit from link face. Suggested by Dan
18455 Nicolaescu.
18456
18457 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18458
18459 * progmodes/gdb-mi.el: Fit in 80 columns.
18460 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
18461 switch-to-buffer.
18462
18463 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
18464 if imenu is simply not configured (bug#8941).
18465
18466 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
18467
18468 * allout.el (allout-post-undo-hook): New allout outline-change
18469 event hook to signal undo activity.
18470 (allout-post-command-business): Run allout-post-undo-hook if an
18471 undo just occurred.
18472 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
18473 * allout-widgets.el (allout-widgets-after-undo-function):
18474 Ensure the integrity of the current item's decoration after it has been
18475 in the vicinity of an undo.
18476 (allout-widgets-mode): Include allout-widgets-after-undo-function
18477 on the new allout-post-undo-hook.
18478
18479 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18480
18481 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
18482 Let define-derived-mode define it.
18483 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
18484 cycles of abbrev-table inheritance (bug#8998).
18485
18486 2011-07-05 Roland Winkler <winkler@gnu.org>
18487
18488 * textmodes/bibtex.el: Add support for biblatex.
18489 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
18490 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
18491 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
18492 (bibtex-entry-alist, bibtex-field-alist): New variables.
18493 (bibtex-entry-field-alist): Obsolete alias for
18494 bibtex-BibTeX-entry-alist.
18495 (bibtex-entry-alist, bibtex-field-alist): New widgets.
18496 (bibtex-set-dialect): New command.
18497 (bibtex-entry-type, bibtex-entry-head)
18498 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
18499 Bind via bibtex-set-dialect.
18500 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
18501 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
18502 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
18503 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
18504 Define via bibtex-set-dialect.
18505 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
18506 Obey bibtex-no-opt-remove-re.
18507 (bibtex-vec-push, bibtex-vec-incr): New functions.
18508 (bibtex-format-entry, bibtex-field-list)
18509 (bibtex-print-help-message, bibtex-validate)
18510 (bibtex-search-entries): Use new format of bibtex-entry-alist.
18511
18512 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18513
18514 * progmodes/compile.el (compilation-goto-locus):
18515 * net/tramp-cmds.el (tramp-append-tramp-buffers):
18516 * bs.el (bs-cycle-next, bs-cycle-previous):
18517 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
18518 * bindings.el (mode-line-other-buffer):
18519 * autoinsert.el (auto-insert):
18520 * arc-mode.el (archive-extract):
18521 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
18522
18523 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
18524
18525 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
18526 Fix check of `emacs-lock-unlockable-modes'.
18527 Coerce true values of `emacs-lock--try-unlocking' to t.
18528
18529 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
18530
18531 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
18532 * emacs-lock.el: New file.
18533
18534 2011-07-05 Julien Danjou <julien@danjou.info>
18535
18536 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
18537 than `boundp' to check if face is set.
18538
18539 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
18540
18541 * register.el (registerv-make):
18542 * window.el (window-min-height): Fix typos in docstrings.
18543
18544 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
18545
18546 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
18547 Update doc string.
18548
18549 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
18550
18551 * server.el (server-execute): Catch quit and call
18552 `server-return-error' to pass the error back to emacsclient and
18553 close the connection (bug#8942).
18554
18555 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
18556
18557 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
18558 insecure exception for current topic. Also note that auto-saves
18559 are handled differently.
18560
18561 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
18562 State variables for tracking auto-save inhibition situation.
18563
18564 (allout-write-contents-hook-handler): Rename from
18565 'allout-write-file-hook-handler', and describe how it depends on
18566 write-contents-functions sensitivity to non-nil value to prevent
18567 file write.
18568
18569 (allout-auto-save-hook-handler): Remove. auto-save does not check
18570 this in individual buffers, only in the starting buffer, so this
18571 is not the right way for us to inhibit auto-save in a buffer
18572 according to its condition.
18573
18574 (allout-mode): Use new allout-write-contents-hook-handler, and
18575 only with write-contents-functions. Remove auto-save provisions -
18576 they're implemented elsewhere.
18577
18578 (allout-before-change-handler): If undo is in progress, note that
18579 for attention of allout-post-command-business.
18580
18581 (allout-post-command-business): If the command we're following was
18582 an undo, check for change in the status of encrypted items and
18583 adjust auto-save inhibitions accordingly.
18584
18585 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
18586 according to whether there are or aren't any plain-text topics
18587 pending encryption.
18588
18589 (allout-inhibit-auto-save-info-for-decryption):
18590 Adjust buffer-saved-size and some allout state to inhibit auto-saves
18591 if there are plain-text topics pending encryption.
18592
18593 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
18594 buffer-saved-size and some allout state to not inhibit auto-saves
18595 if there are no longer any plain-text topics pending encryption.
18596
18597 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
18598 No longer provide for exemption of the current topic.
18599
18600 2011-07-04 Juri Linkov <juri@jurta.org>
18601
18602 Add 7z operations to delete and save changed members (bug#8968).
18603 * arc-mode.el (archive-7z-expunge, archive-7z-update):
18604 New defcustoms.
18605 (archive-7z-write-file-member): New function.
18606 (archive-7z-summarize): Fix the number of dashes in the
18607 listing output.
18608
18609 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18610
18611 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
18612 (bug#8958).
18613
18614 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
18615
18616 * bindings.el: Ignore next-buffer and previous-buffer in
18617 minibuffer-local-map.
18618
18619 * font-lock.el (font-lock-builtin-face): Change light background
18620 color to dark slate blue (Bug#6693).
18621
18622 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
18623
18624 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
18625
18626 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18627
18628 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
18629 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18630 Add switch-to-buffer.
18631
18632 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18633
18634 * isearch.el (isearch-search-fun-function): Clarify further the
18635 meaning of the function returned.
18636
18637 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
18638
18639 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
18640
18641 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
18642 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
18643 Use it.
18644 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
18645 `tramp-default-remote-path' does not exist.
18646 (tramp-send-command-and-read): New optional argument NOERROR.
18647 (tramp-open-connection-setup-interactive-shell)
18648 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
18649 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
18650 (tramp-process-sentinel): Flush also process' connection property.
18651 (tramp-sh-handle-start-file-process): Do not set process
18652 sentinel. It is done now ...
18653 (tramp-maybe-open-connection): ... here. (Bug#8929)
18654
18655 2011-07-04 MON KEY <monkey@sandpframing.com>
18656
18657 * play/animate.el (animate-string): Doc fixes and allow changing
18658 the buffer name (bug#5417).
18659
18660 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18661
18662 * play/animate.el (animation-buffer-name): Rename from *animate*.
18663
18664 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
18665
18666 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
18667 This is simpler and helps future-proof the code.
18668 (timer-until): Use time-subtract and float-time.
18669 (timer--time-less-p): Use time-less-p.
18670
18671 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
18672
18673 * type-break.el (timep): Use the value of `float-time' to avoid a
18674 byte-compiler warning.
18675
18676 * server.el (server-eval-and-print): Return any result, even nil.
18677
18678 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
18679
18680 * type-break.el: Accept time formats that the builtins accept.
18681 (timep, type-break-time-difference): Accept any format that
18682 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
18683 This is simpler and helps future-proof the code.
18684 (type-break-time-difference): Round rather than ignoring
18685 subseconds components.
18686
18687 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18688
18689 * info.el (Info-apropos-matches): Make non-interactive, since it
18690 doesn't seem to do anything useful as a command (bug#8829).
18691
18692 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
18693
18694 * frame.el (frame-background-mode, frame-set-background-mode):
18695 Move from faces.el.
18696 (frame-default-terminal-background): New function.
18697
18698 * custom.el (custom-push-theme): Don't record faces in `changed'
18699 theme; this doesn't work correctly for per-frame face settings.
18700 (disable-theme): Use face-set-after-frame-default to reset faces.
18701 (custom--frame-color-default): New function.
18702
18703 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18704
18705 * dired.el (dired-flagging-regexp): Remove unused variable
18706 (bug#8769).
18707
18708 2011-03-29 Kevin Ryde <user42@zip.com.au>
18709
18710 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18711 `perl-Test2' extend to match possible "fail #N" rep count
18712 (bug#8377).
18713
18714 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18715
18716 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
18717 `smtpmail-via-smtp' now returns the error instead of nil.
18718
18719 * isearch.el (isearch-search-fun-function): Clarify the doc string
18720 (bug#8101).
18721
18722 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
18723
18724 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
18725 unnecessary spaces (bug#8987).
18726
18727 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18728
18729 * net/network-stream.el (open-network-stream): Use the
18730 :end-of-capability command thoughout.
18731
18732 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
18733
18734 * net/network-stream.el (open-network-stream): Add the
18735 :end-of-capability command parameter, used by pop3.el.
18736
18737 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18738
18739 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
18740
18741 * fringe.el (fringe-query-style): Remove redundant text " (type ?
18742 for list)" (bug#6475).
18743
18744 * files.el (file-expand-wildcards): Ignore non-readable
18745 sub-directories while trying to find matches instead of signaling
18746 an error (bug#6297).
18747
18748 * man.el (Man-reference-regexp): Allow matching possible
18749 word-wrapped references (bug#6289).
18750
18751 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
18752 for consistency with the other vc buffers (bug#6197).
18753 (vc-checkin): Ditto.
18754
18755 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
18756
18757 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
18758
18759 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18760
18761 * custom.el (defcustom): Clarify that :set is only used in the
18762 Customize user interface (bug#6089).
18763
18764 * progmodes/flymake.el (flymake-mode): If the buffer isn't
18765 associated with a file, refuse to run instead of erroring out
18766 (bug#6084).
18767
18768 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
18769 the doc string, since it appears that using `fill-column' always
18770 controls the width (bug#7845).
18771
18772 * simple.el (shell-command-on-region): Say where the error output
18773 went if `shell-command-default-error-buffer' is set (bug#6857).
18774
18775 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
18776
18777 * allout.el (allout-yank-processing): Adjust cursor position for
18778 backwards-deleted space.
18779
18780 (allout-rebullet-heading): Register changes with
18781 allout-exposure-changed-hook, so the modified topic is properly
18782 decorated.
18783
18784 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18785
18786 * minibuffer.el (completion-in-region): Document PREDICATE
18787 (bug#7136).
18788
18789 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
18790 of keyword/argument pairs (bug#6904).
18791
18792 * replace.el (multi-occur):
18793 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
18794
18795 2011-07-02 Drew Adams <drew.adams@oracle.com>
18796
18797 * dired.el (dired-mark-if): Make the message about whether it's
18798 marking or unmarking clearer (bug#8523).
18799
18800 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18801
18802 * disp-table.el (display-table-print-array): New function.
18803 (describe-display-table): Use it to print the vectors more pretty
18804 (Bug#8859).
18805
18806 2011-07-02 Martin Rudalics <rudalics@gmx.at>
18807
18808 * window.el (window-state-get-1): Don't assign clone numbers.
18809 Add clone-of item to list of window parameters.
18810 (window-state-put-2): Don't process clone numbers.
18811 (display-buffer-alist): Fix doc-string.
18812
18813 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
18814
18815 * subr.el (remq): Don't allocate if it's not needed.
18816 (keymap--menu-item-binding, keymap--menu-item-with-binding)
18817 (keymap--merge-bindings): New functions.
18818 (keymap-canonicalize): Use them to refine the canonicalization.
18819 * minibuffer.el (minibuffer-local-completion-map)
18820 (minibuffer-local-must-match-map): Move initialization from C.
18821 (minibuffer-local-filename-completion-map): Move initialization from C;
18822 don't inherit from anything here.
18823 (minibuffer-local-filename-must-match-map): Make obsolete.
18824 (completing-read-default): Use make-composed-keymap to combine
18825 minibuffer-local-filename-completion-map with either
18826 minibuffer-local-must-match-map or
18827 minibuffer-local-filename-completion-map.
18828
18829 2011-07-01 Glenn Morris <rgm@gnu.org>
18830
18831 * type-break.el (type-break-time-sum): Use dolist.
18832
18833 * textmodes/flyspell.el (flyspell-word-search-backward):
18834 Replace CL function.
18835
18836 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18837
18838 * mouse.el (mouse--strip-first-event): New function.
18839 (function-key-map): Use it to map fringe clicks to normal clicks
18840 by default.
18841
18842 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
18843 (vc-bzr-revision-completion-table): Add support for annotate and date.
18844
18845 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
18846 inherit from parent.
18847
18848 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18849
18850 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
18851 (dired-show-file-type): Doc fixup (bug#8818).
18852
18853 * dired.el (dired-mode): Fix up the doc string as suggested by
18854 Drew Adams (bug#8817).
18855
18856 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
18857 cookie, since the manual says that it should be possible to add
18858 this function to `find-file-hook' (bug#8709).
18859
18860 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18861
18862 * progmodes/cfengine.el: Moved all cfengine3.el functionality
18863 here. Noted Ted Zlatanov as the maintainer.
18864 (cfengine-common-settings, cfengine-common-syntax): New functions
18865 to set up common things between `cfengine-mode' and
18866 `cfengine3-mode'.
18867 (cfengine3-mode): New mode.
18868 (cfengine3-defuns cfengine3-defuns-regex
18869 (cfengine3-class-selector-regex cfengine3-category-regex)
18870 (cfengine3-vartypes cfengine3-font-lock-keywords)
18871 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
18872 (cfengine3-indent-line): Add from cfengine3.el.
18873
18874 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
18875
18876 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
18877
18878 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
18879
18880 2011-07-01 Martin Rudalics <rudalics@gmx.at>
18881
18882 * window.el (same-window-buffer-names, same-window-regexps)
18883 (same-window-p, special-display-frame-alist)
18884 (special-display-popup-frame, special-display-function)
18885 (special-display-buffer-names, special-display-regexps)
18886 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
18887 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18888 (split-window-preferred-function, split-height-threshold)
18889 (split-width-threshold, even-window-heights)
18890 (display-buffer-mark-dedicated, window-splittable-p)
18891 (split-window-sensibly, window-safely-shrinkable-p):
18892 Un-obsolete.
18893 (display-buffer): Don't spread args with function specifier
18894 because special-display-popup-frame won't like it.
18895
18896 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
18897
18898 Time-stamp simplifications and fixes.
18899 These improve accuracy slightly, and future-proof the code
18900 against some potential changes to current-time format.
18901
18902 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
18903 by using time-since and float-time.
18904
18905 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
18906 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
18907 + NNN microseconds".
18908
18909 * type-break.el (type-break-time-sum): Rewrite using time-add.
18910
18911 * play/hanoi.el (hanoi-current-time-float): Remove.
18912 All uses replaced by float-time.
18913
18914 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
18915 This yields a more-accurate answer.
18916 (rng-time-to-float): Remove; no longer needed.
18917
18918 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
18919
18920 * calendar/timeclock.el (timeclock-seconds-to-time):
18921 Defalias to seconds-to-time, since they're the same thing.
18922
18923 * emacs-lisp/elp.el (elp-elapsed-time):
18924 * emacs-lisp/benchmark.el (benchmark-elapse):
18925 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
18926
18927 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18928
18929 * window.el (bury-buffer): Don't iconify the only frame.
18930 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
18931 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
18932
18933 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
18934
18935 * eshell/em-smart.el (eshell-smart-display-navigate-list):
18936 Add mouse-yank-primary.
18937
18938 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18939
18940 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
18941
18942 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18943
18944 * emacs-lisp/find-func.el (find-library--load-name): New fun.
18945 (find-library-name): Use it to find relative load names when provided
18946 absolute file name (bug#8803).
18947
18948 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18949
18950 * textmodes/flyspell.el (flyspell-word): Consider words that
18951 differ only in case as potential doublons (bug#5687).
18952
18953 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
18954 Remove two rather uninteresting debugging-like messages to make
18955 debbugs.el more silent.
18956
18957 * comint.el (comint-password-prompt-regexp): Accept "Response" as
18958 a password-like phrase.
18959
18960 2011-06-30 Masatake YAMATO <yamato@redhat.com>
18961
18962 * progmodes/cc-guess.el: New file.
18963
18964 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
18965
18966 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
18967 derived from `c-basic-common-init'.
18968
18969 * progmodes/cc-mode.el (top-level): Require cc-guess.
18970 (c-basic-common-init): Use `cc-choose-style-for-mode'.
18971
18972 2011-06-30 Lawrence Mitchell <wence@gmx.li>
18973
18974 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
18975
18976 2011-06-30 Alan Mackenzie <acm@muc.de>
18977
18978 * progmodes/cc-engine.el (c-guess-continued-construct):
18979 Correct the handling of template-args-cont, particularly for when font
18980 lock is disabled. Name this case as "CASE G".
18981
18982 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
18983
18984 * allout.el (allout-yank-processing): Fix injection of extra space
18985 between bullet and non-whitespace character in first topic when
18986 pasting, ensuring that the actual spacing in the pasted topic
18987 following the bullet char is preserved. This extra space was
18988 causing pasted encrypted topics to get a decrypted status even
18989 when the content was actually still encrypted. Now the decryption
18990 status from before the paste is preserved.
18991
18992 (allout-flag-region): Set all allout overlays so they evaporate
18993 when reduced to zero length (evanescent), to prevent overlay
18994 leakage.
18995
18996 2011-06-30 Glenn Morris <rgm@gnu.org>
18997
18998 * w32-fns.el (w32-charset-info-alist): Declare.
18999
19000 * find-dired.el (find-grep-options): Simplify.
19001
19002 * term/ns-win.el (ns-set-resource): Declare.
19003
19004 * ses.el (row, col): Declare dynamic variables honestly.
19005
19006 * textmodes/reftex-parse.el (index-tags): Declare.
19007
19008 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
19009
19010 * cus-edit.el (customize-push-and-save): New function.
19011
19012 * files.el (hack-local-variables-confirm): Use it.
19013
19014 * custom.el (load-theme): New arg NO-CONFIRM.
19015 Use customize-push-and-save (Bug#8720).
19016 (custom-enabled-themes): Doc fix.
19017
19018 * cus-theme.el (customize-create-theme)
19019 (custom-theme-merge-theme): Callers to load-theme changed.
19020
19021 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19022
19023 * thingatpt.el (thing-at-point-short-url-regexp): Require that
19024 short URLs have at least one dot in them (bug #7614).
19025
19026 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
19027 nil, because using a pty is apparently too slow (bug #895).
19028
19029 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
19030
19031 * mail/sendmail.el (sendmail-query-once): New function.
19032 (sendmail-query-once-function): New variable.
19033
19034 2011-06-29 Glenn Morris <rgm@gnu.org>
19035
19036 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
19037
19038 * ses.el (top-level): Require cl when compiling.
19039 (ses-set-localvars): Fix error statement.
19040 Call it at compile time to silence a storm of warnings.
19041
19042 2011-06-29 Martin Rudalics <rudalics@gmx.at>
19043
19044 * window.el (normalize-live-buffer): Rename to
19045 window-normalize-buffer.
19046 (normalize-live-frame): Rename to window-normalize-frame.
19047 (normalize-any-window): Rename to window-normalize-any-window.
19048 (normalize-live-window): Rename to window-normalize-live-window.
19049 (make-window-atom): Rename to window-make-atom.
19050 (window-resize-reset): Rename to window--resize-reset.
19051 (window-resize-reset-1): Rename to window--resize-reset-1.
19052 (resize-mini-window): Rename to window--resize-mini-window.
19053 (resize-subwindows-skip-p): Rename to
19054 window--resize-subwindows-skip-p.
19055 (resize-subwindows-normal): Rename to
19056 window--resize-subwindows-normal.
19057 (resize-subwindows): Rename to window--resize-subwindows.
19058 (resize-other-windows): Rename to window--resize-siblings.
19059 (resize-this-window): Rename to window--resize-this-window.
19060 (resize-root-window): Rename to window--resize-root-window.
19061 (resize-root-window-vertically): Rename to
19062 window--resize-root-window-vertically.
19063 (normalize-buffer-to-display): Rename to
19064 window-normalize-buffer-to-display.
19065 (normalize-buffer-to-switch-to): Rename to
19066 window-normalize-buffer-to-switch-to.
19067 Correspondingly update all callers of the functions listed
19068 above.
19069 (display-buffer-alist, display-buffer-normalize-arguments)
19070 (display-buffer-normalize-options, display-buffer)
19071 (display-buffer-alist-set): Use "function" instead of
19072 "fun-with-args".
19073
19074 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
19075
19076 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
19077 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
19078 debbugs.gnu.org. Mention acknowledgment email.
19079
19080 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
19081
19082 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
19083 buffer multibyteness, since it shouldn't matter.
19084
19085 2011-06-28 Martin Rudalics <rudalics@gmx.at>
19086
19087 * window.el (display-buffer-in-side-window): Handle dedicated
19088 windows as in display-buffer-reuse-window.
19089 (display-buffer-normalize-alist): Use value of override
19090 specifier.
19091 (display-buffer-normalize-specifiers): Use value of
19092 other-window-means-other-frame specifier.
19093 (display-buffer-alist): Rewrite some texts in widgets.
19094 (display-buffer): Spread arguments when calling function
19095 specified by fun-with-args.
19096
19097 2011-06-28 Deniz Dogan <deniz@dogan.se>
19098
19099 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19100 Unnest `let'.
19101
19102 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
19103 selectors (Bug#5732).
19104 (css-proprietary-nmstart-re): Use `regexp-opt'.
19105
19106 2011-06-27 Jari Aalto <jari.aalto@cante.net>
19107
19108 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
19109 (eshell-ls-date-format): New defcustom.
19110 (eshell-ls-file): Use it.
19111
19112 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19113
19114 * help-fns.el (describe-variable): Fix message for terminal-local vars.
19115
19116 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
19117
19118 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
19119 (ange-ftp-make-tmp-name): New arg.
19120 (ange-ftp-file-local-copy): Use it.
19121
19122 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
19123
19124 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
19125 no-conversion (Bug#8870).
19126
19127 2011-06-27 Martin Rudalics <rudalics@gmx.at>
19128
19129 * window.el (window-right, window-left, window-child)
19130 (window-child-count, window-last-child)
19131 (window-iso-combination-p, walk-window-tree-1)
19132 (window-atom-check-1, window-tree-1, delete-window)
19133 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
19134 new naming conventions - window-vchild, window-hchild,
19135 window-next and window-prev are now called window-top-child,
19136 window-left-child, window-next-sibling and window-prev-sibling
19137 respectively.
19138 (resize-window-reset): Rename to window-resize-reset.
19139 (resize-window-reset-1): Rename to window-resize-reset-1.
19140 (resize-window): Rename to window-resize.
19141 (window-min-height, window-min-width)
19142 (resize-mini-window, resize-this-window, resize-root-window)
19143 (resize-root-window-vertically, adjust-window-trailing-edge)
19144 (enlarge-window, shrink-window, maximize-window)
19145 (minimize-window, delete-window, quit-restore-window)
19146 (split-window, balance-windows, balance-windows-area-adjust)
19147 (balance-windows-area, window-state-put-2)
19148 (display-buffer-even-window-sizes, display-buffer-set-height)
19149 (display-buffer-set-width, set-window-text-height)
19150 (fit-window-to-buffer): Rename all "resize-window" prefixed
19151 calls to use the "window-resize" prefix convention.
19152 (display-buffer-alist): Fix symbol for label specifier.
19153 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
19154 corresponding specifier.
19155 Reported by Juanma Barranquero <lekktu@gmail.com>.
19156
19157 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19158
19159 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
19160 convention.
19161 (ses-call-printer): Does not pass an empty string to formatter when the
19162 cell is empty to keep from barking printer Calc math-format-value.
19163
19164 2011-06-27 Richard Stallman <rms@gnu.org>
19165
19166 * battery.el (battery-mode-line-limit): New variable.
19167 (battery-update): Handle it.
19168
19169 * mail/rmailmm.el (rmail-mime-process-multipart):
19170 Handle truncated messages.
19171
19172 2011-06-27 Glenn Morris <rgm@gnu.org>
19173
19174 * progmodes/flymake.el (flymake-err-line-patterns):
19175 Allow for column numbers in the ant/javac pattern. (Bug#8866)
19176
19177 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19178
19179 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
19180 (ses--clean-!, ses--clean-_): New functions.
19181 (ses-range): Add configurability of readout order, and conversion
19182 to Calc vector.
19183
19184 * ses.el (ses-repair-cell-reference-all): New function.
19185 (ses-cell-symbol): Set macro as safe, so that it can be used in
19186 formulas.
19187
19188 * ses.el: Update cycle detection algorithm.
19189 (ses-localvars): Add ses--Dijkstra-attempt-nb and
19190 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
19191 (ses-set-localvars): New function.
19192 (ses-make-cell): Add property-list as a cell element.
19193 (ses-cell-property-get-fun, ses-cell-property-get)
19194 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
19195 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
19196 New functions.
19197 (ses-cell-property-set, ses-cell-property-pop)
19198 (ses-cell-property-get-handle): New macro.
19199 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
19200 New aliases, used for code readability.
19201 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
19202 cycle detection.
19203 (ses-self-reference-early-detection): New defcustom.
19204 (ses-formula-references): Robustify against self-referring cells.
19205 (ses-mode): Use ses-set-localvars.
19206 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
19207 before lauching the update processing.
19208 (ses-initialize-Dijkstra-attempt): New function.
19209 (ses-recalculate-cell): Update for cycle detection based on
19210 Dijkstra algorithm.
19211
19212 * ses.el: Fix commenting and indenting convention.
19213
19214 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19215
19216 * bs.el (bs-cycle-next): Complete last change.
19217
19218 2011-06-27 Drew Adams <drew.adams@oracle.com>
19219
19220 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
19221
19222 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19223
19224 * net/network-stream.el (network-stream-open-starttls):
19225 Don't re-get capabilities unless we've reestablished connection.
19226 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
19227
19228 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
19229 to binary to possibly avoid line encoding issues on Windows (among
19230 other things).
19231
19232 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19233
19234 * net/network-stream.el (open-network-stream): Return an :error
19235 saying what the problem was, if possible.
19236
19237 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
19238 server.
19239
19240 * net/network-stream.el (network-stream-open-starttls): If we
19241 wanted to use STARTTLS, and the server offered it, but we weren't
19242 able to because we had no STARTTLS support, then close the connection.
19243 (open-network-stream): Return an :error element, if present.
19244
19245 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
19246
19247 * hl-line.el (hl-line-sticky-flag): Doc fix.
19248 (global-hl-line-sticky-flag): New option (Bug#8323).
19249 (global-hl-line-highlight): Obey it.
19250
19251 * vc/vc.el (vc-revert-show-diff): Default to t.
19252
19253 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
19254
19255 * allout-widgets.el (allout-widgets-post-command-business):
19256 Stop decorating intermediate isearch matches. They're not being
19257 undecorated when an isearch is continued past, and isearch
19258 automatically collapses them. This leads to "widget leaks", where
19259 decorated items accumulate in collapsed areas. Lines with lots of
19260 hidden widgets can slow down cursor travel, substantially.
19261 Too much complicated machinery would be needed to ensure undecoration,
19262 so we're doing without this nicety.
19263
19264 (allout-widgets-tally-string): Don't try to do a hash-table-count
19265 of allout-widgets-tally when it's nil. This eliminates spurious "Error
19266 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
19267 *Messages* when allout-widgets-maintain-tally is t.
19268
19269 2011-06-26 Martin Rudalics <rudalics@gmx.at>
19270
19271 * window.el (display-buffer-normalize-argument): Rename to
19272 display-buffer-normalize-arguments. Handle special meaning of
19273 LABEL argument. Respect special-display-function when popping up
19274 a new frame. Fix code searching for a window showing the buffer
19275 on another frame.
19276 (display-buffer-normalize-specifiers):
19277 Call display-buffer-normalize-arguments.
19278 (display-buffer-in-window): Don't undedicate the window if its
19279 buffer remains the same.
19280 Reported by Drew Adams <drew.adams@oracle.com>.
19281 (display-buffer-alist): Add choice for same-window macro
19282 specfier.
19283 (display-buffer): Mention special meaning of LABEL argument in
19284 doc-string. Fix quoting. Don't pop up a new frame even as
19285 fallback.
19286
19287 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
19288
19289 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
19290 avoid deleting the current window in some cases (bug#8911).
19291
19292 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
19293
19294 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
19295 (Bug#8934)
19296
19297 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19298
19299 * net/network-stream.el (network-stream-open-starttls):
19300 Use built-in TLS support if `gnutls-available-p' is true.
19301 (network-stream-open-tls): Ditto.
19302
19303 2011-06-26 Leo Liu <sdl.web@gmail.com>
19304
19305 * register.el (registerv): New struct.
19306 (registerv-make): New function.
19307 (jump-to-register, describe-register-1, insert-register):
19308 Support the jump-func, print-func and insert-func slot of a registerv
19309 struct. (Bug#8415)
19310
19311 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
19312
19313 * vc/vc.el (vc-revert-show-diff): New defcustom.
19314 (vc-diff-internal): New arg specifying diff buffer.
19315 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
19316 reuse an existing *vc-diff* buffer (Bug#8927).
19317
19318 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
19319
19320 2011-06-26 Glenn Morris <rgm@gnu.org>
19321
19322 * progmodes/f90.el (f90-critical-indent): New option.
19323 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
19324 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
19325 (f90-mode): Doc fix.
19326 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
19327 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
19328 (f90-beginning-of-block, f90-next-block, f90-indent-region)
19329 (f90-match-end): Handle block, critical.
19330
19331 2011-06-25 Glenn Morris <rgm@gnu.org>
19332
19333 * calendar/diary-lib.el (diary-included-files): Doc fix.
19334 (diary-include-files): New function, extracted from
19335 diary-include-other-diary-files and diary-mark-included-diary-files.
19336 (diary-include-other-diary-files, diary-mark-included-diary-files):
19337 Just call diary-include-files.
19338 (diary-mark-entries): Reset diary-included-files on first call.
19339
19340 * calendar/diary-lib.el (diary-mark-entries)
19341 (diary-mark-included-diary-files):
19342 Visit included diary-files in temp buffers.
19343
19344 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
19345 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
19346 (f90-start-block-re, f90-imenu-generic-expression)
19347 (f90-looking-at-program-block-start, f90-no-block-limit):
19348 Add support for submodules.
19349
19350 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
19351 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
19352
19353 2011-06-25 Eli Zaretskii <eliz@gnu.org>
19354
19355 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
19356 buffer-file-type before setting its value, to avoid disastrous
19357 global effects on decoding files for DOS/Windows systems. (Bug#8780)
19358
19359 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
19360
19361 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
19362
19363 * ses.el (ses-unload-function):
19364 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
19365
19366 * proced.el (proced-unload-function):
19367 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
19368
19369 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
19370
19371 * server.el (server-create-window-system-frame): Add parameters arg.
19372 (server-process-filter): Doc fix. Handle frame-parameters.
19373
19374 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
19375
19376 Fix bug#8730, bug#8781.
19377
19378 * loadhist.el (unload--set-major-mode): New function.
19379 (unload-feature): Use it.
19380
19381 * progmodes/python.el (python-after-info-look): Add autoload cookie.
19382 (python-unload-function): New function.
19383
19384 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
19385
19386 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
19387
19388 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
19389
19390 * net/browse-url.el (browse-url-firefox-program): Add icecat to
19391 the candidates list.
19392
19393 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
19394
19395 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
19396
19397 2011-06-23 Richard Stallman <rms@gnu.org>
19398
19399 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
19400 (rmail-variables): Set next-error-move-function.
19401 (rmail-what-message): Take argument POS.
19402 (rmail-next-error-move): New function.
19403
19404 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
19405
19406 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
19407 messages for adjacent non-terminals.
19408
19409 2011-06-23 Richard Stallman <rms@gnu.org>
19410
19411 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
19412 (rmail-show-message-1): Preserve buffer modified flag.
19413 (rmail-start-mail): Don't specify use of rmail-mail-return;
19414 that's done by mail-bury now.
19415 (rmail-mail-return): Handle arg NEWBUF.
19416
19417 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
19418
19419 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
19420 SIZE is a number.
19421
19422 2011-06-23 Martin Rudalics <rudalics@gmx.at>
19423
19424 * window.el (get-lru-window, get-mru-window)
19425 (get-largest-window): Never return a minibuffer window.
19426 (display-buffer-pop-up-window): Fix a bug that could lead to
19427 reusing the minibuffer window.
19428 (display-buffer): Pass original specifier argument to
19429 display-buffer-function instead of the normalized one.
19430 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19431
19432 2011-06-22 Leo Liu <sdl.web@gmail.com>
19433
19434 * minibuffer.el (completing-read-function)
19435 (completing-read-default): Move from minibuf.c.
19436
19437 2011-06-22 Richard Stallman <rms@gnu.org>
19438
19439 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
19440 to Rmail even if not started by a special Rmail command.
19441
19442 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
19443 Copy the buffer currently showing just one message.
19444
19445 2011-06-22 Roland Winkler <winkler@gnu.org>
19446
19447 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
19448 (bibtex-clean-entry): First delete the old key so that a
19449 customized algorithm for generating the new key does not get
19450 confused by the old key.
19451 (bibtex-url): Obey regexp of first step.
19452 (bibtex-search-entries): Do not use add-to-list with local
19453 list-var.
19454
19455 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19456
19457 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
19458 stored a user name, then query for the password first, instead of
19459 waiting for SMTP to give an error message and the trying again.
19460
19461 2011-06-22 Lawrence Mitchell <wence@gmx.li>
19462
19463 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
19464 BUFFER in call-process.
19465
19466 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19467
19468 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
19469 QUIT twice.
19470 (smtpmail-try-auth-methods): Require user name and password from
19471 auth-source.
19472
19473 2011-06-22 Martin Rudalics <rudalics@gmx.at>
19474
19475 * window.el (display-buffer-default-specifiers)
19476 (display-buffer-alist): Remove entries for pop-up-frame-alist.
19477 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
19478 (split-window): Normalize SIDE argument (Bug#8916).
19479
19480 * frame.el (pop-up-frame-alist, pop-up-frame-function)
19481 (special-display-frame-alist, special-display-popup-frame):
19482 Remove duplicate declarations. These are now in window.el.
19483
19484 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19485
19486 * mail/smtpmail.el (smtpmail-via-smtp):
19487 Set :use-starttls-if-possible so that we always use STARTTLS if the
19488 server supports it. SMTP servers that support STARTTLS commonly
19489 require it.
19490
19491 * net/network-stream.el (network-stream-open-starttls): Support
19492 upgrading to STARTTLS always, even if we don't have built-in support.
19493 (open-network-stream): Add the :always-query-capabilities keyword.
19494
19495 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
19496 upgrades with `open-network-stream', and rely solely on
19497 auth-source for all credentials. Big changes throughout the file,
19498 but in particular:
19499 (smtpmail-auth-credentials): Remove.
19500 (smtpmail-starttls-credentials): Remove.
19501 (smtpmail-via-smtp): Check for servers saying they want AUTH after
19502 MAIL FROM, too.
19503
19504 * net/network-stream.el (network-stream-open-starttls):
19505 Provide support for client certificates both for external and built-in
19506 STARTTLS.
19507 (auth-source): Require.
19508 (open-network-stream): Document the :client-certificate keyword.
19509 (network-stream-certificate): Change cert-cert to cert and
19510 cert-key to key.
19511
19512 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
19513
19514 * net/tramp-cache.el (top): Don't load the persistency file when
19515 "emacs -Q" has been called.
19516
19517 2011-06-21 Tim Harper <timcharper@gmail.com>
19518
19519 * term/ns-win.el (ns-initialize-window-system):
19520 Set application-specific `ApplePressAndHoldEnabled' system
19521 resource to NO as it is not yet supported by the NS port.
19522
19523 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
19524
19525 * misc.el (list-dynamic-libraries--refresh): Compute header here...
19526 (list-dynamic-libraries): ...not here.
19527
19528 2011-06-21 Leo Liu <sdl.web@gmail.com>
19529
19530 * subr.el (sha1): Implement sha1 using secure-hash.
19531
19532 2011-06-21 Martin Rudalics <rudalics@gmx.at>
19533
19534 * window.el (display-buffer-alist): In default value do not
19535 enforce searching a window on any but the selected frame.
19536 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
19537 (display-buffer-select-window): Remove function.
19538 (display-buffer-in-window): When a window on another frame gets
19539 reused, do not select it any more but just raise its frame if
19540 necessary (Bug#8851) and (Bug#8856).
19541 (display-buffer-normalize-options): Handle pop-up-frames related
19542 options more faithfully.
19543 (pop-to-buffer): Don't rely on `display-buffer' selecting the
19544 window if it is on another frame.
19545 (display-buffer-alist, display-buffer-default-specifiers):
19546 Don't make new frame unsplittable by default.
19547 (display-buffer-normalize-argument): Fix doc-string typo and use
19548 'same-frame-other-window instead of 'other-window when associating
19549 with display-buffer-macro-specifiers.
19550
19551 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
19552
19553 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
19554 New functions.
19555 (5x5-mode-map, 5x5-mode-menu): Bind them.
19556 (5x5-draw-grid): Tweak the solver's rendering.
19557
19558 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19559
19560 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
19561 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
19562
19563 2011-06-21 Drew Adams <drew.adams@oracle.com>
19564
19565 * menu-bar.el: Use function variable instead of switch-to-buffer.
19566 (menu-bar-select-buffer-function): New variable.
19567 (menu-bar-update-buffers): Use it (bug#8876).
19568
19569 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19570
19571 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
19572 variable's status.
19573
19574 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
19575
19576 * x-dnd.el (x-dnd-version-from-flags)
19577 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
19578 and long as number (Bug#8899).
19579 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
19580
19581 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
19582
19583 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
19584 (completion-try-completion, completion-all-completions): Compute the
19585 metadata argument if it's missing; make it optional (bug#8795).
19586
19587 * wid-edit.el: Use lex-bind and move towards completion-at-point.
19588 (widget-complete): Use new :completion-function property.
19589 (widget-completions-at-point): New function.
19590 (default): Use :completion-function instead of :complete.
19591 (widget-default-completions): Rename from widget-default-complete;
19592 Rewrite.
19593 (widget-string-complete, widget-file-complete, widget-color-complete):
19594 Remove functions.
19595 (file, symbol, function, variable, coding-system, color):
19596 * international/mule-cmds.el (default-input-method, charset)
19597 (language-info-custom-alist):
19598 * cus-edit.el (face): Use new property :completions.
19599
19600 * progmodes/pascal.el (pascal-completions-at-point): New function.
19601 (pascal-mode): Use it.
19602 (pascal-mode-map): Use completion-at-point.
19603 (pascal-toggle-completions): Make obsolete.
19604 (pascal-complete-word, pascal-show-completions):
19605 * progmodes/octave-mod.el (octave-complete-symbol):
19606 Redefine as obsolete alias.
19607 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
19608 Signal absence of completion info for old Octave,
19609 (inferior-octave-complete): Redefine as obsolete alias.
19610 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
19611 (meta-completions-at-point): Rename from meta-complete-symbol and
19612 adapt it for use on completion-at-point-functions.
19613 (meta-common-mode): Use it.
19614 (meta-looking-at-backward, meta-match-buffer): Remove.
19615 (meta-complete-symbol): Redefine as obsolete alias.
19616 (meta-common-mode-map): Use completion-at-point.
19617 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
19618 (makefile-mode-map): Use completion-at-point.
19619 (makefile-completions-at-point): Rename from makefile-complete and
19620 adapt it for use on completion-at-point-functions.
19621 (makefile-mode): Use it.
19622 (makefile-complete): Redefine as obsolete alias.
19623
19624 2011-06-20 Deniz Dogan <deniz@dogan.se>
19625
19626 * net/rcirc.el: Delete trailing whitespaces once and for all.
19627
19628 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
19629
19630 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
19631
19632 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
19633
19634 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
19635
19636 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
19637
19638 2011-06-19 Martin Rudalics <rudalics@gmx.at>
19639
19640 * window.el (display-buffer-other-window-means-other-frame):
19641 Call display-buffer-normalize-alist.
19642 (display-buffer-normalize-specifiers-1): Rename to
19643 display-buffer-normalize-argument. New argument other-frame.
19644 Rewrite.
19645 (display-buffer-normalize-specifiers-2): Rename to
19646 display-buffer-normalize-options.
19647 (display-buffer-normalize-alist-1): New function.
19648 (display-buffer-normalize-specifiers-3): Rename to
19649 display-buffer-normalize-alist.
19650 Call display-buffer-normalize-alist-1.
19651 (display-buffer-normalize-options-inhibit): New variable.
19652 (display-buffer-normalize-specifiers): Rewrite calling
19653 display-buffer-normalize-alist,
19654 display-buffer-normalize-argument, and
19655 display-buffer-normalize-options. Don't call the latter if
19656 display-buffer-normalize-options-inhibit is non-nil.
19657 (frame-auto-delete): New option.
19658 (window-deletable-p): Use frame-auto-delete.
19659 (window-list-no-nils, window-state-ignored-parameters)
19660 (window-state-get-1, window-state-get, window-state-put-list)
19661 (window-state-put-1, window-state-put-2, window-state-put):
19662 New functions.
19663 (display-buffer-normalize-options): Move special-display-p group
19664 after pop-up-frame group (Bug#8851) and (Bug#8856).
19665
19666 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
19667
19668 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
19669 groups (Bug#8776).
19670 (rx-submatch-n): New function.
19671 (rx): Document it.
19672
19673 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
19674 (Bug#8768).
19675
19676 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
19677
19678 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
19679
19680 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
19681 anytime existing face settings are present (Bug#8889).
19682
19683 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
19684 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
19685 Remove unused argument.
19686
19687 2011-06-18 Martin Rudalics <rudalics@gmx.at>
19688
19689 * window.el (display-buffer-default-specifiers):
19690 Remove pop-up-frame. Add pop-up-window-min-height,
19691 pop-up-window-min-width, and another reuse-window specifier
19692 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
19693 (display-buffer-normalize-specifiers-2):
19694 Handle split-height-threshold and split-width-threshold also when
19695 pop-up-windows is unset. Add a reuse-window specifier for the
19696 case popping up a new window fails.
19697 (special-display-popup-frame): Remove double quoting.
19698 (display-buffer-normalize-specifiers-1): Fix thinko.
19699
19700 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
19701
19702 * shell.el (shell-completion-vars): Set pcomplete-termination-string
19703 according to comint-completion-addsuffix.
19704
19705 * pcomplete.el: Convert to lexical binding and fix bug#8819.
19706 (pcomplete-suffix-list): Mark as obsolete.
19707 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
19708 pcomplete-seen in the closure.
19709 (pcomplete-comint-setup): Setup completion-at-point as well.
19710 (pcomplete--entries): New function.
19711 (pcomplete--env-regexp): New var.
19712 (pcomplete-entries): Rewrite to work with partial-completion and
19713 without relying on pcomplete-suffix-list.
19714 (pcomplete-pare-list): Remove, unused.
19715
19716 2011-06-17 Martin Rudalics <rudalics@gmx.at>
19717
19718 * window.el (display-buffer-alist): Set pop-up-window-min-height
19719 and pop-up-window-min-width in default value. Reported by
19720 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
19721 other-window-means-other-frame.
19722 (display-buffer-macro-specifiers): Comment out entry for
19723 other-window specifier.
19724 (display-buffer-other-window-means-other-frame): New function.
19725 (display-buffer-normalize-specifiers-1): New arguments
19726 buffer-name and label. Treat other-window case specially.
19727 (display-buffer-normalize-specifiers-2): Treat other-window case
19728 specially.
19729 (display-buffer-normalize-specifiers-3): New function.
19730 (display-buffer-normalize-specifiers):
19731 Call display-buffer-normalize-specifiers-3.
19732
19733 2011-06-17 Martin Rudalics <rudalics@gmx.at>
19734
19735 * window.el (same-window-p): Fix two typos introduced when
19736 adding with-no-warnings.
19737 (display-buffer-normalize-specifiers-1): Don't check
19738 pop-up-frames for 'unset initialization.
19739 (display-buffer-normalize-specifiers-2): Major rewrite using
19740 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
19741 (pop-up-frames, display-buffer-reuse-frames)
19742 (display-buffer-mark-dedicated): Don't initialize to 'unset.
19743 Suggested by David Engster <deng@randomsample.de>.
19744 (even-window-heights): Initialize to 'unset.
19745 (display-buffer-alist-set): Handle new 'unset initializations.
19746 (display-buffer-macro-specifiers): Don't pop up a new frame in the
19747 other window case.
19748
19749 2011-06-16 Martin Rudalics <rudalics@gmx.at>
19750
19751 * window.el (display-buffer-normalize-specifiers-1):
19752 Respect current value of pop-up-frames for most reasonable values of
19753 second argument of display-buffer (Bug#8865).
19754 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
19755 (switch-to-buffer-other-window-same-frame)
19756 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
19757 Adams (Bug#8875).
19758 (display-buffer): Don't check noninteractive when calling
19759 display-buffer-pop-up-frame.
19760 (display-buffer-pop-up-frame): Never pop up a frame in
19761 noninteractive mode (Bug#8857).
19762 (enlarge-window, shrink-window): Don't report an error when the
19763 window can't be resized as requested (Bug#8862).
19764
19765 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19766
19767 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
19768
19769 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
19770
19771 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
19772
19773 2011-06-15 Alan Mackenzie <acm@muc.de>
19774
19775 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
19776 for declarators, disable knr checking to speed up for normal files.
19777 2: Refactor, replacing a sequence of nested if forms by a cond form.
19778
19779 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19780
19781 * net/network-stream.el (open-network-stream): Add the keyword
19782 :always-query-capabilities for the case where you want to force a
19783 `plain' network connection, but the protocol still requires the
19784 capabilitiy command (i.e., SMTP and EHLO).
19785
19786 * subr.el (process-live-p): Rename from `process-alive-p' for
19787 consistency with other `-live-p' functions.
19788
19789 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19790
19791 * window.el (same-window-buffer-names, same-window-regexps)
19792 (special-display-frame-alist, special-display-popup-frame)
19793 (special-display-function, special-display-buffer-names)
19794 (special-display-regexps, pop-up-frame-alist)
19795 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
19796 (pop-up-windows, split-window-preferred-function)
19797 (split-height-threshold, split-width-threshold, even-window-heights)
19798 (display-buffer-mark-dedicated): Don't encourage the use of
19799 display-buffer-alist from Elisp code.
19800
19801 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
19802
19803 * progmodes/python.el (python-mode): Derive from prog-mode.
19804 * progmodes/ps-mode.el (ps-mode):
19805 * progmodes/mixal-mode.el (mixal-mode):
19806 * progmodes/cfengine.el (cfengine-mode):
19807 * progmodes/ld-script.el (ld-script-mode): Likewise.
19808
19809 2011-06-15 Martin Rudalics <rudalics@gmx.at>
19810
19811 * window.el (display-buffer-alist): Trim default value to avoid
19812 popping up a new frame (Bug#8857) or reusing an arbitrary window
19813 on another frame.
19814 (display-buffer): Do not fall back on popping up a new frame in
19815 batch mode (Bug#8857).
19816
19817 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
19818
19819 * cus-theme.el (describe-theme-1): Use custom-theme-p.
19820 (custom-theme-summary): New function.
19821 (customize-themes): Use it.
19822
19823 2011-06-13 Glenn Morris <rgm@gnu.org>
19824
19825 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
19826
19827 2011-06-13 Martin Rudalics <rudalics@gmx.at>
19828
19829 * help.el (help-window): Remove variable.
19830 (help-window-point-marker, temp-buffer-max-height)
19831 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
19832 (help-print-return-message): Don't set help-window.
19833 (resize-temp-buffer-window): Rewrite cod eand doc-string.
19834 (help-window-setup-finish): Remove.
19835 (help-window-display-message, help-window-setup)
19836 (with-help-window): Major rewrite based on new
19837 display-buffer-window variable.
19838
19839 * help-mode.el (help-mode-finish): Remove help-window related
19840 code.
19841
19842 * view.el (view-exits-all-viewing-windows): Remove reference to
19843 view-return-to-alist in doc-string.
19844 (view-return-to-alist): Make obsolete.
19845 (view-buffer): Call pop-to-buffer-same-window and remove
19846 undo-window code.
19847 (view-buffer-other-window): Call pop-to-buffer-other-window and
19848 simplify code. Ignore second argument.
19849 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
19850 simplify code. Ignore second argument.
19851 (view-return-to-alist-update): Make obsolete.
19852 (view-mode-enter): Rename second argument to QUIT-RESTORE.
19853 Rewrite using quit-restore window parameters.
19854 (view-mode-exit): Rename second argument to EXIT-ONLY.
19855 Rewrite using quit-restore-window.
19856 (View-exit, View-exit-and-edit, View-leave, View-quit)
19857 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
19858 appropriate arguments.
19859 (view-end-message): Use quit-restore window parameter.
19860
19861 * window.el (display-buffer-function): Rewrite doc-string.
19862 (display-buffer-window, display-buffer-alist): New variables.
19863 (display-buffer-split-specifiers)
19864 (display-buffer-side-specifiers)
19865 (display-buffer-macro-specifiers): New constants.
19866 (display-buffer-even-window-sizes, display-buffer-set-height)
19867 (display-buffer-set-width, display-buffer-select-window)
19868 (display-buffer-in-window, display-buffer-reuse-window)
19869 (display-buffer-split-window-1, display-buffer-split-window)
19870 (display-buffer-split-atom-window, display-buffer-pop-up-window)
19871 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
19872 (display-buffer-in-side-window, normalize-buffer-to-display)
19873 (display-buffer-normalize-specifiers-1)
19874 (display-buffer-normalize-specifiers-2)
19875 (display-buffer-normalize-specifiers, display-buffer-frame):
19876 New functions.
19877 (display-buffer): Major rewrite.
19878 (display-buffer-other-window, display-buffer-other-frame)
19879 (pop-to-buffer, switch-to-buffer-other-window)
19880 (switch-to-buffer-other-frame): Rewrite.
19881 (display-buffer-same-window, display-buffer-same-frame)
19882 (display-buffer-same-frame-other-window)
19883 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19884 (pop-to-buffer-other-window)
19885 (pop-to-buffer-same-frame-other-window)
19886 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
19887 (switch-to-buffer-other-window-same-frame): New functions.
19888 (same-window-p, special-display-p): Rewrite disabling warnings.
19889 Make obsolete.
19890 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19891 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
19892 Make obsolete
19893 (same-window-buffer-names, same-window-regexps)
19894 (special-display-frame-alist, special-display-popup-frame)
19895 (special-display-function, special-display-buffer-names)
19896 (special-display-regexps, pop-up-frame-alist)
19897 (pop-up-frame-function, split-window-preferred-function)
19898 (split-height-threshold, split-width-threshold)
19899 (even-window-heights): Make obsolete.
19900
19901 2011-06-12 Glenn Morris <rgm@gnu.org>
19902
19903 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
19904 Misc simplifications.
19905
19906 2011-06-12 Martin Rudalics <rudalics@gmx.at>
19907
19908 * window.el (window-safely-shrinkable-p): Restore function which
19909 was inadvertently removed in change from 2011-06-11. Declare as
19910 obsolete.
19911
19912 * calendar/calendar.el (calendar-generate-window):
19913 Use window-iso-combined-p instead of combination of one-window-p and
19914 window-safely-shrinkable-p.
19915
19916 2011-06-12 Glenn Morris <rgm@gnu.org>
19917
19918 * progmodes/fortran.el (fortran-mode-syntax-table):
19919 * progmodes/f90.el (f90-mode-syntax-table):
19920 Set % to punctuation. (Bug#8820)
19921 (f90-find-tag-default): Remove, no longer needed.
19922
19923 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
19924
19925 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
19926
19927 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
19928
19929 * image.el (image-animated-p): Return animation delay in seconds.
19930 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
19931 (image-animate-timeout): Remove DELAY argument. Don't assume
19932 every subimage has the same delay; get it from image-animated-p.
19933 (image-animate): Caller changed.
19934
19935 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
19936
19937 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
19938 to ignored backtrace functions.
19939
19940 2011-06-11 Glenn Morris <rgm@gnu.org>
19941
19942 * calendar/appt.el (appt-disp-window-function): Doc fix.
19943 (appt-check): Handle overlapping appointments. (Bug#8337)
19944
19945 2011-06-11 Martin Rudalics <rudalics@gmx.at>
19946
19947 * window.el (window-tree-1, window-tree): New functions, moving
19948 the latter to window.el.
19949 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
19950 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
19951 (bw-refresh-edges): Remove.
19952 (balance-windows-1, balance-windows-2): New functions.
19953 (balance-windows): Rewrite in terms of window tree functions,
19954 balance-windows-1 and balance-windows-2.
19955 (bw-adjust-window): Remove.
19956 (balance-windows-area-adjust): New function with functionality of
19957 bw-adjust-window but using resize-window.
19958 (set-window-text-height): Rewrite doc-string.
19959 Use normalize-live-window and resize-window.
19960 (enlarge-window-horizontally, shrink-window-horizontally):
19961 Rename argument to DELTA.
19962 (window-buffer-height): New function.
19963 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
19964 Rewrite using new window resize routines.
19965 (kill-buffer-and-window, mouse-autoselect-window-select):
19966 Use ignore-errors instead of condition-case.
19967 (quit-window): Call delete-frame instead of delete-windows-on
19968 for the only buffer on frame.
19969
19970 2011-06-10 Martin Rudalics <rudalics@gmx.at>
19971
19972 * loadup.el (top-level): Load window before files for the sake
19973 of replace-buffer-in-windows.
19974
19975 * files.el (read-buffer-to-switch)
19976 (switch-to-buffer-other-window)
19977 (switch-to-buffer-other-frame, display-buffer-other-frame):
19978 Move to window.el.
19979
19980 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
19981 (previous-buffer): Move to window.el.
19982
19983 * bindings.el (unbury-buffer): Move to window.el.
19984
19985 * window.el (delete-other-windows-vertically): Move after
19986 definition of delete-other-windows.
19987 (other-window, delete-windows-on, replace-buffer-in-windows):
19988 Move here from window.c.
19989 (record-window-buffer, unrecord-window-buffer)
19990 (set-window-buffer-start-and-point, switch-to-prev-buffer)
19991 (switch-to-next-buffer): New functions.
19992 (get-next-valid-buffer, last-buffer, next-buffer): Move here
19993 from simple.el. Call switch-to-next-buffer.
19994 (previous-buffer): Move here from simple.el.
19995 Call switch-to-prev-buffer.
19996 (bury-buffer): Move here from buffer.c. Switch to previous
19997 buffer when window cannot be deleted.
19998 (unbury-buffer): Move here from bindings.el.
19999 (ctl-x-map): Move binding for other-window from window.c to
20000 here.
20001 (read-buffer-to-switch, switch-to-buffer-other-window)
20002 (switch-to-buffer-other-frame): Move here from files.el.
20003 (normalize-buffer-to-switch-to): New functions.
20004 (switch-to-buffer): Move here from buffer.c.
20005 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
20006
20007 2011-06-10 Martin Rudalics <rudalics@gmx.at>
20008
20009 * window.el (window-min-height, window-min-width): Move here
20010 from window.c. Add defcustoms and rewrite doc-strings.
20011 (resize-mini-window, resize-window): New functions.
20012 (adjust-window-trailing-edge, enlarge-window, shrink-window):
20013 Move here from window.c.
20014 (maximize-window, minimize-window): New functions.
20015 (delete-window, delete-other-windows, split-window): Move here
20016 from window.c.
20017 (window-split-min-size): New function.
20018 (split-window-keep-point): Mention split-window-above-each-other
20019 instead of split-window-vertically.
20020 (split-window-above-each-other, split-window-vertically):
20021 Rename split-window-vertically to split-window-above-each-other
20022 and provide defalias for old definition.
20023 (split-window-side-by-side, split-window-horizontally):
20024 Rename split-window-horizontally to split-window-side-by-side
20025 and provide defalias for the old definition.
20026 (ctl-x-map): Move bindings for delete-window,
20027 delete-other-windows and enlarge-window here from window.c.
20028 Replace bindings for split-window-vertically and
20029 split-window-horizontally by bindings for
20030 split-window-above-each-other and split-window-side-by-side.
20031
20032 * cus-start.el (all): Remove entries for window-min-height and
20033 window-min-width. Add entries for window-splits and
20034 window-nest.
20035
20036 2011-06-09 Glenn Morris <rgm@gnu.org>
20037
20038 * calendar/appt.el (appt-mode-line): New function.
20039 (appt-check, appt-disp-window): Use it.
20040
20041 * files.el (hack-one-local-variable-eval-safep):
20042 Allow minor-modes with explicit +/-1 arguments.
20043
20044 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
20045
20046 * term/xterm.el (xterm): Add defgroup.
20047 (xterm-extra-capabilities): Add defcustom to supply known xterm
20048 capabilities, skip querying them, or query them (default).
20049 (terminal-init-xterm): Use it.
20050 (terminal-init-xterm-modify-other-keys): New function to set up
20051 modifyOtherKeys support to simplify `terminal-init-xterm'.
20052
20053 2011-06-09 Martin Rudalics <rudalics@gmx.at>
20054
20055 * window.el (resize-window-reset, resize-window-reset-1)
20056 (resize-subwindows-skip-p, resize-subwindows-normal)
20057 (resize-subwindows, resize-other-windows, resize-this-window)
20058 (resize-root-window, resize-root-window-vertically)
20059 (window-deletable-p, window-or-subwindow-p)
20060 (frame-root-window-p): New functions.
20061
20062 2011-06-09 Glenn Morris <rgm@gnu.org>
20063
20064 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
20065 (ange-ftp-get-files): Use it.
20066
20067 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
20068
20069 * mail/sendmail.el (mail-recover-1, mail-recover):
20070 * files.el (recover-file, recover-session):
20071 Handle dired-listing-switches not being just a single short option.
20072
20073 2011-06-09 Glenn Morris <rgm@gnu.org>
20074
20075 * calendar/appt.el (appt-display-message, appt-disp-window):
20076 Handle lists of appointments.
20077
20078 2011-06-08 Martin Rudalics <rudalics@gmx.at>
20079
20080 * window.el (one-window-p): Move down in code.
20081 Rewrite doc-string.
20082 (window-current-scroll-bars): Rewrite doc-string.
20083 Normalize live window argument.
20084 (walk-windows, get-window-with-predicate, count-windows):
20085 Rewrite doc-string. Use window-list-1.
20086 (window-in-direction-2, window-in-direction, get-mru-window):
20087 New functions.
20088
20089 2011-06-08 Reuben Thomas <rrt@sc3d.org>
20090
20091 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
20092 Doc fix (Bug#8713).
20093
20094 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
20095
20096 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
20097
20098 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
20099
20100 * loadhist.el (unload-feature-special-hooks):
20101 Add `comint-output-filter-functions'.
20102
20103 2011-06-08 Ivan Kanis <gnu@kanis.fr>
20104
20105 * calendar/appt.el (appt-check): Move some initializations into the let.
20106
20107 2011-06-08 Martin Rudalics <rudalics@gmx.at>
20108
20109 * window.el (window-height): Defalias to window-total-height.
20110 (window-width): Defalias to window-body-width.
20111
20112 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
20113
20114 * image-mode.el (image-toggle-animation): New command.
20115 (image-mode-map): Bind it to RET.
20116 (image-mode): Update message.
20117 (image-toggle-display-image): Avoid a spurious cache flush.
20118 (image-transform-rotation): Doc fix.
20119 (image-transform-properties): Return quickly in the normal case.
20120 (image-animate-loop): Rename from image-animate-max-time.
20121
20122 * image.el (image-animate-max-time): Move to image-mode.el.
20123 (create-animated-image): Remove unnecessary function.
20124 (image-animate): Rename from image-animate-start. New arg.
20125 (image-animate-stop): Remove; just use image-animate-timer.
20126 (image-animate-timer): Use car-safe.
20127 (image-animate-timeout): Rename argument.
20128
20129 2011-06-07 Martin Rudalics <rudalics@gmx.at>
20130
20131 * window.el (get-lru-window, get-largest-window): Move here from
20132 window.c. Rename first argument to ALL-FRAMES.
20133 Rephrase doc-strings.
20134 (get-buffer-window-list): Rewrite using window-list-1.
20135 Rephrase doc-string.
20136 (window-safe-min-height, window-safe-min-width): New constants.
20137 (window-size-ignore, window-min-size, window-min-size-1)
20138 (window-sizable, window-sizable-p, window-size-fixed-1)
20139 (window-size-fixed-p, window-min-delta-1, window-min-delta)
20140 (window-max-delta-1, window-max-delta, window-resizable)
20141 (window-resizable-p, window-total-height, window-total-width)
20142 (window-body-width): New functions.
20143 (window-full-height-p, window-full-width-p): Rewrite using
20144 window-total-size.
20145 (window-body-height): Rewrite using window-body-size.
20146
20147 2011-06-06 Martin Rudalics <rudalics@gmx.at>
20148
20149 * window.el (window-right, window-left, window-child)
20150 (window-child-count, window-last-child, window-any-p)
20151 (normalize-live-buffer, normalize-live-frame)
20152 (normalize-any-window, normalize-live-window)
20153 (window-iso-combination-p, window-iso-combined-p)
20154 (window-iso-combinations)
20155 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
20156 (windows-with-parameter, window-with-parameter)
20157 (window-atom-root, make-window-atom, window-atom-check-1)
20158 (window-atom-check, window-side-check, window-check):
20159 New functions.
20160 (ignore-window-parameters, window-sides, window-sides-vertical)
20161 (window-sides-slots): New variables.
20162 (window-size-fixed): Move down in code. Minor doc-string fix.
20163
20164 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
20165
20166 * comint.el (comint-dynamic-complete-as-filename)
20167 (comint-dynamic-complete-filename): Correctly call
20168 completion-in-region.
20169
20170 2011-06-05 Deniz Dogan <deniz@dogan.se>
20171
20172 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
20173 in last change.
20174
20175 2011-06-05 Deniz Dogan <deniz@dogan.se>
20176
20177 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
20178 (rcirc): Use it to prompt for encryption.
20179
20180 2011-06-05 Roland Winkler <winkler@gnu.org>
20181
20182 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
20183 (bibtex-search-entries): New command bound to C-c C-a.
20184 (bibtex-display-entries): New function.
20185
20186 2011-06-05 Roland Winkler <winkler@gnu.org>
20187
20188 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
20189 (bibtex-insert-kill): After yanking insert newline if necessary.
20190 (bibtex-initialize): Call bibtex-string-files-init only once.
20191 (bibtex-mode): Do not call easy-menu-add.
20192 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
20193 (bibtex-yank): Set arg properly if nil.
20194
20195 2011-06-05 Roland Winkler <winkler@gnu.org>
20196
20197 * textmodes/bibtex.el (bibtex-search-entry-globally):
20198 New variable.
20199 (bibtex-search-entry): Use it.
20200
20201 2011-06-05 Roland Winkler <winkler@gnu.org>
20202
20203 * textmodes/bibtex.el (bibtex-entry-format): New option
20204 sort-fields.
20205 (bibtex-format-entry, bibtex-reformat): Honor this option.
20206 (bibtex-parse-entry): Return fields in proper order.
20207
20208 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
20209
20210 * doc-view.el (doc-view-remove-if): Move computation of result out
20211 of `dolist' to silence misleading lexical-binding warning.
20212
20213 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
20214
20215 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
20216 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
20217
20218 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
20219
20220 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
20221 "SunOS 5.10".
20222
20223 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
20224
20225 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
20226 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
20227 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
20228 (tramp-parse-putty):
20229 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
20230 (tramp-completion-function-alist-ssh)
20231 (tramp-completion-function-alist-telnet)
20232 (tramp-completion-function-alist-su)
20233 (tramp-completion-function-alist-putty): Set `tramp-autoload'
20234 cookie.
20235
20236 * net/tramp-ftp.el:
20237 * net/tramp-sh.el:
20238 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
20239 load "tramp.el" `tramp-set-completion-function'.
20240
20241 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
20242
20243 * shell.el: Require and use pcomplete.
20244 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
20245 (shell-completion-vars): Set pcomplete-default-completion-function.
20246
20247 2011-06-04 Deniz Dogan <deniz@dogan.se>
20248
20249 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
20250 `memq' (Bug#8799).
20251
20252 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20253
20254 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
20255
20256 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
20257
20258 * bs.el (bs--mark-unmark, bs--nth-wrapper):
20259 * mpc.el (mpc-select-extend, mpc-songpointer-context):
20260 * vc/log-view.el (log-view-beginning-of-defun):
20261 * vc/smerge-mode.el (smerge-apply-resolution-patch)
20262 (smerge-refine-forward, smerge-refine-chopup-region):
20263 Silence warning for unused `dotimes' counter variables.
20264
20265 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20266
20267 * net/tramp.el (tramp-with-progress-reporter): Rename from
20268 with-progress-reporter. Use `declare'.
20269 * net/tramp-smb.el:
20270 * net/tramp-sh.el:
20271 * net/tramp-gvfs.el: Update all uses.
20272
20273 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
20274
20275 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
20276 buffer isn't killed before making it current.
20277
20278 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20279
20280 Silence various byte-compiler warnings.
20281 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
20282 `access-type' and new obsolescence format.
20283 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
20284 new format.
20285 (byte-compile-check-variable): New `access-type' argument.
20286 Only warn if the access-type is obsolete.
20287 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20288 (byte-compile-variable-set): Adjust callers.
20289 * help-fns.el (describe-variable): Adjust to new obsolescence format.
20290 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
20291 setting it as obsolete.
20292 * simple.el (minibuffer-completing-symbol):
20293 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
20294 access as obsolete.
20295 * minibuffer.el (minibuffer-completing-file-name): Don't make it
20296 obsolete yet.
20297 * international/quail.el (quail-mouse-choose-completion): Remove unused
20298 code referring to obsolete var.
20299 (quail-choose-completion-string): Remove.
20300 * server.el (server-clients-with, server-kill-buffer-query-function)
20301 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
20302 * proced.el (proced-send-signal):
20303 * emacs-lisp/lisp.el (lisp-complete-symbol):
20304 Replace completion-annotate-function with completion-extra-properties.
20305
20306 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20307
20308 * simple.el (goto-line): Use read-number.
20309 (overriding-map-is-bound): Remove.
20310 (saved-overriding-map): Change default.
20311 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
20312 Take the map as argument.
20313 (universal-argument, negative-argument, digit-argument): Use it.
20314 (restore-overriding-map): Adjust.
20315 (do-auto-fill): Use fill-forward-paragraph.
20316 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
20317
20318 * minibuffer.el (minibuffer-inactive-mode-map): New var.
20319 (minibuffer-inactive-mode): New major mode.
20320 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
20321 the *Messages* buffer" hack.
20322 (mouse-popup-menubar): Don't burp if the event is a normal key.
20323
20324 Miscellaneous tweaks.
20325 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
20326 lexical scoping as in subr.el's dolist and dotimes.
20327 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
20328 Silence compiler warning.
20329 * thingatpt.el (forward-whitespace): Trivial coding style fix.
20330 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
20331 * international/ccl.el (ccl-compile): Trivial simplification.
20332 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
20333 * emacs-lisp/testcover.el (testcover-end): Remove spurious
20334 `printflag' argument.
20335 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
20336 Purecopy the whole obsolescence data.
20337
20338 2011-06-01 Leo Liu <sdl.web@gmail.com>
20339
20340 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
20341 improve doc-string as suggested by Marco Pessotto
20342 <melmothx@gmail.com>.
20343 (rcirc-print): Fix last change.
20344
20345 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20346
20347 * minibuffer.el (complete-with-action): Return nil for the metadata and
20348 boundaries of non-functional tables.
20349 (completion-table-dynamic): Return nil for the metadata.
20350 (completion-table-with-terminator): Add default case, using
20351 complete-with-action.
20352 (completion--metadata): New function.
20353 (completion-all-sorted-completions, minibuffer-completion-help): Use it
20354 to try and avoid pathological performance problems.
20355 (completion--embedded-envvar-table): Return `category' metadata.
20356
20357 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
20358
20359 * subr.el (process-alive-p): New tiny convenience function.
20360
20361 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20362
20363 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
20364 content but also its previous major mode.
20365
20366 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
20367
20368 * emacs-lisp/debug.el (debug): Restore the previous content of the
20369 *Backtrace* buffer when we exit with C-M-c.
20370
20371 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20372
20373 * minibuffer.el: Add metadata method to completion tables.
20374 (completion-category-overrides): New defcustom.
20375 (completion-metadata, completion--field-metadata)
20376 (completion-metadata-get, completion--styles)
20377 (completion--cycle-threshold): New functions.
20378 (completion-try-completion, completion-all-completions):
20379 Add `metadata' argument to choose completion-styles.
20380 (completion--do-completion): Use metadata to choose cycling.
20381 (completion-all-sorted-completions): Use metadata for sorting.
20382 Remove :completion-cycle-penalty which is not needed any more.
20383 (completion--try-word-completion): Add `metadata' argument.
20384 (minibuffer-completion-help): Check metadata for annotation function
20385 and sorting.
20386 (completion-file-name-table): Return `category' metadata.
20387 (minibuffer-completing-file-name): Make obsolete.
20388 * simple.el (minibuffer-completing-symbol): Make obsolete.
20389 * icomplete.el (icomplete-completions): Pass new `metadata' param to
20390 completion-try-completion.
20391
20392 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
20393
20394 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
20395
20396 2011-05-30 Leo Liu <sdl.web@gmail.com>
20397
20398 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
20399 (rcirc-print): Decode all incoming messages (bug#8744).
20400 (rcirc-decode-coding-system): Allow value nil for automatic coding
20401 system detection.
20402
20403 2011-06-01 Glenn Morris <rgm@gnu.org>
20404
20405 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
20406
20407 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
20408
20409 * image.el (image-animate-max-time): Allow nil and t values.
20410 Default to nil.
20411 (create-animated-image): Doc fix.
20412 (image-animate-start): Remove second arg; just use
20413 image-animate-max-time.
20414 (image-animate-timeout): Doc fix. Args changed.
20415
20416 * image-mode.el (image-toggle-display-image): Ensure that the
20417 image spec passed to the animate timer is the same object as in
20418 the buffer's display property (Bug#6981).
20419 (image-transform-properties): Doc fix.
20420
20421 * image.el (image-animate-max-time): Default to nil.
20422
20423 2011-05-29 Martin Rudalics <rudalics@gmx.at>
20424
20425 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
20426 entire buffer list (Bug#8184).
20427
20428 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
20429
20430 * image.el (imagemagick-types-inhibit)
20431 (imagemagick-register-types): Doc fix.
20432
20433 2011-05-29 Deniz Dogan <deniz@dogan.se>
20434
20435 * net/rcirc.el (rcirc): Use the user's stored encryption method by
20436 default.
20437
20438 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
20439
20440 * select.el: Don't perform clipboard-manager saving in hooks;
20441 leave the hooks empty.
20442
20443 2011-05-28 Leo Liu <sdl.web@gmail.com>
20444
20445 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
20446 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
20447 (occur-edit-mode): New major mode (Bug#8463).
20448 (occur-after-change-function): New function.
20449 (occur-engine): Give Occur tags a read-only property.
20450
20451 2011-05-28 Kevin Ryde <user42@zip.com.au>
20452
20453 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
20454
20455 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
20456
20457 * bindings.el (help-echo): Make the initial non-indicator dash
20458 empty on graphical terminals (Bug#7295).
20459
20460 * files.el (auto-mode-alist): Move config rule after the
20461 in-stripping one (Bug#8547).
20462
20463 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
20464
20465 * startup.el (normal-splash-screen): Remove gratuitous mode-line
20466 setting (Bug#8740).
20467
20468 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
20469
20470 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
20471 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
20472 (Bug#8539).
20473
20474 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
20475
20476 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
20477
20478 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
20479
20480 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
20481 (hs-hide-block-at-point, hs-find-block-beginning)
20482 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
20483 (Bug#8279).
20484
20485 2011-05-28 Glenn Morris <rgm@gnu.org>
20486
20487 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
20488
20489 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
20490
20491 * help-fns.el (describe-function-1): If the function is a derived
20492 major mode, print the parent mode.
20493
20494 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
20495 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
20496
20497 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
20498
20499 * minibuffer.el (completion--capf-wrapper): Check applicability before
20500 returning non-nil for non-exclusive completion data.
20501 * progmodes/etags.el (tags-completion-at-point-function):
20502 * info-look.el (info-lookup-completions-at-point): Mark as
20503 non-exclusive.
20504 (info-complete): Adjust accordingly.
20505
20506 * info-look.el: Convert to lexical-binding and completion-at-point.
20507 (info-lookup-completions-at-point): New function.
20508 (info-complete): Use it and completion-in-region.
20509
20510 2011-05-28 Drew Adams <drew.adams@oracle.com>
20511
20512 * isearch.el: Let M-e start with point at the first mismatched char.
20513 (isearch-fail-pos): New function.
20514 (isearch-edit-string): Use it.
20515
20516 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20517
20518 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20519
20520 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
20521
20522 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
20523 traversal functions for avl-trees.
20524 (avl-tree--stack): New struct.
20525 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
20526 (avl-tree-enter): Add optional `updatefun' arg.
20527 (avl-tree--do-enter): Add optional `updatefun' arg.
20528 Change return value.
20529 (avl-tree-delete): Add optional `test' and `nilflag' args.
20530 (avl-tree--do-delete): Add `test' and `nilflag' args.
20531 Change return value.
20532 (avl-tree-member): Add optional `nilflag'
20533 (avl-tree-member-p): New function.
20534 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
20535 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
20536 (avl-tree-stack-empty-p): New functions.
20537
20538 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
20539 avl-tree--del-balance1 and make it work both ways.
20540 (avl-tree--del-balance2): Remove.
20541 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
20542 make it work both ways.
20543 (avl-tree--enter-balance2): Remove.
20544 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
20545 New macros.
20546 (avl-tree--mapc, avl-tree-map): Add direction argument.
20547
20548 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
20549
20550 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
20551
20552 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
20553
20554 * select.el: Support clipboard managers with built-in function
20555 x-clipboard-manager-save, via delete-frame-functions and
20556 kill-emacs-hook.
20557 (xselect-convert-to-targets): Add MULTIPLE target to list.
20558 (xselect-convert-to-save-targets): New function.
20559
20560 2011-05-27 Kenichi Handa <handa@m17n.org>
20561
20562 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
20563 let-binding rfc2047-encode-encoded-words to nil.
20564
20565 2011-05-27 Glenn Morris <rgm@gnu.org>
20566
20567 * mail/emacsbug.el: Don't require url-util.
20568
20569 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
20570
20571 * files.el (set-auto-mode):
20572 Also respect mode: entries at the end of the file. (Bug#8586)
20573
20574 2011-05-26 Glenn Morris <rgm@gnu.org>
20575
20576 * files.el (hack-local-variables-prop-line, hack-local-variables):
20577 Downcase mode names, as seems to be traditional.
20578 (hack-local-variables, hack-local-variables-apply): Doc fixes.
20579
20580 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
20581 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
20582
20583 2011-05-25 Julien Danjou <julien@danjou.info>
20584
20585 * textmodes/rst.el (rst-define-level-faces): Do not define face
20586 symbol if it is already defined.
20587
20588 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
20589
20590 * play/5x5.el (5x5-new-game, 5x5-randomize):
20591 Reset 5x5-solver-output to nil when a new grid is cast.
20592 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
20593 these debugging traces, as defmacro breaks the compiled code.
20594
20595 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20596
20597 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20598
20599 2011-05-24 Leo Liu <sdl.web@gmail.com>
20600
20601 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
20602 (vc-bzr-sha1): Adapt.
20603
20604 * sha1.el: Remove. Function `sha1' is now builtin.
20605
20606 * bindings.el: Provide sha1 feature.
20607
20608 2011-05-24 Kenichi Handa <handa@m17n.org>
20609
20610 * mail/sendmail.el: Require `rfc2047'.
20611 (mail-insert-from-field): Do not perform RFC2047 encoding.
20612 (mail-encode-header): New function.
20613 (sendmail-send-it): Set buffer-file-coding-system of the work
20614 buffer to the return value of select-message-coding-system.
20615 Call mail-encode-header.
20616
20617 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
20618
20619 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
20620
20621 * mail/supercite.el (sc-default-cite-frame):
20622 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
20623
20624 2011-05-24 Glenn Morris <rgm@gnu.org>
20625
20626 * progmodes/python.el (brm-menu): Declare.
20627
20628 * emulation/viper.el (viper-set-hooks): Declare.
20629
20630 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
20631 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
20632 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
20633 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
20634 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
20635 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
20636
20637 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
20638
20639 Add an :exit-function for completion-at-point.
20640
20641 * minibuffer.el (completion--done): New fun.
20642 (completion--do-completion): Use it. New arg `expect-exact'.
20643 (minibuffer-complete, minibuffer-complete-word): Don't output message,
20644 since completion--do-completion does it for us now.
20645 (minibuffer-force-complete): Use completion--done and
20646 completion--replace. Handle sole-completion case with more care.
20647 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
20648 (completion-extra-properties): New var.
20649 (completion-annotate-function): Make obsolete.
20650 (minibuffer-completion-help): Adjust accordingly.
20651 Use completion-list-insert-choice-function.
20652 (completion-at-point, completion-help-at-point):
20653 Bind completion-extra-properties.
20654 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
20655 * simple.el (completion-list-insert-choice-function): New var.
20656 (completion-setup-function): Preserve it.
20657 (choose-completion): Pay attention to it, shuffle the code a bit.
20658 (choose-completion-string): New arg `insert-function'.
20659
20660 * textmodes/bibtex.el: Convert to lexical binding.
20661 (bibtex-mode-map): Use completion-at-point.
20662 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
20663 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
20664 (bibtex-complete): Define as obsolete alias.
20665 (bibtex-complete-internal): Remove.
20666 (bibtex-format-entry): Remove unused sub-group in regexp.
20667 * shell.el (shell--command-completion-data)
20668 (shell-environment-variable-completion):
20669 * pcomplete.el (pcomplete-completions-at-point):
20670 * comint.el (comint--complete-file-name-data): Use :exit-function
20671 instead of completion-table-with-terminator so it also works for
20672 choose-completion.
20673
20674 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20675
20676 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
20677
20678 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
20679 (bug#8710).
20680
20681 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
20682
20683 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
20684
20685 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
20686 customization variable and implement: If non-nil, auto-fill will
20687 be inhibited while on topic's header line.
20688
20689 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
20690
20691 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
20692 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
20693 always have a solution in grid size = 5 cases.
20694 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
20695 (5x5-solver-output, 5x5-log-buffer): New vars.
20696 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
20697 Make these variables buffer local to achieve 5x5 multi-session-ness.
20698 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
20699 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
20700 (5x5-solve-suggest): New funs.
20701 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
20702 randomize a grid so that we ensure that there is always a solution.
20703 (5x5-make-random-grid): Allow other movement than flipping.
20704
20705 2011-05-23 Kevin Ryde <user42@zip.com.au>
20706
20707 * emacs-lisp/advice.el (ad-read-advised-function):
20708 Use `function-called-at-point' as the default, if it has
20709 advice and passes PREDICATE.
20710
20711 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20712
20713 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
20714 byte-compile-lambda if it's actually a lambda.
20715
20716 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
20717 Fix function quoting. Use backquote better.
20718
20719 2011-05-22 Yuanle Song <sylecn@gmail.com>
20720
20721 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
20722 matching (Bug#8516).
20723
20724 2011-01-22 Jari Aalto <jari.aalto@cante.net>
20725
20726 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
20727 different face (Bug#8178).
20728
20729 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
20730
20731 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
20732 defface (Bug#8144).
20733
20734 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
20735
20736 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
20737 funcall as well (bug#8712). Warn when performing those conversions.
20738 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
20739
20740 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
20741
20742 2011-05-22 Glenn Morris <rgm@gnu.org>
20743
20744 * files.el (hack-local-variables-prop-line): Small simplifications.
20745 (hack-local-variables, hack-local-variables-prop-line):
20746 If MODE-ONLY, return the mode, rather than just `t'.
20747
20748 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
20749
20750 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
20751
20752 2011-05-21 Glenn Morris <rgm@gnu.org>
20753
20754 * files.el (hack-local-variables-prop-line, hack-local-variables):
20755 If only interested in the mode, don't bother doing the other stuff.
20756
20757 * image-mode.el (image-after-revert-hook):
20758 Redraw all frames on which the image is visible. (Bug#8567)
20759
20760 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
20761
20762 * wid-edit.el (widget-checklist-match-inline):
20763 Fix 2011-04-19 change. (Bug#8649)
20764
20765 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
20766
20767 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
20768 Also allow singlespace after single-letter capitals followed by a dot.
20769
20770 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
20771 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
20772
20773 2011-05-20 Nix <nix@esperi.org.uk>
20774
20775 * files.el (basic-save-buffer-2):
20776 Fix handling of break-hardlink-on-save with non-existent files.
20777
20778 2011-05-19 Deniz Dogan <deniz@dogan.se>
20779
20780 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
20781 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
20782
20783 2011-05-19 Glenn Morris <rgm@gnu.org>
20784
20785 * progmodes/f90.el (f90-type-def-re):
20786 Handle "type, bind(c)". (Bug#8691)
20787
20788 * emacs-lisp/autoload.el (batch-update-autoloads):
20789 Set autoload-excludes by parsing loadup.el rather than Makefiles.
20790
20791 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
20792
20793 * net/tramp.el (tramp-process-actions): Set "first-password-request"
20794 property for the correct connection in case of multihops.
20795
20796 2011-05-18 Glenn Morris <rgm@gnu.org>
20797
20798 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
20799 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
20800
20801 Rationalize calendar handling of day and month abbrev-arrays.
20802 * calendar/calendar.el (calendar-customized-p): New function.
20803 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
20804 (calendar-day-name-array, calendar-month-name-array): Doc fix.
20805 Add :set function.
20806 (calendar-abbrev-length, calendar-day-abbrev-array)
20807 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
20808 (calendar-day-abbrev-array, calendar-month-abbrev-array):
20809 Elements may no longer be nil.
20810 (calendar-day-name, calendar-month-name):
20811 Update for changed nature of abbrev arrays.
20812 * calendar/diary-lib.el (diary-name-pattern):
20813 Update for changed nature of abbrev arrays.
20814 (diary-mark-entries-1): Update calendar-make-alist calls.
20815 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
20816 * calendar/cal-html.el (cal-html-day-abbrev-array):
20817 Simply inherit from calendar-day-abbrev-array.
20818
20819 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
20820
20821 * progmodes/grep.el (grep-mode): Disable default
20822 compilation-directory-matcher setting (bug#8684).
20823
20824 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
20825
20826 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
20827 instead of "head" and "tail". There were problems with SunOS 5.9,
20828 and it performs better.
20829
20830 2011-05-17 Glenn Morris <rgm@gnu.org>
20831
20832 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
20833
20834 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
20835 Replace obsolete function.
20836
20837 * shell.el (pcomplete-parse-arguments-function): Declare.
20838
20839 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
20840 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
20841 (appt-check): Doc fixes.
20842 (appt-disp-window-function, appt-delete-window-function):
20843 Remove needless special case in custom :type.
20844 (appt-display-count): Default to 0, not nil.
20845 (appt-check): Reset appt-display-count to 0, not nil.
20846
20847 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
20848
20849 * progmodes/python.el (python-font-lock-keywords):
20850 Add the Python 3.X keyword "nonlocal" (bug#8639).
20851
20852 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
20853
20854 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
20855
20856 2011-05-16 Kevin Ryde <user42@zip.com.au>
20857
20858 * info-look.el (makefile-automake-mode): New setups, looking in
20859 automake manual, then makefile-mode.
20860 (makefile-mode): Remove automake manual, have it just in
20861 makefile-automake-mode since there's various things different or
20862 not relevant to plain make.
20863 (makefile-mode): Remove "other-modes" non-existent automake-mode,
20864 believe a hypothetical automake-mode would go to makefile-mode,
20865 not the other way around.
20866
20867 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
20868
20869 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
20870 hunk-end tags (Bug#8672).
20871
20872 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
20873 vc-annotate-show-diff-revision-at-line (Bug#8671).
20874
20875 2011-05-14 Glenn Morris <rgm@gnu.org>
20876
20877 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
20878 in the middle of an existing one with multiple authors. (Bug#8645)
20879 (change-log-font-lock-keywords): Also handle multiple author lines
20880 with leading tabs. (Bug#8644)
20881
20882 * calendar/appt.el (appt-check): Rename some local variables.
20883 Some simplification/reordering.
20884
20885 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
20886 (feedmail-sendmail-f-doesnt-sell-me-out)
20887 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20888 (feedmail-debug-sit-for, feedmail-queue-express-hook)
20889 (feedmail-queue-runner-message-sender): Set :version.
20890 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
20891 (bbdb-dwim-net-address, vm-mail): Declare.
20892 (feedmail-binmail-gnulinuxish-template):
20893 Rename from feedmail-binmail-linuxish-template.
20894 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
20895 Use insert-buffer-substring.
20896
20897 2011-05-14 Bill Carpenter <bill@carpenter.org>
20898
20899 * mail/feedmail.el (feedmail-patch-level): Increase.
20900 (feedmail-debug): New custom group.
20901 (feedmail-confirm-outgoing-timeout)
20902 (feedmail-sendmail-f-doesnt-sell-me-out)
20903 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20904 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
20905 (feedmail-sender-line, feedmail-from-line)
20906 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
20907 (feedmail-spray-this-address)
20908 (feedmail-spray-address-fiddle-plex-list)
20909 (feedmail-queue-use-send-time-for-date)
20910 (feedmail-queue-use-send-time-for-message-id)
20911 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
20912 (feedmail-buffer-eating-function):
20913 Doc fixes.
20914 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
20915 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
20916 (feedmail-message-action-scroll-down): New functions.
20917 (feedmail-queue-directory, feedmail-queue-draft-directory):
20918 Use expand-file-name.
20919 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
20920 Remove C-v help entry.
20921 (feedmail-queue-buffer-file-name): New variable.
20922 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
20923 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
20924 (feedmail-message-action-send-strong, feedmail-message-action-edit)
20925 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
20926 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
20927 (feedmail-message-action-toggle-spray)
20928 (feedmail-run-the-queue-no-prompts)
20929 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
20930 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
20931 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
20932 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
20933 (feedmail-envelope-deducer, feedmail-fiddle-from)
20934 (feedmail-fiddle-sender, feedmail-default-date-generator)
20935 (feedmail-fiddle-date, feedmail-fiddle-message-id)
20936 (feedmail-fiddle-spray-address)
20937 (feedmail-fiddle-list-of-spray-fiddle-plexes)
20938 (feedmail-fiddle-list-of-fiddle-plexes)
20939 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
20940 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
20941 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
20942 Change default. Doc fix.
20943 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
20944 (feedmail-binmail-linuxish-template): New constant.
20945 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
20946 Respect feedmail-sendmail-f-doesnt-sell-me-out.
20947 (feedmail-send-it): Add debug call.
20948 Use feedmail-queue-buffer-file-name, and
20949 feedmail-send-it-immediately-wrapper.
20950 (feedmail-message-action-send): Add debug call.
20951 Use feedmail-send-it-immediately-wrapper.
20952 (feedmail-queue-express-to-queue): Add debug call.
20953 Run feedmail-queue-express-hook.
20954 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
20955 (feedmail-message-action-help-blat):
20956 Rename from feedmail-queue-send-edit-prompt-help-first.
20957 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
20958 Check line-endings. Handle errors better.
20959 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
20960 Doc fix. Add debug call.
20961 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
20962 Use feedmail-queue-send-edit-prompt-inner.
20963 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
20964 (feedmail-queue-send-edit-prompt-inner): New function, extracted
20965 from feedmail-queue-send-edit-prompt.
20966 (feedmail-queue-send-edit-prompt-help)
20967 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
20968 (feedmail-tidy-up-slug): Add debug call.
20969 Respect feedmail-queue-slug-suspect-regexp.
20970 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
20971 (feedmail-dump-message-to-queue): Add debug call.
20972 Expand queue-directory.
20973 (feedmail-dump-message-to-queue): Change message slightly.
20974 Use feedmail-say-chatter.
20975 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
20976 (feedmail-send-it-immediately-wrapper): New function.
20977 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
20978 Insert empty string rather than newline. Handle full-frame case.
20979 Use catch/throw. Use feedmail-say-chatter.
20980 (feedmail-fiddle-from): Try mail-host-address.
20981 (feedmail-default-message-id-generator): Doc fix.
20982 Bind system-time-locale. Handle missing end.
20983 (feedmail-fiddle-x-mailer): Add debug call.
20984 Handle feedmail-x-mailer-line being nil.
20985 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
20986 Add debug call. Use buffer-substring-no-properties.
20987 (feedmail-say-debug, feedmail-say-chatter): New functions.
20988 (feedmail-find-eoh): Give an explicit error.
20989
20990 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
20991
20992 * net/newst-treeview.el (newsticker-treeview-face): Change default
20993 family from helvetica to sans.
20994 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
20995 etc/images/newsticker.
20996
20997 * net/newst-reader.el (newsticker-feed-face): Change default
20998 family from helvetica to sans.
20999
21000 * net/newst-plainview.el (newsticker-new-item-face)
21001 (newsticker-old-item-face, newsticker-immortal-item-face)
21002 (newsticker-obsolete-item-face, newsticker-date-face)
21003 (newsticker-statistics-face): Change default family from
21004 helvetica to sans.
21005 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
21006 etc/images/newsticker.
21007
21008 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
21009 (newsticker--process-auto-mark-filter-match): Tell user about
21010 auto-marking.
21011
21012 2011-05-13 Didier Verna <didier@xemacs.org>
21013
21014 Common Lisp indentation improvements on defmethod and lambda-lists.
21015 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
21016 TODO entries.
21017 (lisp-lambda-list-keyword-parameter-indentation)
21018 (lisp-lambda-list-keyword-parameter-alignment)
21019 (lisp-lambda-list-keyword-alignment): New customizable user options.
21020 (lisp-indent-defun-method): Improve docstring.
21021 (extended-loop-p): Fix comment.
21022 (lisp-indent-lambda-list-keywords-regexp): New variable.
21023 (lisp-indent-lambda-list): New function.
21024 (lisp-indent-259): Use it.
21025 (lisp-indent-defmethod): Support for more than one
21026 method qualifier and properly indent methods lambda-lists.
21027 (defgeneric): Provide a missing common-lisp-indent-function property.
21028
21029 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
21030
21031 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
21032 bounds for the empty string (bug#8667).
21033
21034 2011-05-13 Glenn Morris <rgm@gnu.org>
21035
21036 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
21037
21038 * mail/sendmail.el (sendmail-program): Try executable-find first.
21039 (sendmail-send-it): `sendmail-program' cannot be unbound.
21040
21041 * calendar/appt.el (appt-make-list): Simplify.
21042 (appt-time-msg-list): Doc fix.
21043 (appt-check): Change mode-line message at the time of the appointment.
21044
21045 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
21046
21047 * progmodes/ld-script.el (ld-script-keywords)
21048 (ld-script-builtins): Update keywords list.
21049
21050 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21051
21052 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
21053
21054 * shell.el (shell-completion-vars): New function.
21055 (shell-mode):
21056 * simple.el (read-shell-command): Use it.
21057 (blink-matching-open): No need for " [...]" in minibuffer-message.
21058
21059 2011-05-12 Glenn Morris <rgm@gnu.org>
21060
21061 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
21062 (appt-check): Simplify.
21063
21064 2011-05-12 Eli Zaretskii <eliz@gnu.org>
21065
21066 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
21067 literal "/dev/null".
21068
21069 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21070
21071 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
21072 Fix typo.
21073
21074 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
21075
21076 * progmodes/which-func.el (which-function):
21077 Use add-log-current-defun instead of add-log-current-defun-function,
21078 which might not be defined (Bug#8260).
21079
21080 2011-05-12 Glenn Morris <rgm@gnu.org>
21081
21082 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
21083 Let byte-compile-initial-macro-environment always take precedence.
21084
21085 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21086
21087 * net/rcirc.el: Add support for SSL/TLS connections.
21088 (rcirc-server-alist): New field `encryption'.
21089 (rcirc): Check `encryption' settings.
21090 (rcirc-connect): New arg `encryption'. Use open-network-stream.
21091 Merge make-local-variable into `set'.
21092 (rcirc--connection-open-p): New function.
21093 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
21094 the process is not a network process (e.g. running gnutls-cli).
21095 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
21096 Make rcirc-(en|de)code-coding-system local here.
21097 (rcirc-mode): Merge make-local-variable into `set'.
21098 (rcirc-parent-buffer): Make permanent buffer-local.
21099 (rcirc-multiline-minor-mode): Don't do it here.
21100 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
21101 there's no server buffer.
21102
21103 2011-05-11 Glenn Morris <rgm@gnu.org>
21104
21105 * newcomment.el (comment-kill): Prefix "unused" local.
21106
21107 * term/w32console.el (get-screen-color): Declare.
21108
21109 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
21110 Handle symbol elements of byte-compile-initial-macro-environment.
21111
21112 2011-05-10 Leo Liu <sdl.web@gmail.com>
21113
21114 * bookmark.el (bookmark-bmenu-mode-map):
21115 Bind bookmark-bmenu-search to `/'.
21116
21117 * mail/footnote.el: Convert to utf-8 encoding.
21118 (footnote-unicode-string, footnote-unicode-regexp): New variable.
21119 (Footnote-unicode): New function.
21120 (footnote-style-alist): Add unicode style to the list.
21121 (footnote-style): Doc fix.
21122
21123 2011-05-10 Jim Meyering <meyering@redhat.com>
21124
21125 Fix doubled-word typos.
21126 * international/quail.el (quail-insert-kbd-layout): and and -> and
21127 * kermit.el: and and -> and
21128 * net/ldap.el (ldap-search-internal): to to -> to
21129 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
21130 * progmodes/js.el (js-mode): and and -> and
21131 * textmodes/artist.el (artist-move-to-xy): at at -> at
21132 (artist-draw-region-trim-line-endings): if if -> if
21133 And Safetyc -> Safety.
21134 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
21135
21136 2011-05-10 Glenn Morris <rgm@gnu.org>
21137 Stefan Monnier <monnier@iro.umontreal.ca>
21138
21139 * files.el (hack-one-local-variable-eval-safep):
21140 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
21141
21142 2011-05-10 Glenn Morris <rgm@gnu.org>
21143
21144 * calendar/diary-lib.el (diary-list-entries-hook)
21145 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
21146 (diary-nongregorian-marking-hook, diary-list-entries)
21147 (diary-include-other-diary-files, diary-mark-entries)
21148 (diary-mark-included-diary-files): Doc fixes.
21149
21150 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
21151
21152 * misc.el: Require tabulated-list.el during compilation.
21153
21154 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
21155
21156 * progmodes/compile.el (compilation-start):
21157 Run compilation-filter-hook for the async case too.
21158 (compilation-filter-hook): Doc fix.
21159
21160 2011-05-09 Deniz Dogan <deniz@dogan.se>
21161
21162 * wdired.el: Remove outdated installation comment. Fix usage
21163 comment.
21164
21165 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
21166
21167 * misc.el: Implement new command `list-dynamic-libraries'.
21168 (list-dynamic-libraries--loaded-only-p): New variable.
21169 (list-dynamic-libraries--refresh): New function.
21170 (list-dynamic-libraries): New command.
21171
21172 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
21173
21174 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21175 Fix the ant regexp to handle end-line and end-column info from jikes.
21176 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
21177 higher priority to avoid clobbering by gnu.
21178
21179 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
21180
21181 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
21182 if the face has existing theme settings (Bug#8454).
21183
21184 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
21185
21186 * progmodes/perl-mode.el (perl-imenu-generic-expression):
21187 Only match variables declared via `my' or `our' (Bug#8261).
21188
21189 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
21190 special file names `.' and `..' (Bug#8259).
21191
21192 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
21193
21194 * progmodes/grep.el (grep-mode-font-lock-keywords):
21195 Remove buffer-changing entries.
21196 (grep-filter): New function.
21197 (grep-mode): Add it to compilation-filter-hook.
21198
21199 * progmodes/compile.el (compilation-filter-hook)
21200 (compilation-filter-start): New defvars.
21201 (compilation-filter): Call compilation-filter-hook prior to
21202 updating the process mark.
21203
21204 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
21205
21206 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
21207
21208 2011-05-07 Eli Zaretskii <eliz@gnu.org>
21209
21210 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
21211 mailclient-send-it even if window-system is nil. (Bug#8595)
21212
21213 * term/w32console.el (terminal-init-w32console):
21214 Call get-screen-color and use its output to set the frame
21215 background-mode. (Bug#8597)
21216
21217 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
21218
21219 Make bytecomp.el understand that defmethod defines funs (bug#8631).
21220 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
21221 New functions.
21222 (defgeneric, eieio--defmethod): Use them.
21223 (eieio-defgeneric): Remove.
21224 (defmethod): Call defgeneric in a way visible to the byte-compiler.
21225
21226 2011-05-07 Glenn Morris <rgm@gnu.org>
21227
21228 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
21229 Use let rather than let*.
21230 (timeclock-find-discrep): Remove unused local.
21231
21232 * calendar/diary-lib.el (diary-comment-start): Doc fix.
21233
21234 * calendar/appt.el (appt-time-msg-list): Doc fix.
21235
21236 2011-05-06 Noah Friedman <friedman@splode.com>
21237
21238 * apropos.el (apropos-print-doc): Only use
21239 emacs-lisp-docstring-fill-column when it is bound to an integer,
21240 per that variable's documentation.
21241
21242 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
21243
21244 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
21245 and warnings are not silently discarded (e.g. use -d instead of -P).
21246
21247 2011-05-06 Glenn Morris <rgm@gnu.org>
21248
21249 * calendar/appt.el (appt-message-warning-time): Doc fix.
21250 (appt-warning-time-regexp): New option.
21251 (appt-make-list): Respect appt-message-warning-time.
21252
21253 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
21254 New options.
21255 (diary-add-to-list): Strip comments from the displayed string.
21256 (diary-mode): Set comment-start and comment-end.
21257
21258 * vc/diff-mode.el (smerge-refine-subst): Declare.
21259 (diff-refine-hunk): Don't require smerge-mode when compiling.
21260
21261 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
21262
21263 * simple.el (list-processes): Return nil as the docstring says.
21264
21265 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
21266
21267 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
21268 to "".
21269 (ange-ftp-write-region, ange-ftp-insert-file-contents)
21270 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
21271 determining of binary transfer. (Bug#7383)
21272
21273 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
21274
21275 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21276 Fix port computation bug. (Bug#8618)
21277
21278 2011-05-05 Glenn Morris <rgm@gnu.org>
21279
21280 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
21281
21282 * simple.el (shell-dynamic-complete-functions)
21283 (comint-dynamic-complete-functions): Declare.
21284
21285 * net/network-stream.el (gnutls-negotiate):
21286 * simple.el (tabulated-list-print): Fix declarations.
21287
21288 * progmodes/gud.el (syntax-symbol, syntax-point):
21289 Remove unnecessary and incorrect declarations.
21290
21291 * emacs-lisp/check-declare.el (check-declare-scan):
21292 Handle byte-compile-initial-macro-environment in bytecomp.el.
21293
21294 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
21295
21296 Fix earlier half-done eieio-defmethod change (bug#8338).
21297 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
21298 Streamline and change calling convention.
21299 (defmethod): Adjust accordingly and simplify.
21300 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
21301 new eieio--defmethod.
21302 (slot-boundp): Minor CSE simplification.
21303
21304 2011-05-05 Milan Zamazal <pdm@zamazal.org>
21305
21306 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
21307 (glasses-make-readable): Use glasses-separate-capital-groups.
21308
21309 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
21310
21311 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
21312 (warning-series): Doc fix.
21313 (display-warning): Don't try to create the buffer if we just found it.
21314
21315 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
21316
21317 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
21318 (autoload-find-generated-file): New function.
21319 (generate-file-autoloads): Bind generated-autoload-file to
21320 buffer-file-name.
21321 (update-file-autoloads, update-directory-autoloads):
21322 Use autoload-find-generated-file. If called interactively, prompt for
21323 output file (Bug#7989).
21324 (batch-update-autoloads): Doc fix.
21325
21326 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
21327
21328 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
21329
21330 2011-05-04 Glenn Morris <rgm@gnu.org>
21331
21332 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
21333 function, so it follows changes in calendar-date-style.
21334 (diary-fancy-date-matcher): New function.
21335 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
21336 (diary-fancy-font-lock-fontify-region-function):
21337 Use diary-fancy-date-pattern as a function.
21338
21339 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
21340 non-numbers for `year' etc pseudo-variables. (Bug#8583)
21341
21342 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
21343
21344 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
21345 instead of positional arguments. Allow :keylist and :crlfiles
21346 arguments.
21347 (open-gnutls-stream): Call it.
21348
21349 * net/network-stream.el (network-stream-open-starttls): Adjust to
21350 call `gnutls-negotiate' with :process and :hostname arguments.
21351
21352 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
21353
21354 * minibuffer.el (completion--message): New function.
21355 (completion--do-completion, minibuffer-complete)
21356 (minibuffer-force-complete, minibuffer-complete-word): Use it.
21357 (completion--do-completion): Don't ignore completion-auto-help when in
21358 icomplete-mode.
21359
21360 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
21361 internal encoding (e.g. tibetan zero is not whitespace).
21362 (global-whitespace-mode): Prefer save-current-buffer.
21363 (whitespace-trailing-regexp): Remove useless save-match-data.
21364 (whitespace-empty-at-bob-regexp): Minor simplification.
21365
21366 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
21367
21368 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
21369
21370 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
21371
21372 * textmodes/ispell.el (ispell-add-per-file-word-list):
21373 Use `concat' to create string for insertion.
21374
21375 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21376
21377 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
21378 Avoid open-line which runs post-self-insert-hook.
21379 (bibtex-fill-entry): Remove unused `end' var.
21380
21381 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
21382
21383 * textmodes/ispell.el (ispell-add-per-file-word-list):
21384 Protect against `nil' value of `comment-start' (Bug#8579).
21385
21386 2011-05-03 Leo Liu <sdl.web@gmail.com>
21387
21388 * isearch.el (isearch-yank-pop): New command.
21389 (isearch-mode-map): Bind it to `M-y'.
21390 (isearch-forward): Mention it.
21391
21392 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21393
21394 * simple.el (minibuffer-complete-shell-command): Remove.
21395 (minibuffer-local-shell-command-map): Use completion-at-point.
21396 (read-shell-command): Setup completion vars here instead.
21397 (read-expression-map): Bind TAB to symbol completion.
21398
21399 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
21400 error directly rather via storing it into `results'.
21401
21402 2011-05-02 Leo Liu <sdl.web@gmail.com>
21403
21404 * vc/diff.el: Fix description.
21405
21406 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21407
21408 * server.el (server-eval-at): New function.
21409
21410 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21411
21412 * net/network-stream.el (open-network-stream): Take a :nowait
21413 parameter and pass it on to `make-network-process'.
21414 (network-stream-open-plain): Ditto.
21415
21416 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
21417
21418 * faces.el (face-spec-set-match-display): Don't match toolkit
21419 options on terminal frames.
21420
21421 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
21422
21423 * progmodes/pascal.el: Use lexical binding.
21424 (pascal-mode-map): Remove author preferences.
21425
21426 * pcomplete.el (pcomplete-std-complete): Don't abuse
21427 completion-at-point.
21428
21429 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
21430
21431 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
21432 removing code that has been dead since 1991 or so.
21433
21434 * startup.el (command-line): When warning about "_emacs", use a
21435 delayed warning to allow the user to filter it out.
21436
21437 2011-04-28 Deniz Dogan <deniz@dogan.se>
21438
21439 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
21440 user has not joined.
21441
21442 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21443
21444 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
21445 aren't any completions at point.
21446
21447 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
21448
21449 * subr.el (display-delayed-warnings): New function.
21450 (delayed-warnings-hook): New variable.
21451
21452 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21453
21454 * minibuffer.el (completion-at-point, completion-help-at-point):
21455 Don't presume that a given completion-at-point-function will always
21456 use the same calling convention.
21457
21458 * pcomplete.el (pcomplete-completions-at-point):
21459 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
21460 pcomplete-seen is non-nil.
21461 (pcomplete-comint-setup): Also recognize the new comint/shell
21462 completion functions.
21463 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
21464 pcomplete-seen is non-nil.
21465
21466 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
21467
21468 * calendar/icalendar.el (diary-lib): Add require statement.
21469 (icalendar--create-uid): Read out a uid from a text-property on
21470 the first character in the entry. This allows for code to add its
21471 own uid to the entry.
21472 (icalendar--convert-float-to-ical): Add export of
21473 `diary-float'-entries save for those with the optional DAY
21474 argument.
21475
21476 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
21477
21478 * subr.el (shell-quote-argument): Use alternate escaping strategy
21479 when we spot a variable reference in a string.
21480
21481 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
21482
21483 * cus-start.el (all): Define customization for debug-on-event.
21484
21485 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
21486
21487 * subr.el (shell-quote-argument): Escape correctly under Windows.
21488
21489 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21490
21491 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
21492
21493 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
21494
21495 * net/tramp.el (tramp-process-actions): Add POS argument.
21496 Delete region between POS and (pos).
21497
21498 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21499 Use `nil' position in `tramp-process-actions' call.
21500 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
21501
21502 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
21503 position in `tramp-process-actions' call.
21504
21505 * net/trampver.el: Update release number.
21506
21507 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21508
21509 * custom.el (defcustom): Obey lexical-binding.
21510
21511 Fix octave-inf completion problems reported by Alexander Klimov.
21512 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
21513 Inherit from octave-mode-syntax-table.
21514 (inferior-octave-mode): Set info-lookup-mode.
21515 (inferior-octave-completion-at-point): New function.
21516 (inferior-octave-complete): Use it and completion-in-region.
21517 (inferior-octave-dynamic-complete-functions): Use it as well, and use
21518 comint-filename-completion.
21519 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
21520 symbol elements which shouldn't be word elements.
21521 (octave-font-lock-keywords, octave-beginning-of-defun)
21522 (octave-function-header-regexp): Adjust regexps accordingly.
21523 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
21524
21525 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
21526
21527 * net/gnutls.el (gnutls-errorp): Declare before first use.
21528
21529 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
21530
21531 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
21532 verify-error, and verify-hostname-error parameters. Check whether
21533 default trustfile exists before going to use it. Add missing
21534 argument to gnutls-message-maybe call. Return value.
21535 Reported by Claudio Bley <claudio.bley@gmail.com>.
21536 (open-gnutls-stream): Add usage example.
21537
21538 * net/network-stream.el (network-stream-open-starttls): Give host
21539 parameter to `gnutls-negotiate'.
21540 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
21541 * subr.el (shell-quote-argument): Escape correctly under Windows.
21542
21543 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
21544
21545 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
21546 Use correct match group (bug#8438).
21547
21548 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
21549
21550 * emacs-lisp/package.el (package-built-in-p): Fix typo.
21551 (package-menu--generate): New arg specifying packages to show.
21552 (package-menu-refresh, package-menu-execute, list-packages):
21553 Callers changed.
21554 (package-show-package-list): New function, replacing deleted
21555 package--list-packages (renamed because it is non-internal).
21556
21557 * finder.el (finder-list-matches): Use package-show-package-list
21558 instead of deleted package--list-packages.
21559
21560 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
21561 Based on a previous implementation by Juanma Barranquero (Bug#8366).
21562 (vc-annotate-mode-map): Bind it to RET.
21563
21564 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
21565
21566 * progmodes/etags.el (next-file): Don't use set-buffer to change
21567 buffers (Bug#8478).
21568
21569 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
21570
21571 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
21572
21573 * apropos.el (apropos-label-face): Avoid variable-pitch face.
21574 (apropos-accumulator): Doc fix.
21575 (apropos-function, apropos-macro, apropos-command)
21576 (apropos-variable, apropos-face, apropos-group, apropos-widget)
21577 (apropos-plist): Add face property.
21578 (apropos-symbols-internal): Fix indentation.
21579 (apropos-print): Simplify help, and recognize apropos-multi-type.
21580 (apropos-print-doc): Use button-type-get to extract the button's
21581 face property. Fill docstring (Bug#8352).
21582
21583 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
21584
21585 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
21586
21587 * play/mpuz.el (mpuz-silent): Doc fix.
21588 (mpuz-mode-map): Use mapc.
21589 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
21590 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
21591 Fix typos in docstrings.
21592
21593 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
21594 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
21595
21596 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
21597
21598 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
21599
21600 * minibuffer.el (completion--do-completion): Avoid the "Next char
21601 not unique" prompt if icomplete-mode is enabled (Bug#5849).
21602
21603 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
21604 mouse-2 into unread-command-events, it is interpreted correctly.
21605
21606 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
21607 (image-toggle-display): Doc fix.
21608
21609 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
21610
21611 * textmodes/page.el (what-page): Use line-number-at-pos to
21612 calculate line number (Bug#6825).
21613
21614 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
21615
21616 * eshell/esh-mode.el (find-tag-interactive): Declare function.
21617 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
21618 Pass argument NO-DEFAULT to `find-tag-interactive'.
21619
21620 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
21621
21622 Lexical-binding cleanup.
21623
21624 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
21625 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
21626 * progmodes/ada-prj.el (ada-prj-initialize-values)
21627 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
21628 (ada-prj-show-value):
21629 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
21630 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
21631 (antlr-invalidate-context-cache, antlr-options-menu-filter)
21632 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
21633 * progmodes/bug-reference.el (bug-reference-push-button):
21634 * progmodes/fortran.el (fortran-line-length):
21635 * progmodes/glasses.el (glasses-change):
21636 * progmodes/octave-mod.el (octave-fill-paragraph):
21637 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
21638 (python-pdbtrack-grub-for-buffer, python-sentinel):
21639 * progmodes/sql.el (sql-save-connection):
21640 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
21641 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
21642 Mark unused parameters.
21643
21644 * progmodes/compile.el (compilation--flush-directory-cache)
21645 (compilation--flush-parse, compile-internal): Mark unused parameters.
21646 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
21647 (compilation-next-error-function): Remove unused variable `timestamp'.
21648
21649 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
21650 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
21651
21652 * progmodes/dcl-mode.el (dcl-end-of-command):
21653 Remove unused variable `start'.
21654 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
21655 (dcl-option-value-basic, dcl-option-value-offset)
21656 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
21657 Mark unused parameters.
21658 (dcl-save-local-variable): Remove unused variable `val'.
21659 (mode): Declare.
21660
21661 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
21662 Mark unused parameters.
21663 (delphi-ignore-changes): Move before first use.
21664 (delphi-charset-token-at): Remove unused variable `start'.
21665 (delphi-else-start): Remove unused variable `if-count'.
21666 (delphi-comment-block-start, delphi-comment-block-end):
21667 Remove unused variable `kind'.
21668 (delphi-indent-line): Remove unused variable `new-point'.
21669
21670 * progmodes/ebrowse.el (ebrowse-files-list)
21671 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
21672 Mark unused parameters. Don't quote `lambda'.
21673 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
21674 Don't quote `lambda'.
21675 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
21676 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
21677 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
21678 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
21679 Use `ignore-errors'.
21680 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
21681 (ebrowse-view/find-file-and-search-pattern)
21682 (ebrowse-view/find-member-declaration/definition):
21683 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
21684 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
21685 Rename parameter PREFIX-ARG to PREFIX.
21686 (ebrowse-tags-read-name): Remove unused variables `start' and
21687 `member-info'.
21688 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
21689 to `tags-file'.
21690
21691 * progmodes/etags.el (local-find-tag-hook): Declare.
21692 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
21693 Mark unused parameters.
21694
21695 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
21696 (executable-interpret): Mark unused parameter.
21697
21698 * progmodes/flymake.el (flymake-process-sentinel)
21699 (flymake-after-change-function)
21700 (flymake-create-temp-with-folder-structure)
21701 (flymake-get-include-dirs-dot): Mark unused parameters.
21702 (flymake-safe-delete-directory): Remove unused variable `err'.
21703
21704 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
21705 (speedbar-timer-fn, speedbar-line-text)
21706 (speedbar-change-expand-button-char, speedbar-delete-subblock)
21707 (speedbar-center-buffer-smartly): Declare functions.
21708 (gdb-find-watch-expression): Remove unused variable `array'.
21709 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
21710 (gdb-starting): Mark unused parameters.
21711 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
21712 (gdb-table-string): Remove unused variable `res'.
21713 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
21714 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
21715 (gdb-display-buffer): Remove unused variable `cur-size'.
21716
21717 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
21718 allow lexical-binding compilation.
21719 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
21720 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
21721 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
21722 Mark unused parameters.
21723 (gud-gdb-marker-filter): Remove unused variable `match'.
21724 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
21725 lambda expressions and funcall them, instead of using `fset'.
21726
21727 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
21728 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
21729
21730 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
21731 variable `header-beg'; use `let'.
21732
21733 * progmodes/icon.el (indent-icon-exp): Remove unused variables
21734 `restart', `last-sexp' and `at-do'.
21735
21736 * progmodes/js.el (js--debug): Mark unused parameter.
21737 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
21738 (js--splice-into-items): Remove unused variable `item'.
21739 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
21740
21741 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
21742 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
21743 (makefile-complete): Remove unused variable `try'.
21744 (makefile-fill-paragraph, makefile-match-function-end):
21745 Mark unused parameters.
21746
21747 * progmodes/octave-inf.el (inferior-octave-complete):
21748 Remove unused variable `proc'.
21749 (inferior-octave-output-digest): Mark unused parameter.
21750
21751 * progmodes/perl-mode.el (perl-calculate-indent):
21752 Remove unused variable `err'.
21753
21754 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
21755 (prolog-indent-line): Mark unused parameters.
21756 (prolog-indent-line): Remove unused variable `beg'.
21757
21758 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
21759 (reporter-dont-compact-list): Declare.
21760
21761 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
21762 Remove unused variable `char'.
21763 (sh-debug): Mark unused parameter.
21764 (sh-get-indent-info): Remove unused variable `start'.
21765 (sh-calculate-indent): Remove unused variable `var'.
21766
21767 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
21768 (simula-electric-keyword): Remove unused variable `null'.
21769 (simula-search-backward, simula-search-forward): Remove unused
21770 variables `begin' and `end'.
21771
21772 * progmodes/vera-mode.el (vera-guess-basic-syntax):
21773 Remove unused variable `pos'.
21774 (vera-electric-tab, vera-comment-uncomment-region):
21775 Mark unused parameters.
21776 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
21777
21778 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
21779
21780 * emacs-lisp/package.el (package--builtins, package-alist)
21781 (package-load-descriptor, package-built-in-p, package-activate)
21782 (define-package, package-installed-p)
21783 (package-compute-transaction, package-buffer-info)
21784 (package--push): Doc fix. Distinguish more clearly between
21785 version strings and version lists.
21786
21787 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
21788
21789 Lexical-binding cleanup.
21790
21791 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
21792 (5x5-make-mutate-best):
21793 * play/fortune.el (fortune-in-buffer):
21794 * play/gomoku.el (gomoku-init-display):
21795 * play/solitaire.el (solitaire, solitaire-do-check):
21796 * play/tetris.el (tetris-default-update-speed-function):
21797 Mark unused parameters.
21798
21799 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
21800 (bubbles--shift): Remove unused variable `char-org'.
21801 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
21802 (bubbles--show-images): Remove unused variable `char'.
21803
21804 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
21805 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
21806 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
21807 (decipher-analyze-buffer): Use ?\s.
21808 (decipher-make-checkpoint): Remove unused variable `mapping'.
21809
21810 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
21811
21812 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
21813 Remove unused variable `result'; use `let'.
21814
21815 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
21816 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
21817 (gametree-children-shown-p, gametree-compute-reduced-score):
21818 Use `ignore-errors'.
21819
21820 * play/handwrite.el (ps-lpr-switches): Declare.
21821 (handwrite): Remove unused variables `pmin' and `lastp'.
21822
21823 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
21824
21825 * play/landmark.el (landmark-init-display)
21826 (landmark-update-naught-weights): Mark unused parameters.
21827 (landmark-y): Remove unused variable `noise'. Simplify.
21828 (landmark-human-plays): Remove unused variable `score'.
21829
21830 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
21831 (mpuz-try-proposal): Remove unused variable `game'.
21832
21833 * play/zone.el (life-patterns): Declare.
21834
21835 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
21836
21837 * vc/vc.el (ediff-vc-internal): Declare function.
21838
21839 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21840
21841 * shell.el: Use lexical-binding and std completion UI.
21842 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
21843 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
21844 comint-preoutput-filter-functions rather than on
21845 comint-output-filter-functions.
21846 (shell-command-completion, shell--command-completion-data)
21847 (shell-filename-completion, shell-environment-variable-completion)
21848 (shell-c-a-p-replace-by-expanded-directory): New functions.
21849 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
21850 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
21851 (shell-dynamic-complete-environment-variable): Use them.
21852 (shell-dynamic-complete-as-environment-variable)
21853 (shell-dynamic-complete-as-command): Remove.
21854 (shell-match-partial-variable): Match past point.
21855 * comint.el: Clean up use of completion-at-point-functions.
21856 (comint-completion-at-point): New function.
21857 (comint-mode): Use it completion-at-point-functions.
21858 (comint-dynamic-complete): Make it obsolete.
21859 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
21860 (comint-c-a-p-replace-by-expanded-history): New function.
21861 (comint-dynamic-complete-functions)
21862 (comint-replace-by-expanded-history): Use it.
21863 * minibuffer.el (completion-table-with-terminator): Allow dynamic
21864 termination strings. Try harder to avoid second try-completion.
21865 (completion-in-region-mode-map): Disable bindings that don't work yet.
21866
21867 * comint.el: Use lexical-binding. Require CL.
21868 (comint-dynamic-complete-functions): Use comint-filename-completion.
21869 (comint-completion-addsuffix): Tweak custom type.
21870 (comint-filename-completion, comint--common-suffix)
21871 (comint--common-quoted-suffix, comint--table-subvert)
21872 (comint--complete-file-name-data): New functions.
21873 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
21874 (comint-dynamic-list-filename-completions): Use them.
21875 (comint-dynamic-simple-complete): Make obsolete.
21876
21877 * minibuffer.el (completion-in-region-mode):
21878 Keep completion-in-region-mode--predicate global.
21879 (completion-in-region--postch):
21880 Assume completion-in-region-mode--predicate is not null.
21881
21882 * progmodes/flymake.el (flymake-start-syntax-check-process):
21883 Obey `dir'. Simplify.
21884
21885 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
21886 we're in VC after all.
21887
21888 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
21889
21890 * vc/vc.el (vc-diff-build-argument-list-internal)
21891 (vc-version-ediff, vc-ediff): New commands.
21892 (vc-version-diff): Use vc-diff-build-argument-list-internal.
21893
21894 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21895
21896 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
21897 add sanity check.
21898
21899 * obsolete/erc-hecomplete.el: Make obsolete.
21900 * obsolete/: Standardize obsolescence info in the header.
21901
21902 2011-04-20 Glenn Morris <rgm@gnu.org>
21903
21904 * calendar/solar.el (solar-horizontal-coordinates):
21905 Use the longitude argument rather than `calendar-longitude'.
21906 (solar-date-next-longitude): Remove unused locals.
21907
21908 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
21909
21910 * whitespace.el: New version 13.2.1.
21911
21912 2011-04-20 felix <EmacsWiki> (tiny change)
21913
21914 * whitespace.el (global-whitespace-mode): Keep highlight when
21915 switching between major modes on a file.
21916
21917 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
21918
21919 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
21920 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
21921 multi-line comments as well.
21922
21923 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
21924
21925 Lexical-binding cleanup.
21926
21927 * arc-mode.el (archive-mode-revert):
21928 * cmuscheme.el (scheme-interactively-start-process):
21929 * custom.el (custom-initialize-delay):
21930 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
21931 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
21932 * emacs-lock.el (emacs-lock-clear-sentinel):
21933 * ezimage.el (defezimage):
21934 * follow.el (follow-avoid-tail-recenter):
21935 * fringe.el (set-fringe-mode-1):
21936 * generic-x.el (bat-generic-mode-compile):
21937 * help-mode.el (help-info-variable, help-do-xref)
21938 (help-mode-revert-buffer):
21939 * help.el (view-emacs-todo):
21940 * iswitchb.el (iswitchb-completion-help):
21941 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
21942 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
21943 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
21944 * locate.el (locate-update):
21945 * longlines.el (longlines-encode-region)
21946 (longlines-after-change-function):
21947 * outline.el (outline-isearch-open-invisible):
21948 * ps-def.el (declare-function, charset-dimension, char-width)
21949 (encode-char):
21950 * ps-mule.el (ps-mule-plot-string):
21951 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
21952 (recentf-edit-list-select, recentf-edit-list-validate)
21953 (recentf-open-files-action):
21954 * rect.el (delete-whitespace-rectangle-line)
21955 (rectangle-number-line-callback):
21956 * register.el (window-configuration-to-register)
21957 (frame-configuration-to-register):
21958 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
21959 * select.el (xselect-convert-to-string, xselect-convert-to-length)
21960 (xselect-convert-to-targets, xselect-convert-to-delete)
21961 (xselect-convert-to-filename, xselect-convert-to-charpos)
21962 (xselect-convert-to-lineno, xselect-convert-to-colno)
21963 (xselect-convert-to-os, xselect-convert-to-host)
21964 (xselect-convert-to-user, xselect-convert-to-class)
21965 (xselect-convert-to-name, xselect-convert-to-integer)
21966 (xselect-convert-to-atom, xselect-convert-to-identity):
21967 * subr.el (declare, ignore, process-kill-without-query)
21968 (text-clone-maintain):
21969 * terminal.el (te-get-char, te-tic-sentinel):
21970 * tool-bar.el (tool-bar-make-keymap):
21971 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
21972 * type-break.el (type-break-mode, type-break-noninteractive-query):
21973 * view.el (View-back-to-mark):
21974 * wid-browse.el (widget-browse-action, widget-browse-widget)
21975 (widget-browse-widgets, widget-browse-sexp):
21976 * widget.el (define-widget-keywords):
21977 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
21978 Mark unused parameters.
21979
21980 * align.el (align-adjust-col-for-rule): Mark unused parameter.
21981 (align-areas): Remove unused variable `look'.
21982 (align-region): Remove unused variables `real-end' and `pos-list'.
21983
21984 * apropos.el (apropos-score-doc): Remove unused variable `i'.
21985
21986 * bindings.el (mode-line-modified, mode-line-remote):
21987 Mark unused parameters.
21988 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
21989
21990 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
21991 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
21992
21993 * comint.el (comint-history-isearch-pop-state)
21994 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
21995 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
21996 (comint-substitute-in-file-name): Doc fix.
21997
21998 * completion.el (cmpl-statistics-block): Mark unused parameter.
21999 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
22000 (save-completions-to-file, load-completions-from-file):
22001 Remove unused local variable `e'.
22002
22003 * composite.el (compose-chars): Remove unused variable `len'.
22004 (lgstring-insert-glyph): Remove unused variable `g'.
22005 (compose-glyph-string): Remove unused variables `ascent',
22006 `descent', `lbearing' and `rbearing'.
22007 (compose-glyph-string-relative): Remove unused variables
22008 `lbearing', `rbearing' and `wadjust'.
22009 (compose-gstring-for-graphic): Remove unused variables `header',
22010 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
22011 (compose-gstring-for-terminal): Remove unused variables `header'
22012 and `nchars'. Use `let', not `let*'.
22013
22014 * cus-edit.el (Custom-set, Custom-save, custom-reset)
22015 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
22016 (Custom-buffer-done, custom-buffer-create-internal)
22017 (custom-browse-visibility-action, custom-browse-group-tag-action)
22018 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
22019 (widget-magic-mouse-down-action, custom-toggle-parent)
22020 (custom-add-parent-links, custom-toggle-hide-variable)
22021 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
22022 (custom-toggle-hide-face, face, hook, custom-group-link-action)
22023 (custom-face-menu-create, custom-variable-menu-create, get)
22024 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
22025 (custom-reset-standard-save-and-update): Remove unused variable `value'.
22026 (customize-apropos): Remove unused variable `tests'.
22027 (custom-group-value-create): Remove unused variable `hidden-p'.
22028 (sort-fold-case): Declare.
22029
22030 * cus-theme.el (custom-reset-standard-faces-list)
22031 (custom-reset-standard-variables-list): Declare.
22032 (customize-create-theme, custom-theme-revert, custom-theme-write)
22033 (custom-theme-choose-mode, customize-themes, custom-theme-save):
22034 Mark unused parameters.
22035
22036 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
22037
22038 * delim-col.el (delimit-columns-max): Move defvar before first use.
22039
22040 * descr-text.el (describe-char-categories): Don't quote `lambda'.
22041 (describe-char): Don't quote `lambda'. Mark unused parameter.
22042
22043 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
22044 (auto-insert): Declare.
22045 (desktop-restore-file-buffer): Rename desktop-* parameters;
22046 mark unused ones.
22047 (desktop-create-buffer): Rename desktop-* parameters and bind them.
22048 (desktop-buffer): Rename desktop-* parameters.
22049
22050 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
22051 (dframe-reposition-frame-xemacs, dframe-help-echo)
22052 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
22053 Mark unused parameters.
22054
22055 * dired-aux.el (backup-extract-version-start, overwrite-query)
22056 (overwrite-backup-query, rename-regexp-query)
22057 (rename-non-directory-query): Declare.
22058 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
22059 (dired-add-entry): Remove unused variable `orig-file-name'.
22060 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
22061 Use parameter PRESERVE-TIME instead of accessing dynamic variable
22062 `dired-copy-preserve-time' directly.
22063 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
22064 (dired-insert-subdir-newpos): Rename unused variable `pos'.
22065
22066 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
22067 (dired-virtual-revert, dired-make-relative-symlink):
22068 Mark unused parameters.
22069 (manual-program): Declare.
22070 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
22071 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
22072 wrapped in `with-no-warnings' to avoid replacing one warning by another.
22073
22074 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
22075
22076 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
22077
22078 * echistory.el (electric-history-in-progress, Helper-return-blurb):
22079 Declare.
22080
22081 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
22082
22083 * electric.el (Electric-command-loop): Rename parameter
22084 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
22085
22086 * expand.el (expand-in-literal): Remove unused variable `here'.
22087
22088 * facemenu.el (facemenu-add-new-color):
22089 Remove unused variable `docstring'.
22090
22091 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
22092 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
22093 (face-attr-construct): Mark unused parameter. Doc fix.
22094 (read-color): Remove unused variable `hex-string'.
22095
22096 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
22097 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
22098 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
22099 (display-buffer-other-frame): Remove unused variable `old-window'.
22100 (kill-buffer-hook): Declare.
22101 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
22102 Mark unused parameters.
22103 (after-find-file): Pass 1 to `auto-save-mode', not t.
22104
22105 * files-x.el (auto-insert): Declare.
22106 (modify-file-local-variable-prop-line): Remove unused variable `val'.
22107
22108 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
22109 variable `buf'. Mark unused parameter.
22110 (find-lisp-insert-directory): Mark unused parameter.
22111
22112 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
22113 (format-encode-region): Remove unused variables `cur-buf' and `result'.
22114 (format-common-tail): Remove, unused.
22115 (format-deannotate-region): Remove unused variable `loc'.
22116 (format-annotate-region): Remove unused variable `p'.
22117 (format-annotate-single-property-change): Remove unused variables
22118 `default' and `tail'.
22119
22120 * forms.el (read-file-filter): Declare.
22121 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
22122
22123 * frame.el (frame-creation-function-alist): Mark unused parameter.
22124 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
22125
22126 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
22127 Remove unused parameters.
22128 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
22129 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
22130
22131 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
22132 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
22133 (hfy-prepare-tag-map): Mark unused parameters.
22134 (htmlfontify-buffer): Use `called-interactively-p'.
22135
22136 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
22137 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
22138 (ibuffer-do-occur): Mark unused parameters.
22139 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
22140 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
22141
22142 * ibuffer.el: Don't quote `lambda'.
22143 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
22144 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
22145 Mark unused parameters.
22146
22147 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
22148 (ido-completing-read): Mark unused parameters.
22149 (ido-copy-current-word): Mark unused parameters;
22150 remove unused variable `name'.
22151 (ido-sort-merged-list): Remove unused parameter `dirs'.
22152
22153 * ielm.el (ielm-input-sender): Mark unused parameter.
22154 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
22155 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
22156 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
22157 `ielm-string' as a dynamic variable accessible from the IELM prompt.
22158 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
22159
22160 * image-dired.el (image-dired-display-thumbs): Remove unused
22161 variables `curr-file' and `count'.
22162 (image-dired-remove-tag): Remove unused variable `start'.
22163 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
22164 variable `curr-file'
22165 (image-dired-rotate-original): Remove unused variable `temp-file'.
22166 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
22167 Remove unused variable `file'.
22168 (image-dired-gallery-generate): Remove unused variable `curr'.
22169 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
22170
22171 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
22172
22173 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
22174
22175 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
22176
22177 * isearch.el (minibuffer-history-symbol): Declare.
22178 (isearch-edit-string): Remove unused variable `err'.
22179 (isearch-message-prefix, isearch-message-suffix):
22180 Mark unused parameters.
22181
22182 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
22183
22184 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
22185
22186 * makesum.el (double-column): Remove unused variable `cnt'.
22187
22188 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
22189 (ido-ignore-item-temp-list): Declare.
22190
22191 * mouse-drag.el (mouse-drag-throw): Remove unused variables
22192 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
22193 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
22194 (mouse-drag-drag): Remove unused variables `mouse-delta' and
22195 `mouse-col-delta'.
22196
22197 * mouse-sel.el (mouse-extend-internal):
22198 Remove unused variable `orig-window-frame'.
22199
22200 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
22201 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
22202 Move declarations before first use.
22203 (pcomplete-opt): Mark unused parameters; doc fix.
22204
22205 * proced.el (proced-revert): Mark unused parameter.
22206 (proced-send-signal): Remove unused variable `err'.
22207
22208 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
22209 Rename parameter PREFIX-ARG to ARG.
22210 (ps-basic-plot-string, ps-basic-plot-whitespace):
22211 Mark unused parameters.
22212
22213 * replace.el (replace-count): Define.
22214 (occur-revert-function): Mark unused parameters.
22215 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
22216 (isearch-case-fold-search, isearch-string): Declare.
22217 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
22218 bind `case-fold-search'. Remove unused variables `beg' and `end',
22219 and simplify.
22220 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
22221 COUNT and bind `replace-count'.
22222 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
22223 to COUNT.
22224
22225 * savehist.el (print-readably, print-string-length): Declare.
22226
22227 * shadowfile.el (shadow-expand-cluster-in-file-name):
22228 Remove unused variable `cluster'.
22229 (shadow-copy-file): Remove unused variable `i'.
22230 (shadow-noquery, shadow-clusters, shadow-site-cluster)
22231 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
22232 (shadow-define-literal-group, shadow-define-regexp-group)
22233 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
22234
22235 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
22236 (shell): Use `called-interactively-p'.
22237 (shell-directory-tracker): Remove unused variable `chdir-failure'.
22238
22239 * simple.el (compilation-context-lines, comint-file-name-quote-list)
22240 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
22241 (delete-backward-char): Remove unused variable `ocol'.
22242 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
22243 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
22244 (event-apply-hyper-modifier, event-apply-shift-modifier)
22245 (event-apply-control-modifier, event-apply-meta-modifier):
22246 Mark unused parameters.
22247 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
22248 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
22249
22250 * speedbar.el (speedbar-ignored-directory-expressions)
22251 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
22252 (speedbar-find-file, speedbar-dir-follow)
22253 (speedbar-directory-buttons-follow, speedbar-tag-find)
22254 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
22255 (speedbar-buffers-line-directory, speedbar-buffer-click):
22256 Mark unused parameters.
22257 (speedbar-tag-file): Remove unused variable `mode'.
22258 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
22259
22260 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
22261
22262 * talk.el (talk): Remove unused variable `display'.
22263
22264 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
22265 (tar-write-region-annotate): Mark unused parameter.
22266
22267 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
22268 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
22269 Declare them, wrapped in `with-no-warnings' to avoid replacing one
22270 warning by another.
22271
22272 * time-stamp.el (time-stamp-string-preprocess):
22273 Remove unused variable `require-padding'.
22274
22275 * tree-widget.el (widget-glyph-enable): Declare.
22276 (tree-widget-action): Mark unused parameter.
22277
22278 * w32-fns.el (x-get-selection): Mark unused parameter.
22279 (autoload-make-program, generated-autoload-file): Declare.
22280
22281 * wdired.el (wdired-revert): Mark unused parameters.
22282 (wdired-xcase-word): Remove unused variable `err'.
22283
22284 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
22285 (whitespace-help-scroll): Remove unused variable `data-help'.
22286
22287 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
22288 (widget-image-insert, widget-after-change, default)
22289 (widget-default-format-handler, widget-default-notify)
22290 (widget-default-prompt-value, widget-info-link-action)
22291 (widget-url-link-action, widget-function-link-action)
22292 (widget-variable-link-action, widget-file-link-action)
22293 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
22294 (widget-field-prompt-internal, widget-field-action, widget-field-match)
22295 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
22296 (widget-insert-button-action, widget-delete-button-action, visibility)
22297 (widget-documentation-link-action, widget-documentation-string-action)
22298 (widget-const-prompt-value, widget-regexp-match, symbol)
22299 (widget-coding-system-prompt-value)
22300 (widget-key-sequence-value-to-external, sexp)
22301 (widget-sexp-value-to-internal, character, vector, cons)
22302 (widget-choice-prompt-value, widget-boolean-prompt-value)
22303 (widget-color--choose-action): Mark unused parameters.
22304 (widget-item-match-inline, widget-choice-match-inline)
22305 (widget-checklist-match, widget-checklist-match-inline)
22306 (widget-group-match): Rename parameter VALUES to VALS.
22307 (widget-field-value-set): Remove unused variable `size'.
22308 (widget-color-action): Remove unused variables `value' and `start'.
22309
22310 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
22311 variable `dir'. Doc fix.
22312 (windmove-find-other-window): Don't pass it.
22313
22314 * window.el (count-windows): Mark unused parameter.
22315 (bw-adjust-window): Remove unused variable `err'.
22316
22317 * woman.el (woman-file-name): Remove unused variable `default'.
22318 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
22319 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
22320 (global-font-lock-mode): Declare.
22321 (woman-decode-region): Mark unused parameter.
22322 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
22323
22324 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
22325 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
22326 (x-dnd-handle-moz-url): Remove unused variable `title'.
22327 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
22328
22329 * xml.el (xml-parse-tag, xml-parse-attlist):
22330 Remove unused variable `pos'.
22331
22332 2011-04-19 Glenn Morris <rgm@gnu.org>
22333
22334 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
22335 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
22336 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
22337 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
22338 * calendar/cal-html.el (cal-html-insert-minical):
22339 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
22340 (calendar-mark-date-pattern):
22341 Prefix "unused" locals.
22342
22343 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
22344 optional argument `style'.
22345
22346 * calendar/appt.el (appt-make-list):
22347 * calendar/cal-china.el (calendar-chinese-date-string):
22348 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
22349 (diary-hebrew-yahrzeit):
22350 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
22351 * calendar/calendar.el (calendar-generate-window):
22352 * calendar/time-date.el (time-to-days):
22353 Remove unused local variables.
22354
22355 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
22356
22357 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
22358 glyphless-char-display table.
22359 (tabulated-list-glyphless-char-display): New var.
22360
22361 2011-04-18 Sam Steingold <sds@gnu.org>
22362
22363 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
22364 to acknowledgments.
22365
22366 2011-04-17 Glenn Morris <rgm@gnu.org>
22367
22368 * calendar/diary-lib.el (diary-sexp-entry):
22369 * calendar/holidays.el (holiday-sexp):
22370 Set debug-on-error rather than the removed stack-trace-on-error.
22371
22372 2011-04-16 Glenn Morris <rgm@gnu.org>
22373
22374 * progmodes/f90.el: Use lexical-binding.
22375 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
22376
22377 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22378
22379 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
22380 (mail-mode): Setup mailalias completion here instead.
22381 * mail/mailalias.el: Use lexical-binding.
22382 (pattern, mailalias-done): Declare dynamic.
22383 (mail-completion-at-point-function): New function, from mail-complete.
22384 (mail-complete): Use it.
22385 (mail-completion-expand): New function.
22386 (mail-get-names): Use it.
22387 (mail-directory, mail-directory-process, mail-directory-stream):
22388 Don't use `pattern' for lexically bound arg.
22389
22390 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
22391
22392 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
22393 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
22394 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
22395
22396 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
22397 (byte-save-window-excursion, byte-temp-output-buffer-setup)
22398 (byte-interactive-p): Define them again, for use when inlining
22399 old code.
22400
22401 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
22402
22403 * loadup.el: Use `string-to-number', not `string-to-int'.
22404
22405 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22406
22407 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
22408 gud-gdb-complete-command.
22409 (gud-gdb-completions): New function, from gud-gdb-complete-command.
22410 (gud-gdb-completion-at-point): New function.
22411 (gud-gdb-completions): Remove.
22412
22413 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
22414
22415 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
22416 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
22417 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
22418 whether `executable-find' is bound.
22419
22420 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
22421
22422 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
22423
22424 * minibuffer.el (completion-in-region-mode-predicate)
22425 (completion-in-region-mode--predicate): New vars.
22426 (completion-in-region, completion-in-region--postch)
22427 (completion-in-region-mode): Use them.
22428 (completion--capf-wrapper): Also return the hook function.
22429 (completion-at-point, completion-help-at-point):
22430 Adjust and provide a predicate.
22431
22432 Preserve arg names for advice of subr and lexical functions (bug#8457).
22433 * help-fns.el (help-function-arglist): Consolidate the subr and
22434 new-byte-code cases. Add argument `preserve-names' to extract names
22435 from the docstring when needed.
22436 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
22437 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
22438 (ad-arglist): Use help-function-arglist's new arg.
22439 (ad-definition-type): Use cond.
22440
22441 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
22442
22443 * autorevert.el (auto-revert-handler):
22444 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
22445 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
22446 Don't quote lambda.
22447
22448 * image-mode.el (image-transform-set-scale):
22449 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
22450
22451 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22452
22453 * net/network-stream.el (network-stream-open-starttls): Only do
22454 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
22455 Upgrades via gnutls-cli are too slow to be done opportunistically.
22456
22457 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
22458
22459 * dframe.el (dframe-current-frame): Remove spurious quote.
22460
22461 2011-04-12 Glenn Morris <rgm@gnu.org>
22462
22463 * calendar/cal-tex.el (cal-tex-end-document):
22464 Try to automatically use latin1 input if needed.
22465
22466 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
22467 Don't try to cons a mark onto an empty element.
22468
22469 2011-04-11 Leo Liu <sdl.web@gmail.com>
22470
22471 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
22472 buffers.
22473 (ido-kill-buffer-at-head): Support killing virtual buffers.
22474
22475 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
22476
22477 * minibuffer.el (completion-show-inline-help): New var.
22478 (completion--do-completion, minibuffer-complete)
22479 (minibuffer-force-complete, minibuffer-complete-word):
22480 Inhibit minibuffer messages if completion-show-inline-help is nil.
22481
22482 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
22483 to avoid interference from inline help (Bug#5849).
22484
22485 2011-04-10 Leo Liu <sdl.web@gmail.com>
22486
22487 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
22488 Fix typo.
22489
22490 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
22491
22492 * image-mode.el (image-toggle-display-image): Signal an error if
22493 not in Image mode.
22494 (image-transform-mode, image-transform-resize)
22495 (image-transform-set-rotation): Doc fix.
22496 (image-transform-set-resize): Delete.
22497 (image-transform-set-scale, image-transform-fit-to-height)
22498 (image-transform-fit-to-width): Handle image-toggle-display-image
22499 and image-transform-resize directly.
22500
22501 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
22502
22503 * doc-view.el (doc-view-fit-width-to-window)
22504 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
22505 New functions for fitting the shown image to the Emacs window size.
22506 (doc-view-mode-map): Add bindings for the new functions.
22507
22508 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
22509
22510 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
22511 Fix typo in docstring.
22512
22513 2011-04-08 Eli Zaretskii <eliz@gnu.org>
22514
22515 * files.el (file-size-human-readable): Produce one digit after
22516 decimal, like "ls -lh" does.
22517
22518 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
22519 the file size representation.
22520
22521 * simple.el (list-processes): If async subprocesses are not
22522 available, error out with a clear error message.
22523
22524 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
22525
22526 * help.el (help-form-show): New function, to be called from C.
22527 Put help-form output in a buffer named differently than *Help*.
22528
22529 2011-04-08 Eli Zaretskii <eliz@gnu.org>
22530
22531 * files.el (file-size-human-readable): New function.
22532
22533 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
22534 computing the representation inline. Don't require `cl'.
22535
22536 2011-04-08 Glenn Morris <rgm@gnu.org>
22537
22538 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
22539
22540 * net/browse-url.el (browse-url-firefox):
22541 Test system-type, not system-configuration.
22542
22543 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
22544 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
22545 Use log-edit-empty-buffer-p. (Bug#7598)
22546
22547 * net/rlogin.el (rlogin-process-connection-type): Simplify.
22548 (rlogin-mode-map): Initialize in the defvar.
22549 (rlogin): Use ignore-errors.
22550
22551 * replace.el (occur-mode-map): Some fixes for menu items.
22552
22553 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
22554
22555 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
22556
22557 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
22558
22559 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
22560 issuing unused warnings.
22561
22562 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
22563 macro directly.
22564
22565 * simple.el: Lisp reimplement of list-processes. Based on an
22566 earlier reimplementation by Leo Liu, but using tabulated-list.el.
22567 (process-menu-mode): New major mode.
22568 (list-processes--refresh, list-processes):
22569 (process-menu-visit-buffer): New functions.
22570
22571 * files.el (save-buffers-kill-emacs): Don't assume any return
22572 value of list-processes, which is undocumented anyway.
22573
22574 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
22575
22576 * emacs-lisp/tabulated-list.el: New file.
22577
22578 * emacs-lisp/package.el: Use Tabulated List mode.
22579 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
22580 (package-menu-mode): Derive from tabulated-list-mode. Set up the
22581 table format using Tabulated List mode variables.
22582 (package--push): New macro, replacing package-list-maybe-add.
22583 (package-menu--generate): Use package--push. Renamed from
22584 package--generate-package-list.
22585 (package-menu-refresh, list-packages): Use it.
22586 (package-menu--print-info): Rename from package-print-package.
22587 Return insertion data instead of inserting it directly.
22588 (package-menu-describe-package, package-menu-execute):
22589 Use tabulated-list-get-id.
22590 (package-menu-mark-delete, package-menu-mark-install)
22591 (package-menu-mark-unmark, package-menu-backup-unmark)
22592 (package-menu-mark-obsolete-for-deletion):
22593 Use tabulated-list-put-tag.
22594 (package--list-packages, package-menu-revert)
22595 (package-menu-get-package, package-menu-get-version)
22596 (package-menu-sort-by-column): Functions deleted.
22597 (package-menu-package-list, package-menu-sort-key): Vars deleted.
22598 (package-menu--status-predicate, package-menu--version-predicate)
22599 (package-menu--name-predicate)
22600 (package-menu--description-predicate): Handle arguments in the
22601 Tabulated List format.
22602 (package-list-packages-no-fetch): Call list-packages.
22603
22604 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
22605
22606 * files.el (after-find-file-from-revert-buffer): Remove variable.
22607 (after-find-file): Don't bind it.
22608 (revert-buffer-in-progress-p): New variable.
22609 (revert-buffer): Bind it.
22610 Pass nil for `after-find-file-from-revert-buffer'.
22611
22612 * saveplace.el (save-place-find-file-hook): Use new variable
22613 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
22614
22615 2011-04-06 Glenn Morris <rgm@gnu.org>
22616
22617 * Makefile.in (AUTOGEN_VCS): New variable.
22618 (autoloads): Use $AUTOGEN_VCS.
22619
22620 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
22621 * calendar/calendar.el (calendar-mode-map):
22622 Check for toolkit scroll bars. (Bug#8305)
22623
22624 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
22625
22626 * minibuffer.el (completion-in-region--postch)
22627 (completion-in-region-mode): Remove unnecessary messages.
22628
22629 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
22630
22631 * font-lock.el (font-lock-refresh-defaults):
22632 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
22633 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
22634
22635 * info.el (Info-directory-list, Info-read-node-name-2)
22636 (Info-split-parameter-string): Doc fixes.
22637 (Info-virtual-nodes): Reflow docstring.
22638 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
22639 (Info-apropos-toc-nodes, info-finder, Info-get-token)
22640 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
22641 Fix typos in docstrings.
22642 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
22643 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
22644 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
22645 (Info-restore-desktop-buffer): Mark unused parameters.
22646 (Info-directory-find-file, Info-directory-find-node)
22647 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
22648 (Info-virtual-index-find-node, Info-apropos-find-file)
22649 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
22650 Mark unused parameters; fix typos in docstrings.
22651 (Info-virtual-index): Remove unused local variable `nodename'.
22652
22653 2011-04-05 Deniz Dogan <deniz@dogan.se>
22654
22655 * net/rcirc.el: Update my e-mail address.
22656 (rcirc-mode-map): Remove M-o binding.
22657
22658 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
22659
22660 * startup.el (command-line): Save the cursor's theme-face
22661 directly, instead of using face-override-spec.
22662
22663 * custom.el (load-theme): Minor optimization in assigning faces.
22664
22665 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
22666
22667 * help-fns.el (describe-variable): Complete all variables having
22668 documentation, including keywords.
22669 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
22670
22671 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
22672
22673 Convert to lexical-binding.
22674
22675 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
22676 (bs--get-marked-string, bs--get-modified-string)
22677 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
22678 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
22679 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
22680
22681 * ehelp.el (electric-help-execute-extended)
22682 (electric-help-ctrl-x-prefix):
22683 * hexl.el (hexl-revert-buffer-function):
22684 * linum.el (linum-after-change, linum-after-scroll):
22685 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
22686
22687 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
22688
22689 2011-04-04 Daiki Ueno <ueno@unixuser.org>
22690
22691 * epa-dired.el:
22692 * epa-mail.el:
22693 * epa-hook.el:
22694 * epa-file.el:
22695 * epa.el:
22696 * epg.el: Use lexical binding.
22697
22698 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
22699
22700 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
22701
22702 * textmodes/flyspell.el (flyspell-word): Recognize default
22703 dictionary case for flyspell-mark-duplications-exceptions.
22704 Use regexp matching for languages.
22705 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
22706 default dictionary (Bug#7926).
22707
22708 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
22709
22710 * emacs-lisp/package.el (package--with-work-buffer):
22711 Recognize https URLs.
22712
22713 * net/network-stream.el: Move from gnus/proto-stream.el.
22714 Change prefix to network-stream throughout.
22715 (open-protocol-stream): Merge into open-network-stream, leaving
22716 open-protocol-stream as an alias. Handle nil BUFFER args.
22717
22718 * subr.el (open-network-stream): Move to net/network-stream.el.
22719
22720 2011-04-02 Glenn Morris <rgm@gnu.org>
22721
22722 * find-dired.el (find-exec-terminator): New option.
22723 (find-ls-option): Test for -ls support.
22724 (find-ls-subdir-switches): Test for -b in find-ls-option.
22725 (find-dired, find-grep-dired): Doc fixes.
22726 (find-dired): Use find-exec-terminator.
22727
22728 * find-dired.el (find-ls-option, find-ls-subdir-switches)
22729 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
22730 (find-name-arg): Remove purecopy.
22731
22732 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
22733 (grep-compute-defaults): Check for `-exec COMMAND +' support.
22734 Set grep-find-use-xargs, grep-find-command, and grep-find-template
22735 accordingly. Don't add the null-device if not needed.
22736
22737 * files.el (save-some-buffers): Doc fix.
22738
22739 2011-04-02 Eli Zaretskii <eliz@gnu.org>
22740
22741 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
22742
22743 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
22744
22745 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
22746 Use `dolist' rather than `mapcar'.
22747
22748 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
22749
22750 Add lexical binding.
22751
22752 * subr.el (apply-partially): Use new closures rather than CL.
22753 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
22754 (dolist, dotimes): Use slightly different expansion for lexical code.
22755 (functionp): Move to C.
22756 (letrec): New macro.
22757 (with-wrapper-hook): Use it and apply-partially instead of CL.
22758 (eval-after-load): Preserve lexical-binding.
22759 (save-window-excursion, with-output-to-temp-buffer): Turn them
22760 into macros.
22761
22762 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
22763
22764 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
22765 than the arglist.
22766 (help-add-fundoc-usage): Don't add `Not documented'.
22767 (help-function-arglist): Handle closures, subroutines, and new
22768 byte-code-functions.
22769 (help-make-usage): Remove leading underscores.
22770 (describe-function-1): Handle closures.
22771 (describe-variable): Use special-variable-p for completion.
22772
22773 * files.el (lexical-binding): Declare safe.
22774
22775 * emacs-lisp/pcase.el: Don't use destructuring-bind.
22776 (pcase--memoize): Rename from pcase-memoize. Change weakness.
22777 (pcase): Add `let' pattern.
22778 Change memoization so it actually works.
22779 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
22780 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
22781 <let>: New case.
22782
22783 * emacs-lisp/macroexp.el: Use lexical binding.
22784 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
22785 Don't convert ' to #' without checking that it's indeed quoting
22786 a lambda.
22787
22788 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
22789 Use eval-sexp-add-defvars.
22790 (eval-sexp-add-defvars): New fun.
22791
22792 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
22793
22794 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
22795 Don't autoload.
22796 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
22797 than the internal `byte-compile-lambda'.
22798 (defmethod): Don't hide code under quotes.
22799 (eieio-defmethod): New `code' argument.
22800
22801 * emacs-lisp/eieio-comp.el: Remove.
22802
22803 * emacs-lisp/edebug.el (edebug-eval-defun)
22804 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
22805 (edebug-toggle): Avoid `eval'.
22806
22807 * emacs-lisp/disass.el (disassemble-internal): Handle new
22808 `closure' objects.
22809 (disassemble-1): Handle new byte codes.
22810
22811 * emacs-lisp/cl.el (pushnew): Silence warning.
22812
22813 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
22814 (cl-byte-compile-throw): Remove.
22815 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
22816
22817 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
22818 closures.
22819
22820 * emacs-lisp/cconv.el: New file.
22821
22822 * emacs-lisp/bytecomp.el: Use lexical binding instead of
22823 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
22824 (byte-compile-initial-macro-environment):
22825 Handle declare-function here.
22826 (byte-compile--lexical-environment): New var.
22827 (byte-stack-ref, byte-stack-set, byte-discardN)
22828 (byte-discardN-preserve-tos): New lap codes.
22829 (byte-interactive-p): Don't use any more.
22830 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
22831 New macros.
22832 (byte-compile-lapcode): Use them and handle new lap codes.
22833 (byte-compile-obsolete): Remove.
22834 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
22835 (byte-compile-arglist-warn): Check late def of inlinable funs.
22836 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
22837 since they should have been expanded by now.
22838 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
22839 (byte-compile-from-buffer): Remove unused second arg.
22840 (byte-compile-preprocess): New function.
22841 (byte-compile-toplevel-file-form): New function to distinguish
22842 file-form calls from outside from file-form calls from hunk-handlers.
22843 (byte-compile-file-form): Simplify.
22844 (byte-compile-file-form-defsubst): Remove.
22845 (byte-compile-file-form-defmumble): Simplify now that
22846 byte-compile-lambda always returns a byte-code-function.
22847 (byte-compile): Preprocess.
22848 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
22849 Remove, not used any more.
22850 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
22851 (byte-compile-make-args-desc): New funs.
22852 (byte-compile-lambda): Handle lexical functions. Always return
22853 a byte-code-function.
22854 (byte-compile-reserved-constants): New var, to make up room for
22855 closed-over variables.
22856 (byte-compile-constants-vector): Obey it.
22857 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
22858 (byte-compile-macroexpand-declare-function): New function.
22859 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
22860 byte-code-functions.
22861 (byte-compile-form): Check obsolescence here.
22862 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
22863 (byte-compile-variable-ref): Remove.
22864 (byte-compile-dynamic-variable-op): New fun.
22865 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22866 (byte-compile-variable-set): New funs.
22867 (byte-compile-discard): Add 2 args.
22868 (byte-compile-stack-ref, byte-compile-stack-set)
22869 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
22870 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
22871 macroexpand-all instead.
22872 (byte-compile-quote-form): Remove.
22873 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
22874 (byte-compile-bind, byte-compile-unbind): New funs.
22875 (byte-compile-let): Handle let* and lexical binding.
22876 (byte-compile-let*): Remove.
22877 (byte-compile-catch, byte-compile-unwind-protect)
22878 (byte-compile-track-mouse, byte-compile-condition-case):
22879 Handle a new :fun-body form, used for lexical scoping.
22880 (byte-compile-save-window-excursion)
22881 (byte-compile-with-output-to-temp-buffer): Remove.
22882 (byte-compile-defun): Simplify.
22883 (byte-compile-stack-adjustment): New fun.
22884 (byte-compile-out): Use it.
22885 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
22886
22887 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
22888 handler any more.
22889
22890 * emacs-lisp/byte-opt.el: Use lexical binding.
22891 (byte-inline-lapcode): Remove (to bytecomp).
22892 (byte-compile-inline-expand): Pay attention to inlining to/from
22893 lexically bound code.
22894 (byte-compile-unfold-lambda): Don't handle byte-code-functions
22895 any more.
22896 (byte-optimize-form-code-walker): Don't handle save-window-excursion
22897 any more and don't call compiler-macros.
22898 (byte-compile-splice-in-already-compiled-code): Remove.
22899 (byte-code): Don't inline any more.
22900 (disassemble-offset): Receive `bytes' as argument rather than via
22901 dynamic scoping.
22902 (byte-compile-tag-number): Declare before first use.
22903 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
22904 `return' even if make-spliceable.
22905 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
22906 obsolete interactive-p.
22907 (byte-optimize-lapcode): Optimize new lap-codes.
22908 Don't trip up on new form of `byte-constant' lap code.
22909
22910 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
22911
22912 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
22913
22914 * custom.el (custom-initialize-default, custom-declare-variable):
22915 Use `defvar'.
22916
22917 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
22918 New variables.
22919 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
22920 (COMPILE_FIRST): Add macroexp and cconv.
22921 * makefile.w32-in: Mirror changes in Makefile.in.
22922
22923 * vc/cvs-status.el:
22924 * vc/diff-mode.el:
22925 * vc/log-edit.el:
22926 * vc/log-view.el:
22927 * vc/smerge-mode.el:
22928 * textmodes/bibtex-style.el:
22929 * textmodes/css-mode.el:
22930 * startup.el:
22931 * uniquify.el:
22932 * minibuffer.el:
22933 * newcomment.el:
22934 * reveal.el:
22935 * server.el:
22936 * mpc.el:
22937 * emacs-lisp/smie.el:
22938 * doc-view.el:
22939 * dired.el:
22940 * abbrev.el: Use lexical binding.
22941
22942 2011-04-01 Eli Zaretskii <eliz@gnu.org>
22943
22944 * info.el (info-display-manual): New function.
22945
22946 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
22947
22948 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
22949
22950 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
22951
22952 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
22953 an entry for that server in rcirc-authinfo. (Bug#8385)
22954
22955 2011-03-31 Glenn Morris <rgm@gnu.org>
22956
22957 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
22958
22959 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
22960
22961 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
22962
22963 * progmodes/python.el (python-default-interpreter)
22964 (python-python-command-args, python-jython-command-args)
22965 (python-which-shell, python-which-args, python-which-bufname)
22966 (python-file-queue, python-comint-output-filter-function)
22967 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
22968 variables and functions.
22969
22970 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
22971
22972 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
22973 (completion-in-region-mode): New minor mode.
22974 (completion-in-region): Use it.
22975 (completion-in-region--data, completion-in-region-mode-map): New vars.
22976 (completion-in-region--postch): New function.
22977 (completion--capf-misbehave-funs, completion--capf-safe-funs):
22978 New vars.
22979 (completion--capf-wrapper): New function.
22980 (completion-at-point): Use it to track well-behavedness of
22981 hook functions.
22982 (completion-help-at-point): New command.
22983
22984 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
22985
22986 * vc/add-log.el (add-change-log-entry): Don't use whitespace
22987 syntax class to search for whitespace on a single line
22988 (Message-ID: <4D938140.4030905@redhat.com>).
22989
22990 2011-03-30 Leo Liu <sdl.web@gmail.com>
22991
22992 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
22993 New commands.
22994 (edit-abbrevs-map): Bind them here.
22995 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
22996
22997 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
22998
22999 * allout.el (allout-hide-by-annotation, allout-flag-region):
23000 Reduce possibility of overlay leakage by making them volatile.
23001
23002 * allout-widgets.el (allout-widgets-tally): Define as nil so the
23003 hash is not shared between buffers. Mode initialization is
23004 responsible for giving it a useful starting value.
23005 (allout-item-span): Reduce possibility of overlay leakage by
23006 making them volatile.
23007 (allout-widgets-count-buttons-in-region): Add diagnostic function
23008 for tracking down button overlay leaks.
23009
23010 2011-03-29 Leo Liu <sdl.web@gmail.com>
23011
23012 * ido.el (ido-read-internal): Use the default history var
23013 minibuffer-history if no HISTORY is specified.
23014
23015 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
23016
23017 * net/imap.el (imap-shell-open, imap-process-connection-type):
23018 Use imap-process-connection-type for 'shell' streams as well as
23019 Kerberos, SSL, other subprocesses.
23020
23021 2011-03-28 Leo Liu <sdl.web@gmail.com>
23022
23023 * abbrev.el (abbrev-table-empty-p): New function.
23024 (prepare-abbrev-list-buffer): Place empty abbrev tables after
23025 nonempty ones. (Bug#5937)
23026
23027 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
23028
23029 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
23030
23031 2011-03-27 Leo Liu <sdl.web@gmail.com>
23032
23033 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
23034 for foreground and background colors.
23035 (ansi-color-make-color-map): Adapt.
23036
23037 2011-03-25 Leo Liu <sdl.web@gmail.com>
23038
23039 * midnight.el (midnight-time-float): Remove. Note it calculates
23040 the microsecond component incorrectly and seconds-to-time does the
23041 same job.
23042 Remove redundant (require 'timer).
23043
23044 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
23045 (ido-completions): Remove unused arguments. (Bug#8329)
23046
23047 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
23048
23049 * minibuffer.el (completion--flush-all-sorted-completions):
23050 Remove itself from hook.
23051 (completion-at-point): Let the functions perform the completion
23052 immediately and return nil or t.
23053 * comint.el (comint-dynamic-complete-functions): Now identical to
23054 completion-at-point-functions.
23055 (comint-dynamic-list-input-ring): Remove unused var `index'.
23056 (comint--match-partial-filename, comint--unquote&expand-filename):
23057 New funs, split from comint-match-partial-filename.
23058 (comint-dynamic-complete): Use completion-at-point.
23059 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
23060
23061 2011-03-24 Drew Adams <drew.adams@oracle.com>
23062
23063 * thingatpt.el: Support `defun'.
23064
23065 2011-03-23 Leo Liu <sdl.web@gmail.com>
23066
23067 * abbrevlist.el: Move to obsolete/abbrevlist.el.
23068
23069 * help-mode.el (help-mode-finish): Tweak regexp.
23070
23071 2011-03-23 Glenn Morris <rgm@gnu.org>
23072
23073 * eshell/esh-opt.el (eshell-eval-using-options):
23074 Do not bind unused local variable `eshell-option-stub'.
23075
23076 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
23077
23078 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
23079
23080 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
23081 keymap variable in `with-no-warnings' to avoid a warning when the
23082 keymap has been already `defconst'ed.
23083
23084 2011-03-22 Leo Liu <sdl.web@gmail.com>
23085
23086 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
23087 encode all chars in abbrevs; otherwise use emacs-mule or
23088 utf-8-emacs. (Bug#8308)
23089
23090 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
23091
23092 * simple.el (backward-delete-char-untabify):
23093 Avoid warning about using `delete-backward-char'.
23094
23095 * image.el (image-type-file-name-regexps): Make it variable.
23096 `imagemagick-register-types' modifies it, and the user may want
23097 to add new extensions for known image types.
23098 (imagemagick-register-types): Throw error if not using ImageMagick.
23099
23100 2011-03-22 Leo Liu <sdl.web@gmail.com>
23101
23102 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
23103 located before rcirc-prompt-end-marker.
23104 (rcirc-complete): Error if point is not after rcirc prompt.
23105 Handle the case when table is nil.
23106 (rcirc-user-authenticated): Define to fix compiler warning.
23107
23108 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
23109
23110 * custom.el (custom--inhibit-theme-enable): Make it affect only
23111 custom-theme-set-variables and custom-theme-set-faces.
23112 (provide-theme): Ignore custom--inhibit-theme-enable.
23113 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
23114 (custom-enabling-themes): Delete variable.
23115 (enable-theme): Accept only loaded themes as arguments.
23116 Ignore the special custom-enabled-themes variable.
23117 (custom-enabled-themes): Forbid themes from setting this.
23118 Eliminate use of custom-enabling-themes.
23119 (custom-push-theme): Quote "changed" custom var entry.
23120
23121 2011-03-21 Leo Liu <sdl.web@gmail.com>
23122
23123 * ido.el (ido-read-internal): Add ido-selected to history instead
23124 of user input.
23125
23126 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
23127
23128 * subr.el (deferred-action-list, deferred-action-function):
23129 Mark obsolete.
23130
23131 2011-03-21 Leo Liu <sdl.web@gmail.com>
23132
23133 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
23134 change on 2011-02-13 (bug#8309).
23135
23136 * minibuffer.el (read-file-name-function): Change default value.
23137 (read-file-name--defaults): Rename from read-file-name-defaults.
23138 (read-file-name-default): Rename from read-file-name.
23139 (read-file-name): Call read-file-name-function.
23140
23141 2011-03-21 Glenn Morris <rgm@gnu.org>
23142
23143 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
23144 Doc fixes.
23145
23146 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
23147
23148 * cus-theme.el: Add missing provide statement.
23149 (customize-create-theme): Extract theme value correctly.
23150 (custom-theme-visit-theme): Autoload.
23151 (customize-create-theme): Prompt before inserting default faces.
23152
23153 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
23154
23155 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
23156 units and musical notes.
23157
23158 2011-03-20 Leo Liu <sdl.web@gmail.com>
23159
23160 * ido.el (ido-read-internal): Use completing-read-default.
23161 (ido-completing-read): Fix compatibility with completing-read.
23162
23163 2011-03-20 Christian Ohler <ohler@gnu.org>
23164
23165 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
23166 (ert-delete-all-tests): Use `called-interactively-p' rather than
23167 `interactive-p'.
23168 (ert--make-xrefs-region): Respect END.
23169
23170 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
23171
23172 * dired-aux.el (dired-create-directory): Signal an error if the
23173 directory already exists (Bug#8246).
23174
23175 * facemenu.el (list-colors-display): Call list-faces-display
23176 inside with-help-window.
23177 (list-colors-print): Use display property to align the final
23178 column, instead of checking window-width.
23179
23180 2011-03-19 Eli Zaretskii <eliz@gnu.org>
23181
23182 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
23183 windows-nt systems.
23184 (emerge-protect-metachars): Quote correctly for ms-dos and
23185 windows-nt systems.
23186
23187 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
23188
23189 * info.el (info-initialize): Replace all uses of `:' with
23190 path-separator for compatibility with non-Unix systems.
23191 Cache quoting of path-separator. (Bug#8258)
23192
23193 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
23194
23195 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
23196 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
23197 (mouse-avoidance-mode): Fix typos in docstrings.
23198
23199 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
23200
23201 * startup.el (package-subdirectory-regexp): Move from package.el.
23202 Omit \\` and \\', and let callers add them.
23203
23204 * emacs-lisp/package.el (package-strip-version)
23205 (package-load-all-descriptors): Add \\` and \\' to
23206 package-subdirectory-regexp before using it.
23207 (package-untar-buffer): New arg DIR; ensure that file untars only
23208 into this expected directory. Remove superfluous delete-region.
23209 (package-unpack): Caller changed.
23210 (package-tar-file-info): Use package-subdirectory-regexp.
23211
23212 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
23213
23214 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
23215 diff-mode-shared-map (bug#8284).
23216 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
23217
23218 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
23219
23220 * calendar/time-date.el (format-seconds): Use assoc instead of
23221 assoc-string, since assoc-string doesn't exist in XEmacs.
23222
23223 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
23224
23225 * custom.el (custom-known-themes): Reflow docstring.
23226 (custom-theme-load-path): Fix typo in docstring.
23227 (load-theme): Fix typo in error message.
23228 (custom-available-themes, custom-variable-theme-value):
23229 Use `let', not `let*'.
23230
23231 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
23232
23233 * calc/README: Mention inclusion of musical notes.
23234
23235 * calc/calc-units.el (calc-lu-quant): Rename from
23236 `calc-logunits-quantity'.
23237 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
23238 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
23239 (calc-db): Rename from `calc-dblevel'.
23240 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
23241 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
23242 (calc-np): Rename from `calc-nplevel'.
23243 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
23244 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
23245 (calc-lu-plus): Rename from `calc-logunits-add'.
23246 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
23247 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
23248 (calc-lu-minus): Rename from `calc-logunits-sub'.
23249 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
23250 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
23251 (calc-lu-times): Rename from `calc-logunits-mul'.
23252 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
23253 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
23254 (calc-lu-divide): Rename from `calc-logunits-div'.
23255 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
23256 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
23257
23258 * calc/calc-ext.el (calc-init-extensions): Update the names of the
23259 functions being autoloaded.
23260
23261 * calc/calc.el (calc-lu-power-reference): Rename from
23262 `calc-logunits-power-reference'.
23263 (calc-lu-field-reference): Rename from
23264 `calc-logunits-field-reference'.
23265
23266 * calc/calc-help.el (calc-l-prefix-help):
23267 Mention musical note functions.
23268
23269 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
23270
23271 * minibuffer.el (completion-all-sorted-completions):
23272 Use :completion-cycle-penalty text property if present.
23273
23274 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
23275
23276 * allout.el (allout-yank-processing): Adjust for new rebulleting
23277 regime so bullet being yanked is used without prompting the user
23278 for a choice.
23279
23280 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
23281
23282 * startup.el (command-line): Warn the user that _emacs is deprecated.
23283
23284 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
23285
23286 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
23287 (delphi-verbose, delphi-comment-face, delphi-string-face)
23288 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
23289 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
23290 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
23291 (delphi-new-comment-line, delphi-font-lock-defaults)
23292 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
23293 Fix typos in docstrings.
23294
23295 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
23296
23297 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
23298 Invert the roles of character and string values for INSTEAD, so a
23299 string is used for the more common case of a defaulting prompt.
23300
23301 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23302
23303 * progmodes/ruby-mode.el (ruby-backward-sexp):
23304 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
23305 * play/gamegrid.el (gamegrid-make-face):
23306 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
23307 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
23308 * notifications.el (notifications-notify):
23309 * net/xesam.el (xesam-search-engines):
23310 * net/quickurl.el (quickurl-list-insert):
23311 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
23312
23313 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
23314
23315 * startup.el (command-line): Update package subdirectory regexp.
23316
23317 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23318
23319 * allout.el (allout-abbreviate-flattened-numbering)
23320 (allout-mode-deactivate-hook): Fix up obsolescence "date".
23321
23322 * subr.el (read-char-choice): Only show the cursor after the prompt,
23323 not after the answer.
23324
23325 2011-03-15 Kevin Ryde <user42@zip.com.au>
23326
23327 * help-fns.el (variable-at-point): Skip leading quotes, if any
23328 (bug#8253).
23329
23330 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23331
23332 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
23333 warning message.
23334
23335 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
23336
23337 * shell.el (shell): When called interactively, offer to change the
23338 shell file name on remote hosts.
23339
23340 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
23341
23342 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
23343 integration for LDAP parameters. The host, base, user or binddn,
23344 and secret tokens can be specified in a netrc file, for instance.
23345 This is optional because an `auth-source' parameter must be
23346 specified in the search attributes.
23347
23348 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
23349
23350 * help.el (describe-mode): Link to the mode's definition (bug#8185).
23351
23352 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23353
23354 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
23355 into declaration. Remove redundant and harmful binding.
23356
23357 2011-03-12 Eli Zaretskii <eliz@gnu.org>
23358
23359 * files.el (file-ownership-preserved-p): Pass `integer' as an
23360 explicit 2nd argument to `file-attributes'. If the file's owner
23361 is the Administrators group on Windows, and the current user is
23362 Administrator, consider that a match.
23363
23364 * server.el (server-ensure-safe-dir): Consider server directory
23365 safe on MS-Windows if its owner is the Administrators group while
23366 the current Emacs user is Administrator. Use `=' to compare
23367 numerical UIDs, since they could be integers or floats.
23368
23369 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
23370
23371 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
23372
23373 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
23374
23375 Sync with Tramp 2.2.1.
23376
23377 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
23378
23379 * net/trampver.el: Update release number.
23380
23381 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23382
23383 * progmodes/compile.el (compilation--previous-directory): Fix up
23384 various nil/dead-marker mismatches (bug#8014).
23385 (compilation-directory-properties, compilation-error-properties):
23386 Don't call it at a position past the one we're about to change.
23387
23388 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
23389 Disable obsolescence warnings in the file that declares it.
23390
23391 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
23392
23393 * allout-widgets.el (allout-widgets-tally):
23394 Initialize allout-widgets-tally as a hash table rather than nil to
23395 prevent mode-line redisplay warnings. Also, clarify the module
23396 description and fix a comment typo.
23397
23398 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
23399
23400 * help-fns.el (describe-variable): Don't complete keywords.
23401 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
23402
23403 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
23404
23405 * emacs-lisp/package.el (package-version-join): Impose a standard
23406 string representation for pre/alpha/beta version lists.
23407 (package-unpack-single): Standardize the directory name by passing
23408 it through package-version-join.
23409 (package-strip-rcs-id): Accept any version string that does not
23410 signal an error in version-to-list.
23411
23412 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
23413
23414 * simple.el (delete-trailing-whitespace): Return nil for the
23415 benefit of `write-file-functions'.
23416
23417 2011-03-10 Glenn Morris <rgm@gnu.org>
23418
23419 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
23420
23421 * vc/vc-git.el (vc-git-program): New option.
23422 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
23423 (vc-git--call): Use it.
23424
23425 * eshell/esh-util.el (eshell-condition-case): Doc fix.
23426
23427 * cus-edit.el (Custom-newline): If no button at point, look
23428 for a subgroup button at start-of-line. (Bug#2298)
23429
23430 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
23431
23432 2011-03-10 Julien Danjou <julien@danjou.info>
23433
23434 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
23435 `cursor-type' is nil.
23436
23437 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
23438
23439 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
23440
23441 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
23442
23443 * allout.el: Change so yank of distinctive-bullet items
23444 preserves the existing header prefix, rebulleting it if necessary,
23445 rather than replacing it. This is necessary for proper operation
23446 of cooperative addons like allout-widgets.
23447 (allout-make-topic-prefix, allout-rebullet-heading):
23448 Change SOLICIT arg to INSTEAD, and interpret additionally a string
23449 value as alternate bullet to be used, instead of prompting the user
23450 for a bullet character.
23451
23452 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
23453
23454 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23455 Do not use `tramp-file-name-port', because this returns also
23456 `tramp-default-port'.
23457
23458 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
23459
23460 * net/rcirc.el (rcirc-handler-001): Remove useless
23461 with-rcirc-process-buffer.
23462 (rcirc-check-auth-status): Swap arguments to string-match.
23463
23464 2011-03-09 Glenn Morris <rgm@gnu.org>
23465
23466 * shell.el (shell-mode):
23467 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
23468
23469 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
23470 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
23471
23472 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
23473
23474 * emacs-lisp/package.el (package-refresh-contents)
23475 (package-menu-execute): Use condition-case-no-debug.
23476
23477 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
23478
23479 * simple.el (shell-command-to-string): Use `process-file'.
23480
23481 * emacs-lisp/package.el (package-tar-file-info): Handle also
23482 remote files.
23483
23484 * emacs-lisp/package-x.el (package-upload-buffer-internal):
23485 Use `equal' for upload base check.
23486
23487 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
23488
23489 * textmodes/texinfo.el (texinfo-environments):
23490 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
23491
23492 2011-03-08 Glenn Morris <rgm@gnu.org>
23493
23494 * cus-start.el (cursor-in-non-selected-windows):
23495 Fix :set quoting oddness. (Bug#8192)
23496
23497 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
23498 in some setf expressions. (Bug#2159)
23499
23500 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
23501
23502 * custom.el (custom-available-themes): Return themes in
23503 alphabetical order.
23504
23505 See ChangeLog.15 for earlier changes.
23506
23507 ;; Local Variables:
23508 ;; coding: utf-8
23509 ;; End:
23510
23511 Copyright (C) 2011-2013 Free Software Foundation, Inc.
23512
23513 This file is part of GNU Emacs.
23514
23515 GNU Emacs is free software: you can redistribute it and/or modify
23516 it under the terms of the GNU General Public License as published by
23517 the Free Software Foundation, either version 3 of the License, or
23518 (at your option) any later version.
23519
23520 GNU Emacs is distributed in the hope that it will be useful,
23521 but WITHOUT ANY WARRANTY; without even the implied warranty of
23522 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23523 GNU General Public License for more details.
23524
23525 You should have received a copy of the GNU General Public License
23526 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.